@salesforce/lds-adapters-analytics-tableau-embedding 0.131.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/LICENSE.txt +82 -0
- package/dist/es/es2018/analytics-tableau-embedding.js +692 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getEAS.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/getJWT.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/postJWT.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauEas.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauJwt.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauJwt.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/TableauEASRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/TableauJWTInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/TableauJWTRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +69 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +740 -0
- package/src/raml/api.raml +106 -0
- package/src/raml/luvio.raml +31 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
# Contents of this file have been manually edited and are different from Core generated RAML!
|
|
3
|
+
# Please make sure these changes are kept if they are still needed and don't just override with new contents!
|
|
4
|
+
securedBy:
|
|
5
|
+
- OAuth2
|
|
6
|
+
title: Salesforce Connect API
|
|
7
|
+
version: '58.0'
|
|
8
|
+
mediaType: application/json
|
|
9
|
+
protocols:
|
|
10
|
+
- https
|
|
11
|
+
baseUri: /services/data/v58.0
|
|
12
|
+
securitySchemes:
|
|
13
|
+
OAuth2:
|
|
14
|
+
type: OAuth 2.0
|
|
15
|
+
settings:
|
|
16
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
17
|
+
accessTokenUri: ''
|
|
18
|
+
authorizationGrants:
|
|
19
|
+
- implicit
|
|
20
|
+
annotationTypes:
|
|
21
|
+
oas-readOnly:
|
|
22
|
+
type: boolean
|
|
23
|
+
allowedTargets: TypeDeclaration
|
|
24
|
+
oas-collectionFormat:
|
|
25
|
+
type: string
|
|
26
|
+
oas-body-name:
|
|
27
|
+
type: string
|
|
28
|
+
allowedTargets: TypeDeclaration
|
|
29
|
+
types:
|
|
30
|
+
TableauEASRepresentation:
|
|
31
|
+
description: Tableau EAS trust registration details
|
|
32
|
+
type: object
|
|
33
|
+
properties:
|
|
34
|
+
issuer:
|
|
35
|
+
description: Issuer URL
|
|
36
|
+
type: string
|
|
37
|
+
jwks:
|
|
38
|
+
description: JWKS URI
|
|
39
|
+
type: string
|
|
40
|
+
TableauJWTInputRepresentation:
|
|
41
|
+
description: Tableau embedding JWT inputs
|
|
42
|
+
type: object
|
|
43
|
+
properties:
|
|
44
|
+
siteId:
|
|
45
|
+
description: Tableau Site ID
|
|
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
|
|
49
|
+
tabUrl:
|
|
50
|
+
description: Tableau Embedding URL
|
|
51
|
+
type: string
|
|
52
|
+
# This was edited to specify the property is not required! Tests will fail with network mock issues if this is removed!
|
|
53
|
+
required: false
|
|
54
|
+
TableauJWTRepresentation:
|
|
55
|
+
description: Tableau embedding JWT
|
|
56
|
+
type: object
|
|
57
|
+
properties:
|
|
58
|
+
token:
|
|
59
|
+
description: Tableau embedding JWT
|
|
60
|
+
type: string
|
|
61
|
+
/tableau:
|
|
62
|
+
/eas:
|
|
63
|
+
get:
|
|
64
|
+
displayName: getTableauEAS
|
|
65
|
+
description: Get the Tableau EAS trust details
|
|
66
|
+
responses:
|
|
67
|
+
'200':
|
|
68
|
+
description: Success
|
|
69
|
+
body:
|
|
70
|
+
application/json:
|
|
71
|
+
type: TableauEASRepresentation
|
|
72
|
+
/jwt:
|
|
73
|
+
get:
|
|
74
|
+
displayName: getTableauJWT
|
|
75
|
+
description: GET method to retrieve the custom Tableau embedding JWT
|
|
76
|
+
responses:
|
|
77
|
+
'200':
|
|
78
|
+
description: Success
|
|
79
|
+
body:
|
|
80
|
+
application/json:
|
|
81
|
+
type: TableauJWTRepresentation
|
|
82
|
+
queryParameters:
|
|
83
|
+
siteId:
|
|
84
|
+
description: Tableau Site ID
|
|
85
|
+
type: string
|
|
86
|
+
required: false
|
|
87
|
+
tabUrl:
|
|
88
|
+
description: Tableau Embedding URL
|
|
89
|
+
type: string
|
|
90
|
+
required: false
|
|
91
|
+
post:
|
|
92
|
+
displayName: postTableauJWT
|
|
93
|
+
description: POST method for generating the custom Tableau embedding JWT
|
|
94
|
+
responses:
|
|
95
|
+
'200':
|
|
96
|
+
description: Success
|
|
97
|
+
body:
|
|
98
|
+
application/json:
|
|
99
|
+
type: TableauJWTRepresentation
|
|
100
|
+
body:
|
|
101
|
+
application/json:
|
|
102
|
+
description: Tableau embedding JWT inputs
|
|
103
|
+
type: TableauJWTInputRepresentation
|
|
104
|
+
# The line below is from Core RAML but is commented out because it causes compilation errors in this repo!
|
|
105
|
+
# required: false
|
|
106
|
+
(oas-body-name): tableauJwtArgs
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'TableauEmbedding'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
TableauEASRepresentation:
|
|
11
|
+
(luvio.opaque): true
|
|
12
|
+
(luvio.ttl): 180000
|
|
13
|
+
|
|
14
|
+
TableauJWTRepresentation:
|
|
15
|
+
(luvio.opaque): true
|
|
16
|
+
(luvio.ttl): 0
|
|
17
|
+
|
|
18
|
+
/tableau:
|
|
19
|
+
/eas:
|
|
20
|
+
get:
|
|
21
|
+
(luvio.adapter):
|
|
22
|
+
name: getEAS
|
|
23
|
+
|
|
24
|
+
/jwt:
|
|
25
|
+
get:
|
|
26
|
+
(luvio.adapter):
|
|
27
|
+
name: getJWT
|
|
28
|
+
post:
|
|
29
|
+
(luvio.method): get
|
|
30
|
+
(luvio.adapter):
|
|
31
|
+
name: postJWT
|