@salesforce/lds-adapters-cdp-data-clean-room 1.354.0-dev6 → 1.354.0-dev8

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 (23) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +1008 -464
  2. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomCollaboration.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -1
  4. package/dist/es/es2018/types/src/generated/adapters/executeDataCleanRoomQuery.d.ts +17 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getAllDataCleanRoomQueryPaginated.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
  8. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomJobsByCollaborationIdOrApiName.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomActionsRunByCollaborationIdOrApiName.d.ts +16 -0
  10. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomCollaborations.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -1
  12. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +4 -1
  13. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +3 -3
  14. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationRepresentation.d.ts +3 -3
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobHistoryCollectionRepresentation.d.ts +44 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobInputRepresentation.d.ts +31 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomQueryJobRepresentation.d.ts +77 -0
  18. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeFilterOptionRepresentation.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/types/UseCaseTemplateMappingAttributeRepresentation.d.ts +4 -1
  20. package/package.json +3 -3
  21. package/sfdc/index.js +891 -333
  22. package/src/raml/api.raml +149 -4
  23. package/src/raml/luvio.raml +14 -0
package/src/raml/api.raml CHANGED
@@ -6,7 +6,7 @@ version: '63.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
9
- baseUri: /services/data/v63.0
9
+ baseUri: /services/data/v64.0
10
10
  securitySchemes:
11
11
  OAuth2:
12
12
  type: OAuth 2.0
@@ -215,6 +215,9 @@ types:
215
215
  subjectAttribute:
216
216
  description: Subject Attribute
217
217
  type: UseCaseTemplateMappingSubjectAttributeRepresentation
218
+ filterOptions?:
219
+ description: Attribute Filter Option
220
+ type: UseCaseTemplateMappingAttributeFilterOptionRepresentation
218
221
  UseCaseTemplateMappingPathAttributeRepresentation:
219
222
  description: Data Clean Room UseCase Template Mapping Path Attribute Config
220
223
  type: object
@@ -307,10 +310,9 @@ types:
307
310
  description: label
308
311
  type: string
309
312
  required: true
310
- description:
313
+ description?:
311
314
  description: description
312
315
  type: string
313
- required: true
314
316
  dataspaceName:
315
317
  description: dataspaceName
316
318
  type: string
@@ -353,7 +355,7 @@ types:
353
355
  dataSpaceName:
354
356
  description: Data Clean Room Specification DataSpace
355
357
  type: string
356
- description:
358
+ description?:
357
359
  description: Data Clean Room Specification Description
358
360
  type: string
359
361
  memberType:
@@ -470,6 +472,9 @@ types:
470
472
  label:
471
473
  description: Label of the asset
472
474
  type: string
475
+ description?:
476
+ description: Description of data clean room
477
+ type: string
473
478
  DataCleanRoomCollaborationRepresentation:
474
479
  description: Represents Cdp Data Clean Room Collaboration
475
480
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -639,6 +644,113 @@ types:
639
644
  description: Record Id of DataCleanRoomInvitation
640
645
  type: string
641
646
 
647
+ UseCaseTemplateMappingAttributeFilterOptionRepresentation:
648
+ description: Data Clean Room UseCase Template Mapping Attribute Filter Config
649
+ type: object
650
+ properties:
651
+ operator:
652
+ description: Attribute Filter Operator
653
+ type: string
654
+ values:
655
+ description: Attribute Filter Values
656
+ type: array
657
+ items:
658
+ type: string
659
+
660
+ DataCleanRoomQueryJobInputRepresentation:
661
+ description: Represents Cdp Data clean room Query Job input
662
+ type: object
663
+ properties:
664
+ queryExecutionName:
665
+ description: Name of the Query that would be executed
666
+ type: string
667
+ segmentIds:
668
+ description: Segment IDs on which the query would be executed
669
+ type: array
670
+ items:
671
+ type: string
672
+
673
+ DataCleanRoomQueryJobRepresentation:
674
+ description: Represents Cdp Data Clean Room Query Job
675
+ # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
676
+ # type: CdpAssetBaseRepresentation
677
+ properties:
678
+ createdBy?:
679
+ description: Created by
680
+ type: CdpUserRepresentation
681
+ createdDate?:
682
+ description: Created date
683
+ type: string
684
+ id:
685
+ description: The 18 character ID of the asset
686
+ type: string
687
+ label?:
688
+ description: Label of the asset
689
+ type: string
690
+ lastModifiedBy?:
691
+ description: Last modified by
692
+ type: CdpUserRepresentation
693
+ lastModifiedDate?:
694
+ description: Last modified date
695
+ type: string
696
+ name?:
697
+ description: Name of the asset
698
+ type: string
699
+ completedDate?:
700
+ description: Date time at which query run was completed
701
+ type: string
702
+ errorCode?:
703
+ description: Error code due to query failure, if any
704
+ type: string
705
+ errorMessage?:
706
+ description: Error message specifying the query failure reason, if any
707
+ type: string
708
+ result?:
709
+ description: Number of records obtained as part of query run
710
+ type: integer
711
+ status:
712
+ description: Query Status of Query Job
713
+ type: string
714
+ enum:
715
+ - Completed
716
+ - Created
717
+ - Failed
718
+ - Running
719
+ triggeredDate?:
720
+ description: Date time at which query was triggered
721
+ type: string
722
+ segmentNames?:
723
+ description: List of segment names
724
+ type: array
725
+ items:
726
+ type: string
727
+
728
+ DataCleanRoomQueryJobHistoryCollectionRepresentation:
729
+ description: Represents Data Clean Room Job History Collection
730
+ # TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
731
+ # type: CdpPaginatedResponseBaseRepresentation
732
+ properties:
733
+ currentPageUrl?:
734
+ description: Current page url
735
+ type: string
736
+ nextPageUrl?:
737
+ description: Next page url if it exists
738
+ type: string | nil
739
+ totalSize?:
740
+ description: Total size of collection
741
+ type: integer
742
+ limit:
743
+ description: Number of records present in this response
744
+ type: integer
745
+ offset:
746
+ description: Start offset of the next batch
747
+ type: integer
748
+ queryJobs:
749
+ description: List of query jobs
750
+ type: array
751
+ items:
752
+ type: DataCleanRoomQueryJobRepresentation
753
+
642
754
  /ssot:
643
755
  /data-clean-room:
644
756
  /providers:
@@ -804,3 +916,36 @@ types:
804
916
  uriParameters:
805
917
  collaborationIdOrApiName:
806
918
  type: string
919
+ /{collaborationIdOrApiName}/actions/run:
920
+ post:
921
+ displayName: postCdpDataCleanRoomQueryJob
922
+ description: Triggers the Data clean room query job
923
+ responses:
924
+ '200':
925
+ description: Success
926
+ body:
927
+ application/json:
928
+ type: DataCleanRoomQueryJobRepresentation
929
+ body:
930
+ application/json:
931
+ type: DataCleanRoomQueryJobInputRepresentation
932
+ (oas-body-name): input
933
+ uriParameters:
934
+ collaborationIdOrApiName:
935
+ type: string
936
+ required: true
937
+
938
+ /{collaborationIdOrApiName}/jobs:
939
+ get:
940
+ displayName: getCdpDataCleanRoomQueryJobCollection
941
+ description: Gets a list of query job history for a given data clean room
942
+ responses:
943
+ '200':
944
+ description: Success
945
+ body:
946
+ application/json:
947
+ type: DataCleanRoomQueryJobHistoryCollectionRepresentation
948
+ uriParameters:
949
+ collaborationIdOrApiName:
950
+ type: string
951
+ required: true
@@ -28,6 +28,12 @@ types:
28
28
  (luvio.opaque): true
29
29
  (luvio.key):
30
30
  invitationId: invitationId
31
+ DataCleanRoomQueryJobRepresentation:
32
+ (luvio.key):
33
+ id: id
34
+ (luvio.opaque): true
35
+ DataCleanRoomQueryJobHistoryCollectionRepresentation:
36
+ (luvio.opaque): true
31
37
 
32
38
  /ssot:
33
39
  /data-clean-room:
@@ -65,3 +71,11 @@ types:
65
71
  put:
66
72
  (luvio.adapter):
67
73
  name: rejectDataCleanRoomInvitation
74
+ /{collaborationIdOrApiName}/actions/run:
75
+ post:
76
+ (luvio.adapter):
77
+ name: executeDataCleanRoomQuery
78
+ /{collaborationIdOrApiName}/jobs:
79
+ get:
80
+ (luvio.adapter):
81
+ name: getAllDataCleanRoomQueryPaginated