@salesforce/lds-adapters-sfap-analytics-insights 1.346.0 → 1.347.1
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/sfap-analytics-insights.js +116 -62
- package/dist/es/es2018/types/src/generated/types/MeasurementPeriod.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/MetricDefinition.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/MetricInstance.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/types/MetricInstanceInput.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/UnifiedFilter.d.ts +33 -0
- package/package.json +3 -3
- package/sfdc/index.js +117 -63
- package/src/raml/api.raml +99 -5
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:
|
|
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:
|
|
@@ -350,11 +361,13 @@ types:
|
|
|
350
361
|
properties:
|
|
351
362
|
measurementPeriod: MeasurementPeriod
|
|
352
363
|
filters:
|
|
353
|
-
description:
|
|
364
|
+
description: |-
|
|
365
|
+
DEPRECATED Please don't use this field.
|
|
366
|
+
The 'filters' and 'semantic_filters' will be ANDed together
|
|
354
367
|
type: array
|
|
355
368
|
items: Filter
|
|
356
369
|
required: false
|
|
357
|
-
semanticFilter:
|
|
370
|
+
semanticFilter:
|
|
358
371
|
type: FlattenFilter
|
|
359
372
|
required: false
|
|
360
373
|
BatchInput:
|
|
@@ -561,6 +574,9 @@ types:
|
|
|
561
574
|
sdmId:
|
|
562
575
|
type: string
|
|
563
576
|
required: true
|
|
577
|
+
measurementPeriod:
|
|
578
|
+
type: UnifiedFilter
|
|
579
|
+
required: false
|
|
564
580
|
RepresentationOptions_NumberUnits:
|
|
565
581
|
type: object
|
|
566
582
|
properties:
|
|
@@ -680,7 +696,6 @@ types:
|
|
|
680
696
|
description: Options to apply to the entire batch
|
|
681
697
|
type: BatchOptions
|
|
682
698
|
required: false
|
|
683
|
-
# TODO make these more strict
|
|
684
699
|
Filter:
|
|
685
700
|
type: object
|
|
686
701
|
properties:
|
|
@@ -717,6 +732,85 @@ types:
|
|
|
717
732
|
forecasting:
|
|
718
733
|
type: boolean
|
|
719
734
|
required: false
|
|
735
|
+
UnifiedFilter:
|
|
736
|
+
description: Message representing the Unified Filter.
|
|
737
|
+
type: object
|
|
738
|
+
properties:
|
|
739
|
+
fieldName:
|
|
740
|
+
description: tableName.ColumnName or calcFieldName
|
|
741
|
+
type: string
|
|
742
|
+
required: false
|
|
743
|
+
operator:
|
|
744
|
+
enum:
|
|
745
|
+
- Equals
|
|
746
|
+
- DoesNotEquals
|
|
747
|
+
- EqualsIgnoreCase
|
|
748
|
+
- DoesNotEqualsIgnoreCase
|
|
749
|
+
- Between
|
|
750
|
+
- LessThan
|
|
751
|
+
- LessThanOrEqualTo
|
|
752
|
+
- GreaterThan
|
|
753
|
+
- GreaterThanOrEqualTo
|
|
754
|
+
- IsEmpty
|
|
755
|
+
- IsNotEmpty
|
|
756
|
+
- Contains
|
|
757
|
+
- ContainsIgnoreCase
|
|
758
|
+
- NotContains
|
|
759
|
+
- NotContainsIgnoreCase
|
|
760
|
+
- StartsWith
|
|
761
|
+
- StartsWithIgnoreCase
|
|
762
|
+
- DoesNotStartWith
|
|
763
|
+
- DoesNotStartWithIgnoreCase
|
|
764
|
+
- EndsWith
|
|
765
|
+
- EndsWithIgnoreCase
|
|
766
|
+
- DoesNotEndWith
|
|
767
|
+
- DoesNotEndWithIgnoreCase
|
|
768
|
+
- IsNull
|
|
769
|
+
- IsNotNull
|
|
770
|
+
- LastNDays
|
|
771
|
+
- NextNDays
|
|
772
|
+
- PreviousWeek
|
|
773
|
+
- CurrentWeek
|
|
774
|
+
- NextWeek
|
|
775
|
+
- PreviousMonth
|
|
776
|
+
- CurrentMonth
|
|
777
|
+
- NextMonth
|
|
778
|
+
- PreviousQuarter
|
|
779
|
+
- CurrentQuarter
|
|
780
|
+
- NextQuarter
|
|
781
|
+
- PreviousYear
|
|
782
|
+
- CurrentYear
|
|
783
|
+
- NextYear
|
|
784
|
+
- PreviousFiscalQuarter
|
|
785
|
+
- CurrentFiscalQuarter
|
|
786
|
+
- NextFiscalQuarter
|
|
787
|
+
- PreviousFiscalYear
|
|
788
|
+
- CurrentFiscalYear
|
|
789
|
+
- NextFiscalYear
|
|
790
|
+
- PreviousMonthToDate
|
|
791
|
+
- CurrentMonthToDate
|
|
792
|
+
- PreviousQuarterToDate
|
|
793
|
+
- CurrentQuarterToDate
|
|
794
|
+
- PreviousYearToDate
|
|
795
|
+
- CurrentYearToDate
|
|
796
|
+
- PreviousFiscalQuarterToDate
|
|
797
|
+
- CurrentFiscalQuarterToDate
|
|
798
|
+
- PreviousFiscalYearToDate
|
|
799
|
+
- CurrentFiscalYearToDate
|
|
800
|
+
- Values
|
|
801
|
+
type: string
|
|
802
|
+
(amf-format): enum
|
|
803
|
+
required: false
|
|
804
|
+
values:
|
|
805
|
+
description: An array of values. All values must be of the same type. We support strings, numbers, and booleans.
|
|
806
|
+
type: array
|
|
807
|
+
items:
|
|
808
|
+
(amf-xone):
|
|
809
|
+
- type: number
|
|
810
|
+
- type: string
|
|
811
|
+
- type: boolean
|
|
812
|
+
type: any
|
|
813
|
+
required: false
|
|
720
814
|
GetFilterValuesRequest:
|
|
721
815
|
type: object
|
|
722
816
|
properties:
|
|
@@ -755,7 +849,7 @@ types:
|
|
|
755
849
|
- Equals
|
|
756
850
|
- DoesNotEquals
|
|
757
851
|
- EqualsIgnoreCase
|
|
758
|
-
-
|
|
852
|
+
- DoesNotEqualsIgnoreCase
|
|
759
853
|
- Between
|
|
760
854
|
- LessThan
|
|
761
855
|
- LessThanOrEqualTo
|