@salesforce/lds-adapters-platform-admin-success-guidance 1.170.0 → 1.171.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/platform-admin-success-guidance.js +90 -66
- package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformByAssistantName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformInfoByAssistantTarget.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformListByAssistantTarget.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformListInfoByAssistantTarget.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformQuestionnaireByQuestionnaireName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformQuestionnairesByAssistantName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchAssistantPlatformByAssistantName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchAssistantPlatformListByAssistantTarget.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchAssistantPlatformQuestionnaireByQuestionnaireName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/patchAssistantPlatformStepByStepName.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/putAssistantPlatformInitializeByAssistantTarget.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AbstractLightningAssistantActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/AssistantData.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantAnswerDataInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantCategoryRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantChoiceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantCustomActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantInfoListRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantInfoRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantInitializationRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantItemInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantLayoutNodeRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantLinkActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantLinkRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantListInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantListRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantLsfActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantNoActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionnaireInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionnaireListRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionnaireRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantStepRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantTargetRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LightningAssistantTrailheadActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantUpdateInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantVideoActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/LightningAssistantWalkthroughActionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/QuestionnaireData.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/UpdateAssistantData.d.ts +2 -2
- package/package.json +1 -1
- package/sfdc/index.js +121 -73
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey,
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -550,8 +550,7 @@ const ingest$8 = function LightningAssistantQuestionnaireRepresentationIngest(in
|
|
|
550
550
|
}
|
|
551
551
|
return createLink(key);
|
|
552
552
|
};
|
|
553
|
-
function getTypeCacheKeys$8(luvio, input, fullPathFactory) {
|
|
554
|
-
const rootKeySet = new StoreKeyMap();
|
|
553
|
+
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
555
554
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
556
555
|
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
557
556
|
rootKeySet.set(rootKey, {
|
|
@@ -559,7 +558,6 @@ function getTypeCacheKeys$8(luvio, input, fullPathFactory) {
|
|
|
559
558
|
representationName: RepresentationType$8,
|
|
560
559
|
mergeable: false
|
|
561
560
|
});
|
|
562
|
-
return rootKeySet;
|
|
563
561
|
}
|
|
564
562
|
|
|
565
563
|
function select$s(luvio, params) {
|
|
@@ -570,8 +568,8 @@ function keyBuilder$i(luvio, params) {
|
|
|
570
568
|
questionnaire_name: params.urlParams.questionnaireName
|
|
571
569
|
});
|
|
572
570
|
}
|
|
573
|
-
function getResponseCacheKeys$a(luvio, resourceParams, response) {
|
|
574
|
-
|
|
571
|
+
function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
|
|
572
|
+
getTypeCacheKeys$8(storeKeyMap, luvio, response);
|
|
575
573
|
}
|
|
576
574
|
function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
|
|
577
575
|
const { body } = response;
|
|
@@ -673,7 +671,11 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
673
671
|
const request = createResourceRequest$a(resourceParams);
|
|
674
672
|
return luvio.dispatchResourceRequest(request, options)
|
|
675
673
|
.then((response) => {
|
|
676
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () =>
|
|
674
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$5(luvio, config, resourceParams, response), () => {
|
|
675
|
+
const cache = new StoreKeyMap();
|
|
676
|
+
getResponseCacheKeys$a(cache, luvio, resourceParams, response.body);
|
|
677
|
+
return cache;
|
|
678
|
+
});
|
|
677
679
|
}, (response) => {
|
|
678
680
|
return luvio.handleErrorResponse(() => onFetchResponseError$5(luvio, config, resourceParams, response));
|
|
679
681
|
});
|
|
@@ -749,8 +751,8 @@ function validate$d(obj, path = 'LightningAssistantQuestionnaireInputRepresentat
|
|
|
749
751
|
function select$r(luvio, params) {
|
|
750
752
|
return select$t();
|
|
751
753
|
}
|
|
752
|
-
function getResponseCacheKeys$9(luvio, resourceParams, response) {
|
|
753
|
-
|
|
754
|
+
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
755
|
+
getTypeCacheKeys$8(storeKeyMap, luvio, response);
|
|
754
756
|
}
|
|
755
757
|
function ingestSuccess$9(luvio, resourceParams, response) {
|
|
756
758
|
const { body } = response;
|
|
@@ -835,7 +837,11 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
835
837
|
return luvio.handleSuccessResponse(() => {
|
|
836
838
|
const snapshot = ingestSuccess$9(luvio, resourceParams, response);
|
|
837
839
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
838
|
-
}, () =>
|
|
840
|
+
}, () => {
|
|
841
|
+
const cache = new StoreKeyMap();
|
|
842
|
+
getResponseCacheKeys$9(cache, luvio, resourceParams, response.body);
|
|
843
|
+
return cache;
|
|
844
|
+
});
|
|
839
845
|
}, (response) => {
|
|
840
846
|
deepFreeze(response);
|
|
841
847
|
throw response;
|
|
@@ -1374,8 +1380,7 @@ const ingest$7 = function LightningAssistantStepRepresentationIngest(input, path
|
|
|
1374
1380
|
}
|
|
1375
1381
|
return createLink(key);
|
|
1376
1382
|
};
|
|
1377
|
-
function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
|
|
1378
|
-
const rootKeySet = new StoreKeyMap();
|
|
1383
|
+
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
1379
1384
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1380
1385
|
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
1381
1386
|
rootKeySet.set(rootKey, {
|
|
@@ -1383,14 +1388,13 @@ function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
|
|
|
1383
1388
|
representationName: RepresentationType$7,
|
|
1384
1389
|
mergeable: false
|
|
1385
1390
|
});
|
|
1386
|
-
return rootKeySet;
|
|
1387
1391
|
}
|
|
1388
1392
|
|
|
1389
1393
|
function select$h(luvio, params) {
|
|
1390
1394
|
return select$i();
|
|
1391
1395
|
}
|
|
1392
|
-
function getResponseCacheKeys$8(luvio, resourceParams, response) {
|
|
1393
|
-
|
|
1396
|
+
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
1397
|
+
getTypeCacheKeys$7(storeKeyMap, luvio, response);
|
|
1394
1398
|
}
|
|
1395
1399
|
function ingestSuccess$8(luvio, resourceParams, response) {
|
|
1396
1400
|
const { body } = response;
|
|
@@ -1467,7 +1471,11 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
1467
1471
|
return luvio.handleSuccessResponse(() => {
|
|
1468
1472
|
const snapshot = ingestSuccess$8(luvio, resourceParams, response);
|
|
1469
1473
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
1470
|
-
}, () =>
|
|
1474
|
+
}, () => {
|
|
1475
|
+
const cache = new StoreKeyMap();
|
|
1476
|
+
getResponseCacheKeys$8(cache, luvio, resourceParams, response.body);
|
|
1477
|
+
return cache;
|
|
1478
|
+
});
|
|
1471
1479
|
}, (response) => {
|
|
1472
1480
|
deepFreeze(response);
|
|
1473
1481
|
throw response;
|
|
@@ -1768,8 +1776,7 @@ const ingest$6 = function LightningAssistantLayoutNodeRepresentationIngest(input
|
|
|
1768
1776
|
}
|
|
1769
1777
|
return createLink(key);
|
|
1770
1778
|
};
|
|
1771
|
-
function getTypeCacheKeys$6(luvio, input, fullPathFactory) {
|
|
1772
|
-
const rootKeySet = new StoreKeyMap();
|
|
1779
|
+
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
1773
1780
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1774
1781
|
const rootKey = fullPathFactory();
|
|
1775
1782
|
rootKeySet.set(rootKey, {
|
|
@@ -1778,10 +1785,8 @@ function getTypeCacheKeys$6(luvio, input, fullPathFactory) {
|
|
|
1778
1785
|
mergeable: false
|
|
1779
1786
|
});
|
|
1780
1787
|
if (input.step !== null && typeof input.step === 'object') {
|
|
1781
|
-
|
|
1782
|
-
rootKeySet.merge(input_step);
|
|
1788
|
+
getTypeCacheKeys$7(rootKeySet, luvio, input.step);
|
|
1783
1789
|
}
|
|
1784
|
-
return rootKeySet;
|
|
1785
1790
|
}
|
|
1786
1791
|
|
|
1787
1792
|
const VERSION$7 = "596a25b0bee0b1db5495fe57dd7bd025";
|
|
@@ -2177,8 +2182,7 @@ const ingest$5 = function LightningAssistantRepresentationIngest(input, path, lu
|
|
|
2177
2182
|
}
|
|
2178
2183
|
return createLink(key);
|
|
2179
2184
|
};
|
|
2180
|
-
function getTypeCacheKeys$5(luvio, input, fullPathFactory) {
|
|
2181
|
-
const rootKeySet = new StoreKeyMap();
|
|
2185
|
+
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
2182
2186
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2183
2187
|
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
2184
2188
|
rootKeySet.set(rootKey, {
|
|
@@ -2186,9 +2190,7 @@ function getTypeCacheKeys$5(luvio, input, fullPathFactory) {
|
|
|
2186
2190
|
representationName: RepresentationType$5,
|
|
2187
2191
|
mergeable: false
|
|
2188
2192
|
});
|
|
2189
|
-
|
|
2190
|
-
rootKeySet.merge(input_layout);
|
|
2191
|
-
return rootKeySet;
|
|
2193
|
+
getTypeCacheKeys$6(rootKeySet, luvio, input.layout, () => rootKey + "__" + "layout");
|
|
2192
2194
|
}
|
|
2193
2195
|
|
|
2194
2196
|
function select$e(luvio, params) {
|
|
@@ -2199,8 +2201,8 @@ function keyBuilder$e(luvio, params) {
|
|
|
2199
2201
|
assistant_name: params.urlParams.assistantName
|
|
2200
2202
|
});
|
|
2201
2203
|
}
|
|
2202
|
-
function getResponseCacheKeys$7(luvio, resourceParams, response) {
|
|
2203
|
-
|
|
2204
|
+
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
2205
|
+
getTypeCacheKeys$5(storeKeyMap, luvio, response);
|
|
2204
2206
|
}
|
|
2205
2207
|
function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
|
|
2206
2208
|
const { body } = response;
|
|
@@ -2302,7 +2304,11 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
2302
2304
|
const request = createResourceRequest$7(resourceParams);
|
|
2303
2305
|
return luvio.dispatchResourceRequest(request, options)
|
|
2304
2306
|
.then((response) => {
|
|
2305
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () =>
|
|
2307
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$4(luvio, config, resourceParams, response), () => {
|
|
2308
|
+
const cache = new StoreKeyMap();
|
|
2309
|
+
getResponseCacheKeys$7(cache, luvio, resourceParams, response.body);
|
|
2310
|
+
return cache;
|
|
2311
|
+
});
|
|
2306
2312
|
}, (response) => {
|
|
2307
2313
|
return luvio.handleErrorResponse(() => onFetchResponseError$4(luvio, config, resourceParams, response));
|
|
2308
2314
|
});
|
|
@@ -2373,8 +2379,8 @@ function validate$8(obj, path = 'LightningAssistantUpdateInputRepresentation') {
|
|
|
2373
2379
|
function select$d(luvio, params) {
|
|
2374
2380
|
return select$f();
|
|
2375
2381
|
}
|
|
2376
|
-
function getResponseCacheKeys$6(luvio, resourceParams, response) {
|
|
2377
|
-
|
|
2382
|
+
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
2383
|
+
getTypeCacheKeys$5(storeKeyMap, luvio, response);
|
|
2378
2384
|
}
|
|
2379
2385
|
function ingestSuccess$6(luvio, resourceParams, response) {
|
|
2380
2386
|
const { body } = response;
|
|
@@ -2459,7 +2465,11 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
2459
2465
|
return luvio.handleSuccessResponse(() => {
|
|
2460
2466
|
const snapshot = ingestSuccess$6(luvio, resourceParams, response);
|
|
2461
2467
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
2462
|
-
}, () =>
|
|
2468
|
+
}, () => {
|
|
2469
|
+
const cache = new StoreKeyMap();
|
|
2470
|
+
getResponseCacheKeys$6(cache, luvio, resourceParams, response.body);
|
|
2471
|
+
return cache;
|
|
2472
|
+
});
|
|
2463
2473
|
}, (response) => {
|
|
2464
2474
|
deepFreeze(response);
|
|
2465
2475
|
throw response;
|
|
@@ -2581,8 +2591,7 @@ const ingest$4 = function LightningAssistantQuestionnaireListRepresentationInges
|
|
|
2581
2591
|
}
|
|
2582
2592
|
return createLink(key);
|
|
2583
2593
|
};
|
|
2584
|
-
function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
|
|
2585
|
-
const rootKeySet = new StoreKeyMap();
|
|
2594
|
+
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
2586
2595
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2587
2596
|
const rootKey = keyBuilderFromType$4(luvio, input);
|
|
2588
2597
|
rootKeySet.set(rootKey, {
|
|
@@ -2590,7 +2599,6 @@ function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
|
|
|
2590
2599
|
representationName: RepresentationType$4,
|
|
2591
2600
|
mergeable: false
|
|
2592
2601
|
});
|
|
2593
|
-
return rootKeySet;
|
|
2594
2602
|
}
|
|
2595
2603
|
|
|
2596
2604
|
function select$b(luvio, params) {
|
|
@@ -2601,8 +2609,8 @@ function keyBuilder$b(luvio, params) {
|
|
|
2601
2609
|
assistant_name: params.urlParams.assistantName
|
|
2602
2610
|
});
|
|
2603
2611
|
}
|
|
2604
|
-
function getResponseCacheKeys$5(luvio, resourceParams, response) {
|
|
2605
|
-
|
|
2612
|
+
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
2613
|
+
getTypeCacheKeys$4(storeKeyMap, luvio, response);
|
|
2606
2614
|
}
|
|
2607
2615
|
function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
2608
2616
|
const { body } = response;
|
|
@@ -2704,7 +2712,11 @@ function buildNetworkSnapshot$5(luvio, config, options) {
|
|
|
2704
2712
|
const request = createResourceRequest$5(resourceParams);
|
|
2705
2713
|
return luvio.dispatchResourceRequest(request, options)
|
|
2706
2714
|
.then((response) => {
|
|
2707
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () =>
|
|
2715
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
|
|
2716
|
+
const cache = new StoreKeyMap();
|
|
2717
|
+
getResponseCacheKeys$5(cache, luvio, resourceParams, response.body);
|
|
2718
|
+
return cache;
|
|
2719
|
+
});
|
|
2708
2720
|
}, (response) => {
|
|
2709
2721
|
return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
|
|
2710
2722
|
});
|
|
@@ -2923,8 +2935,7 @@ const ingest$3 = function LightningAssistantTargetRepresentationIngest(input, pa
|
|
|
2923
2935
|
}
|
|
2924
2936
|
return createLink(key);
|
|
2925
2937
|
};
|
|
2926
|
-
function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
|
|
2927
|
-
const rootKeySet = new StoreKeyMap();
|
|
2938
|
+
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
2928
2939
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2929
2940
|
const rootKey = keyBuilderFromType$3(luvio, input);
|
|
2930
2941
|
rootKeySet.set(rootKey, {
|
|
@@ -2932,7 +2943,6 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
|
|
|
2932
2943
|
representationName: RepresentationType$3,
|
|
2933
2944
|
mergeable: false
|
|
2934
2945
|
});
|
|
2935
|
-
return rootKeySet;
|
|
2936
2946
|
}
|
|
2937
2947
|
|
|
2938
2948
|
function select$8(luvio, params) {
|
|
@@ -2943,8 +2953,8 @@ function keyBuilder$8(luvio, params) {
|
|
|
2943
2953
|
assistant_target: params.urlParams.assistantTarget
|
|
2944
2954
|
});
|
|
2945
2955
|
}
|
|
2946
|
-
function getResponseCacheKeys$4(luvio, resourceParams, response) {
|
|
2947
|
-
|
|
2956
|
+
function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
2957
|
+
getTypeCacheKeys$3(storeKeyMap, luvio, response);
|
|
2948
2958
|
}
|
|
2949
2959
|
function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
2950
2960
|
const { body } = response;
|
|
@@ -3046,7 +3056,11 @@ function buildNetworkSnapshot$4(luvio, config, options) {
|
|
|
3046
3056
|
const request = createResourceRequest$4(resourceParams);
|
|
3047
3057
|
return luvio.dispatchResourceRequest(request, options)
|
|
3048
3058
|
.then((response) => {
|
|
3049
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () =>
|
|
3059
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
|
|
3060
|
+
const cache = new StoreKeyMap();
|
|
3061
|
+
getResponseCacheKeys$4(cache, luvio, resourceParams, response.body);
|
|
3062
|
+
return cache;
|
|
3063
|
+
});
|
|
3050
3064
|
}, (response) => {
|
|
3051
3065
|
return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
|
|
3052
3066
|
});
|
|
@@ -3184,8 +3198,7 @@ const ingest$2 = function LightningAssistantInitializationRepresentationIngest(i
|
|
|
3184
3198
|
}
|
|
3185
3199
|
return createLink(key);
|
|
3186
3200
|
};
|
|
3187
|
-
function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
|
|
3188
|
-
const rootKeySet = new StoreKeyMap();
|
|
3201
|
+
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
3189
3202
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3190
3203
|
const rootKey = keyBuilderFromType$2(luvio, input);
|
|
3191
3204
|
rootKeySet.set(rootKey, {
|
|
@@ -3193,14 +3206,13 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
|
|
|
3193
3206
|
representationName: RepresentationType$2,
|
|
3194
3207
|
mergeable: false
|
|
3195
3208
|
});
|
|
3196
|
-
return rootKeySet;
|
|
3197
3209
|
}
|
|
3198
3210
|
|
|
3199
3211
|
function select$6(luvio, params) {
|
|
3200
3212
|
return select$7();
|
|
3201
3213
|
}
|
|
3202
|
-
function getResponseCacheKeys$3(luvio, resourceParams, response) {
|
|
3203
|
-
|
|
3214
|
+
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
3215
|
+
getTypeCacheKeys$2(storeKeyMap, luvio, response);
|
|
3204
3216
|
}
|
|
3205
3217
|
function ingestSuccess$3(luvio, resourceParams, response) {
|
|
3206
3218
|
const { body } = response;
|
|
@@ -3277,7 +3289,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
3277
3289
|
return luvio.handleSuccessResponse(() => {
|
|
3278
3290
|
const snapshot = ingestSuccess$3(luvio, resourceParams, response);
|
|
3279
3291
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
3280
|
-
}, () =>
|
|
3292
|
+
}, () => {
|
|
3293
|
+
const cache = new StoreKeyMap();
|
|
3294
|
+
getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
|
|
3295
|
+
return cache;
|
|
3296
|
+
});
|
|
3281
3297
|
}, (response) => {
|
|
3282
3298
|
deepFreeze(response);
|
|
3283
3299
|
throw response;
|
|
@@ -3416,8 +3432,7 @@ const ingest$1 = function LightningAssistantListRepresentationIngest(input, path
|
|
|
3416
3432
|
}
|
|
3417
3433
|
return createLink(key);
|
|
3418
3434
|
};
|
|
3419
|
-
function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
3420
|
-
const rootKeySet = new StoreKeyMap();
|
|
3435
|
+
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
3421
3436
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3422
3437
|
const rootKey = keyBuilderFromType$1(luvio, input);
|
|
3423
3438
|
rootKeySet.set(rootKey, {
|
|
@@ -3427,9 +3442,8 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
|
3427
3442
|
});
|
|
3428
3443
|
const input_assistantList_length = input.assistantList.length;
|
|
3429
3444
|
for (let i = 0; i < input_assistantList_length; i++) {
|
|
3430
|
-
|
|
3445
|
+
getTypeCacheKeys$5(rootKeySet, luvio, input.assistantList[i]);
|
|
3431
3446
|
}
|
|
3432
|
-
return rootKeySet;
|
|
3433
3447
|
}
|
|
3434
3448
|
|
|
3435
3449
|
function select$4(luvio, params) {
|
|
@@ -3440,8 +3454,8 @@ function keyBuilder$4(luvio, params) {
|
|
|
3440
3454
|
assistant_target: params.urlParams.assistantTarget
|
|
3441
3455
|
});
|
|
3442
3456
|
}
|
|
3443
|
-
function getResponseCacheKeys$2(luvio, resourceParams, response) {
|
|
3444
|
-
|
|
3457
|
+
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
3458
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response);
|
|
3445
3459
|
}
|
|
3446
3460
|
function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
3447
3461
|
const { body } = response;
|
|
@@ -3543,7 +3557,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
3543
3557
|
const request = createResourceRequest$2(resourceParams);
|
|
3544
3558
|
return luvio.dispatchResourceRequest(request, options)
|
|
3545
3559
|
.then((response) => {
|
|
3546
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () =>
|
|
3560
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
3561
|
+
const cache = new StoreKeyMap();
|
|
3562
|
+
getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
|
|
3563
|
+
return cache;
|
|
3564
|
+
});
|
|
3547
3565
|
}, (response) => {
|
|
3548
3566
|
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
3549
3567
|
});
|
|
@@ -3614,8 +3632,8 @@ function validate$2(obj, path = 'LightningAssistantListInputRepresentation') {
|
|
|
3614
3632
|
function select$3(luvio, params) {
|
|
3615
3633
|
return select$5();
|
|
3616
3634
|
}
|
|
3617
|
-
function getResponseCacheKeys$1(luvio, resourceParams, response) {
|
|
3618
|
-
|
|
3635
|
+
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
3636
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response);
|
|
3619
3637
|
}
|
|
3620
3638
|
function ingestSuccess$1(luvio, resourceParams, response) {
|
|
3621
3639
|
const { body } = response;
|
|
@@ -3700,7 +3718,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
3700
3718
|
return luvio.handleSuccessResponse(() => {
|
|
3701
3719
|
const snapshot = ingestSuccess$1(luvio, resourceParams, response);
|
|
3702
3720
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
3703
|
-
}, () =>
|
|
3721
|
+
}, () => {
|
|
3722
|
+
const cache = new StoreKeyMap();
|
|
3723
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
3724
|
+
return cache;
|
|
3725
|
+
});
|
|
3704
3726
|
}, (response) => {
|
|
3705
3727
|
deepFreeze(response);
|
|
3706
3728
|
throw response;
|
|
@@ -4011,8 +4033,7 @@ const ingest = function LightningAssistantInfoListRepresentationIngest(input, pa
|
|
|
4011
4033
|
}
|
|
4012
4034
|
return createLink(key);
|
|
4013
4035
|
};
|
|
4014
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
4015
|
-
const rootKeySet = new StoreKeyMap();
|
|
4036
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
4016
4037
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4017
4038
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
4018
4039
|
rootKeySet.set(rootKey, {
|
|
@@ -4020,7 +4041,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
4020
4041
|
representationName: RepresentationType,
|
|
4021
4042
|
mergeable: false
|
|
4022
4043
|
});
|
|
4023
|
-
return rootKeySet;
|
|
4024
4044
|
}
|
|
4025
4045
|
|
|
4026
4046
|
function select(luvio, params) {
|
|
@@ -4031,8 +4051,8 @@ function keyBuilder$1(luvio, params) {
|
|
|
4031
4051
|
assistant_target: params.urlParams.assistantTarget
|
|
4032
4052
|
});
|
|
4033
4053
|
}
|
|
4034
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
4035
|
-
|
|
4054
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
4055
|
+
getTypeCacheKeys(storeKeyMap, luvio, response);
|
|
4036
4056
|
}
|
|
4037
4057
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
4038
4058
|
const { body } = response;
|
|
@@ -4134,7 +4154,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
4134
4154
|
const request = createResourceRequest(resourceParams);
|
|
4135
4155
|
return luvio.dispatchResourceRequest(request, options)
|
|
4136
4156
|
.then((response) => {
|
|
4137
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
4157
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
4158
|
+
const cache = new StoreKeyMap();
|
|
4159
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
4160
|
+
return cache;
|
|
4161
|
+
});
|
|
4138
4162
|
}, (response) => {
|
|
4139
4163
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
4140
4164
|
});
|
package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformByAssistantName.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantRepresentation as types_LightningAssistantRepresentation_LightningAssistantRepresentation } from '../types/LightningAssistantRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantRepresentation_LightningAssistantRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantRepresentation_LightningAssistantRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantRepresentation_LightningAssistantRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantRepresentation_LightningAssistantRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantRepresentation_LightningAssistantRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantRepresentation_LightningAssistantRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantRepresentation_LightningAssistantRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantRepresentation_LightningAssistantRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformInfoByAssistantTarget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantTargetRepresentation as types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation } from '../types/LightningAssistantTargetRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantTargetRepresentation_LightningAssistantTargetRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getAssistantPlatformListByAssistantTarget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantListRepresentation as types_LightningAssistantListRepresentation_LightningAssistantListRepresentation } from '../types/LightningAssistantListRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantListRepresentation_LightningAssistantListRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantListRepresentation_LightningAssistantListRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantInfoListRepresentation as types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation } from '../types/LightningAssistantInfoListRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantInfoListRepresentation_LightningAssistantInfoListRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantQuestionnaireRepresentation as types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation } from '../types/LightningAssistantQuestionnaireRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantQuestionnaireListRepresentation as types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation } from '../types/LightningAssistantQuestionnaireListRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_LightningAssistantQuestionnaireListRepresentation_LightningAssistantQuestionnaireListRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/patchAssistantPlatformByAssistantName.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LightningAssistantUpdateInputRepresentation as types_LightningAssistantUpdateInputRepresentation_LightningAssistantUpdateInputRepresentation } from '../types/LightningAssistantUpdateInputRepresentation';
|
|
2
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
3
|
import { LightningAssistantRepresentation as types_LightningAssistantRepresentation_LightningAssistantRepresentation } from '../types/LightningAssistantRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
urlParams: {
|
|
@@ -10,7 +10,7 @@ export interface ResourceRequestConfig {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantRepresentation_LightningAssistantRepresentation):
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantRepresentation_LightningAssistantRepresentation): void;
|
|
14
14
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantRepresentation_LightningAssistantRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantRepresentation_LightningAssistantRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantRepresentation_LightningAssistantRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantRepresentation_LightningAssistantRepresentation, any>;
|
|
15
15
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
16
|
export default createResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LightningAssistantListInputRepresentation as types_LightningAssistantListInputRepresentation_LightningAssistantListInputRepresentation } from '../types/LightningAssistantListInputRepresentation';
|
|
2
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
3
|
import { LightningAssistantListRepresentation as types_LightningAssistantListRepresentation_LightningAssistantListRepresentation } from '../types/LightningAssistantListRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
urlParams: {
|
|
@@ -10,7 +10,7 @@ export interface ResourceRequestConfig {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantListRepresentation_LightningAssistantListRepresentation):
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantListRepresentation_LightningAssistantListRepresentation): void;
|
|
14
14
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantListRepresentation_LightningAssistantListRepresentation, any>;
|
|
15
15
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
16
|
export default createResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LightningAssistantQuestionnaireInputRepresentation as types_LightningAssistantQuestionnaireInputRepresentation_LightningAssistantQuestionnaireInputRepresentation } from '../types/LightningAssistantQuestionnaireInputRepresentation';
|
|
2
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
3
|
import { LightningAssistantQuestionnaireRepresentation as types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation } from '../types/LightningAssistantQuestionnaireRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
urlParams: {
|
|
@@ -10,7 +10,7 @@ export interface ResourceRequestConfig {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation):
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation): void;
|
|
14
14
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantQuestionnaireRepresentation_LightningAssistantQuestionnaireRepresentation, any>;
|
|
15
15
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
16
|
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/patchAssistantPlatformStepByStepName.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { LightningAssistantStepRepresentation as types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation } from '../types/LightningAssistantStepRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -6,7 +6,7 @@ export interface ResourceRequestConfig {
|
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation):
|
|
9
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation): void;
|
|
10
10
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_LightningAssistantStepRepresentation_LightningAssistantStepRepresentation, any>;
|
|
11
11
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
12
|
export default createResourceRequest;
|