@salesforce/lds-adapters-cdp-data-clean-room 1.428.0-dev2 → 1.428.0-dev20

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.
Files changed (29) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +251 -87
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -0
  5. package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +1 -0
  6. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
  7. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +1 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -0
  10. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +4 -1
  11. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +4 -1
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3OutputDestinationConfigRepresentation.d.ts +34 -0
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +4 -1
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +6 -3
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +4 -1
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +4 -1
  18. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberConfigRepresentation.d.ts +5 -1
  19. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +4 -1
  20. package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputDestinationConfigRepresentation.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobHistoryCollectionRepresentation.d.ts +4 -1
  22. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +4 -1
  23. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +14 -2
  24. package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeOutputDestinationConfigRepresentation.d.ts +43 -0
  25. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +4 -1
  26. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMatchPolicyRepresentation.d.ts +31 -0
  27. package/package.json +3 -3
  28. package/sfdc/index.js +244 -80
  29. package/src/raml/api.raml +150 -1
package/src/raml/api.raml CHANGED
@@ -410,6 +410,10 @@ types:
410
410
  description: Dictates whether useCase provided is of type Overlap/Activation/Custom
411
411
  type: string
412
412
  required: false
413
+ providerName:
414
+ description: Provider package for which the mapping is associated to.
415
+ type: string
416
+ required: false
413
417
  DataCleanRoomDataSpecificationRepresentation:
414
418
  description: Represents Cdp Data Clean Room Specification
415
419
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -478,6 +482,12 @@ types:
478
482
  description: Reference key to DataCleanRoomProvider record
479
483
  type: string
480
484
  required: false
485
+ templateVersions:
486
+ description: List of template versions to which the collaboration is associated to
487
+ type: array
488
+ items:
489
+ type: DataCleanRoomTemplateRepresentation
490
+ required: false
481
491
  DataCleanRoomMemberRepresentation:
482
492
  description: Represents Cdp Data Clean Room Members
483
493
  type: object
@@ -530,6 +540,10 @@ types:
530
540
  items:
531
541
  type: DataCleanRoomMemberConfigRepresentation
532
542
  required: false
543
+ memberDataCloudRegion:
544
+ description: Consumer Datacloud region
545
+ type: string
546
+ required: false
533
547
  DataCleanRoomSpecificationCollectionRepresentation:
534
548
  description: Represents Data Clean Room Specification Collection
535
549
  # TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
@@ -593,6 +607,10 @@ types:
593
607
  description: Id of the template version
594
608
  type: string
595
609
  required: false
610
+ useCaseType:
611
+ description: useCaseType for which the collaboration is getting created.
612
+ type: string
613
+ required: false
596
614
  DataCleanRoomCollaborationRepresentation:
597
615
  description: Represents Cdp Data Clean Room Collaboration
598
616
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -650,9 +668,16 @@ types:
650
668
  templateVersion:
651
669
  description: Template Version Info for which data clean room is created
652
670
  type: DataCleanRoomTemplateRepresentation
671
+ required: false
653
672
  apiKey?:
654
673
  description: Api key for collaboration
655
674
  type: string
675
+ templateVersions:
676
+ description: List of template versions to which the collaboration is associated to
677
+ type: array
678
+ items:
679
+ type: DataCleanRoomTemplateRepresentation
680
+ required: false
656
681
  DataCleanRoomTemplateRepresentation:
657
682
  description: Represents Cdp Data Clean Room Template
658
683
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -788,6 +813,10 @@ types:
788
813
  description: Name of data space to which the collaboration is associated
789
814
  type: string
790
815
  required: false
816
+ memberDataCloudRegion:
817
+ description: Consumer Datacloud region
818
+ type: string
819
+ required: false
791
820
 
792
821
  DataCleanRoomOutputConfigurationRepresentation:
793
822
  description: Represents data clean room output configuration representation
@@ -865,6 +894,65 @@ types:
865
894
  type: string
866
895
  required: true
867
896
 
897
+ DataCleanRoomOutputDestinationConfigRepresentation:
898
+ description: Output destination attributes based on the connector type. Base representation extended by connector-specific implementations (Connect API pattern). Structure varies by connectorType.
899
+ type: object
900
+ properties:
901
+ connectorType:
902
+ description: Type of the connector (MetadataConnectorTypeEnum)
903
+ type: string
904
+ required: true
905
+
906
+ DataCleanRoomAwsS3OutputDestinationConfigRepresentation:
907
+ description: AWS S3 output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
908
+ # TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomOutputDestinationConfigRepresentation
909
+ # type: DataCleanRoomOutputDestinationConfigRepresentation
910
+ type: object
911
+ properties:
912
+ connectorType:
913
+ description: Type of the connector
914
+ type: string
915
+ required: true
916
+ roleArn:
917
+ description: IAM role used to connect to the s3 url provided
918
+ type: string
919
+ required: true
920
+ s3Url:
921
+ description: Full path of the s3 bucket with folders where the user wants the data to be shared
922
+ type: string
923
+ required: true
924
+
925
+ DataCleanRoomSnowflakeOutputDestinationConfigRepresentation:
926
+ description: Snowflake output destination config for member config, extends DataCleanRoomOutputDestinationConfigRepresentation
927
+ # TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomOutputDestinationConfigRepresentation
928
+ # type: DataCleanRoomOutputDestinationConfigRepresentation
929
+ type: object
930
+ properties:
931
+ connectorType:
932
+ description: Type of the connector
933
+ type: string
934
+ required: true
935
+ accountUrl:
936
+ description: Snowflake account url of the provider's account
937
+ type: string
938
+ required: true
939
+ schemaName:
940
+ description: Schema name of the provider's the final dataset
941
+ type: string
942
+ required: true
943
+ databaseName:
944
+ description: Database name of the provider's the final dataset
945
+ type: string
946
+ required: true
947
+ warehouseName:
948
+ description: Warehouse name of the provider's the final dataset
949
+ type: string
950
+ required: true
951
+ serviceUser:
952
+ description: Service user with the relevant access to the provided database and warehouse
953
+ type: string
954
+ required: true
955
+
868
956
  DataCleanRoomRejectInvitationInputRepresentation:
869
957
  description: Represents Cdp Data clean room Reject invitation input
870
958
  type: object
@@ -893,6 +981,10 @@ types:
893
981
  queryExecutionName:
894
982
  description: Name of the Query that would be executed
895
983
  type: string
984
+ templateVersionId:
985
+ description: Id of the template version to run the query with
986
+ type: string
987
+ required: false
896
988
  segmentIds:
897
989
  description: Segment IDs on which the query would be executed
898
990
  required: false
@@ -956,9 +1048,17 @@ types:
956
1048
  items:
957
1049
  type: string
958
1050
  queryParam:
959
- description: Date time at which query was triggered
1051
+ description: Map of query parameters along-with their values, required for the query to be executed
960
1052
  type: any
961
1053
  required: false
1054
+ templateVersionId:
1055
+ description: Reference key to DataCleanRoomTemplateVersion entity
1056
+ type: string
1057
+ required: false
1058
+ queryName:
1059
+ description: Name of the underlying query template version
1060
+ type: string
1061
+ required: false
962
1062
  outputDMOName:
963
1063
  description: Result DMO developer name in case of Activation usecase; result report name in case of other usecases.
964
1064
  type: string
@@ -975,6 +1075,14 @@ types:
975
1075
  description: Name of the user who executed the query job
976
1076
  type: string
977
1077
  required: false
1078
+ type:
1079
+ description: Determines the type of query run.
1080
+ type: string
1081
+ required: false
1082
+ scheduleName:
1083
+ description: Name of the schedule this run is part of, if the type is scheduled.
1084
+ type: string
1085
+ required: false
978
1086
 
979
1087
  DataCleanRoomQueryJobHistoryCollectionRepresentation:
980
1088
  description: Represents Data Clean Room Job History Collection
@@ -1001,6 +1109,10 @@ types:
1001
1109
  type: array
1002
1110
  items:
1003
1111
  type: DataCleanRoomQueryJobRepresentation
1112
+ queryConcurrencyLimit:
1113
+ description: Maximum number of concurrent query jobs allowed
1114
+ type: integer
1115
+ required: false
1004
1116
 
1005
1117
  CustomUseCaseTemplateInputRepresentation:
1006
1118
  description: Represents data clean room custom template
@@ -1195,6 +1307,22 @@ types:
1195
1307
  description: Text displayed in the UI when the user interacts with the Info icon.
1196
1308
  type: string
1197
1309
  required: false
1310
+ matchPolicy:
1311
+ description: Match Policy to join multiple match fields.
1312
+ type: CustomUseCaseTemplateMatchPolicyRepresentation
1313
+ required: false
1314
+
1315
+ CustomUseCaseTemplateMatchPolicyRepresentation:
1316
+ description: Represents data clean room custom template match policy
1317
+ properties:
1318
+ type:
1319
+ description: Type of the column being matched.
1320
+ type: string
1321
+ required: true
1322
+ alias:
1323
+ description: The output column name the given column has to be projected/unioned as.
1324
+ type: string
1325
+ required: true
1198
1326
 
1199
1327
  CustomUseCaseTemplateQueryInputRepresentation:
1200
1328
  description: Represents data clean room custom template query input
@@ -1322,6 +1450,10 @@ types:
1322
1450
  description: Unique identifier for the output destination connection
1323
1451
  type: string
1324
1452
  required: false
1453
+ outputDestinationConfig:
1454
+ description: Output destination attributes for the connector type (260+)
1455
+ type: DataCleanRoomOutputDestinationConfigRepresentation
1456
+ required: false
1325
1457
 
1326
1458
  DataCleanRoomMetadataConfigurationRepresentation:
1327
1459
  description: Represents metadata configruation associated with template
@@ -1554,6 +1686,23 @@ types:
1554
1686
  description: Text displayed in the UI when the user interacts with the Info icon.
1555
1687
  type: string
1556
1688
  required: false
1689
+ matchPolicy:
1690
+ description: Match Policy to join multiple match fields.
1691
+ type: UseCaseTemplateMatchPolicyRepresentation
1692
+ required: false
1693
+
1694
+ UseCaseTemplateMatchPolicyRepresentation:
1695
+ description: Represents usecase template match policy
1696
+ type: object
1697
+ properties:
1698
+ type:
1699
+ description: Type of the column being matched.
1700
+ type: string
1701
+ required: true
1702
+ alias:
1703
+ description: The output column name the given column has to be projected/unioned as.
1704
+ type: string
1705
+ required: true
1557
1706
 
1558
1707
  /ssot:
1559
1708
  /data-clean-room: