@salesforce/lds-adapters-analytics-tableau-embedding 1.147.4 → 1.149.0
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/analytics-tableau-embedding.js +245 -172
- package/dist/es/es2018/types/src/generated/adapters/getJWT.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/postJWT.d.ts +5 -16
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +1 -2
- package/dist/es/es2018/types/src/generated/resources/getTableauJwt.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauJwt.d.ts +5 -7
- package/dist/es/es2018/types/src/generated/types/TableauJWTInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TableauJWTRepresentation.d.ts +13 -1
- package/dist/es/es2018/types/src/generated/types/TableauJWTRepresentation2.d.ts +50 -0
- package/dist/es/es2018/types/src/sfdc.d.ts +1 -2
- package/package.json +1 -1
- package/sfdc/index.js +254 -199
- package/src/raml/api.raml +46 -3
- package/src/raml/luvio.raml +8 -1
package/src/raml/api.raml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#%RAML 1.0
|
|
2
|
-
# Contents of this file have been manually edited and are different from Core generated RAML!
|
|
2
|
+
# EUREKA: Contents of this file have been manually edited and are different from Core generated RAML!
|
|
3
3
|
# Please make sure these changes are kept if they are still needed and don't just override with new contents!
|
|
4
4
|
securedBy:
|
|
5
5
|
- OAuth2
|
|
6
6
|
title: Salesforce Connect API
|
|
7
|
-
version: '
|
|
7
|
+
version: '59.0'
|
|
8
8
|
mediaType: application/json
|
|
9
9
|
protocols:
|
|
10
10
|
- https
|
|
@@ -41,6 +41,11 @@ types:
|
|
|
41
41
|
description: Tableau embedding JWT inputs
|
|
42
42
|
type: object
|
|
43
43
|
properties:
|
|
44
|
+
cb:
|
|
45
|
+
description: Cache buster
|
|
46
|
+
type: string
|
|
47
|
+
# This was edited to specify the property is not required! Tests will fail with network mock issues if this is removed!
|
|
48
|
+
required: false
|
|
44
49
|
siteId:
|
|
45
50
|
description: Tableau Site ID
|
|
46
51
|
type: string
|
|
@@ -55,6 +60,40 @@ types:
|
|
|
55
60
|
description: Tableau embedding JWT
|
|
56
61
|
type: object
|
|
57
62
|
properties:
|
|
63
|
+
cb:
|
|
64
|
+
description: The cache buster parameter used when the JWT was requested, if
|
|
65
|
+
available
|
|
66
|
+
type: string
|
|
67
|
+
jti:
|
|
68
|
+
description: The jti claim in the JWT
|
|
69
|
+
type: string
|
|
70
|
+
siteId:
|
|
71
|
+
description: The Tableau Site ID this JWT was created for
|
|
72
|
+
type: string
|
|
73
|
+
tabUrl:
|
|
74
|
+
description: The Tableau URL this JWT was created for
|
|
75
|
+
type: string
|
|
76
|
+
token:
|
|
77
|
+
description: Tableau embedding JWT
|
|
78
|
+
type: string
|
|
79
|
+
# This type should always be a clone of TableauJWTRepresentation above, just configured differently in luvio.raml. Inheritance via base type is not possible!
|
|
80
|
+
TableauJWTRepresentation2:
|
|
81
|
+
description: Tableau embedding JWT
|
|
82
|
+
type: object
|
|
83
|
+
properties:
|
|
84
|
+
cb:
|
|
85
|
+
description: The cache buster parameter used when the JWT was requested, if
|
|
86
|
+
available
|
|
87
|
+
type: string
|
|
88
|
+
jti:
|
|
89
|
+
description: The jti claim in the JWT
|
|
90
|
+
type: string
|
|
91
|
+
siteId:
|
|
92
|
+
description: The Tableau Site ID this JWT was created for
|
|
93
|
+
type: string
|
|
94
|
+
tabUrl:
|
|
95
|
+
description: The Tableau URL this JWT was created for
|
|
96
|
+
type: string
|
|
58
97
|
token:
|
|
59
98
|
description: Tableau embedding JWT
|
|
60
99
|
type: string
|
|
@@ -80,6 +119,10 @@ types:
|
|
|
80
119
|
application/json:
|
|
81
120
|
type: TableauJWTRepresentation
|
|
82
121
|
queryParameters:
|
|
122
|
+
cb:
|
|
123
|
+
description: Cache buster
|
|
124
|
+
type: string
|
|
125
|
+
required: false
|
|
83
126
|
siteId:
|
|
84
127
|
description: Tableau Site ID
|
|
85
128
|
type: string
|
|
@@ -96,7 +139,7 @@ types:
|
|
|
96
139
|
description: Success
|
|
97
140
|
body:
|
|
98
141
|
application/json:
|
|
99
|
-
type:
|
|
142
|
+
type: TableauJWTRepresentation2
|
|
100
143
|
body:
|
|
101
144
|
application/json:
|
|
102
145
|
description: Tableau embedding JWT inputs
|
package/src/raml/luvio.raml
CHANGED
|
@@ -16,6 +16,14 @@ types:
|
|
|
16
16
|
# logically this is going to be ZERO because of `no-cache` forced policy, but using the min recommended here
|
|
17
17
|
(luvio.ttl): 100
|
|
18
18
|
|
|
19
|
+
# This type should always be a clone of TableauJWTRepresentation above, just configured differently
|
|
20
|
+
TableauJWTRepresentation2:
|
|
21
|
+
(luvio.opaque): true
|
|
22
|
+
# logically this is going to be ZERO because of `no-cache` forced policy, but using the min recommended here
|
|
23
|
+
(luvio.ttl): 100
|
|
24
|
+
(luvio.key):
|
|
25
|
+
id: jti
|
|
26
|
+
|
|
19
27
|
/tableau:
|
|
20
28
|
/eas:
|
|
21
29
|
get:
|
|
@@ -27,6 +35,5 @@ types:
|
|
|
27
35
|
(luvio.adapter):
|
|
28
36
|
name: getJWT
|
|
29
37
|
post:
|
|
30
|
-
(luvio.method): get
|
|
31
38
|
(luvio.adapter):
|
|
32
39
|
name: postJWT
|