@salesforce/lds-adapters-sfap-analytics-insights 1.309.0-dev16 → 1.309.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/dist/es/es2018/sfap-analytics-insights.js +241 -109
- package/dist/es/es2018/types/src/generated/adapters/generateInsightsBasic.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1BasicGenerateBundle.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/GetInsightBatchResponse.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/InsightResponse.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/OverviewResponse.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +235 -91
- package/src/raml/api.raml +21 -2
- package/src/raml/luvio.raml +6 -0
package/src/raml/api.raml
CHANGED
|
@@ -68,7 +68,9 @@ types:
|
|
|
68
68
|
InsightResponse:
|
|
69
69
|
type: object
|
|
70
70
|
properties:
|
|
71
|
-
result:
|
|
71
|
+
result:
|
|
72
|
+
type: Insight
|
|
73
|
+
required: false
|
|
72
74
|
error:
|
|
73
75
|
type: Error
|
|
74
76
|
required: false
|
|
@@ -328,7 +330,9 @@ types:
|
|
|
328
330
|
OverviewResponse:
|
|
329
331
|
type: object
|
|
330
332
|
properties:
|
|
331
|
-
result:
|
|
333
|
+
result:
|
|
334
|
+
type: Overview
|
|
335
|
+
required: false
|
|
332
336
|
error:
|
|
333
337
|
type: Error
|
|
334
338
|
required: false
|
|
@@ -842,6 +846,21 @@ version: v1
|
|
|
842
846
|
body:
|
|
843
847
|
application/json:
|
|
844
848
|
type: GenerateInsightBundleResponse
|
|
849
|
+
/basic/generateBundle:
|
|
850
|
+
post:
|
|
851
|
+
displayName: InsightsService_GenerateInsightBundleBase
|
|
852
|
+
description: Generate a basic bundle - returns Unusual Change and Period over Period Change Insights
|
|
853
|
+
(amf-tags):
|
|
854
|
+
- InsightsService
|
|
855
|
+
body:
|
|
856
|
+
application/json:
|
|
857
|
+
type: GenerateInsightBundleRequest
|
|
858
|
+
responses:
|
|
859
|
+
'200':
|
|
860
|
+
description: OK
|
|
861
|
+
body:
|
|
862
|
+
application/json:
|
|
863
|
+
type: GenerateInsightBundleResponse
|
|
845
864
|
/batches/{batchId}:
|
|
846
865
|
get:
|
|
847
866
|
displayName: getInsightsBatch
|
package/src/raml/luvio.raml
CHANGED
|
@@ -32,6 +32,11 @@ uses:
|
|
|
32
32
|
(luvio.key):
|
|
33
33
|
batchid: urlParams.batchId
|
|
34
34
|
|
|
35
|
+
/basic/generateBundle:
|
|
36
|
+
post:
|
|
37
|
+
(luvio.adapter):
|
|
38
|
+
name: generateInsightsBasic
|
|
39
|
+
|
|
35
40
|
types:
|
|
36
41
|
GenerateInsightBundleResponse:
|
|
37
42
|
(luvio.key):
|
|
@@ -40,6 +45,7 @@ types:
|
|
|
40
45
|
(luvio.key):
|
|
41
46
|
filterpageid: id
|
|
42
47
|
GetInsightBatchResponse:
|
|
48
|
+
(luvio.ttl): 5000
|
|
43
49
|
(luvio.key):
|
|
44
50
|
batchid: batchId
|
|
45
51
|
GenerateInsightBatchResponse:
|