@salesforce/lds-adapters-sales-enablementmeasureconnectfamily 1.248.0 → 1.250.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/sales-enablementmeasureconnectfamily.js +111 -13
- package/dist/es/es2018/types/src/generated/types/ContributingRecordFieldInfoRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContributingRecordFieldsValueRepresentation.d.ts +7 -7
- package/package.json +1 -1
- package/sfdc/index.js +112 -14
- package/src/raml/api.raml +6 -3
|
@@ -252,7 +252,7 @@ const triggerOnDemandComputationAdapterFactory = (luvio) => {
|
|
|
252
252
|
};
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
const VERSION$2 = "
|
|
255
|
+
const VERSION$2 = "ad12fb131e66578581e978c238ecbf1f";
|
|
256
256
|
function validate$2(obj, path = 'ContributingRecordFieldInfoRepresentation') {
|
|
257
257
|
const v_error = (() => {
|
|
258
258
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -284,6 +284,32 @@ function validate$2(obj, path = 'ContributingRecordFieldInfoRepresentation') {
|
|
|
284
284
|
message += '\n' + obj_apiName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
285
285
|
return new TypeError(message);
|
|
286
286
|
}
|
|
287
|
+
const obj_dataType = obj.dataType;
|
|
288
|
+
const path_dataType = path + '.dataType';
|
|
289
|
+
let obj_dataType_union0 = null;
|
|
290
|
+
const obj_dataType_union0_error = (() => {
|
|
291
|
+
if (typeof obj_dataType !== 'string') {
|
|
292
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
293
|
+
}
|
|
294
|
+
})();
|
|
295
|
+
if (obj_dataType_union0_error != null) {
|
|
296
|
+
obj_dataType_union0 = obj_dataType_union0_error.message;
|
|
297
|
+
}
|
|
298
|
+
let obj_dataType_union1 = null;
|
|
299
|
+
const obj_dataType_union1_error = (() => {
|
|
300
|
+
if (obj_dataType !== null) {
|
|
301
|
+
return new TypeError('Expected "null" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
302
|
+
}
|
|
303
|
+
})();
|
|
304
|
+
if (obj_dataType_union1_error != null) {
|
|
305
|
+
obj_dataType_union1 = obj_dataType_union1_error.message;
|
|
306
|
+
}
|
|
307
|
+
if (obj_dataType_union0 && obj_dataType_union1) {
|
|
308
|
+
let message = 'Object doesn\'t match union (at "' + path_dataType + '")';
|
|
309
|
+
message += '\n' + obj_dataType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
310
|
+
message += '\n' + obj_dataType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
311
|
+
return new TypeError(message);
|
|
312
|
+
}
|
|
287
313
|
const obj_label = obj.label;
|
|
288
314
|
const path_label = path + '.label';
|
|
289
315
|
let obj_label_union0 = null;
|
|
@@ -323,6 +349,10 @@ const select$3 = function ContributingRecordFieldInfoRepresentationSelect() {
|
|
|
323
349
|
name: 'apiName',
|
|
324
350
|
kind: 'Scalar'
|
|
325
351
|
},
|
|
352
|
+
{
|
|
353
|
+
name: 'dataType',
|
|
354
|
+
kind: 'Scalar'
|
|
355
|
+
},
|
|
326
356
|
{
|
|
327
357
|
name: 'label',
|
|
328
358
|
kind: 'Scalar'
|
|
@@ -336,6 +366,11 @@ function equals$2(existing, incoming) {
|
|
|
336
366
|
if (!(existing_apiName === incoming_apiName)) {
|
|
337
367
|
return false;
|
|
338
368
|
}
|
|
369
|
+
const existing_dataType = existing.dataType;
|
|
370
|
+
const incoming_dataType = incoming.dataType;
|
|
371
|
+
if (!(existing_dataType === incoming_dataType)) {
|
|
372
|
+
return false;
|
|
373
|
+
}
|
|
339
374
|
const existing_label = existing.label;
|
|
340
375
|
const incoming_label = incoming.label;
|
|
341
376
|
if (!(existing_label === incoming_label)) {
|
|
@@ -344,7 +379,7 @@ function equals$2(existing, incoming) {
|
|
|
344
379
|
return true;
|
|
345
380
|
}
|
|
346
381
|
|
|
347
|
-
const VERSION$1 = "
|
|
382
|
+
const VERSION$1 = "1b50012cdea40e92974c92748eeb3fa7";
|
|
348
383
|
function validate$1(obj, path = 'ContributingRecordFieldsValueRepresentation') {
|
|
349
384
|
const v_error = (() => {
|
|
350
385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -352,18 +387,81 @@ function validate$1(obj, path = 'ContributingRecordFieldsValueRepresentation') {
|
|
|
352
387
|
}
|
|
353
388
|
const obj_aggregationFieldValue = obj.aggregationFieldValue;
|
|
354
389
|
const path_aggregationFieldValue = path + '.aggregationFieldValue';
|
|
355
|
-
|
|
356
|
-
|
|
390
|
+
let obj_aggregationFieldValue_union0 = null;
|
|
391
|
+
const obj_aggregationFieldValue_union0_error = (() => {
|
|
392
|
+
if (typeof obj_aggregationFieldValue !== 'string') {
|
|
393
|
+
return new TypeError('Expected "string" but received "' + typeof obj_aggregationFieldValue + '" (at "' + path_aggregationFieldValue + '")');
|
|
394
|
+
}
|
|
395
|
+
})();
|
|
396
|
+
if (obj_aggregationFieldValue_union0_error != null) {
|
|
397
|
+
obj_aggregationFieldValue_union0 = obj_aggregationFieldValue_union0_error.message;
|
|
398
|
+
}
|
|
399
|
+
let obj_aggregationFieldValue_union1 = null;
|
|
400
|
+
const obj_aggregationFieldValue_union1_error = (() => {
|
|
401
|
+
if (obj_aggregationFieldValue !== null) {
|
|
402
|
+
return new TypeError('Expected "null" but received "' + typeof obj_aggregationFieldValue + '" (at "' + path_aggregationFieldValue + '")');
|
|
403
|
+
}
|
|
404
|
+
})();
|
|
405
|
+
if (obj_aggregationFieldValue_union1_error != null) {
|
|
406
|
+
obj_aggregationFieldValue_union1 = obj_aggregationFieldValue_union1_error.message;
|
|
407
|
+
}
|
|
408
|
+
if (obj_aggregationFieldValue_union0 && obj_aggregationFieldValue_union1) {
|
|
409
|
+
let message = 'Object doesn\'t match union (at "' + path_aggregationFieldValue + '")';
|
|
410
|
+
message += '\n' + obj_aggregationFieldValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
411
|
+
message += '\n' + obj_aggregationFieldValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
412
|
+
return new TypeError(message);
|
|
357
413
|
}
|
|
358
414
|
const obj_dateFilterFieldValue = obj.dateFilterFieldValue;
|
|
359
415
|
const path_dateFilterFieldValue = path + '.dateFilterFieldValue';
|
|
360
|
-
|
|
361
|
-
|
|
416
|
+
let obj_dateFilterFieldValue_union0 = null;
|
|
417
|
+
const obj_dateFilterFieldValue_union0_error = (() => {
|
|
418
|
+
if (typeof obj_dateFilterFieldValue !== 'string') {
|
|
419
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dateFilterFieldValue + '" (at "' + path_dateFilterFieldValue + '")');
|
|
420
|
+
}
|
|
421
|
+
})();
|
|
422
|
+
if (obj_dateFilterFieldValue_union0_error != null) {
|
|
423
|
+
obj_dateFilterFieldValue_union0 = obj_dateFilterFieldValue_union0_error.message;
|
|
424
|
+
}
|
|
425
|
+
let obj_dateFilterFieldValue_union1 = null;
|
|
426
|
+
const obj_dateFilterFieldValue_union1_error = (() => {
|
|
427
|
+
if (obj_dateFilterFieldValue !== null) {
|
|
428
|
+
return new TypeError('Expected "null" but received "' + typeof obj_dateFilterFieldValue + '" (at "' + path_dateFilterFieldValue + '")');
|
|
429
|
+
}
|
|
430
|
+
})();
|
|
431
|
+
if (obj_dateFilterFieldValue_union1_error != null) {
|
|
432
|
+
obj_dateFilterFieldValue_union1 = obj_dateFilterFieldValue_union1_error.message;
|
|
433
|
+
}
|
|
434
|
+
if (obj_dateFilterFieldValue_union0 && obj_dateFilterFieldValue_union1) {
|
|
435
|
+
let message = 'Object doesn\'t match union (at "' + path_dateFilterFieldValue + '")';
|
|
436
|
+
message += '\n' + obj_dateFilterFieldValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
437
|
+
message += '\n' + obj_dateFilterFieldValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
438
|
+
return new TypeError(message);
|
|
362
439
|
}
|
|
363
440
|
const obj_displayFieldValue = obj.displayFieldValue;
|
|
364
441
|
const path_displayFieldValue = path + '.displayFieldValue';
|
|
365
|
-
|
|
366
|
-
|
|
442
|
+
let obj_displayFieldValue_union0 = null;
|
|
443
|
+
const obj_displayFieldValue_union0_error = (() => {
|
|
444
|
+
if (typeof obj_displayFieldValue !== 'string') {
|
|
445
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayFieldValue + '" (at "' + path_displayFieldValue + '")');
|
|
446
|
+
}
|
|
447
|
+
})();
|
|
448
|
+
if (obj_displayFieldValue_union0_error != null) {
|
|
449
|
+
obj_displayFieldValue_union0 = obj_displayFieldValue_union0_error.message;
|
|
450
|
+
}
|
|
451
|
+
let obj_displayFieldValue_union1 = null;
|
|
452
|
+
const obj_displayFieldValue_union1_error = (() => {
|
|
453
|
+
if (obj_displayFieldValue !== null) {
|
|
454
|
+
return new TypeError('Expected "null" but received "' + typeof obj_displayFieldValue + '" (at "' + path_displayFieldValue + '")');
|
|
455
|
+
}
|
|
456
|
+
})();
|
|
457
|
+
if (obj_displayFieldValue_union1_error != null) {
|
|
458
|
+
obj_displayFieldValue_union1 = obj_displayFieldValue_union1_error.message;
|
|
459
|
+
}
|
|
460
|
+
if (obj_displayFieldValue_union0 && obj_displayFieldValue_union1) {
|
|
461
|
+
let message = 'Object doesn\'t match union (at "' + path_displayFieldValue + '")';
|
|
462
|
+
message += '\n' + obj_displayFieldValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
463
|
+
message += '\n' + obj_displayFieldValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
464
|
+
return new TypeError(message);
|
|
367
465
|
}
|
|
368
466
|
const obj_recordId = obj.recordId;
|
|
369
467
|
const path_recordId = path + '.recordId';
|
|
@@ -399,6 +497,11 @@ const select$2 = function ContributingRecordFieldsValueRepresentationSelect() {
|
|
|
399
497
|
};
|
|
400
498
|
};
|
|
401
499
|
function equals$1(existing, incoming) {
|
|
500
|
+
const existing_recordId = existing.recordId;
|
|
501
|
+
const incoming_recordId = incoming.recordId;
|
|
502
|
+
if (!(existing_recordId === incoming_recordId)) {
|
|
503
|
+
return false;
|
|
504
|
+
}
|
|
402
505
|
const existing_aggregationFieldValue = existing.aggregationFieldValue;
|
|
403
506
|
const incoming_aggregationFieldValue = incoming.aggregationFieldValue;
|
|
404
507
|
if (!(existing_aggregationFieldValue === incoming_aggregationFieldValue)) {
|
|
@@ -414,11 +517,6 @@ function equals$1(existing, incoming) {
|
|
|
414
517
|
if (!(existing_displayFieldValue === incoming_displayFieldValue)) {
|
|
415
518
|
return false;
|
|
416
519
|
}
|
|
417
|
-
const existing_recordId = existing.recordId;
|
|
418
|
-
const incoming_recordId = incoming.recordId;
|
|
419
|
-
if (!(existing_recordId === incoming_recordId)) {
|
|
420
|
-
return false;
|
|
421
|
-
}
|
|
422
520
|
return true;
|
|
423
521
|
}
|
|
424
522
|
|
package/dist/es/es2018/types/src/generated/types/ContributingRecordFieldInfoRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "ad12fb131e66578581e978c238ecbf1f";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ContributingRecordFieldInfoRepresentation, existing: ContributingRecordFieldInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContributingRecordFieldInfoRepresentationNormalized;
|
|
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
export interface ContributingRecordFieldInfoRepresentationNormalized {
|
|
17
17
|
/** Field Api Name */
|
|
18
18
|
apiName: string | null;
|
|
19
|
+
/** Data type of field */
|
|
20
|
+
dataType: string | null;
|
|
19
21
|
/** Field Label */
|
|
20
22
|
label: string | null;
|
|
21
23
|
}
|
|
@@ -27,5 +29,6 @@ export interface ContributingRecordFieldInfoRepresentationNormalized {
|
|
|
27
29
|
*/
|
|
28
30
|
export interface ContributingRecordFieldInfoRepresentation {
|
|
29
31
|
apiName: string | null;
|
|
32
|
+
dataType: string | null;
|
|
30
33
|
label: string | null;
|
|
31
34
|
}
|
package/dist/es/es2018/types/src/generated/types/ContributingRecordFieldsValueRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "1b50012cdea40e92974c92748eeb3fa7";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ContributingRecordFieldsValueRepresentation, existing: ContributingRecordFieldsValueRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContributingRecordFieldsValueRepresentationNormalized;
|
|
@@ -15,11 +15,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface ContributingRecordFieldsValueRepresentationNormalized {
|
|
17
17
|
/** Aggregation field value */
|
|
18
|
-
aggregationFieldValue: string;
|
|
18
|
+
aggregationFieldValue: string | null;
|
|
19
19
|
/** Date filter field value */
|
|
20
|
-
dateFilterFieldValue: string;
|
|
20
|
+
dateFilterFieldValue: string | null;
|
|
21
21
|
/** Display field value */
|
|
22
|
-
displayFieldValue: string;
|
|
22
|
+
displayFieldValue: string | null;
|
|
23
23
|
/** Contributing record id */
|
|
24
24
|
recordId: string;
|
|
25
25
|
}
|
|
@@ -30,8 +30,8 @@ export interface ContributingRecordFieldsValueRepresentationNormalized {
|
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
32
|
export interface ContributingRecordFieldsValueRepresentation {
|
|
33
|
-
aggregationFieldValue: string;
|
|
34
|
-
dateFilterFieldValue: string;
|
|
35
|
-
displayFieldValue: string;
|
|
33
|
+
aggregationFieldValue: string | null;
|
|
34
|
+
dateFilterFieldValue: string | null;
|
|
35
|
+
displayFieldValue: string | null;
|
|
36
36
|
recordId: string;
|
|
37
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-sales-enablementmeasureconnectfamily",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.250.0",
|
|
4
4
|
"description": "Enablement Measure related Connect APIs",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/sales-enablementmeasureconnectfamily.js",
|
package/sfdc/index.js
CHANGED
|
@@ -101,7 +101,7 @@ function createLink(ref) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
const VERSION$3 = "
|
|
104
|
+
const VERSION$3 = "ad12fb131e66578581e978c238ecbf1f";
|
|
105
105
|
function validate$3(obj, path = 'ContributingRecordFieldInfoRepresentation') {
|
|
106
106
|
const v_error = (() => {
|
|
107
107
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -133,6 +133,32 @@ function validate$3(obj, path = 'ContributingRecordFieldInfoRepresentation') {
|
|
|
133
133
|
message += '\n' + obj_apiName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
134
134
|
return new TypeError(message);
|
|
135
135
|
}
|
|
136
|
+
const obj_dataType = obj.dataType;
|
|
137
|
+
const path_dataType = path + '.dataType';
|
|
138
|
+
let obj_dataType_union0 = null;
|
|
139
|
+
const obj_dataType_union0_error = (() => {
|
|
140
|
+
if (typeof obj_dataType !== 'string') {
|
|
141
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
142
|
+
}
|
|
143
|
+
})();
|
|
144
|
+
if (obj_dataType_union0_error != null) {
|
|
145
|
+
obj_dataType_union0 = obj_dataType_union0_error.message;
|
|
146
|
+
}
|
|
147
|
+
let obj_dataType_union1 = null;
|
|
148
|
+
const obj_dataType_union1_error = (() => {
|
|
149
|
+
if (obj_dataType !== null) {
|
|
150
|
+
return new TypeError('Expected "null" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
151
|
+
}
|
|
152
|
+
})();
|
|
153
|
+
if (obj_dataType_union1_error != null) {
|
|
154
|
+
obj_dataType_union1 = obj_dataType_union1_error.message;
|
|
155
|
+
}
|
|
156
|
+
if (obj_dataType_union0 && obj_dataType_union1) {
|
|
157
|
+
let message = 'Object doesn\'t match union (at "' + path_dataType + '")';
|
|
158
|
+
message += '\n' + obj_dataType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
159
|
+
message += '\n' + obj_dataType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
160
|
+
return new TypeError(message);
|
|
161
|
+
}
|
|
136
162
|
const obj_label = obj.label;
|
|
137
163
|
const path_label = path + '.label';
|
|
138
164
|
let obj_label_union0 = null;
|
|
@@ -172,6 +198,10 @@ const select$5 = function ContributingRecordFieldInfoRepresentationSelect() {
|
|
|
172
198
|
name: 'apiName',
|
|
173
199
|
kind: 'Scalar'
|
|
174
200
|
},
|
|
201
|
+
{
|
|
202
|
+
name: 'dataType',
|
|
203
|
+
kind: 'Scalar'
|
|
204
|
+
},
|
|
175
205
|
{
|
|
176
206
|
name: 'label',
|
|
177
207
|
kind: 'Scalar'
|
|
@@ -185,6 +215,11 @@ function equals$3(existing, incoming) {
|
|
|
185
215
|
if (!(existing_apiName === incoming_apiName)) {
|
|
186
216
|
return false;
|
|
187
217
|
}
|
|
218
|
+
const existing_dataType = existing.dataType;
|
|
219
|
+
const incoming_dataType = incoming.dataType;
|
|
220
|
+
if (!(existing_dataType === incoming_dataType)) {
|
|
221
|
+
return false;
|
|
222
|
+
}
|
|
188
223
|
const existing_label = existing.label;
|
|
189
224
|
const incoming_label = incoming.label;
|
|
190
225
|
if (!(existing_label === incoming_label)) {
|
|
@@ -193,7 +228,7 @@ function equals$3(existing, incoming) {
|
|
|
193
228
|
return true;
|
|
194
229
|
}
|
|
195
230
|
|
|
196
|
-
const VERSION$2 = "
|
|
231
|
+
const VERSION$2 = "1b50012cdea40e92974c92748eeb3fa7";
|
|
197
232
|
function validate$2(obj, path = 'ContributingRecordFieldsValueRepresentation') {
|
|
198
233
|
const v_error = (() => {
|
|
199
234
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -201,18 +236,81 @@ function validate$2(obj, path = 'ContributingRecordFieldsValueRepresentation') {
|
|
|
201
236
|
}
|
|
202
237
|
const obj_aggregationFieldValue = obj.aggregationFieldValue;
|
|
203
238
|
const path_aggregationFieldValue = path + '.aggregationFieldValue';
|
|
204
|
-
|
|
205
|
-
|
|
239
|
+
let obj_aggregationFieldValue_union0 = null;
|
|
240
|
+
const obj_aggregationFieldValue_union0_error = (() => {
|
|
241
|
+
if (typeof obj_aggregationFieldValue !== 'string') {
|
|
242
|
+
return new TypeError('Expected "string" but received "' + typeof obj_aggregationFieldValue + '" (at "' + path_aggregationFieldValue + '")');
|
|
243
|
+
}
|
|
244
|
+
})();
|
|
245
|
+
if (obj_aggregationFieldValue_union0_error != null) {
|
|
246
|
+
obj_aggregationFieldValue_union0 = obj_aggregationFieldValue_union0_error.message;
|
|
247
|
+
}
|
|
248
|
+
let obj_aggregationFieldValue_union1 = null;
|
|
249
|
+
const obj_aggregationFieldValue_union1_error = (() => {
|
|
250
|
+
if (obj_aggregationFieldValue !== null) {
|
|
251
|
+
return new TypeError('Expected "null" but received "' + typeof obj_aggregationFieldValue + '" (at "' + path_aggregationFieldValue + '")');
|
|
252
|
+
}
|
|
253
|
+
})();
|
|
254
|
+
if (obj_aggregationFieldValue_union1_error != null) {
|
|
255
|
+
obj_aggregationFieldValue_union1 = obj_aggregationFieldValue_union1_error.message;
|
|
256
|
+
}
|
|
257
|
+
if (obj_aggregationFieldValue_union0 && obj_aggregationFieldValue_union1) {
|
|
258
|
+
let message = 'Object doesn\'t match union (at "' + path_aggregationFieldValue + '")';
|
|
259
|
+
message += '\n' + obj_aggregationFieldValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
260
|
+
message += '\n' + obj_aggregationFieldValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
261
|
+
return new TypeError(message);
|
|
206
262
|
}
|
|
207
263
|
const obj_dateFilterFieldValue = obj.dateFilterFieldValue;
|
|
208
264
|
const path_dateFilterFieldValue = path + '.dateFilterFieldValue';
|
|
209
|
-
|
|
210
|
-
|
|
265
|
+
let obj_dateFilterFieldValue_union0 = null;
|
|
266
|
+
const obj_dateFilterFieldValue_union0_error = (() => {
|
|
267
|
+
if (typeof obj_dateFilterFieldValue !== 'string') {
|
|
268
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dateFilterFieldValue + '" (at "' + path_dateFilterFieldValue + '")');
|
|
269
|
+
}
|
|
270
|
+
})();
|
|
271
|
+
if (obj_dateFilterFieldValue_union0_error != null) {
|
|
272
|
+
obj_dateFilterFieldValue_union0 = obj_dateFilterFieldValue_union0_error.message;
|
|
273
|
+
}
|
|
274
|
+
let obj_dateFilterFieldValue_union1 = null;
|
|
275
|
+
const obj_dateFilterFieldValue_union1_error = (() => {
|
|
276
|
+
if (obj_dateFilterFieldValue !== null) {
|
|
277
|
+
return new TypeError('Expected "null" but received "' + typeof obj_dateFilterFieldValue + '" (at "' + path_dateFilterFieldValue + '")');
|
|
278
|
+
}
|
|
279
|
+
})();
|
|
280
|
+
if (obj_dateFilterFieldValue_union1_error != null) {
|
|
281
|
+
obj_dateFilterFieldValue_union1 = obj_dateFilterFieldValue_union1_error.message;
|
|
282
|
+
}
|
|
283
|
+
if (obj_dateFilterFieldValue_union0 && obj_dateFilterFieldValue_union1) {
|
|
284
|
+
let message = 'Object doesn\'t match union (at "' + path_dateFilterFieldValue + '")';
|
|
285
|
+
message += '\n' + obj_dateFilterFieldValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
286
|
+
message += '\n' + obj_dateFilterFieldValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
287
|
+
return new TypeError(message);
|
|
211
288
|
}
|
|
212
289
|
const obj_displayFieldValue = obj.displayFieldValue;
|
|
213
290
|
const path_displayFieldValue = path + '.displayFieldValue';
|
|
214
|
-
|
|
215
|
-
|
|
291
|
+
let obj_displayFieldValue_union0 = null;
|
|
292
|
+
const obj_displayFieldValue_union0_error = (() => {
|
|
293
|
+
if (typeof obj_displayFieldValue !== 'string') {
|
|
294
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayFieldValue + '" (at "' + path_displayFieldValue + '")');
|
|
295
|
+
}
|
|
296
|
+
})();
|
|
297
|
+
if (obj_displayFieldValue_union0_error != null) {
|
|
298
|
+
obj_displayFieldValue_union0 = obj_displayFieldValue_union0_error.message;
|
|
299
|
+
}
|
|
300
|
+
let obj_displayFieldValue_union1 = null;
|
|
301
|
+
const obj_displayFieldValue_union1_error = (() => {
|
|
302
|
+
if (obj_displayFieldValue !== null) {
|
|
303
|
+
return new TypeError('Expected "null" but received "' + typeof obj_displayFieldValue + '" (at "' + path_displayFieldValue + '")');
|
|
304
|
+
}
|
|
305
|
+
})();
|
|
306
|
+
if (obj_displayFieldValue_union1_error != null) {
|
|
307
|
+
obj_displayFieldValue_union1 = obj_displayFieldValue_union1_error.message;
|
|
308
|
+
}
|
|
309
|
+
if (obj_displayFieldValue_union0 && obj_displayFieldValue_union1) {
|
|
310
|
+
let message = 'Object doesn\'t match union (at "' + path_displayFieldValue + '")';
|
|
311
|
+
message += '\n' + obj_displayFieldValue_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
312
|
+
message += '\n' + obj_displayFieldValue_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
313
|
+
return new TypeError(message);
|
|
216
314
|
}
|
|
217
315
|
const obj_recordId = obj.recordId;
|
|
218
316
|
const path_recordId = path + '.recordId';
|
|
@@ -248,6 +346,11 @@ const select$4 = function ContributingRecordFieldsValueRepresentationSelect() {
|
|
|
248
346
|
};
|
|
249
347
|
};
|
|
250
348
|
function equals$2(existing, incoming) {
|
|
349
|
+
const existing_recordId = existing.recordId;
|
|
350
|
+
const incoming_recordId = incoming.recordId;
|
|
351
|
+
if (!(existing_recordId === incoming_recordId)) {
|
|
352
|
+
return false;
|
|
353
|
+
}
|
|
251
354
|
const existing_aggregationFieldValue = existing.aggregationFieldValue;
|
|
252
355
|
const incoming_aggregationFieldValue = incoming.aggregationFieldValue;
|
|
253
356
|
if (!(existing_aggregationFieldValue === incoming_aggregationFieldValue)) {
|
|
@@ -263,11 +366,6 @@ function equals$2(existing, incoming) {
|
|
|
263
366
|
if (!(existing_displayFieldValue === incoming_displayFieldValue)) {
|
|
264
367
|
return false;
|
|
265
368
|
}
|
|
266
|
-
const existing_recordId = existing.recordId;
|
|
267
|
-
const incoming_recordId = incoming.recordId;
|
|
268
|
-
if (!(existing_recordId === incoming_recordId)) {
|
|
269
|
-
return false;
|
|
270
|
-
}
|
|
271
369
|
return true;
|
|
272
370
|
}
|
|
273
371
|
|
|
@@ -811,4 +909,4 @@ withDefaultLuvio((luvio) => {
|
|
|
811
909
|
});
|
|
812
910
|
|
|
813
911
|
export { getContributingRecordsInfoForMilestone, getContributingRecordsInfoForMilestone_imperative, triggerOnDemandComputation };
|
|
814
|
-
// version: 1.
|
|
912
|
+
// version: 1.250.0-5e338946c
|
package/src/raml/api.raml
CHANGED
|
@@ -73,13 +73,13 @@ types:
|
|
|
73
73
|
properties:
|
|
74
74
|
aggregationFieldValue:
|
|
75
75
|
description: Aggregation field value
|
|
76
|
-
type: string
|
|
76
|
+
type: string | nil
|
|
77
77
|
dateFilterFieldValue:
|
|
78
78
|
description: Date filter field value
|
|
79
|
-
type: string
|
|
79
|
+
type: string | nil
|
|
80
80
|
displayFieldValue:
|
|
81
81
|
description: Display field value
|
|
82
|
-
type: string
|
|
82
|
+
type: string | nil
|
|
83
83
|
recordId:
|
|
84
84
|
description: Contributing record id
|
|
85
85
|
type: string
|
|
@@ -93,6 +93,9 @@ types:
|
|
|
93
93
|
label:
|
|
94
94
|
description: Field Label
|
|
95
95
|
type: string | nil
|
|
96
|
+
dataType:
|
|
97
|
+
description: Data type of field
|
|
98
|
+
type: string | nil
|
|
96
99
|
/connect:
|
|
97
100
|
/enablement:
|
|
98
101
|
/on-demand-computation/programs/{programId}:
|