@salesforce/lds-adapters-analytics-tableau-embedding 1.332.0-dev15 → 1.332.0-dev17
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 +3 -1
- package/dist/es/es2018/types/src/generated/adapters/getJWT.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/postJWT.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauJwt.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauJwt.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/TableauJWTInputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +4 -2
- package/src/raml/api.raml +8 -0
|
@@ -358,7 +358,7 @@ function select$2(luvio, params) {
|
|
|
358
358
|
return select$3();
|
|
359
359
|
}
|
|
360
360
|
function keyBuilder$2(luvio, params) {
|
|
361
|
-
return keyPrefix + '::TableauJWTRepresentation:(' + 'cb:' + params.queryParams.cb + ',' + 'siteId:' + params.queryParams.siteId + ',' + 'tabUrl:' + params.queryParams.tabUrl + ',' + 'uafDefinitionNames:' + params.queryParams.uafDefinitionNames + ')';
|
|
361
|
+
return keyPrefix + '::TableauJWTRepresentation:(' + 'cb:' + params.queryParams.cb + ',' + 'siteId:' + params.queryParams.siteId + ',' + 'tabUrl:' + params.queryParams.tabUrl + ',' + 'uafDefinitionNames:' + params.queryParams.uafDefinitionNames + ',' + 'jwtAccessScopeSet:' + params.queryParams.jwtAccessScopeSet + ')';
|
|
362
362
|
}
|
|
363
363
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
364
364
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -412,6 +412,7 @@ const getJWT_ConfigPropertyMetadata = [
|
|
|
412
412
|
generateParamConfigMetadata('siteId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
413
413
|
generateParamConfigMetadata('tabUrl', false, 1 /* QueryParameter */, 0 /* String */),
|
|
414
414
|
generateParamConfigMetadata('uafDefinitionNames', false, 1 /* QueryParameter */, 0 /* String */),
|
|
415
|
+
generateParamConfigMetadata('jwtAccessScopeSet', false, 1 /* QueryParameter */, 0 /* String */),
|
|
415
416
|
];
|
|
416
417
|
const getJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getJWT_ConfigPropertyMetadata);
|
|
417
418
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getJWT_ConfigPropertyMetadata);
|
|
@@ -639,6 +640,7 @@ const postJWT_ConfigPropertyMetadata = [
|
|
|
639
640
|
generateParamConfigMetadata('siteId', false, 2 /* Body */, 0 /* String */),
|
|
640
641
|
generateParamConfigMetadata('tabUrl', false, 2 /* Body */, 0 /* String */),
|
|
641
642
|
generateParamConfigMetadata('uafDefinitionNames', false, 2 /* Body */, 0 /* String */),
|
|
643
|
+
generateParamConfigMetadata('jwtAccessScopeSet', false, 2 /* Body */, 0 /* String */),
|
|
642
644
|
];
|
|
643
645
|
const postJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postJWT_ConfigPropertyMetadata);
|
|
644
646
|
const createResourceParams = /*#__PURE__*/ createResourceParams$3(postJWT_ConfigPropertyMetadata);
|
|
@@ -10,6 +10,7 @@ export interface GetJWTConfig {
|
|
|
10
10
|
siteId?: string;
|
|
11
11
|
tabUrl?: string;
|
|
12
12
|
uafDefinitionNames?: string;
|
|
13
|
+
jwtAccessScopeSet?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare const createResourceParams: (config: GetJWTConfig) => resources_getTableauJwt_ResourceRequestConfig;
|
|
15
16
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetJWTConfig): string;
|
|
@@ -10,6 +10,7 @@ export interface PostJWTConfig {
|
|
|
10
10
|
siteId?: string;
|
|
11
11
|
tabUrl?: string;
|
|
12
12
|
uafDefinitionNames?: string;
|
|
13
|
+
jwtAccessScopeSet?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare const createResourceParams: (config: PostJWTConfig) => resources_postTableauJwt_ResourceRequestConfig;
|
|
15
16
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostJWTConfig>): adapter$45$utils_Untrusted<PostJWTConfig>;
|
|
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
siteId?: string;
|
|
7
7
|
tabUrl?: string;
|
|
8
8
|
uafDefinitionNames?: string;
|
|
9
|
+
jwtAccessScopeSet?: string;
|
|
9
10
|
};
|
|
10
11
|
}
|
|
11
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -6,6 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
siteId?: string;
|
|
7
7
|
tabUrl?: string;
|
|
8
8
|
uafDefinitionNames?: string;
|
|
9
|
+
jwtAccessScopeSet?: string;
|
|
9
10
|
};
|
|
10
11
|
}
|
|
11
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "7ccd30c623faa219bf33cdc3b32af9f4";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: TableauJWTInputRepresentation, existing: TableauJWTInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TableauJWTInputRepresentationNormalized;
|
|
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface TableauJWTInputRepresentationNormalized {
|
|
17
17
|
/** Cache buster */
|
|
18
18
|
cb?: string;
|
|
19
|
+
/** Scopes set */
|
|
20
|
+
jwtAccessScopeSet?: string;
|
|
19
21
|
/** Tableau Site ID */
|
|
20
22
|
siteId?: string;
|
|
21
23
|
/** Tableau Embedding URL */
|
|
@@ -31,6 +33,7 @@ export interface TableauJWTInputRepresentationNormalized {
|
|
|
31
33
|
*/
|
|
32
34
|
export interface TableauJWTInputRepresentation {
|
|
33
35
|
cb?: string;
|
|
36
|
+
jwtAccessScopeSet?: string;
|
|
34
37
|
siteId?: string;
|
|
35
38
|
tabUrl?: string;
|
|
36
39
|
uafDefinitionNames?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-analytics-tableau-embedding",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev17",
|
|
4
4
|
"description": "The APIs in this family are supporting embedding of Tableau vizualizations into Salesforce.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/es/es2018/analytics-tableau-embedding.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"NO-test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.332.0-
|
|
47
|
+
"@salesforce/lds-bindings": "^1.332.0-dev17"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
51
|
-
"@salesforce/lds-karma": "^1.332.0-
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev17",
|
|
51
|
+
"@salesforce/lds-karma": "^1.332.0-dev17"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -368,7 +368,7 @@ function select$2(luvio, params) {
|
|
|
368
368
|
return select$3();
|
|
369
369
|
}
|
|
370
370
|
function keyBuilder$2(luvio, params) {
|
|
371
|
-
return keyPrefix + '::TableauJWTRepresentation:(' + 'cb:' + params.queryParams.cb + ',' + 'siteId:' + params.queryParams.siteId + ',' + 'tabUrl:' + params.queryParams.tabUrl + ',' + 'uafDefinitionNames:' + params.queryParams.uafDefinitionNames + ')';
|
|
371
|
+
return keyPrefix + '::TableauJWTRepresentation:(' + 'cb:' + params.queryParams.cb + ',' + 'siteId:' + params.queryParams.siteId + ',' + 'tabUrl:' + params.queryParams.tabUrl + ',' + 'uafDefinitionNames:' + params.queryParams.uafDefinitionNames + ',' + 'jwtAccessScopeSet:' + params.queryParams.jwtAccessScopeSet + ')';
|
|
372
372
|
}
|
|
373
373
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
374
374
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -422,6 +422,7 @@ const getJWT_ConfigPropertyMetadata = [
|
|
|
422
422
|
generateParamConfigMetadata('siteId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
423
423
|
generateParamConfigMetadata('tabUrl', false, 1 /* QueryParameter */, 0 /* String */),
|
|
424
424
|
generateParamConfigMetadata('uafDefinitionNames', false, 1 /* QueryParameter */, 0 /* String */),
|
|
425
|
+
generateParamConfigMetadata('jwtAccessScopeSet', false, 1 /* QueryParameter */, 0 /* String */),
|
|
425
426
|
];
|
|
426
427
|
const getJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getJWT_ConfigPropertyMetadata);
|
|
427
428
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getJWT_ConfigPropertyMetadata);
|
|
@@ -637,6 +638,7 @@ const postJWT_ConfigPropertyMetadata = [
|
|
|
637
638
|
generateParamConfigMetadata('siteId', false, 2 /* Body */, 0 /* String */),
|
|
638
639
|
generateParamConfigMetadata('tabUrl', false, 2 /* Body */, 0 /* String */),
|
|
639
640
|
generateParamConfigMetadata('uafDefinitionNames', false, 2 /* Body */, 0 /* String */),
|
|
641
|
+
generateParamConfigMetadata('jwtAccessScopeSet', false, 2 /* Body */, 0 /* String */),
|
|
640
642
|
];
|
|
641
643
|
const postJWT_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, postJWT_ConfigPropertyMetadata);
|
|
642
644
|
const createResourceParams = /*#__PURE__*/ createResourceParams$3(postJWT_ConfigPropertyMetadata);
|
|
@@ -719,4 +721,4 @@ withDefaultLuvio((luvio) => {
|
|
|
719
721
|
});
|
|
720
722
|
|
|
721
723
|
export { getEAS, getEAS_imperative, getJWT, getJWT_imperative, postJWT };
|
|
722
|
-
// version: 1.332.0-
|
|
724
|
+
// version: 1.332.0-dev17-75a56cc45d
|
package/src/raml/api.raml
CHANGED
|
@@ -60,6 +60,10 @@ types:
|
|
|
60
60
|
description: UAF Claim definition names
|
|
61
61
|
type: string
|
|
62
62
|
required: false
|
|
63
|
+
jwtAccessScopeSet:
|
|
64
|
+
description: Scopes set
|
|
65
|
+
type: string
|
|
66
|
+
required: false
|
|
63
67
|
TableauJWTRepresentation:
|
|
64
68
|
description: Tableau embedding JWT
|
|
65
69
|
type: object
|
|
@@ -145,6 +149,10 @@ types:
|
|
|
145
149
|
description: UAF Claim definition names
|
|
146
150
|
type: string
|
|
147
151
|
required: false
|
|
152
|
+
jwtAccessScopeSet:
|
|
153
|
+
description: Access scope set for the generated JWT token
|
|
154
|
+
type: string
|
|
155
|
+
required: false
|
|
148
156
|
post:
|
|
149
157
|
displayName: postTableauJWT
|
|
150
158
|
description: POST method for generating the custom Tableau embedding JWT
|