@salesforce/lds-adapters-cdp-data-clean-room 1.332.0-dev19
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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/cdp-data-clean-room.js +749 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createProvider.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataCleanRoomProvidersPaginated.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataCleanRoomProviders.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDataCleanRoomProviders.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/CdpPaginatedResponseBaseRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderCollectionRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/DataCleanRoomProviderRepresentation.d.ts +74 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +792 -0
- package/src/raml/api.raml +204 -0
- package/src/raml/luvio.raml +23 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '63.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v63.0
|
|
10
|
+
securitySchemes:
|
|
11
|
+
OAuth2:
|
|
12
|
+
type: OAuth 2.0
|
|
13
|
+
settings:
|
|
14
|
+
authorizationUri: https://example.com/oauth/authorize
|
|
15
|
+
accessTokenUri: ''
|
|
16
|
+
authorizationGrants:
|
|
17
|
+
- implicit
|
|
18
|
+
annotationTypes:
|
|
19
|
+
oas-readOnly:
|
|
20
|
+
type: boolean
|
|
21
|
+
allowedTargets: TypeDeclaration
|
|
22
|
+
oas-collectionFormat:
|
|
23
|
+
type: string
|
|
24
|
+
oas-body-name:
|
|
25
|
+
type: string
|
|
26
|
+
allowedTargets: TypeDeclaration
|
|
27
|
+
types:
|
|
28
|
+
CdpUserRepresentation:
|
|
29
|
+
description: Represents a user
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
id:
|
|
33
|
+
description: The 18 character user ID
|
|
34
|
+
type: string
|
|
35
|
+
name?:
|
|
36
|
+
description: The name of the user
|
|
37
|
+
type: string
|
|
38
|
+
profilePhotoUrl?:
|
|
39
|
+
description: The Chatter profile photo of the user
|
|
40
|
+
type: string
|
|
41
|
+
CdpPaginatedResponseBaseRepresentation:
|
|
42
|
+
description: Base paginated response representation
|
|
43
|
+
type: object
|
|
44
|
+
properties:
|
|
45
|
+
currentPageUrl:
|
|
46
|
+
description: Current page url
|
|
47
|
+
type: string
|
|
48
|
+
nextPageUrl:
|
|
49
|
+
description: Next page url if it exists
|
|
50
|
+
type: string | nil
|
|
51
|
+
totalSize:
|
|
52
|
+
description: Total size of collection
|
|
53
|
+
type: integer
|
|
54
|
+
DataCleanRoomProviderCollectionRepresentation:
|
|
55
|
+
description: Represents Data Clean Room Provider Collection
|
|
56
|
+
# TODO Hand-rolled: discriminator fix, flattening CdpPaginatedResponseBaseRepresentation
|
|
57
|
+
# type: CdpPaginatedResponseBaseRepresentation
|
|
58
|
+
type: object
|
|
59
|
+
properties:
|
|
60
|
+
currentPageUrl:
|
|
61
|
+
description: Current page url
|
|
62
|
+
type: string
|
|
63
|
+
required: false
|
|
64
|
+
nextPageUrl:
|
|
65
|
+
description: Next page url if it exists
|
|
66
|
+
type: string | nil
|
|
67
|
+
required: false
|
|
68
|
+
totalSize:
|
|
69
|
+
description: Total size of collection
|
|
70
|
+
type: integer
|
|
71
|
+
required: false
|
|
72
|
+
limit:
|
|
73
|
+
description: Number of records present in this response
|
|
74
|
+
type: integer
|
|
75
|
+
required: false
|
|
76
|
+
offset:
|
|
77
|
+
description: Start offset of the next batch
|
|
78
|
+
type: integer
|
|
79
|
+
required: false
|
|
80
|
+
providers:
|
|
81
|
+
description: List of provider definitions
|
|
82
|
+
type: array
|
|
83
|
+
items:
|
|
84
|
+
type: DataCleanRoomProviderRepresentation
|
|
85
|
+
DataCleanRoomProviderInputRepresentation:
|
|
86
|
+
description: Represents Cdp Data clean room Provider input
|
|
87
|
+
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpObjectBaseInputRepresentation
|
|
88
|
+
# type: CdpObjectBaseInputRepresentation
|
|
89
|
+
type: object
|
|
90
|
+
properties:
|
|
91
|
+
label:
|
|
92
|
+
description: label
|
|
93
|
+
type: string
|
|
94
|
+
required: true
|
|
95
|
+
description:
|
|
96
|
+
description: description
|
|
97
|
+
type: string
|
|
98
|
+
required: true
|
|
99
|
+
templateNames:
|
|
100
|
+
description: List of usecase templates that the provider supports
|
|
101
|
+
type: array
|
|
102
|
+
items:
|
|
103
|
+
type: string
|
|
104
|
+
required: true
|
|
105
|
+
dataCloudOrgId:
|
|
106
|
+
description: Unique ID representing Data Cloud org
|
|
107
|
+
type: string
|
|
108
|
+
required: true
|
|
109
|
+
dataspaceName:
|
|
110
|
+
description: dataspaceName
|
|
111
|
+
type: string
|
|
112
|
+
required: false
|
|
113
|
+
name:
|
|
114
|
+
description: name
|
|
115
|
+
type: string
|
|
116
|
+
required: false
|
|
117
|
+
logoUrl:
|
|
118
|
+
description: Path to logo for discoverability
|
|
119
|
+
type: string
|
|
120
|
+
required: false
|
|
121
|
+
DataCleanRoomProviderRepresentation:
|
|
122
|
+
description: Represents Cdp Data Clean Room Provider
|
|
123
|
+
# TODO Hand-rolled: mulitple inheritance fix, unrolling CdpAssetBaseRepresentation
|
|
124
|
+
# type: CdpAssetBaseRepresentation
|
|
125
|
+
properties:
|
|
126
|
+
createdBy?:
|
|
127
|
+
description: Created by
|
|
128
|
+
type: CdpUserRepresentation
|
|
129
|
+
createdDate?:
|
|
130
|
+
description: Created date
|
|
131
|
+
type: string
|
|
132
|
+
id:
|
|
133
|
+
description: The 18 character ID of the asset
|
|
134
|
+
type: string
|
|
135
|
+
label?:
|
|
136
|
+
description: Label of the asset
|
|
137
|
+
type: string
|
|
138
|
+
lastModifiedBy?:
|
|
139
|
+
description: Last modified by
|
|
140
|
+
type: CdpUserRepresentation
|
|
141
|
+
lastModifiedDate?:
|
|
142
|
+
description: Last modified date
|
|
143
|
+
type: string
|
|
144
|
+
name?:
|
|
145
|
+
description: Name of the asset
|
|
146
|
+
type: string
|
|
147
|
+
namespace?:
|
|
148
|
+
description: Namespace of the asset
|
|
149
|
+
type: string
|
|
150
|
+
url?:
|
|
151
|
+
description: Url
|
|
152
|
+
type: string
|
|
153
|
+
dataCloudOrgId:
|
|
154
|
+
description: Data Cloud Provider Org Id
|
|
155
|
+
type: string
|
|
156
|
+
description:
|
|
157
|
+
description: Data Clean Room Provider Description
|
|
158
|
+
type: string
|
|
159
|
+
logoUrl:
|
|
160
|
+
description: Data Clean Room Provider Logo Url
|
|
161
|
+
type: string
|
|
162
|
+
required: false
|
|
163
|
+
templateNames:
|
|
164
|
+
description: Data Clean Room Provider Template Names
|
|
165
|
+
type: array
|
|
166
|
+
items:
|
|
167
|
+
type: string
|
|
168
|
+
/ssot:
|
|
169
|
+
/data-clean-room/providers:
|
|
170
|
+
get:
|
|
171
|
+
displayName: getCdpDataCleanRoomProviderCollection
|
|
172
|
+
description: Gets the paginated list of all providers
|
|
173
|
+
responses:
|
|
174
|
+
'200':
|
|
175
|
+
description: Success
|
|
176
|
+
body:
|
|
177
|
+
application/json:
|
|
178
|
+
type: DataCleanRoomProviderCollectionRepresentation
|
|
179
|
+
queryParameters:
|
|
180
|
+
batchSize:
|
|
181
|
+
type: integer
|
|
182
|
+
required: false
|
|
183
|
+
filters:
|
|
184
|
+
type: string
|
|
185
|
+
required: false
|
|
186
|
+
offset:
|
|
187
|
+
type: integer
|
|
188
|
+
required: false
|
|
189
|
+
orderBy:
|
|
190
|
+
type: string
|
|
191
|
+
required: false
|
|
192
|
+
post:
|
|
193
|
+
displayName: postCdpDataCleanRoomProviderCollection
|
|
194
|
+
description: Creates a new Data Clean Room Provider
|
|
195
|
+
responses:
|
|
196
|
+
'200':
|
|
197
|
+
description: Success
|
|
198
|
+
body:
|
|
199
|
+
application/json:
|
|
200
|
+
type: DataCleanRoomProviderRepresentation
|
|
201
|
+
body:
|
|
202
|
+
application/json:
|
|
203
|
+
type: DataCleanRoomProviderInputRepresentation
|
|
204
|
+
(oas-body-name): input
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'data-clean-room'
|
|
8
|
+
(luvio.ttl): 60000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
DataCleanRoomProviderRepresentation:
|
|
12
|
+
(luvio.key):
|
|
13
|
+
id: id
|
|
14
|
+
(luvio.opaque): true
|
|
15
|
+
|
|
16
|
+
/ssot:
|
|
17
|
+
/data-clean-room/providers:
|
|
18
|
+
post:
|
|
19
|
+
(luvio.adapter):
|
|
20
|
+
name: createProvider
|
|
21
|
+
get:
|
|
22
|
+
(luvio.adapter):
|
|
23
|
+
name: getDataCleanRoomProvidersPaginated
|