@salesforce/lds-adapters-sales-pathassistant 1.320.0 → 1.322.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/sales-pathassistant.js +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getPathAssistantDaysInStage.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPathassistantDaysInStageByRecordId.d.ts +3 -0
- package/package.json +4 -4
- package/sfdc/index.js +4 -3
- package/src/raml/api.raml +4 -0
|
@@ -553,7 +553,7 @@ function select(luvio, params) {
|
|
|
553
553
|
return select$1();
|
|
554
554
|
}
|
|
555
555
|
function keyBuilder$1(luvio, params) {
|
|
556
|
-
return keyPrefix + '::PathAssistantDaysInStageRepresentation:(' + 'recordId:' + params.urlParams.recordId + ')';
|
|
556
|
+
return keyPrefix + '::PathAssistantDaysInStageRepresentation:(' + 'picklistFieldApiName:' + params.queryParams.picklistFieldApiName + ',' + 'recordId:' + params.urlParams.recordId + ')';
|
|
557
557
|
}
|
|
558
558
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
559
559
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -595,7 +595,7 @@ function createResourceRequest(config) {
|
|
|
595
595
|
method: 'get',
|
|
596
596
|
body: null,
|
|
597
597
|
urlParams: config.urlParams,
|
|
598
|
-
queryParams:
|
|
598
|
+
queryParams: config.queryParams,
|
|
599
599
|
headers,
|
|
600
600
|
priority: 'normal',
|
|
601
601
|
};
|
|
@@ -604,6 +604,7 @@ function createResourceRequest(config) {
|
|
|
604
604
|
const adapterName = 'getPathAssistantDaysInStage';
|
|
605
605
|
const getPathAssistantDaysInStage_ConfigPropertyMetadata = [
|
|
606
606
|
generateParamConfigMetadata('recordId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
607
|
+
generateParamConfigMetadata('picklistFieldApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
607
608
|
];
|
|
608
609
|
const getPathAssistantDaysInStage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getPathAssistantDaysInStage_ConfigPropertyMetadata);
|
|
609
610
|
const createResourceParams = /*#__PURE__*/ createResourceParams$3(getPathAssistantDaysInStage_ConfigPropertyMetadata);
|
|
@@ -7,6 +7,7 @@ export declare const getPathAssistantDaysInStage_ConfigPropertyMetadata: $64$luv
|
|
|
7
7
|
export declare const getPathAssistantDaysInStage_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetPathAssistantDaysInStageConfig {
|
|
9
9
|
recordId: string;
|
|
10
|
+
picklistFieldApiName?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const createResourceParams: (config: GetPathAssistantDaysInStageConfig) => resources_getConnectPathassistantDaysInStageByRecordId_ResourceRequestConfig;
|
|
12
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetPathAssistantDaysInStageConfig): string;
|
|
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
recordId: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
picklistFieldApiName?: string;
|
|
9
|
+
};
|
|
7
10
|
}
|
|
8
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-sales-pathassistant",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.322.0",
|
|
4
4
|
"description": "Connect APIs for Path Assistant",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/sales-pathassistant.js",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"test:unit": "jest --config=./jest.config.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.322.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
-
"@salesforce/lds-karma": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.322.0",
|
|
47
|
+
"@salesforce/lds-karma": "^1.322.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -388,7 +388,7 @@ function select$2(luvio, params) {
|
|
|
388
388
|
return select$3();
|
|
389
389
|
}
|
|
390
390
|
function keyBuilder$2(luvio, params) {
|
|
391
|
-
return keyPrefix + '::PathAssistantDaysInStageRepresentation:(' + 'recordId:' + params.urlParams.recordId + ')';
|
|
391
|
+
return keyPrefix + '::PathAssistantDaysInStageRepresentation:(' + 'picklistFieldApiName:' + params.queryParams.picklistFieldApiName + ',' + 'recordId:' + params.urlParams.recordId + ')';
|
|
392
392
|
}
|
|
393
393
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
394
394
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -430,7 +430,7 @@ function createResourceRequest$1(config) {
|
|
|
430
430
|
method: 'get',
|
|
431
431
|
body: null,
|
|
432
432
|
urlParams: config.urlParams,
|
|
433
|
-
queryParams:
|
|
433
|
+
queryParams: config.queryParams,
|
|
434
434
|
headers,
|
|
435
435
|
priority: 'normal',
|
|
436
436
|
};
|
|
@@ -439,6 +439,7 @@ function createResourceRequest$1(config) {
|
|
|
439
439
|
const adapterName$1 = 'getPathAssistantDaysInStage';
|
|
440
440
|
const getPathAssistantDaysInStage_ConfigPropertyMetadata = [
|
|
441
441
|
generateParamConfigMetadata('recordId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
442
|
+
generateParamConfigMetadata('picklistFieldApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
442
443
|
];
|
|
443
444
|
const getPathAssistantDaysInStage_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getPathAssistantDaysInStage_ConfigPropertyMetadata);
|
|
444
445
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getPathAssistantDaysInStage_ConfigPropertyMetadata);
|
|
@@ -744,4 +745,4 @@ withDefaultLuvio((luvio) => {
|
|
|
744
745
|
});
|
|
745
746
|
|
|
746
747
|
export { getPathAssistant, getPathAssistantDaysInStage, getPathAssistantDaysInStage_imperative, getPathAssistant_imperative, updateCollapsibleDrawerUserPref };
|
|
747
|
-
// version: 1.
|
|
748
|
+
// version: 1.322.0-87f682c9f3
|
package/src/raml/api.raml
CHANGED