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

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
@@ -77,6 +77,44 @@ types:
77
77
  insightType:
78
78
  type: string
79
79
  required: false
80
+ GoalMetadata_StatusCondition:
81
+ type: object
82
+ properties:
83
+ statusName:
84
+ type: string
85
+ required: false
86
+ value:
87
+ type: string
88
+ required: false
89
+ operator:
90
+ enum:
91
+ - GreaterThan
92
+ - GreaterThanOrEqualTo
93
+ - LessThan
94
+ - LessThanOrEqualTo
95
+ - Equals
96
+ type: string
97
+ (amf-format): enum
98
+ required: false
99
+ color:
100
+ enum:
101
+ - CloudBlue
102
+ - Green
103
+ - Indigo
104
+ - Pink
105
+ - Red
106
+ - Teal
107
+ - Violet
108
+ - Yellow
109
+ type: string
110
+ (amf-format): enum
111
+ required: false
112
+ currencyIsoCode:
113
+ type: string
114
+ required: false
115
+ primary:
116
+ type: boolean
117
+ required: false
80
118
  Insight:
81
119
  type: object
82
120
  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,26 @@ 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
+ We do not yet have support for unbounded time ranges (less than/greater than/all time)
211
+ (amf-and):
212
+ - FlattenFilter
213
+ type: any
214
+ required: false
165
215
  RelativeDate:
166
216
  type: object
167
217
  properties:
@@ -197,6 +247,7 @@ types:
197
247
  format: int32
198
248
  required: false
199
249
  RelativePeriod:
250
+ description: The old insights time filter
200
251
  type: object
201
252
  properties:
202
253
  granularity:
@@ -309,13 +360,19 @@ types:
309
360
  MetricInstance:
310
361
  type: object
311
362
  properties:
312
- measurementPeriod: MeasurementPeriod
363
+ measurementPeriod:
364
+ (amf-and):
365
+ - MeasurementPeriod
366
+ type: any
367
+ required: false
313
368
  filters:
314
- description: The 'filters' and 'semantic_filters' will be ANDed together
369
+ description: |-
370
+ DEPRECATED Please don't use this field.
371
+ The 'filters' and 'semantic_filters' will be ANDed together
315
372
  type: array
316
373
  items: Filter
317
374
  required: false
318
- semanticFilter: # TODO delete this?
375
+ semanticFilter:
319
376
  type: FlattenFilter
320
377
  required: false
321
378
  BatchInput:
@@ -344,6 +401,9 @@ types:
344
401
  extensionOptions: ExtensionOptions
345
402
  representationOptions: RepresentationOptions
346
403
  insightsOptions: InsightsOptions
404
+ goals:
405
+ type: GoalMetadata
406
+ required: false
347
407
  TimeDimension:
348
408
  type: object
349
409
  properties:
@@ -443,6 +503,9 @@ types:
443
503
  sdm:
444
504
  type: string
445
505
  required: true
506
+ measurementPeriod:
507
+ type: UnifiedFilter
508
+ required: false
446
509
  CategoricalFilterOptions:
447
510
  type: object
448
511
  properties:
@@ -519,6 +582,9 @@ types:
519
582
  sdmId:
520
583
  type: string
521
584
  required: true
585
+ measurementPeriod:
586
+ type: UnifiedFilter
587
+ required: false
522
588
  RepresentationOptions_NumberUnits:
523
589
  type: object
524
590
  properties:
@@ -638,7 +704,6 @@ types:
638
704
  description: Options to apply to the entire batch
639
705
  type: BatchOptions
640
706
  required: false
641
- # TODO make these more strict
642
707
  Filter:
643
708
  type: object
644
709
  properties:
@@ -665,6 +730,95 @@ types:
665
730
  relativeDateFilterOptions:
666
731
  type: RelativeDateFilterOptions
667
732
  required: false
733
+ GoalMetadata:
734
+ type: object
735
+ properties:
736
+ statusConditions:
737
+ type: array
738
+ items: GoalMetadata_StatusCondition
739
+ required: false
740
+ forecasting:
741
+ type: boolean
742
+ required: false
743
+ UnifiedFilter:
744
+ description: Message representing the Unified Filter.
745
+ type: object
746
+ properties:
747
+ fieldName:
748
+ description: tableName.ColumnName or calcFieldName
749
+ type: string
750
+ required: false
751
+ operator:
752
+ enum:
753
+ - Equals
754
+ - DoesNotEquals
755
+ - EqualsIgnoreCase
756
+ - DoesNotEqualsIgnoreCase
757
+ - Between
758
+ - LessThan
759
+ - LessThanOrEqualTo
760
+ - GreaterThan
761
+ - GreaterThanOrEqualTo
762
+ - IsEmpty
763
+ - IsNotEmpty
764
+ - Contains
765
+ - ContainsIgnoreCase
766
+ - NotContains
767
+ - NotContainsIgnoreCase
768
+ - StartsWith
769
+ - StartsWithIgnoreCase
770
+ - DoesNotStartWith
771
+ - DoesNotStartWithIgnoreCase
772
+ - EndsWith
773
+ - EndsWithIgnoreCase
774
+ - DoesNotEndWith
775
+ - DoesNotEndWithIgnoreCase
776
+ - IsNull
777
+ - IsNotNull
778
+ - LastNDays
779
+ - NextNDays
780
+ - PreviousWeek
781
+ - CurrentWeek
782
+ - NextWeek
783
+ - PreviousMonth
784
+ - CurrentMonth
785
+ - NextMonth
786
+ - PreviousQuarter
787
+ - CurrentQuarter
788
+ - NextQuarter
789
+ - PreviousYear
790
+ - CurrentYear
791
+ - NextYear
792
+ - PreviousFiscalQuarter
793
+ - CurrentFiscalQuarter
794
+ - NextFiscalQuarter
795
+ - PreviousFiscalYear
796
+ - CurrentFiscalYear
797
+ - NextFiscalYear
798
+ - PreviousMonthToDate
799
+ - CurrentMonthToDate
800
+ - PreviousQuarterToDate
801
+ - CurrentQuarterToDate
802
+ - PreviousYearToDate
803
+ - CurrentYearToDate
804
+ - PreviousFiscalQuarterToDate
805
+ - CurrentFiscalQuarterToDate
806
+ - PreviousFiscalYearToDate
807
+ - CurrentFiscalYearToDate
808
+ - Values
809
+ type: string
810
+ (amf-format): enum
811
+ required: false
812
+ values:
813
+ description: An array of values. All values must be of the same type. We support strings, numbers, and booleans.
814
+ type: array
815
+ items:
816
+ (amf-xone):
817
+ - type: number
818
+ - type: string
819
+ - type: boolean
820
+ type: any
821
+ required: false
668
822
  GetFilterValuesRequest:
669
823
  type: object
670
824
  properties:
@@ -703,7 +857,7 @@ types:
703
857
  - Equals
704
858
  - DoesNotEquals
705
859
  - EqualsIgnoreCase
706
- - NotEqualsToIgnoreCase
860
+ - DoesNotEqualsIgnoreCase
707
861
  - Between
708
862
  - LessThan
709
863
  - LessThanOrEqualTo
@@ -792,25 +946,26 @@ types:
792
946
  - QUALIFIER_HIGH
793
947
  - QUALIFIER_LOW
794
948
  - QUALIFIER_EXPECTED
795
- - QUALIFIER_IN_PROGRESS
796
949
  - QUALIFIER_ON_TRACK
797
950
  - QUALIFIER_OFF_TRACK
798
951
  - QUALIFIER_ON_TRACK_TO_GOAL
799
952
  - QUALIFIER_OFF_TRACK_TO_GOAL
800
953
  - QUALIFIER_GOAL_CONDITION
954
+ - QUALIFIER_NO_STATUS
801
955
  type: string
802
956
  (amf-format): enum
803
957
  required: false
804
958
  sentiment:
805
959
  description: |-
806
960
  Represents a sentiment towards metric status.
807
- Sentiment is determined based on the metric directionality and status qualifier
961
+ Status sentiment is determined based on metric sentiment (e.g. up is good) and status qualifier
808
962
  enum:
809
963
  - SENTIMENT_UNSPECIFIED
810
964
  - SENTIMENT_POSITIVE
811
965
  - SENTIMENT_NEGATIVE
812
966
  - SENTIMENT_NEUTRAL
813
967
  - SENTIMENT_CUSTOM
968
+ - SENTIMENT_NO_SENTIMENT
814
969
  type: string
815
970
  (amf-format): enum
816
971
  required: false