@salesforce/lds-adapters-industries-docgen 1.366.0 → 1.367.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-docgen.js +558 -231
- package/dist/es/es2018/types/src/generated/adapters/getContentLinkDataSyncInput.d.ts +17 -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 +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectContentLinkDataSync.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/types/ContentLinkDataSyncDetailRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ContentLinkDataSyncInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ContentLinkDataSyncOutputRepresentation.d.ts +48 -0
- package/package.json +4 -4
- package/sfdc/index.js +489 -159
- package/src/raml/api.raml +87 -16
- package/src/raml/luvio.raml +13 -4
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, createResourceParams as createResourceParams$k, typeCheckConfig as typeCheckConfig$k, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$8 } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -122,9 +122,9 @@ function createLink(ref) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
const TTL$
|
|
126
|
-
const VERSION$
|
|
127
|
-
function validate$
|
|
125
|
+
const TTL$d = 60000;
|
|
126
|
+
const VERSION$u = "858b017bf441407a49a0d212e2125307";
|
|
127
|
+
function validate$y(obj, path = 'DocumentCompareOutputRepresentation') {
|
|
128
128
|
const v_error = (() => {
|
|
129
129
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
130
130
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -142,23 +142,23 @@ function validate$w(obj, path = 'DocumentCompareOutputRepresentation') {
|
|
|
142
142
|
})();
|
|
143
143
|
return v_error === undefined ? null : v_error;
|
|
144
144
|
}
|
|
145
|
-
const RepresentationType$
|
|
146
|
-
function keyBuilder$
|
|
147
|
-
return keyPrefix + '::' + RepresentationType$
|
|
145
|
+
const RepresentationType$i = 'DocumentCompareOutputRepresentation';
|
|
146
|
+
function keyBuilder$q(luvio, config) {
|
|
147
|
+
return keyPrefix + '::' + RepresentationType$i + ':' + config.compareDocumentId;
|
|
148
148
|
}
|
|
149
|
-
function keyBuilderFromType$
|
|
149
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
150
150
|
const keyParams = {
|
|
151
151
|
compareDocumentId: object.compareDocumentId
|
|
152
152
|
};
|
|
153
|
-
return keyBuilder$
|
|
153
|
+
return keyBuilder$q(luvio, keyParams);
|
|
154
154
|
}
|
|
155
|
-
function normalize$
|
|
155
|
+
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
156
156
|
return input;
|
|
157
157
|
}
|
|
158
|
-
const select$
|
|
158
|
+
const select$O = function DocumentCompareOutputRepresentationSelect() {
|
|
159
159
|
return {
|
|
160
160
|
kind: 'Fragment',
|
|
161
|
-
version: VERSION$
|
|
161
|
+
version: VERSION$u,
|
|
162
162
|
private: [],
|
|
163
163
|
selections: [
|
|
164
164
|
{
|
|
@@ -172,7 +172,7 @@ const select$L = function DocumentCompareOutputRepresentationSelect() {
|
|
|
172
172
|
]
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
|
-
function equals$
|
|
175
|
+
function equals$u(existing, incoming) {
|
|
176
176
|
const existing_compareDocumentId = existing.compareDocumentId;
|
|
177
177
|
const incoming_compareDocumentId = incoming.compareDocumentId;
|
|
178
178
|
if (!(existing_compareDocumentId === incoming_compareDocumentId)) {
|
|
@@ -185,41 +185,41 @@ function equals$s(existing, incoming) {
|
|
|
185
185
|
}
|
|
186
186
|
return true;
|
|
187
187
|
}
|
|
188
|
-
const ingest$
|
|
188
|
+
const ingest$i = function DocumentCompareOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
189
189
|
if (process.env.NODE_ENV !== 'production') {
|
|
190
|
-
const validateError = validate$
|
|
190
|
+
const validateError = validate$y(input);
|
|
191
191
|
if (validateError !== null) {
|
|
192
192
|
throw validateError;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
const key = keyBuilderFromType$
|
|
196
|
-
const ttlToUse = TTL$
|
|
197
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
195
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
196
|
+
const ttlToUse = TTL$d;
|
|
197
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "docgen", VERSION$u, RepresentationType$i, equals$u);
|
|
198
198
|
return createLink(key);
|
|
199
199
|
};
|
|
200
|
-
function getTypeCacheKeys$
|
|
200
|
+
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
201
201
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
202
|
-
const rootKey = keyBuilderFromType$
|
|
202
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
203
203
|
rootKeySet.set(rootKey, {
|
|
204
204
|
namespace: keyPrefix,
|
|
205
|
-
representationName: RepresentationType$
|
|
205
|
+
representationName: RepresentationType$i,
|
|
206
206
|
mergeable: false
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
function select$
|
|
211
|
-
return select$
|
|
210
|
+
function select$N(luvio, params) {
|
|
211
|
+
return select$O();
|
|
212
212
|
}
|
|
213
|
-
function getResponseCacheKeys$
|
|
214
|
-
getTypeCacheKeys$
|
|
213
|
+
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
214
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response);
|
|
215
215
|
}
|
|
216
|
-
function ingestSuccess$
|
|
216
|
+
function ingestSuccess$j(luvio, resourceParams, response) {
|
|
217
217
|
const { body } = response;
|
|
218
|
-
const key = keyBuilderFromType$
|
|
219
|
-
luvio.storeIngest(key, ingest$
|
|
218
|
+
const key = keyBuilderFromType$a(luvio, body);
|
|
219
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
220
220
|
const snapshot = luvio.storeLookup({
|
|
221
221
|
recordId: key,
|
|
222
|
-
node: select$
|
|
222
|
+
node: select$N(),
|
|
223
223
|
variables: {},
|
|
224
224
|
});
|
|
225
225
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -230,7 +230,7 @@ function ingestSuccess$i(luvio, resourceParams, response) {
|
|
|
230
230
|
deepFreeze(snapshot.data);
|
|
231
231
|
return snapshot;
|
|
232
232
|
}
|
|
233
|
-
function createResourceRequest$
|
|
233
|
+
function createResourceRequest$j(config) {
|
|
234
234
|
const headers = {};
|
|
235
235
|
return {
|
|
236
236
|
baseUri: '/services/data/v65.0',
|
|
@@ -244,44 +244,44 @@ function createResourceRequest$i(config) {
|
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
const adapterName$
|
|
247
|
+
const adapterName$j = 'createComparisonDocument';
|
|
248
248
|
const createComparisonDocument_ConfigPropertyMetadata = [
|
|
249
249
|
generateParamConfigMetadata('baseDocumentId', true, 2 /* Body */, 0 /* String */),
|
|
250
250
|
generateParamConfigMetadata('baseDocumentSourceType', true, 2 /* Body */, 0 /* String */),
|
|
251
251
|
generateParamConfigMetadata('compareToDocumentId', true, 2 /* Body */, 0 /* String */),
|
|
252
252
|
generateParamConfigMetadata('compareToDocumentSourceType', true, 2 /* Body */, 0 /* String */),
|
|
253
253
|
];
|
|
254
|
-
const createComparisonDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
255
|
-
const createResourceParams$
|
|
256
|
-
function typeCheckConfig$
|
|
254
|
+
const createComparisonDocument_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, createComparisonDocument_ConfigPropertyMetadata);
|
|
255
|
+
const createResourceParams$j = /*#__PURE__*/ createResourceParams$k(createComparisonDocument_ConfigPropertyMetadata);
|
|
256
|
+
function typeCheckConfig$j(untrustedConfig) {
|
|
257
257
|
const config = {};
|
|
258
|
-
typeCheckConfig$
|
|
258
|
+
typeCheckConfig$k(untrustedConfig, config, createComparisonDocument_ConfigPropertyMetadata);
|
|
259
259
|
return config;
|
|
260
260
|
}
|
|
261
|
-
function validateAdapterConfig$
|
|
261
|
+
function validateAdapterConfig$j(untrustedConfig, configPropertyNames) {
|
|
262
262
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
263
263
|
return null;
|
|
264
264
|
}
|
|
265
265
|
if (process.env.NODE_ENV !== 'production') {
|
|
266
266
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
267
267
|
}
|
|
268
|
-
const config = typeCheckConfig$
|
|
268
|
+
const config = typeCheckConfig$j(untrustedConfig);
|
|
269
269
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
270
270
|
return null;
|
|
271
271
|
}
|
|
272
272
|
return config;
|
|
273
273
|
}
|
|
274
|
-
function buildNetworkSnapshot$
|
|
275
|
-
const resourceParams = createResourceParams$
|
|
276
|
-
const request = createResourceRequest$
|
|
274
|
+
function buildNetworkSnapshot$j(luvio, config, options) {
|
|
275
|
+
const resourceParams = createResourceParams$j(config);
|
|
276
|
+
const request = createResourceRequest$j(resourceParams);
|
|
277
277
|
return luvio.dispatchResourceRequest(request, options)
|
|
278
278
|
.then((response) => {
|
|
279
279
|
return luvio.handleSuccessResponse(() => {
|
|
280
|
-
const snapshot = ingestSuccess$
|
|
280
|
+
const snapshot = ingestSuccess$j(luvio, resourceParams, response);
|
|
281
281
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
282
282
|
}, () => {
|
|
283
283
|
const cache = new StoreKeyMap();
|
|
284
|
-
getResponseCacheKeys$
|
|
284
|
+
getResponseCacheKeys$j(cache, luvio, resourceParams, response.body);
|
|
285
285
|
return cache;
|
|
286
286
|
});
|
|
287
287
|
}, (response) => {
|
|
@@ -291,16 +291,16 @@ function buildNetworkSnapshot$i(luvio, config, options) {
|
|
|
291
291
|
}
|
|
292
292
|
const createComparisonDocumentAdapterFactory = (luvio) => {
|
|
293
293
|
return function createComparisonDocument(untrustedConfig) {
|
|
294
|
-
const config = validateAdapterConfig$
|
|
294
|
+
const config = validateAdapterConfig$j(untrustedConfig, createComparisonDocument_ConfigPropertyNames);
|
|
295
295
|
// Invalid or incomplete config
|
|
296
296
|
if (config === null) {
|
|
297
297
|
throw new Error('Invalid config for "createComparisonDocument"');
|
|
298
298
|
}
|
|
299
|
-
return buildNetworkSnapshot$
|
|
299
|
+
return buildNetworkSnapshot$j(luvio, config);
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
302
|
|
|
303
|
-
function validate$
|
|
303
|
+
function validate$x(obj, path = 'EnvelopeSendRequest') {
|
|
304
304
|
const v_error = (() => {
|
|
305
305
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
306
306
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -348,8 +348,8 @@ function validate$v(obj, path = 'EnvelopeSendRequest') {
|
|
|
348
348
|
return v_error === undefined ? null : v_error;
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
const VERSION$
|
|
352
|
-
function validate$
|
|
351
|
+
const VERSION$t = "44758c9d3b9165dafba7053b5ef892f0";
|
|
352
|
+
function validate$w(obj, path = 'EnvelopeSendResponse') {
|
|
353
353
|
const v_error = (() => {
|
|
354
354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
355
355
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -369,23 +369,23 @@ function validate$u(obj, path = 'EnvelopeSendResponse') {
|
|
|
369
369
|
})();
|
|
370
370
|
return v_error === undefined ? null : v_error;
|
|
371
371
|
}
|
|
372
|
-
const RepresentationType$
|
|
373
|
-
function keyBuilder$
|
|
374
|
-
return keyPrefix + '::' + RepresentationType$
|
|
372
|
+
const RepresentationType$h = 'EnvelopeSendResponse';
|
|
373
|
+
function keyBuilder$p(luvio, config) {
|
|
374
|
+
return keyPrefix + '::' + RepresentationType$h + ':' + config.envelopeId;
|
|
375
375
|
}
|
|
376
|
-
function keyBuilderFromType$
|
|
376
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
377
377
|
const keyParams = {
|
|
378
378
|
envelopeId: object.envelopeId
|
|
379
379
|
};
|
|
380
|
-
return keyBuilder$
|
|
380
|
+
return keyBuilder$p(luvio, keyParams);
|
|
381
381
|
}
|
|
382
|
-
function normalize$
|
|
382
|
+
function normalize$h(input, existing, path, luvio, store, timestamp) {
|
|
383
383
|
return input;
|
|
384
384
|
}
|
|
385
|
-
const select$
|
|
385
|
+
const select$M = function EnvelopeSendResponseSelect() {
|
|
386
386
|
return {
|
|
387
387
|
kind: 'Fragment',
|
|
388
|
-
version: VERSION$
|
|
388
|
+
version: VERSION$t,
|
|
389
389
|
private: [],
|
|
390
390
|
selections: [
|
|
391
391
|
{
|
|
@@ -400,7 +400,7 @@ const select$J = function EnvelopeSendResponseSelect() {
|
|
|
400
400
|
]
|
|
401
401
|
};
|
|
402
402
|
};
|
|
403
|
-
function equals$
|
|
403
|
+
function equals$t(existing, incoming) {
|
|
404
404
|
const existing_envelopeId = existing.envelopeId;
|
|
405
405
|
const incoming_envelopeId = incoming.envelopeId;
|
|
406
406
|
if (!(existing_envelopeId === incoming_envelopeId)) {
|
|
@@ -421,41 +421,41 @@ function equals$r(existing, incoming) {
|
|
|
421
421
|
}
|
|
422
422
|
return true;
|
|
423
423
|
}
|
|
424
|
-
const ingest$
|
|
424
|
+
const ingest$h = function EnvelopeSendResponseIngest(input, path, luvio, store, timestamp) {
|
|
425
425
|
if (process.env.NODE_ENV !== 'production') {
|
|
426
|
-
const validateError = validate$
|
|
426
|
+
const validateError = validate$w(input);
|
|
427
427
|
if (validateError !== null) {
|
|
428
428
|
throw validateError;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
const key = keyBuilderFromType$
|
|
431
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
432
432
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
|
|
433
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
433
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "docgen", VERSION$t, RepresentationType$h, equals$t);
|
|
434
434
|
return createLink(key);
|
|
435
435
|
};
|
|
436
|
-
function getTypeCacheKeys$
|
|
436
|
+
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
437
437
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
438
|
-
const rootKey = keyBuilderFromType$
|
|
438
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
439
439
|
rootKeySet.set(rootKey, {
|
|
440
440
|
namespace: keyPrefix,
|
|
441
|
-
representationName: RepresentationType$
|
|
441
|
+
representationName: RepresentationType$h,
|
|
442
442
|
mergeable: false
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
445
|
|
|
446
|
-
function select$
|
|
447
|
-
return select$
|
|
446
|
+
function select$L(luvio, params) {
|
|
447
|
+
return select$M();
|
|
448
448
|
}
|
|
449
|
-
function getResponseCacheKeys$
|
|
450
|
-
getTypeCacheKeys$
|
|
449
|
+
function getResponseCacheKeys$i(storeKeyMap, luvio, resourceParams, response) {
|
|
450
|
+
getTypeCacheKeys$h(storeKeyMap, luvio, response);
|
|
451
451
|
}
|
|
452
|
-
function ingestSuccess$
|
|
452
|
+
function ingestSuccess$i(luvio, resourceParams, response) {
|
|
453
453
|
const { body } = response;
|
|
454
|
-
const key = keyBuilderFromType$
|
|
455
|
-
luvio.storeIngest(key, ingest$
|
|
454
|
+
const key = keyBuilderFromType$9(luvio, body);
|
|
455
|
+
luvio.storeIngest(key, ingest$h, body);
|
|
456
456
|
const snapshot = luvio.storeLookup({
|
|
457
457
|
recordId: key,
|
|
458
|
-
node: select$
|
|
458
|
+
node: select$L(),
|
|
459
459
|
variables: {},
|
|
460
460
|
});
|
|
461
461
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -466,7 +466,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
|
|
|
466
466
|
deepFreeze(snapshot.data);
|
|
467
467
|
return snapshot;
|
|
468
468
|
}
|
|
469
|
-
function createResourceRequest$
|
|
469
|
+
function createResourceRequest$i(config) {
|
|
470
470
|
const headers = {};
|
|
471
471
|
return {
|
|
472
472
|
baseUri: '/services/data/v65.0',
|
|
@@ -480,47 +480,47 @@ function createResourceRequest$h(config) {
|
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
const adapterName$
|
|
483
|
+
const adapterName$i = 'createDocumentEnvelopeForEsign';
|
|
484
484
|
const createDocumentEnvelopeForEsign_ConfigPropertyMetadata = [
|
|
485
485
|
generateParamConfigMetadata('sourceObjectId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
486
486
|
generateParamConfigMetadata('envelope', true, 2 /* Body */, 4 /* Unsupported */),
|
|
487
487
|
];
|
|
488
|
-
const createDocumentEnvelopeForEsign_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
489
|
-
const createResourceParams$
|
|
490
|
-
function typeCheckConfig$
|
|
488
|
+
const createDocumentEnvelopeForEsign_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
|
|
489
|
+
const createResourceParams$i = /*#__PURE__*/ createResourceParams$k(createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
|
|
490
|
+
function typeCheckConfig$i(untrustedConfig) {
|
|
491
491
|
const config = {};
|
|
492
|
-
typeCheckConfig$
|
|
492
|
+
typeCheckConfig$k(untrustedConfig, config, createDocumentEnvelopeForEsign_ConfigPropertyMetadata);
|
|
493
493
|
const untrustedConfig_envelope = untrustedConfig.envelope;
|
|
494
|
-
const referenceEnvelopeSendRequestValidationError = validate$
|
|
494
|
+
const referenceEnvelopeSendRequestValidationError = validate$x(untrustedConfig_envelope);
|
|
495
495
|
if (referenceEnvelopeSendRequestValidationError === null) {
|
|
496
496
|
config.envelope = untrustedConfig_envelope;
|
|
497
497
|
}
|
|
498
498
|
return config;
|
|
499
499
|
}
|
|
500
|
-
function validateAdapterConfig$
|
|
500
|
+
function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
501
501
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
502
502
|
return null;
|
|
503
503
|
}
|
|
504
504
|
if (process.env.NODE_ENV !== 'production') {
|
|
505
505
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
506
506
|
}
|
|
507
|
-
const config = typeCheckConfig$
|
|
507
|
+
const config = typeCheckConfig$i(untrustedConfig);
|
|
508
508
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
509
509
|
return null;
|
|
510
510
|
}
|
|
511
511
|
return config;
|
|
512
512
|
}
|
|
513
|
-
function buildNetworkSnapshot$
|
|
514
|
-
const resourceParams = createResourceParams$
|
|
515
|
-
const request = createResourceRequest$
|
|
513
|
+
function buildNetworkSnapshot$i(luvio, config, options) {
|
|
514
|
+
const resourceParams = createResourceParams$i(config);
|
|
515
|
+
const request = createResourceRequest$i(resourceParams);
|
|
516
516
|
return luvio.dispatchResourceRequest(request, options)
|
|
517
517
|
.then((response) => {
|
|
518
518
|
return luvio.handleSuccessResponse(() => {
|
|
519
|
-
const snapshot = ingestSuccess$
|
|
519
|
+
const snapshot = ingestSuccess$i(luvio, resourceParams, response);
|
|
520
520
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
521
521
|
}, () => {
|
|
522
522
|
const cache = new StoreKeyMap();
|
|
523
|
-
getResponseCacheKeys$
|
|
523
|
+
getResponseCacheKeys$i(cache, luvio, resourceParams, response.body);
|
|
524
524
|
return cache;
|
|
525
525
|
});
|
|
526
526
|
}, (response) => {
|
|
@@ -530,17 +530,17 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
530
530
|
}
|
|
531
531
|
const createDocumentEnvelopeForEsignAdapterFactory = (luvio) => {
|
|
532
532
|
return function createDocumentEnvelopeForEsign(untrustedConfig) {
|
|
533
|
-
const config = validateAdapterConfig$
|
|
533
|
+
const config = validateAdapterConfig$i(untrustedConfig, createDocumentEnvelopeForEsign_ConfigPropertyNames);
|
|
534
534
|
// Invalid or incomplete config
|
|
535
535
|
if (config === null) {
|
|
536
536
|
throw new Error('Invalid config for "createDocumentEnvelopeForEsign"');
|
|
537
537
|
}
|
|
538
|
-
return buildNetworkSnapshot$
|
|
538
|
+
return buildNetworkSnapshot$i(luvio, config);
|
|
539
539
|
};
|
|
540
540
|
};
|
|
541
541
|
|
|
542
|
-
const VERSION$
|
|
543
|
-
function validate$
|
|
542
|
+
const VERSION$s = "a76e3b017946dd2b8a364cca245fda4d";
|
|
543
|
+
function validate$v(obj, path = 'DocumentTemplateRepresentation') {
|
|
544
544
|
const v_error = (() => {
|
|
545
545
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
546
546
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -553,23 +553,23 @@ function validate$t(obj, path = 'DocumentTemplateRepresentation') {
|
|
|
553
553
|
})();
|
|
554
554
|
return v_error === undefined ? null : v_error;
|
|
555
555
|
}
|
|
556
|
-
const RepresentationType$
|
|
557
|
-
function keyBuilder$
|
|
558
|
-
return keyPrefix + '::' + RepresentationType$
|
|
556
|
+
const RepresentationType$g = 'DocumentTemplateRepresentation';
|
|
557
|
+
function keyBuilder$o(luvio, config) {
|
|
558
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.documentTemplateId;
|
|
559
559
|
}
|
|
560
|
-
function keyBuilderFromType$
|
|
560
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
561
561
|
const keyParams = {
|
|
562
562
|
documentTemplateId: object.documentTemplateId
|
|
563
563
|
};
|
|
564
|
-
return keyBuilder$
|
|
564
|
+
return keyBuilder$o(luvio, keyParams);
|
|
565
565
|
}
|
|
566
|
-
function normalize$
|
|
566
|
+
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
567
567
|
return input;
|
|
568
568
|
}
|
|
569
|
-
const select$
|
|
569
|
+
const select$K = function DocumentTemplateRepresentationSelect() {
|
|
570
570
|
return {
|
|
571
571
|
kind: 'Fragment',
|
|
572
|
-
version: VERSION$
|
|
572
|
+
version: VERSION$s,
|
|
573
573
|
private: [],
|
|
574
574
|
selections: [
|
|
575
575
|
{
|
|
@@ -579,7 +579,7 @@ const select$H = function DocumentTemplateRepresentationSelect() {
|
|
|
579
579
|
]
|
|
580
580
|
};
|
|
581
581
|
};
|
|
582
|
-
function equals$
|
|
582
|
+
function equals$s(existing, incoming) {
|
|
583
583
|
const existing_documentTemplateId = existing.documentTemplateId;
|
|
584
584
|
const incoming_documentTemplateId = incoming.documentTemplateId;
|
|
585
585
|
if (!(existing_documentTemplateId === incoming_documentTemplateId)) {
|
|
@@ -587,41 +587,41 @@ function equals$q(existing, incoming) {
|
|
|
587
587
|
}
|
|
588
588
|
return true;
|
|
589
589
|
}
|
|
590
|
-
const ingest$
|
|
590
|
+
const ingest$g = function DocumentTemplateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
591
591
|
if (process.env.NODE_ENV !== 'production') {
|
|
592
|
-
const validateError = validate$
|
|
592
|
+
const validateError = validate$v(input);
|
|
593
593
|
if (validateError !== null) {
|
|
594
594
|
throw validateError;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
const key = keyBuilderFromType$
|
|
597
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
598
598
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
|
|
599
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$
|
|
599
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "docgen", VERSION$s, RepresentationType$g, equals$s);
|
|
600
600
|
return createLink(key);
|
|
601
601
|
};
|
|
602
|
-
function getTypeCacheKeys$
|
|
602
|
+
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
603
603
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
604
|
-
const rootKey = keyBuilderFromType$
|
|
604
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
605
605
|
rootKeySet.set(rootKey, {
|
|
606
606
|
namespace: keyPrefix,
|
|
607
|
-
representationName: RepresentationType$
|
|
607
|
+
representationName: RepresentationType$g,
|
|
608
608
|
mergeable: false
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
function select$
|
|
613
|
-
return select$
|
|
612
|
+
function select$J(luvio, params) {
|
|
613
|
+
return select$K();
|
|
614
614
|
}
|
|
615
|
-
function getResponseCacheKeys$
|
|
616
|
-
getTypeCacheKeys$
|
|
615
|
+
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
616
|
+
getTypeCacheKeys$g(storeKeyMap, luvio, response);
|
|
617
617
|
}
|
|
618
|
-
function ingestSuccess$
|
|
618
|
+
function ingestSuccess$h(luvio, resourceParams, response) {
|
|
619
619
|
const { body } = response;
|
|
620
|
-
const key = keyBuilderFromType$
|
|
621
|
-
luvio.storeIngest(key, ingest$
|
|
620
|
+
const key = keyBuilderFromType$8(luvio, body);
|
|
621
|
+
luvio.storeIngest(key, ingest$g, body);
|
|
622
622
|
const snapshot = luvio.storeLookup({
|
|
623
623
|
recordId: key,
|
|
624
|
-
node: select$
|
|
624
|
+
node: select$J(),
|
|
625
625
|
variables: {},
|
|
626
626
|
});
|
|
627
627
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -632,7 +632,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
632
632
|
deepFreeze(snapshot.data);
|
|
633
633
|
return snapshot;
|
|
634
634
|
}
|
|
635
|
-
function createResourceRequest$
|
|
635
|
+
function createResourceRequest$h(config) {
|
|
636
636
|
const headers = {};
|
|
637
637
|
return {
|
|
638
638
|
baseUri: '/services/data/v65.0',
|
|
@@ -646,7 +646,7 @@ function createResourceRequest$g(config) {
|
|
|
646
646
|
};
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
-
const adapterName$
|
|
649
|
+
const adapterName$h = 'createDocumentTemplate';
|
|
650
650
|
const createDocumentTemplate_ConfigPropertyMetadata = [
|
|
651
651
|
generateParamConfigMetadata('action', false, 1 /* QueryParameter */, 0 /* String */),
|
|
652
652
|
generateParamConfigMetadata('documentTemplateId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
@@ -667,11 +667,338 @@ const createDocumentTemplate_ConfigPropertyMetadata = [
|
|
|
667
667
|
generateParamConfigMetadata('contextDefinitionName', false, 2 /* Body */, 0 /* String */),
|
|
668
668
|
generateParamConfigMetadata('contextMappingName', false, 2 /* Body */, 0 /* String */),
|
|
669
669
|
];
|
|
670
|
-
const createDocumentTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
671
|
-
const createResourceParams$
|
|
670
|
+
const createDocumentTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, createDocumentTemplate_ConfigPropertyMetadata);
|
|
671
|
+
const createResourceParams$h = /*#__PURE__*/ createResourceParams$k(createDocumentTemplate_ConfigPropertyMetadata);
|
|
672
|
+
function typeCheckConfig$h(untrustedConfig) {
|
|
673
|
+
const config = {};
|
|
674
|
+
typeCheckConfig$k(untrustedConfig, config, createDocumentTemplate_ConfigPropertyMetadata);
|
|
675
|
+
return config;
|
|
676
|
+
}
|
|
677
|
+
function validateAdapterConfig$h(untrustedConfig, configPropertyNames) {
|
|
678
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
679
|
+
return null;
|
|
680
|
+
}
|
|
681
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
682
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
683
|
+
}
|
|
684
|
+
const config = typeCheckConfig$h(untrustedConfig);
|
|
685
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
686
|
+
return null;
|
|
687
|
+
}
|
|
688
|
+
return config;
|
|
689
|
+
}
|
|
690
|
+
function buildNetworkSnapshot$h(luvio, config, options) {
|
|
691
|
+
const resourceParams = createResourceParams$h(config);
|
|
692
|
+
const request = createResourceRequest$h(resourceParams);
|
|
693
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
694
|
+
.then((response) => {
|
|
695
|
+
return luvio.handleSuccessResponse(() => {
|
|
696
|
+
const snapshot = ingestSuccess$h(luvio, resourceParams, response);
|
|
697
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
698
|
+
}, () => {
|
|
699
|
+
const cache = new StoreKeyMap();
|
|
700
|
+
getResponseCacheKeys$h(cache, luvio, resourceParams, response.body);
|
|
701
|
+
return cache;
|
|
702
|
+
});
|
|
703
|
+
}, (response) => {
|
|
704
|
+
deepFreeze(response);
|
|
705
|
+
throw response;
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
const createDocumentTemplateAdapterFactory = (luvio) => {
|
|
709
|
+
return function createDocumentTemplate(untrustedConfig) {
|
|
710
|
+
const config = validateAdapterConfig$h(untrustedConfig, createDocumentTemplate_ConfigPropertyNames);
|
|
711
|
+
// Invalid or incomplete config
|
|
712
|
+
if (config === null) {
|
|
713
|
+
throw new Error('Invalid config for "createDocumentTemplate"');
|
|
714
|
+
}
|
|
715
|
+
return buildNetworkSnapshot$h(luvio, config);
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
const VERSION$r = "ed6ec33670c33d6b68fb5c41b2a61d02";
|
|
720
|
+
function validate$u(obj, path = 'ContentLinkDataSyncDetailRepresentation') {
|
|
721
|
+
const v_error = (() => {
|
|
722
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
723
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
724
|
+
}
|
|
725
|
+
const obj_contentLinkId = obj.contentLinkId;
|
|
726
|
+
const path_contentLinkId = path + '.contentLinkId';
|
|
727
|
+
if (typeof obj_contentLinkId !== 'string') {
|
|
728
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contentLinkId + '" (at "' + path_contentLinkId + '")');
|
|
729
|
+
}
|
|
730
|
+
const obj_failureReason = obj.failureReason;
|
|
731
|
+
const path_failureReason = path + '.failureReason';
|
|
732
|
+
if (typeof obj_failureReason !== 'string') {
|
|
733
|
+
return new TypeError('Expected "string" but received "' + typeof obj_failureReason + '" (at "' + path_failureReason + '")');
|
|
734
|
+
}
|
|
735
|
+
const obj_isSuccess = obj.isSuccess;
|
|
736
|
+
const path_isSuccess = path + '.isSuccess';
|
|
737
|
+
if (typeof obj_isSuccess !== 'boolean') {
|
|
738
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
739
|
+
}
|
|
740
|
+
const obj_value = obj.value;
|
|
741
|
+
const path_value = path + '.value';
|
|
742
|
+
if (typeof obj_value !== 'string') {
|
|
743
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
744
|
+
}
|
|
745
|
+
})();
|
|
746
|
+
return v_error === undefined ? null : v_error;
|
|
747
|
+
}
|
|
748
|
+
const select$I = function ContentLinkDataSyncDetailRepresentationSelect() {
|
|
749
|
+
return {
|
|
750
|
+
kind: 'Fragment',
|
|
751
|
+
version: VERSION$r,
|
|
752
|
+
private: [],
|
|
753
|
+
selections: [
|
|
754
|
+
{
|
|
755
|
+
name: 'contentLinkId',
|
|
756
|
+
kind: 'Scalar'
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: 'failureReason',
|
|
760
|
+
kind: 'Scalar'
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
name: 'isSuccess',
|
|
764
|
+
kind: 'Scalar'
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
name: 'value',
|
|
768
|
+
kind: 'Scalar'
|
|
769
|
+
}
|
|
770
|
+
]
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
function equals$r(existing, incoming) {
|
|
774
|
+
const existing_isSuccess = existing.isSuccess;
|
|
775
|
+
const incoming_isSuccess = incoming.isSuccess;
|
|
776
|
+
if (!(existing_isSuccess === incoming_isSuccess)) {
|
|
777
|
+
return false;
|
|
778
|
+
}
|
|
779
|
+
const existing_contentLinkId = existing.contentLinkId;
|
|
780
|
+
const incoming_contentLinkId = incoming.contentLinkId;
|
|
781
|
+
if (!(existing_contentLinkId === incoming_contentLinkId)) {
|
|
782
|
+
return false;
|
|
783
|
+
}
|
|
784
|
+
const existing_failureReason = existing.failureReason;
|
|
785
|
+
const incoming_failureReason = incoming.failureReason;
|
|
786
|
+
if (!(existing_failureReason === incoming_failureReason)) {
|
|
787
|
+
return false;
|
|
788
|
+
}
|
|
789
|
+
const existing_value = existing.value;
|
|
790
|
+
const incoming_value = incoming.value;
|
|
791
|
+
if (!(existing_value === incoming_value)) {
|
|
792
|
+
return false;
|
|
793
|
+
}
|
|
794
|
+
return true;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
const TTL$c = 60000;
|
|
798
|
+
const VERSION$q = "1a4175d62aae4b030b88e15b3bad343f";
|
|
799
|
+
function validate$t(obj, path = 'ContentLinkDataSyncOutputRepresentation') {
|
|
800
|
+
const v_error = (() => {
|
|
801
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
802
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
803
|
+
}
|
|
804
|
+
const obj_failedContentLinkDataList = obj.failedContentLinkDataList;
|
|
805
|
+
const path_failedContentLinkDataList = path + '.failedContentLinkDataList';
|
|
806
|
+
if (!ArrayIsArray(obj_failedContentLinkDataList)) {
|
|
807
|
+
return new TypeError('Expected "array" but received "' + typeof obj_failedContentLinkDataList + '" (at "' + path_failedContentLinkDataList + '")');
|
|
808
|
+
}
|
|
809
|
+
for (let i = 0; i < obj_failedContentLinkDataList.length; i++) {
|
|
810
|
+
const obj_failedContentLinkDataList_item = obj_failedContentLinkDataList[i];
|
|
811
|
+
const path_failedContentLinkDataList_item = path_failedContentLinkDataList + '[' + i + ']';
|
|
812
|
+
const referencepath_failedContentLinkDataList_itemValidationError = validate$u(obj_failedContentLinkDataList_item, path_failedContentLinkDataList_item);
|
|
813
|
+
if (referencepath_failedContentLinkDataList_itemValidationError !== null) {
|
|
814
|
+
let message = 'Object doesn\'t match ContentLinkDataSyncDetailRepresentation (at "' + path_failedContentLinkDataList_item + '")\n';
|
|
815
|
+
message += referencepath_failedContentLinkDataList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
816
|
+
return new TypeError(message);
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
const obj_referenceObjectId = obj.referenceObjectId;
|
|
820
|
+
const path_referenceObjectId = path + '.referenceObjectId';
|
|
821
|
+
if (typeof obj_referenceObjectId !== 'string') {
|
|
822
|
+
return new TypeError('Expected "string" but received "' + typeof obj_referenceObjectId + '" (at "' + path_referenceObjectId + '")');
|
|
823
|
+
}
|
|
824
|
+
const obj_saveCommitted = obj.saveCommitted;
|
|
825
|
+
const path_saveCommitted = path + '.saveCommitted';
|
|
826
|
+
if (typeof obj_saveCommitted !== 'boolean') {
|
|
827
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_saveCommitted + '" (at "' + path_saveCommitted + '")');
|
|
828
|
+
}
|
|
829
|
+
const obj_successContentLinkDataList = obj.successContentLinkDataList;
|
|
830
|
+
const path_successContentLinkDataList = path + '.successContentLinkDataList';
|
|
831
|
+
if (!ArrayIsArray(obj_successContentLinkDataList)) {
|
|
832
|
+
return new TypeError('Expected "array" but received "' + typeof obj_successContentLinkDataList + '" (at "' + path_successContentLinkDataList + '")');
|
|
833
|
+
}
|
|
834
|
+
for (let i = 0; i < obj_successContentLinkDataList.length; i++) {
|
|
835
|
+
const obj_successContentLinkDataList_item = obj_successContentLinkDataList[i];
|
|
836
|
+
const path_successContentLinkDataList_item = path_successContentLinkDataList + '[' + i + ']';
|
|
837
|
+
const referencepath_successContentLinkDataList_itemValidationError = validate$u(obj_successContentLinkDataList_item, path_successContentLinkDataList_item);
|
|
838
|
+
if (referencepath_successContentLinkDataList_itemValidationError !== null) {
|
|
839
|
+
let message = 'Object doesn\'t match ContentLinkDataSyncDetailRepresentation (at "' + path_successContentLinkDataList_item + '")\n';
|
|
840
|
+
message += referencepath_successContentLinkDataList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
841
|
+
return new TypeError(message);
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
})();
|
|
845
|
+
return v_error === undefined ? null : v_error;
|
|
846
|
+
}
|
|
847
|
+
const RepresentationType$f = 'ContentLinkDataSyncOutputRepresentation';
|
|
848
|
+
function keyBuilder$n(luvio, config) {
|
|
849
|
+
return keyPrefix + '::' + RepresentationType$f + ':' + config.referenceObjectId;
|
|
850
|
+
}
|
|
851
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
852
|
+
const keyParams = {
|
|
853
|
+
referenceObjectId: object.referenceObjectId
|
|
854
|
+
};
|
|
855
|
+
return keyBuilder$n(luvio, keyParams);
|
|
856
|
+
}
|
|
857
|
+
function normalize$f(input, existing, path, luvio, store, timestamp) {
|
|
858
|
+
return input;
|
|
859
|
+
}
|
|
860
|
+
const select$H = function ContentLinkDataSyncOutputRepresentationSelect() {
|
|
861
|
+
const { selections: ContentLinkDataSyncDetailRepresentation__selections, opaque: ContentLinkDataSyncDetailRepresentation__opaque, } = select$I();
|
|
862
|
+
return {
|
|
863
|
+
kind: 'Fragment',
|
|
864
|
+
version: VERSION$q,
|
|
865
|
+
private: [],
|
|
866
|
+
selections: [
|
|
867
|
+
{
|
|
868
|
+
name: 'failedContentLinkDataList',
|
|
869
|
+
kind: 'Object',
|
|
870
|
+
plural: true,
|
|
871
|
+
selections: ContentLinkDataSyncDetailRepresentation__selections
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
name: 'referenceObjectId',
|
|
875
|
+
kind: 'Scalar'
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
name: 'saveCommitted',
|
|
879
|
+
kind: 'Scalar'
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
name: 'successContentLinkDataList',
|
|
883
|
+
kind: 'Object',
|
|
884
|
+
plural: true,
|
|
885
|
+
selections: ContentLinkDataSyncDetailRepresentation__selections
|
|
886
|
+
}
|
|
887
|
+
]
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
function equals$q(existing, incoming) {
|
|
891
|
+
const existing_saveCommitted = existing.saveCommitted;
|
|
892
|
+
const incoming_saveCommitted = incoming.saveCommitted;
|
|
893
|
+
if (!(existing_saveCommitted === incoming_saveCommitted)) {
|
|
894
|
+
return false;
|
|
895
|
+
}
|
|
896
|
+
const existing_referenceObjectId = existing.referenceObjectId;
|
|
897
|
+
const incoming_referenceObjectId = incoming.referenceObjectId;
|
|
898
|
+
if (!(existing_referenceObjectId === incoming_referenceObjectId)) {
|
|
899
|
+
return false;
|
|
900
|
+
}
|
|
901
|
+
const existing_failedContentLinkDataList = existing.failedContentLinkDataList;
|
|
902
|
+
const incoming_failedContentLinkDataList = incoming.failedContentLinkDataList;
|
|
903
|
+
const equals_failedContentLinkDataList_items = equalsArray(existing_failedContentLinkDataList, incoming_failedContentLinkDataList, (existing_failedContentLinkDataList_item, incoming_failedContentLinkDataList_item) => {
|
|
904
|
+
if (!(equals$r(existing_failedContentLinkDataList_item, incoming_failedContentLinkDataList_item))) {
|
|
905
|
+
return false;
|
|
906
|
+
}
|
|
907
|
+
});
|
|
908
|
+
if (equals_failedContentLinkDataList_items === false) {
|
|
909
|
+
return false;
|
|
910
|
+
}
|
|
911
|
+
const existing_successContentLinkDataList = existing.successContentLinkDataList;
|
|
912
|
+
const incoming_successContentLinkDataList = incoming.successContentLinkDataList;
|
|
913
|
+
const equals_successContentLinkDataList_items = equalsArray(existing_successContentLinkDataList, incoming_successContentLinkDataList, (existing_successContentLinkDataList_item, incoming_successContentLinkDataList_item) => {
|
|
914
|
+
if (!(equals$r(existing_successContentLinkDataList_item, incoming_successContentLinkDataList_item))) {
|
|
915
|
+
return false;
|
|
916
|
+
}
|
|
917
|
+
});
|
|
918
|
+
if (equals_successContentLinkDataList_items === false) {
|
|
919
|
+
return false;
|
|
920
|
+
}
|
|
921
|
+
return true;
|
|
922
|
+
}
|
|
923
|
+
const ingest$f = function ContentLinkDataSyncOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
924
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
925
|
+
const validateError = validate$t(input);
|
|
926
|
+
if (validateError !== null) {
|
|
927
|
+
throw validateError;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
931
|
+
const ttlToUse = TTL$c;
|
|
932
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "docgen", VERSION$q, RepresentationType$f, equals$q);
|
|
933
|
+
return createLink(key);
|
|
934
|
+
};
|
|
935
|
+
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
936
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
937
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
938
|
+
rootKeySet.set(rootKey, {
|
|
939
|
+
namespace: keyPrefix,
|
|
940
|
+
representationName: RepresentationType$f,
|
|
941
|
+
mergeable: false
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
function select$G(luvio, params) {
|
|
946
|
+
return select$H();
|
|
947
|
+
}
|
|
948
|
+
function getResponseCacheKeys$g(storeKeyMap, luvio, resourceParams, response) {
|
|
949
|
+
getTypeCacheKeys$f(storeKeyMap, luvio, response);
|
|
950
|
+
}
|
|
951
|
+
function ingestSuccess$g(luvio, resourceParams, response) {
|
|
952
|
+
const { body } = response;
|
|
953
|
+
const key = keyBuilderFromType$7(luvio, body);
|
|
954
|
+
luvio.storeIngest(key, ingest$f, body);
|
|
955
|
+
const snapshot = luvio.storeLookup({
|
|
956
|
+
recordId: key,
|
|
957
|
+
node: select$G(),
|
|
958
|
+
variables: {},
|
|
959
|
+
});
|
|
960
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
961
|
+
if (snapshot.state !== 'Fulfilled') {
|
|
962
|
+
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
deepFreeze(snapshot.data);
|
|
966
|
+
return snapshot;
|
|
967
|
+
}
|
|
968
|
+
function createResourceRequest$g(config) {
|
|
969
|
+
const headers = {};
|
|
970
|
+
return {
|
|
971
|
+
baseUri: '/services/data/v65.0',
|
|
972
|
+
basePath: '/connect/content-link/data-sync',
|
|
973
|
+
method: 'post',
|
|
974
|
+
body: config.body,
|
|
975
|
+
urlParams: {},
|
|
976
|
+
queryParams: {},
|
|
977
|
+
headers,
|
|
978
|
+
priority: 'normal',
|
|
979
|
+
};
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
const adapterName$g = 'getContentLinkDataSyncInput';
|
|
983
|
+
const getContentLinkDataSyncInput_ConfigPropertyMetadata = [
|
|
984
|
+
generateParamConfigMetadata('contentLinkDetailsList', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
985
|
+
generateParamConfigMetadata('partialCommit', true, 2 /* Body */, 1 /* Boolean */),
|
|
986
|
+
generateParamConfigMetadata('referenceObjectId', true, 2 /* Body */, 0 /* String */),
|
|
987
|
+
];
|
|
988
|
+
const getContentLinkDataSyncInput_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, getContentLinkDataSyncInput_ConfigPropertyMetadata);
|
|
989
|
+
const createResourceParams$g = /*#__PURE__*/ createResourceParams$k(getContentLinkDataSyncInput_ConfigPropertyMetadata);
|
|
672
990
|
function typeCheckConfig$g(untrustedConfig) {
|
|
673
991
|
const config = {};
|
|
674
|
-
typeCheckConfig$
|
|
992
|
+
typeCheckConfig$k(untrustedConfig, config, getContentLinkDataSyncInput_ConfigPropertyMetadata);
|
|
993
|
+
const untrustedConfig_contentLinkDetailsList = untrustedConfig.contentLinkDetailsList;
|
|
994
|
+
if (ArrayIsArray$1(untrustedConfig_contentLinkDetailsList)) {
|
|
995
|
+
const untrustedConfig_contentLinkDetailsList_array = [];
|
|
996
|
+
for (let i = 0, arrayLength = untrustedConfig_contentLinkDetailsList.length; i < arrayLength; i++) {
|
|
997
|
+
const untrustedConfig_contentLinkDetailsList_item = untrustedConfig_contentLinkDetailsList[i];
|
|
998
|
+
untrustedConfig_contentLinkDetailsList_array.push(untrustedConfig_contentLinkDetailsList_item);
|
|
999
|
+
}
|
|
1000
|
+
config.contentLinkDetailsList = untrustedConfig_contentLinkDetailsList_array;
|
|
1001
|
+
}
|
|
675
1002
|
return config;
|
|
676
1003
|
}
|
|
677
1004
|
function validateAdapterConfig$g(untrustedConfig, configPropertyNames) {
|
|
@@ -705,12 +1032,12 @@ function buildNetworkSnapshot$g(luvio, config, options) {
|
|
|
705
1032
|
throw response;
|
|
706
1033
|
});
|
|
707
1034
|
}
|
|
708
|
-
const
|
|
709
|
-
return function
|
|
710
|
-
const config = validateAdapterConfig$g(untrustedConfig,
|
|
1035
|
+
const getContentLinkDataSyncInputAdapterFactory = (luvio) => {
|
|
1036
|
+
return function getContentLinkDataSyncInput(untrustedConfig) {
|
|
1037
|
+
const config = validateAdapterConfig$g(untrustedConfig, getContentLinkDataSyncInput_ConfigPropertyNames);
|
|
711
1038
|
// Invalid or incomplete config
|
|
712
1039
|
if (config === null) {
|
|
713
|
-
throw new Error('Invalid config for "
|
|
1040
|
+
throw new Error('Invalid config for "getContentLinkDataSyncInput"');
|
|
714
1041
|
}
|
|
715
1042
|
return buildNetworkSnapshot$g(luvio, config);
|
|
716
1043
|
};
|
|
@@ -1016,10 +1343,10 @@ const getContentLinkInput_ConfigPropertyMetadata = [
|
|
|
1016
1343
|
generateParamConfigMetadata('referenceObjectId', true, 2 /* Body */, 0 /* String */),
|
|
1017
1344
|
];
|
|
1018
1345
|
const getContentLinkInput_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getContentLinkInput_ConfigPropertyMetadata);
|
|
1019
|
-
const createResourceParams$f = /*#__PURE__*/ createResourceParams$
|
|
1346
|
+
const createResourceParams$f = /*#__PURE__*/ createResourceParams$k(getContentLinkInput_ConfigPropertyMetadata);
|
|
1020
1347
|
function typeCheckConfig$f(untrustedConfig) {
|
|
1021
1348
|
const config = {};
|
|
1022
|
-
typeCheckConfig$
|
|
1349
|
+
typeCheckConfig$k(untrustedConfig, config, getContentLinkInput_ConfigPropertyMetadata);
|
|
1023
1350
|
return config;
|
|
1024
1351
|
}
|
|
1025
1352
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -1248,10 +1575,10 @@ const getDocGenConfig_ConfigPropertyMetadata = [
|
|
|
1248
1575
|
generateParamConfigMetadata('configType', true, 2 /* Body */, 0 /* String */),
|
|
1249
1576
|
];
|
|
1250
1577
|
const getDocGenConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getDocGenConfig_ConfigPropertyMetadata);
|
|
1251
|
-
const createResourceParams$e = /*#__PURE__*/ createResourceParams$
|
|
1578
|
+
const createResourceParams$e = /*#__PURE__*/ createResourceParams$k(getDocGenConfig_ConfigPropertyMetadata);
|
|
1252
1579
|
function typeCheckConfig$e(untrustedConfig) {
|
|
1253
1580
|
const config = {};
|
|
1254
|
-
typeCheckConfig$
|
|
1581
|
+
typeCheckConfig$k(untrustedConfig, config, getDocGenConfig_ConfigPropertyMetadata);
|
|
1255
1582
|
const untrustedConfig_configInput = untrustedConfig.configInput;
|
|
1256
1583
|
config.configInput = untrustedConfig_configInput;
|
|
1257
1584
|
return config;
|
|
@@ -1450,14 +1777,14 @@ const getDocumentClauseFields_ConfigPropertyMetadata = [
|
|
|
1450
1777
|
generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1451
1778
|
];
|
|
1452
1779
|
const getDocumentClauseFields_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getDocumentClauseFields_ConfigPropertyMetadata);
|
|
1453
|
-
const createResourceParams$d = /*#__PURE__*/ createResourceParams$
|
|
1780
|
+
const createResourceParams$d = /*#__PURE__*/ createResourceParams$k(getDocumentClauseFields_ConfigPropertyMetadata);
|
|
1454
1781
|
function keyBuilder$j(luvio, config) {
|
|
1455
1782
|
const resourceParams = createResourceParams$d(config);
|
|
1456
1783
|
return keyBuilder$k(luvio, resourceParams);
|
|
1457
1784
|
}
|
|
1458
1785
|
function typeCheckConfig$d(untrustedConfig) {
|
|
1459
1786
|
const config = {};
|
|
1460
|
-
typeCheckConfig$
|
|
1787
|
+
typeCheckConfig$k(untrustedConfig, config, getDocumentClauseFields_ConfigPropertyMetadata);
|
|
1461
1788
|
return config;
|
|
1462
1789
|
}
|
|
1463
1790
|
function validateAdapterConfig$d(untrustedConfig, configPropertyNames) {
|
|
@@ -1745,14 +2072,14 @@ const getDocumentClauseSetCategories_ConfigPropertyMetadata = [
|
|
|
1745
2072
|
generateParamConfigMetadata('usageType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1746
2073
|
];
|
|
1747
2074
|
const getDocumentClauseSetCategories_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getDocumentClauseSetCategories_ConfigPropertyMetadata);
|
|
1748
|
-
const createResourceParams$c = /*#__PURE__*/ createResourceParams$
|
|
2075
|
+
const createResourceParams$c = /*#__PURE__*/ createResourceParams$k(getDocumentClauseSetCategories_ConfigPropertyMetadata);
|
|
1749
2076
|
function keyBuilder$h(luvio, config) {
|
|
1750
2077
|
const resourceParams = createResourceParams$c(config);
|
|
1751
2078
|
return keyBuilder$i(luvio, resourceParams);
|
|
1752
2079
|
}
|
|
1753
2080
|
function typeCheckConfig$c(untrustedConfig) {
|
|
1754
2081
|
const config = {};
|
|
1755
|
-
typeCheckConfig$
|
|
2082
|
+
typeCheckConfig$k(untrustedConfig, config, getDocumentClauseSetCategories_ConfigPropertyMetadata);
|
|
1756
2083
|
return config;
|
|
1757
2084
|
}
|
|
1758
2085
|
function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
@@ -2074,14 +2401,14 @@ const getDocumentClauseSets_ConfigPropertyMetadata = [
|
|
|
2074
2401
|
generateParamConfigMetadata('status', false, 1 /* QueryParameter */, 0 /* String */),
|
|
2075
2402
|
];
|
|
2076
2403
|
const getDocumentClauseSets_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getDocumentClauseSets_ConfigPropertyMetadata);
|
|
2077
|
-
const createResourceParams$b = /*#__PURE__*/ createResourceParams$
|
|
2404
|
+
const createResourceParams$b = /*#__PURE__*/ createResourceParams$k(getDocumentClauseSets_ConfigPropertyMetadata);
|
|
2078
2405
|
function keyBuilder$f(luvio, config) {
|
|
2079
2406
|
const resourceParams = createResourceParams$b(config);
|
|
2080
2407
|
return keyBuilder$g(luvio, resourceParams);
|
|
2081
2408
|
}
|
|
2082
2409
|
function typeCheckConfig$b(untrustedConfig) {
|
|
2083
2410
|
const config = {};
|
|
2084
|
-
typeCheckConfig$
|
|
2411
|
+
typeCheckConfig$k(untrustedConfig, config, getDocumentClauseSets_ConfigPropertyMetadata);
|
|
2085
2412
|
return config;
|
|
2086
2413
|
}
|
|
2087
2414
|
function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
|
|
@@ -2411,10 +2738,10 @@ const getDocumentPreview_ConfigPropertyMetadata = [
|
|
|
2411
2738
|
generateParamConfigMetadata('versionNumber', false, 2 /* Body */, 3 /* Integer */),
|
|
2412
2739
|
];
|
|
2413
2740
|
const getDocumentPreview_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getDocumentPreview_ConfigPropertyMetadata);
|
|
2414
|
-
const createResourceParams$a = /*#__PURE__*/ createResourceParams$
|
|
2741
|
+
const createResourceParams$a = /*#__PURE__*/ createResourceParams$k(getDocumentPreview_ConfigPropertyMetadata);
|
|
2415
2742
|
function typeCheckConfig$a(untrustedConfig) {
|
|
2416
2743
|
const config = {};
|
|
2417
|
-
typeCheckConfig$
|
|
2744
|
+
typeCheckConfig$k(untrustedConfig, config, getDocumentPreview_ConfigPropertyMetadata);
|
|
2418
2745
|
return config;
|
|
2419
2746
|
}
|
|
2420
2747
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -2696,14 +3023,14 @@ const getDocumentTemplates_ConfigPropertyMetadata = [
|
|
|
2696
3023
|
generateParamConfigMetadata('usageType', false, 1 /* QueryParameter */, 0 /* String */, true),
|
|
2697
3024
|
];
|
|
2698
3025
|
const getDocumentTemplates_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getDocumentTemplates_ConfigPropertyMetadata);
|
|
2699
|
-
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$
|
|
3026
|
+
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$k(getDocumentTemplates_ConfigPropertyMetadata);
|
|
2700
3027
|
function keyBuilder$c(luvio, config) {
|
|
2701
3028
|
const resourceParams = createResourceParams$9(config);
|
|
2702
3029
|
return keyBuilder$d(luvio, resourceParams);
|
|
2703
3030
|
}
|
|
2704
3031
|
function typeCheckConfig$9(untrustedConfig) {
|
|
2705
3032
|
const config = {};
|
|
2706
|
-
typeCheckConfig$
|
|
3033
|
+
typeCheckConfig$k(untrustedConfig, config, getDocumentTemplates_ConfigPropertyMetadata);
|
|
2707
3034
|
return config;
|
|
2708
3035
|
}
|
|
2709
3036
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -3088,14 +3415,14 @@ const getDocuments_ConfigPropertyMetadata = [
|
|
|
3088
3415
|
generateParamConfigMetadata('sourceObjectId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3089
3416
|
];
|
|
3090
3417
|
const getDocuments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getDocuments_ConfigPropertyMetadata);
|
|
3091
|
-
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$
|
|
3418
|
+
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$k(getDocuments_ConfigPropertyMetadata);
|
|
3092
3419
|
function keyBuilder$a(luvio, config) {
|
|
3093
3420
|
const resourceParams = createResourceParams$8(config);
|
|
3094
3421
|
return keyBuilder$b(luvio, resourceParams);
|
|
3095
3422
|
}
|
|
3096
3423
|
function typeCheckConfig$8(untrustedConfig) {
|
|
3097
3424
|
const config = {};
|
|
3098
|
-
typeCheckConfig$
|
|
3425
|
+
typeCheckConfig$k(untrustedConfig, config, getDocuments_ConfigPropertyMetadata);
|
|
3099
3426
|
return config;
|
|
3100
3427
|
}
|
|
3101
3428
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -3553,14 +3880,14 @@ const getESignNotificationSettings_ConfigPropertyMetadata = [
|
|
|
3553
3880
|
generateParamConfigMetadata('sourceObjectId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3554
3881
|
];
|
|
3555
3882
|
const getESignNotificationSettings_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getESignNotificationSettings_ConfigPropertyMetadata);
|
|
3556
|
-
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$
|
|
3883
|
+
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$k(getESignNotificationSettings_ConfigPropertyMetadata);
|
|
3557
3884
|
function keyBuilder$8(luvio, config) {
|
|
3558
3885
|
const resourceParams = createResourceParams$7(config);
|
|
3559
3886
|
return keyBuilder$9(luvio, resourceParams);
|
|
3560
3887
|
}
|
|
3561
3888
|
function typeCheckConfig$7(untrustedConfig) {
|
|
3562
3889
|
const config = {};
|
|
3563
|
-
typeCheckConfig$
|
|
3890
|
+
typeCheckConfig$k(untrustedConfig, config, getESignNotificationSettings_ConfigPropertyMetadata);
|
|
3564
3891
|
return config;
|
|
3565
3892
|
}
|
|
3566
3893
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -3920,14 +4247,14 @@ const getRecipients_ConfigPropertyMetadata = [
|
|
|
3920
4247
|
generateParamConfigMetadata('sourceObjectId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
3921
4248
|
];
|
|
3922
4249
|
const getRecipients_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getRecipients_ConfigPropertyMetadata);
|
|
3923
|
-
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$
|
|
4250
|
+
const createResourceParams$6 = /*#__PURE__*/ createResourceParams$k(getRecipients_ConfigPropertyMetadata);
|
|
3924
4251
|
function keyBuilder$6(luvio, config) {
|
|
3925
4252
|
const resourceParams = createResourceParams$6(config);
|
|
3926
4253
|
return keyBuilder$7(luvio, resourceParams);
|
|
3927
4254
|
}
|
|
3928
4255
|
function typeCheckConfig$6(untrustedConfig) {
|
|
3929
4256
|
const config = {};
|
|
3930
|
-
typeCheckConfig$
|
|
4257
|
+
typeCheckConfig$k(untrustedConfig, config, getRecipients_ConfigPropertyMetadata);
|
|
3931
4258
|
return config;
|
|
3932
4259
|
}
|
|
3933
4260
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -4142,7 +4469,7 @@ function createResourceRequest$5(config) {
|
|
|
4142
4469
|
const adapterName$5 = 'getSignerRoles';
|
|
4143
4470
|
const getSignerRoles_ConfigPropertyMetadata = [];
|
|
4144
4471
|
const getSignerRoles_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getSignerRoles_ConfigPropertyMetadata);
|
|
4145
|
-
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$
|
|
4472
|
+
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$k(getSignerRoles_ConfigPropertyMetadata);
|
|
4146
4473
|
function keyBuilder$4(luvio, config) {
|
|
4147
4474
|
createResourceParams$5(config);
|
|
4148
4475
|
return keyBuilder$5();
|
|
@@ -4360,10 +4687,10 @@ const performDocGenerationBatchProcessAction_ConfigPropertyMetadata = [
|
|
|
4360
4687
|
generateParamConfigMetadata('docGenerationBatchProcessId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4361
4688
|
];
|
|
4362
4689
|
const performDocGenerationBatchProcessAction_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
|
|
4363
|
-
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$
|
|
4690
|
+
const createResourceParams$4 = /*#__PURE__*/ createResourceParams$k(performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
|
|
4364
4691
|
function typeCheckConfig$4(untrustedConfig) {
|
|
4365
4692
|
const config = {};
|
|
4366
|
-
typeCheckConfig$
|
|
4693
|
+
typeCheckConfig$k(untrustedConfig, config, performDocGenerationBatchProcessAction_ConfigPropertyMetadata);
|
|
4367
4694
|
return config;
|
|
4368
4695
|
}
|
|
4369
4696
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -4542,10 +4869,10 @@ const postDocumentClausePromotion_ConfigPropertyMetadata = [
|
|
|
4542
4869
|
generateParamConfigMetadata('notifyOnCompletion', true, 2 /* Body */, 1 /* Boolean */),
|
|
4543
4870
|
];
|
|
4544
4871
|
const postDocumentClausePromotion_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, postDocumentClausePromotion_ConfigPropertyMetadata);
|
|
4545
|
-
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$
|
|
4872
|
+
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$k(postDocumentClausePromotion_ConfigPropertyMetadata);
|
|
4546
4873
|
function typeCheckConfig$3(untrustedConfig) {
|
|
4547
4874
|
const config = {};
|
|
4548
|
-
typeCheckConfig$
|
|
4875
|
+
typeCheckConfig$k(untrustedConfig, config, postDocumentClausePromotion_ConfigPropertyMetadata);
|
|
4549
4876
|
return config;
|
|
4550
4877
|
}
|
|
4551
4878
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -4591,15 +4918,15 @@ const postDocumentClausePromotionAdapterFactory = (luvio) => {
|
|
|
4591
4918
|
};
|
|
4592
4919
|
|
|
4593
4920
|
function select$5(luvio, params) {
|
|
4594
|
-
return select$
|
|
4921
|
+
return select$K();
|
|
4595
4922
|
}
|
|
4596
4923
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
4597
|
-
getTypeCacheKeys$
|
|
4924
|
+
getTypeCacheKeys$g(storeKeyMap, luvio, response);
|
|
4598
4925
|
}
|
|
4599
4926
|
function ingestSuccess$2(luvio, resourceParams, response) {
|
|
4600
4927
|
const { body } = response;
|
|
4601
|
-
const key = keyBuilderFromType$
|
|
4602
|
-
luvio.storeIngest(key, ingest$
|
|
4928
|
+
const key = keyBuilderFromType$8(luvio, body);
|
|
4929
|
+
luvio.storeIngest(key, ingest$g, body);
|
|
4603
4930
|
const snapshot = luvio.storeLookup({
|
|
4604
4931
|
recordId: key,
|
|
4605
4932
|
node: select$5(),
|
|
@@ -4644,10 +4971,10 @@ const updateDocumentTemplate_ConfigPropertyMetadata = [
|
|
|
4644
4971
|
generateParamConfigMetadata('contextMappingName', false, 2 /* Body */, 0 /* String */),
|
|
4645
4972
|
];
|
|
4646
4973
|
const updateDocumentTemplate_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, updateDocumentTemplate_ConfigPropertyMetadata);
|
|
4647
|
-
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$
|
|
4974
|
+
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$k(updateDocumentTemplate_ConfigPropertyMetadata);
|
|
4648
4975
|
function typeCheckConfig$2(untrustedConfig) {
|
|
4649
4976
|
const config = {};
|
|
4650
|
-
typeCheckConfig$
|
|
4977
|
+
typeCheckConfig$k(untrustedConfig, config, updateDocumentTemplate_ConfigPropertyMetadata);
|
|
4651
4978
|
return config;
|
|
4652
4979
|
}
|
|
4653
4980
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -4978,10 +5305,10 @@ const updateEnvelope_ConfigPropertyMetadata = [
|
|
|
4978
5305
|
generateParamConfigMetadata('sourceObjectId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
4979
5306
|
];
|
|
4980
5307
|
const updateEnvelope_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, updateEnvelope_ConfigPropertyMetadata);
|
|
4981
|
-
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$
|
|
5308
|
+
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$k(updateEnvelope_ConfigPropertyMetadata);
|
|
4982
5309
|
function typeCheckConfig$1(untrustedConfig) {
|
|
4983
5310
|
const config = {};
|
|
4984
|
-
typeCheckConfig$
|
|
5311
|
+
typeCheckConfig$k(untrustedConfig, config, updateEnvelope_ConfigPropertyMetadata);
|
|
4985
5312
|
return config;
|
|
4986
5313
|
}
|
|
4987
5314
|
function validateAdapterConfig$1(untrustedConfig, configPropertyNames) {
|
|
@@ -5245,10 +5572,10 @@ const updateVoidedEnvelope_ConfigPropertyMetadata = [
|
|
|
5245
5572
|
generateParamConfigMetadata('voidParam', true, 2 /* Body */, 4 /* Unsupported */),
|
|
5246
5573
|
];
|
|
5247
5574
|
const updateVoidedEnvelope_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateVoidedEnvelope_ConfigPropertyMetadata);
|
|
5248
|
-
const createResourceParams = /*#__PURE__*/ createResourceParams$
|
|
5575
|
+
const createResourceParams = /*#__PURE__*/ createResourceParams$k(updateVoidedEnvelope_ConfigPropertyMetadata);
|
|
5249
5576
|
function typeCheckConfig(untrustedConfig) {
|
|
5250
5577
|
const config = {};
|
|
5251
|
-
typeCheckConfig$
|
|
5578
|
+
typeCheckConfig$k(untrustedConfig, config, updateVoidedEnvelope_ConfigPropertyMetadata);
|
|
5252
5579
|
const untrustedConfig_voidParam = untrustedConfig.voidParam;
|
|
5253
5580
|
const referenceEnvelopeVoidRequestValidationError = validate$1(untrustedConfig_voidParam);
|
|
5254
5581
|
if (referenceEnvelopeVoidRequestValidationError === null) {
|
|
@@ -5301,6 +5628,7 @@ const updateVoidedEnvelopeAdapterFactory = (luvio) => {
|
|
|
5301
5628
|
let createComparisonDocument;
|
|
5302
5629
|
let createDocumentEnvelopeForEsign;
|
|
5303
5630
|
let createDocumentTemplate;
|
|
5631
|
+
let getContentLinkDataSyncInput;
|
|
5304
5632
|
let getContentLinkInput;
|
|
5305
5633
|
let getDocGenConfig;
|
|
5306
5634
|
let getDocumentClauseFields;
|
|
@@ -5373,6 +5701,7 @@ function bindExportsTo(luvio) {
|
|
|
5373
5701
|
createComparisonDocument: unwrapSnapshotData(createComparisonDocumentAdapterFactory),
|
|
5374
5702
|
createDocumentEnvelopeForEsign: unwrapSnapshotData(createDocumentEnvelopeForEsignAdapterFactory),
|
|
5375
5703
|
createDocumentTemplate: unwrapSnapshotData(createDocumentTemplateAdapterFactory),
|
|
5704
|
+
getContentLinkDataSyncInput: unwrapSnapshotData(getContentLinkDataSyncInputAdapterFactory),
|
|
5376
5705
|
getContentLinkInput: unwrapSnapshotData(getContentLinkInputAdapterFactory),
|
|
5377
5706
|
getDocGenConfig: unwrapSnapshotData(getDocGenConfigAdapterFactory),
|
|
5378
5707
|
getDocumentClauseFields: createWireAdapterConstructor(luvio, getDocumentClauseFields_ldsAdapter, getDocumentClauseFieldsMetadata),
|
|
@@ -5406,6 +5735,7 @@ withDefaultLuvio((luvio) => {
|
|
|
5406
5735
|
createComparisonDocument,
|
|
5407
5736
|
createDocumentEnvelopeForEsign,
|
|
5408
5737
|
createDocumentTemplate,
|
|
5738
|
+
getContentLinkDataSyncInput,
|
|
5409
5739
|
getContentLinkInput,
|
|
5410
5740
|
getDocGenConfig,
|
|
5411
5741
|
getDocumentClauseFields,
|
|
@@ -5433,5 +5763,5 @@ withDefaultLuvio((luvio) => {
|
|
|
5433
5763
|
} = bindExportsTo(luvio));
|
|
5434
5764
|
});
|
|
5435
5765
|
|
|
5436
|
-
export { createComparisonDocument, createDocumentEnvelopeForEsign, createDocumentTemplate, getContentLinkInput, getDocGenConfig, getDocumentClauseFields, getDocumentClauseFields_imperative, getDocumentClauseSetCategories, getDocumentClauseSetCategories_imperative, getDocumentClauseSets, getDocumentClauseSets_imperative, getDocumentPreview, getDocumentTemplates, getDocumentTemplates_imperative, getDocuments, getDocuments_imperative, getESignNotificationSettings, getESignNotificationSettings_imperative, getRecipients, getRecipients_imperative, getSignerRoles, getSignerRoles_imperative, performDocGenerationBatchProcessAction, postDocumentClausePromotion, updateDocumentTemplate, updateEnvelope, updateVoidedEnvelope };
|
|
5437
|
-
// version: 1.
|
|
5766
|
+
export { createComparisonDocument, createDocumentEnvelopeForEsign, createDocumentTemplate, getContentLinkDataSyncInput, getContentLinkInput, getDocGenConfig, getDocumentClauseFields, getDocumentClauseFields_imperative, getDocumentClauseSetCategories, getDocumentClauseSetCategories_imperative, getDocumentClauseSets, getDocumentClauseSets_imperative, getDocumentPreview, getDocumentTemplates, getDocumentTemplates_imperative, getDocuments, getDocuments_imperative, getESignNotificationSettings, getESignNotificationSettings_imperative, getRecipients, getRecipients_imperative, getSignerRoles, getSignerRoles_imperative, performDocGenerationBatchProcessAction, postDocumentClausePromotion, updateDocumentTemplate, updateEnvelope, updateVoidedEnvelope };
|
|
5767
|
+
// version: 1.367.0-dc146bc62e
|