@salesforce/lds-adapters-industries-actionablelist 1.418.0 → 1.419.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.
|
@@ -498,7 +498,7 @@ function equals$j(existing, incoming) {
|
|
|
498
498
|
return true;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
const VERSION$i = "
|
|
501
|
+
const VERSION$i = "d8e7f011690f3b62303a9f15917e3b16";
|
|
502
502
|
function validate$q(obj, path = 'ActionableListDefinitionOutputRepresentation') {
|
|
503
503
|
const v_error = (() => {
|
|
504
504
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -580,6 +580,34 @@ function validate$q(obj, path = 'ActionableListDefinitionOutputRepresentation')
|
|
|
580
580
|
if (typeof obj_objectName !== 'string') {
|
|
581
581
|
return new TypeError('Expected "string" but received "' + typeof obj_objectName + '" (at "' + path_objectName + '")');
|
|
582
582
|
}
|
|
583
|
+
if (obj.sourceType !== undefined) {
|
|
584
|
+
const obj_sourceType = obj.sourceType;
|
|
585
|
+
const path_sourceType = path + '.sourceType';
|
|
586
|
+
let obj_sourceType_union0 = null;
|
|
587
|
+
const obj_sourceType_union0_error = (() => {
|
|
588
|
+
if (typeof obj_sourceType !== 'string') {
|
|
589
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
|
|
590
|
+
}
|
|
591
|
+
})();
|
|
592
|
+
if (obj_sourceType_union0_error != null) {
|
|
593
|
+
obj_sourceType_union0 = obj_sourceType_union0_error.message;
|
|
594
|
+
}
|
|
595
|
+
let obj_sourceType_union1 = null;
|
|
596
|
+
const obj_sourceType_union1_error = (() => {
|
|
597
|
+
if (obj_sourceType !== null) {
|
|
598
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
|
|
599
|
+
}
|
|
600
|
+
})();
|
|
601
|
+
if (obj_sourceType_union1_error != null) {
|
|
602
|
+
obj_sourceType_union1 = obj_sourceType_union1_error.message;
|
|
603
|
+
}
|
|
604
|
+
if (obj_sourceType_union0 && obj_sourceType_union1) {
|
|
605
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceType + '")';
|
|
606
|
+
message += '\n' + obj_sourceType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
607
|
+
message += '\n' + obj_sourceType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
608
|
+
return new TypeError(message);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
583
611
|
const obj_status = obj.status;
|
|
584
612
|
const path_status = path + '.status';
|
|
585
613
|
if (typeof obj_status !== 'string') {
|
|
@@ -687,6 +715,11 @@ const select$u = function ActionableListDefinitionOutputRepresentationSelect() {
|
|
|
687
715
|
name: 'objectName',
|
|
688
716
|
kind: 'Scalar'
|
|
689
717
|
},
|
|
718
|
+
{
|
|
719
|
+
name: 'sourceType',
|
|
720
|
+
kind: 'Scalar',
|
|
721
|
+
required: false
|
|
722
|
+
},
|
|
690
723
|
{
|
|
691
724
|
name: 'status',
|
|
692
725
|
kind: 'Scalar'
|
|
@@ -763,6 +796,19 @@ function equals$i(existing, incoming) {
|
|
|
763
796
|
if (!(existing_batchCalcJobDefinitionId === incoming_batchCalcJobDefinitionId)) {
|
|
764
797
|
return false;
|
|
765
798
|
}
|
|
799
|
+
const existing_sourceType = existing.sourceType;
|
|
800
|
+
const incoming_sourceType = incoming.sourceType;
|
|
801
|
+
// if at least one of these optionals is defined
|
|
802
|
+
if (existing_sourceType !== undefined || incoming_sourceType !== undefined) {
|
|
803
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
804
|
+
// not equal
|
|
805
|
+
if (existing_sourceType === undefined || incoming_sourceType === undefined) {
|
|
806
|
+
return false;
|
|
807
|
+
}
|
|
808
|
+
if (!(existing_sourceType === incoming_sourceType)) {
|
|
809
|
+
return false;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
766
812
|
const existing_tcrmDatasetId = existing.tcrmDatasetId;
|
|
767
813
|
const incoming_tcrmDatasetId = incoming.tcrmDatasetId;
|
|
768
814
|
if (!(existing_tcrmDatasetId === incoming_tcrmDatasetId)) {
|
package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionOutputRepresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ALDDatasetColumnOutputRepresentation as ALDDatasetColumnOutputRepresent
|
|
|
2
2
|
import { ALDMemberStatusOutputRepresentation as ALDMemberStatusOutputRepresentation_ALDMemberStatusOutputRepresentation } from './ALDMemberStatusOutputRepresentation';
|
|
3
3
|
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';
|
|
4
4
|
export declare const TTL = 100;
|
|
5
|
-
export declare const VERSION = "
|
|
5
|
+
export declare const VERSION = "d8e7f011690f3b62303a9f15917e3b16";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
8
|
export declare function normalize(input: ActionableListDefinitionOutputRepresentation, existing: ActionableListDefinitionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionOutputRepresentationNormalized;
|
|
@@ -31,6 +31,8 @@ export interface ActionableListDefinitionOutputRepresentationNormalized {
|
|
|
31
31
|
isActive: boolean;
|
|
32
32
|
/** Anchor object name of actionable list definition */
|
|
33
33
|
objectName: string;
|
|
34
|
+
/** Type of data source providing members for related actionable lists */
|
|
35
|
+
sourceType?: string | null;
|
|
34
36
|
/** Status of actionable list definition on DPE side */
|
|
35
37
|
status: string;
|
|
36
38
|
/** TCRM dataset id of dataset created on tcrm side */
|
|
@@ -54,6 +56,7 @@ export interface ActionableListDefinitionOutputRepresentation {
|
|
|
54
56
|
id: string;
|
|
55
57
|
isActive: boolean;
|
|
56
58
|
objectName: string;
|
|
59
|
+
sourceType?: string | null;
|
|
57
60
|
status: string;
|
|
58
61
|
tcrmDatasetId: string | null;
|
|
59
62
|
tcrmDatasetName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-actionablelist",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.419.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapter for actionable list connect APIs",
|
|
6
6
|
"main": "dist/es/es2018/industries-actionablelist.js",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"test": "nx build:karma && karma start --single-run"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salesforce/lds-bindings": "^1.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.419.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
49
|
-
"@salesforce/lds-karma": "^1.
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.419.0",
|
|
49
|
+
"@salesforce/lds-karma": "^1.419.0"
|
|
50
50
|
},
|
|
51
51
|
"nx": {
|
|
52
52
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -567,7 +567,7 @@ function equals$j(existing, incoming) {
|
|
|
567
567
|
return true;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
const VERSION$i = "
|
|
570
|
+
const VERSION$i = "d8e7f011690f3b62303a9f15917e3b16";
|
|
571
571
|
function validate$p(obj, path = 'ActionableListDefinitionOutputRepresentation') {
|
|
572
572
|
const v_error = (() => {
|
|
573
573
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -649,6 +649,34 @@ function validate$p(obj, path = 'ActionableListDefinitionOutputRepresentation')
|
|
|
649
649
|
if (typeof obj_objectName !== 'string') {
|
|
650
650
|
return new TypeError('Expected "string" but received "' + typeof obj_objectName + '" (at "' + path_objectName + '")');
|
|
651
651
|
}
|
|
652
|
+
if (obj.sourceType !== undefined) {
|
|
653
|
+
const obj_sourceType = obj.sourceType;
|
|
654
|
+
const path_sourceType = path + '.sourceType';
|
|
655
|
+
let obj_sourceType_union0 = null;
|
|
656
|
+
const obj_sourceType_union0_error = (() => {
|
|
657
|
+
if (typeof obj_sourceType !== 'string') {
|
|
658
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
|
|
659
|
+
}
|
|
660
|
+
})();
|
|
661
|
+
if (obj_sourceType_union0_error != null) {
|
|
662
|
+
obj_sourceType_union0 = obj_sourceType_union0_error.message;
|
|
663
|
+
}
|
|
664
|
+
let obj_sourceType_union1 = null;
|
|
665
|
+
const obj_sourceType_union1_error = (() => {
|
|
666
|
+
if (obj_sourceType !== null) {
|
|
667
|
+
return new TypeError('Expected "null" but received "' + typeof obj_sourceType + '" (at "' + path_sourceType + '")');
|
|
668
|
+
}
|
|
669
|
+
})();
|
|
670
|
+
if (obj_sourceType_union1_error != null) {
|
|
671
|
+
obj_sourceType_union1 = obj_sourceType_union1_error.message;
|
|
672
|
+
}
|
|
673
|
+
if (obj_sourceType_union0 && obj_sourceType_union1) {
|
|
674
|
+
let message = 'Object doesn\'t match union (at "' + path_sourceType + '")';
|
|
675
|
+
message += '\n' + obj_sourceType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
676
|
+
message += '\n' + obj_sourceType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
677
|
+
return new TypeError(message);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
652
680
|
const obj_status = obj.status;
|
|
653
681
|
const path_status = path + '.status';
|
|
654
682
|
if (typeof obj_status !== 'string') {
|
|
@@ -756,6 +784,11 @@ const select$u = function ActionableListDefinitionOutputRepresentationSelect() {
|
|
|
756
784
|
name: 'objectName',
|
|
757
785
|
kind: 'Scalar'
|
|
758
786
|
},
|
|
787
|
+
{
|
|
788
|
+
name: 'sourceType',
|
|
789
|
+
kind: 'Scalar',
|
|
790
|
+
required: false
|
|
791
|
+
},
|
|
759
792
|
{
|
|
760
793
|
name: 'status',
|
|
761
794
|
kind: 'Scalar'
|
|
@@ -832,6 +865,19 @@ function equals$i(existing, incoming) {
|
|
|
832
865
|
if (!(existing_batchCalcJobDefinitionId === incoming_batchCalcJobDefinitionId)) {
|
|
833
866
|
return false;
|
|
834
867
|
}
|
|
868
|
+
const existing_sourceType = existing.sourceType;
|
|
869
|
+
const incoming_sourceType = incoming.sourceType;
|
|
870
|
+
// if at least one of these optionals is defined
|
|
871
|
+
if (existing_sourceType !== undefined || incoming_sourceType !== undefined) {
|
|
872
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
873
|
+
// not equal
|
|
874
|
+
if (existing_sourceType === undefined || incoming_sourceType === undefined) {
|
|
875
|
+
return false;
|
|
876
|
+
}
|
|
877
|
+
if (!(existing_sourceType === incoming_sourceType)) {
|
|
878
|
+
return false;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
835
881
|
const existing_tcrmDatasetId = existing.tcrmDatasetId;
|
|
836
882
|
const incoming_tcrmDatasetId = incoming.tcrmDatasetId;
|
|
837
883
|
if (!(existing_tcrmDatasetId === incoming_tcrmDatasetId)) {
|
|
@@ -5925,4 +5971,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5925
5971
|
});
|
|
5926
5972
|
|
|
5927
5973
|
export { createActionableListDefinition, createBulkActionPlans, deleteFilterTemplate, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, getDatasetColumnValues, getDatasetColumnValues_imperative, getFilterTemplate, getFilterTemplateNotifyChange, getFilterTemplate_imperative, getFilterTemplatesForListDefinition, getFilterTemplatesForListDefinition_imperative, upsertActionableList, upsertActionableListDatasetColumnUser, upsertActionableListFilterTemplate, upsertActionableListRefreshFilter };
|
|
5928
|
-
// version: 1.
|
|
5974
|
+
// version: 1.419.0-8232dcd0ab
|
package/src/raml/api.raml
CHANGED
|
@@ -165,6 +165,10 @@ types:
|
|
|
165
165
|
description: The type of the actionable list that can be created from the actionable list definition.
|
|
166
166
|
type: string | nil
|
|
167
167
|
required: false
|
|
168
|
+
sourceType:
|
|
169
|
+
description: Type of data source providing members for related actionable lists
|
|
170
|
+
type: string | nil
|
|
171
|
+
required: false
|
|
168
172
|
ActionableListDefinitionStatusOutputRepresentation:
|
|
169
173
|
description: Output representation to display the status of an API request
|
|
170
174
|
type: object
|