@salesforce/lds-adapters-cdp-data-clean-room 1.380.0-dev2 → 1.380.0-dev22

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 (44) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +1038 -409
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +2 -2
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +2 -1
  4. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +4 -1
  5. package/dist/es/es2018/types/src/generated/adapters/createProvider.d.ts +13 -5
  6. package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +2 -1
  7. package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatePaginated.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatesByProviderIdPaginated.d.ts +31 -0
  9. package/dist/es/es2018/types/src/generated/adapters/rejectDataCleanRoomInvitation.d.ts +2 -2
  10. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  12. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomProvidersTemplatesByProviderIdOrName.d.ts +21 -0
  13. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomTemplates.d.ts +1 -0
  14. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +2 -1
  15. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborationsActionsRunByCollaborationIdOrApiName.d.ts +2 -1
  16. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomProviders.d.ts +13 -5
  17. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +4 -1
  18. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateAnalysisConfigRepresentation.d.ts +28 -0
  19. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateColumnRepresentation.d.ts +37 -0
  20. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateInputRepresentation.d.ts +40 -0
  21. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryConfig.d.ts +49 -0
  22. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryInputRepresentation.d.ts +29 -0
  23. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryParamConfig.d.ts +34 -0
  24. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateQueryParamRepresentation.d.ts +29 -0
  25. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateTableConfig.d.ts +38 -0
  26. package/dist/es/es2018/types/src/generated/types/CustomUseCaseTemplateTableInputRepresentation.d.ts +29 -0
  27. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +6 -3
  28. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +4 -1
  29. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +12 -3
  30. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +9 -3
  31. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +3 -3
  32. package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts +29 -11
  33. package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderRepresentation.d.ts +26 -11
  34. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +6 -3
  35. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +16 -4
  36. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +13 -1
  37. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUseCaseTypeInputRepresentation.d.ts +28 -0
  38. package/dist/es/es2018/types/src/generated/types/DataCleanRoomUseCaseTypeRepresentation.d.ts +28 -0
  39. package/package.json +3 -3
  40. package/sfdc/index.js +1151 -511
  41. package/src/raml/api.raml +343 -14
  42. package/src/raml/luvio.raml +6 -2
  43. /package/dist/es/es2018/types/src/generated/resources/{putSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts → postSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts} +0 -0
  44. /package/dist/es/es2018/types/src/generated/resources/{putSsotDataCleanRoomCollaborationsActionsRejectInvitationByCollaborationIdOrApiName.d.ts → postSsotDataCleanRoomCollaborationsActionsRejectInvitationByCollaborationIdOrApiName.d.ts} +0 -0
package/src/raml/api.raml CHANGED
@@ -95,21 +95,21 @@ types:
95
95
  description:
96
96
  description: description
97
97
  type: string
98
- required: true
98
+ required: false
99
99
  templateNames:
100
100
  description: List of usecase templates that the provider supports
101
101
  type: array
102
102
  items:
103
103
  type: string
104
- required: true
104
+ required: false
105
105
  dataCloudOrgId:
106
106
  description: Unique ID representing Data Cloud org
107
107
  type: string
108
- required: true
108
+ required: false
109
109
  domainUrl:
110
110
  description: Domain URL of the provider
111
111
  type: string
112
- required: true
112
+ required: false
113
113
  dataspaceName:
114
114
  description: dataspaceName
115
115
  type: string
@@ -125,7 +125,31 @@ types:
125
125
  offCoreTenantId:
126
126
  description: Off Core Tenant Id of the provider
127
127
  type: string
128
- required: true
128
+ required: false
129
+ source:
130
+ description: provider source like DataCloud, AWS, GCP
131
+ type: string
132
+ required: false
133
+ templateJson:
134
+ description: extensible template uploaded by user
135
+ type: CustomUseCaseTemplateInputRepresentation
136
+ required: false
137
+ templateType:
138
+ description: Dictates whether template provided is of type SALESFORCE/CUSTOM
139
+ type: string
140
+ required: false
141
+ useCaseTypeConfig:
142
+ description: Dictates whether useCase provided is of type Overlap/Activation/Custom
143
+ type: DataCleanRoomUseCaseTypeInputRepresentation
144
+ required: false
145
+ providerName:
146
+ description: Name of the Provider provided by user
147
+ type: string
148
+ required: false
149
+ sourceConfiguration:
150
+ description: Other source related configuration DC/AWS
151
+ type: any
152
+ required: false
129
153
  DataCleanRoomProviderRepresentation:
130
154
  description: Represents Cdp Data Clean Room Provider
131
155
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -161,12 +185,15 @@ types:
161
185
  dataCloudOrgId:
162
186
  description: Data Cloud Provider Org Id
163
187
  type: string
188
+ required: false
164
189
  description:
165
190
  description: Data Clean Room Provider Description
166
191
  type: string
192
+ required: false
167
193
  domainUrl:
168
194
  description: Data Clean Room Provider Domain Url
169
195
  type: string
196
+ required: false
170
197
  logoUrl:
171
198
  description: Data Clean Room Provider Logo Url
172
199
  type: string
@@ -174,11 +201,33 @@ types:
174
201
  offCoreTenantId:
175
202
  description: Data Clean Room Provider Off Core Tenant Id
176
203
  type: string
204
+ required: false
177
205
  templateNames:
178
206
  description: Data Clean Room Provider Template Names
179
207
  type: array
208
+ required: false
180
209
  items:
181
210
  type: string
211
+ creationType:
212
+ description: Defines how provider package is created in an org
213
+ type: string
214
+ required: false
215
+ source:
216
+ description: provider source like DataCloud, AWS, GCP
217
+ type: string
218
+ required: false
219
+ providerName:
220
+ description: Name of the Provider provided by user
221
+ type: string
222
+ required: false
223
+ sourceConfiguration:
224
+ description: Other source related configuration DC/AWS
225
+ type: any
226
+ required: false
227
+ useCaseTypeConfig:
228
+ description: Dictates whether useCase provided is of type Overlap/Activation/Custom
229
+ type: DataCleanRoomUseCaseTypeRepresentation
230
+ required: false
182
231
  UseCaseTemplateMappingAttributeRepresentation:
183
232
  description: Represents Cdp Data Clean Room Mapping details
184
233
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -316,6 +365,7 @@ types:
316
365
  templateName:
317
366
  description: Name of the use case template for which mapping is provided
318
367
  type: string
368
+ required: false
319
369
  name:
320
370
  description: name
321
371
  type: string
@@ -324,13 +374,26 @@ types:
324
374
  description: label
325
375
  type: string
326
376
  required: true
327
- description?:
377
+ description:
328
378
  description: description
329
379
  type: string
380
+ required: false
330
381
  dataspaceName:
331
382
  description: dataspaceName
332
383
  type: string
333
384
  required: false
385
+ templateVersionId:
386
+ description: Record Id from DataCleanRoomTemplateVersion entity
387
+ type: string
388
+ required: false
389
+ templateType:
390
+ description: Dictates whether template provided is of type SALESFORCE/CUSTOM
391
+ type: string
392
+ required: false
393
+ useCaseType:
394
+ description: Dictates whether useCase provided is of type Overlap/Activation/Custom
395
+ type: string
396
+ required: false
334
397
  DataCleanRoomDataSpecificationRepresentation:
335
398
  description: Represents Cdp Data Clean Room Specification
336
399
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -369,6 +432,11 @@ types:
369
432
  dataSpaceName:
370
433
  description: Data Clean Room Specification DataSpace
371
434
  type: string
435
+ required: false
436
+ dataspace:
437
+ description: Data Clean Room Specification Dataspace object
438
+ type: any
439
+ required: false
372
440
  description?:
373
441
  description: Data Clean Room Specification Description
374
442
  type: string
@@ -390,6 +458,10 @@ types:
390
458
  templateVersion?:
391
459
  description: Template Version Info for which data clean room is created
392
460
  type: DataCleanRoomTemplateRepresentation
461
+ providerId:
462
+ description: Reference key to DataCleanRoomProvider record
463
+ type: string
464
+ required: false
393
465
  DataCleanRoomMemberRepresentation:
394
466
  description: Represents Cdp Data Clean Room Members
395
467
  type: object
@@ -412,6 +484,7 @@ types:
412
484
  memberOrgId:
413
485
  description: Id of the member org
414
486
  type: string
487
+ required: false
415
488
  memberStatus:
416
489
  description: Status of the collaboration member
417
490
  type: string
@@ -483,12 +556,17 @@ types:
483
556
  description: Developer name of use case template that the collaboration will
484
557
  support
485
558
  type: string
559
+ required: false
486
560
  label:
487
561
  description: Label of the asset
488
562
  type: string
489
563
  description?:
490
564
  description: Description of data clean room
491
565
  type: string
566
+ templateVersionId:
567
+ description: Id of the template version
568
+ type: string
569
+ required: false
492
570
  DataCleanRoomCollaborationRepresentation:
493
571
  description: Represents Cdp Data Clean Room Collaboration
494
572
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -521,9 +599,14 @@ types:
521
599
  url?:
522
600
  description: Url
523
601
  type: string
524
- dataSpaceName?:
602
+ dataSpaceName:
525
603
  description: DataSpace dev name of data clean room
526
604
  type: string
605
+ required: false
606
+ dataspace:
607
+ description: Data Clean Room Specification Dataspace object
608
+ type: any
609
+ required: false
527
610
  description?:
528
611
  description: Description of data clean room
529
612
  type: string
@@ -585,6 +668,22 @@ types:
585
668
  queryTemplate:
586
669
  description: Defined Query template for use case template
587
670
  type: any
671
+ useCaseType:
672
+ description: Type identifying whether its OOTB template or custom template
673
+ type: string
674
+ required: false
675
+ templateVersion:
676
+ description: version of the template
677
+ type: string
678
+ required: false
679
+ templateType:
680
+ description: Type identifying whether its OOTB template or custom template
681
+ type: string
682
+ required: false
683
+ providerId:
684
+ description: Reference key to DataCleanRoomProvider record
685
+ type: string
686
+ required: false
588
687
  DataCleanRoomCollaborationCollectionRepresentation:
589
688
  description: Represents Data Clean Room Collaboration Collection
590
689
  # TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
@@ -680,9 +779,14 @@ types:
680
779
  type: string
681
780
  segmentIds:
682
781
  description: Segment IDs on which the query would be executed
782
+ required: false
683
783
  type: array
684
784
  items:
685
785
  type: string
786
+ queryParameters:
787
+ description: Map of query parameters along-with their values, required for the query to be executed
788
+ type: any
789
+ required: false
686
790
 
687
791
  DataCleanRoomQueryJobRepresentation:
688
792
  description: Represents Cdp Data Clean Room Query Job
@@ -719,9 +823,6 @@ types:
719
823
  errorMessage?:
720
824
  description: Error message specifying the query failure reason, if any
721
825
  type: string
722
- result?:
723
- description: Number of records obtained as part of query run
724
- type: integer
725
826
  status:
726
827
  description: Query Status of Query Job
727
828
  type: string
@@ -738,6 +839,26 @@ types:
738
839
  type: array
739
840
  items:
740
841
  type: string
842
+ queryParam:
843
+ description: Date time at which query was triggered
844
+ type: any
845
+ required: false
846
+ outputDMOName:
847
+ description: Result DMO developer name in case of Activation usecase; result report name in case of other usecases.
848
+ type: string
849
+ required: false
850
+ reportId:
851
+ description: Id of the report associated with output DMO
852
+ type: string
853
+ required: false
854
+ reportName:
855
+ description: Name of the report associated with output DMO
856
+ type: string
857
+ required: false
858
+ executedBy:
859
+ description: Name of the user who executed the query job
860
+ type: string
861
+ required: false
741
862
 
742
863
  DataCleanRoomQueryJobHistoryCollectionRepresentation:
743
864
  description: Represents Data Clean Room Job History Collection
@@ -765,6 +886,184 @@ types:
765
886
  items:
766
887
  type: DataCleanRoomQueryJobRepresentation
767
888
 
889
+ CustomUseCaseTemplateInputRepresentation:
890
+ description: Represents data clean room custom template
891
+ properties:
892
+ name:
893
+ description: Name of the custom template
894
+ type: string
895
+ required: true
896
+ description:
897
+ description: Description of the custom template
898
+ type: string
899
+ required: true
900
+ version:
901
+ description: version of the custom template
902
+ type: string
903
+ required: false
904
+ tables:
905
+ description: List of tables referenced in template queries
906
+ type: CustomUseCaseTemplateTableInputRepresentation
907
+ required: true
908
+ queries:
909
+ description: List of queries defined in the template
910
+ type: CustomUseCaseTemplateQueryInputRepresentation
911
+ required: true
912
+
913
+ CustomUseCaseTemplateTableInputRepresentation:
914
+ description: Represents data clean room custom template table input
915
+ properties:
916
+ tableConfigs:
917
+ description: List of table configs
918
+ type: array
919
+ items:
920
+ type: CustomUseCaseTemplateTableConfig
921
+ required: true
922
+
923
+ CustomUseCaseTemplateTableConfig:
924
+ description: Represents data clean room custom template table
925
+ properties:
926
+ name:
927
+ description: Name of the custom template table
928
+ type: string
929
+ required: true
930
+ description:
931
+ description: Description of the custom template table
932
+ type: string
933
+ required: true
934
+ role:
935
+ description: Role of the custom template
936
+ type: string
937
+ required: true
938
+ columns:
939
+ description: List of columns in the table
940
+ type: array
941
+ items:
942
+ type: CustomUseCaseTemplateColumnRepresentation
943
+ required: true
944
+
945
+ CustomUseCaseTemplateColumnRepresentation:
946
+ description: Represents data clean room custom template column
947
+ properties:
948
+ name:
949
+ description: Name of the custom template column
950
+ type: string
951
+ required: true
952
+ description:
953
+ description: Description of the custom template column
954
+ type: string
955
+ required: true
956
+ type:
957
+ description: type of the custom template column
958
+ type: string
959
+ required: true
960
+ defaultValue:
961
+ description: defaultValue of the custom template column
962
+ type: string
963
+ required: false
964
+
965
+ CustomUseCaseTemplateQueryInputRepresentation:
966
+ description: Represents data clean room custom template query input
967
+ properties:
968
+ queryConfigs:
969
+ description: List of query configs
970
+ type: array
971
+ items:
972
+ type: CustomUseCaseTemplateQueryConfig
973
+ required: true
974
+
975
+ CustomUseCaseTemplateQueryConfig:
976
+ description: Represents data clean room custom template query
977
+ properties:
978
+ name:
979
+ description: Name of the custom template query
980
+ type: string
981
+ required: true
982
+ description:
983
+ description: Description of the custom template query
984
+ type: string
985
+ required: true
986
+ usecase:
987
+ description: Name of the associated use case
988
+ type: string
989
+ required: false
990
+ type:
991
+ description: type of the custom template query
992
+ type: string
993
+ required: true
994
+ source:
995
+ description: Actual Query to be executed
996
+ type: string
997
+ required: true
998
+ queryParameters:
999
+ description: query parameters
1000
+ type: CustomUseCaseTemplateQueryParamRepresentation
1001
+ required: false
1002
+ referencedTables:
1003
+ description: List of tables referenced by the query
1004
+ type: array
1005
+ items:
1006
+ type: string
1007
+ required: true
1008
+ analysisConfigs:
1009
+ description: Additional configurations for the query
1010
+ type: CustomUseCaseTemplateAnalysisConfigRepresentation
1011
+ required: false
1012
+
1013
+ CustomUseCaseTemplateQueryParamRepresentation:
1014
+ description: Represents data clean room custom template query parameter
1015
+ properties:
1016
+ queryParamConfigs:
1017
+ description: List of queries parameters defined in the template.
1018
+ type: array
1019
+ items:
1020
+ type: CustomUseCaseTemplateQueryParamConfig
1021
+ required: true
1022
+
1023
+ CustomUseCaseTemplateQueryParamConfig:
1024
+ description: Represents data clean room custom template query parameter
1025
+ properties:
1026
+ name:
1027
+ description: Name of the custom template query parameter
1028
+ type: string
1029
+ required: true
1030
+ description:
1031
+ description: Description of the custom template query parameter
1032
+ type: string
1033
+ required: true
1034
+ type:
1035
+ description: type of the custom template query parameter
1036
+ type: string
1037
+ required: true
1038
+
1039
+ CustomUseCaseTemplateAnalysisConfigRepresentation:
1040
+ description: Represents data clean room custom template analysis config
1041
+ properties:
1042
+ outputPath:
1043
+ description: output path for saving the result of the query
1044
+ type: string
1045
+ required: false
1046
+
1047
+ DataCleanRoomUseCaseTypeInputRepresentation:
1048
+ description: Represents Data Clean Room Use Case Type Input
1049
+ properties:
1050
+ useCaseTypes:
1051
+ description: Dictates whether useCase provided is of type Overlap/Activation/Custom
1052
+ type: array
1053
+ required: false
1054
+ items:
1055
+ type: string
1056
+
1057
+ DataCleanRoomUseCaseTypeRepresentation:
1058
+ description: Represents Data Clean Room Use Case Type output
1059
+ properties:
1060
+ useCaseTypes:
1061
+ description: Dictates whether useCase provided is of type Overlap/Activation/Custom
1062
+ type: array
1063
+ required: false
1064
+ items:
1065
+ type: string
1066
+
768
1067
  /ssot:
769
1068
  /data-clean-room:
770
1069
  /providers:
@@ -895,10 +1194,13 @@ types:
895
1194
  orderBy:
896
1195
  type: string
897
1196
  required: false
1197
+ filters:
1198
+ type: string
1199
+ required: false
898
1200
  /collaborations/{collaborationIdOrApiName}/actions:
899
1201
  /accept-invitation:
900
- put:
901
- displayName: putCdpDataCleanRoomCollaboration
1202
+ post:
1203
+ displayName: postCdpDataCleanRoomCollaboration
902
1204
  description: Handles invitation acceptance for a given Data Clean Room
903
1205
  responses:
904
1206
  '200':
@@ -914,8 +1216,8 @@ types:
914
1216
  collaborationIdOrApiName:
915
1217
  type: string
916
1218
  /reject-invitation:
917
- put:
918
- displayName: putCdpDataCleanRoomRejectInvitation
1219
+ post:
1220
+ displayName: postCdpDataCleanRoomRejectInvitation
919
1221
  description: Handles invitation rejection for a given Data Clean Room
920
1222
  responses:
921
1223
  '200':
@@ -977,3 +1279,30 @@ types:
977
1279
  collaborationIdOrApiName:
978
1280
  type: string
979
1281
  required: true
1282
+ /providers/{providerIdOrName}/templates:
1283
+ get:
1284
+ displayName: getDataCleanRoomTemplatesByProviderIdPaginated
1285
+ description: Gets the paginated list of all templates for a given provider ID
1286
+ responses:
1287
+ '200':
1288
+ description: Success
1289
+ body:
1290
+ application/json:
1291
+ type: DataCleanRoomTemplateCollectionRepresentation
1292
+ queryParameters:
1293
+ filters:
1294
+ type: string
1295
+ required: false
1296
+ limit:
1297
+ type: integer
1298
+ required: false
1299
+ offset:
1300
+ type: integer
1301
+ required: false
1302
+ orderBy:
1303
+ type: string
1304
+ required: false
1305
+ uriParameters:
1306
+ providerIdOrName:
1307
+ type: string
1308
+ required: true
@@ -64,11 +64,11 @@ types:
64
64
  name: getDataCleanRoomTemplatePaginated
65
65
  /collaborations/{collaborationIdOrApiName}/actions:
66
66
  /accept-invitation:
67
- put:
67
+ post:
68
68
  (luvio.adapter):
69
69
  name: acceptDataCleanRoomInvitation
70
70
  /reject-invitation:
71
- put:
71
+ post:
72
72
  (luvio.adapter):
73
73
  name: rejectDataCleanRoomInvitation
74
74
  /collaborations/{collaborationIdOrApiName}/actions/run:
@@ -79,3 +79,7 @@ types:
79
79
  get:
80
80
  (luvio.adapter):
81
81
  name: getAllDataCleanRoomQueryPaginated
82
+ /providers/{providerIdOrName}/templates:
83
+ get:
84
+ (luvio.adapter):
85
+ name: getDataCleanRoomTemplatesByProviderIdPaginated