@salesforce/lds-adapters-cdp-data-clean-room 1.404.0-dev14 → 1.404.0-dev15

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 (36) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +516 -89
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +2 -0
  4. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +9 -1
  5. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +8 -7
  6. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAwsS3ConnectionAttributesRepresentation.d.ts +34 -0
  8. package/dist/es/es2018/types/src/generated/types/DataCleanRoomConnectionAttributesRepresentation.d.ts +28 -0
  9. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation.d.ts +31 -0
  10. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTablePathRepresentation.d.ts +30 -0
  11. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputBridgeTableRepresentation.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputObjectRepresentation.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostOutputRelatedTableRepresentation.d.ts +32 -0
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMatchBoostUsecaseConfigRepresentation.d.ts +34 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataConfigurationRepresentation.d.ts +32 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataMemberConfigRepresentation.d.ts +43 -0
  18. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMetadataOutputConfigRepresentation.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/types/DataCleanRoomOutputConfigurationRepresentation.d.ts +34 -0
  20. package/dist/es/es2018/types/src/generated/types/DataCleanRoomSnowflakeConnectionAttributesRepresentation.d.ts +40 -0
  21. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +7 -4
  22. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigInputRepresentation.d.ts +28 -0
  23. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUsecaseConfigRepresentation.d.ts +28 -0
  24. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTableInputRepresentation.d.ts +28 -0
  25. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathAttributeInputRepresentation.d.ts +31 -0
  26. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputBridgeTablePathInputRepresentation.d.ts +30 -0
  27. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectConfigRepresentation.d.ts +34 -0
  28. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputObjectInputRepresentation.d.ts +29 -0
  29. package/dist/es/es2018/types/src/generated/types/MatchBoostOutputRelatedTableInputRepresentation.d.ts +32 -0
  30. package/dist/es/es2018/types/src/generated/types/MatchBoostUsecaseConfigInputRepresentation.d.ts +34 -0
  31. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateAttributeConfigRepresentation.d.ts +52 -0
  32. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateConfigRepresentation.d.ts +29 -0
  33. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMemberConfigRepresentation.d.ts +32 -0
  34. package/package.json +3 -3
  35. package/sfdc/index.js +501 -74
  36. package/src/raml/api.raml +433 -6
package/src/raml/api.raml CHANGED
@@ -677,7 +677,8 @@ types:
677
677
  type: string
678
678
  configuration:
679
679
  description: Configuration for use case template
680
- type: any
680
+ type: UseCaseTemplateConfigRepresentation
681
+ required: false
681
682
  description:
682
683
  description: Description of use case template
683
684
  type: string
@@ -700,6 +701,10 @@ types:
700
701
  description: Reference key to DataCleanRoomProvider record
701
702
  type: string
702
703
  required: false
704
+ metadataConfiguration:
705
+ description: metadata configuration for the template
706
+ type: DataCleanRoomMetadataConfigurationRepresentation
707
+ required: false
703
708
  DataCleanRoomCollaborationCollectionRepresentation:
704
709
  description: Represents Data Clean Room Collaboration Collection
705
710
  # TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
@@ -764,6 +769,82 @@ types:
764
769
  specificationId:
765
770
  description: Record Id of DataCleanRoomSpecification
766
771
  type: string
772
+ outputConfiguration:
773
+ description: Output configuration for the collaboration involved
774
+ type: DataCleanRoomOutputConfigurationRepresentation
775
+ required: false
776
+
777
+ DataCleanRoomOutputConfigurationRepresentation:
778
+ description: Represents data clean room output configuration representation
779
+ type: object
780
+ properties:
781
+ outputDestinationType:
782
+ description: Output destination type
783
+ type: string
784
+ required: true
785
+ externalId:
786
+ description: unique Id for the output configuration
787
+ type: string
788
+ required: false
789
+ connectionAttributes:
790
+ description: Connection attributes for the output configuration
791
+ type: DataCleanRoomConnectionAttributesRepresentation
792
+ required: false
793
+
794
+ DataCleanRoomConnectionAttributesRepresentation:
795
+ description: Base representation for clean room connection attributes - extended by connector specific implementations. This is an abstract base class. Structure varies by connectorType. Concrete implementations (e.g., DataCleanRoomAwsS3ConnectionAttributesRepresentation) will extend this class.
796
+ type: object
797
+ properties:
798
+ connectorType:
799
+ description: Type of the connector
800
+ type: string
801
+ required: true
802
+
803
+ DataCleanRoomAwsS3ConnectionAttributesRepresentation:
804
+ description: Represents AWS S3 connection attributes for data clean room, extends DataCleanRoomConnectionAttributesRepresentation
805
+ # TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomConnectionAttributesRepresentation
806
+ # type: DataCleanRoomConnectionAttributesRepresentation
807
+ type: object
808
+ properties:
809
+ connectorType:
810
+ description: Type of the connector
811
+ type: string
812
+ required: true
813
+ roleArn:
814
+ description: IAM role used to connect to the s3 url provided
815
+ type: string
816
+ required: true
817
+ s3Url:
818
+ description: Full path of the s3 bucket with folders where the user wants the data to be shared
819
+ type: string
820
+ required: true
821
+
822
+ DataCleanRoomSnowflakeConnectionAttributesRepresentation:
823
+ description: Represents Snowflake connection attributes for data clean room, extends DataCleanRoomConnectionAttributesRepresentation
824
+ # TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomConnectionAttributesRepresentation
825
+ # type: DataCleanRoomConnectionAttributesRepresentation
826
+ type: object
827
+ properties:
828
+ connectorType:
829
+ description: Type of the connector
830
+ type: string
831
+ required: true
832
+ accountUrl:
833
+ description: Snowflake account url of the provider's account
834
+ type: string
835
+ required: true
836
+ schemaName:
837
+ description: Schema name of the provider's the final dataset
838
+ type: string
839
+ required: true
840
+ databaseName:
841
+ description: Database name of the provider's the final dataset
842
+ type: string
843
+ required: true
844
+ warehouseName:
845
+ description: Warehouse name of the provider's the final dataset
846
+ type: string
847
+ required: true
767
848
 
768
849
  DataCleanRoomRejectInvitationInputRepresentation:
769
850
  description: Represents Cdp Data clean room Reject invitation input
@@ -925,6 +1006,120 @@ types:
925
1006
  description: List of queries defined in the template
926
1007
  type: CustomUseCaseTemplateQueryInputRepresentation
927
1008
  required: true
1009
+ useCaseConfigs:
1010
+ description: Map of use case type to usecase specific configs
1011
+ type: object
1012
+ required: false
1013
+ properties:
1014
+ //:
1015
+ type: DataCleanRoomUsecaseConfigInputRepresentation
1016
+
1017
+ DataCleanRoomUsecaseConfigInputRepresentation:
1018
+ description: Represents data clean room use case config input representation.
1019
+ properties:
1020
+ useCaseType:
1021
+ description: Type of the use case
1022
+ type: string
1023
+ required: true
1024
+
1025
+ MatchBoostUsecaseConfigInputRepresentation:
1026
+ description: Represents match boost use case config input, extends DataCleanRoomUseCaseConfigInputRepresentation
1027
+ # TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomUseCaseConfigInputRepresentation
1028
+ # type: DataCleanRoomUseCaseConfigInputRepresentation
1029
+ type: object
1030
+ properties:
1031
+ useCaseType:
1032
+ description: Type of the use case
1033
+ type: string
1034
+ required: true
1035
+ supportedContactPoints:
1036
+ description: List of contact points supported by the Provider
1037
+ type: array
1038
+ required: true
1039
+ items:
1040
+ type: any
1041
+ outputObjects:
1042
+ description: List of objects having output enriched dataset
1043
+ type: MatchBoostOutputObjectInputRepresentation
1044
+ required: true
1045
+
1046
+ MatchBoostOutputObjectInputRepresentation:
1047
+ description: Represents match boost output object input
1048
+ type: object
1049
+ properties:
1050
+ outputObjectConfigs:
1051
+ description: List of output object configs
1052
+ type: array
1053
+ required: true
1054
+ items:
1055
+ type: MatchBoostOutputObjectConfigRepresentation
1056
+
1057
+ MatchBoostOutputObjectConfigRepresentation:
1058
+ description: Represents match boost output object config
1059
+ type: object
1060
+ properties:
1061
+ objectName:
1062
+ description: Unique name of the entity
1063
+ type: string
1064
+ required: true
1065
+ bridgeTable:
1066
+ description: Details if this entity is a bridge table
1067
+ type: MatchBoostOutputBridgeTableInputRepresentation
1068
+ required: false
1069
+ relatedTable:
1070
+ description: Details for a non-bridge table entity
1071
+ type: MatchBoostOutputRelatedTableInputRepresentation
1072
+ required: false
1073
+
1074
+ MatchBoostOutputBridgeTableInputRepresentation:
1075
+ description: Represents match boost output bridge table input
1076
+ type: object
1077
+ properties:
1078
+ sourceIdFieldName:
1079
+ description: Column name corresponding to the equivalent column in the shared data
1080
+ type: string
1081
+ required: false
1082
+
1083
+ MatchBoostOutputRelatedTableInputRepresentation:
1084
+ description: Represents match boost output related table input
1085
+ type: object
1086
+ properties:
1087
+ sourceObjectName:
1088
+ description: Equivalent ssot object name
1089
+ type: string
1090
+ required: false
1091
+ pathFromBridgeTable:
1092
+ description: Path details identifying the relationship between bridge table and this entity
1093
+ type: array
1094
+ required: false
1095
+ items:
1096
+ type: MatchBoostOutputBridgeTablePathInputRepresentation
1097
+
1098
+ MatchBoostOutputBridgeTablePathInputRepresentation:
1099
+ description: Represents match boost output bridge table path input
1100
+ type: object
1101
+ properties:
1102
+ sourceAttribute:
1103
+ description: Source attribute of the path
1104
+ type: MatchBoostOutputBridgeTablePathAttributeInputRepresentation
1105
+ required: false
1106
+ targetAttribute:
1107
+ description: Target attribute of the path
1108
+ type: MatchBoostOutputBridgeTablePathAttributeInputRepresentation
1109
+ required: false
1110
+
1111
+ MatchBoostOutputBridgeTablePathAttributeInputRepresentation:
1112
+ description: Represents match boost output bridge table path attribute input
1113
+ type: object
1114
+ properties:
1115
+ objectName:
1116
+ description: Unique name of the entity
1117
+ type: string
1118
+ required: false
1119
+ fieldName:
1120
+ description: Unique field name of the entity
1121
+ type: string
1122
+ required: false
928
1123
 
929
1124
  CustomUseCaseTemplateTableInputRepresentation:
930
1125
  description: Represents data clean room custom template table input
@@ -1009,15 +1204,15 @@ types:
1009
1204
  required: false
1010
1205
  type:
1011
1206
  description: type of the custom template query
1012
- type: string
1013
- required: true
1207
+ type: string | nil
1208
+ required: false
1014
1209
  source:
1015
1210
  description: Actual Query to be executed
1016
- type: string
1017
- required: true
1211
+ type: string | nil
1212
+ required: false
1018
1213
  queryParameters:
1019
1214
  description: query parameters
1020
- type: CustomUseCaseTemplateQueryParamRepresentation
1215
+ type: CustomUseCaseTemplateQueryParamRepresentation | nil
1021
1216
  required: false
1022
1217
  referencedTables:
1023
1218
  description: List of tables referenced by the query
@@ -1109,6 +1304,238 @@ types:
1109
1304
  type: string
1110
1305
  required: false
1111
1306
 
1307
+ DataCleanRoomMetadataConfigurationRepresentation:
1308
+ description: Represents metadata configruation associated with template
1309
+ type: object
1310
+ properties:
1311
+ memberConfig:
1312
+ description: list of member-specific metadata configurations
1313
+ type: array
1314
+ required: false
1315
+ items:
1316
+ type: DataCleanRoomMetadataMemberConfigRepresentation
1317
+ usecaseConfig:
1318
+ description: Use case specific configuration
1319
+ type: DataCleanRoomUsecaseConfigRepresentation
1320
+ required: false
1321
+
1322
+ DataCleanRoomMetadataMemberConfigRepresentation:
1323
+ description: Represents metadata member config associated with template
1324
+ type: object
1325
+ properties:
1326
+ type:
1327
+ description: Type of member (CONSUMER or PROVIDER)
1328
+ type: string
1329
+ required: false
1330
+ canTriggerQuery:
1331
+ description: Whether this member can trigger query execution
1332
+ type: boolean
1333
+ required: false
1334
+ canReceiveResult:
1335
+ description: Whether this member can receive query results
1336
+ type: boolean
1337
+ required: false
1338
+ paysForQueries:
1339
+ description: Whether this member pays for query execution
1340
+ type: boolean
1341
+ required: false
1342
+ contributesData:
1343
+ description: Whether this member contributes data to the clean room
1344
+ type: boolean
1345
+ required: false
1346
+ outputConfig:
1347
+ description: Output configuration for query results
1348
+ type: DataCleanRoomMetadataOutputConfigRepresentation
1349
+ required: false
1350
+
1351
+ DataCleanRoomMetadataOutputConfigRepresentation:
1352
+ description: Represents metadata output config for query results
1353
+ type: object
1354
+ properties:
1355
+ destinationType:
1356
+ description: Type of output destination
1357
+ type: any
1358
+ required: false
1359
+ connectorType:
1360
+ description: Type of connector
1361
+ type: any
1362
+ required: false
1363
+
1364
+ DataCleanRoomUsecaseConfigRepresentation:
1365
+ description: Base representation for use case specific configuration. This is an abstract base class. Structure varies by useCaseType.
1366
+ type: object
1367
+ properties:
1368
+ useCaseType:
1369
+ description: Type of the use case
1370
+ type: any
1371
+ required: false
1372
+
1373
+ DataCleanRoomMatchBoostUsecaseConfigRepresentation:
1374
+ description: Represents match boost use case config, extends DataCleanRoomUsecaseConfigRepresentation
1375
+ # TODO Hand-rolled: discriminator fix, unrolling DataCleanRoomUsecaseConfigRepresentation
1376
+ # type: DataCleanRoomUsecaseConfigRepresentation
1377
+ type: object
1378
+ properties:
1379
+ useCaseType:
1380
+ description: Type of the use case
1381
+ type: any
1382
+ required: false
1383
+ supportedContactPoints:
1384
+ description: List of contact points supported by the Provider
1385
+ type: array
1386
+ required: false
1387
+ items:
1388
+ type: any
1389
+ outputObjects:
1390
+ description: List of objects having output enriched dataset
1391
+ type: DataCleanRoomMatchBoostOutputObjectRepresentation
1392
+ required: false
1393
+
1394
+ DataCleanRoomMatchBoostOutputObjectRepresentation:
1395
+ description: Represents match boost output object
1396
+ type: object
1397
+ properties:
1398
+ outputObjectConfigs:
1399
+ description: List of output object configs
1400
+ type: array
1401
+ required: false
1402
+ items:
1403
+ type: DataCleanRoomMatchBoostOutputObjectConfigRepresentation
1404
+
1405
+ DataCleanRoomMatchBoostOutputObjectConfigRepresentation:
1406
+ description: Represents match boost output object config
1407
+ type: object
1408
+ properties:
1409
+ objectName:
1410
+ description: Unique name of the entity
1411
+ type: string
1412
+ required: false
1413
+ bridgeTable:
1414
+ description: Details if this entity is a bridge table
1415
+ type: DataCleanRoomMatchBoostOutputBridgeTableRepresentation
1416
+ required: false
1417
+ relatedTable:
1418
+ description: Details for a non-bridge table entity
1419
+ type: DataCleanRoomMatchBoostOutputRelatedTableRepresentation
1420
+ required: false
1421
+
1422
+ DataCleanRoomMatchBoostOutputBridgeTableRepresentation:
1423
+ description: Represents match boost output bridge table
1424
+ type: object
1425
+ properties:
1426
+ sourceIdFieldName:
1427
+ description: Column name corresponding to the equivalent column in the shared data
1428
+ type: string
1429
+ required: false
1430
+
1431
+ DataCleanRoomMatchBoostOutputRelatedTableRepresentation:
1432
+ description: Represents match boost output related table
1433
+ type: object
1434
+ properties:
1435
+ sourceObjectName:
1436
+ description: Equivalent ssot object name
1437
+ type: string
1438
+ required: false
1439
+ pathFromBridgeTable:
1440
+ description: Path details identifying the relationship between bridge table and this entity
1441
+ type: array
1442
+ required: false
1443
+ items:
1444
+ type: DataCleanRoomMatchBoostOutputBridgeTablePathRepresentation
1445
+
1446
+ DataCleanRoomMatchBoostOutputBridgeTablePathRepresentation:
1447
+ description: Represents match boost output bridge table path
1448
+ type: object
1449
+ properties:
1450
+ sourceAttribute:
1451
+ description: Source attribute of the path
1452
+ type: DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation
1453
+ required: false
1454
+ targetAttribute:
1455
+ description: Target attribute of the path
1456
+ type: DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation
1457
+ required: false
1458
+
1459
+ DataCleanRoomMatchBoostOutputBridgeTablePathAttributeRepresentation:
1460
+ description: Represents match boost output bridge table path attribute
1461
+ type: object
1462
+ properties:
1463
+ objectName:
1464
+ description: Unique name of the entity
1465
+ type: string
1466
+ required: false
1467
+ fieldName:
1468
+ description: Unique field name of the entity
1469
+ type: string
1470
+ required: false
1471
+
1472
+ UseCaseTemplateConfigRepresentation:
1473
+ description: Represents usecase template configuration output representation
1474
+ type: object
1475
+ properties:
1476
+ memberConfigs:
1477
+ description: Usecase template member configurations
1478
+ type: array
1479
+ required: false
1480
+ items:
1481
+ type: UseCaseTemplateMemberConfigRepresentation
1482
+
1483
+ UseCaseTemplateMemberConfigRepresentation:
1484
+ description: Represents usecase template member configuration output representation
1485
+ type: object
1486
+ properties:
1487
+ memberType:
1488
+ description: Usecase member type
1489
+ type: any
1490
+ required: false
1491
+ attributeConfigs:
1492
+ description: Usecase template attribute configurations
1493
+ type: array
1494
+ required: false
1495
+ items:
1496
+ type: UseCaseTemplateAttributeConfigRepresentation
1497
+
1498
+ UseCaseTemplateAttributeConfigRepresentation:
1499
+ description: Represents usecase template attribute configuration output representation
1500
+ type: object
1501
+ properties:
1502
+ alias:
1503
+ description: UseCase Template Attribute alias
1504
+ type: string
1505
+ required: false
1506
+ description:
1507
+ description: UseCase Template Attribute description
1508
+ type: string
1509
+ required: false
1510
+ required:
1511
+ description: Captures whether the attribute is mandatory to be mapped or not
1512
+ type: boolean
1513
+ required: false
1514
+ id:
1515
+ description: UseCase Template Attribute id
1516
+ type: string
1517
+ required: false
1518
+ label:
1519
+ description: UseCase Template Attribute label
1520
+ type: string
1521
+ required: false
1522
+ tableName:
1523
+ description: UseCase Template Attribute tableName
1524
+ type: string
1525
+ required: false
1526
+ defaultValue:
1527
+ description: UseCase Template Attribute defaultValue
1528
+ type: string
1529
+ required: false
1530
+ queryOptions:
1531
+ description: UseCase Template Attribute Query Configuration
1532
+ type: any
1533
+ required: false
1534
+ tooltip:
1535
+ description: Text displayed in the UI when the user interacts with the Info icon.
1536
+ type: string
1537
+ required: false
1538
+
1112
1539
  /ssot:
1113
1540
  /data-clean-room:
1114
1541
  /providers: