@salesforce/lds-adapters-cdp-data-clean-room 1.332.0-dev26 → 1.332.0-dev27

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 (27) hide show
  1. package/dist/es/es2018/cdp-data-clean-room.js +1044 -307
  2. package/dist/es/es2018/types/src/generated/adapters/acceptDataCleanRoomInvitation.d.ts +17 -0
  3. package/dist/es/es2018/types/src/generated/adapters/createDataCleanRoomSpecification.d.ts +1 -1
  4. package/dist/es/es2018/types/src/generated/adapters/getAllDataCleanRoomsPaginated.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomTemplatePaginated.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/adapters/rejectDataCleanRoomInvitation.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -1
  9. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomCollaborations.d.ts +18 -0
  10. package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomTemplates.d.ts +17 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomSpecifications.d.ts +1 -1
  12. package/dist/es/es2018/types/src/generated/resources/putSsotDataCleanRoomCollaborationsActionsAcceptInvitationByCollaborationIdOrApiName.d.ts +16 -0
  13. package/dist/es/es2018/types/src/generated/resources/putSsotDataCleanRoomCollaborationsActionsRejectInvitationByCollaborationIdOrApiName.d.ts +15 -0
  14. package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +3 -3
  15. package/dist/es/es2018/types/src/generated/types/DataCleanRoomAcceptInvitationInputRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationCollectionRepresentation.d.ts +44 -0
  17. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationInputRepresentation.d.ts +1 -1
  18. package/dist/es/es2018/types/src/generated/types/DataCleanRoomCollaborationRepresentation.d.ts +6 -3
  19. package/dist/es/es2018/types/src/generated/types/DataCleanRoomDataSpecificationInputRepresentation.d.ts +3 -3
  20. package/dist/es/es2018/types/src/generated/types/DataCleanRoomMemberRepresentation.d.ts +14 -5
  21. package/dist/es/es2018/types/src/generated/types/DataCleanRoomRejectInvitationInputRepresentation.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateCollectionRepresentation.d.ts +44 -0
  23. package/dist/es/es2018/types/src/generated/types/DataCleanRoomTemplateRepresentation.d.ts +3 -3
  24. package/package.json +3 -3
  25. package/sfdc/index.js +1164 -399
  26. package/src/raml/api.raml +156 -6
  27. package/src/raml/luvio.raml +24 -0
package/src/raml/api.raml CHANGED
@@ -29,7 +29,7 @@ types:
29
29
  description: Represents a user
30
30
  type: object
31
31
  properties:
32
- id:
32
+ id?:
33
33
  description: The 18 character user ID
34
34
  type: string
35
35
  name?:
@@ -289,9 +289,7 @@ types:
289
289
  properties:
290
290
  dataMapping:
291
291
  description: Data Mapping details for the data clean room member
292
- type: array
293
- items:
294
- type: any
292
+ type: any
295
293
  memberType:
296
294
  description: Type of the data clean room member
297
295
  type: string
@@ -451,7 +449,7 @@ types:
451
449
  # type: CdpObjectBaseInputRepresentation
452
450
  properties:
453
451
  apiKey?:
454
- description: Unique Identifier for collaboration provider
452
+ description: Api key for collaboration
455
453
  type: string
456
454
  dataCloudOrgId:
457
455
  description: Core org ID where Data cloud clean room is enabled
@@ -524,6 +522,9 @@ types:
524
522
  templateVersion:
525
523
  description: Template Version Info for which data clean room is created
526
524
  type: DataCleanRoomTemplateRepresentation
525
+ apiKey?:
526
+ description: Api key for collaboration
527
+ type: string
527
528
  DataCleanRoomTemplateRepresentation:
528
529
  description: Represents Cdp Data Clean Room Template
529
530
  # TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
@@ -535,7 +536,7 @@ types:
535
536
  createdDate?:
536
537
  description: Created date
537
538
  type: string
538
- id:
539
+ id?:
539
540
  description: The 18 character ID of the asset
540
541
  type: string
541
542
  label?:
@@ -565,6 +566,78 @@ types:
565
566
  queryTemplate:
566
567
  description: Defined Query template for use case template
567
568
  type: any
569
+ DataCleanRoomCollaborationCollectionRepresentation:
570
+ description: Represents Data Clean Room Collaboration Collection
571
+ # TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
572
+ # type: CdpPaginatedResponseBaseRepresentation
573
+ properties:
574
+ currentPageUrl?:
575
+ description: Current page url
576
+ type: string
577
+ nextPageUrl?:
578
+ description: Next page url if it exists
579
+ type: string | nil
580
+ totalSize?:
581
+ description: Total size of collection
582
+ type: integer
583
+ collaborations:
584
+ description: List of Data Clean Rooms Collaborations
585
+ type: array
586
+ items:
587
+ type: DataCleanRoomCollaborationRepresentation
588
+ limit:
589
+ description: Number of records present in this response
590
+ type: integer
591
+ offset:
592
+ description: Number of records to skip for the next request
593
+ type: integer
594
+ DataCleanRoomTemplateCollectionRepresentation:
595
+ description: Represents Cdp Data Clean Room Template Collection
596
+ # TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
597
+ # type: CdpPaginatedResponseBaseRepresentation
598
+ properties:
599
+ currentPageUrl:
600
+ description: Current page url
601
+ type: string
602
+ required: false
603
+ nextPageUrl:
604
+ description: Next page url if it exists
605
+ type: string | nil
606
+ required: false
607
+ totalSize:
608
+ description: Total size of collection
609
+ type: integer
610
+ required: false
611
+ limit:
612
+ description: Number of records present in this response
613
+ type: integer
614
+ offset:
615
+ description: Number of records to skip for the next request
616
+ type: integer
617
+ templates:
618
+ description: List of Templates
619
+ type: array
620
+ items:
621
+ type: DataCleanRoomTemplateRepresentation
622
+
623
+ DataCleanRoomAcceptInvitationInputRepresentation:
624
+ description: Represents Cdp Data clean room Accept invitation input
625
+ type: object
626
+ properties:
627
+ invitationId:
628
+ description: Record Id of DataCleanRoomInvitation
629
+ type: string
630
+ specificationId:
631
+ description: Record Id of DataCleanRoomSpecification
632
+ type: string
633
+
634
+ DataCleanRoomRejectInvitationInputRepresentation:
635
+ description: Represents Cdp Data clean room Reject invitation input
636
+ type: object
637
+ properties:
638
+ invitationId:
639
+ description: Record Id of DataCleanRoomInvitation
640
+ type: string
568
641
 
569
642
  /ssot:
570
643
  /data-clean-room:
@@ -641,6 +714,28 @@ types:
641
714
  type: DataCleanRoomDataSpecificationInputRepresentation
642
715
  (oas-body-name): input
643
716
  /collaborations:
717
+ get:
718
+ displayName: getCdpDataCleanRoomCollaborationCollection
719
+ description: Gets a list of data clean rooms
720
+ responses:
721
+ '200':
722
+ description: Success
723
+ body:
724
+ application/json:
725
+ type: DataCleanRoomCollaborationCollectionRepresentation
726
+ queryParameters:
727
+ filters:
728
+ type: string
729
+ required: false
730
+ limit:
731
+ type: integer
732
+ required: false
733
+ offset:
734
+ type: integer
735
+ required: false
736
+ orderBy:
737
+ type: string
738
+ required: false
644
739
  post:
645
740
  displayName: postCdpDataCleanRoomCollaborationCollection
646
741
  description: Creates a new data clean room collaboration
@@ -654,3 +749,58 @@ types:
654
749
  application/json:
655
750
  type: DataCleanRoomCollaborationInputRepresentation
656
751
  (oas-body-name): input
752
+ /templates:
753
+ get:
754
+ displayName: getCdpDataCleanRoomTemplateCollection
755
+ description: Gets the paginated list of all template
756
+ responses:
757
+ '200':
758
+ description: Success
759
+ body:
760
+ application/json:
761
+ type: DataCleanRoomTemplateCollectionRepresentation
762
+ queryParameters:
763
+ limit:
764
+ type: integer
765
+ required: false
766
+ offset:
767
+ type: integer
768
+ required: false
769
+ orderBy:
770
+ type: string
771
+ required: false
772
+ /collaborations/{collaborationIdOrApiName}/actions:
773
+ /accept-invitation:
774
+ put:
775
+ displayName: putCdpDataCleanRoomCollaboration
776
+ description: Handles invitation acceptance for a given Data Clean Room
777
+ responses:
778
+ '200':
779
+ description: Success
780
+ body:
781
+ application/json:
782
+ type: DataCleanRoomMemberRepresentation
783
+ body:
784
+ application/json:
785
+ type: DataCleanRoomAcceptInvitationInputRepresentation
786
+ (oas-body-name): input
787
+ uriParameters:
788
+ collaborationIdOrApiName:
789
+ type: string
790
+ /reject-invitation:
791
+ put:
792
+ displayName: putCdpDataCleanRoomRejectInvitation
793
+ description: Handles invitation rejection for a given Data Clean Room
794
+ responses:
795
+ '200':
796
+ description: Success
797
+ body:
798
+ application/json:
799
+ type: DataCleanRoomMemberRepresentation
800
+ body:
801
+ application/json:
802
+ type: DataCleanRoomRejectInvitationInputRepresentation
803
+ (oas-body-name): input
804
+ uriParameters:
805
+ collaborationIdOrApiName:
806
+ type: string
@@ -20,6 +20,14 @@ types:
20
20
  (luvio.key):
21
21
  id: id
22
22
  (luvio.opaque): true
23
+ DataCleanRoomCollaborationCollectionRepresentation:
24
+ (luvio.opaque): true
25
+ DataCleanRoomTemplateCollectionRepresentation:
26
+ (luvio.opaque): true
27
+ DataCleanRoomMemberRepresentation:
28
+ (luvio.opaque): true
29
+ (luvio.key):
30
+ invitationId: invitationId
23
31
 
24
32
  /ssot:
25
33
  /data-clean-room:
@@ -41,3 +49,19 @@ types:
41
49
  post:
42
50
  (luvio.adapter):
43
51
  name: createDataCleanRoomCollaboration
52
+ get:
53
+ (luvio.adapter):
54
+ name: getAllDataCleanRoomsPaginated
55
+ /templates:
56
+ get:
57
+ (luvio.adapter):
58
+ name: getDataCleanRoomTemplatePaginated
59
+ /collaborations/{collaborationIdOrApiName}/actions:
60
+ /accept-invitation:
61
+ put:
62
+ (luvio.adapter):
63
+ name: acceptDataCleanRoomInvitation
64
+ /reject-invitation:
65
+ put:
66
+ (luvio.adapter):
67
+ name: rejectDataCleanRoomInvitation