@salesforce/lds-adapters-cdp-metadata 0.1.0-dev1
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-metadata.js +885 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getAllMetadata.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataGraphMetadata.d.ts +28 -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 +5 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDataGraphsMetadata.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotMetadata.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/CdpDgMetadataRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CdpQueryDataGraphMetadataRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/CdpQueryMetadataOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphFieldRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphIdsDmoFieldRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphIdsDmoRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphObjectDataRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphRelationshipRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphValuesDmoFieldRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DataGraphValuesDmoRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RecencyCriteriaRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +927 -0
- package/src/raml/api.raml +288 -0
- package/src/raml/luvio.raml +24 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '62.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v66.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
|
+
CdpQueryMetadataOutputRepresentation:
|
|
29
|
+
description: Represents Cdp Query Metadata Output
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
metadata:
|
|
33
|
+
description: Result metadata set
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: any # TODO hand rolled. W-15573704
|
|
37
|
+
CdpDgMetadataRepresentation:
|
|
38
|
+
description: Represents Cdp DataGraph Metadata output
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
dataGraphMetadata:
|
|
42
|
+
description: DataGraph Metadata
|
|
43
|
+
type: array
|
|
44
|
+
items:
|
|
45
|
+
type: CdpQueryDataGraphMetadataRepresentation
|
|
46
|
+
CdpQueryDataGraphMetadataRepresentation:
|
|
47
|
+
description: Represents Cdp DataGraph Metadata output
|
|
48
|
+
type: object
|
|
49
|
+
properties:
|
|
50
|
+
dataspaceName:
|
|
51
|
+
description: DataGraphMetadata dataspaceName
|
|
52
|
+
type: string
|
|
53
|
+
description:
|
|
54
|
+
description: DataGraphMetadata description
|
|
55
|
+
type: string
|
|
56
|
+
developerName:
|
|
57
|
+
description: DataGraphMetadata name
|
|
58
|
+
type: string
|
|
59
|
+
dgObject:
|
|
60
|
+
description: DataGraphMetadata dgObject
|
|
61
|
+
type: DataGraphObjectDataRepresentation
|
|
62
|
+
extendedProperties:
|
|
63
|
+
description: DataGraphMetadata extendedProperties
|
|
64
|
+
type: object
|
|
65
|
+
required: false
|
|
66
|
+
idDmoName:
|
|
67
|
+
description: DataGraphMetadata idDmoName
|
|
68
|
+
type: string
|
|
69
|
+
idsDmo:
|
|
70
|
+
description: DataGraphMetadata idsDmo
|
|
71
|
+
type: DataGraphIdsDmoRepresentation
|
|
72
|
+
primaryObjectName:
|
|
73
|
+
description: DataGraphMetadata primaryObjectName
|
|
74
|
+
type: string
|
|
75
|
+
primaryObjectType:
|
|
76
|
+
description: DataGraphMetadata primaryObjectType
|
|
77
|
+
type: string
|
|
78
|
+
status:
|
|
79
|
+
description: DataGraphMetadata status
|
|
80
|
+
type: string
|
|
81
|
+
valuesDmo:
|
|
82
|
+
description: DataGraphMetadata valuesDmo
|
|
83
|
+
type: DataGraphValuesDmoRepresentation
|
|
84
|
+
valuesDmoName:
|
|
85
|
+
description: DataGraphMetadata valuesDmoName
|
|
86
|
+
type: string
|
|
87
|
+
version:
|
|
88
|
+
description: DataGraphMetadata version
|
|
89
|
+
type: string
|
|
90
|
+
DataGraphFieldRepresentation:
|
|
91
|
+
description: Represents DataGraphFields
|
|
92
|
+
type: object
|
|
93
|
+
properties:
|
|
94
|
+
ciFieldType:
|
|
95
|
+
description: DataGraphField ciFieldType
|
|
96
|
+
type: string
|
|
97
|
+
required: false
|
|
98
|
+
dataGraphFieldDevName:
|
|
99
|
+
description: DataGraphField fieldDevName
|
|
100
|
+
type: string
|
|
101
|
+
dataType:
|
|
102
|
+
description: DataGraphField dataType
|
|
103
|
+
type: string
|
|
104
|
+
developerName:
|
|
105
|
+
description: DataGraphField developerName
|
|
106
|
+
type: string
|
|
107
|
+
isProjected:
|
|
108
|
+
description: DataGraphField isProjected
|
|
109
|
+
type: string
|
|
110
|
+
keyCol:
|
|
111
|
+
description: DataGraphField keyCol
|
|
112
|
+
type: string
|
|
113
|
+
keyQualifierName:
|
|
114
|
+
description: DataGraphField keyQualifierName
|
|
115
|
+
type: string
|
|
116
|
+
length:
|
|
117
|
+
description: DataGraphField length
|
|
118
|
+
type: string
|
|
119
|
+
lookupCol:
|
|
120
|
+
description: DataGraphField lookupCol
|
|
121
|
+
type: string
|
|
122
|
+
usageTag:
|
|
123
|
+
description: DataGraphField usageTag
|
|
124
|
+
type: string
|
|
125
|
+
DataGraphIdsDmoRepresentation:
|
|
126
|
+
description: Represents DataGraphIdsDmo data
|
|
127
|
+
type: object
|
|
128
|
+
properties:
|
|
129
|
+
developerName:
|
|
130
|
+
description: DataGraphIdsDmo developerName
|
|
131
|
+
type: string
|
|
132
|
+
fields:
|
|
133
|
+
description: DataGraphIdsDmo fields
|
|
134
|
+
type: array
|
|
135
|
+
items:
|
|
136
|
+
type: DataGraphIdsDmoFieldRepresentation
|
|
137
|
+
DataGraphIdsDmoFieldRepresentation:
|
|
138
|
+
description: Represents DataGraphIdsDmoField data
|
|
139
|
+
type: object
|
|
140
|
+
properties:
|
|
141
|
+
capabilities:
|
|
142
|
+
description: DataGraphIdsDmoField capabilities
|
|
143
|
+
type: array
|
|
144
|
+
items:
|
|
145
|
+
type: integer
|
|
146
|
+
dataType:
|
|
147
|
+
description: DataGraphIdsDmoField dataType
|
|
148
|
+
type: string
|
|
149
|
+
developerName:
|
|
150
|
+
description: DataGraphIdsDmoField developerName
|
|
151
|
+
type: string
|
|
152
|
+
DataGraphObjectDataRepresentation:
|
|
153
|
+
description: Represents DataGraphObject data
|
|
154
|
+
type: object
|
|
155
|
+
properties:
|
|
156
|
+
dataGraphSourceDevName:
|
|
157
|
+
description: DataObject sourceDevName
|
|
158
|
+
type: string
|
|
159
|
+
developerName:
|
|
160
|
+
description: DataObject data developerName
|
|
161
|
+
type: string
|
|
162
|
+
fields:
|
|
163
|
+
description: DataObject data fields
|
|
164
|
+
type: array
|
|
165
|
+
items:
|
|
166
|
+
type: DataGraphFieldRepresentation
|
|
167
|
+
filterCriteria:
|
|
168
|
+
description: DataObject data filterCriteria
|
|
169
|
+
type: string
|
|
170
|
+
memberDmoName:
|
|
171
|
+
description: DataObject data memberDmoName
|
|
172
|
+
type: string
|
|
173
|
+
paths:
|
|
174
|
+
description: DataObject data paths
|
|
175
|
+
type: array
|
|
176
|
+
items:
|
|
177
|
+
type: DataGraphRelationshipRepresentation
|
|
178
|
+
recencyCriteria:
|
|
179
|
+
description: DataObject data recencyCriteria
|
|
180
|
+
type: array
|
|
181
|
+
items:
|
|
182
|
+
type: RecencyCriteriaRepresentation
|
|
183
|
+
relatedObjects:
|
|
184
|
+
description: Data Lake data relatedObjects
|
|
185
|
+
type: array
|
|
186
|
+
items:
|
|
187
|
+
type: any
|
|
188
|
+
type:
|
|
189
|
+
description: DataObject data type
|
|
190
|
+
type: string
|
|
191
|
+
DataGraphRelationshipRepresentation:
|
|
192
|
+
description: Represents DataGraphRelationship
|
|
193
|
+
type: object
|
|
194
|
+
properties:
|
|
195
|
+
cardinality:
|
|
196
|
+
description: DataGraphRelationship cardinality
|
|
197
|
+
type: string
|
|
198
|
+
fieldName:
|
|
199
|
+
description: DataGraphRelationship fieldName
|
|
200
|
+
type: string
|
|
201
|
+
parentFieldName:
|
|
202
|
+
description: DataGraphRelationship parentFieldName
|
|
203
|
+
type: string
|
|
204
|
+
DataGraphValuesDmoFieldRepresentation:
|
|
205
|
+
description: Represents DataGraphValuesDmoField data
|
|
206
|
+
type: object
|
|
207
|
+
properties:
|
|
208
|
+
capabilities:
|
|
209
|
+
description: DataGraphValuesDmoField capabilities
|
|
210
|
+
type: array
|
|
211
|
+
items:
|
|
212
|
+
type: integer
|
|
213
|
+
dataType:
|
|
214
|
+
description: DataGraphValuesDmoField dataType
|
|
215
|
+
type: string
|
|
216
|
+
developerName:
|
|
217
|
+
description: DataGraphValuesDmoField developerName
|
|
218
|
+
type: string
|
|
219
|
+
DataGraphValuesDmoRepresentation:
|
|
220
|
+
description: Represents DataGraphValuesDmo data
|
|
221
|
+
type: object
|
|
222
|
+
properties:
|
|
223
|
+
developerName:
|
|
224
|
+
description: DataGraphValuesDmo developerName
|
|
225
|
+
type: string
|
|
226
|
+
fields:
|
|
227
|
+
description: DataGraphValuesDmo fields
|
|
228
|
+
type: array
|
|
229
|
+
items:
|
|
230
|
+
type: DataGraphValuesDmoFieldRepresentation
|
|
231
|
+
RecencyCriteriaRepresentation:
|
|
232
|
+
description: Represents RecencyCriteria data
|
|
233
|
+
type: object
|
|
234
|
+
properties:
|
|
235
|
+
fieldName:
|
|
236
|
+
description: RecencyCriteria fieldName
|
|
237
|
+
type: string
|
|
238
|
+
value:
|
|
239
|
+
description: RecencyCriteria value
|
|
240
|
+
type: string
|
|
241
|
+
valueType:
|
|
242
|
+
description: RecencyCriteria valueType
|
|
243
|
+
type: string
|
|
244
|
+
valueUnit:
|
|
245
|
+
description: RecencyCriteria valueUnit
|
|
246
|
+
type: string
|
|
247
|
+
|
|
248
|
+
/ssot:
|
|
249
|
+
/metadata:
|
|
250
|
+
get:
|
|
251
|
+
displayName: getCdpMetadataQuery
|
|
252
|
+
description: Query MetaData API
|
|
253
|
+
responses:
|
|
254
|
+
'200':
|
|
255
|
+
description: Success
|
|
256
|
+
body:
|
|
257
|
+
application/json:
|
|
258
|
+
type: CdpQueryMetadataOutputRepresentation
|
|
259
|
+
queryParameters:
|
|
260
|
+
dataspace:
|
|
261
|
+
type: string
|
|
262
|
+
required: false
|
|
263
|
+
entityCategory:
|
|
264
|
+
type: string
|
|
265
|
+
required: false
|
|
266
|
+
entityName:
|
|
267
|
+
type: string
|
|
268
|
+
required: false
|
|
269
|
+
entityType:
|
|
270
|
+
type: string
|
|
271
|
+
required: false
|
|
272
|
+
/data-graphs/metadata:
|
|
273
|
+
get:
|
|
274
|
+
displayName: getCdpDataGraphMetadataQuery
|
|
275
|
+
description: Query Datagraph MetaData
|
|
276
|
+
responses:
|
|
277
|
+
'200':
|
|
278
|
+
description: Success
|
|
279
|
+
body:
|
|
280
|
+
application/json:
|
|
281
|
+
type: CdpDgMetadataRepresentation
|
|
282
|
+
queryParameters:
|
|
283
|
+
dataGraphEntityName:
|
|
284
|
+
type: string
|
|
285
|
+
required: false
|
|
286
|
+
dataspace:
|
|
287
|
+
type: string
|
|
288
|
+
required: false
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'cdp-metadata'
|
|
8
|
+
(luvio.ttl): 3000000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
CdpDgMetadataRepresentation:
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
CdpQueryMetadataOutputRepresentation:
|
|
14
|
+
(luvio.opaque): true
|
|
15
|
+
|
|
16
|
+
/ssot:
|
|
17
|
+
/metadata:
|
|
18
|
+
get:
|
|
19
|
+
(luvio.adapter):
|
|
20
|
+
name: getAllMetadata
|
|
21
|
+
/data-graphs/metadata:
|
|
22
|
+
get:
|
|
23
|
+
(luvio.adapter):
|
|
24
|
+
name: getDataGraphMetadata
|