@salesforce/lds-adapters-sfap-analytics-insights 1.332.0-dev2 → 1.332.0-dev20

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
@@ -65,6 +65,44 @@ types:
65
65
  definitionId:
66
66
  type: string
67
67
  required: false
68
+ GoalMetadata_StatusCondition:
69
+ type: object
70
+ properties:
71
+ statusName:
72
+ type: string
73
+ required: false
74
+ value:
75
+ type: string
76
+ required: false
77
+ operator:
78
+ enum:
79
+ - GreaterThan
80
+ - GreaterThanOrEqualTo
81
+ - LessThan
82
+ - LessThanOrEqualTo
83
+ - Equals
84
+ type: string
85
+ (amf-format): enum
86
+ required: false
87
+ color:
88
+ enum:
89
+ - CloudBlue
90
+ - Green
91
+ - Indigo
92
+ - Pink
93
+ - Red
94
+ - Teal
95
+ - Violet
96
+ - Yellow
97
+ type: string
98
+ (amf-format): enum
99
+ required: false
100
+ currencyIsoCode:
101
+ type: string
102
+ required: false
103
+ primary:
104
+ type: boolean
105
+ required: false
68
106
  InsightResponse:
69
107
  type: object
70
108
  properties:
@@ -138,6 +176,7 @@ types:
138
176
  timeDimension: TimeDimension
139
177
  comparison: CompareConfig
140
178
  filters:
179
+ description: DEPRECATED Please don't use this field.
141
180
  type: array
142
181
  items: Filter
143
182
  required: false
@@ -153,15 +192,25 @@ types:
153
192
  properties:
154
193
  filter:
155
194
  description: |-
195
+ DEPRECATED Please don't use this field.
156
196
  Server side, we validate that :
157
197
  1. the filter type is 'range' or 'relative-date'
158
198
  2. the field is date or date-time field on the SDM
159
199
  type: Filter
160
200
  required: false
161
201
  relativePeriod:
162
- 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
163
205
  type: RelativePeriod
164
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
165
214
  RelativeDate:
166
215
  type: object
167
216
  properties:
@@ -197,6 +246,7 @@ types:
197
246
  format: int32
198
247
  required: false
199
248
  RelativePeriod:
249
+ description: The old insights time filter
200
250
  type: object
201
251
  properties:
202
252
  granularity:
@@ -309,13 +359,19 @@ types:
309
359
  MetricInstance:
310
360
  type: object
311
361
  properties:
312
- measurementPeriod: MeasurementPeriod
362
+ measurementPeriod:
363
+ (amf-and):
364
+ - MeasurementPeriod
365
+ type: any
366
+ required: false
313
367
  filters:
314
- 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
315
371
  type: array
316
372
  items: Filter
317
373
  required: false
318
- semanticFilter: # TODO delete this?
374
+ semanticFilter:
319
375
  type: FlattenFilter
320
376
  required: false
321
377
  BatchInput:
@@ -344,6 +400,9 @@ types:
344
400
  extensionOptions: ExtensionOptions
345
401
  representationOptions: RepresentationOptions
346
402
  insightsOptions: InsightsOptions
403
+ goals:
404
+ type: GoalMetadata
405
+ required: false
347
406
  TimeDimension:
348
407
  type: object
349
408
  properties:
@@ -519,6 +578,9 @@ types:
519
578
  sdmId:
520
579
  type: string
521
580
  required: true
581
+ measurementPeriod:
582
+ type: UnifiedFilter
583
+ required: false
522
584
  RepresentationOptions_NumberUnits:
523
585
  type: object
524
586
  properties:
@@ -638,7 +700,6 @@ types:
638
700
  description: Options to apply to the entire batch
639
701
  type: BatchOptions
640
702
  required: false
641
- # TODO make these more strict
642
703
  Filter:
643
704
  type: object
644
705
  properties:
@@ -665,6 +726,95 @@ types:
665
726
  relativeDateFilterOptions:
666
727
  type: RelativeDateFilterOptions
667
728
  required: false
729
+ GoalMetadata:
730
+ type: object
731
+ properties:
732
+ statusConditions:
733
+ type: array
734
+ items: GoalMetadata_StatusCondition
735
+ required: false
736
+ forecasting:
737
+ type: boolean
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
668
818
  GetFilterValuesRequest:
669
819
  type: object
670
820
  properties:
@@ -703,7 +853,7 @@ types:
703
853
  - Equals
704
854
  - DoesNotEquals
705
855
  - EqualsIgnoreCase
706
- - NotEqualsToIgnoreCase
856
+ - DoesNotEqualsIgnoreCase
707
857
  - Between
708
858
  - LessThan
709
859
  - LessThanOrEqualTo
@@ -792,25 +942,26 @@ types:
792
942
  - QUALIFIER_HIGH
793
943
  - QUALIFIER_LOW
794
944
  - QUALIFIER_EXPECTED
795
- - QUALIFIER_IN_PROGRESS
796
945
  - QUALIFIER_ON_TRACK
797
946
  - QUALIFIER_OFF_TRACK
798
947
  - QUALIFIER_ON_TRACK_TO_GOAL
799
948
  - QUALIFIER_OFF_TRACK_TO_GOAL
800
949
  - QUALIFIER_GOAL_CONDITION
950
+ - QUALIFIER_NO_STATUS
801
951
  type: string
802
952
  (amf-format): enum
803
953
  required: false
804
954
  sentiment:
805
955
  description: |-
806
956
  Represents a sentiment towards metric status.
807
- Sentiment is determined based on the metric directionality and status qualifier
957
+ Status sentiment is determined based on metric sentiment (e.g. up is good) and status qualifier
808
958
  enum:
809
959
  - SENTIMENT_UNSPECIFIED
810
960
  - SENTIMENT_POSITIVE
811
961
  - SENTIMENT_NEGATIVE
812
962
  - SENTIMENT_NEUTRAL
813
963
  - SENTIMENT_CUSTOM
964
+ - SENTIMENT_NO_SENTIMENT
814
965
  type: string
815
966
  (amf-format): enum
816
967
  required: false