@salesforce/lds-adapters-platform-enablement 1.266.0-dev7 → 1.266.0-dev9
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-enablement.js +37 -10
- package/dist/es/es2018/types/src/generated/adapters/getProgramSummaryCollection.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getProgramSummaryCollectionForCommunity.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCommunitiesEnablementProgramSummaryCollectionByCommunityId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectEnablementProgramSummaryCollection.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/EnablementProgramSummaryListRepresentation.d.ts +1 -0
- package/package.json +4 -4
- package/sfdc/index.js +42 -11
- package/src/raml/api.raml +6 -0
- package/src/raml/luvio.raml +2 -0
|
@@ -621,7 +621,7 @@ function equals$3(existing, incoming) {
|
|
|
621
621
|
return true;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
const TTL$
|
|
624
|
+
const TTL$2 = 15000;
|
|
625
625
|
const VERSION$2 = "8c024832561adc9be3b12d390c61abe5";
|
|
626
626
|
function validate$2(obj, path = 'EnablementProgramSummaryRepresentation') {
|
|
627
627
|
const v_error = (() => {
|
|
@@ -984,7 +984,7 @@ const ingest$2 = function EnablementProgramSummaryRepresentationIngest(input, pa
|
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
const key = keyBuilderFromType$1(luvio, input);
|
|
987
|
-
const ttlToUse = TTL$
|
|
987
|
+
const ttlToUse = TTL$2;
|
|
988
988
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "enablement", VERSION$2, RepresentationType$2, equals$2);
|
|
989
989
|
return createLink(key);
|
|
990
990
|
};
|
|
@@ -1012,6 +1012,7 @@ const notifyUpdateAvailableFactory = (luvio) => {
|
|
|
1012
1012
|
};
|
|
1013
1013
|
};
|
|
1014
1014
|
|
|
1015
|
+
const TTL$1 = 15000;
|
|
1015
1016
|
const VERSION$1 = "7ef7adad59a82a6a2a4ab4ba77434b67";
|
|
1016
1017
|
function validate$1(obj, path = 'EnablementProgramSummaryListRepresentation') {
|
|
1017
1018
|
const v_error = (() => {
|
|
@@ -1103,7 +1104,7 @@ const ingest$1 = function EnablementProgramSummaryListRepresentationIngest(input
|
|
|
1103
1104
|
}
|
|
1104
1105
|
}
|
|
1105
1106
|
const key = path.fullPath;
|
|
1106
|
-
const ttlToUse =
|
|
1107
|
+
const ttlToUse = TTL$1;
|
|
1107
1108
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "enablement", VERSION$1, RepresentationType$1, equals$1);
|
|
1108
1109
|
return createLink(key);
|
|
1109
1110
|
};
|
|
@@ -1150,7 +1151,13 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1150
1151
|
function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
1151
1152
|
const key = keyBuilder$a(luvio, params);
|
|
1152
1153
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1153
|
-
|
|
1154
|
+
const storeMetadataParams = {
|
|
1155
|
+
ttl: TTL$1,
|
|
1156
|
+
namespace: keyPrefix,
|
|
1157
|
+
version: VERSION$1,
|
|
1158
|
+
representationName: RepresentationType$1
|
|
1159
|
+
};
|
|
1160
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1154
1161
|
return errorSnapshot;
|
|
1155
1162
|
}
|
|
1156
1163
|
function createResourceRequest$6(config) {
|
|
@@ -1260,7 +1267,7 @@ function select$6(luvio, params) {
|
|
|
1260
1267
|
return select$8();
|
|
1261
1268
|
}
|
|
1262
1269
|
function keyBuilder$8(luvio, params) {
|
|
1263
|
-
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'communityId:' + params.urlParams.communityId + ')';
|
|
1270
|
+
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'collectionKey:' + params.queryParams.collectionKey + ',' + 'communityId:' + params.urlParams.communityId + ')';
|
|
1264
1271
|
}
|
|
1265
1272
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
1266
1273
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
@@ -1285,7 +1292,13 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1285
1292
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
1286
1293
|
const key = keyBuilder$8(luvio, params);
|
|
1287
1294
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1288
|
-
|
|
1295
|
+
const storeMetadataParams = {
|
|
1296
|
+
ttl: TTL$1,
|
|
1297
|
+
namespace: keyPrefix,
|
|
1298
|
+
version: VERSION$1,
|
|
1299
|
+
representationName: RepresentationType$1
|
|
1300
|
+
};
|
|
1301
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1289
1302
|
return errorSnapshot;
|
|
1290
1303
|
}
|
|
1291
1304
|
function createResourceRequest$5(config) {
|
|
@@ -1308,6 +1321,7 @@ const getProgramSummaryCollectionForCommunity_ConfigPropertyMetadata = [
|
|
|
1308
1321
|
generateParamConfigMetadata('filter', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1309
1322
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1310
1323
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1324
|
+
generateParamConfigMetadata('collectionKey', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1311
1325
|
];
|
|
1312
1326
|
const getProgramSummaryCollectionForCommunity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getProgramSummaryCollectionForCommunity_ConfigPropertyMetadata);
|
|
1313
1327
|
const createResourceParams$5 = /*#__PURE__*/ createResourceParams$7(getProgramSummaryCollectionForCommunity_ConfigPropertyMetadata);
|
|
@@ -1420,7 +1434,13 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1420
1434
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
1421
1435
|
const key = keyBuilder$6(luvio, params);
|
|
1422
1436
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1423
|
-
|
|
1437
|
+
const storeMetadataParams = {
|
|
1438
|
+
ttl: TTL$1,
|
|
1439
|
+
namespace: keyPrefix,
|
|
1440
|
+
version: VERSION$1,
|
|
1441
|
+
representationName: RepresentationType$1
|
|
1442
|
+
};
|
|
1443
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1424
1444
|
return errorSnapshot;
|
|
1425
1445
|
}
|
|
1426
1446
|
function createResourceRequest$4(config) {
|
|
@@ -1529,7 +1549,7 @@ function select$4(luvio, params) {
|
|
|
1529
1549
|
return select$8();
|
|
1530
1550
|
}
|
|
1531
1551
|
function keyBuilder$4(luvio, params) {
|
|
1532
|
-
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ')';
|
|
1552
|
+
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'collectionKey:' + params.queryParams.collectionKey + ')';
|
|
1533
1553
|
}
|
|
1534
1554
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
1535
1555
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
|
|
@@ -1554,7 +1574,13 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1554
1574
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
1555
1575
|
const key = keyBuilder$4(luvio, params);
|
|
1556
1576
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1557
|
-
|
|
1577
|
+
const storeMetadataParams = {
|
|
1578
|
+
ttl: TTL$1,
|
|
1579
|
+
namespace: keyPrefix,
|
|
1580
|
+
version: VERSION$1,
|
|
1581
|
+
representationName: RepresentationType$1
|
|
1582
|
+
};
|
|
1583
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1558
1584
|
return errorSnapshot;
|
|
1559
1585
|
}
|
|
1560
1586
|
function createResourceRequest$3(config) {
|
|
@@ -1576,6 +1602,7 @@ const getProgramSummaryCollection_ConfigPropertyMetadata = [
|
|
|
1576
1602
|
generateParamConfigMetadata('filter', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1577
1603
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1578
1604
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1605
|
+
generateParamConfigMetadata('collectionKey', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1579
1606
|
];
|
|
1580
1607
|
const getProgramSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProgramSummaryCollection_ConfigPropertyMetadata);
|
|
1581
1608
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(getProgramSummaryCollection_ConfigPropertyMetadata);
|
|
@@ -1691,7 +1718,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1691
1718
|
const key = keyBuilder$2(luvio, params);
|
|
1692
1719
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1693
1720
|
const storeMetadataParams = {
|
|
1694
|
-
ttl: TTL$
|
|
1721
|
+
ttl: TTL$2,
|
|
1695
1722
|
namespace: keyPrefix,
|
|
1696
1723
|
version: VERSION$2,
|
|
1697
1724
|
representationName: RepresentationType$2
|
|
@@ -9,6 +9,7 @@ export interface GetProgramSummaryCollectionConfig {
|
|
|
9
9
|
filter?: string;
|
|
10
10
|
limit?: number;
|
|
11
11
|
offset?: number;
|
|
12
|
+
collectionKey?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare const createResourceParams: (config: GetProgramSummaryCollectionConfig) => resources_getConnectEnablementProgramSummaryCollection_ResourceRequestConfig;
|
|
14
15
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProgramSummaryCollectionConfig): string;
|
package/dist/es/es2018/types/src/generated/adapters/getProgramSummaryCollectionForCommunity.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface GetProgramSummaryCollectionForCommunityConfig {
|
|
|
10
10
|
filter?: string;
|
|
11
11
|
limit?: number;
|
|
12
12
|
offset?: number;
|
|
13
|
+
collectionKey?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare const createResourceParams: (config: GetProgramSummaryCollectionForCommunityConfig) => resources_getConnectCommunitiesEnablementProgramSummaryCollectionByCommunityId_ResourceRequestConfig;
|
|
15
16
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProgramSummaryCollectionForCommunityConfig): string;
|
package/dist/es/es2018/types/src/generated/types/EnablementProgramSummaryListRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
import { EnablementProgramSummaryRepresentation as EnablementProgramSummaryRepresentation_EnablementProgramSummaryRepresentation } from './EnablementProgramSummaryRepresentation';
|
|
3
|
+
export declare const TTL = 15000;
|
|
3
4
|
export declare const VERSION = "7ef7adad59a82a6a2a4ab4ba77434b67";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-enablement",
|
|
3
|
-
"version": "1.266.0-
|
|
3
|
+
"version": "1.266.0-dev9",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for enablement APIs",
|
|
6
6
|
"main": "dist/es/es2018/platform-enablement.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.266.0-
|
|
47
|
+
"@salesforce/lds-bindings": "^1.266.0-dev9"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.266.0-
|
|
51
|
-
"@salesforce/lds-karma": "^1.266.0-
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.266.0-dev9",
|
|
51
|
+
"@salesforce/lds-karma": "^1.266.0-dev9"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -631,7 +631,7 @@ function equals$3(existing, incoming) {
|
|
|
631
631
|
return true;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
const TTL$
|
|
634
|
+
const TTL$2 = 15000;
|
|
635
635
|
const VERSION$2 = "8c024832561adc9be3b12d390c61abe5";
|
|
636
636
|
function validate$2(obj, path = 'EnablementProgramSummaryRepresentation') {
|
|
637
637
|
const v_error = (() => {
|
|
@@ -994,7 +994,7 @@ const ingest$2 = function EnablementProgramSummaryRepresentationIngest(input, pa
|
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
996
|
const key = keyBuilderFromType$1(luvio, input);
|
|
997
|
-
const ttlToUse = TTL$
|
|
997
|
+
const ttlToUse = TTL$2;
|
|
998
998
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "enablement", VERSION$2, RepresentationType$2, equals$2);
|
|
999
999
|
return createLink(key);
|
|
1000
1000
|
};
|
|
@@ -1022,6 +1022,7 @@ const notifyUpdateAvailableFactory = (luvio) => {
|
|
|
1022
1022
|
};
|
|
1023
1023
|
};
|
|
1024
1024
|
|
|
1025
|
+
const TTL$1 = 15000;
|
|
1025
1026
|
const VERSION$1 = "7ef7adad59a82a6a2a4ab4ba77434b67";
|
|
1026
1027
|
function validate$1(obj, path = 'EnablementProgramSummaryListRepresentation') {
|
|
1027
1028
|
const v_error = (() => {
|
|
@@ -1113,7 +1114,7 @@ const ingest$1 = function EnablementProgramSummaryListRepresentationIngest(input
|
|
|
1113
1114
|
}
|
|
1114
1115
|
}
|
|
1115
1116
|
const key = path.fullPath;
|
|
1116
|
-
const ttlToUse =
|
|
1117
|
+
const ttlToUse = TTL$1;
|
|
1117
1118
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "enablement", VERSION$1, RepresentationType$1, equals$1);
|
|
1118
1119
|
return createLink(key);
|
|
1119
1120
|
};
|
|
@@ -1160,7 +1161,13 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1160
1161
|
function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
1161
1162
|
const key = keyBuilder$a(luvio, params);
|
|
1162
1163
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1163
|
-
|
|
1164
|
+
const storeMetadataParams = {
|
|
1165
|
+
ttl: TTL$1,
|
|
1166
|
+
namespace: keyPrefix,
|
|
1167
|
+
version: VERSION$1,
|
|
1168
|
+
representationName: RepresentationType$1
|
|
1169
|
+
};
|
|
1170
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1164
1171
|
return errorSnapshot;
|
|
1165
1172
|
}
|
|
1166
1173
|
function createResourceRequest$6(config) {
|
|
@@ -1294,7 +1301,13 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1294
1301
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
1295
1302
|
const key = keyBuilder$8(luvio, params);
|
|
1296
1303
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1297
|
-
|
|
1304
|
+
const storeMetadataParams = {
|
|
1305
|
+
ttl: TTL$1,
|
|
1306
|
+
namespace: keyPrefix,
|
|
1307
|
+
version: VERSION$1,
|
|
1308
|
+
representationName: RepresentationType$1
|
|
1309
|
+
};
|
|
1310
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1298
1311
|
return errorSnapshot;
|
|
1299
1312
|
}
|
|
1300
1313
|
function createResourceRequest$5(config) {
|
|
@@ -1432,7 +1445,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1432
1445
|
const key = keyBuilder$6(luvio, params);
|
|
1433
1446
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1434
1447
|
const storeMetadataParams = {
|
|
1435
|
-
ttl: TTL$
|
|
1448
|
+
ttl: TTL$2,
|
|
1436
1449
|
namespace: keyPrefix,
|
|
1437
1450
|
version: VERSION$2,
|
|
1438
1451
|
representationName: RepresentationType$2
|
|
@@ -1545,7 +1558,7 @@ function select$4(luvio, params) {
|
|
|
1545
1558
|
return select$8();
|
|
1546
1559
|
}
|
|
1547
1560
|
function keyBuilder$4(luvio, params) {
|
|
1548
|
-
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ')';
|
|
1561
|
+
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'collectionKey:' + params.queryParams.collectionKey + ')';
|
|
1549
1562
|
}
|
|
1550
1563
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
1551
1564
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
|
|
@@ -1570,7 +1583,13 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1570
1583
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
1571
1584
|
const key = keyBuilder$4(luvio, params);
|
|
1572
1585
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1573
|
-
|
|
1586
|
+
const storeMetadataParams = {
|
|
1587
|
+
ttl: TTL$1,
|
|
1588
|
+
namespace: keyPrefix,
|
|
1589
|
+
version: VERSION$1,
|
|
1590
|
+
representationName: RepresentationType$1
|
|
1591
|
+
};
|
|
1592
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1574
1593
|
return errorSnapshot;
|
|
1575
1594
|
}
|
|
1576
1595
|
function createResourceRequest$3(config) {
|
|
@@ -1592,6 +1611,7 @@ const getProgramSummaryCollection_ConfigPropertyMetadata = [
|
|
|
1592
1611
|
generateParamConfigMetadata('filter', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1593
1612
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1594
1613
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1614
|
+
generateParamConfigMetadata('collectionKey', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1595
1615
|
];
|
|
1596
1616
|
const getProgramSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getProgramSummaryCollection_ConfigPropertyMetadata);
|
|
1597
1617
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$7(getProgramSummaryCollection_ConfigPropertyMetadata);
|
|
@@ -1679,7 +1699,7 @@ function select$3(luvio, params) {
|
|
|
1679
1699
|
return select$8();
|
|
1680
1700
|
}
|
|
1681
1701
|
function keyBuilder$2(luvio, params) {
|
|
1682
|
-
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'communityId:' + params.urlParams.communityId + ')';
|
|
1702
|
+
return keyPrefix + '::EnablementProgramSummaryListRepresentation:(' + 'filter:' + params.queryParams.filter + ',' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'collectionKey:' + params.queryParams.collectionKey + ',' + 'communityId:' + params.urlParams.communityId + ')';
|
|
1683
1703
|
}
|
|
1684
1704
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
1685
1705
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
|
|
@@ -1704,7 +1724,13 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1704
1724
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
1705
1725
|
const key = keyBuilder$2(luvio, params);
|
|
1706
1726
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1707
|
-
|
|
1727
|
+
const storeMetadataParams = {
|
|
1728
|
+
ttl: TTL$1,
|
|
1729
|
+
namespace: keyPrefix,
|
|
1730
|
+
version: VERSION$1,
|
|
1731
|
+
representationName: RepresentationType$1
|
|
1732
|
+
};
|
|
1733
|
+
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
1708
1734
|
return errorSnapshot;
|
|
1709
1735
|
}
|
|
1710
1736
|
function createResourceRequest$2(config) {
|
|
@@ -1727,6 +1753,7 @@ const getProgramSummaryCollectionForCommunity_ConfigPropertyMetadata = [
|
|
|
1727
1753
|
generateParamConfigMetadata('filter', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1728
1754
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1729
1755
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
1756
|
+
generateParamConfigMetadata('collectionKey', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1730
1757
|
];
|
|
1731
1758
|
const getProgramSummaryCollectionForCommunity_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getProgramSummaryCollectionForCommunity_ConfigPropertyMetadata);
|
|
1732
1759
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$7(getProgramSummaryCollectionForCommunity_ConfigPropertyMetadata);
|
|
@@ -2078,10 +2105,12 @@ let getProgramSummaryCollectionForCommunity_imperative;
|
|
|
2078
2105
|
const getAssignedEnablementProgramSummaryMetadata = {
|
|
2079
2106
|
apiFamily: 'enablement',
|
|
2080
2107
|
name: 'getAssignedEnablementProgramSummary',
|
|
2108
|
+
ttl: 15000,
|
|
2081
2109
|
};
|
|
2082
2110
|
const getAssignedEnablementProgramSummaryForCommunityMetadata = {
|
|
2083
2111
|
apiFamily: 'enablement',
|
|
2084
2112
|
name: 'getAssignedEnablementProgramSummaryForCommunity',
|
|
2113
|
+
ttl: 15000,
|
|
2085
2114
|
};
|
|
2086
2115
|
const getEnablementProgramSummaryMetadata = {
|
|
2087
2116
|
apiFamily: 'enablement',
|
|
@@ -2091,10 +2120,12 @@ const getEnablementProgramSummaryMetadata = {
|
|
|
2091
2120
|
const getProgramSummaryCollectionMetadata = {
|
|
2092
2121
|
apiFamily: 'enablement',
|
|
2093
2122
|
name: 'getProgramSummaryCollection',
|
|
2123
|
+
ttl: 15000,
|
|
2094
2124
|
};
|
|
2095
2125
|
const getProgramSummaryCollectionForCommunityMetadata = {
|
|
2096
2126
|
apiFamily: 'enablement',
|
|
2097
2127
|
name: 'getProgramSummaryCollectionForCommunity',
|
|
2128
|
+
ttl: 15000,
|
|
2098
2129
|
};
|
|
2099
2130
|
// Notify Update Available
|
|
2100
2131
|
let notifyEnablementProgramSummaryUpdateAvailable;
|
|
@@ -2146,4 +2177,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2146
2177
|
});
|
|
2147
2178
|
|
|
2148
2179
|
export { getAssignedEnablementProgramSummary, getAssignedEnablementProgramSummaryForCommunity, getAssignedEnablementProgramSummaryForCommunity_imperative, getAssignedEnablementProgramSummary_imperative, getEnablementProgramSummary, getEnablementProgramSummary_imperative, getProgramSummaryCollection, getProgramSummaryCollectionForCommunity, getProgramSummaryCollectionForCommunity_imperative, getProgramSummaryCollection_imperative, notifyEnablementProgramSummaryUpdateAvailable, selfEnrollInEnablementProgram, unenrollFromEnablementProgram };
|
|
2149
|
-
// version: 1.266.0-
|
|
2180
|
+
// version: 1.266.0-dev9-9e86ab5c3
|
package/src/raml/api.raml
CHANGED
|
@@ -271,6 +271,9 @@ types:
|
|
|
271
271
|
offset:
|
|
272
272
|
type: integer
|
|
273
273
|
required: false
|
|
274
|
+
collectionKey:
|
|
275
|
+
type: string
|
|
276
|
+
required: false
|
|
274
277
|
uriParameters:
|
|
275
278
|
communityId:
|
|
276
279
|
type: string
|
|
@@ -327,6 +330,9 @@ types:
|
|
|
327
330
|
offset:
|
|
328
331
|
type: integer
|
|
329
332
|
required: false
|
|
333
|
+
collectionKey:
|
|
334
|
+
type: string
|
|
335
|
+
required: false
|
|
330
336
|
/{enablementProgramId}:
|
|
331
337
|
get:
|
|
332
338
|
description: Enablement Program Summary
|
package/src/raml/luvio.raml
CHANGED
|
@@ -16,6 +16,8 @@ types:
|
|
|
16
16
|
name: notifyEnablementProgramSummaryUpdateAvailable
|
|
17
17
|
parameters:
|
|
18
18
|
enablement_program_id: id
|
|
19
|
+
EnablementProgramSummaryListRepresentation:
|
|
20
|
+
(luvio.ttl): 15000 # 15 seconds
|
|
19
21
|
EnablementProgramSelfEnrollmentRepresentation:
|
|
20
22
|
(luvio.ttl): 15000 # 15 seconds
|
|
21
23
|
(luvio.key):
|