@salesforce/lds-adapters-sfap-analytics-insights 1.332.0-dev16 → 1.332.0-dev18

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/src/raml/api.raml CHANGED
@@ -176,6 +176,7 @@ types:
176
176
  timeDimension: TimeDimension
177
177
  comparison: CompareConfig
178
178
  filters:
179
+ description: DEPRECATED Please don't use this field.
179
180
  type: array
180
181
  items: Filter
181
182
  required: false
@@ -191,15 +192,25 @@ types:
191
192
  properties:
192
193
  filter:
193
194
  description: |-
195
+ DEPRECATED Please don't use this field.
194
196
  Server side, we validate that :
195
197
  1. the filter type is 'range' or 'relative-date'
196
198
  2. the field is date or date-time field on the SDM
197
199
  type: Filter
198
200
  required: false
199
201
  relativePeriod:
200
- description: Define the measurement period with a granularity and a range
202
+ description: |-
203
+ DEPRECATED Please don't use this field.
204
+ Define the measurement period with a granularity and a range
201
205
  type: RelativePeriod
202
206
  required: false
207
+ semanticFilter:
208
+ description: |-
209
+ We do not yet have support for fiscal year
210
+ (amf-and):
211
+ - FlattenFilter
212
+ type: any
213
+ required: false
203
214
  RelativeDate:
204
215
  type: object
205
216
  properties:
@@ -348,13 +359,19 @@ types:
348
359
  MetricInstance:
349
360
  type: object
350
361
  properties:
351
- measurementPeriod: MeasurementPeriod
362
+ measurementPeriod:
363
+ (amf-and):
364
+ - MeasurementPeriod
365
+ type: any
366
+ required: false
352
367
  filters:
353
- description: The 'filters' and 'semantic_filters' will be ANDed together
368
+ description: |-
369
+ DEPRECATED Please don't use this field.
370
+ The 'filters' and 'semantic_filters' will be ANDed together
354
371
  type: array
355
372
  items: Filter
356
373
  required: false
357
- semanticFilter: # TODO delete this?
374
+ semanticFilter:
358
375
  type: FlattenFilter
359
376
  required: false
360
377
  BatchInput:
@@ -561,6 +578,9 @@ types:
561
578
  sdmId:
562
579
  type: string
563
580
  required: true
581
+ measurementPeriod:
582
+ type: UnifiedFilter
583
+ required: false
564
584
  RepresentationOptions_NumberUnits:
565
585
  type: object
566
586
  properties:
@@ -680,7 +700,6 @@ types:
680
700
  description: Options to apply to the entire batch
681
701
  type: BatchOptions
682
702
  required: false
683
- # TODO make these more strict
684
703
  Filter:
685
704
  type: object
686
705
  properties:
@@ -717,6 +736,85 @@ types:
717
736
  forecasting:
718
737
  type: boolean
719
738
  required: false
739
+ UnifiedFilter:
740
+ description: Message representing the Unified Filter.
741
+ type: object
742
+ properties:
743
+ fieldName:
744
+ description: tableName.ColumnName or calcFieldName
745
+ type: string
746
+ required: false
747
+ operator:
748
+ enum:
749
+ - Equals
750
+ - DoesNotEquals
751
+ - EqualsIgnoreCase
752
+ - DoesNotEqualsIgnoreCase
753
+ - Between
754
+ - LessThan
755
+ - LessThanOrEqualTo
756
+ - GreaterThan
757
+ - GreaterThanOrEqualTo
758
+ - IsEmpty
759
+ - IsNotEmpty
760
+ - Contains
761
+ - ContainsIgnoreCase
762
+ - NotContains
763
+ - NotContainsIgnoreCase
764
+ - StartsWith
765
+ - StartsWithIgnoreCase
766
+ - DoesNotStartWith
767
+ - DoesNotStartWithIgnoreCase
768
+ - EndsWith
769
+ - EndsWithIgnoreCase
770
+ - DoesNotEndWith
771
+ - DoesNotEndWithIgnoreCase
772
+ - IsNull
773
+ - IsNotNull
774
+ - LastNDays
775
+ - NextNDays
776
+ - PreviousWeek
777
+ - CurrentWeek
778
+ - NextWeek
779
+ - PreviousMonth
780
+ - CurrentMonth
781
+ - NextMonth
782
+ - PreviousQuarter
783
+ - CurrentQuarter
784
+ - NextQuarter
785
+ - PreviousYear
786
+ - CurrentYear
787
+ - NextYear
788
+ - PreviousFiscalQuarter
789
+ - CurrentFiscalQuarter
790
+ - NextFiscalQuarter
791
+ - PreviousFiscalYear
792
+ - CurrentFiscalYear
793
+ - NextFiscalYear
794
+ - PreviousMonthToDate
795
+ - CurrentMonthToDate
796
+ - PreviousQuarterToDate
797
+ - CurrentQuarterToDate
798
+ - PreviousYearToDate
799
+ - CurrentYearToDate
800
+ - PreviousFiscalQuarterToDate
801
+ - CurrentFiscalQuarterToDate
802
+ - PreviousFiscalYearToDate
803
+ - CurrentFiscalYearToDate
804
+ - Values
805
+ type: string
806
+ (amf-format): enum
807
+ required: false
808
+ values:
809
+ description: An array of values. All values must be of the same type. We support strings, numbers, and booleans.
810
+ type: array
811
+ items:
812
+ (amf-xone):
813
+ - type: number
814
+ - type: string
815
+ - type: boolean
816
+ type: any
817
+ required: false
720
818
  GetFilterValuesRequest:
721
819
  type: object
722
820
  properties:
@@ -755,7 +853,7 @@ types:
755
853
  - Equals
756
854
  - DoesNotEquals
757
855
  - EqualsIgnoreCase
758
- - NotEqualsToIgnoreCase
856
+ - DoesNotEqualsIgnoreCase
759
857
  - Between
760
858
  - LessThan
761
859
  - LessThanOrEqualTo