@salesforce/lds-adapters-sfap-analytics-insights 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/sfap-analytics-insights.js +3750 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createInsightsBatch.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/generateInsights.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/generateInsightsBasic.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/getInsightsBatch.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getMetricFilterValues.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/getAnalyticsInsightsV1BatchesByBatchId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1BasicGenerateBundle.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1Batches.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1FilterValues.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1GenerateBundle.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/types/BatchInput.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/BatchOptions.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/CategoricalFilterOptions.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CompareConfig.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/Error.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ExtensionOptions.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FieldId.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/Filter.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/FlattenFilter.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchRequest.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchResponse.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleRequest.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleResponse.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleV2Request.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesRequest.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse_CategoricalValues.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/GetInsightBatchResponse.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/GoalMetadata.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/GoalMetadata_StatusCondition.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/InputMetric.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/Insight.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/InsightBundle.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/InsightBundleInput.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/InsightBundleOptions.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/InsightFeedbackMetadata.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/InsightGroup.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/InsightResponse.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/InsightsOptions.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/InsightsOptions_InsightSetting.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/Measure.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/MeasurementPeriod.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/MetricDefinition.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/MetricInstance.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/MetricInstanceInput.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/MetricMetadata.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/Overview.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/OverviewResponse.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RangeFilterOptions.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RelativeDate.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/RelativeDateFilterOptions.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/RelativePeriod.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RepresentationOptions.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RepresentationOptions_NumberUnits.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticDataModel.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/SemanticFilter.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SummarizationOptions.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/Summary.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SummaryResponse.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/TimeDimension.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/UnifiedFilter.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +3847 -0
- package/src/raml/api.raml +1198 -0
- package/src/raml/luvio.raml +53 -0
|
@@ -0,0 +1,1198 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
types:
|
|
3
|
+
SummaryResponse:
|
|
4
|
+
type: object
|
|
5
|
+
properties:
|
|
6
|
+
result: Summary
|
|
7
|
+
error:
|
|
8
|
+
type: Error
|
|
9
|
+
required: false
|
|
10
|
+
InsightGroup:
|
|
11
|
+
type: object
|
|
12
|
+
properties:
|
|
13
|
+
type:
|
|
14
|
+
type: string
|
|
15
|
+
required: false
|
|
16
|
+
insights:
|
|
17
|
+
type: array
|
|
18
|
+
items: InsightResponse
|
|
19
|
+
required: false
|
|
20
|
+
overviews:
|
|
21
|
+
type: array
|
|
22
|
+
items: OverviewResponse
|
|
23
|
+
required: false
|
|
24
|
+
error:
|
|
25
|
+
type: Error
|
|
26
|
+
required: false
|
|
27
|
+
GetFilterValuesResponse_CategoricalValues:
|
|
28
|
+
type: object
|
|
29
|
+
properties:
|
|
30
|
+
values:
|
|
31
|
+
description: |-
|
|
32
|
+
Single page of field values. grpc built-in generic value that covers all data types.
|
|
33
|
+
Support both text field(e.g. State, City) and discrete numeric field(E.g. Postal Code)
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: string | number | boolean | nil
|
|
37
|
+
required: false
|
|
38
|
+
InsightsOptions_InsightSetting:
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
type:
|
|
42
|
+
enum:
|
|
43
|
+
- INSIGHT_TYPE_UNSPECIFIED
|
|
44
|
+
- INSIGHT_TYPE_RISKY_MONOPOLY
|
|
45
|
+
- INSIGHT_TYPE_TOP_DRIVERS
|
|
46
|
+
- INSIGHT_TYPE_RECORD_LEVEL_OUTLIERS
|
|
47
|
+
- INSIGHT_TYPE_CURRENT_TREND
|
|
48
|
+
- INSIGHT_TYPE_NEW_TREND
|
|
49
|
+
- INSIGHT_TYPE_TOP_DIMENSION_MEMBER_MOVERS
|
|
50
|
+
- INSIGHT_TYPE_METRIC_FORECAST
|
|
51
|
+
- INSIGHT_TYPE_BOTTOM_CONTRIBUTORS
|
|
52
|
+
- INSIGHT_TYPE_TOP_DETRACTORS
|
|
53
|
+
type: string
|
|
54
|
+
(amf-format): enum
|
|
55
|
+
required: false
|
|
56
|
+
disabled:
|
|
57
|
+
type: boolean
|
|
58
|
+
required: false
|
|
59
|
+
MetricMetadata:
|
|
60
|
+
type: object
|
|
61
|
+
properties:
|
|
62
|
+
name:
|
|
63
|
+
type: string
|
|
64
|
+
required: false
|
|
65
|
+
definitionId:
|
|
66
|
+
type: string
|
|
67
|
+
required: false
|
|
68
|
+
InsightResponse:
|
|
69
|
+
type: object
|
|
70
|
+
properties:
|
|
71
|
+
result:
|
|
72
|
+
type: Insight
|
|
73
|
+
required: false
|
|
74
|
+
error:
|
|
75
|
+
type: Error
|
|
76
|
+
required: false
|
|
77
|
+
insightType:
|
|
78
|
+
type: string
|
|
79
|
+
required: false
|
|
80
|
+
GenerateInsightBundleV2Request:
|
|
81
|
+
type: object
|
|
82
|
+
properties:
|
|
83
|
+
type:
|
|
84
|
+
description: The bundle type to request
|
|
85
|
+
enum:
|
|
86
|
+
- INSIGHT_BUNDLE_TYPE_UNSPECIFIED
|
|
87
|
+
- INSIGHT_BUNDLE_TYPE_BAN
|
|
88
|
+
- INSIGHT_BUNDLE_TYPE_SPRINGBOARD
|
|
89
|
+
- INSIGHT_BUNDLE_TYPE_DETAIL
|
|
90
|
+
- INSIGHT_BUNDLE_TYPE_BASIC
|
|
91
|
+
type: string
|
|
92
|
+
(amf-format): enum
|
|
93
|
+
required: false
|
|
94
|
+
version:
|
|
95
|
+
description: The version of the bundle type to request
|
|
96
|
+
type: number
|
|
97
|
+
format: int32
|
|
98
|
+
required: false
|
|
99
|
+
sdmId:
|
|
100
|
+
type: string
|
|
101
|
+
required: false
|
|
102
|
+
metricId:
|
|
103
|
+
type: string
|
|
104
|
+
required: false
|
|
105
|
+
metricInstance: MetricInstance
|
|
106
|
+
comparison:
|
|
107
|
+
description: For period over period insights, whether the comparison period is the prior period, or the same period the previous year. If not specified, defaults to TIME_COMPARISON_PREVIOUS_PERIOD
|
|
108
|
+
enum:
|
|
109
|
+
- TIME_COMPARISON_UNSPECIFIED
|
|
110
|
+
- TIME_COMPARISON_NONE
|
|
111
|
+
- TIME_COMPARISON_PREVIOUS_PERIOD
|
|
112
|
+
- TIME_COMPARISON_YEAR_AGO_PERIOD
|
|
113
|
+
type: string
|
|
114
|
+
(amf-format): enum
|
|
115
|
+
required: false
|
|
116
|
+
bundleId:
|
|
117
|
+
description: An identifier used in logging (ie. A client could use the submetric id here)
|
|
118
|
+
type: string
|
|
119
|
+
required: false
|
|
120
|
+
options:
|
|
121
|
+
description: Options affecting the generation of the bundle
|
|
122
|
+
(amf-and):
|
|
123
|
+
- InsightBundleOptions
|
|
124
|
+
type: any
|
|
125
|
+
required: false
|
|
126
|
+
GoalMetadata_StatusCondition:
|
|
127
|
+
type: object
|
|
128
|
+
properties:
|
|
129
|
+
statusName:
|
|
130
|
+
type: string
|
|
131
|
+
required: false
|
|
132
|
+
value:
|
|
133
|
+
type: string
|
|
134
|
+
required: false
|
|
135
|
+
operator:
|
|
136
|
+
enum:
|
|
137
|
+
- GreaterThan
|
|
138
|
+
- GreaterThanOrEqualTo
|
|
139
|
+
- LessThan
|
|
140
|
+
- LessThanOrEqualTo
|
|
141
|
+
- Equals
|
|
142
|
+
type: string
|
|
143
|
+
(amf-format): enum
|
|
144
|
+
required: false
|
|
145
|
+
color:
|
|
146
|
+
enum:
|
|
147
|
+
- CloudBlue
|
|
148
|
+
- Green
|
|
149
|
+
- Indigo
|
|
150
|
+
- Pink
|
|
151
|
+
- Red
|
|
152
|
+
- Teal
|
|
153
|
+
- Violet
|
|
154
|
+
- Yellow
|
|
155
|
+
type: string
|
|
156
|
+
(amf-format): enum
|
|
157
|
+
required: false
|
|
158
|
+
currencyIsoCode:
|
|
159
|
+
type: string
|
|
160
|
+
required: false
|
|
161
|
+
primary:
|
|
162
|
+
type: boolean
|
|
163
|
+
required: false
|
|
164
|
+
Insight:
|
|
165
|
+
type: object
|
|
166
|
+
properties:
|
|
167
|
+
type:
|
|
168
|
+
type: string
|
|
169
|
+
required: false
|
|
170
|
+
version:
|
|
171
|
+
type: number
|
|
172
|
+
format: int32
|
|
173
|
+
required: false
|
|
174
|
+
markup:
|
|
175
|
+
type: string
|
|
176
|
+
required: false
|
|
177
|
+
viz:
|
|
178
|
+
type: any
|
|
179
|
+
required: false
|
|
180
|
+
facts:
|
|
181
|
+
type: any
|
|
182
|
+
required: false
|
|
183
|
+
characterization:
|
|
184
|
+
enum:
|
|
185
|
+
- CHARACTERIZATION_UNSPECIFIED
|
|
186
|
+
- CHARACTERIZATION_NORMAL
|
|
187
|
+
- CHARACTERIZATION_UNUSUAL
|
|
188
|
+
type: string
|
|
189
|
+
(amf-format): enum
|
|
190
|
+
required: false
|
|
191
|
+
question:
|
|
192
|
+
type: string
|
|
193
|
+
required: false
|
|
194
|
+
score:
|
|
195
|
+
type: number
|
|
196
|
+
format: double
|
|
197
|
+
required: false
|
|
198
|
+
id:
|
|
199
|
+
type: string
|
|
200
|
+
required: false
|
|
201
|
+
insightFeedbackMetadata: InsightFeedbackMetadata
|
|
202
|
+
Error:
|
|
203
|
+
type: object
|
|
204
|
+
properties:
|
|
205
|
+
code:
|
|
206
|
+
type: string
|
|
207
|
+
required: false
|
|
208
|
+
message:
|
|
209
|
+
type: string
|
|
210
|
+
required: false
|
|
211
|
+
SemanticDataModel:
|
|
212
|
+
type: object
|
|
213
|
+
properties:
|
|
214
|
+
apiName:
|
|
215
|
+
type: string
|
|
216
|
+
required: false
|
|
217
|
+
MetricDefinition:
|
|
218
|
+
type: object
|
|
219
|
+
properties:
|
|
220
|
+
semanticDataModel: SemanticDataModel
|
|
221
|
+
measure: Measure
|
|
222
|
+
timeDimension: TimeDimension
|
|
223
|
+
comparison: CompareConfig
|
|
224
|
+
filters:
|
|
225
|
+
description: DEPRECATED Please don't use this field.
|
|
226
|
+
type: array
|
|
227
|
+
items: Filter
|
|
228
|
+
required: false
|
|
229
|
+
runningTotal:
|
|
230
|
+
type: boolean
|
|
231
|
+
required: false
|
|
232
|
+
semanticFilter:
|
|
233
|
+
description: The 'filters' and 'semantic_filters' will be ANDed together
|
|
234
|
+
type: FlattenFilter
|
|
235
|
+
required: false
|
|
236
|
+
MeasurementPeriod:
|
|
237
|
+
type: object
|
|
238
|
+
properties:
|
|
239
|
+
filter:
|
|
240
|
+
description: |-
|
|
241
|
+
DEPRECATED Please don't use this field.
|
|
242
|
+
Server side, we validate that :
|
|
243
|
+
1. the filter type is 'range' or 'relative-date'
|
|
244
|
+
2. the field is date or date-time field on the SDM
|
|
245
|
+
type: Filter
|
|
246
|
+
required: false
|
|
247
|
+
relativePeriod:
|
|
248
|
+
description: |-
|
|
249
|
+
DEPRECATED Please don't use this field.
|
|
250
|
+
Define the measurement period with a granularity and a range
|
|
251
|
+
type: RelativePeriod
|
|
252
|
+
required: false
|
|
253
|
+
semanticFilter:
|
|
254
|
+
description: |-
|
|
255
|
+
We do not yet have support for fiscal year
|
|
256
|
+
We do not yet have support for unbounded time ranges (less than/greater than/all time)
|
|
257
|
+
(amf-and):
|
|
258
|
+
- FlattenFilter
|
|
259
|
+
type: any
|
|
260
|
+
required: false
|
|
261
|
+
RelativeDate:
|
|
262
|
+
type: object
|
|
263
|
+
properties:
|
|
264
|
+
periodType:
|
|
265
|
+
description: |-
|
|
266
|
+
The dashboard equivalent to granularity.
|
|
267
|
+
Acceptable values for insights are
|
|
268
|
+
'years'/ 'year'
|
|
269
|
+
'fiscal-years' / 'fiscal-year'
|
|
270
|
+
'quarters'/ 'quarter'
|
|
271
|
+
'fiscal-quarters' / 'fiscal-quarter
|
|
272
|
+
'months'/ 'month'
|
|
273
|
+
'weeks'/ 'week'
|
|
274
|
+
'days'/ 'day'
|
|
275
|
+
type: string
|
|
276
|
+
required: false
|
|
277
|
+
rangeType:
|
|
278
|
+
description: |-
|
|
279
|
+
A description of the relative nature of the range
|
|
280
|
+
Acceptable values are
|
|
281
|
+
'last'
|
|
282
|
+
'last-n'
|
|
283
|
+
'next'
|
|
284
|
+
'next-n'
|
|
285
|
+
'current'
|
|
286
|
+
type: string
|
|
287
|
+
required: false
|
|
288
|
+
rangeN:
|
|
289
|
+
description: |-
|
|
290
|
+
ignored for range_types that are not "last-n"
|
|
291
|
+
if negative (and not ignored), will result in an error
|
|
292
|
+
type: number
|
|
293
|
+
format: int32
|
|
294
|
+
required: false
|
|
295
|
+
RelativePeriod:
|
|
296
|
+
description: The old insights time filter
|
|
297
|
+
type: object
|
|
298
|
+
properties:
|
|
299
|
+
granularity:
|
|
300
|
+
enum:
|
|
301
|
+
- GRANULARITY_UNSPECIFIED
|
|
302
|
+
- GRANULARITY_BY_YEAR
|
|
303
|
+
- GRANULARITY_BY_QUARTER
|
|
304
|
+
- GRANULARITY_BY_MONTH
|
|
305
|
+
- GRANULARITY_BY_WEEK
|
|
306
|
+
- GRANULARITY_BY_DAY
|
|
307
|
+
- GRANULARITY_BY_FISCAL_QUARTER
|
|
308
|
+
type: string
|
|
309
|
+
(amf-format): enum
|
|
310
|
+
required: false
|
|
311
|
+
range:
|
|
312
|
+
enum:
|
|
313
|
+
- RANGE_UNSPECIFIED
|
|
314
|
+
- RANGE_CURRENT_PARTIAL
|
|
315
|
+
- RANGE_LAST_COMPLETE
|
|
316
|
+
type: string
|
|
317
|
+
(amf-format): enum
|
|
318
|
+
required: false
|
|
319
|
+
FieldId:
|
|
320
|
+
type: object
|
|
321
|
+
properties:
|
|
322
|
+
datasource:
|
|
323
|
+
type: string
|
|
324
|
+
required: false
|
|
325
|
+
objectName:
|
|
326
|
+
type: string
|
|
327
|
+
required: false
|
|
328
|
+
fieldName:
|
|
329
|
+
type: string
|
|
330
|
+
required: false
|
|
331
|
+
RangeFilterOptions:
|
|
332
|
+
type: object
|
|
333
|
+
properties:
|
|
334
|
+
min:
|
|
335
|
+
(amf-xone):
|
|
336
|
+
- type: number
|
|
337
|
+
- type: string
|
|
338
|
+
- type: boolean
|
|
339
|
+
type: any
|
|
340
|
+
required: false
|
|
341
|
+
max:
|
|
342
|
+
(amf-xone):
|
|
343
|
+
- type: number
|
|
344
|
+
- type: string
|
|
345
|
+
- type: boolean
|
|
346
|
+
type: any
|
|
347
|
+
required: false
|
|
348
|
+
nullOption:
|
|
349
|
+
type: string
|
|
350
|
+
required: false
|
|
351
|
+
excludeMin:
|
|
352
|
+
type: boolean
|
|
353
|
+
required: false
|
|
354
|
+
excludeMax:
|
|
355
|
+
type: boolean
|
|
356
|
+
required: false
|
|
357
|
+
InsightsOptions:
|
|
358
|
+
type: object
|
|
359
|
+
properties:
|
|
360
|
+
settings:
|
|
361
|
+
type: array
|
|
362
|
+
items: InsightsOptions_InsightSetting
|
|
363
|
+
required: false
|
|
364
|
+
InsightBundle:
|
|
365
|
+
type: object
|
|
366
|
+
properties:
|
|
367
|
+
insightGroups:
|
|
368
|
+
description: The insight groups returned are determined by the bundle type
|
|
369
|
+
type: array
|
|
370
|
+
items: InsightGroup
|
|
371
|
+
required: false
|
|
372
|
+
hasErrors:
|
|
373
|
+
description: Whether or not any errors were encountered when generating the bundle
|
|
374
|
+
type: boolean
|
|
375
|
+
required: false
|
|
376
|
+
characterization:
|
|
377
|
+
description: The overall characterization of the bundle
|
|
378
|
+
enum:
|
|
379
|
+
- CHARACTERIZATION_UNSPECIFIED
|
|
380
|
+
- CHARACTERIZATION_NORMAL
|
|
381
|
+
- CHARACTERIZATION_UNUSUAL
|
|
382
|
+
type: string
|
|
383
|
+
(amf-format): enum
|
|
384
|
+
required: false
|
|
385
|
+
GenerateInsightBatchResponse:
|
|
386
|
+
type: object
|
|
387
|
+
properties:
|
|
388
|
+
batchId:
|
|
389
|
+
description: ID of the batch being generated
|
|
390
|
+
type: string
|
|
391
|
+
required: true
|
|
392
|
+
summary:
|
|
393
|
+
description: If a cached summary exists, return the summary immediately
|
|
394
|
+
type: SummaryResponse
|
|
395
|
+
required: false
|
|
396
|
+
timestamp:
|
|
397
|
+
description: |-
|
|
398
|
+
If a cached summary exists, return a timestamp of the cached summary
|
|
399
|
+
generation in UTC
|
|
400
|
+
type: string
|
|
401
|
+
required: false
|
|
402
|
+
generatingSummary:
|
|
403
|
+
description: Lets client know if summary is being generated
|
|
404
|
+
type: boolean
|
|
405
|
+
required: false
|
|
406
|
+
MetricInstance:
|
|
407
|
+
type: object
|
|
408
|
+
properties:
|
|
409
|
+
measurementPeriod:
|
|
410
|
+
(amf-and):
|
|
411
|
+
- MeasurementPeriod
|
|
412
|
+
type: any
|
|
413
|
+
required: false
|
|
414
|
+
filters:
|
|
415
|
+
description: |-
|
|
416
|
+
DEPRECATED Please don't use this field.
|
|
417
|
+
The 'filters' and 'semantic_filters' will be ANDed together
|
|
418
|
+
type: array
|
|
419
|
+
items: Filter
|
|
420
|
+
required: false
|
|
421
|
+
semanticFilter:
|
|
422
|
+
type: FlattenFilter
|
|
423
|
+
required: false
|
|
424
|
+
goals:
|
|
425
|
+
type: GoalMetadata
|
|
426
|
+
required: false
|
|
427
|
+
BatchInput:
|
|
428
|
+
type: object
|
|
429
|
+
properties:
|
|
430
|
+
bundleInput:
|
|
431
|
+
type: InsightBundleInput
|
|
432
|
+
required: false
|
|
433
|
+
metricInstanceInput:
|
|
434
|
+
type: MetricInstanceInput
|
|
435
|
+
required: false
|
|
436
|
+
OverviewResponse:
|
|
437
|
+
type: object
|
|
438
|
+
properties:
|
|
439
|
+
result:
|
|
440
|
+
type: Overview
|
|
441
|
+
required: false
|
|
442
|
+
error:
|
|
443
|
+
type: Error
|
|
444
|
+
required: false
|
|
445
|
+
InputMetric:
|
|
446
|
+
type: object
|
|
447
|
+
properties:
|
|
448
|
+
metric: MetricDefinition
|
|
449
|
+
instance: MetricInstance
|
|
450
|
+
extensionOptions: ExtensionOptions
|
|
451
|
+
representationOptions: RepresentationOptions
|
|
452
|
+
insightsOptions: InsightsOptions
|
|
453
|
+
goals:
|
|
454
|
+
type: GoalMetadata
|
|
455
|
+
required: false
|
|
456
|
+
TimeDimension:
|
|
457
|
+
type: object
|
|
458
|
+
properties:
|
|
459
|
+
field: FieldId
|
|
460
|
+
RepresentationOptions:
|
|
461
|
+
type: object
|
|
462
|
+
properties:
|
|
463
|
+
type:
|
|
464
|
+
enum:
|
|
465
|
+
- NUMBER_FORMAT_TYPE_UNSPECIFIED
|
|
466
|
+
- NUMBER_FORMAT_TYPE_NUMBER
|
|
467
|
+
- NUMBER_FORMAT_TYPE_PERCENT
|
|
468
|
+
- NUMBER_FORMAT_TYPE_CURRENCY
|
|
469
|
+
type: string
|
|
470
|
+
(amf-format): enum
|
|
471
|
+
required: false
|
|
472
|
+
numberUnits: RepresentationOptions_NumberUnits
|
|
473
|
+
sentimentType:
|
|
474
|
+
enum:
|
|
475
|
+
- SENTIMENT_TYPE_UNSPECIFIED
|
|
476
|
+
- SENTIMENT_TYPE_NONE
|
|
477
|
+
- SENTIMENT_TYPE_UP_IS_GOOD
|
|
478
|
+
- SENTIMENT_TYPE_DOWN_IS_GOOD
|
|
479
|
+
type: string
|
|
480
|
+
(amf-format): enum
|
|
481
|
+
required: false
|
|
482
|
+
GenerateInsightBundleRequest:
|
|
483
|
+
type: object
|
|
484
|
+
properties:
|
|
485
|
+
type:
|
|
486
|
+
description: The bundle type to request
|
|
487
|
+
enum:
|
|
488
|
+
- INSIGHT_BUNDLE_TYPE_UNSPECIFIED
|
|
489
|
+
- INSIGHT_BUNDLE_TYPE_BAN
|
|
490
|
+
- INSIGHT_BUNDLE_TYPE_SPRINGBOARD
|
|
491
|
+
- INSIGHT_BUNDLE_TYPE_DETAIL
|
|
492
|
+
- INSIGHT_BUNDLE_TYPE_BASIC
|
|
493
|
+
type: string
|
|
494
|
+
(amf-format): enum
|
|
495
|
+
required: false
|
|
496
|
+
version:
|
|
497
|
+
description: The version of the bundle type to request
|
|
498
|
+
type: number
|
|
499
|
+
format: int32
|
|
500
|
+
required: false
|
|
501
|
+
input:
|
|
502
|
+
description: The input to the bundle type
|
|
503
|
+
type: InsightBundleInput
|
|
504
|
+
required: false
|
|
505
|
+
options:
|
|
506
|
+
description: Options affecting the generation of the bundle
|
|
507
|
+
type: InsightBundleOptions
|
|
508
|
+
required: false
|
|
509
|
+
FlattenFilter:
|
|
510
|
+
description: |-
|
|
511
|
+
*
|
|
512
|
+
Represents a flattened filter
|
|
513
|
+
type: object
|
|
514
|
+
properties:
|
|
515
|
+
filterLogic:
|
|
516
|
+
type: string
|
|
517
|
+
required: false
|
|
518
|
+
filters:
|
|
519
|
+
type: array
|
|
520
|
+
items: SemanticFilter
|
|
521
|
+
required: false
|
|
522
|
+
InsightFeedbackMetadata:
|
|
523
|
+
type: object
|
|
524
|
+
properties:
|
|
525
|
+
type:
|
|
526
|
+
type: string
|
|
527
|
+
required: false
|
|
528
|
+
score:
|
|
529
|
+
type: number
|
|
530
|
+
format: double
|
|
531
|
+
required: false
|
|
532
|
+
dimensionHash:
|
|
533
|
+
type: string
|
|
534
|
+
required: false
|
|
535
|
+
GenerateInsightBundleResponse:
|
|
536
|
+
type: object
|
|
537
|
+
properties:
|
|
538
|
+
result:
|
|
539
|
+
description: |-
|
|
540
|
+
Note that it is possible that we encountered some errors but were still
|
|
541
|
+
able to compute part of the result. In that case, the result key will be
|
|
542
|
+
present, and there will be errors at the appropriate level inside
|
|
543
|
+
type: InsightBundle
|
|
544
|
+
required: false
|
|
545
|
+
error:
|
|
546
|
+
type: Error
|
|
547
|
+
required: false
|
|
548
|
+
submetric:
|
|
549
|
+
description: IDs of the bundle response, for caching and identifiation
|
|
550
|
+
type: string
|
|
551
|
+
required: true
|
|
552
|
+
sdm:
|
|
553
|
+
type: string
|
|
554
|
+
required: true
|
|
555
|
+
measurementPeriod:
|
|
556
|
+
type: UnifiedFilter
|
|
557
|
+
required: false
|
|
558
|
+
CategoricalFilterOptions:
|
|
559
|
+
type: object
|
|
560
|
+
properties:
|
|
561
|
+
operator:
|
|
562
|
+
type: string
|
|
563
|
+
required: false
|
|
564
|
+
values:
|
|
565
|
+
type: array
|
|
566
|
+
items:
|
|
567
|
+
(amf-xone):
|
|
568
|
+
- type: number
|
|
569
|
+
- type: string
|
|
570
|
+
- type: boolean
|
|
571
|
+
type: any
|
|
572
|
+
required: false
|
|
573
|
+
nullOption:
|
|
574
|
+
description: "To include or exclude null values. Options: ''null-values'', ''non-null-values'', ''all-values''"
|
|
575
|
+
type: string
|
|
576
|
+
required: false
|
|
577
|
+
InsightBundleOptions:
|
|
578
|
+
type: object
|
|
579
|
+
properties:
|
|
580
|
+
outputFormat:
|
|
581
|
+
description: Used to determine the type of markup to return for the insight text
|
|
582
|
+
enum:
|
|
583
|
+
- OUTPUT_FORMAT_UNSPECIFIED
|
|
584
|
+
- OUTPUT_FORMAT_HTML
|
|
585
|
+
- OUTPUT_FORMAT_TEXT
|
|
586
|
+
type: string
|
|
587
|
+
(amf-format): enum
|
|
588
|
+
required: false
|
|
589
|
+
now:
|
|
590
|
+
description: |-
|
|
591
|
+
A string of the format "YYYY-MM-DD HH:MM:SS" or "YYYY-MM-DD" or empty.
|
|
592
|
+
If no time is specified, then midnight ("00:00:00") is used.
|
|
593
|
+
Hours must be in 24-hr format (00 to 23).
|
|
594
|
+
If provided, analysis will be done as if this is the current date/time.
|
|
595
|
+
If not provided, then the current date/time will be used.
|
|
596
|
+
type: string
|
|
597
|
+
required: false
|
|
598
|
+
timeZone:
|
|
599
|
+
description: |-
|
|
600
|
+
A string of the format used in the IANA Time Zone database, e.g. "America/Vancouver"
|
|
601
|
+
See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
602
|
+
If not provided, will default to "UTC"
|
|
603
|
+
type: string
|
|
604
|
+
required: false
|
|
605
|
+
ExtensionOptions:
|
|
606
|
+
type: object
|
|
607
|
+
properties:
|
|
608
|
+
analysisDimensions:
|
|
609
|
+
type: array
|
|
610
|
+
items:
|
|
611
|
+
type: string
|
|
612
|
+
required: false
|
|
613
|
+
minimumGranularity:
|
|
614
|
+
enum:
|
|
615
|
+
- GRANULARITY_UNSPECIFIED
|
|
616
|
+
- GRANULARITY_BY_YEAR
|
|
617
|
+
- GRANULARITY_BY_QUARTER
|
|
618
|
+
- GRANULARITY_BY_MONTH
|
|
619
|
+
- GRANULARITY_BY_WEEK
|
|
620
|
+
- GRANULARITY_BY_DAY
|
|
621
|
+
- GRANULARITY_BY_FISCAL_QUARTER
|
|
622
|
+
type: string
|
|
623
|
+
(amf-format): enum
|
|
624
|
+
required: false
|
|
625
|
+
MetricInstanceInput:
|
|
626
|
+
type: object
|
|
627
|
+
properties:
|
|
628
|
+
metricInstanceId:
|
|
629
|
+
type: string
|
|
630
|
+
required: true
|
|
631
|
+
sdmId:
|
|
632
|
+
type: string
|
|
633
|
+
required: true
|
|
634
|
+
measurementPeriod:
|
|
635
|
+
type: UnifiedFilter
|
|
636
|
+
required: false
|
|
637
|
+
RepresentationOptions_NumberUnits:
|
|
638
|
+
type: object
|
|
639
|
+
properties:
|
|
640
|
+
singularNoun:
|
|
641
|
+
type: string
|
|
642
|
+
required: false
|
|
643
|
+
pluralNoun:
|
|
644
|
+
type: string
|
|
645
|
+
required: false
|
|
646
|
+
CompareConfig:
|
|
647
|
+
type: object
|
|
648
|
+
properties:
|
|
649
|
+
comparison:
|
|
650
|
+
enum:
|
|
651
|
+
- TIME_COMPARISON_UNSPECIFIED
|
|
652
|
+
- TIME_COMPARISON_NONE
|
|
653
|
+
- TIME_COMPARISON_PREVIOUS_PERIOD
|
|
654
|
+
- TIME_COMPARISON_YEAR_AGO_PERIOD
|
|
655
|
+
type: string
|
|
656
|
+
(amf-format): enum
|
|
657
|
+
required: false
|
|
658
|
+
GetInsightBatchResponse:
|
|
659
|
+
type: object
|
|
660
|
+
properties:
|
|
661
|
+
batchId:
|
|
662
|
+
description: ID of the batch that was requested
|
|
663
|
+
type: string
|
|
664
|
+
required: true
|
|
665
|
+
status:
|
|
666
|
+
description: Current status of the batch
|
|
667
|
+
enum:
|
|
668
|
+
- BATCH_STATUS_UNSPECIFIED
|
|
669
|
+
- BATCH_STATUS_GENERATING
|
|
670
|
+
- BATCH_STATUS_COMPLETED
|
|
671
|
+
- BATCH_STATUS_ERRORED
|
|
672
|
+
type: string
|
|
673
|
+
(amf-format): enum
|
|
674
|
+
required: false
|
|
675
|
+
bundles:
|
|
676
|
+
description: Bundle responses for all requested bundles in the batch
|
|
677
|
+
type: array
|
|
678
|
+
items: GenerateInsightBundleResponse
|
|
679
|
+
required: false
|
|
680
|
+
hasErrors:
|
|
681
|
+
description: Flag denoting if any insights encountered errors during generation
|
|
682
|
+
type: boolean
|
|
683
|
+
required: false
|
|
684
|
+
summary:
|
|
685
|
+
description: Summary generated by GAI
|
|
686
|
+
type: SummaryResponse
|
|
687
|
+
required: false
|
|
688
|
+
Overview:
|
|
689
|
+
type: object
|
|
690
|
+
properties:
|
|
691
|
+
viz:
|
|
692
|
+
type: any
|
|
693
|
+
required: false
|
|
694
|
+
status:
|
|
695
|
+
type: Status
|
|
696
|
+
required: false
|
|
697
|
+
RelativeDateFilterOptions:
|
|
698
|
+
type: object
|
|
699
|
+
GetFilterValuesResponse:
|
|
700
|
+
type: object
|
|
701
|
+
properties:
|
|
702
|
+
categoricalValues: GetFilterValuesResponse_CategoricalValues
|
|
703
|
+
nextPageToken:
|
|
704
|
+
type: string
|
|
705
|
+
required: false
|
|
706
|
+
totalAvailable:
|
|
707
|
+
type: number
|
|
708
|
+
format: int32
|
|
709
|
+
required: false
|
|
710
|
+
id:
|
|
711
|
+
type: string
|
|
712
|
+
required: true
|
|
713
|
+
InsightBundleInput:
|
|
714
|
+
type: object
|
|
715
|
+
properties:
|
|
716
|
+
metadata: MetricMetadata
|
|
717
|
+
metric: InputMetric
|
|
718
|
+
SummarizationOptions:
|
|
719
|
+
type: object
|
|
720
|
+
properties:
|
|
721
|
+
strategy:
|
|
722
|
+
description: The strategy to use for the summary
|
|
723
|
+
enum:
|
|
724
|
+
- SUMMARIZATION_STRATEGY_UNSPECIFIED
|
|
725
|
+
- SUMMARIZATION_STRATEGY_DIGEST
|
|
726
|
+
type: string
|
|
727
|
+
(amf-format): enum
|
|
728
|
+
required: false
|
|
729
|
+
BatchOptions:
|
|
730
|
+
type: object
|
|
731
|
+
properties:
|
|
732
|
+
bundle:
|
|
733
|
+
description: Options to apply to each insight bundle
|
|
734
|
+
type: InsightBundleOptions
|
|
735
|
+
required: false
|
|
736
|
+
summarization:
|
|
737
|
+
description: Options to apply to desired summary
|
|
738
|
+
type: SummarizationOptions
|
|
739
|
+
required: false
|
|
740
|
+
skipCache:
|
|
741
|
+
description: Option to skip checking for batch/summary in cache
|
|
742
|
+
type: boolean
|
|
743
|
+
required: false
|
|
744
|
+
GenerateInsightBatchRequest:
|
|
745
|
+
type: object
|
|
746
|
+
properties:
|
|
747
|
+
batchInput:
|
|
748
|
+
description: Either fully formed bundles or metric instance IDs
|
|
749
|
+
type: array
|
|
750
|
+
items: BatchInput
|
|
751
|
+
required: false
|
|
752
|
+
options:
|
|
753
|
+
description: Options to apply to the entire batch
|
|
754
|
+
type: BatchOptions
|
|
755
|
+
required: false
|
|
756
|
+
Filter:
|
|
757
|
+
description: The old dashboard-style filter
|
|
758
|
+
type: object
|
|
759
|
+
properties:
|
|
760
|
+
type:
|
|
761
|
+
description: |-
|
|
762
|
+
Acceptable types are:
|
|
763
|
+
'categorical'
|
|
764
|
+
'range'
|
|
765
|
+
'relative-date'
|
|
766
|
+
type: string
|
|
767
|
+
required: false
|
|
768
|
+
field:
|
|
769
|
+
type: FieldId
|
|
770
|
+
required: false
|
|
771
|
+
fieldId:
|
|
772
|
+
type: FieldId
|
|
773
|
+
required: false
|
|
774
|
+
categoricalFilterOptions:
|
|
775
|
+
type: CategoricalFilterOptions
|
|
776
|
+
required: false
|
|
777
|
+
rangeFilterOptions:
|
|
778
|
+
type: RangeFilterOptions
|
|
779
|
+
required: false
|
|
780
|
+
relativeDateFilterOptions:
|
|
781
|
+
type: RelativeDateFilterOptions
|
|
782
|
+
required: false
|
|
783
|
+
GoalMetadata:
|
|
784
|
+
type: object
|
|
785
|
+
properties:
|
|
786
|
+
statusConditions:
|
|
787
|
+
type: array
|
|
788
|
+
items: GoalMetadata_StatusCondition
|
|
789
|
+
required: false
|
|
790
|
+
forecasting:
|
|
791
|
+
type: boolean
|
|
792
|
+
required: false
|
|
793
|
+
UnifiedFilter:
|
|
794
|
+
description: Message representing the Unified Filter.
|
|
795
|
+
type: object
|
|
796
|
+
properties:
|
|
797
|
+
fieldName:
|
|
798
|
+
description: tableName.ColumnName or calcFieldName
|
|
799
|
+
type: string
|
|
800
|
+
required: false
|
|
801
|
+
operator:
|
|
802
|
+
enum:
|
|
803
|
+
- Equals
|
|
804
|
+
- DoesNotEquals
|
|
805
|
+
- EqualsIgnoreCase
|
|
806
|
+
- DoesNotEqualsIgnoreCase
|
|
807
|
+
- Between
|
|
808
|
+
- LessThan
|
|
809
|
+
- LessThanOrEqualTo
|
|
810
|
+
- GreaterThan
|
|
811
|
+
- GreaterThanOrEqualTo
|
|
812
|
+
- IsEmpty
|
|
813
|
+
- IsNotEmpty
|
|
814
|
+
- Contains
|
|
815
|
+
- ContainsIgnoreCase
|
|
816
|
+
- NotContains
|
|
817
|
+
- NotContainsIgnoreCase
|
|
818
|
+
- StartsWith
|
|
819
|
+
- StartsWithIgnoreCase
|
|
820
|
+
- DoesNotStartWith
|
|
821
|
+
- DoesNotStartWithIgnoreCase
|
|
822
|
+
- EndsWith
|
|
823
|
+
- EndsWithIgnoreCase
|
|
824
|
+
- DoesNotEndWith
|
|
825
|
+
- DoesNotEndWithIgnoreCase
|
|
826
|
+
- IsNull
|
|
827
|
+
- IsNotNull
|
|
828
|
+
- LastNDays
|
|
829
|
+
- NextNDays
|
|
830
|
+
- PreviousWeek
|
|
831
|
+
- CurrentWeek
|
|
832
|
+
- NextWeek
|
|
833
|
+
- PreviousMonth
|
|
834
|
+
- CurrentMonth
|
|
835
|
+
- NextMonth
|
|
836
|
+
- PreviousQuarter
|
|
837
|
+
- CurrentQuarter
|
|
838
|
+
- NextQuarter
|
|
839
|
+
- PreviousYear
|
|
840
|
+
- CurrentYear
|
|
841
|
+
- NextYear
|
|
842
|
+
- PreviousFiscalQuarter
|
|
843
|
+
- CurrentFiscalQuarter
|
|
844
|
+
- NextFiscalQuarter
|
|
845
|
+
- PreviousFiscalYear
|
|
846
|
+
- CurrentFiscalYear
|
|
847
|
+
- NextFiscalYear
|
|
848
|
+
- PreviousMonthToDate
|
|
849
|
+
- CurrentMonthToDate
|
|
850
|
+
- PreviousQuarterToDate
|
|
851
|
+
- CurrentQuarterToDate
|
|
852
|
+
- PreviousYearToDate
|
|
853
|
+
- CurrentYearToDate
|
|
854
|
+
- PreviousFiscalQuarterToDate
|
|
855
|
+
- CurrentFiscalQuarterToDate
|
|
856
|
+
- PreviousFiscalYearToDate
|
|
857
|
+
- CurrentFiscalYearToDate
|
|
858
|
+
- Values
|
|
859
|
+
- In
|
|
860
|
+
- NotIn
|
|
861
|
+
type: string
|
|
862
|
+
(amf-format): enum
|
|
863
|
+
required: false
|
|
864
|
+
values:
|
|
865
|
+
description: An array of values. All values must be of the same type. We support strings, numbers, and booleans.
|
|
866
|
+
type: array
|
|
867
|
+
items:
|
|
868
|
+
(amf-xone):
|
|
869
|
+
- type: number
|
|
870
|
+
- type: string
|
|
871
|
+
- type: boolean
|
|
872
|
+
type: any
|
|
873
|
+
required: false
|
|
874
|
+
GetFilterValuesRequest:
|
|
875
|
+
type: object
|
|
876
|
+
properties:
|
|
877
|
+
semanticDataModel: SemanticDataModel
|
|
878
|
+
field: FieldId
|
|
879
|
+
pageToken:
|
|
880
|
+
type: string
|
|
881
|
+
required: false
|
|
882
|
+
pageSize:
|
|
883
|
+
description: Page size specifies the maximum number of values to return on a query. It has a maximum of 1000.
|
|
884
|
+
type: number
|
|
885
|
+
format: int32
|
|
886
|
+
required: false
|
|
887
|
+
searchTerm:
|
|
888
|
+
description: Specifies to look for field values that contain the search_term
|
|
889
|
+
type: string
|
|
890
|
+
required: false
|
|
891
|
+
filters:
|
|
892
|
+
type: array
|
|
893
|
+
items: Filter
|
|
894
|
+
required: false
|
|
895
|
+
semanticFilter:
|
|
896
|
+
description: The 'filters' and 'semantic_filter' will be ANDed together
|
|
897
|
+
type: FlattenFilter
|
|
898
|
+
required: false
|
|
899
|
+
SemanticFilter:
|
|
900
|
+
description: Message representing Semantic Filter.
|
|
901
|
+
type: object
|
|
902
|
+
properties:
|
|
903
|
+
fieldName:
|
|
904
|
+
type: string
|
|
905
|
+
required: true
|
|
906
|
+
operator:
|
|
907
|
+
enum:
|
|
908
|
+
- SEMANTIC_FILTER_OPERATOR_TYPE_UNSPECIFIED
|
|
909
|
+
- Equals
|
|
910
|
+
- DoesNotEquals
|
|
911
|
+
- EqualsIgnoreCase
|
|
912
|
+
- DoesNotEqualsIgnoreCase
|
|
913
|
+
- Between
|
|
914
|
+
- LessThan
|
|
915
|
+
- LessThanOrEqualTo
|
|
916
|
+
- GreaterThan
|
|
917
|
+
- GreaterThanOrEqualTo
|
|
918
|
+
- IsEmpty
|
|
919
|
+
- IsNotEmpty
|
|
920
|
+
- Contains
|
|
921
|
+
- ContainsIgnoreCase
|
|
922
|
+
- NotContains
|
|
923
|
+
- NotContainsIgnoreCase
|
|
924
|
+
- StartsWith
|
|
925
|
+
- StartsWithIgnoreCase
|
|
926
|
+
- DoesNotStartWith
|
|
927
|
+
- DoesNotStartWithIgnoreCase
|
|
928
|
+
- EndsWith
|
|
929
|
+
- EndsWithIgnoreCase
|
|
930
|
+
- DoesNotEndWith
|
|
931
|
+
- DoesNotEndWithIgnoreCase
|
|
932
|
+
- IsNull
|
|
933
|
+
- IsNotNull
|
|
934
|
+
- LastNDays
|
|
935
|
+
- NextNDays
|
|
936
|
+
- PreviousWeek
|
|
937
|
+
- CurrentWeek
|
|
938
|
+
- NextWeek
|
|
939
|
+
- PreviousMonth
|
|
940
|
+
- CurrentMonth
|
|
941
|
+
- NextMonth
|
|
942
|
+
- PreviousQuarter
|
|
943
|
+
- CurrentQuarter
|
|
944
|
+
- NextQuarter
|
|
945
|
+
- PreviousYear
|
|
946
|
+
- CurrentYear
|
|
947
|
+
- NextYear
|
|
948
|
+
- PreviousFiscalQuarter
|
|
949
|
+
- CurrentFiscalQuarter
|
|
950
|
+
- NextFiscalQuarter
|
|
951
|
+
- PreviousFiscalYear
|
|
952
|
+
- CurrentFiscalYear
|
|
953
|
+
- NextFiscalYear
|
|
954
|
+
- PreviousMonthToDate
|
|
955
|
+
- CurrentMonthToDate
|
|
956
|
+
- PreviousQuarterToDate
|
|
957
|
+
- CurrentQuarterToDate
|
|
958
|
+
- PreviousYearToDate
|
|
959
|
+
- CurrentYearToDate
|
|
960
|
+
- PreviousFiscalQuarterToDate
|
|
961
|
+
- CurrentFiscalQuarterToDate
|
|
962
|
+
- PreviousFiscalYearToDate
|
|
963
|
+
- CurrentFiscalYearToDate
|
|
964
|
+
- Values
|
|
965
|
+
- In
|
|
966
|
+
- NotIn
|
|
967
|
+
type: string
|
|
968
|
+
(amf-format): enum
|
|
969
|
+
required: true
|
|
970
|
+
value:
|
|
971
|
+
type: string
|
|
972
|
+
required: false
|
|
973
|
+
aggregationMethod:
|
|
974
|
+
enum:
|
|
975
|
+
- SEMANTIC_AGGREGATION_METHOD_UNSPECIFIED
|
|
976
|
+
- SEMANTIC_AGGREGATION_METHOD_NONE
|
|
977
|
+
- SEMANTIC_AGGREGATION_METHOD_AUTO
|
|
978
|
+
- SEMANTIC_AGGREGATION_METHOD_COUNT
|
|
979
|
+
- SEMANTIC_AGGREGATION_METHOD_SUM
|
|
980
|
+
- SEMANTIC_AGGREGATION_METHOD_AVG
|
|
981
|
+
- SEMANTIC_AGGREGATION_METHOD_MIN
|
|
982
|
+
- SEMANTIC_AGGREGATION_METHOD_MAX
|
|
983
|
+
- SEMANTIC_AGGREGATION_METHOD_MEDIAN
|
|
984
|
+
- SEMANTIC_AGGREGATION_METHOD_UNIQUE_COUNT
|
|
985
|
+
- SEMANTIC_AGGREGATION_METHOD_STDDEV
|
|
986
|
+
- SEMANTIC_AGGREGATION_METHOD_STDDEVP
|
|
987
|
+
- SEMANTIC_AGGREGATION_METHOD_VAR
|
|
988
|
+
- SEMANTIC_AGGREGATION_METHOD_VARP
|
|
989
|
+
- SEMANTIC_AGGREGATION_METHOD_USER_AGG
|
|
990
|
+
type: string
|
|
991
|
+
(amf-format): enum
|
|
992
|
+
required: false
|
|
993
|
+
fieldType:
|
|
994
|
+
enum:
|
|
995
|
+
- UNSPECIFIED
|
|
996
|
+
- FORMULA
|
|
997
|
+
- MODEL_FIELD
|
|
998
|
+
type: string
|
|
999
|
+
(amf-format): enum
|
|
1000
|
+
required: false
|
|
1001
|
+
values:
|
|
1002
|
+
type: array
|
|
1003
|
+
items:
|
|
1004
|
+
type: string
|
|
1005
|
+
required: false
|
|
1006
|
+
Summary:
|
|
1007
|
+
type: object
|
|
1008
|
+
properties:
|
|
1009
|
+
strategy:
|
|
1010
|
+
description: Which summarization strategy was used
|
|
1011
|
+
enum:
|
|
1012
|
+
- SUMMARIZATION_STRATEGY_UNSPECIFIED
|
|
1013
|
+
- SUMMARIZATION_STRATEGY_DIGEST
|
|
1014
|
+
type: string
|
|
1015
|
+
(amf-format): enum
|
|
1016
|
+
markup:
|
|
1017
|
+
description: Text for the summary
|
|
1018
|
+
type: string
|
|
1019
|
+
generationId:
|
|
1020
|
+
description: ID of the Einstein GPT generation request.
|
|
1021
|
+
type: string
|
|
1022
|
+
required: false
|
|
1023
|
+
timestamp:
|
|
1024
|
+
description: Timestamp of the summary generation in UTC
|
|
1025
|
+
type: string
|
|
1026
|
+
Status:
|
|
1027
|
+
type: object
|
|
1028
|
+
properties:
|
|
1029
|
+
qualifier:
|
|
1030
|
+
description: Defines how the metric is tracking
|
|
1031
|
+
enum:
|
|
1032
|
+
- QUALIFIER_UNSPECIFIED
|
|
1033
|
+
- QUALIFIER_HIGH
|
|
1034
|
+
- QUALIFIER_LOW
|
|
1035
|
+
- QUALIFIER_EXPECTED
|
|
1036
|
+
- QUALIFIER_ON_TRACK
|
|
1037
|
+
- QUALIFIER_OFF_TRACK
|
|
1038
|
+
- QUALIFIER_ON_TRACK_TO_GOAL
|
|
1039
|
+
- QUALIFIER_OFF_TRACK_TO_GOAL
|
|
1040
|
+
- QUALIFIER_GOAL_CONDITION
|
|
1041
|
+
- QUALIFIER_NO_STATUS
|
|
1042
|
+
type: string
|
|
1043
|
+
(amf-format): enum
|
|
1044
|
+
required: false
|
|
1045
|
+
sentiment:
|
|
1046
|
+
description: |-
|
|
1047
|
+
Represents a sentiment towards metric status.
|
|
1048
|
+
Status sentiment is determined based on metric sentiment (e.g. up is good) and status qualifier
|
|
1049
|
+
enum:
|
|
1050
|
+
- SENTIMENT_UNSPECIFIED
|
|
1051
|
+
- SENTIMENT_POSITIVE
|
|
1052
|
+
- SENTIMENT_NEGATIVE
|
|
1053
|
+
- SENTIMENT_NEUTRAL
|
|
1054
|
+
- SENTIMENT_CUSTOM
|
|
1055
|
+
- SENTIMENT_NO_SENTIMENT
|
|
1056
|
+
type: string
|
|
1057
|
+
(amf-format): enum
|
|
1058
|
+
required: false
|
|
1059
|
+
Measure:
|
|
1060
|
+
type: object
|
|
1061
|
+
properties:
|
|
1062
|
+
field: FieldId
|
|
1063
|
+
aggregation:
|
|
1064
|
+
enum:
|
|
1065
|
+
- AGGREGATION_UNSPECIFIED
|
|
1066
|
+
- AGGREGATION_SUM
|
|
1067
|
+
- AGGREGATION_AVERAGE
|
|
1068
|
+
- AGGREGATION_MEDIAN
|
|
1069
|
+
- AGGREGATION_MAX
|
|
1070
|
+
- AGGREGATION_MIN
|
|
1071
|
+
- AGGREGATION_COUNT
|
|
1072
|
+
- AGGREGATION_COUNT_DISTINCT
|
|
1073
|
+
- AGGREGATION_USER
|
|
1074
|
+
type: string
|
|
1075
|
+
(amf-format): enum
|
|
1076
|
+
required: false
|
|
1077
|
+
title: TUA Insights API
|
|
1078
|
+
baseUri: api.salesforce.com
|
|
1079
|
+
(amf-serverDescription): Insights api
|
|
1080
|
+
description: Tableau Unified Analytics Insights Service providing insights about metrics
|
|
1081
|
+
version: v1
|
|
1082
|
+
(amf-tags):
|
|
1083
|
+
- name: InsightsService
|
|
1084
|
+
|
|
1085
|
+
/analytics/insights/v1:
|
|
1086
|
+
/batches:
|
|
1087
|
+
post:
|
|
1088
|
+
displayName: generateInsightBatch
|
|
1089
|
+
(amf-tags):
|
|
1090
|
+
- InsightsService
|
|
1091
|
+
body:
|
|
1092
|
+
application/json:
|
|
1093
|
+
type: GenerateInsightBatchRequest
|
|
1094
|
+
headers:
|
|
1095
|
+
'x-sfdc-sourceapp':
|
|
1096
|
+
type: string
|
|
1097
|
+
description: The viz or dashboard source template name - set to "platform" if the viz or dashboard does not have a source template
|
|
1098
|
+
required: false
|
|
1099
|
+
'x-sfdc-sourcecontext':
|
|
1100
|
+
type: string
|
|
1101
|
+
description: The context in which the request is being called from within the application
|
|
1102
|
+
required: false
|
|
1103
|
+
responses:
|
|
1104
|
+
'200':
|
|
1105
|
+
description: OK
|
|
1106
|
+
body:
|
|
1107
|
+
application/json:
|
|
1108
|
+
type: GenerateInsightBatchResponse
|
|
1109
|
+
/filterValues:
|
|
1110
|
+
post:
|
|
1111
|
+
displayName: filterValues
|
|
1112
|
+
(amf-tags):
|
|
1113
|
+
- InsightsService
|
|
1114
|
+
body:
|
|
1115
|
+
application/json:
|
|
1116
|
+
type: GetFilterValuesRequest
|
|
1117
|
+
headers:
|
|
1118
|
+
'x-sfdc-sourceapp':
|
|
1119
|
+
type: string
|
|
1120
|
+
description: The viz or dashboard source template name - set to "platform" if the viz or dashboard does not have a source template
|
|
1121
|
+
required: false
|
|
1122
|
+
'x-sfdc-sourcecontext':
|
|
1123
|
+
type: string
|
|
1124
|
+
description: The context in which the request is being called from within the application
|
|
1125
|
+
required: false
|
|
1126
|
+
responses:
|
|
1127
|
+
'200':
|
|
1128
|
+
description: OK
|
|
1129
|
+
body:
|
|
1130
|
+
application/json:
|
|
1131
|
+
type: GetFilterValuesResponse
|
|
1132
|
+
/generateBundle:
|
|
1133
|
+
post:
|
|
1134
|
+
displayName: generateInsightBundle
|
|
1135
|
+
(amf-tags):
|
|
1136
|
+
- InsightsService
|
|
1137
|
+
body:
|
|
1138
|
+
application/json:
|
|
1139
|
+
type: GenerateInsightBundleRequest
|
|
1140
|
+
headers:
|
|
1141
|
+
'x-sfdc-sourceapp':
|
|
1142
|
+
type: string
|
|
1143
|
+
description: The viz or dashboard source template name - set to "platform" if the viz or dashboard does not have a source template
|
|
1144
|
+
required: false
|
|
1145
|
+
'x-sfdc-sourcecontext':
|
|
1146
|
+
type: string
|
|
1147
|
+
description: The context in which the request is being called from within the application
|
|
1148
|
+
required: false
|
|
1149
|
+
responses:
|
|
1150
|
+
'200':
|
|
1151
|
+
description: OK
|
|
1152
|
+
body:
|
|
1153
|
+
application/json:
|
|
1154
|
+
type: GenerateInsightBundleResponse
|
|
1155
|
+
/basic/generateBundle:
|
|
1156
|
+
post:
|
|
1157
|
+
displayName: InsightsService_GenerateInsightBundleBase
|
|
1158
|
+
description: Generate a basic bundle - returns Unusual Change and Period over Period Change Insights
|
|
1159
|
+
(amf-tags):
|
|
1160
|
+
- InsightsService
|
|
1161
|
+
body:
|
|
1162
|
+
application/json:
|
|
1163
|
+
type: GenerateInsightBundleRequest
|
|
1164
|
+
headers:
|
|
1165
|
+
'x-sfdc-sourceapp':
|
|
1166
|
+
type: string
|
|
1167
|
+
description: The viz or dashboard source template name - set to "platform" if the viz or dashboard does not have a source template
|
|
1168
|
+
required: false
|
|
1169
|
+
'x-sfdc-sourcecontext':
|
|
1170
|
+
type: string
|
|
1171
|
+
description: The context in which the request is being called from within the application
|
|
1172
|
+
required: false
|
|
1173
|
+
responses:
|
|
1174
|
+
'200':
|
|
1175
|
+
description: OK
|
|
1176
|
+
body:
|
|
1177
|
+
application/json:
|
|
1178
|
+
type: GenerateInsightBundleResponse
|
|
1179
|
+
/batches/{batchId}:
|
|
1180
|
+
get:
|
|
1181
|
+
displayName: getInsightsBatch
|
|
1182
|
+
(amf-tags):
|
|
1183
|
+
- InsightsService
|
|
1184
|
+
headers:
|
|
1185
|
+
'x-sfdc-sourceapp':
|
|
1186
|
+
type: string
|
|
1187
|
+
description: The viz or dashboard source template name - set to "platform" if the viz or dashboard does not have a source template
|
|
1188
|
+
required: false
|
|
1189
|
+
'x-sfdc-sourcecontext':
|
|
1190
|
+
type: string
|
|
1191
|
+
description: The context in which the request is being called from within the application
|
|
1192
|
+
required: false
|
|
1193
|
+
responses:
|
|
1194
|
+
'200':
|
|
1195
|
+
description: OK
|
|
1196
|
+
body:
|
|
1197
|
+
application/json:
|
|
1198
|
+
type: GetInsightBatchResponse
|