@salesforce/lds-adapters-platform-enablement 1.231.0 → 1.232.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.
|
@@ -190,7 +190,7 @@ function equals$3(existing, incoming) {
|
|
|
190
190
|
return true;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
const VERSION$2 = "
|
|
193
|
+
const VERSION$2 = "089f71c87963595d39413fc588e5385b";
|
|
194
194
|
function validate$2(obj, path = 'EnablementProgramSummaryMilestoneRepresentation') {
|
|
195
195
|
const validateEnablementProgramSummaryItemRepresentation_validateError = validate$3(obj, path);
|
|
196
196
|
if (validateEnablementProgramSummaryItemRepresentation_validateError !== null) {
|
|
@@ -202,8 +202,29 @@ function validate$2(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
202
202
|
}
|
|
203
203
|
const obj_aggregationType = obj.aggregationType;
|
|
204
204
|
const path_aggregationType = path + '.aggregationType';
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
let obj_aggregationType_union0 = null;
|
|
206
|
+
const obj_aggregationType_union0_error = (() => {
|
|
207
|
+
if (typeof obj_aggregationType !== 'string') {
|
|
208
|
+
return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
209
|
+
}
|
|
210
|
+
})();
|
|
211
|
+
if (obj_aggregationType_union0_error != null) {
|
|
212
|
+
obj_aggregationType_union0 = obj_aggregationType_union0_error.message;
|
|
213
|
+
}
|
|
214
|
+
let obj_aggregationType_union1 = null;
|
|
215
|
+
const obj_aggregationType_union1_error = (() => {
|
|
216
|
+
if (obj_aggregationType !== null) {
|
|
217
|
+
return new TypeError('Expected "null" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
218
|
+
}
|
|
219
|
+
})();
|
|
220
|
+
if (obj_aggregationType_union1_error != null) {
|
|
221
|
+
obj_aggregationType_union1 = obj_aggregationType_union1_error.message;
|
|
222
|
+
}
|
|
223
|
+
if (obj_aggregationType_union0 && obj_aggregationType_union1) {
|
|
224
|
+
let message = 'Object doesn\'t match union (at "' + path_aggregationType + '")';
|
|
225
|
+
message += '\n' + obj_aggregationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
226
|
+
message += '\n' + obj_aggregationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
227
|
+
return new TypeError(message);
|
|
207
228
|
}
|
|
208
229
|
const obj_completedDate = obj.completedDate;
|
|
209
230
|
const path_completedDate = path + '.completedDate';
|
|
@@ -1106,7 +1127,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1106
1127
|
function createResourceRequest$2(config) {
|
|
1107
1128
|
const headers = {};
|
|
1108
1129
|
return {
|
|
1109
|
-
baseUri: '/services/data/
|
|
1130
|
+
baseUri: '/services/data/v60.0',
|
|
1110
1131
|
basePath: '/connect/communities/' + config.urlParams.communityId + '/enablement/program/summary/assigned',
|
|
1111
1132
|
method: 'get',
|
|
1112
1133
|
body: null,
|
|
@@ -1241,7 +1262,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
1241
1262
|
function createResourceRequest$1(config) {
|
|
1242
1263
|
const headers = {};
|
|
1243
1264
|
return {
|
|
1244
|
-
baseUri: '/services/data/
|
|
1265
|
+
baseUri: '/services/data/v60.0',
|
|
1245
1266
|
basePath: '/connect/enablement/program/summary/assigned',
|
|
1246
1267
|
method: 'get',
|
|
1247
1268
|
body: null,
|
|
@@ -1383,7 +1404,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1383
1404
|
function createResourceRequest(config) {
|
|
1384
1405
|
const headers = {};
|
|
1385
1406
|
return {
|
|
1386
|
-
baseUri: '/services/data/
|
|
1407
|
+
baseUri: '/services/data/v60.0',
|
|
1387
1408
|
basePath: '/connect/enablement/program/summary/' + config.urlParams.enablementProgramId + '',
|
|
1388
1409
|
method: 'get',
|
|
1389
1410
|
body: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EnablementProgramSummaryItemRepresentation as EnablementProgramSummaryItemRepresentation_EnablementProgramSummaryItemRepresentation } from './EnablementProgramSummaryItemRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "089f71c87963595d39413fc588e5385b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: EnablementProgramSummaryMilestoneRepresentation, existing: EnablementProgramSummaryMilestoneRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EnablementProgramSummaryMilestoneRepresentationNormalized;
|
|
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
*/
|
|
17
17
|
export interface EnablementProgramSummaryMilestoneRepresentationNormalized extends EnablementProgramSummaryItemRepresentation_EnablementProgramSummaryItemRepresentation {
|
|
18
18
|
/** Indicates milestone aggregation type */
|
|
19
|
-
aggregationType: string;
|
|
19
|
+
aggregationType: string | null;
|
|
20
20
|
/** The date the item was completed */
|
|
21
21
|
completedDate: string | null;
|
|
22
22
|
/** Percent complete for the current user */
|
|
@@ -47,7 +47,7 @@ export interface EnablementProgramSummaryMilestoneRepresentationNormalized exten
|
|
|
47
47
|
* (none)
|
|
48
48
|
*/
|
|
49
49
|
export interface EnablementProgramSummaryMilestoneRepresentation extends EnablementProgramSummaryItemRepresentation_EnablementProgramSummaryItemRepresentation {
|
|
50
|
-
aggregationType: string;
|
|
50
|
+
aggregationType: string | null;
|
|
51
51
|
completedDate: string | null;
|
|
52
52
|
completedPercent: number | null;
|
|
53
53
|
contributingRecordCount: number | null;
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -200,7 +200,7 @@ function equals$3(existing, incoming) {
|
|
|
200
200
|
return true;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
const VERSION$2 = "
|
|
203
|
+
const VERSION$2 = "089f71c87963595d39413fc588e5385b";
|
|
204
204
|
function validate$2(obj, path = 'EnablementProgramSummaryMilestoneRepresentation') {
|
|
205
205
|
const validateEnablementProgramSummaryItemRepresentation_validateError = validate$3(obj, path);
|
|
206
206
|
if (validateEnablementProgramSummaryItemRepresentation_validateError !== null) {
|
|
@@ -212,8 +212,29 @@ function validate$2(obj, path = 'EnablementProgramSummaryMilestoneRepresentation
|
|
|
212
212
|
}
|
|
213
213
|
const obj_aggregationType = obj.aggregationType;
|
|
214
214
|
const path_aggregationType = path + '.aggregationType';
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
let obj_aggregationType_union0 = null;
|
|
216
|
+
const obj_aggregationType_union0_error = (() => {
|
|
217
|
+
if (typeof obj_aggregationType !== 'string') {
|
|
218
|
+
return new TypeError('Expected "string" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
219
|
+
}
|
|
220
|
+
})();
|
|
221
|
+
if (obj_aggregationType_union0_error != null) {
|
|
222
|
+
obj_aggregationType_union0 = obj_aggregationType_union0_error.message;
|
|
223
|
+
}
|
|
224
|
+
let obj_aggregationType_union1 = null;
|
|
225
|
+
const obj_aggregationType_union1_error = (() => {
|
|
226
|
+
if (obj_aggregationType !== null) {
|
|
227
|
+
return new TypeError('Expected "null" but received "' + typeof obj_aggregationType + '" (at "' + path_aggregationType + '")');
|
|
228
|
+
}
|
|
229
|
+
})();
|
|
230
|
+
if (obj_aggregationType_union1_error != null) {
|
|
231
|
+
obj_aggregationType_union1 = obj_aggregationType_union1_error.message;
|
|
232
|
+
}
|
|
233
|
+
if (obj_aggregationType_union0 && obj_aggregationType_union1) {
|
|
234
|
+
let message = 'Object doesn\'t match union (at "' + path_aggregationType + '")';
|
|
235
|
+
message += '\n' + obj_aggregationType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
236
|
+
message += '\n' + obj_aggregationType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
237
|
+
return new TypeError(message);
|
|
217
238
|
}
|
|
218
239
|
const obj_completedDate = obj.completedDate;
|
|
219
240
|
const path_completedDate = path + '.completedDate';
|
|
@@ -1116,7 +1137,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
1116
1137
|
function createResourceRequest$2(config) {
|
|
1117
1138
|
const headers = {};
|
|
1118
1139
|
return {
|
|
1119
|
-
baseUri: '/services/data/
|
|
1140
|
+
baseUri: '/services/data/v60.0',
|
|
1120
1141
|
basePath: '/connect/enablement/program/summary/assigned',
|
|
1121
1142
|
method: 'get',
|
|
1122
1143
|
body: null,
|
|
@@ -1250,7 +1271,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
1250
1271
|
function createResourceRequest$1(config) {
|
|
1251
1272
|
const headers = {};
|
|
1252
1273
|
return {
|
|
1253
|
-
baseUri: '/services/data/
|
|
1274
|
+
baseUri: '/services/data/v60.0',
|
|
1254
1275
|
basePath: '/connect/communities/' + config.urlParams.communityId + '/enablement/program/summary/assigned',
|
|
1255
1276
|
method: 'get',
|
|
1256
1277
|
body: null,
|
|
@@ -1393,7 +1414,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
1393
1414
|
function createResourceRequest(config) {
|
|
1394
1415
|
const headers = {};
|
|
1395
1416
|
return {
|
|
1396
|
-
baseUri: '/services/data/
|
|
1417
|
+
baseUri: '/services/data/v60.0',
|
|
1397
1418
|
basePath: '/connect/enablement/program/summary/' + config.urlParams.enablementProgramId + '',
|
|
1398
1419
|
method: 'get',
|
|
1399
1420
|
body: null,
|
|
@@ -1529,4 +1550,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1529
1550
|
});
|
|
1530
1551
|
|
|
1531
1552
|
export { getAssignedEnablementProgramSummary, getAssignedEnablementProgramSummaryForCommunity, getAssignedEnablementProgramSummaryForCommunity_imperative, getAssignedEnablementProgramSummary_imperative, getEnablementProgramSummary, getEnablementProgramSummary_imperative };
|
|
1532
|
-
// version: 1.
|
|
1553
|
+
// version: 1.232.0-6cf0cd6c7
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '57.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v60.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -68,7 +68,7 @@ types:
|
|
|
68
68
|
properties:
|
|
69
69
|
aggregationType:
|
|
70
70
|
description: Indicates milestone aggregation type
|
|
71
|
-
type: string
|
|
71
|
+
type: string | nil
|
|
72
72
|
enum:
|
|
73
73
|
- Average
|
|
74
74
|
- Count
|