@salesforce/lds-adapters-analytics-wave-private 1.286.0 → 1.287.0-dev2

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.
@@ -316,7 +316,7 @@ const executeSoqlQueryPostAdapterFactory = (luvio) => function WAVE__executeSoql
316
316
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
317
317
  };
318
318
 
319
- const VERSION$2 = "9e681ab82c528c8089c98c05156af0bc";
319
+ const VERSION$2 = "8414479b5bce7ab7da1015deb3422035";
320
320
  function validate$2(obj, path = 'TemplateSetupTaskRepresentation') {
321
321
  const v_error = (() => {
322
322
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -346,6 +346,13 @@ function validate$2(obj, path = 'TemplateSetupTaskRepresentation') {
346
346
  return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
347
347
  }
348
348
  }
349
+ if (obj.endDate !== undefined) {
350
+ const obj_endDate = obj.endDate;
351
+ const path_endDate = path + '.endDate';
352
+ if (typeof obj_endDate !== 'string') {
353
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
354
+ }
355
+ }
349
356
  if (obj.error !== undefined) {
350
357
  const obj_error = obj.error;
351
358
  const path_error = path + '.error';
@@ -365,6 +372,13 @@ function validate$2(obj, path = 'TemplateSetupTaskRepresentation') {
365
372
  return new TypeError('Expected "string" but received "' + typeof obj_setupUrl + '" (at "' + path_setupUrl + '")');
366
373
  }
367
374
  }
375
+ if (obj.startDate !== undefined) {
376
+ const obj_startDate = obj.startDate;
377
+ const path_startDate = path + '.startDate';
378
+ if (typeof obj_startDate !== 'string') {
379
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
380
+ }
381
+ }
368
382
  const obj_status = obj.status;
369
383
  const path_status = path + '.status';
370
384
  if (typeof obj_status !== 'string') {
@@ -399,6 +413,11 @@ const select$4 = function TemplateSetupTaskRepresentationSelect() {
399
413
  kind: 'Scalar',
400
414
  required: false
401
415
  },
416
+ {
417
+ name: 'endDate',
418
+ kind: 'Scalar',
419
+ required: false
420
+ },
402
421
  {
403
422
  name: 'error',
404
423
  kind: 'Scalar',
@@ -413,6 +432,11 @@ const select$4 = function TemplateSetupTaskRepresentationSelect() {
413
432
  kind: 'Scalar',
414
433
  required: false
415
434
  },
435
+ {
436
+ name: 'startDate',
437
+ kind: 'Scalar',
438
+ required: false
439
+ },
416
440
  {
417
441
  name: 'status',
418
442
  kind: 'Scalar'
@@ -460,6 +484,19 @@ function equals$2(existing, incoming) {
460
484
  return false;
461
485
  }
462
486
  }
487
+ const existing_endDate = existing.endDate;
488
+ const incoming_endDate = incoming.endDate;
489
+ // if at least one of these optionals is defined
490
+ if (existing_endDate !== undefined || incoming_endDate !== undefined) {
491
+ // if one of these is not defined we know the other is defined and therefore
492
+ // not equal
493
+ if (existing_endDate === undefined || incoming_endDate === undefined) {
494
+ return false;
495
+ }
496
+ if (!(existing_endDate === incoming_endDate)) {
497
+ return false;
498
+ }
499
+ }
463
500
  const existing_error = existing.error;
464
501
  const incoming_error = incoming.error;
465
502
  // if at least one of these optionals is defined
@@ -491,6 +528,19 @@ function equals$2(existing, incoming) {
491
528
  return false;
492
529
  }
493
530
  }
531
+ const existing_startDate = existing.startDate;
532
+ const incoming_startDate = incoming.startDate;
533
+ // if at least one of these optionals is defined
534
+ if (existing_startDate !== undefined || incoming_startDate !== undefined) {
535
+ // if one of these is not defined we know the other is defined and therefore
536
+ // not equal
537
+ if (existing_startDate === undefined || incoming_startDate === undefined) {
538
+ return false;
539
+ }
540
+ if (!(existing_startDate === incoming_startDate)) {
541
+ return false;
542
+ }
543
+ }
494
544
  const existing_status = existing.status;
495
545
  const incoming_status = incoming.status;
496
546
  if (!(existing_status === incoming_status)) {
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "9e681ab82c528c8089c98c05156af0bc";
2
+ export declare const VERSION = "8414479b5bce7ab7da1015deb3422035";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: TemplateSetupTaskRepresentation, existing: TemplateSetupTaskRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TemplateSetupTaskRepresentationNormalized;
@@ -22,12 +22,16 @@ export interface TemplateSetupTaskRepresentationNormalized {
22
22
  duration?: number;
23
23
  /** Is the resulting setup for this task enabled. */
24
24
  enabled?: boolean;
25
+ /** The End Date timestamp of the task. */
26
+ endDate?: string;
25
27
  /** Any error message if the task's last execution failed. */
26
28
  error?: string;
27
29
  /** The task name. */
28
30
  name: string;
29
31
  /** The url or url path to perform the task configuration manually. Typically only shown on error. */
30
32
  setupUrl?: string;
33
+ /** The Start Date timestamp of the task. */
34
+ startDate?: string;
31
35
  /** The task's last execution status. */
32
36
  status: string;
33
37
  }
@@ -42,8 +46,10 @@ export interface TemplateSetupTaskRepresentation {
42
46
  details?: string;
43
47
  duration?: number;
44
48
  enabled?: boolean;
49
+ endDate?: string;
45
50
  error?: string;
46
51
  name: string;
47
52
  setupUrl?: string;
53
+ startDate?: string;
48
54
  status: string;
49
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-wave-private",
3
- "version": "1.286.0",
3
+ "version": "1.287.0-dev2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The Einstein Analytics family of APIs that are not publically exposed",
6
6
  "main": "dist/es/es2018/analytics-wave-private.js",
@@ -63,11 +63,11 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@salesforce/lds-bindings": "^1.286.0"
66
+ "@salesforce/lds-bindings": "^1.287.0-dev2"
67
67
  },
68
68
  "devDependencies": {
69
- "@salesforce/lds-compiler-plugins": "^1.286.0",
70
- "@salesforce/lds-karma": "^1.286.0"
69
+ "@salesforce/lds-compiler-plugins": "^1.287.0-dev2",
70
+ "@salesforce/lds-karma": "^1.287.0-dev2"
71
71
  },
72
72
  "volta": {
73
73
  "extends": "../../package.json"
package/sfdc/index.js CHANGED
@@ -326,7 +326,7 @@ const executeSoqlQueryPostAdapterFactory = (luvio) => function WAVE__executeSoql
326
326
  buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
327
327
  };
328
328
 
329
- const VERSION$2 = "9e681ab82c528c8089c98c05156af0bc";
329
+ const VERSION$2 = "8414479b5bce7ab7da1015deb3422035";
330
330
  function validate$2(obj, path = 'TemplateSetupTaskRepresentation') {
331
331
  const v_error = (() => {
332
332
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -356,6 +356,13 @@ function validate$2(obj, path = 'TemplateSetupTaskRepresentation') {
356
356
  return new TypeError('Expected "boolean" but received "' + typeof obj_enabled + '" (at "' + path_enabled + '")');
357
357
  }
358
358
  }
359
+ if (obj.endDate !== undefined) {
360
+ const obj_endDate = obj.endDate;
361
+ const path_endDate = path + '.endDate';
362
+ if (typeof obj_endDate !== 'string') {
363
+ return new TypeError('Expected "string" but received "' + typeof obj_endDate + '" (at "' + path_endDate + '")');
364
+ }
365
+ }
359
366
  if (obj.error !== undefined) {
360
367
  const obj_error = obj.error;
361
368
  const path_error = path + '.error';
@@ -375,6 +382,13 @@ function validate$2(obj, path = 'TemplateSetupTaskRepresentation') {
375
382
  return new TypeError('Expected "string" but received "' + typeof obj_setupUrl + '" (at "' + path_setupUrl + '")');
376
383
  }
377
384
  }
385
+ if (obj.startDate !== undefined) {
386
+ const obj_startDate = obj.startDate;
387
+ const path_startDate = path + '.startDate';
388
+ if (typeof obj_startDate !== 'string') {
389
+ return new TypeError('Expected "string" but received "' + typeof obj_startDate + '" (at "' + path_startDate + '")');
390
+ }
391
+ }
378
392
  const obj_status = obj.status;
379
393
  const path_status = path + '.status';
380
394
  if (typeof obj_status !== 'string') {
@@ -409,6 +423,11 @@ const select$4 = function TemplateSetupTaskRepresentationSelect() {
409
423
  kind: 'Scalar',
410
424
  required: false
411
425
  },
426
+ {
427
+ name: 'endDate',
428
+ kind: 'Scalar',
429
+ required: false
430
+ },
412
431
  {
413
432
  name: 'error',
414
433
  kind: 'Scalar',
@@ -423,6 +442,11 @@ const select$4 = function TemplateSetupTaskRepresentationSelect() {
423
442
  kind: 'Scalar',
424
443
  required: false
425
444
  },
445
+ {
446
+ name: 'startDate',
447
+ kind: 'Scalar',
448
+ required: false
449
+ },
426
450
  {
427
451
  name: 'status',
428
452
  kind: 'Scalar'
@@ -470,6 +494,19 @@ function equals$2(existing, incoming) {
470
494
  return false;
471
495
  }
472
496
  }
497
+ const existing_endDate = existing.endDate;
498
+ const incoming_endDate = incoming.endDate;
499
+ // if at least one of these optionals is defined
500
+ if (existing_endDate !== undefined || incoming_endDate !== undefined) {
501
+ // if one of these is not defined we know the other is defined and therefore
502
+ // not equal
503
+ if (existing_endDate === undefined || incoming_endDate === undefined) {
504
+ return false;
505
+ }
506
+ if (!(existing_endDate === incoming_endDate)) {
507
+ return false;
508
+ }
509
+ }
473
510
  const existing_error = existing.error;
474
511
  const incoming_error = incoming.error;
475
512
  // if at least one of these optionals is defined
@@ -501,6 +538,19 @@ function equals$2(existing, incoming) {
501
538
  return false;
502
539
  }
503
540
  }
541
+ const existing_startDate = existing.startDate;
542
+ const incoming_startDate = incoming.startDate;
543
+ // if at least one of these optionals is defined
544
+ if (existing_startDate !== undefined || incoming_startDate !== undefined) {
545
+ // if one of these is not defined we know the other is defined and therefore
546
+ // not equal
547
+ if (existing_startDate === undefined || incoming_startDate === undefined) {
548
+ return false;
549
+ }
550
+ if (!(existing_startDate === incoming_startDate)) {
551
+ return false;
552
+ }
553
+ }
504
554
  const existing_status = existing.status;
505
555
  const incoming_status = incoming.status;
506
556
  if (!(existing_status === incoming_status)) {
@@ -1170,4 +1220,4 @@ withDefaultLuvio((luvio) => {
1170
1220
  });
1171
1221
 
1172
1222
  export { executeSoqlQueryPost, executeSoqlQueryPost_imperative, executeTemplateSetupPlan, getTemplateSetupPlan, getTemplateSetupPlanNotifyChange, getTemplateSetupPlan_imperative };
1173
- // version: 1.286.0-27bef7c46
1223
+ // version: 1.287.0-dev2-0906f6561
package/src/raml/api.raml CHANGED
@@ -155,6 +155,10 @@ types:
155
155
  description: Is the resulting setup for this task enabled.
156
156
  type: boolean
157
157
  required: false # TODO Hand-rolled W-8253396
158
+ endDate:
159
+ description: The End Date timestamp of the task.
160
+ type: string
161
+ required: false # TODO Hand-rolled W-8253396
158
162
  error:
159
163
  description: Any error message if the task's last execution failed.
160
164
  type: string
@@ -167,6 +171,10 @@ types:
167
171
  Typically only shown on error.
168
172
  type: string
169
173
  required: false # TODO Hand-rolled W-8253396
174
+ startDate:
175
+ description: The Start Date timestamp of the task.
176
+ type: string
177
+ required: false # TODO Hand-rolled W-8253396
170
178
  status:
171
179
  description: The task's last execution status.
172
180
  type: string