@salesforce/lds-adapters-analytics-app-framework 1.412.0 → 1.413.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.
|
@@ -112,8 +112,8 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
const VERSION$
|
|
116
|
-
function validate$
|
|
115
|
+
const VERSION$q = "8747a45321deaf63f65cf74537b07eb6";
|
|
116
|
+
function validate$w(obj, path = 'UserRepresentation') {
|
|
117
117
|
const v_error = (() => {
|
|
118
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
119
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -157,10 +157,10 @@ function validate$A(obj, path = 'UserRepresentation') {
|
|
|
157
157
|
})();
|
|
158
158
|
return v_error === undefined ? null : v_error;
|
|
159
159
|
}
|
|
160
|
-
const select$
|
|
160
|
+
const select$L = function UserRepresentationSelect() {
|
|
161
161
|
return {
|
|
162
162
|
kind: 'Fragment',
|
|
163
|
-
version: VERSION$
|
|
163
|
+
version: VERSION$q,
|
|
164
164
|
private: [],
|
|
165
165
|
selections: [
|
|
166
166
|
{
|
|
@@ -178,7 +178,7 @@ const select$S = function UserRepresentationSelect() {
|
|
|
178
178
|
]
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
-
function equals$
|
|
181
|
+
function equals$q(existing, incoming) {
|
|
182
182
|
const existing_id = existing.id;
|
|
183
183
|
const incoming_id = incoming.id;
|
|
184
184
|
if (!(existing_id === incoming_id)) {
|
|
@@ -197,393 +197,44 @@ function equals$u(existing, incoming) {
|
|
|
197
197
|
return true;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
const
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
204
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
205
|
-
}
|
|
206
|
-
obj.gmtOffset;
|
|
207
|
-
const obj_name = obj.name;
|
|
208
|
-
const path_name = path + '.name';
|
|
209
|
-
if (typeof obj_name !== 'string') {
|
|
210
|
-
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
211
|
-
}
|
|
212
|
-
const obj_zoneId = obj.zoneId;
|
|
213
|
-
const path_zoneId = path + '.zoneId';
|
|
214
|
-
if (typeof obj_zoneId !== 'string') {
|
|
215
|
-
return new TypeError('Expected "string" but received "' + typeof obj_zoneId + '" (at "' + path_zoneId + '")');
|
|
216
|
-
}
|
|
217
|
-
})();
|
|
218
|
-
return v_error === undefined ? null : v_error;
|
|
219
|
-
}
|
|
220
|
-
const select$R = function ScheduledTimezoneRepresentationSelect() {
|
|
221
|
-
return {
|
|
222
|
-
kind: 'Fragment',
|
|
223
|
-
version: VERSION$w,
|
|
224
|
-
private: [],
|
|
225
|
-
selections: [
|
|
226
|
-
{
|
|
227
|
-
name: 'gmtOffset',
|
|
228
|
-
kind: 'Scalar'
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
name: 'name',
|
|
232
|
-
kind: 'Scalar'
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
name: 'zoneId',
|
|
236
|
-
kind: 'Scalar'
|
|
237
|
-
}
|
|
238
|
-
]
|
|
239
|
-
};
|
|
240
|
-
};
|
|
241
|
-
function equals$t(existing, incoming) {
|
|
242
|
-
const existing_name = existing.name;
|
|
243
|
-
const incoming_name = incoming.name;
|
|
244
|
-
if (!(existing_name === incoming_name)) {
|
|
245
|
-
return false;
|
|
246
|
-
}
|
|
247
|
-
const existing_zoneId = existing.zoneId;
|
|
248
|
-
const incoming_zoneId = incoming.zoneId;
|
|
249
|
-
if (!(existing_zoneId === incoming_zoneId)) {
|
|
250
|
-
return false;
|
|
251
|
-
}
|
|
252
|
-
const existing_gmtOffset = existing.gmtOffset;
|
|
253
|
-
const incoming_gmtOffset = incoming.gmtOffset;
|
|
254
|
-
if (!(existing_gmtOffset === incoming_gmtOffset)) {
|
|
255
|
-
return false;
|
|
256
|
-
}
|
|
257
|
-
return true;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
const VERSION$v = "d96bf6818be64d5924beaaad8e684221";
|
|
261
|
-
function validate$y(obj, path = 'ScheduledTimeRepresentation') {
|
|
262
|
-
const v_error = (() => {
|
|
263
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
264
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
265
|
-
}
|
|
266
|
-
const obj_hour = obj.hour;
|
|
267
|
-
const path_hour = path + '.hour';
|
|
268
|
-
if (typeof obj_hour !== 'number' || (typeof obj_hour === 'number' && Math.floor(obj_hour) !== obj_hour)) {
|
|
269
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_hour + '" (at "' + path_hour + '")');
|
|
270
|
-
}
|
|
271
|
-
const obj_minute = obj.minute;
|
|
272
|
-
const path_minute = path + '.minute';
|
|
273
|
-
if (typeof obj_minute !== 'number' || (typeof obj_minute === 'number' && Math.floor(obj_minute) !== obj_minute)) {
|
|
274
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_minute + '" (at "' + path_minute + '")');
|
|
275
|
-
}
|
|
276
|
-
const obj_timezone = obj.timezone;
|
|
277
|
-
const path_timezone = path + '.timezone';
|
|
278
|
-
const referencepath_timezoneValidationError = validate$z(obj_timezone, path_timezone);
|
|
279
|
-
if (referencepath_timezoneValidationError !== null) {
|
|
280
|
-
let message = 'Object doesn\'t match ScheduledTimezoneRepresentation (at "' + path_timezone + '")\n';
|
|
281
|
-
message += referencepath_timezoneValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
282
|
-
return new TypeError(message);
|
|
283
|
-
}
|
|
284
|
-
})();
|
|
285
|
-
return v_error === undefined ? null : v_error;
|
|
286
|
-
}
|
|
287
|
-
const select$Q = function ScheduledTimeRepresentationSelect() {
|
|
288
|
-
const { selections: ScheduledTimezoneRepresentation__selections, opaque: ScheduledTimezoneRepresentation__opaque, } = select$R();
|
|
289
|
-
return {
|
|
290
|
-
kind: 'Fragment',
|
|
291
|
-
version: VERSION$v,
|
|
292
|
-
private: [],
|
|
293
|
-
selections: [
|
|
294
|
-
{
|
|
295
|
-
name: 'hour',
|
|
296
|
-
kind: 'Scalar'
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
name: 'minute',
|
|
300
|
-
kind: 'Scalar'
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
name: 'timezone',
|
|
304
|
-
kind: 'Object',
|
|
305
|
-
selections: ScheduledTimezoneRepresentation__selections
|
|
306
|
-
}
|
|
307
|
-
]
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
function equals$s(existing, incoming) {
|
|
311
|
-
const existing_hour = existing.hour;
|
|
312
|
-
const incoming_hour = incoming.hour;
|
|
313
|
-
if (!(existing_hour === incoming_hour)) {
|
|
314
|
-
return false;
|
|
315
|
-
}
|
|
316
|
-
const existing_minute = existing.minute;
|
|
317
|
-
const incoming_minute = incoming.minute;
|
|
318
|
-
if (!(existing_minute === incoming_minute)) {
|
|
319
|
-
return false;
|
|
320
|
-
}
|
|
321
|
-
const existing_timezone = existing.timezone;
|
|
322
|
-
const incoming_timezone = incoming.timezone;
|
|
323
|
-
if (!(equals$t(existing_timezone, incoming_timezone))) {
|
|
324
|
-
return false;
|
|
325
|
-
}
|
|
326
|
-
return true;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
const VERSION$u = "91838b86aa135ce828af6242b11ae888";
|
|
330
|
-
const select$P = function HourlyScheduledItemRepresentationSelect() {
|
|
331
|
-
const { selections: ScheduledItemRepresentationSelections } = select$M();
|
|
332
|
-
return {
|
|
333
|
-
kind: 'Fragment',
|
|
334
|
-
version: VERSION$u,
|
|
335
|
-
private: [],
|
|
336
|
-
selections: [
|
|
337
|
-
...ScheduledItemRepresentationSelections,
|
|
338
|
-
{
|
|
339
|
-
name: 'daysOfWeek',
|
|
340
|
-
kind: 'Scalar',
|
|
341
|
-
plural: true
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
name: 'hourlyInterval',
|
|
345
|
-
kind: 'Scalar'
|
|
346
|
-
}
|
|
347
|
-
]
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
|
|
351
|
-
const VERSION$t = "46260a34f0b2c2d7adc7f8c150a8d8fb";
|
|
352
|
-
const select$O = function WeeklyScheduledItemRepresentationSelect() {
|
|
353
|
-
const { selections: ScheduledItemRepresentationSelections } = select$M();
|
|
354
|
-
return {
|
|
355
|
-
kind: 'Fragment',
|
|
356
|
-
version: VERSION$t,
|
|
357
|
-
private: [],
|
|
358
|
-
selections: [
|
|
359
|
-
...ScheduledItemRepresentationSelections,
|
|
360
|
-
{
|
|
361
|
-
name: 'daysOfWeek',
|
|
362
|
-
kind: 'Scalar',
|
|
363
|
-
plural: true
|
|
364
|
-
}
|
|
365
|
-
]
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
const VERSION$s = "dcda6d015a01d9acde5fac241448cfe4";
|
|
370
|
-
const select$N = function DailyScheduledItemRepresentationSelect() {
|
|
371
|
-
const { selections: ScheduledItemRepresentationSelections } = select$M();
|
|
372
|
-
return {
|
|
373
|
-
kind: 'Fragment',
|
|
374
|
-
version: VERSION$s,
|
|
375
|
-
private: [],
|
|
376
|
-
selections: [
|
|
377
|
-
...ScheduledItemRepresentationSelections,
|
|
378
|
-
]
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
var DiscriminatorValues;
|
|
383
|
-
(function (DiscriminatorValues) {
|
|
384
|
-
DiscriminatorValues["Hourly"] = "Hourly";
|
|
385
|
-
DiscriminatorValues["Weekly"] = "Weekly";
|
|
386
|
-
DiscriminatorValues["Daily"] = "Daily";
|
|
387
|
-
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
388
|
-
const VERSION$r = "193484b4261ca5840b61caaab3dea067";
|
|
389
|
-
function validate$x(obj, path = 'ScheduledItemRepresentation') {
|
|
390
|
-
const v_error = (() => {
|
|
391
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
392
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
393
|
-
}
|
|
394
|
-
const obj_frequency = obj.frequency;
|
|
395
|
-
const path_frequency = path + '.frequency';
|
|
396
|
-
if (typeof obj_frequency !== 'string') {
|
|
397
|
-
return new TypeError('Expected "string" but received "' + typeof obj_frequency + '" (at "' + path_frequency + '")');
|
|
398
|
-
}
|
|
399
|
-
const obj_nextScheduledRun = obj.nextScheduledRun;
|
|
400
|
-
const path_nextScheduledRun = path + '.nextScheduledRun';
|
|
401
|
-
if (typeof obj_nextScheduledRun !== 'string') {
|
|
402
|
-
return new TypeError('Expected "string" but received "' + typeof obj_nextScheduledRun + '" (at "' + path_nextScheduledRun + '")');
|
|
403
|
-
}
|
|
404
|
-
const obj_time = obj.time;
|
|
405
|
-
const path_time = path + '.time';
|
|
406
|
-
const referencepath_timeValidationError = validate$y(obj_time, path_time);
|
|
407
|
-
if (referencepath_timeValidationError !== null) {
|
|
408
|
-
let message = 'Object doesn\'t match ScheduledTimeRepresentation (at "' + path_time + '")\n';
|
|
409
|
-
message += referencepath_timeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
410
|
-
return new TypeError(message);
|
|
411
|
-
}
|
|
412
|
-
})();
|
|
413
|
-
return v_error === undefined ? null : v_error;
|
|
414
|
-
}
|
|
415
|
-
const selectChildren = function ScheduledItemRepresentationSelectChildren() {
|
|
416
|
-
const hourlyScheduledItemRepresentationSelections = select$P();
|
|
417
|
-
const weeklyScheduledItemRepresentationSelections = select$O();
|
|
418
|
-
const dailyScheduledItemRepresentationSelections = select$N();
|
|
419
|
-
return {
|
|
420
|
-
kind: 'Fragment',
|
|
421
|
-
union: true,
|
|
422
|
-
discriminator: 'frequency',
|
|
423
|
-
unionSelections: {
|
|
424
|
-
[DiscriminatorValues.Hourly]: hourlyScheduledItemRepresentationSelections,
|
|
425
|
-
[DiscriminatorValues.Weekly]: weeklyScheduledItemRepresentationSelections,
|
|
426
|
-
[DiscriminatorValues.Daily]: dailyScheduledItemRepresentationSelections
|
|
427
|
-
}
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
const select$M = function ScheduledItemRepresentationSelect() {
|
|
431
|
-
const { selections: ScheduledTimeRepresentation__selections, opaque: ScheduledTimeRepresentation__opaque, } = select$Q();
|
|
432
|
-
return {
|
|
433
|
-
kind: 'Fragment',
|
|
434
|
-
version: VERSION$r,
|
|
435
|
-
private: [],
|
|
436
|
-
selections: [
|
|
437
|
-
{
|
|
438
|
-
name: 'frequency',
|
|
439
|
-
kind: 'Scalar'
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
name: 'nextScheduledRun',
|
|
443
|
-
kind: 'Scalar'
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
name: 'time',
|
|
447
|
-
kind: 'Object',
|
|
448
|
-
selections: ScheduledTimeRepresentation__selections
|
|
449
|
-
}
|
|
450
|
-
]
|
|
451
|
-
};
|
|
452
|
-
};
|
|
453
|
-
function equals$r(existing, incoming) {
|
|
454
|
-
const existing_frequency = existing.frequency;
|
|
455
|
-
const incoming_frequency = incoming.frequency;
|
|
456
|
-
if (!(existing_frequency === incoming_frequency)) {
|
|
457
|
-
return false;
|
|
458
|
-
}
|
|
459
|
-
const existing_nextScheduledRun = existing.nextScheduledRun;
|
|
460
|
-
const incoming_nextScheduledRun = incoming.nextScheduledRun;
|
|
461
|
-
if (!(existing_nextScheduledRun === incoming_nextScheduledRun)) {
|
|
462
|
-
return false;
|
|
463
|
-
}
|
|
464
|
-
const existing_time = existing.time;
|
|
465
|
-
const incoming_time = incoming.time;
|
|
466
|
-
if (!(equals$s(existing_time, incoming_time))) {
|
|
467
|
-
return false;
|
|
468
|
-
}
|
|
469
|
-
return true;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
const VERSION$q = "06b5da5162febff2692d819c9b718be5";
|
|
473
|
-
function validate$w(obj, path = 'AppScheduleRepresentation') {
|
|
200
|
+
const TTL$e = 5000;
|
|
201
|
+
const VERSION$p = "e0929aeaae1c5564782753a4f729c815";
|
|
202
|
+
function validate$v(obj, path = 'AppRepresentation') {
|
|
474
203
|
const v_error = (() => {
|
|
475
204
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
476
205
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
477
206
|
}
|
|
478
|
-
const
|
|
479
|
-
const
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
const referencepath_dataRefreshScheduleValidationError = validate$x(obj_dataRefreshSchedule, path_dataRefreshSchedule);
|
|
483
|
-
if (referencepath_dataRefreshScheduleValidationError !== null) {
|
|
484
|
-
let message = 'Object doesn\'t match ScheduledItemRepresentation (at "' + path_dataRefreshSchedule + '")\n';
|
|
485
|
-
message += referencepath_dataRefreshScheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
486
|
-
return new TypeError(message);
|
|
487
|
-
}
|
|
488
|
-
})();
|
|
489
|
-
if (obj_dataRefreshSchedule_union0_error != null) {
|
|
490
|
-
obj_dataRefreshSchedule_union0 = obj_dataRefreshSchedule_union0_error.message;
|
|
491
|
-
}
|
|
492
|
-
let obj_dataRefreshSchedule_union1 = null;
|
|
493
|
-
const obj_dataRefreshSchedule_union1_error = (() => {
|
|
494
|
-
if (obj_dataRefreshSchedule !== null) {
|
|
495
|
-
return new TypeError('Expected "null" but received "' + typeof obj_dataRefreshSchedule + '" (at "' + path_dataRefreshSchedule + '")');
|
|
496
|
-
}
|
|
497
|
-
})();
|
|
498
|
-
if (obj_dataRefreshSchedule_union1_error != null) {
|
|
499
|
-
obj_dataRefreshSchedule_union1 = obj_dataRefreshSchedule_union1_error.message;
|
|
500
|
-
}
|
|
501
|
-
if (obj_dataRefreshSchedule_union0 && obj_dataRefreshSchedule_union1) {
|
|
502
|
-
let message = 'Object doesn\'t match union (at "' + path_dataRefreshSchedule + '")';
|
|
503
|
-
message += '\n' + obj_dataRefreshSchedule_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
504
|
-
message += '\n' + obj_dataRefreshSchedule_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
505
|
-
return new TypeError(message);
|
|
207
|
+
const obj_activitiesUrl = obj.activitiesUrl;
|
|
208
|
+
const path_activitiesUrl = path + '.activitiesUrl';
|
|
209
|
+
if (typeof obj_activitiesUrl !== 'string') {
|
|
210
|
+
return new TypeError('Expected "string" but received "' + typeof obj_activitiesUrl + '" (at "' + path_activitiesUrl + '")');
|
|
506
211
|
}
|
|
507
|
-
const
|
|
508
|
-
const
|
|
509
|
-
let
|
|
510
|
-
const
|
|
511
|
-
if (typeof
|
|
512
|
-
return new TypeError('Expected "
|
|
212
|
+
const obj_appAssetVersion = obj.appAssetVersion;
|
|
213
|
+
const path_appAssetVersion = path + '.appAssetVersion';
|
|
214
|
+
let obj_appAssetVersion_union0 = null;
|
|
215
|
+
const obj_appAssetVersion_union0_error = (() => {
|
|
216
|
+
if (typeof obj_appAssetVersion !== 'number') {
|
|
217
|
+
return new TypeError('Expected "number" but received "' + typeof obj_appAssetVersion + '" (at "' + path_appAssetVersion + '")');
|
|
513
218
|
}
|
|
514
219
|
})();
|
|
515
|
-
if (
|
|
516
|
-
|
|
220
|
+
if (obj_appAssetVersion_union0_error != null) {
|
|
221
|
+
obj_appAssetVersion_union0 = obj_appAssetVersion_union0_error.message;
|
|
517
222
|
}
|
|
518
|
-
let
|
|
519
|
-
const
|
|
520
|
-
if (
|
|
521
|
-
return new TypeError('Expected "null" but received "' + typeof
|
|
223
|
+
let obj_appAssetVersion_union1 = null;
|
|
224
|
+
const obj_appAssetVersion_union1_error = (() => {
|
|
225
|
+
if (obj_appAssetVersion !== null) {
|
|
226
|
+
return new TypeError('Expected "null" but received "' + typeof obj_appAssetVersion + '" (at "' + path_appAssetVersion + '")');
|
|
522
227
|
}
|
|
523
228
|
})();
|
|
524
|
-
if (
|
|
525
|
-
|
|
229
|
+
if (obj_appAssetVersion_union1_error != null) {
|
|
230
|
+
obj_appAssetVersion_union1 = obj_appAssetVersion_union1_error.message;
|
|
526
231
|
}
|
|
527
|
-
if (
|
|
528
|
-
let message = 'Object doesn\'t match union (at "' +
|
|
529
|
-
message += '\n' +
|
|
530
|
-
message += '\n' +
|
|
232
|
+
if (obj_appAssetVersion_union0 && obj_appAssetVersion_union1) {
|
|
233
|
+
let message = 'Object doesn\'t match union (at "' + path_appAssetVersion + '")';
|
|
234
|
+
message += '\n' + obj_appAssetVersion_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
235
|
+
message += '\n' + obj_appAssetVersion_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
531
236
|
return new TypeError(message);
|
|
532
237
|
}
|
|
533
|
-
})();
|
|
534
|
-
return v_error === undefined ? null : v_error;
|
|
535
|
-
}
|
|
536
|
-
const select$L = function AppScheduleRepresentationSelect() {
|
|
537
|
-
const ScheduledItemRepresentation__unionSelections = selectChildren();
|
|
538
|
-
return {
|
|
539
|
-
kind: 'Fragment',
|
|
540
|
-
version: VERSION$q,
|
|
541
|
-
private: [],
|
|
542
|
-
selections: [
|
|
543
|
-
{
|
|
544
|
-
kind: 'Object',
|
|
545
|
-
name: 'dataRefreshSchedule',
|
|
546
|
-
discriminator: ScheduledItemRepresentation__unionSelections.discriminator,
|
|
547
|
-
union: true,
|
|
548
|
-
nullable: true,
|
|
549
|
-
unionSelections: ScheduledItemRepresentation__unionSelections.unionSelections
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
name: 'url',
|
|
553
|
-
kind: 'Scalar'
|
|
554
|
-
}
|
|
555
|
-
]
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
function equals$q(existing, incoming) {
|
|
559
|
-
const existing_dataRefreshSchedule = existing.dataRefreshSchedule;
|
|
560
|
-
const incoming_dataRefreshSchedule = incoming.dataRefreshSchedule;
|
|
561
|
-
if (!(existing_dataRefreshSchedule === incoming_dataRefreshSchedule
|
|
562
|
-
|| (existing_dataRefreshSchedule != null &&
|
|
563
|
-
incoming_dataRefreshSchedule != null &&
|
|
564
|
-
equals$r(existing_dataRefreshSchedule, incoming_dataRefreshSchedule)))) {
|
|
565
|
-
return false;
|
|
566
|
-
}
|
|
567
|
-
const existing_url = existing.url;
|
|
568
|
-
const incoming_url = incoming.url;
|
|
569
|
-
if (!(existing_url === incoming_url)) {
|
|
570
|
-
return false;
|
|
571
|
-
}
|
|
572
|
-
return true;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
const TTL$e = 5000;
|
|
576
|
-
const VERSION$p = "3f235a5ba94d1ece8d06067bb2a82154";
|
|
577
|
-
function validate$v(obj, path = 'AppRepresentation') {
|
|
578
|
-
const v_error = (() => {
|
|
579
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
580
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
581
|
-
}
|
|
582
|
-
const obj_activitiesUrl = obj.activitiesUrl;
|
|
583
|
-
const path_activitiesUrl = path + '.activitiesUrl';
|
|
584
|
-
if (typeof obj_activitiesUrl !== 'string') {
|
|
585
|
-
return new TypeError('Expected "string" but received "' + typeof obj_activitiesUrl + '" (at "' + path_activitiesUrl + '")');
|
|
586
|
-
}
|
|
587
238
|
const obj_applicationStatus = obj.applicationStatus;
|
|
588
239
|
const path_applicationStatus = path + '.applicationStatus';
|
|
589
240
|
if (typeof obj_applicationStatus !== 'string') {
|
|
@@ -596,7 +247,7 @@ function validate$v(obj, path = 'AppRepresentation') {
|
|
|
596
247
|
}
|
|
597
248
|
const obj_createdBy = obj.createdBy;
|
|
598
249
|
const path_createdBy = path + '.createdBy';
|
|
599
|
-
const referencepath_createdByValidationError = validate$
|
|
250
|
+
const referencepath_createdByValidationError = validate$w(obj_createdBy, path_createdBy);
|
|
600
251
|
if (referencepath_createdByValidationError !== null) {
|
|
601
252
|
let message = 'Object doesn\'t match UserRepresentation (at "' + path_createdBy + '")\n';
|
|
602
253
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -650,7 +301,7 @@ function validate$v(obj, path = 'AppRepresentation') {
|
|
|
650
301
|
}
|
|
651
302
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
652
303
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
653
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
304
|
+
const referencepath_lastModifiedByValidationError = validate$w(obj_lastModifiedBy, path_lastModifiedBy);
|
|
654
305
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
655
306
|
let message = 'Object doesn\'t match UserRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
656
307
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -676,35 +327,6 @@ function validate$v(obj, path = 'AppRepresentation') {
|
|
|
676
327
|
if (typeof obj_refreshUrl !== 'string') {
|
|
677
328
|
return new TypeError('Expected "string" but received "' + typeof obj_refreshUrl + '" (at "' + path_refreshUrl + '")');
|
|
678
329
|
}
|
|
679
|
-
const obj_schedule = obj.schedule;
|
|
680
|
-
const path_schedule = path + '.schedule';
|
|
681
|
-
let obj_schedule_union0 = null;
|
|
682
|
-
const obj_schedule_union0_error = (() => {
|
|
683
|
-
const referencepath_scheduleValidationError = validate$w(obj_schedule, path_schedule);
|
|
684
|
-
if (referencepath_scheduleValidationError !== null) {
|
|
685
|
-
let message = 'Object doesn\'t match AppScheduleRepresentation (at "' + path_schedule + '")\n';
|
|
686
|
-
message += referencepath_scheduleValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
687
|
-
return new TypeError(message);
|
|
688
|
-
}
|
|
689
|
-
})();
|
|
690
|
-
if (obj_schedule_union0_error != null) {
|
|
691
|
-
obj_schedule_union0 = obj_schedule_union0_error.message;
|
|
692
|
-
}
|
|
693
|
-
let obj_schedule_union1 = null;
|
|
694
|
-
const obj_schedule_union1_error = (() => {
|
|
695
|
-
if (obj_schedule !== null) {
|
|
696
|
-
return new TypeError('Expected "null" but received "' + typeof obj_schedule + '" (at "' + path_schedule + '")');
|
|
697
|
-
}
|
|
698
|
-
})();
|
|
699
|
-
if (obj_schedule_union1_error != null) {
|
|
700
|
-
obj_schedule_union1 = obj_schedule_union1_error.message;
|
|
701
|
-
}
|
|
702
|
-
if (obj_schedule_union0 && obj_schedule_union1) {
|
|
703
|
-
let message = 'Object doesn\'t match union (at "' + path_schedule + '")';
|
|
704
|
-
message += '\n' + obj_schedule_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
705
|
-
message += '\n' + obj_schedule_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
706
|
-
return new TypeError(message);
|
|
707
|
-
}
|
|
708
330
|
const obj_templateSourceId = obj.templateSourceId;
|
|
709
331
|
const path_templateSourceId = path + '.templateSourceId';
|
|
710
332
|
let obj_templateSourceId_union0 = null;
|
|
@@ -850,8 +472,7 @@ function normalize$e(input, existing, path, luvio, store, timestamp) {
|
|
|
850
472
|
return input;
|
|
851
473
|
}
|
|
852
474
|
const select$K = function AppRepresentationSelect() {
|
|
853
|
-
const { selections: UserRepresentation__selections, opaque: UserRepresentation__opaque, } = select$
|
|
854
|
-
const { selections: AppScheduleRepresentation__selections, opaque: AppScheduleRepresentation__opaque, } = select$L();
|
|
475
|
+
const { selections: UserRepresentation__selections, opaque: UserRepresentation__opaque, } = select$L();
|
|
855
476
|
return {
|
|
856
477
|
kind: 'Fragment',
|
|
857
478
|
version: VERSION$p,
|
|
@@ -861,6 +482,10 @@ const select$K = function AppRepresentationSelect() {
|
|
|
861
482
|
name: 'activitiesUrl',
|
|
862
483
|
kind: 'Scalar'
|
|
863
484
|
},
|
|
485
|
+
{
|
|
486
|
+
name: 'appAssetVersion',
|
|
487
|
+
kind: 'Scalar'
|
|
488
|
+
},
|
|
864
489
|
{
|
|
865
490
|
name: 'applicationStatus',
|
|
866
491
|
kind: 'Scalar'
|
|
@@ -915,12 +540,6 @@ const select$K = function AppRepresentationSelect() {
|
|
|
915
540
|
name: 'refreshUrl',
|
|
916
541
|
kind: 'Scalar'
|
|
917
542
|
},
|
|
918
|
-
{
|
|
919
|
-
name: 'schedule',
|
|
920
|
-
kind: 'Object',
|
|
921
|
-
nullable: true,
|
|
922
|
-
selections: AppScheduleRepresentation__selections
|
|
923
|
-
},
|
|
924
543
|
{
|
|
925
544
|
name: 'templateSourceId',
|
|
926
545
|
kind: 'Scalar'
|
|
@@ -1019,9 +638,14 @@ function equals$p(existing, incoming) {
|
|
|
1019
638
|
if (!(existing_url === incoming_url)) {
|
|
1020
639
|
return false;
|
|
1021
640
|
}
|
|
641
|
+
const existing_appAssetVersion = existing.appAssetVersion;
|
|
642
|
+
const incoming_appAssetVersion = incoming.appAssetVersion;
|
|
643
|
+
if (!(existing_appAssetVersion === incoming_appAssetVersion)) {
|
|
644
|
+
return false;
|
|
645
|
+
}
|
|
1022
646
|
const existing_createdBy = existing.createdBy;
|
|
1023
647
|
const incoming_createdBy = incoming.createdBy;
|
|
1024
|
-
if (!(equals$
|
|
648
|
+
if (!(equals$q(existing_createdBy, incoming_createdBy))) {
|
|
1025
649
|
return false;
|
|
1026
650
|
}
|
|
1027
651
|
const existing_description = existing.description;
|
|
@@ -1031,15 +655,7 @@ function equals$p(existing, incoming) {
|
|
|
1031
655
|
}
|
|
1032
656
|
const existing_lastModifiedBy = existing.lastModifiedBy;
|
|
1033
657
|
const incoming_lastModifiedBy = incoming.lastModifiedBy;
|
|
1034
|
-
if (!(equals$
|
|
1035
|
-
return false;
|
|
1036
|
-
}
|
|
1037
|
-
const existing_schedule = existing.schedule;
|
|
1038
|
-
const incoming_schedule = incoming.schedule;
|
|
1039
|
-
if (!(existing_schedule === incoming_schedule
|
|
1040
|
-
|| (existing_schedule != null &&
|
|
1041
|
-
incoming_schedule != null &&
|
|
1042
|
-
equals$q(existing_schedule, incoming_schedule)))) {
|
|
658
|
+
if (!(equals$q(existing_lastModifiedBy, incoming_lastModifiedBy))) {
|
|
1043
659
|
return false;
|
|
1044
660
|
}
|
|
1045
661
|
const existing_templateSourceId = existing.templateSourceId;
|
|
@@ -1233,7 +849,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
1233
849
|
function createResourceRequest$n(config) {
|
|
1234
850
|
const headers = {};
|
|
1235
851
|
return {
|
|
1236
|
-
baseUri: '/services/data/
|
|
852
|
+
baseUri: '/services/data/v67.0',
|
|
1237
853
|
basePath: '/app-framework/apps',
|
|
1238
854
|
method: 'get',
|
|
1239
855
|
body: null,
|
|
@@ -1577,7 +1193,7 @@ function ingestSuccess$j(luvio, resourceParams, response) {
|
|
|
1577
1193
|
function createResourceRequest$m(config) {
|
|
1578
1194
|
const headers = {};
|
|
1579
1195
|
return {
|
|
1580
|
-
baseUri: '/services/data/
|
|
1196
|
+
baseUri: '/services/data/v67.0',
|
|
1581
1197
|
basePath: '/app-framework/apps',
|
|
1582
1198
|
method: 'post',
|
|
1583
1199
|
body: config.body,
|
|
@@ -1687,7 +1303,7 @@ function evictSuccess$2(luvio, resourceParams) {
|
|
|
1687
1303
|
function createResourceRequest$l(config) {
|
|
1688
1304
|
const headers = {};
|
|
1689
1305
|
return {
|
|
1690
|
-
baseUri: '/services/data/
|
|
1306
|
+
baseUri: '/services/data/v67.0',
|
|
1691
1307
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '',
|
|
1692
1308
|
method: 'delete',
|
|
1693
1309
|
body: null,
|
|
@@ -1794,7 +1410,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
1794
1410
|
function createResourceRequest$k(config) {
|
|
1795
1411
|
const headers = {};
|
|
1796
1412
|
return {
|
|
1797
|
-
baseUri: '/services/data/
|
|
1413
|
+
baseUri: '/services/data/v67.0',
|
|
1798
1414
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '',
|
|
1799
1415
|
method: 'get',
|
|
1800
1416
|
body: null,
|
|
@@ -1917,7 +1533,7 @@ function ingestSuccess$h(luvio, resourceParams, response) {
|
|
|
1917
1533
|
function createResourceRequest$j(config) {
|
|
1918
1534
|
const headers = {};
|
|
1919
1535
|
return {
|
|
1920
|
-
baseUri: '/services/data/
|
|
1536
|
+
baseUri: '/services/data/v67.0',
|
|
1921
1537
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '',
|
|
1922
1538
|
method: 'put',
|
|
1923
1539
|
body: config.body,
|
|
@@ -2305,7 +1921,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
2305
1921
|
function createResourceRequest$i(config) {
|
|
2306
1922
|
const headers = {};
|
|
2307
1923
|
return {
|
|
2308
|
-
baseUri: '/services/data/
|
|
1924
|
+
baseUri: '/services/data/v67.0',
|
|
2309
1925
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/activities',
|
|
2310
1926
|
method: 'get',
|
|
2311
1927
|
body: null,
|
|
@@ -2446,7 +2062,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
2446
2062
|
function createResourceRequest$h(config) {
|
|
2447
2063
|
const headers = {};
|
|
2448
2064
|
return {
|
|
2449
|
-
baseUri: '/services/data/
|
|
2065
|
+
baseUri: '/services/data/v67.0',
|
|
2450
2066
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/activities/' + config.urlParams.id + '',
|
|
2451
2067
|
method: 'get',
|
|
2452
2068
|
body: null,
|
|
@@ -2980,7 +2596,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
2980
2596
|
function createResourceRequest$g(config) {
|
|
2981
2597
|
const headers = {};
|
|
2982
2598
|
return {
|
|
2983
|
-
baseUri: '/services/data/
|
|
2599
|
+
baseUri: '/services/data/v67.0',
|
|
2984
2600
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/assets',
|
|
2985
2601
|
method: 'get',
|
|
2986
2602
|
body: null,
|
|
@@ -3105,7 +2721,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
|
|
|
3105
2721
|
function createResourceRequest$f(config) {
|
|
3106
2722
|
const headers = {};
|
|
3107
2723
|
return {
|
|
3108
|
-
baseUri: '/services/data/
|
|
2724
|
+
baseUri: '/services/data/v67.0',
|
|
3109
2725
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/assets',
|
|
3110
2726
|
method: 'post',
|
|
3111
2727
|
body: config.body,
|
|
@@ -3255,7 +2871,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
3255
2871
|
function createResourceRequest$e(config) {
|
|
3256
2872
|
const headers = {};
|
|
3257
2873
|
return {
|
|
3258
|
-
baseUri: '/services/data/
|
|
2874
|
+
baseUri: '/services/data/v67.0',
|
|
3259
2875
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/assets/' + config.urlParams.appAssetId + '',
|
|
3260
2876
|
method: 'get',
|
|
3261
2877
|
body: null,
|
|
@@ -3374,7 +2990,7 @@ function evictSuccess$1(luvio, resourceParams) {
|
|
|
3374
2990
|
function createResourceRequest$d(config) {
|
|
3375
2991
|
const headers = {};
|
|
3376
2992
|
return {
|
|
3377
|
-
baseUri: '/services/data/
|
|
2993
|
+
baseUri: '/services/data/v67.0',
|
|
3378
2994
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/assets/' + config.urlParams.appAssetId + '',
|
|
3379
2995
|
method: 'delete',
|
|
3380
2996
|
body: null,
|
|
@@ -3465,7 +3081,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
|
|
|
3465
3081
|
function createResourceRequest$c(config) {
|
|
3466
3082
|
const headers = {};
|
|
3467
3083
|
return {
|
|
3468
|
-
baseUri: '/services/data/
|
|
3084
|
+
baseUri: '/services/data/v67.0',
|
|
3469
3085
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/assets/' + config.urlParams.appAssetId + '',
|
|
3470
3086
|
method: 'patch',
|
|
3471
3087
|
body: config.body,
|
|
@@ -3598,7 +3214,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
|
|
|
3598
3214
|
function createResourceRequest$b(config) {
|
|
3599
3215
|
const headers = {};
|
|
3600
3216
|
return {
|
|
3601
|
-
baseUri: '/services/data/
|
|
3217
|
+
baseUri: '/services/data/v67.0',
|
|
3602
3218
|
basePath: '/app-framework/apps/' + config.urlParams.appIdOrApiName + '/updateBasicApp',
|
|
3603
3219
|
method: 'post',
|
|
3604
3220
|
body: config.body,
|
|
@@ -3800,7 +3416,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
3800
3416
|
function createResourceRequest$a(config) {
|
|
3801
3417
|
const headers = {};
|
|
3802
3418
|
return {
|
|
3803
|
-
baseUri: '/services/data/
|
|
3419
|
+
baseUri: '/services/data/v67.0',
|
|
3804
3420
|
basePath: '/app-framework/installed-assets',
|
|
3805
3421
|
method: 'get',
|
|
3806
3422
|
body: null,
|
|
@@ -5223,7 +4839,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
5223
4839
|
function createResourceRequest$9(config) {
|
|
5224
4840
|
const headers = {};
|
|
5225
4841
|
return {
|
|
5226
|
-
baseUri: '/services/data/
|
|
4842
|
+
baseUri: '/services/data/v67.0',
|
|
5227
4843
|
basePath: '/app-framework/templates',
|
|
5228
4844
|
method: 'get',
|
|
5229
4845
|
body: null,
|
|
@@ -5474,7 +5090,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
5474
5090
|
function createResourceRequest$8(config) {
|
|
5475
5091
|
const headers = {};
|
|
5476
5092
|
return {
|
|
5477
|
-
baseUri: '/services/data/
|
|
5093
|
+
baseUri: '/services/data/v67.0',
|
|
5478
5094
|
basePath: '/app-framework/templates',
|
|
5479
5095
|
method: 'post',
|
|
5480
5096
|
body: config.body,
|
|
@@ -5647,7 +5263,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
5647
5263
|
function createResourceRequest$7(config) {
|
|
5648
5264
|
const headers = {};
|
|
5649
5265
|
return {
|
|
5650
|
-
baseUri: '/services/data/
|
|
5266
|
+
baseUri: '/services/data/v67.0',
|
|
5651
5267
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '',
|
|
5652
5268
|
method: 'get',
|
|
5653
5269
|
body: null,
|
|
@@ -5835,7 +5451,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
5835
5451
|
function createResourceRequest$6(config) {
|
|
5836
5452
|
const headers = {};
|
|
5837
5453
|
return {
|
|
5838
|
-
baseUri: '/services/data/
|
|
5454
|
+
baseUri: '/services/data/v67.0',
|
|
5839
5455
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '',
|
|
5840
5456
|
method: 'patch',
|
|
5841
5457
|
body: config.body,
|
|
@@ -5929,7 +5545,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
5929
5545
|
function createResourceRequest$5(config) {
|
|
5930
5546
|
const headers = {};
|
|
5931
5547
|
return {
|
|
5932
|
-
baseUri: '/services/data/
|
|
5548
|
+
baseUri: '/services/data/v67.0',
|
|
5933
5549
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '',
|
|
5934
5550
|
method: 'delete',
|
|
5935
5551
|
body: null,
|
|
@@ -6313,7 +5929,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
6313
5929
|
function createResourceRequest$4(config) {
|
|
6314
5930
|
const headers = {};
|
|
6315
5931
|
return {
|
|
6316
|
-
baseUri: '/services/data/
|
|
5932
|
+
baseUri: '/services/data/v67.0',
|
|
6317
5933
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '/assets',
|
|
6318
5934
|
method: 'get',
|
|
6319
5935
|
body: null,
|
|
@@ -7198,7 +6814,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
7198
6814
|
function createResourceRequest$3(config) {
|
|
7199
6815
|
const headers = {};
|
|
7200
6816
|
return {
|
|
7201
|
-
baseUri: '/services/data/
|
|
6817
|
+
baseUri: '/services/data/v67.0',
|
|
7202
6818
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '/configuration',
|
|
7203
6819
|
method: 'get',
|
|
7204
6820
|
body: null,
|
|
@@ -7549,7 +7165,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
7549
7165
|
function createResourceRequest$2(config) {
|
|
7550
7166
|
const headers = {};
|
|
7551
7167
|
return {
|
|
7552
|
-
baseUri: '/services/data/
|
|
7168
|
+
baseUri: '/services/data/v67.0',
|
|
7553
7169
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '/readiness',
|
|
7554
7170
|
method: 'post',
|
|
7555
7171
|
body: config.body,
|
|
@@ -7773,7 +7389,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
7773
7389
|
function createResourceRequest$1(config) {
|
|
7774
7390
|
const headers = {};
|
|
7775
7391
|
return {
|
|
7776
|
-
baseUri: '/services/data/
|
|
7392
|
+
baseUri: '/services/data/v67.0',
|
|
7777
7393
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '/tags',
|
|
7778
7394
|
method: 'get',
|
|
7779
7395
|
body: null,
|
|
@@ -7896,7 +7512,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
7896
7512
|
function createResourceRequest(config) {
|
|
7897
7513
|
const headers = {};
|
|
7898
7514
|
return {
|
|
7899
|
-
baseUri: '/services/data/
|
|
7515
|
+
baseUri: '/services/data/v67.0',
|
|
7900
7516
|
basePath: '/app-framework/templates/' + config.urlParams.templateIdOrApiName + '/tags',
|
|
7901
7517
|
method: 'put',
|
|
7902
7518
|
body: config.body,
|