@salesforce/lds-adapters-platform-data-seed 1.345.0 → 1.347.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/platform-data-seed.js +373 -135
- package/dist/es/es2018/types/src/generated/adapters/loadDataToTargetOrg.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postPlatformDataSeedV1DataSeedLoadByDataseed_request_id.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/DataSeedRequestObjectRepresentation.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/types/EntityDetailsChildResponseObject.d.ts +11 -11
- package/dist/es/es2018/types/src/generated/types/EntityDetailsParentResponseObject.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/EntityDetailsResponseObject.d.ts +8 -4
- package/dist/es/es2018/types/src/generated/types/LoadDataInputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +362 -124
- package/src/raml/api.raml +39 -7
|
@@ -91,8 +91,8 @@ function createLink(ref) {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
const VERSION$
|
|
95
|
-
function validate$
|
|
94
|
+
const VERSION$g = "c99b6467d047bac3cc770bcf35963899";
|
|
95
|
+
function validate$g(obj, path = 'DataSeedRequestObjectRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -142,6 +142,11 @@ function validate$f(obj, path = 'DataSeedRequestObjectRepresentation') {
|
|
|
142
142
|
if (typeof obj_request_id !== 'string') {
|
|
143
143
|
return new TypeError('Expected "string" but received "' + typeof obj_request_id + '" (at "' + path_request_id + '")');
|
|
144
144
|
}
|
|
145
|
+
const obj_source_organization_id = obj.source_organization_id;
|
|
146
|
+
const path_source_organization_id = path + '.source_organization_id';
|
|
147
|
+
if (typeof obj_source_organization_id !== 'string') {
|
|
148
|
+
return new TypeError('Expected "string" but received "' + typeof obj_source_organization_id + '" (at "' + path_source_organization_id + '")');
|
|
149
|
+
}
|
|
145
150
|
const obj_status = obj.status;
|
|
146
151
|
const path_status = path + '.status';
|
|
147
152
|
if (typeof obj_status !== 'string') {
|
|
@@ -152,13 +157,18 @@ function validate$f(obj, path = 'DataSeedRequestObjectRepresentation') {
|
|
|
152
157
|
if (typeof obj_step !== 'string') {
|
|
153
158
|
return new TypeError('Expected "string" but received "' + typeof obj_step + '" (at "' + path_step + '")');
|
|
154
159
|
}
|
|
160
|
+
const obj_target_organization_id = obj.target_organization_id;
|
|
161
|
+
const path_target_organization_id = path + '.target_organization_id';
|
|
162
|
+
if (typeof obj_target_organization_id !== 'string') {
|
|
163
|
+
return new TypeError('Expected "string" but received "' + typeof obj_target_organization_id + '" (at "' + path_target_organization_id + '")');
|
|
164
|
+
}
|
|
155
165
|
})();
|
|
156
166
|
return v_error === undefined ? null : v_error;
|
|
157
167
|
}
|
|
158
|
-
const select$
|
|
168
|
+
const select$r = function DataSeedRequestObjectRepresentationSelect() {
|
|
159
169
|
return {
|
|
160
170
|
kind: 'Fragment',
|
|
161
|
-
version: VERSION$
|
|
171
|
+
version: VERSION$g,
|
|
162
172
|
private: [],
|
|
163
173
|
selections: [
|
|
164
174
|
{
|
|
@@ -197,6 +207,10 @@ const select$q = function DataSeedRequestObjectRepresentationSelect() {
|
|
|
197
207
|
name: 'request_id',
|
|
198
208
|
kind: 'Scalar'
|
|
199
209
|
},
|
|
210
|
+
{
|
|
211
|
+
name: 'source_organization_id',
|
|
212
|
+
kind: 'Scalar'
|
|
213
|
+
},
|
|
200
214
|
{
|
|
201
215
|
name: 'status',
|
|
202
216
|
kind: 'Scalar'
|
|
@@ -204,11 +218,15 @@ const select$q = function DataSeedRequestObjectRepresentationSelect() {
|
|
|
204
218
|
{
|
|
205
219
|
name: 'step',
|
|
206
220
|
kind: 'Scalar'
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
name: 'target_organization_id',
|
|
224
|
+
kind: 'Scalar'
|
|
207
225
|
}
|
|
208
226
|
]
|
|
209
227
|
};
|
|
210
228
|
};
|
|
211
|
-
function equals$
|
|
229
|
+
function equals$g(existing, incoming) {
|
|
212
230
|
const existing_created_by = existing.created_by;
|
|
213
231
|
const incoming_created_by = incoming.created_by;
|
|
214
232
|
if (!(existing_created_by === incoming_created_by)) {
|
|
@@ -254,6 +272,11 @@ function equals$f(existing, incoming) {
|
|
|
254
272
|
if (!(existing_request_id === incoming_request_id)) {
|
|
255
273
|
return false;
|
|
256
274
|
}
|
|
275
|
+
const existing_source_organization_id = existing.source_organization_id;
|
|
276
|
+
const incoming_source_organization_id = incoming.source_organization_id;
|
|
277
|
+
if (!(existing_source_organization_id === incoming_source_organization_id)) {
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
257
280
|
const existing_status = existing.status;
|
|
258
281
|
const incoming_status = incoming.status;
|
|
259
282
|
if (!(existing_status === incoming_status)) {
|
|
@@ -264,11 +287,16 @@ function equals$f(existing, incoming) {
|
|
|
264
287
|
if (!(existing_step === incoming_step)) {
|
|
265
288
|
return false;
|
|
266
289
|
}
|
|
290
|
+
const existing_target_organization_id = existing.target_organization_id;
|
|
291
|
+
const incoming_target_organization_id = incoming.target_organization_id;
|
|
292
|
+
if (!(existing_target_organization_id === incoming_target_organization_id)) {
|
|
293
|
+
return false;
|
|
294
|
+
}
|
|
267
295
|
return true;
|
|
268
296
|
}
|
|
269
297
|
|
|
270
|
-
const VERSION$
|
|
271
|
-
function validate$
|
|
298
|
+
const VERSION$f = "732685344ea5e037b5b3da3c38ad04eb";
|
|
299
|
+
function validate$f(obj, path = 'DataSeedStatusOutputRepresentation') {
|
|
272
300
|
const v_error = (() => {
|
|
273
301
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
274
302
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -286,7 +314,7 @@ function validate$e(obj, path = 'DataSeedStatusOutputRepresentation') {
|
|
|
286
314
|
for (let i = 0; i < obj_data.length; i++) {
|
|
287
315
|
const obj_data_item = obj_data[i];
|
|
288
316
|
const path_data_item = path_data + '[' + i + ']';
|
|
289
|
-
const referencepath_data_itemValidationError = validate$
|
|
317
|
+
const referencepath_data_itemValidationError = validate$g(obj_data_item, path_data_item);
|
|
290
318
|
if (referencepath_data_itemValidationError !== null) {
|
|
291
319
|
let message = 'Object doesn\'t match DataSeedRequestObjectRepresentation (at "' + path_data_item + '")\n';
|
|
292
320
|
message += referencepath_data_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -300,11 +328,11 @@ const RepresentationType$8 = 'DataSeedStatusOutputRepresentation';
|
|
|
300
328
|
function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
301
329
|
return input;
|
|
302
330
|
}
|
|
303
|
-
const select$
|
|
304
|
-
const { selections: DataSeedRequestObjectRepresentation__selections, opaque: DataSeedRequestObjectRepresentation__opaque, } = select$
|
|
331
|
+
const select$q = function DataSeedStatusOutputRepresentationSelect() {
|
|
332
|
+
const { selections: DataSeedRequestObjectRepresentation__selections, opaque: DataSeedRequestObjectRepresentation__opaque, } = select$r();
|
|
305
333
|
return {
|
|
306
334
|
kind: 'Fragment',
|
|
307
|
-
version: VERSION$
|
|
335
|
+
version: VERSION$f,
|
|
308
336
|
private: [],
|
|
309
337
|
selections: [
|
|
310
338
|
{
|
|
@@ -320,7 +348,7 @@ const select$p = function DataSeedStatusOutputRepresentationSelect() {
|
|
|
320
348
|
]
|
|
321
349
|
};
|
|
322
350
|
};
|
|
323
|
-
function equals$
|
|
351
|
+
function equals$f(existing, incoming) {
|
|
324
352
|
const existing_correlation_id = existing.correlation_id;
|
|
325
353
|
const incoming_correlation_id = incoming.correlation_id;
|
|
326
354
|
if (!(existing_correlation_id === incoming_correlation_id)) {
|
|
@@ -329,7 +357,7 @@ function equals$e(existing, incoming) {
|
|
|
329
357
|
const existing_data = existing.data;
|
|
330
358
|
const incoming_data = incoming.data;
|
|
331
359
|
const equals_data_items = equalsArray(existing_data, incoming_data, (existing_data_item, incoming_data_item) => {
|
|
332
|
-
if (!(equals$
|
|
360
|
+
if (!(equals$g(existing_data_item, incoming_data_item))) {
|
|
333
361
|
return false;
|
|
334
362
|
}
|
|
335
363
|
});
|
|
@@ -340,14 +368,14 @@ function equals$e(existing, incoming) {
|
|
|
340
368
|
}
|
|
341
369
|
const ingest$8 = function DataSeedStatusOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
342
370
|
if (process.env.NODE_ENV !== 'production') {
|
|
343
|
-
const validateError = validate$
|
|
371
|
+
const validateError = validate$f(input);
|
|
344
372
|
if (validateError !== null) {
|
|
345
373
|
throw validateError;
|
|
346
374
|
}
|
|
347
375
|
}
|
|
348
376
|
const key = path.fullPath;
|
|
349
377
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 30000;
|
|
350
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "data-seed", VERSION$
|
|
378
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "data-seed", VERSION$f, RepresentationType$8, equals$f);
|
|
351
379
|
return createLink(key);
|
|
352
380
|
};
|
|
353
381
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -360,8 +388,8 @@ function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
360
388
|
});
|
|
361
389
|
}
|
|
362
390
|
|
|
363
|
-
function select$
|
|
364
|
-
return select$
|
|
391
|
+
function select$p(luvio, params) {
|
|
392
|
+
return select$q();
|
|
365
393
|
}
|
|
366
394
|
function keyBuilder$9(luvio, params) {
|
|
367
395
|
return keyPrefix + '::DataSeedStatusOutputRepresentation:(' + 'xClientTraceId:' + params.headers.xClientTraceId + ',' + 'xSalesforceRegion:' + params.headers.xSalesforceRegion + ',' + 'orgUrl:' + params.headers.orgUrl + ',' + 'accessToken:' + params.headers.accessToken + ')';
|
|
@@ -375,7 +403,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
375
403
|
luvio.storeIngest(key, ingest$8, body);
|
|
376
404
|
const snapshot = luvio.storeLookup({
|
|
377
405
|
recordId: key,
|
|
378
|
-
node: select$
|
|
406
|
+
node: select$p(),
|
|
379
407
|
variables: {},
|
|
380
408
|
}, snapshotRefresh);
|
|
381
409
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -443,7 +471,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
|
443
471
|
}
|
|
444
472
|
function adapterFragment(luvio, config) {
|
|
445
473
|
createResourceParams$a(config);
|
|
446
|
-
return select$
|
|
474
|
+
return select$p();
|
|
447
475
|
}
|
|
448
476
|
function onFetchResponseSuccess(luvio, config, resourceParams, response) {
|
|
449
477
|
const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
|
|
@@ -500,8 +528,8 @@ const getDataSeedStatusAdapterFactory = (luvio) => function dataSeed__getDataSee
|
|
|
500
528
|
};
|
|
501
529
|
|
|
502
530
|
const TTL$7 = 200;
|
|
503
|
-
const VERSION$
|
|
504
|
-
function validate$
|
|
531
|
+
const VERSION$e = "7fb1a6b558a60e18929e558f8d902ab3";
|
|
532
|
+
function validate$e(obj, path = 'DataSeedRequestStatusOutputRepresentation') {
|
|
505
533
|
const v_error = (() => {
|
|
506
534
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
507
535
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -513,7 +541,7 @@ function validate$d(obj, path = 'DataSeedRequestStatusOutputRepresentation') {
|
|
|
513
541
|
}
|
|
514
542
|
const obj_data = obj.data;
|
|
515
543
|
const path_data = path + '.data';
|
|
516
|
-
const referencepath_dataValidationError = validate$
|
|
544
|
+
const referencepath_dataValidationError = validate$g(obj_data, path_data);
|
|
517
545
|
if (referencepath_dataValidationError !== null) {
|
|
518
546
|
let message = 'Object doesn\'t match DataSeedRequestObjectRepresentation (at "' + path_data + '")\n';
|
|
519
547
|
message += referencepath_dataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -535,11 +563,11 @@ function keyBuilderFromType$7(luvio, object) {
|
|
|
535
563
|
function normalize$7(input, existing, path, luvio, store, timestamp) {
|
|
536
564
|
return input;
|
|
537
565
|
}
|
|
538
|
-
const select$
|
|
539
|
-
const { selections: DataSeedRequestObjectRepresentation__selections, opaque: DataSeedRequestObjectRepresentation__opaque, } = select$
|
|
566
|
+
const select$o = function DataSeedRequestStatusOutputRepresentationSelect() {
|
|
567
|
+
const { selections: DataSeedRequestObjectRepresentation__selections, opaque: DataSeedRequestObjectRepresentation__opaque, } = select$r();
|
|
540
568
|
return {
|
|
541
569
|
kind: 'Fragment',
|
|
542
|
-
version: VERSION$
|
|
570
|
+
version: VERSION$e,
|
|
543
571
|
private: [],
|
|
544
572
|
selections: [
|
|
545
573
|
{
|
|
@@ -554,7 +582,7 @@ const select$n = function DataSeedRequestStatusOutputRepresentationSelect() {
|
|
|
554
582
|
]
|
|
555
583
|
};
|
|
556
584
|
};
|
|
557
|
-
function equals$
|
|
585
|
+
function equals$e(existing, incoming) {
|
|
558
586
|
const existing_correlation_id = existing.correlation_id;
|
|
559
587
|
const incoming_correlation_id = incoming.correlation_id;
|
|
560
588
|
if (!(existing_correlation_id === incoming_correlation_id)) {
|
|
@@ -562,21 +590,21 @@ function equals$d(existing, incoming) {
|
|
|
562
590
|
}
|
|
563
591
|
const existing_data = existing.data;
|
|
564
592
|
const incoming_data = incoming.data;
|
|
565
|
-
if (!(equals$
|
|
593
|
+
if (!(equals$g(existing_data, incoming_data))) {
|
|
566
594
|
return false;
|
|
567
595
|
}
|
|
568
596
|
return true;
|
|
569
597
|
}
|
|
570
598
|
const ingest$7 = function DataSeedRequestStatusOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
571
599
|
if (process.env.NODE_ENV !== 'production') {
|
|
572
|
-
const validateError = validate$
|
|
600
|
+
const validateError = validate$e(input);
|
|
573
601
|
if (validateError !== null) {
|
|
574
602
|
throw validateError;
|
|
575
603
|
}
|
|
576
604
|
}
|
|
577
605
|
const key = keyBuilderFromType$7(luvio, input);
|
|
578
606
|
const ttlToUse = TTL$7;
|
|
579
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "data-seed", VERSION$
|
|
607
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "data-seed", VERSION$e, RepresentationType$7, equals$e);
|
|
580
608
|
return createLink(key);
|
|
581
609
|
};
|
|
582
610
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -589,8 +617,8 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
589
617
|
});
|
|
590
618
|
}
|
|
591
619
|
|
|
592
|
-
function select$
|
|
593
|
-
return select$
|
|
620
|
+
function select$n(luvio, params) {
|
|
621
|
+
return select$o();
|
|
594
622
|
}
|
|
595
623
|
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
596
624
|
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
@@ -601,7 +629,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
|
|
|
601
629
|
luvio.storeIngest(key, ingest$7, body);
|
|
602
630
|
const snapshot = luvio.storeLookup({
|
|
603
631
|
recordId: key,
|
|
604
|
-
node: select$
|
|
632
|
+
node: select$n(),
|
|
605
633
|
variables: {},
|
|
606
634
|
});
|
|
607
635
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -688,8 +716,8 @@ const getDataSeedRequestStatusAdapterFactory = (luvio) => {
|
|
|
688
716
|
};
|
|
689
717
|
|
|
690
718
|
const TTL$6 = 300000;
|
|
691
|
-
const VERSION$
|
|
692
|
-
function validate$
|
|
719
|
+
const VERSION$d = "578e9dba5d8078135d4027313a51d7dc";
|
|
720
|
+
function validate$d(obj, path = 'PreSignedUrlResultRepresentation') {
|
|
693
721
|
const v_error = (() => {
|
|
694
722
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
695
723
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -720,10 +748,10 @@ function keyBuilderFromType$6(luvio, object) {
|
|
|
720
748
|
function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
721
749
|
return input;
|
|
722
750
|
}
|
|
723
|
-
const select$
|
|
751
|
+
const select$m = function PreSignedUrlResultRepresentationSelect() {
|
|
724
752
|
return {
|
|
725
753
|
kind: 'Fragment',
|
|
726
|
-
version: VERSION$
|
|
754
|
+
version: VERSION$d,
|
|
727
755
|
private: [],
|
|
728
756
|
selections: [
|
|
729
757
|
{
|
|
@@ -737,7 +765,7 @@ const select$l = function PreSignedUrlResultRepresentationSelect() {
|
|
|
737
765
|
]
|
|
738
766
|
};
|
|
739
767
|
};
|
|
740
|
-
function equals$
|
|
768
|
+
function equals$d(existing, incoming) {
|
|
741
769
|
const existing_s3_unique_id = existing.s3_unique_id;
|
|
742
770
|
const incoming_s3_unique_id = incoming.s3_unique_id;
|
|
743
771
|
if (!(existing_s3_unique_id === incoming_s3_unique_id)) {
|
|
@@ -752,14 +780,14 @@ function equals$c(existing, incoming) {
|
|
|
752
780
|
}
|
|
753
781
|
const ingest$6 = function PreSignedUrlResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
754
782
|
if (process.env.NODE_ENV !== 'production') {
|
|
755
|
-
const validateError = validate$
|
|
783
|
+
const validateError = validate$d(input);
|
|
756
784
|
if (validateError !== null) {
|
|
757
785
|
throw validateError;
|
|
758
786
|
}
|
|
759
787
|
}
|
|
760
788
|
const key = keyBuilderFromType$6(luvio, input);
|
|
761
789
|
const ttlToUse = TTL$6;
|
|
762
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-seed", VERSION$
|
|
790
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "data-seed", VERSION$d, RepresentationType$6, equals$d);
|
|
763
791
|
return createLink(key);
|
|
764
792
|
};
|
|
765
793
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -772,8 +800,8 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
772
800
|
});
|
|
773
801
|
}
|
|
774
802
|
|
|
775
|
-
function select$
|
|
776
|
-
return select$
|
|
803
|
+
function select$l(luvio, params) {
|
|
804
|
+
return select$m();
|
|
777
805
|
}
|
|
778
806
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
779
807
|
getTypeCacheKeys$6(storeKeyMap, luvio, response);
|
|
@@ -784,7 +812,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
|
|
|
784
812
|
luvio.storeIngest(key, ingest$6, body);
|
|
785
813
|
const snapshot = luvio.storeLookup({
|
|
786
814
|
recordId: key,
|
|
787
|
-
node: select$
|
|
815
|
+
node: select$l(),
|
|
788
816
|
variables: {},
|
|
789
817
|
});
|
|
790
818
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -871,8 +899,8 @@ const getUploadPreSignedUrlAdapterFactory = (luvio) => {
|
|
|
871
899
|
};
|
|
872
900
|
|
|
873
901
|
const TTL$5 = 200;
|
|
874
|
-
const VERSION$
|
|
875
|
-
function validate$
|
|
902
|
+
const VERSION$c = "fb30035fb4e1163f7b85f84bc6799870";
|
|
903
|
+
function validate$c(obj, path = 'PreSignedDownloadUrlResultRepresentation') {
|
|
876
904
|
const v_error = (() => {
|
|
877
905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
878
906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -903,10 +931,10 @@ function keyBuilderFromType$5(luvio, object) {
|
|
|
903
931
|
function normalize$5(input, existing, path, luvio, store, timestamp) {
|
|
904
932
|
return input;
|
|
905
933
|
}
|
|
906
|
-
const select$
|
|
934
|
+
const select$k = function PreSignedDownloadUrlResultRepresentationSelect() {
|
|
907
935
|
return {
|
|
908
936
|
kind: 'Fragment',
|
|
909
|
-
version: VERSION$
|
|
937
|
+
version: VERSION$c,
|
|
910
938
|
private: [],
|
|
911
939
|
selections: [
|
|
912
940
|
{
|
|
@@ -920,7 +948,7 @@ const select$j = function PreSignedDownloadUrlResultRepresentationSelect() {
|
|
|
920
948
|
]
|
|
921
949
|
};
|
|
922
950
|
};
|
|
923
|
-
function equals$
|
|
951
|
+
function equals$c(existing, incoming) {
|
|
924
952
|
const existing_correlation_id = existing.correlation_id;
|
|
925
953
|
const incoming_correlation_id = incoming.correlation_id;
|
|
926
954
|
if (!(existing_correlation_id === incoming_correlation_id)) {
|
|
@@ -935,14 +963,14 @@ function equals$b(existing, incoming) {
|
|
|
935
963
|
}
|
|
936
964
|
const ingest$5 = function PreSignedDownloadUrlResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
937
965
|
if (process.env.NODE_ENV !== 'production') {
|
|
938
|
-
const validateError = validate$
|
|
966
|
+
const validateError = validate$c(input);
|
|
939
967
|
if (validateError !== null) {
|
|
940
968
|
throw validateError;
|
|
941
969
|
}
|
|
942
970
|
}
|
|
943
971
|
const key = keyBuilderFromType$5(luvio, input);
|
|
944
972
|
const ttlToUse = TTL$5;
|
|
945
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-seed", VERSION$
|
|
973
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "data-seed", VERSION$c, RepresentationType$5, equals$c);
|
|
946
974
|
return createLink(key);
|
|
947
975
|
};
|
|
948
976
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -955,8 +983,8 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
955
983
|
});
|
|
956
984
|
}
|
|
957
985
|
|
|
958
|
-
function select$
|
|
959
|
-
return select$
|
|
986
|
+
function select$j(luvio, params) {
|
|
987
|
+
return select$k();
|
|
960
988
|
}
|
|
961
989
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
962
990
|
getTypeCacheKeys$5(storeKeyMap, luvio, response);
|
|
@@ -967,7 +995,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
967
995
|
luvio.storeIngest(key, ingest$5, body);
|
|
968
996
|
const snapshot = luvio.storeLookup({
|
|
969
997
|
recordId: key,
|
|
970
|
-
node: select$
|
|
998
|
+
node: select$j(),
|
|
971
999
|
variables: {},
|
|
972
1000
|
});
|
|
973
1001
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1054,8 +1082,8 @@ const getDownloadPreSignedUrlAdapterFactory = (luvio) => {
|
|
|
1054
1082
|
};
|
|
1055
1083
|
};
|
|
1056
1084
|
|
|
1057
|
-
const VERSION$
|
|
1058
|
-
function validate$
|
|
1085
|
+
const VERSION$b = "d05acb56ab5bac9800fbedd0ee17a85b";
|
|
1086
|
+
function validate$b(obj, path = 'EntityResponseObject') {
|
|
1059
1087
|
const v_error = (() => {
|
|
1060
1088
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1061
1089
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1078,10 +1106,10 @@ function validate$a(obj, path = 'EntityResponseObject') {
|
|
|
1078
1106
|
})();
|
|
1079
1107
|
return v_error === undefined ? null : v_error;
|
|
1080
1108
|
}
|
|
1081
|
-
const select$
|
|
1109
|
+
const select$i = function EntityResponseObjectSelect() {
|
|
1082
1110
|
return {
|
|
1083
1111
|
kind: 'Fragment',
|
|
1084
|
-
version: VERSION$
|
|
1112
|
+
version: VERSION$b,
|
|
1085
1113
|
private: [],
|
|
1086
1114
|
selections: [
|
|
1087
1115
|
{
|
|
@@ -1099,7 +1127,7 @@ const select$h = function EntityResponseObjectSelect() {
|
|
|
1099
1127
|
]
|
|
1100
1128
|
};
|
|
1101
1129
|
};
|
|
1102
|
-
function equals$
|
|
1130
|
+
function equals$b(existing, incoming) {
|
|
1103
1131
|
const existing_objectAPIName = existing.objectAPIName;
|
|
1104
1132
|
const incoming_objectAPIName = incoming.objectAPIName;
|
|
1105
1133
|
if (!(existing_objectAPIName === incoming_objectAPIName)) {
|
|
@@ -1119,8 +1147,8 @@ function equals$a(existing, incoming) {
|
|
|
1119
1147
|
}
|
|
1120
1148
|
|
|
1121
1149
|
const TTL$4 = 1000;
|
|
1122
|
-
const VERSION$
|
|
1123
|
-
function validate$
|
|
1150
|
+
const VERSION$a = "d6223d7170b81572755f7276496527ee";
|
|
1151
|
+
function validate$a(obj, path = 'EntitiesOutputRepresentation') {
|
|
1124
1152
|
const v_error = (() => {
|
|
1125
1153
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1126
1154
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1138,7 +1166,7 @@ function validate$9(obj, path = 'EntitiesOutputRepresentation') {
|
|
|
1138
1166
|
for (let i = 0; i < obj_entities.length; i++) {
|
|
1139
1167
|
const obj_entities_item = obj_entities[i];
|
|
1140
1168
|
const path_entities_item = path_entities + '[' + i + ']';
|
|
1141
|
-
const referencepath_entities_itemValidationError = validate$
|
|
1169
|
+
const referencepath_entities_itemValidationError = validate$b(obj_entities_item, path_entities_item);
|
|
1142
1170
|
if (referencepath_entities_itemValidationError !== null) {
|
|
1143
1171
|
let message = 'Object doesn\'t match EntityResponseObject (at "' + path_entities_item + '")\n';
|
|
1144
1172
|
message += referencepath_entities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1161,11 +1189,11 @@ function keyBuilderFromType$4(luvio, object) {
|
|
|
1161
1189
|
function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
1162
1190
|
return input;
|
|
1163
1191
|
}
|
|
1164
|
-
const select$
|
|
1165
|
-
const { selections: EntityResponseObject__selections, opaque: EntityResponseObject__opaque, } = select$
|
|
1192
|
+
const select$h = function EntitiesOutputRepresentationSelect() {
|
|
1193
|
+
const { selections: EntityResponseObject__selections, opaque: EntityResponseObject__opaque, } = select$i();
|
|
1166
1194
|
return {
|
|
1167
1195
|
kind: 'Fragment',
|
|
1168
|
-
version: VERSION$
|
|
1196
|
+
version: VERSION$a,
|
|
1169
1197
|
private: [],
|
|
1170
1198
|
selections: [
|
|
1171
1199
|
{
|
|
@@ -1181,7 +1209,7 @@ const select$g = function EntitiesOutputRepresentationSelect() {
|
|
|
1181
1209
|
]
|
|
1182
1210
|
};
|
|
1183
1211
|
};
|
|
1184
|
-
function equals$
|
|
1212
|
+
function equals$a(existing, incoming) {
|
|
1185
1213
|
const existing_correlation_id = existing.correlation_id;
|
|
1186
1214
|
const incoming_correlation_id = incoming.correlation_id;
|
|
1187
1215
|
if (!(existing_correlation_id === incoming_correlation_id)) {
|
|
@@ -1190,7 +1218,7 @@ function equals$9(existing, incoming) {
|
|
|
1190
1218
|
const existing_entities = existing.entities;
|
|
1191
1219
|
const incoming_entities = incoming.entities;
|
|
1192
1220
|
const equals_entities_items = equalsArray(existing_entities, incoming_entities, (existing_entities_item, incoming_entities_item) => {
|
|
1193
|
-
if (!(equals$
|
|
1221
|
+
if (!(equals$b(existing_entities_item, incoming_entities_item))) {
|
|
1194
1222
|
return false;
|
|
1195
1223
|
}
|
|
1196
1224
|
});
|
|
@@ -1201,14 +1229,14 @@ function equals$9(existing, incoming) {
|
|
|
1201
1229
|
}
|
|
1202
1230
|
const ingest$4 = function EntitiesOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1203
1231
|
if (process.env.NODE_ENV !== 'production') {
|
|
1204
|
-
const validateError = validate$
|
|
1232
|
+
const validateError = validate$a(input);
|
|
1205
1233
|
if (validateError !== null) {
|
|
1206
1234
|
throw validateError;
|
|
1207
1235
|
}
|
|
1208
1236
|
}
|
|
1209
1237
|
const key = keyBuilderFromType$4(luvio, input);
|
|
1210
1238
|
const ttlToUse = TTL$4;
|
|
1211
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-seed", VERSION$
|
|
1239
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "data-seed", VERSION$a, RepresentationType$4, equals$a);
|
|
1212
1240
|
return createLink(key);
|
|
1213
1241
|
};
|
|
1214
1242
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1221,8 +1249,8 @@ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1221
1249
|
});
|
|
1222
1250
|
}
|
|
1223
1251
|
|
|
1224
|
-
function select$
|
|
1225
|
-
return select$
|
|
1252
|
+
function select$g(luvio, params) {
|
|
1253
|
+
return select$h();
|
|
1226
1254
|
}
|
|
1227
1255
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
1228
1256
|
getTypeCacheKeys$4(storeKeyMap, luvio, response);
|
|
@@ -1233,7 +1261,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
|
|
|
1233
1261
|
luvio.storeIngest(key, ingest$4, body);
|
|
1234
1262
|
const snapshot = luvio.storeLookup({
|
|
1235
1263
|
recordId: key,
|
|
1236
|
-
node: select$
|
|
1264
|
+
node: select$g(),
|
|
1237
1265
|
variables: {},
|
|
1238
1266
|
});
|
|
1239
1267
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1321,8 +1349,8 @@ const getOrgEntitiesAdapterFactory = (luvio) => {
|
|
|
1321
1349
|
};
|
|
1322
1350
|
|
|
1323
1351
|
const TTL$3 = 200;
|
|
1324
|
-
const VERSION$
|
|
1325
|
-
function validate$
|
|
1352
|
+
const VERSION$9 = "c30968fc6807765eaa0ac390bf21f4b6";
|
|
1353
|
+
function validate$9(obj, path = 'MigrateDataOutputRepresentation') {
|
|
1326
1354
|
const v_error = (() => {
|
|
1327
1355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1328
1356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1358,10 +1386,10 @@ function keyBuilderFromType$3(luvio, object) {
|
|
|
1358
1386
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
1359
1387
|
return input;
|
|
1360
1388
|
}
|
|
1361
|
-
const select$
|
|
1389
|
+
const select$f = function MigrateDataOutputRepresentationSelect() {
|
|
1362
1390
|
return {
|
|
1363
1391
|
kind: 'Fragment',
|
|
1364
|
-
version: VERSION$
|
|
1392
|
+
version: VERSION$9,
|
|
1365
1393
|
private: [],
|
|
1366
1394
|
selections: [
|
|
1367
1395
|
{
|
|
@@ -1379,7 +1407,7 @@ const select$e = function MigrateDataOutputRepresentationSelect() {
|
|
|
1379
1407
|
]
|
|
1380
1408
|
};
|
|
1381
1409
|
};
|
|
1382
|
-
function equals$
|
|
1410
|
+
function equals$9(existing, incoming) {
|
|
1383
1411
|
const existing_correlation_id = existing.correlation_id;
|
|
1384
1412
|
const incoming_correlation_id = incoming.correlation_id;
|
|
1385
1413
|
if (!(existing_correlation_id === incoming_correlation_id)) {
|
|
@@ -1399,14 +1427,14 @@ function equals$8(existing, incoming) {
|
|
|
1399
1427
|
}
|
|
1400
1428
|
const ingest$3 = function MigrateDataOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1401
1429
|
if (process.env.NODE_ENV !== 'production') {
|
|
1402
|
-
const validateError = validate$
|
|
1430
|
+
const validateError = validate$9(input);
|
|
1403
1431
|
if (validateError !== null) {
|
|
1404
1432
|
throw validateError;
|
|
1405
1433
|
}
|
|
1406
1434
|
}
|
|
1407
1435
|
const key = keyBuilderFromType$3(luvio, input);
|
|
1408
1436
|
const ttlToUse = TTL$3;
|
|
1409
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "data-seed", VERSION$
|
|
1437
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "data-seed", VERSION$9, RepresentationType$3, equals$9);
|
|
1410
1438
|
return createLink(key);
|
|
1411
1439
|
};
|
|
1412
1440
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1419,8 +1447,8 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1419
1447
|
});
|
|
1420
1448
|
}
|
|
1421
1449
|
|
|
1422
|
-
function select$
|
|
1423
|
-
return select$
|
|
1450
|
+
function select$e(luvio, params) {
|
|
1451
|
+
return select$f();
|
|
1424
1452
|
}
|
|
1425
1453
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
1426
1454
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
@@ -1431,7 +1459,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
1431
1459
|
luvio.storeIngest(key, ingest$3, body);
|
|
1432
1460
|
const snapshot = luvio.storeLookup({
|
|
1433
1461
|
recordId: key,
|
|
1434
|
-
node: select$
|
|
1462
|
+
node: select$e(),
|
|
1435
1463
|
variables: {},
|
|
1436
1464
|
});
|
|
1437
1465
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1524,8 +1552,8 @@ const migrateDataAdapterFactory = (luvio) => {
|
|
|
1524
1552
|
};
|
|
1525
1553
|
};
|
|
1526
1554
|
|
|
1527
|
-
function select$
|
|
1528
|
-
return select$
|
|
1555
|
+
function select$d(luvio, params) {
|
|
1556
|
+
return select$f();
|
|
1529
1557
|
}
|
|
1530
1558
|
function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
1531
1559
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
@@ -1536,7 +1564,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
1536
1564
|
luvio.storeIngest(key, ingest$3, body);
|
|
1537
1565
|
const snapshot = luvio.storeLookup({
|
|
1538
1566
|
recordId: key,
|
|
1539
|
-
node: select$
|
|
1567
|
+
node: select$d(),
|
|
1540
1568
|
variables: {},
|
|
1541
1569
|
});
|
|
1542
1570
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1570,6 +1598,7 @@ const loadDataToTargetOrg_ConfigPropertyMetadata = [
|
|
|
1570
1598
|
generateParamConfigMetadata('dataseed_request_id', true, 0 /* UrlParameter */, 0 /* String */),
|
|
1571
1599
|
generateParamConfigMetadata('target_instance_url', true, 2 /* Body */, 0 /* String */),
|
|
1572
1600
|
generateParamConfigMetadata('target_access_token', true, 2 /* Body */, 0 /* String */),
|
|
1601
|
+
generateParamConfigMetadata('operation_type', false, 2 /* Body */, 0 /* String */),
|
|
1573
1602
|
generateParamConfigMetadata('xClientTraceId', true, 3 /* Header */, 0 /* String */),
|
|
1574
1603
|
generateParamConfigMetadata('xSalesforceRegion', true, 3 /* Header */, 0 /* String */),
|
|
1575
1604
|
generateParamConfigMetadata('orgUrl', true, 3 /* Header */, 0 /* String */),
|
|
@@ -1625,8 +1654,8 @@ const loadDataToTargetOrgAdapterFactory = (luvio) => {
|
|
|
1625
1654
|
};
|
|
1626
1655
|
|
|
1627
1656
|
const TTL$2 = 200;
|
|
1628
|
-
const VERSION$
|
|
1629
|
-
function validate$
|
|
1657
|
+
const VERSION$8 = "6dd0d28fef32df67c362e907a7004fd4";
|
|
1658
|
+
function validate$8(obj, path = 'AuthCallbackStatusRepresentation') {
|
|
1630
1659
|
const v_error = (() => {
|
|
1631
1660
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1632
1661
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1677,10 +1706,10 @@ function keyBuilderFromType$2(luvio, object) {
|
|
|
1677
1706
|
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
1678
1707
|
return input;
|
|
1679
1708
|
}
|
|
1680
|
-
const select$
|
|
1709
|
+
const select$c = function AuthCallbackStatusRepresentationSelect() {
|
|
1681
1710
|
return {
|
|
1682
1711
|
kind: 'Fragment',
|
|
1683
|
-
version: VERSION$
|
|
1712
|
+
version: VERSION$8,
|
|
1684
1713
|
private: [],
|
|
1685
1714
|
selections: [
|
|
1686
1715
|
{
|
|
@@ -1710,7 +1739,7 @@ const select$b = function AuthCallbackStatusRepresentationSelect() {
|
|
|
1710
1739
|
]
|
|
1711
1740
|
};
|
|
1712
1741
|
};
|
|
1713
|
-
function equals$
|
|
1742
|
+
function equals$8(existing, incoming) {
|
|
1714
1743
|
const existing_access_token = existing.access_token;
|
|
1715
1744
|
const incoming_access_token = incoming.access_token;
|
|
1716
1745
|
if (!(existing_access_token === incoming_access_token)) {
|
|
@@ -1745,14 +1774,14 @@ function equals$7(existing, incoming) {
|
|
|
1745
1774
|
}
|
|
1746
1775
|
const ingest$2 = function AuthCallbackStatusRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1747
1776
|
if (process.env.NODE_ENV !== 'production') {
|
|
1748
|
-
const validateError = validate$
|
|
1777
|
+
const validateError = validate$8(input);
|
|
1749
1778
|
if (validateError !== null) {
|
|
1750
1779
|
throw validateError;
|
|
1751
1780
|
}
|
|
1752
1781
|
}
|
|
1753
1782
|
const key = keyBuilderFromType$2(luvio, input);
|
|
1754
1783
|
const ttlToUse = TTL$2;
|
|
1755
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "data-seed", VERSION$
|
|
1784
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "data-seed", VERSION$8, RepresentationType$2, equals$8);
|
|
1756
1785
|
return createLink(key);
|
|
1757
1786
|
};
|
|
1758
1787
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1765,8 +1794,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1765
1794
|
});
|
|
1766
1795
|
}
|
|
1767
1796
|
|
|
1768
|
-
function select$
|
|
1769
|
-
return select$
|
|
1797
|
+
function select$b(luvio, params) {
|
|
1798
|
+
return select$c();
|
|
1770
1799
|
}
|
|
1771
1800
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
1772
1801
|
getTypeCacheKeys$2(storeKeyMap, luvio, response);
|
|
@@ -1777,7 +1806,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
1777
1806
|
luvio.storeIngest(key, ingest$2, body);
|
|
1778
1807
|
const snapshot = luvio.storeLookup({
|
|
1779
1808
|
recordId: key,
|
|
1780
|
-
node: select$
|
|
1809
|
+
node: select$b(),
|
|
1781
1810
|
variables: {},
|
|
1782
1811
|
});
|
|
1783
1812
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1863,6 +1892,128 @@ const getAuthCallbackStatusAdapterFactory = (luvio) => {
|
|
|
1863
1892
|
};
|
|
1864
1893
|
};
|
|
1865
1894
|
|
|
1895
|
+
const VERSION$7 = "6c7162c1ac0af13e0958aba84495c152";
|
|
1896
|
+
function validate$7(obj, path = 'EntityDetailsChildResponseObject') {
|
|
1897
|
+
const v_error = (() => {
|
|
1898
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1899
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1900
|
+
}
|
|
1901
|
+
if (obj.childObjectLabel !== undefined) {
|
|
1902
|
+
const obj_childObjectLabel = obj.childObjectLabel;
|
|
1903
|
+
const path_childObjectLabel = path + '.childObjectLabel';
|
|
1904
|
+
if (typeof obj_childObjectLabel !== 'string') {
|
|
1905
|
+
return new TypeError('Expected "string" but received "' + typeof obj_childObjectLabel + '" (at "' + path_childObjectLabel + '")');
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
if (obj.childObjectName !== undefined) {
|
|
1909
|
+
const obj_childObjectName = obj.childObjectName;
|
|
1910
|
+
const path_childObjectName = path + '.childObjectName';
|
|
1911
|
+
if (typeof obj_childObjectName !== 'string') {
|
|
1912
|
+
return new TypeError('Expected "string" but received "' + typeof obj_childObjectName + '" (at "' + path_childObjectName + '")');
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
if (obj.childObjectRelationshipField !== undefined) {
|
|
1916
|
+
const obj_childObjectRelationshipField = obj.childObjectRelationshipField;
|
|
1917
|
+
const path_childObjectRelationshipField = path + '.childObjectRelationshipField';
|
|
1918
|
+
if (typeof obj_childObjectRelationshipField !== 'string') {
|
|
1919
|
+
return new TypeError('Expected "string" but received "' + typeof obj_childObjectRelationshipField + '" (at "' + path_childObjectRelationshipField + '")');
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
if (obj.childObjectType !== undefined) {
|
|
1923
|
+
const obj_childObjectType = obj.childObjectType;
|
|
1924
|
+
const path_childObjectType = path + '.childObjectType';
|
|
1925
|
+
if (typeof obj_childObjectType !== 'string') {
|
|
1926
|
+
return new TypeError('Expected "string" but received "' + typeof obj_childObjectType + '" (at "' + path_childObjectType + '")');
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
})();
|
|
1930
|
+
return v_error === undefined ? null : v_error;
|
|
1931
|
+
}
|
|
1932
|
+
const select$a = function EntityDetailsChildResponseObjectSelect() {
|
|
1933
|
+
return {
|
|
1934
|
+
kind: 'Fragment',
|
|
1935
|
+
version: VERSION$7,
|
|
1936
|
+
private: [],
|
|
1937
|
+
selections: [
|
|
1938
|
+
{
|
|
1939
|
+
name: 'childObjectLabel',
|
|
1940
|
+
kind: 'Scalar',
|
|
1941
|
+
required: false
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
name: 'childObjectName',
|
|
1945
|
+
kind: 'Scalar',
|
|
1946
|
+
required: false
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
name: 'childObjectRelationshipField',
|
|
1950
|
+
kind: 'Scalar',
|
|
1951
|
+
required: false
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
name: 'childObjectType',
|
|
1955
|
+
kind: 'Scalar',
|
|
1956
|
+
required: false
|
|
1957
|
+
}
|
|
1958
|
+
]
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1961
|
+
function equals$7(existing, incoming) {
|
|
1962
|
+
const existing_childObjectLabel = existing.childObjectLabel;
|
|
1963
|
+
const incoming_childObjectLabel = incoming.childObjectLabel;
|
|
1964
|
+
// if at least one of these optionals is defined
|
|
1965
|
+
if (existing_childObjectLabel !== undefined || incoming_childObjectLabel !== undefined) {
|
|
1966
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1967
|
+
// not equal
|
|
1968
|
+
if (existing_childObjectLabel === undefined || incoming_childObjectLabel === undefined) {
|
|
1969
|
+
return false;
|
|
1970
|
+
}
|
|
1971
|
+
if (!(existing_childObjectLabel === incoming_childObjectLabel)) {
|
|
1972
|
+
return false;
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
const existing_childObjectName = existing.childObjectName;
|
|
1976
|
+
const incoming_childObjectName = incoming.childObjectName;
|
|
1977
|
+
// if at least one of these optionals is defined
|
|
1978
|
+
if (existing_childObjectName !== undefined || incoming_childObjectName !== undefined) {
|
|
1979
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1980
|
+
// not equal
|
|
1981
|
+
if (existing_childObjectName === undefined || incoming_childObjectName === undefined) {
|
|
1982
|
+
return false;
|
|
1983
|
+
}
|
|
1984
|
+
if (!(existing_childObjectName === incoming_childObjectName)) {
|
|
1985
|
+
return false;
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
const existing_childObjectRelationshipField = existing.childObjectRelationshipField;
|
|
1989
|
+
const incoming_childObjectRelationshipField = incoming.childObjectRelationshipField;
|
|
1990
|
+
// if at least one of these optionals is defined
|
|
1991
|
+
if (existing_childObjectRelationshipField !== undefined || incoming_childObjectRelationshipField !== undefined) {
|
|
1992
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1993
|
+
// not equal
|
|
1994
|
+
if (existing_childObjectRelationshipField === undefined || incoming_childObjectRelationshipField === undefined) {
|
|
1995
|
+
return false;
|
|
1996
|
+
}
|
|
1997
|
+
if (!(existing_childObjectRelationshipField === incoming_childObjectRelationshipField)) {
|
|
1998
|
+
return false;
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
const existing_childObjectType = existing.childObjectType;
|
|
2002
|
+
const incoming_childObjectType = incoming.childObjectType;
|
|
2003
|
+
// if at least one of these optionals is defined
|
|
2004
|
+
if (existing_childObjectType !== undefined || incoming_childObjectType !== undefined) {
|
|
2005
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2006
|
+
// not equal
|
|
2007
|
+
if (existing_childObjectType === undefined || incoming_childObjectType === undefined) {
|
|
2008
|
+
return false;
|
|
2009
|
+
}
|
|
2010
|
+
if (!(existing_childObjectType === incoming_childObjectType)) {
|
|
2011
|
+
return false;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
return true;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
1866
2017
|
const VERSION$6 = "5b5a2be5ae5b9604c6e5fb7d904e3275";
|
|
1867
2018
|
function validate$6(obj, path = 'PicklistValueObject') {
|
|
1868
2019
|
const v_error = (() => {
|
|
@@ -2213,36 +2364,44 @@ function equals$5(existing, incoming) {
|
|
|
2213
2364
|
return true;
|
|
2214
2365
|
}
|
|
2215
2366
|
|
|
2216
|
-
const VERSION$4 = "
|
|
2217
|
-
function validate$4(obj, path = '
|
|
2367
|
+
const VERSION$4 = "3dd8c4b72e4601c0424788df244ee841";
|
|
2368
|
+
function validate$4(obj, path = 'EntityDetailsParentResponseObject') {
|
|
2218
2369
|
const v_error = (() => {
|
|
2219
2370
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2220
2371
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2221
2372
|
}
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2373
|
+
if (obj.parentObjectLabel !== undefined) {
|
|
2374
|
+
const obj_parentObjectLabel = obj.parentObjectLabel;
|
|
2375
|
+
const path_parentObjectLabel = path + '.parentObjectLabel';
|
|
2376
|
+
if (typeof obj_parentObjectLabel !== 'string') {
|
|
2377
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentObjectLabel + '" (at "' + path_parentObjectLabel + '")');
|
|
2378
|
+
}
|
|
2226
2379
|
}
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2380
|
+
if (obj.parentObjectName !== undefined) {
|
|
2381
|
+
const obj_parentObjectName = obj.parentObjectName;
|
|
2382
|
+
const path_parentObjectName = path + '.parentObjectName';
|
|
2383
|
+
if (typeof obj_parentObjectName !== 'string') {
|
|
2384
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentObjectName + '" (at "' + path_parentObjectName + '")');
|
|
2385
|
+
}
|
|
2231
2386
|
}
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2387
|
+
if (obj.parentObjectRelationshipField !== undefined) {
|
|
2388
|
+
const obj_parentObjectRelationshipField = obj.parentObjectRelationshipField;
|
|
2389
|
+
const path_parentObjectRelationshipField = path + '.parentObjectRelationshipField';
|
|
2390
|
+
if (typeof obj_parentObjectRelationshipField !== 'string') {
|
|
2391
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentObjectRelationshipField + '" (at "' + path_parentObjectRelationshipField + '")');
|
|
2392
|
+
}
|
|
2236
2393
|
}
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2394
|
+
if (obj.parentObjectType !== undefined) {
|
|
2395
|
+
const obj_parentObjectType = obj.parentObjectType;
|
|
2396
|
+
const path_parentObjectType = path + '.parentObjectType';
|
|
2397
|
+
if (typeof obj_parentObjectType !== 'string') {
|
|
2398
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parentObjectType + '" (at "' + path_parentObjectType + '")');
|
|
2399
|
+
}
|
|
2241
2400
|
}
|
|
2242
2401
|
})();
|
|
2243
2402
|
return v_error === undefined ? null : v_error;
|
|
2244
2403
|
}
|
|
2245
|
-
const select$7 = function
|
|
2404
|
+
const select$7 = function EntityDetailsParentResponseObjectSelect() {
|
|
2246
2405
|
return {
|
|
2247
2406
|
kind: 'Fragment',
|
|
2248
2407
|
version: VERSION$4,
|
|
@@ -2250,19 +2409,23 @@ const select$7 = function EntityDetailsChildResponseObjectSelect() {
|
|
|
2250
2409
|
selections: [
|
|
2251
2410
|
{
|
|
2252
2411
|
name: 'parentObjectLabel',
|
|
2253
|
-
kind: 'Scalar'
|
|
2412
|
+
kind: 'Scalar',
|
|
2413
|
+
required: false
|
|
2254
2414
|
},
|
|
2255
2415
|
{
|
|
2256
2416
|
name: 'parentObjectName',
|
|
2257
|
-
kind: 'Scalar'
|
|
2417
|
+
kind: 'Scalar',
|
|
2418
|
+
required: false
|
|
2258
2419
|
},
|
|
2259
2420
|
{
|
|
2260
|
-
name: '
|
|
2261
|
-
kind: 'Scalar'
|
|
2421
|
+
name: 'parentObjectRelationshipField',
|
|
2422
|
+
kind: 'Scalar',
|
|
2423
|
+
required: false
|
|
2262
2424
|
},
|
|
2263
2425
|
{
|
|
2264
|
-
name: '
|
|
2265
|
-
kind: 'Scalar'
|
|
2426
|
+
name: 'parentObjectType',
|
|
2427
|
+
kind: 'Scalar',
|
|
2428
|
+
required: false
|
|
2266
2429
|
}
|
|
2267
2430
|
]
|
|
2268
2431
|
};
|
|
@@ -2270,33 +2433,82 @@ const select$7 = function EntityDetailsChildResponseObjectSelect() {
|
|
|
2270
2433
|
function equals$4(existing, incoming) {
|
|
2271
2434
|
const existing_parentObjectLabel = existing.parentObjectLabel;
|
|
2272
2435
|
const incoming_parentObjectLabel = incoming.parentObjectLabel;
|
|
2273
|
-
if
|
|
2274
|
-
|
|
2436
|
+
// if at least one of these optionals is defined
|
|
2437
|
+
if (existing_parentObjectLabel !== undefined || incoming_parentObjectLabel !== undefined) {
|
|
2438
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2439
|
+
// not equal
|
|
2440
|
+
if (existing_parentObjectLabel === undefined || incoming_parentObjectLabel === undefined) {
|
|
2441
|
+
return false;
|
|
2442
|
+
}
|
|
2443
|
+
if (!(existing_parentObjectLabel === incoming_parentObjectLabel)) {
|
|
2444
|
+
return false;
|
|
2445
|
+
}
|
|
2275
2446
|
}
|
|
2276
2447
|
const existing_parentObjectName = existing.parentObjectName;
|
|
2277
2448
|
const incoming_parentObjectName = incoming.parentObjectName;
|
|
2278
|
-
if
|
|
2279
|
-
|
|
2449
|
+
// if at least one of these optionals is defined
|
|
2450
|
+
if (existing_parentObjectName !== undefined || incoming_parentObjectName !== undefined) {
|
|
2451
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2452
|
+
// not equal
|
|
2453
|
+
if (existing_parentObjectName === undefined || incoming_parentObjectName === undefined) {
|
|
2454
|
+
return false;
|
|
2455
|
+
}
|
|
2456
|
+
if (!(existing_parentObjectName === incoming_parentObjectName)) {
|
|
2457
|
+
return false;
|
|
2458
|
+
}
|
|
2280
2459
|
}
|
|
2281
|
-
const
|
|
2282
|
-
const
|
|
2283
|
-
if
|
|
2284
|
-
|
|
2460
|
+
const existing_parentObjectRelationshipField = existing.parentObjectRelationshipField;
|
|
2461
|
+
const incoming_parentObjectRelationshipField = incoming.parentObjectRelationshipField;
|
|
2462
|
+
// if at least one of these optionals is defined
|
|
2463
|
+
if (existing_parentObjectRelationshipField !== undefined || incoming_parentObjectRelationshipField !== undefined) {
|
|
2464
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2465
|
+
// not equal
|
|
2466
|
+
if (existing_parentObjectRelationshipField === undefined || incoming_parentObjectRelationshipField === undefined) {
|
|
2467
|
+
return false;
|
|
2468
|
+
}
|
|
2469
|
+
if (!(existing_parentObjectRelationshipField === incoming_parentObjectRelationshipField)) {
|
|
2470
|
+
return false;
|
|
2471
|
+
}
|
|
2285
2472
|
}
|
|
2286
|
-
const
|
|
2287
|
-
const
|
|
2288
|
-
if
|
|
2289
|
-
|
|
2473
|
+
const existing_parentObjectType = existing.parentObjectType;
|
|
2474
|
+
const incoming_parentObjectType = incoming.parentObjectType;
|
|
2475
|
+
// if at least one of these optionals is defined
|
|
2476
|
+
if (existing_parentObjectType !== undefined || incoming_parentObjectType !== undefined) {
|
|
2477
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2478
|
+
// not equal
|
|
2479
|
+
if (existing_parentObjectType === undefined || incoming_parentObjectType === undefined) {
|
|
2480
|
+
return false;
|
|
2481
|
+
}
|
|
2482
|
+
if (!(existing_parentObjectType === incoming_parentObjectType)) {
|
|
2483
|
+
return false;
|
|
2484
|
+
}
|
|
2290
2485
|
}
|
|
2291
2486
|
return true;
|
|
2292
2487
|
}
|
|
2293
2488
|
|
|
2294
|
-
const VERSION$3 = "
|
|
2489
|
+
const VERSION$3 = "4eaabf520fc0b3fac32a0883f2c0e055";
|
|
2295
2490
|
function validate$3(obj, path = 'EntityDetailsResponseObject') {
|
|
2296
2491
|
const v_error = (() => {
|
|
2297
2492
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2298
2493
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2299
2494
|
}
|
|
2495
|
+
if (obj.childRelationships !== undefined) {
|
|
2496
|
+
const obj_childRelationships = obj.childRelationships;
|
|
2497
|
+
const path_childRelationships = path + '.childRelationships';
|
|
2498
|
+
if (!ArrayIsArray(obj_childRelationships)) {
|
|
2499
|
+
return new TypeError('Expected "array" but received "' + typeof obj_childRelationships + '" (at "' + path_childRelationships + '")');
|
|
2500
|
+
}
|
|
2501
|
+
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
2502
|
+
const obj_childRelationships_item = obj_childRelationships[i];
|
|
2503
|
+
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
2504
|
+
const referencepath_childRelationships_itemValidationError = validate$7(obj_childRelationships_item, path_childRelationships_item);
|
|
2505
|
+
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
2506
|
+
let message = 'Object doesn\'t match EntityDetailsChildResponseObject (at "' + path_childRelationships_item + '")\n';
|
|
2507
|
+
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2508
|
+
return new TypeError(message);
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2300
2512
|
if (obj.error !== undefined) {
|
|
2301
2513
|
const obj_error = obj.error;
|
|
2302
2514
|
const path_error = path + '.error';
|
|
@@ -2360,7 +2572,7 @@ function validate$3(obj, path = 'EntityDetailsResponseObject') {
|
|
|
2360
2572
|
const path_parentRelationships_item = path_parentRelationships + '[' + i + ']';
|
|
2361
2573
|
const referencepath_parentRelationships_itemValidationError = validate$4(obj_parentRelationships_item, path_parentRelationships_item);
|
|
2362
2574
|
if (referencepath_parentRelationships_itemValidationError !== null) {
|
|
2363
|
-
let message = 'Object doesn\'t match
|
|
2575
|
+
let message = 'Object doesn\'t match EntityDetailsParentResponseObject (at "' + path_parentRelationships_item + '")\n';
|
|
2364
2576
|
message += referencepath_parentRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2365
2577
|
return new TypeError(message);
|
|
2366
2578
|
}
|
|
@@ -2384,13 +2596,21 @@ function validate$3(obj, path = 'EntityDetailsResponseObject') {
|
|
|
2384
2596
|
return v_error === undefined ? null : v_error;
|
|
2385
2597
|
}
|
|
2386
2598
|
const select$6 = function EntityDetailsResponseObjectSelect() {
|
|
2599
|
+
const { selections: EntityDetailsChildResponseObject__selections, opaque: EntityDetailsChildResponseObject__opaque, } = select$a();
|
|
2387
2600
|
const { selections: EntityDetailsFieldsResponseObject__selections, opaque: EntityDetailsFieldsResponseObject__opaque, } = select$8();
|
|
2388
|
-
const { selections:
|
|
2601
|
+
const { selections: EntityDetailsParentResponseObject__selections, opaque: EntityDetailsParentResponseObject__opaque, } = select$7();
|
|
2389
2602
|
return {
|
|
2390
2603
|
kind: 'Fragment',
|
|
2391
2604
|
version: VERSION$3,
|
|
2392
2605
|
private: [],
|
|
2393
2606
|
selections: [
|
|
2607
|
+
{
|
|
2608
|
+
name: 'childRelationships',
|
|
2609
|
+
kind: 'Object',
|
|
2610
|
+
plural: true,
|
|
2611
|
+
selections: EntityDetailsChildResponseObject__selections,
|
|
2612
|
+
required: false
|
|
2613
|
+
},
|
|
2394
2614
|
{
|
|
2395
2615
|
name: 'error',
|
|
2396
2616
|
kind: 'Scalar',
|
|
@@ -2427,7 +2647,7 @@ const select$6 = function EntityDetailsResponseObjectSelect() {
|
|
|
2427
2647
|
name: 'parentRelationships',
|
|
2428
2648
|
kind: 'Object',
|
|
2429
2649
|
plural: true,
|
|
2430
|
-
selections:
|
|
2650
|
+
selections: EntityDetailsParentResponseObject__selections,
|
|
2431
2651
|
required: false
|
|
2432
2652
|
},
|
|
2433
2653
|
{
|
|
@@ -2535,6 +2755,24 @@ function equals$3(existing, incoming) {
|
|
|
2535
2755
|
return false;
|
|
2536
2756
|
}
|
|
2537
2757
|
}
|
|
2758
|
+
const existing_childRelationships = existing.childRelationships;
|
|
2759
|
+
const incoming_childRelationships = incoming.childRelationships;
|
|
2760
|
+
// if at least one of these optionals is defined
|
|
2761
|
+
if (existing_childRelationships !== undefined || incoming_childRelationships !== undefined) {
|
|
2762
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2763
|
+
// not equal
|
|
2764
|
+
if (existing_childRelationships === undefined || incoming_childRelationships === undefined) {
|
|
2765
|
+
return false;
|
|
2766
|
+
}
|
|
2767
|
+
const equals_childRelationships_items = equalsArray(existing_childRelationships, incoming_childRelationships, (existing_childRelationships_item, incoming_childRelationships_item) => {
|
|
2768
|
+
if (!(equals$7(existing_childRelationships_item, incoming_childRelationships_item))) {
|
|
2769
|
+
return false;
|
|
2770
|
+
}
|
|
2771
|
+
});
|
|
2772
|
+
if (equals_childRelationships_items === false) {
|
|
2773
|
+
return false;
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2538
2776
|
const existing_fields = existing.fields;
|
|
2539
2777
|
const incoming_fields = incoming.fields;
|
|
2540
2778
|
// if at least one of these optionals is defined
|
|
@@ -3043,7 +3281,7 @@ const getSalesforceOrgDetailsAdapterFactory = (luvio) => {
|
|
|
3043
3281
|
};
|
|
3044
3282
|
|
|
3045
3283
|
function select(luvio, params) {
|
|
3046
|
-
return select$
|
|
3284
|
+
return select$f();
|
|
3047
3285
|
}
|
|
3048
3286
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
3049
3287
|
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|