@salesforce/lds-adapters-platform-admin-success-guidance 1.207.0 → 1.208.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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, typeCheckScalars, StoreKeyMap } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -629,10 +629,9 @@ function keyBuilder$h(luvio, config) {
|
|
|
629
629
|
}
|
|
630
630
|
function typeCheckConfig$a(untrustedConfig) {
|
|
631
631
|
const config = {};
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
}
|
|
632
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
633
|
+
questionnaireName: 0 /* String */,
|
|
634
|
+
});
|
|
636
635
|
return config;
|
|
637
636
|
}
|
|
638
637
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -805,10 +804,9 @@ function createResourceParams$9(config) {
|
|
|
805
804
|
}
|
|
806
805
|
function typeCheckConfig$9(untrustedConfig) {
|
|
807
806
|
const config = {};
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
}
|
|
807
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
808
|
+
questionnaireName: 0 /* String */,
|
|
809
|
+
});
|
|
812
810
|
const untrustedConfig_questionnaireData = untrustedConfig.questionnaireData;
|
|
813
811
|
const referenceLightningAssistantQuestionnaireInputRepresentationValidationError = validate$d(untrustedConfig_questionnaireData);
|
|
814
812
|
if (referenceLightningAssistantQuestionnaireInputRepresentationValidationError === null) {
|
|
@@ -1444,10 +1442,9 @@ function createResourceParams$8(config) {
|
|
|
1444
1442
|
}
|
|
1445
1443
|
function typeCheckConfig$8(untrustedConfig) {
|
|
1446
1444
|
const config = {};
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
}
|
|
1445
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1446
|
+
stepName: 0 /* String */,
|
|
1447
|
+
});
|
|
1451
1448
|
return config;
|
|
1452
1449
|
}
|
|
1453
1450
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -2262,10 +2259,9 @@ function keyBuilder$d(luvio, config) {
|
|
|
2262
2259
|
}
|
|
2263
2260
|
function typeCheckConfig$7(untrustedConfig) {
|
|
2264
2261
|
const config = {};
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
}
|
|
2262
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2263
|
+
assistantName: 0 /* String */,
|
|
2264
|
+
});
|
|
2269
2265
|
return config;
|
|
2270
2266
|
}
|
|
2271
2267
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -2433,10 +2429,9 @@ function createResourceParams$6(config) {
|
|
|
2433
2429
|
}
|
|
2434
2430
|
function typeCheckConfig$6(untrustedConfig) {
|
|
2435
2431
|
const config = {};
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
}
|
|
2432
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2433
|
+
assistantName: 0 /* String */,
|
|
2434
|
+
});
|
|
2440
2435
|
const untrustedConfig_assistantData = untrustedConfig.assistantData;
|
|
2441
2436
|
const referenceLightningAssistantUpdateInputRepresentationValidationError = validate$8(untrustedConfig_assistantData);
|
|
2442
2437
|
if (referenceLightningAssistantUpdateInputRepresentationValidationError === null) {
|
|
@@ -2670,10 +2665,9 @@ function keyBuilder$a(luvio, config) {
|
|
|
2670
2665
|
}
|
|
2671
2666
|
function typeCheckConfig$5(untrustedConfig) {
|
|
2672
2667
|
const config = {};
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
}
|
|
2668
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2669
|
+
assistantName: 0 /* String */,
|
|
2670
|
+
});
|
|
2677
2671
|
return config;
|
|
2678
2672
|
}
|
|
2679
2673
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -3014,10 +3008,9 @@ function keyBuilder$7(luvio, config) {
|
|
|
3014
3008
|
}
|
|
3015
3009
|
function typeCheckConfig$4(untrustedConfig) {
|
|
3016
3010
|
const config = {};
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
}
|
|
3011
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3012
|
+
assistantTarget: 0 /* String */,
|
|
3013
|
+
});
|
|
3021
3014
|
return config;
|
|
3022
3015
|
}
|
|
3023
3016
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -3262,10 +3255,9 @@ function createResourceParams$3(config) {
|
|
|
3262
3255
|
}
|
|
3263
3256
|
function typeCheckConfig$3(untrustedConfig) {
|
|
3264
3257
|
const config = {};
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
}
|
|
3258
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3259
|
+
assistantTarget: 0 /* String */,
|
|
3260
|
+
});
|
|
3269
3261
|
return config;
|
|
3270
3262
|
}
|
|
3271
3263
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -3515,10 +3507,9 @@ function keyBuilder$3(luvio, config) {
|
|
|
3515
3507
|
}
|
|
3516
3508
|
function typeCheckConfig$2(untrustedConfig) {
|
|
3517
3509
|
const config = {};
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
}
|
|
3510
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3511
|
+
assistantTarget: 0 /* String */,
|
|
3512
|
+
});
|
|
3522
3513
|
return config;
|
|
3523
3514
|
}
|
|
3524
3515
|
function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
@@ -3686,10 +3677,9 @@ function createResourceParams$1(config) {
|
|
|
3686
3677
|
}
|
|
3687
3678
|
function typeCheckConfig$1(untrustedConfig) {
|
|
3688
3679
|
const config = {};
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
}
|
|
3680
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3681
|
+
assistantTarget: 0 /* String */,
|
|
3682
|
+
});
|
|
3693
3683
|
const untrustedConfig_assistantData = untrustedConfig.assistantData;
|
|
3694
3684
|
const referenceLightningAssistantListInputRepresentationValidationError = validate$2(untrustedConfig_assistantData);
|
|
3695
3685
|
if (referenceLightningAssistantListInputRepresentationValidationError === null) {
|
|
@@ -4112,10 +4102,9 @@ function keyBuilder(luvio, config) {
|
|
|
4112
4102
|
}
|
|
4113
4103
|
function typeCheckConfig(untrustedConfig) {
|
|
4114
4104
|
const config = {};
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
}
|
|
4105
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
4106
|
+
assistantTarget: 0 /* String */,
|
|
4107
|
+
});
|
|
4119
4108
|
return config;
|
|
4120
4109
|
}
|
|
4121
4110
|
function validateAdapterConfig(untrustedConfig, configPropertyNames) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-admin-success-guidance",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.208.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Guidance Center Questionnaire and Assistant APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-admin-success-guidance.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -668,10 +668,9 @@ function createResourceParams$a(config) {
|
|
|
668
668
|
}
|
|
669
669
|
function typeCheckConfig$a(untrustedConfig) {
|
|
670
670
|
const config = {};
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
}
|
|
671
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
672
|
+
stepName: 0 /* String */,
|
|
673
|
+
});
|
|
675
674
|
return config;
|
|
676
675
|
}
|
|
677
676
|
function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
@@ -1493,10 +1492,9 @@ function keyBuilder$g(luvio, config) {
|
|
|
1493
1492
|
}
|
|
1494
1493
|
function typeCheckConfig$9(untrustedConfig) {
|
|
1495
1494
|
const config = {};
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
}
|
|
1495
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1496
|
+
assistantName: 0 /* String */,
|
|
1497
|
+
});
|
|
1500
1498
|
return config;
|
|
1501
1499
|
}
|
|
1502
1500
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -1993,10 +1991,9 @@ function keyBuilder$d(luvio, config) {
|
|
|
1993
1991
|
}
|
|
1994
1992
|
function typeCheckConfig$8(untrustedConfig) {
|
|
1995
1993
|
const config = {};
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
}
|
|
1994
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
1995
|
+
assistantTarget: 0 /* String */,
|
|
1996
|
+
});
|
|
2000
1997
|
return config;
|
|
2001
1998
|
}
|
|
2002
1999
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -2325,10 +2322,9 @@ function keyBuilder$a(luvio, config) {
|
|
|
2325
2322
|
}
|
|
2326
2323
|
function typeCheckConfig$7(untrustedConfig) {
|
|
2327
2324
|
const config = {};
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
}
|
|
2325
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2326
|
+
assistantTarget: 0 /* String */,
|
|
2327
|
+
});
|
|
2332
2328
|
return config;
|
|
2333
2329
|
}
|
|
2334
2330
|
function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
@@ -2705,10 +2701,9 @@ function keyBuilder$7(luvio, config) {
|
|
|
2705
2701
|
}
|
|
2706
2702
|
function typeCheckConfig$6(untrustedConfig) {
|
|
2707
2703
|
const config = {};
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
}
|
|
2704
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
2705
|
+
assistantTarget: 0 /* String */,
|
|
2706
|
+
});
|
|
2712
2707
|
return config;
|
|
2713
2708
|
}
|
|
2714
2709
|
function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
@@ -3389,10 +3384,9 @@ function keyBuilder$4(luvio, config) {
|
|
|
3389
3384
|
}
|
|
3390
3385
|
function typeCheckConfig$5(untrustedConfig) {
|
|
3391
3386
|
const config = {};
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
}
|
|
3387
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3388
|
+
questionnaireName: 0 /* String */,
|
|
3389
|
+
});
|
|
3396
3390
|
return config;
|
|
3397
3391
|
}
|
|
3398
3392
|
function validateAdapterConfig$5(untrustedConfig, configPropertyNames) {
|
|
@@ -3700,10 +3694,9 @@ function keyBuilder$1(luvio, config) {
|
|
|
3700
3694
|
}
|
|
3701
3695
|
function typeCheckConfig$4(untrustedConfig) {
|
|
3702
3696
|
const config = {};
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
}
|
|
3697
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3698
|
+
assistantName: 0 /* String */,
|
|
3699
|
+
});
|
|
3707
3700
|
return config;
|
|
3708
3701
|
}
|
|
3709
3702
|
function validateAdapterConfig$4(untrustedConfig, configPropertyNames) {
|
|
@@ -3977,10 +3970,9 @@ function createResourceParams$3(config) {
|
|
|
3977
3970
|
}
|
|
3978
3971
|
function typeCheckConfig$3(untrustedConfig) {
|
|
3979
3972
|
const config = {};
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
}
|
|
3973
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
3974
|
+
assistantTarget: 0 /* String */,
|
|
3975
|
+
});
|
|
3984
3976
|
return config;
|
|
3985
3977
|
}
|
|
3986
3978
|
function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
@@ -4105,10 +4097,9 @@ function createResourceParams$2(config) {
|
|
|
4105
4097
|
}
|
|
4106
4098
|
function typeCheckConfig$2(untrustedConfig) {
|
|
4107
4099
|
const config = {};
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
}
|
|
4100
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
4101
|
+
assistantName: 0 /* String */,
|
|
4102
|
+
});
|
|
4112
4103
|
const untrustedConfig_assistantData = untrustedConfig.assistantData;
|
|
4113
4104
|
const referenceLightningAssistantUpdateInputRepresentationValidationError = validate$2(untrustedConfig_assistantData);
|
|
4114
4105
|
if (referenceLightningAssistantUpdateInputRepresentationValidationError === null) {
|
|
@@ -4238,10 +4229,9 @@ function createResourceParams$1(config) {
|
|
|
4238
4229
|
}
|
|
4239
4230
|
function typeCheckConfig$1(untrustedConfig) {
|
|
4240
4231
|
const config = {};
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
}
|
|
4232
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
4233
|
+
assistantTarget: 0 /* String */,
|
|
4234
|
+
});
|
|
4245
4235
|
const untrustedConfig_assistantData = untrustedConfig.assistantData;
|
|
4246
4236
|
const referenceLightningAssistantListInputRepresentationValidationError = validate$1(untrustedConfig_assistantData);
|
|
4247
4237
|
if (referenceLightningAssistantListInputRepresentationValidationError === null) {
|
|
@@ -4376,10 +4366,9 @@ function createResourceParams(config) {
|
|
|
4376
4366
|
}
|
|
4377
4367
|
function typeCheckConfig(untrustedConfig) {
|
|
4378
4368
|
const config = {};
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
}
|
|
4369
|
+
typeCheckScalars(untrustedConfig, config, {
|
|
4370
|
+
questionnaireName: 0 /* String */,
|
|
4371
|
+
});
|
|
4383
4372
|
const untrustedConfig_questionnaireData = untrustedConfig.questionnaireData;
|
|
4384
4373
|
const referenceLightningAssistantQuestionnaireInputRepresentationValidationError = validate(untrustedConfig_questionnaireData);
|
|
4385
4374
|
if (referenceLightningAssistantQuestionnaireInputRepresentationValidationError === null) {
|
|
@@ -4527,4 +4516,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4527
4516
|
});
|
|
4528
4517
|
|
|
4529
4518
|
export { evaluateStep, getAssistant, getAssistantInfoList, getAssistantInfoListNotifyChange, getAssistantInfoList_imperative, getAssistantList, getAssistantListNotifyChange, getAssistantList_imperative, getAssistantNotifyChange, getAssistantTarget, getAssistantTargetNotifyChange, getAssistantTarget_imperative, getAssistant_imperative, getQuestionnaire, getQuestionnaireNotifyChange, getQuestionnaire_imperative, getQuestionnaires, getQuestionnairesNotifyChange, getQuestionnaires_imperative, initialize, saveAssistant, saveAssistantList, saveQuestionnaire };
|
|
4530
|
-
// version: 1.
|
|
4519
|
+
// version: 1.208.0-027673bd6
|