@salesforce/lds-adapters-marketing-cdp 0.131.0
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/marketing-cdp.js +1056 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/createAdg.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteAdg.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/adapters/getAdg.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/retryDataGraph.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotApplicationDataGraphsByAdgName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotApplicationDataGraphsByAdgName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotApplicationDataGraphs.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/putSsotApplicationDataGraphsRetry.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphDataRecencyInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphFieldInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphFieldOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphOutputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphPathToParentInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphPathToParentOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphRecencyCriteriaOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphSourceInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphSourceObjectOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphRetryInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphRetryOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/CdpObjectBaseInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/CdpObjectBaseOutputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +68 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1135 -0
- package/src/raml/api.raml +353 -0
- package/src/raml/luvio.raml +49 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '58.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v58.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
|
+
CdpObjectBaseInputRepresentation:
|
|
29
|
+
description: Base CDP Input representation
|
|
30
|
+
type: object
|
|
31
|
+
discriminator: kind
|
|
32
|
+
properties:
|
|
33
|
+
kind:
|
|
34
|
+
description: refers to the `kind` property of object `CdpObjectBaseInputRepresentation`
|
|
35
|
+
type: string
|
|
36
|
+
dataspaceName:
|
|
37
|
+
description: dataspaceName
|
|
38
|
+
type: string
|
|
39
|
+
required: false
|
|
40
|
+
description:
|
|
41
|
+
description: description
|
|
42
|
+
type: string
|
|
43
|
+
required: false
|
|
44
|
+
label:
|
|
45
|
+
description: label
|
|
46
|
+
type: string
|
|
47
|
+
required: false
|
|
48
|
+
name:
|
|
49
|
+
description: name
|
|
50
|
+
type: string
|
|
51
|
+
required: false
|
|
52
|
+
CdpObjectBaseOutputRepresentation:
|
|
53
|
+
description: Represents Cdp Base Output
|
|
54
|
+
type: object
|
|
55
|
+
discriminator: kind
|
|
56
|
+
properties:
|
|
57
|
+
kind:
|
|
58
|
+
description: refers to the `kind` property of object `CdpObjectBaseOutputRepresentation`
|
|
59
|
+
type: string
|
|
60
|
+
createdBy:
|
|
61
|
+
description: created by
|
|
62
|
+
type: string
|
|
63
|
+
required: false
|
|
64
|
+
createdDate:
|
|
65
|
+
description: created date
|
|
66
|
+
type: string
|
|
67
|
+
required: false
|
|
68
|
+
dataspaceName:
|
|
69
|
+
description: dataspacename
|
|
70
|
+
type: string
|
|
71
|
+
required: false
|
|
72
|
+
description:
|
|
73
|
+
description: description
|
|
74
|
+
type: string
|
|
75
|
+
required: false
|
|
76
|
+
id:
|
|
77
|
+
description: id
|
|
78
|
+
type: string
|
|
79
|
+
required: false
|
|
80
|
+
label:
|
|
81
|
+
description: label
|
|
82
|
+
type: string
|
|
83
|
+
required: false
|
|
84
|
+
modifiedBy:
|
|
85
|
+
description: modified by
|
|
86
|
+
type: string
|
|
87
|
+
required: false
|
|
88
|
+
modifiedDate:
|
|
89
|
+
description: modified date
|
|
90
|
+
type: string
|
|
91
|
+
required: false
|
|
92
|
+
name:
|
|
93
|
+
description: name
|
|
94
|
+
type: string
|
|
95
|
+
CdpApplicationDataGraphDataRecencyInputRepresentation:
|
|
96
|
+
description: ADG Recency Criteria input representation
|
|
97
|
+
type: object
|
|
98
|
+
properties:
|
|
99
|
+
fieldName:
|
|
100
|
+
description: field_name
|
|
101
|
+
type: string
|
|
102
|
+
value:
|
|
103
|
+
description: value
|
|
104
|
+
type: integer
|
|
105
|
+
valueType:
|
|
106
|
+
description: value_type
|
|
107
|
+
type: string
|
|
108
|
+
valueUnit:
|
|
109
|
+
description: value_unit
|
|
110
|
+
type: string
|
|
111
|
+
CdpApplicationDataGraphFieldInputRepresentation:
|
|
112
|
+
description: ADG Field input representation
|
|
113
|
+
type: object
|
|
114
|
+
properties:
|
|
115
|
+
isKeyColumn:
|
|
116
|
+
description: is column a key
|
|
117
|
+
type: boolean
|
|
118
|
+
sourceFieldName:
|
|
119
|
+
description: source field name
|
|
120
|
+
type: string
|
|
121
|
+
CdpApplicationDataGraphFieldOutputRepresentation:
|
|
122
|
+
description: Represents Cdp Application Data Graph Field Output
|
|
123
|
+
type: object
|
|
124
|
+
properties:
|
|
125
|
+
isKeyColumn:
|
|
126
|
+
description: isKeyColumn
|
|
127
|
+
type: boolean
|
|
128
|
+
sourceFieldName:
|
|
129
|
+
description: source_field_developer_name
|
|
130
|
+
type: string
|
|
131
|
+
CdpApplicationDataGraphInputRepresentation:
|
|
132
|
+
description: Input representation for creating CDP ADG
|
|
133
|
+
type: object
|
|
134
|
+
properties:
|
|
135
|
+
dataspaceName:
|
|
136
|
+
description: dataspaceName
|
|
137
|
+
type: string
|
|
138
|
+
required: false
|
|
139
|
+
description:
|
|
140
|
+
description: description
|
|
141
|
+
type: string
|
|
142
|
+
required: false
|
|
143
|
+
label:
|
|
144
|
+
description: label
|
|
145
|
+
type: string
|
|
146
|
+
required: false
|
|
147
|
+
name:
|
|
148
|
+
description: name
|
|
149
|
+
type: string
|
|
150
|
+
required: false
|
|
151
|
+
primaryObjectName:
|
|
152
|
+
description: Primary Object Name
|
|
153
|
+
type: string
|
|
154
|
+
primaryObjectType:
|
|
155
|
+
description: primary object type
|
|
156
|
+
type: string
|
|
157
|
+
sourceObject:
|
|
158
|
+
description: source object
|
|
159
|
+
type: any
|
|
160
|
+
CdpApplicationDataGraphSourceObjectOutputRepresentation:
|
|
161
|
+
description: Represents Cdp Application Data Graph Source Output
|
|
162
|
+
type: object
|
|
163
|
+
properties:
|
|
164
|
+
fields:
|
|
165
|
+
description: fields
|
|
166
|
+
type: array
|
|
167
|
+
items:
|
|
168
|
+
type: CdpApplicationDataGraphFieldOutputRepresentation
|
|
169
|
+
path:
|
|
170
|
+
description: path
|
|
171
|
+
type: array
|
|
172
|
+
items:
|
|
173
|
+
type: CdpApplicationDataGraphPathToParentOutputRepresentation
|
|
174
|
+
required: false
|
|
175
|
+
recencyCriteria:
|
|
176
|
+
description: recencyCriteria
|
|
177
|
+
type: CdpApplicationDataGraphRecencyCriteriaOutputRepresentation
|
|
178
|
+
required: false
|
|
179
|
+
relatedObjects:
|
|
180
|
+
description: relatedObjects
|
|
181
|
+
type: array
|
|
182
|
+
items:
|
|
183
|
+
type: any #Add any to remove circular dependency
|
|
184
|
+
type:
|
|
185
|
+
description: type
|
|
186
|
+
type: string
|
|
187
|
+
enum:
|
|
188
|
+
- Cio
|
|
189
|
+
- Dmo
|
|
190
|
+
CdpApplicationDataGraphOutputRepresentation:
|
|
191
|
+
description: Represents Cdp Application Data Graph Output
|
|
192
|
+
type: CdpObjectBaseOutputRepresentation
|
|
193
|
+
properties:
|
|
194
|
+
extendedProperties:
|
|
195
|
+
description: extended properties
|
|
196
|
+
type: string
|
|
197
|
+
idDmoName:
|
|
198
|
+
description: id_dmo_name
|
|
199
|
+
type: string
|
|
200
|
+
primaryObjectName:
|
|
201
|
+
description: primary object developer name
|
|
202
|
+
type: string
|
|
203
|
+
primaryObjectType:
|
|
204
|
+
description: primary object type
|
|
205
|
+
type: string
|
|
206
|
+
enum:
|
|
207
|
+
- Cio
|
|
208
|
+
- Dmo
|
|
209
|
+
sourceObject:
|
|
210
|
+
description: object
|
|
211
|
+
type: CdpApplicationDataGraphSourceObjectOutputRepresentation
|
|
212
|
+
status:
|
|
213
|
+
description: status
|
|
214
|
+
type: string
|
|
215
|
+
valuesDmoName:
|
|
216
|
+
description: values dmo name
|
|
217
|
+
type: string
|
|
218
|
+
version:
|
|
219
|
+
description: version
|
|
220
|
+
type: string
|
|
221
|
+
CdpApplicationDataGraphPathToParentInputRepresentation:
|
|
222
|
+
description: ADG Source Object Path input representation
|
|
223
|
+
type: object
|
|
224
|
+
properties:
|
|
225
|
+
fieldName:
|
|
226
|
+
description: field_name
|
|
227
|
+
type: string
|
|
228
|
+
parentFieldName:
|
|
229
|
+
description: parent_field_name
|
|
230
|
+
type: string
|
|
231
|
+
CdpApplicationDataGraphPathToParentOutputRepresentation:
|
|
232
|
+
description: Represents Cdp Application Data Graph Path to Parent Output
|
|
233
|
+
type: object
|
|
234
|
+
properties:
|
|
235
|
+
fieldName:
|
|
236
|
+
description: field name
|
|
237
|
+
type: string
|
|
238
|
+
parentFieldName:
|
|
239
|
+
description: parent_field_name
|
|
240
|
+
type: string
|
|
241
|
+
CdpApplicationDataGraphRecencyCriteriaOutputRepresentation:
|
|
242
|
+
description: Represents Cdp Application Data Graph Recency Output
|
|
243
|
+
type: object
|
|
244
|
+
properties:
|
|
245
|
+
fieldName:
|
|
246
|
+
description: field_name
|
|
247
|
+
type: string
|
|
248
|
+
value:
|
|
249
|
+
description: value
|
|
250
|
+
type: integer
|
|
251
|
+
valueType:
|
|
252
|
+
description: value_type
|
|
253
|
+
type: string
|
|
254
|
+
valueUnit:
|
|
255
|
+
description: value_unit
|
|
256
|
+
type: string
|
|
257
|
+
CdpApplicationDataGraphSourceInputRepresentation:
|
|
258
|
+
description: ADG Source Object input representation
|
|
259
|
+
type: CdpObjectBaseInputRepresentation
|
|
260
|
+
properties:
|
|
261
|
+
fields:
|
|
262
|
+
description: fields
|
|
263
|
+
type: array
|
|
264
|
+
items:
|
|
265
|
+
type: CdpApplicationDataGraphFieldInputRepresentation
|
|
266
|
+
path:
|
|
267
|
+
description: path
|
|
268
|
+
type: array
|
|
269
|
+
items:
|
|
270
|
+
type: CdpApplicationDataGraphPathToParentInputRepresentation
|
|
271
|
+
recencyCriteria:
|
|
272
|
+
description: recencyCriteria
|
|
273
|
+
type: any
|
|
274
|
+
relatedObjects:
|
|
275
|
+
description: relatedObjects
|
|
276
|
+
type: array
|
|
277
|
+
items:
|
|
278
|
+
type: any
|
|
279
|
+
type:
|
|
280
|
+
description: type
|
|
281
|
+
type: string
|
|
282
|
+
enum:
|
|
283
|
+
- Cio
|
|
284
|
+
- Dmo
|
|
285
|
+
CdpDataGraphRetryInputRepresentation:
|
|
286
|
+
description: Input representation for retry running error state CDP Data Graph
|
|
287
|
+
type: object
|
|
288
|
+
properties:
|
|
289
|
+
dataGraphName:
|
|
290
|
+
description: data_graph_name
|
|
291
|
+
type: string
|
|
292
|
+
CdpDataGraphRetryOutputRepresentation:
|
|
293
|
+
description: Represents Cdp Data Graph Retry Output
|
|
294
|
+
type: object
|
|
295
|
+
properties:
|
|
296
|
+
dataGraphName:
|
|
297
|
+
description: data_graph_name
|
|
298
|
+
type: string
|
|
299
|
+
lastRunStatus:
|
|
300
|
+
description: last run status
|
|
301
|
+
type: string
|
|
302
|
+
status:
|
|
303
|
+
description: status
|
|
304
|
+
type: string
|
|
305
|
+
/ssot:
|
|
306
|
+
/application-data-graphs:
|
|
307
|
+
post:
|
|
308
|
+
displayName: postCdpApplicationDataGraph
|
|
309
|
+
description: Creates ADG
|
|
310
|
+
responses:
|
|
311
|
+
'200':
|
|
312
|
+
description: Success
|
|
313
|
+
body:
|
|
314
|
+
application/json:
|
|
315
|
+
type: CdpApplicationDataGraphOutputRepresentation
|
|
316
|
+
body:
|
|
317
|
+
application/json:
|
|
318
|
+
type: CdpApplicationDataGraphInputRepresentation
|
|
319
|
+
(oas-body-name): input
|
|
320
|
+
/application-data-graphs/{adgName}:
|
|
321
|
+
get:
|
|
322
|
+
displayName: getCdpApplicationDataGraph
|
|
323
|
+
description: Query ADG
|
|
324
|
+
responses:
|
|
325
|
+
'200':
|
|
326
|
+
description: Success
|
|
327
|
+
body:
|
|
328
|
+
application/json:
|
|
329
|
+
type: CdpApplicationDataGraphOutputRepresentation
|
|
330
|
+
delete:
|
|
331
|
+
displayName: deleteCdpApplicationDataGraph
|
|
332
|
+
description: Delete ADG
|
|
333
|
+
responses:
|
|
334
|
+
'200':
|
|
335
|
+
description: Success
|
|
336
|
+
uriParameters:
|
|
337
|
+
adgName:
|
|
338
|
+
type: string
|
|
339
|
+
required: true
|
|
340
|
+
/application-data-graphs/retry:
|
|
341
|
+
put:
|
|
342
|
+
displayName: putCdpDataGraphRetry
|
|
343
|
+
description: retry for failed or error state data graph
|
|
344
|
+
responses:
|
|
345
|
+
'200':
|
|
346
|
+
description: Success
|
|
347
|
+
body:
|
|
348
|
+
application/json:
|
|
349
|
+
type: CdpDataGraphRetryOutputRepresentation
|
|
350
|
+
body:
|
|
351
|
+
application/json:
|
|
352
|
+
type: CdpDataGraphRetryInputRepresentation
|
|
353
|
+
(oas-body-name): input
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'CDP'
|
|
8
|
+
(luvio.ttl): 3000000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
CdpObjectBaseOutputRepresentation:
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
(luvio.key):
|
|
14
|
+
name: name
|
|
15
|
+
CdpApplicationDataGraphOutputRepresentation:
|
|
16
|
+
(luvio.opaque): true
|
|
17
|
+
CdpApplicationDataGraphSourceObjectOutputRepresentation:
|
|
18
|
+
(luvio.opaque): true
|
|
19
|
+
CdpApplicationDataGraphInputRepresentation:
|
|
20
|
+
(luvio.opaque): true
|
|
21
|
+
CdpApplicationDataGraphFieldOutputRepresentation:
|
|
22
|
+
(luvio.opaque): true
|
|
23
|
+
CdpApplicationDataGraphSourceInputRepresentation:
|
|
24
|
+
(luvio.opaque): true
|
|
25
|
+
CdpDataGraphRetryOutputRepresentation:
|
|
26
|
+
(luvio.opaque): true
|
|
27
|
+
(luvio.key):
|
|
28
|
+
name: dataGraphName
|
|
29
|
+
|
|
30
|
+
/ssot:
|
|
31
|
+
/application-data-graphs:
|
|
32
|
+
post:
|
|
33
|
+
(luvio.adapter):
|
|
34
|
+
name: createAdg
|
|
35
|
+
/application-data-graphs/{adgName}:
|
|
36
|
+
get:
|
|
37
|
+
(luvio.adapter):
|
|
38
|
+
name: getAdg
|
|
39
|
+
(luvio.key):
|
|
40
|
+
name: urlParams.adgName
|
|
41
|
+
delete:
|
|
42
|
+
(luvio.adapter):
|
|
43
|
+
name: deleteAdg
|
|
44
|
+
(luvio.key):
|
|
45
|
+
name: urlParams.adgName
|
|
46
|
+
/application-data-graphs/retry:
|
|
47
|
+
put:
|
|
48
|
+
(luvio.adapter):
|
|
49
|
+
name: retryDataGraph
|