@salesforce/lds-adapters-sfap-analytics-insights 1.309.0-dev13 → 1.309.0-dev15

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.
@@ -92,7 +92,7 @@ function createLink(ref) {
92
92
  };
93
93
  }
94
94
 
95
- function validate$H(obj, path = 'MetricMetadata') {
95
+ function validate$G(obj, path = 'MetricMetadata') {
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 + '")');
@@ -115,7 +115,7 @@ function validate$H(obj, path = 'MetricMetadata') {
115
115
  return v_error === undefined ? null : v_error;
116
116
  }
117
117
 
118
- function validate$G(obj, path = 'ExtensionOptions') {
118
+ function validate$F(obj, path = 'ExtensionOptions') {
119
119
  const v_error = (() => {
120
120
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
121
121
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -145,7 +145,7 @@ function validate$G(obj, path = 'ExtensionOptions') {
145
145
  return v_error === undefined ? null : v_error;
146
146
  }
147
147
 
148
- function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
148
+ function validate$E(obj, path = 'InsightsOptions_InsightSetting') {
149
149
  const v_error = (() => {
150
150
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
151
151
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -168,7 +168,7 @@ function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
168
168
  return v_error === undefined ? null : v_error;
169
169
  }
170
170
 
171
- function validate$E(obj, path = 'InsightsOptions') {
171
+ function validate$D(obj, path = 'InsightsOptions') {
172
172
  const v_error = (() => {
173
173
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
174
174
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -182,7 +182,7 @@ function validate$E(obj, path = 'InsightsOptions') {
182
182
  for (let i = 0; i < obj_settings.length; i++) {
183
183
  const obj_settings_item = obj_settings[i];
184
184
  const path_settings_item = path_settings + '[' + i + ']';
185
- const referencepath_settings_itemValidationError = validate$F(obj_settings_item, path_settings_item);
185
+ const referencepath_settings_itemValidationError = validate$E(obj_settings_item, path_settings_item);
186
186
  if (referencepath_settings_itemValidationError !== null) {
187
187
  let message = 'Object doesn\'t match InsightsOptions_InsightSetting (at "' + path_settings_item + '")\n';
188
188
  message += referencepath_settings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -194,7 +194,7 @@ function validate$E(obj, path = 'InsightsOptions') {
194
194
  return v_error === undefined ? null : v_error;
195
195
  }
196
196
 
197
- function validate$D(obj, path = 'CategoricalFilterOptions') {
197
+ function validate$C(obj, path = 'CategoricalFilterOptions') {
198
198
  const v_error = (() => {
199
199
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
200
200
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -231,7 +231,7 @@ function validate$D(obj, path = 'CategoricalFilterOptions') {
231
231
  return v_error === undefined ? null : v_error;
232
232
  }
233
233
 
234
- function validate$C(obj, path = 'FieldId') {
234
+ function validate$B(obj, path = 'FieldId') {
235
235
  const v_error = (() => {
236
236
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
237
237
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -261,7 +261,7 @@ function validate$C(obj, path = 'FieldId') {
261
261
  return v_error === undefined ? null : v_error;
262
262
  }
263
263
 
264
- function validate$B(obj, path = 'RangeFilterOptions') {
264
+ function validate$A(obj, path = 'RangeFilterOptions') {
265
265
  const v_error = (() => {
266
266
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
267
267
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -305,64 +305,11 @@ function validate$B(obj, path = 'RangeFilterOptions') {
305
305
  return v_error === undefined ? null : v_error;
306
306
  }
307
307
 
308
- function validate$A(obj, path = 'RelativeDate') {
309
- const v_error = (() => {
310
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
311
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
312
- }
313
- if (obj.periodType !== undefined) {
314
- const obj_periodType = obj.periodType;
315
- const path_periodType = path + '.periodType';
316
- if (typeof obj_periodType !== 'string') {
317
- return new TypeError('Expected "string" but received "' + typeof obj_periodType + '" (at "' + path_periodType + '")');
318
- }
319
- }
320
- if (obj.rangeN !== undefined) {
321
- const obj_rangeN = obj.rangeN;
322
- const path_rangeN = path + '.rangeN';
323
- if (typeof obj_rangeN !== 'number' || (typeof obj_rangeN === 'number' && Math.floor(obj_rangeN) !== obj_rangeN)) {
324
- return new TypeError('Expected "integer" but received "' + typeof obj_rangeN + '" (at "' + path_rangeN + '")');
325
- }
326
- }
327
- if (obj.rangeType !== undefined) {
328
- const obj_rangeType = obj.rangeType;
329
- const path_rangeType = path + '.rangeType';
330
- if (typeof obj_rangeType !== 'string') {
331
- return new TypeError('Expected "string" but received "' + typeof obj_rangeType + '" (at "' + path_rangeType + '")');
332
- }
333
- }
334
- })();
335
- return v_error === undefined ? null : v_error;
336
- }
337
-
338
308
  function validate$z(obj, path = 'RelativeDateFilterOptions') {
339
309
  const v_error = (() => {
340
310
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
341
311
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
342
312
  }
343
- if (obj.anchorDate !== undefined) {
344
- const obj_anchorDate = obj.anchorDate;
345
- const path_anchorDate = path + '.anchorDate';
346
- if (typeof obj_anchorDate !== 'string') {
347
- return new TypeError('Expected "string" but received "' + typeof obj_anchorDate + '" (at "' + path_anchorDate + '")');
348
- }
349
- }
350
- const obj_max = obj.max;
351
- const path_max = path + '.max';
352
- const referencepath_maxValidationError = validate$A(obj_max, path_max);
353
- if (referencepath_maxValidationError !== null) {
354
- let message = 'Object doesn\'t match RelativeDate (at "' + path_max + '")\n';
355
- message += referencepath_maxValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
356
- return new TypeError(message);
357
- }
358
- const obj_min = obj.min;
359
- const path_min = path + '.min';
360
- const referencepath_minValidationError = validate$A(obj_min, path_min);
361
- if (referencepath_minValidationError !== null) {
362
- let message = 'Object doesn\'t match RelativeDate (at "' + path_min + '")\n';
363
- message += referencepath_minValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
364
- return new TypeError(message);
365
- }
366
313
  })();
367
314
  return v_error === undefined ? null : v_error;
368
315
  }
@@ -375,7 +322,7 @@ function validate$y(obj, path = 'Filter') {
375
322
  if (obj.categoricalFilterOptions !== undefined) {
376
323
  const obj_categoricalFilterOptions = obj.categoricalFilterOptions;
377
324
  const path_categoricalFilterOptions = path + '.categoricalFilterOptions';
378
- const referencepath_categoricalFilterOptionsValidationError = validate$D(obj_categoricalFilterOptions, path_categoricalFilterOptions);
325
+ const referencepath_categoricalFilterOptionsValidationError = validate$C(obj_categoricalFilterOptions, path_categoricalFilterOptions);
379
326
  if (referencepath_categoricalFilterOptionsValidationError !== null) {
380
327
  let message = 'Object doesn\'t match CategoricalFilterOptions (at "' + path_categoricalFilterOptions + '")\n';
381
328
  message += referencepath_categoricalFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -385,7 +332,7 @@ function validate$y(obj, path = 'Filter') {
385
332
  if (obj.field !== undefined) {
386
333
  const obj_field = obj.field;
387
334
  const path_field = path + '.field';
388
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
335
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
389
336
  if (referencepath_fieldValidationError !== null) {
390
337
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
391
338
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -395,7 +342,7 @@ function validate$y(obj, path = 'Filter') {
395
342
  if (obj.fieldId !== undefined) {
396
343
  const obj_fieldId = obj.fieldId;
397
344
  const path_fieldId = path + '.fieldId';
398
- const referencepath_fieldIdValidationError = validate$C(obj_fieldId, path_fieldId);
345
+ const referencepath_fieldIdValidationError = validate$B(obj_fieldId, path_fieldId);
399
346
  if (referencepath_fieldIdValidationError !== null) {
400
347
  let message = 'Object doesn\'t match FieldId (at "' + path_fieldId + '")\n';
401
348
  message += referencepath_fieldIdValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -405,7 +352,7 @@ function validate$y(obj, path = 'Filter') {
405
352
  if (obj.rangeFilterOptions !== undefined) {
406
353
  const obj_rangeFilterOptions = obj.rangeFilterOptions;
407
354
  const path_rangeFilterOptions = path + '.rangeFilterOptions';
408
- const referencepath_rangeFilterOptionsValidationError = validate$B(obj_rangeFilterOptions, path_rangeFilterOptions);
355
+ const referencepath_rangeFilterOptionsValidationError = validate$A(obj_rangeFilterOptions, path_rangeFilterOptions);
409
356
  if (referencepath_rangeFilterOptionsValidationError !== null) {
410
357
  let message = 'Object doesn\'t match RangeFilterOptions (at "' + path_rangeFilterOptions + '")\n';
411
358
  message += referencepath_rangeFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -618,7 +565,7 @@ function validate$r(obj, path = 'Measure') {
618
565
  }
619
566
  const obj_field = obj.field;
620
567
  const path_field = path + '.field';
621
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
568
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
622
569
  if (referencepath_fieldValidationError !== null) {
623
570
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
624
571
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -651,7 +598,7 @@ function validate$p(obj, path = 'TimeDimension') {
651
598
  }
652
599
  const obj_field = obj.field;
653
600
  const path_field = path + '.field';
654
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
601
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
655
602
  if (referencepath_fieldValidationError !== null) {
656
603
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
657
604
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -797,7 +744,7 @@ function validate$l(obj, path = 'InputMetric') {
797
744
  }
798
745
  const obj_extensionOptions = obj.extensionOptions;
799
746
  const path_extensionOptions = path + '.extensionOptions';
800
- const referencepath_extensionOptionsValidationError = validate$G(obj_extensionOptions, path_extensionOptions);
747
+ const referencepath_extensionOptionsValidationError = validate$F(obj_extensionOptions, path_extensionOptions);
801
748
  if (referencepath_extensionOptionsValidationError !== null) {
802
749
  let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
803
750
  message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -805,7 +752,7 @@ function validate$l(obj, path = 'InputMetric') {
805
752
  }
806
753
  const obj_insightsOptions = obj.insightsOptions;
807
754
  const path_insightsOptions = path + '.insightsOptions';
808
- const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
755
+ const referencepath_insightsOptionsValidationError = validate$D(obj_insightsOptions, path_insightsOptions);
809
756
  if (referencepath_insightsOptionsValidationError !== null) {
810
757
  let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
811
758
  message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -846,7 +793,7 @@ function validate$k(obj, path = 'InsightBundleInput') {
846
793
  }
847
794
  const obj_metadata = obj.metadata;
848
795
  const path_metadata = path + '.metadata';
849
- const referencepath_metadataValidationError = validate$H(obj_metadata, path_metadata);
796
+ const referencepath_metadataValidationError = validate$G(obj_metadata, path_metadata);
850
797
  if (referencepath_metadataValidationError !== null) {
851
798
  let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
852
799
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -1770,7 +1717,7 @@ function typeCheckConfig$2(untrustedConfig) {
1770
1717
  config.semanticDataModel = untrustedConfig_semanticDataModel;
1771
1718
  }
1772
1719
  const untrustedConfig_field = untrustedConfig.field;
1773
- const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
1720
+ const referenceFieldIdValidationError = validate$B(untrustedConfig_field);
1774
1721
  if (referenceFieldIdValidationError === null) {
1775
1722
  config.field = untrustedConfig_field;
1776
1723
  }
@@ -1,6 +1,5 @@
1
- import { RelativeDate as RelativeDate_RelativeDate } from './RelativeDate';
2
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';
3
- export declare const VERSION = "64847ef5fd14fd8e77543cf95b735354";
2
+ export declare const VERSION = "6b5a47b90c4dee171e819d1f19bd055d";
4
3
  export declare function validate(obj: any, path?: string): TypeError | null;
5
4
  export declare const RepresentationType: string;
6
5
  export declare function normalize(input: RelativeDateFilterOptions, existing: RelativeDateFilterOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RelativeDateFilterOptionsNormalized;
@@ -15,9 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
14
  * (none)
16
15
  */
17
16
  export interface RelativeDateFilterOptionsNormalized {
18
- anchorDate?: string;
19
- max: RelativeDate_RelativeDate;
20
- min: RelativeDate_RelativeDate;
21
17
  }
22
18
  /**
23
19
  *
@@ -26,7 +22,4 @@ export interface RelativeDateFilterOptionsNormalized {
26
22
  * (none)
27
23
  */
28
24
  export interface RelativeDateFilterOptions {
29
- anchorDate?: string;
30
- max: RelativeDate_RelativeDate;
31
- min: RelativeDate_RelativeDate;
32
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-sfap-analytics-insights",
3
- "version": "1.309.0-dev13",
3
+ "version": "1.309.0-dev15",
4
4
  "description": "APIs for generating insights about metrics",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/sfap-analytics-insights.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.309.0-dev13"
43
+ "@salesforce/lds-bindings": "^1.309.0-dev15"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.309.0-dev13"
46
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev15"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -102,7 +102,7 @@ function createLink(ref) {
102
102
  };
103
103
  }
104
104
 
105
- function validate$H(obj, path = 'MetricMetadata') {
105
+ function validate$G(obj, path = 'MetricMetadata') {
106
106
  const v_error = (() => {
107
107
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
108
108
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -125,7 +125,7 @@ function validate$H(obj, path = 'MetricMetadata') {
125
125
  return v_error === undefined ? null : v_error;
126
126
  }
127
127
 
128
- function validate$G(obj, path = 'ExtensionOptions') {
128
+ function validate$F(obj, path = 'ExtensionOptions') {
129
129
  const v_error = (() => {
130
130
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
131
131
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -155,7 +155,7 @@ function validate$G(obj, path = 'ExtensionOptions') {
155
155
  return v_error === undefined ? null : v_error;
156
156
  }
157
157
 
158
- function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
158
+ function validate$E(obj, path = 'InsightsOptions_InsightSetting') {
159
159
  const v_error = (() => {
160
160
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
161
161
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -178,7 +178,7 @@ function validate$F(obj, path = 'InsightsOptions_InsightSetting') {
178
178
  return v_error === undefined ? null : v_error;
179
179
  }
180
180
 
181
- function validate$E(obj, path = 'InsightsOptions') {
181
+ function validate$D(obj, path = 'InsightsOptions') {
182
182
  const v_error = (() => {
183
183
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
184
184
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -192,7 +192,7 @@ function validate$E(obj, path = 'InsightsOptions') {
192
192
  for (let i = 0; i < obj_settings.length; i++) {
193
193
  const obj_settings_item = obj_settings[i];
194
194
  const path_settings_item = path_settings + '[' + i + ']';
195
- const referencepath_settings_itemValidationError = validate$F(obj_settings_item, path_settings_item);
195
+ const referencepath_settings_itemValidationError = validate$E(obj_settings_item, path_settings_item);
196
196
  if (referencepath_settings_itemValidationError !== null) {
197
197
  let message = 'Object doesn\'t match InsightsOptions_InsightSetting (at "' + path_settings_item + '")\n';
198
198
  message += referencepath_settings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -204,7 +204,7 @@ function validate$E(obj, path = 'InsightsOptions') {
204
204
  return v_error === undefined ? null : v_error;
205
205
  }
206
206
 
207
- function validate$D(obj, path = 'CategoricalFilterOptions') {
207
+ function validate$C(obj, path = 'CategoricalFilterOptions') {
208
208
  const v_error = (() => {
209
209
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
210
210
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -241,7 +241,7 @@ function validate$D(obj, path = 'CategoricalFilterOptions') {
241
241
  return v_error === undefined ? null : v_error;
242
242
  }
243
243
 
244
- function validate$C(obj, path = 'FieldId') {
244
+ function validate$B(obj, path = 'FieldId') {
245
245
  const v_error = (() => {
246
246
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
247
247
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -271,7 +271,7 @@ function validate$C(obj, path = 'FieldId') {
271
271
  return v_error === undefined ? null : v_error;
272
272
  }
273
273
 
274
- function validate$B(obj, path = 'RangeFilterOptions') {
274
+ function validate$A(obj, path = 'RangeFilterOptions') {
275
275
  const v_error = (() => {
276
276
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
277
277
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -315,64 +315,11 @@ function validate$B(obj, path = 'RangeFilterOptions') {
315
315
  return v_error === undefined ? null : v_error;
316
316
  }
317
317
 
318
- function validate$A(obj, path = 'RelativeDate') {
319
- const v_error = (() => {
320
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
321
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
322
- }
323
- if (obj.periodType !== undefined) {
324
- const obj_periodType = obj.periodType;
325
- const path_periodType = path + '.periodType';
326
- if (typeof obj_periodType !== 'string') {
327
- return new TypeError('Expected "string" but received "' + typeof obj_periodType + '" (at "' + path_periodType + '")');
328
- }
329
- }
330
- if (obj.rangeN !== undefined) {
331
- const obj_rangeN = obj.rangeN;
332
- const path_rangeN = path + '.rangeN';
333
- if (typeof obj_rangeN !== 'number' || (typeof obj_rangeN === 'number' && Math.floor(obj_rangeN) !== obj_rangeN)) {
334
- return new TypeError('Expected "integer" but received "' + typeof obj_rangeN + '" (at "' + path_rangeN + '")');
335
- }
336
- }
337
- if (obj.rangeType !== undefined) {
338
- const obj_rangeType = obj.rangeType;
339
- const path_rangeType = path + '.rangeType';
340
- if (typeof obj_rangeType !== 'string') {
341
- return new TypeError('Expected "string" but received "' + typeof obj_rangeType + '" (at "' + path_rangeType + '")');
342
- }
343
- }
344
- })();
345
- return v_error === undefined ? null : v_error;
346
- }
347
-
348
318
  function validate$z(obj, path = 'RelativeDateFilterOptions') {
349
319
  const v_error = (() => {
350
320
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
351
321
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
352
322
  }
353
- if (obj.anchorDate !== undefined) {
354
- const obj_anchorDate = obj.anchorDate;
355
- const path_anchorDate = path + '.anchorDate';
356
- if (typeof obj_anchorDate !== 'string') {
357
- return new TypeError('Expected "string" but received "' + typeof obj_anchorDate + '" (at "' + path_anchorDate + '")');
358
- }
359
- }
360
- const obj_max = obj.max;
361
- const path_max = path + '.max';
362
- const referencepath_maxValidationError = validate$A(obj_max, path_max);
363
- if (referencepath_maxValidationError !== null) {
364
- let message = 'Object doesn\'t match RelativeDate (at "' + path_max + '")\n';
365
- message += referencepath_maxValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
366
- return new TypeError(message);
367
- }
368
- const obj_min = obj.min;
369
- const path_min = path + '.min';
370
- const referencepath_minValidationError = validate$A(obj_min, path_min);
371
- if (referencepath_minValidationError !== null) {
372
- let message = 'Object doesn\'t match RelativeDate (at "' + path_min + '")\n';
373
- message += referencepath_minValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
374
- return new TypeError(message);
375
- }
376
323
  })();
377
324
  return v_error === undefined ? null : v_error;
378
325
  }
@@ -385,7 +332,7 @@ function validate$y(obj, path = 'Filter') {
385
332
  if (obj.categoricalFilterOptions !== undefined) {
386
333
  const obj_categoricalFilterOptions = obj.categoricalFilterOptions;
387
334
  const path_categoricalFilterOptions = path + '.categoricalFilterOptions';
388
- const referencepath_categoricalFilterOptionsValidationError = validate$D(obj_categoricalFilterOptions, path_categoricalFilterOptions);
335
+ const referencepath_categoricalFilterOptionsValidationError = validate$C(obj_categoricalFilterOptions, path_categoricalFilterOptions);
389
336
  if (referencepath_categoricalFilterOptionsValidationError !== null) {
390
337
  let message = 'Object doesn\'t match CategoricalFilterOptions (at "' + path_categoricalFilterOptions + '")\n';
391
338
  message += referencepath_categoricalFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -395,7 +342,7 @@ function validate$y(obj, path = 'Filter') {
395
342
  if (obj.field !== undefined) {
396
343
  const obj_field = obj.field;
397
344
  const path_field = path + '.field';
398
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
345
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
399
346
  if (referencepath_fieldValidationError !== null) {
400
347
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
401
348
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -405,7 +352,7 @@ function validate$y(obj, path = 'Filter') {
405
352
  if (obj.fieldId !== undefined) {
406
353
  const obj_fieldId = obj.fieldId;
407
354
  const path_fieldId = path + '.fieldId';
408
- const referencepath_fieldIdValidationError = validate$C(obj_fieldId, path_fieldId);
355
+ const referencepath_fieldIdValidationError = validate$B(obj_fieldId, path_fieldId);
409
356
  if (referencepath_fieldIdValidationError !== null) {
410
357
  let message = 'Object doesn\'t match FieldId (at "' + path_fieldId + '")\n';
411
358
  message += referencepath_fieldIdValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -415,7 +362,7 @@ function validate$y(obj, path = 'Filter') {
415
362
  if (obj.rangeFilterOptions !== undefined) {
416
363
  const obj_rangeFilterOptions = obj.rangeFilterOptions;
417
364
  const path_rangeFilterOptions = path + '.rangeFilterOptions';
418
- const referencepath_rangeFilterOptionsValidationError = validate$B(obj_rangeFilterOptions, path_rangeFilterOptions);
365
+ const referencepath_rangeFilterOptionsValidationError = validate$A(obj_rangeFilterOptions, path_rangeFilterOptions);
419
366
  if (referencepath_rangeFilterOptionsValidationError !== null) {
420
367
  let message = 'Object doesn\'t match RangeFilterOptions (at "' + path_rangeFilterOptions + '")\n';
421
368
  message += referencepath_rangeFilterOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -628,7 +575,7 @@ function validate$r(obj, path = 'Measure') {
628
575
  }
629
576
  const obj_field = obj.field;
630
577
  const path_field = path + '.field';
631
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
578
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
632
579
  if (referencepath_fieldValidationError !== null) {
633
580
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
634
581
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -661,7 +608,7 @@ function validate$p(obj, path = 'TimeDimension') {
661
608
  }
662
609
  const obj_field = obj.field;
663
610
  const path_field = path + '.field';
664
- const referencepath_fieldValidationError = validate$C(obj_field, path_field);
611
+ const referencepath_fieldValidationError = validate$B(obj_field, path_field);
665
612
  if (referencepath_fieldValidationError !== null) {
666
613
  let message = 'Object doesn\'t match FieldId (at "' + path_field + '")\n';
667
614
  message += referencepath_fieldValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -807,7 +754,7 @@ function validate$l(obj, path = 'InputMetric') {
807
754
  }
808
755
  const obj_extensionOptions = obj.extensionOptions;
809
756
  const path_extensionOptions = path + '.extensionOptions';
810
- const referencepath_extensionOptionsValidationError = validate$G(obj_extensionOptions, path_extensionOptions);
757
+ const referencepath_extensionOptionsValidationError = validate$F(obj_extensionOptions, path_extensionOptions);
811
758
  if (referencepath_extensionOptionsValidationError !== null) {
812
759
  let message = 'Object doesn\'t match ExtensionOptions (at "' + path_extensionOptions + '")\n';
813
760
  message += referencepath_extensionOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -815,7 +762,7 @@ function validate$l(obj, path = 'InputMetric') {
815
762
  }
816
763
  const obj_insightsOptions = obj.insightsOptions;
817
764
  const path_insightsOptions = path + '.insightsOptions';
818
- const referencepath_insightsOptionsValidationError = validate$E(obj_insightsOptions, path_insightsOptions);
765
+ const referencepath_insightsOptionsValidationError = validate$D(obj_insightsOptions, path_insightsOptions);
819
766
  if (referencepath_insightsOptionsValidationError !== null) {
820
767
  let message = 'Object doesn\'t match InsightsOptions (at "' + path_insightsOptions + '")\n';
821
768
  message += referencepath_insightsOptionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -856,7 +803,7 @@ function validate$k(obj, path = 'InsightBundleInput') {
856
803
  }
857
804
  const obj_metadata = obj.metadata;
858
805
  const path_metadata = path + '.metadata';
859
- const referencepath_metadataValidationError = validate$H(obj_metadata, path_metadata);
806
+ const referencepath_metadataValidationError = validate$G(obj_metadata, path_metadata);
860
807
  if (referencepath_metadataValidationError !== null) {
861
808
  let message = 'Object doesn\'t match MetricMetadata (at "' + path_metadata + '")\n';
862
809
  message += referencepath_metadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -3257,7 +3204,7 @@ function typeCheckConfig(untrustedConfig) {
3257
3204
  config.semanticDataModel = untrustedConfig_semanticDataModel;
3258
3205
  }
3259
3206
  const untrustedConfig_field = untrustedConfig.field;
3260
- const referenceFieldIdValidationError = validate$C(untrustedConfig_field);
3207
+ const referenceFieldIdValidationError = validate$B(untrustedConfig_field);
3261
3208
  if (referenceFieldIdValidationError === null) {
3262
3209
  config.field = untrustedConfig_field;
3263
3210
  }
@@ -3361,4 +3308,4 @@ withDefaultLuvio((luvio) => {
3361
3308
  });
3362
3309
 
3363
3310
  export { createInsightsBatch, generateInsights, getInsightsBatch, getInsightsBatchNotifyChange, getInsightsBatch_imperative, getMetricFilterValues };
3364
- // version: 1.309.0-dev13-f443187b81
3311
+ // version: 1.309.0-dev15-880a224b78
package/src/raml/api.raml CHANGED
@@ -573,12 +573,6 @@ types:
573
573
  required: false
574
574
  RelativeDateFilterOptions:
575
575
  type: object
576
- properties:
577
- min: RelativeDate
578
- max: RelativeDate
579
- anchorDate:
580
- type: string
581
- required: false
582
576
  GetFilterValuesResponse:
583
577
  type: object
584
578
  properties: