@salesforce/lds-adapters-marketing-cdp 1.140.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.
Files changed (29) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/marketing-cdp.js +843 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +60 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createAdg.d.ts +20 -0
  5. package/dist/es/es2018/types/src/generated/adapters/deleteAdg.d.ts +13 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getAdg.d.ts +28 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -0
  9. package/dist/es/es2018/types/src/generated/resources/deleteSsotApplicationDataGraphsByAdgName.d.ts +12 -0
  10. package/dist/es/es2018/types/src/generated/resources/getSsotApplicationDataGraphsByAdgName.d.ts +16 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotApplicationDataGraphs.d.ts +18 -0
  12. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphDataRecencyInputRepresentation.d.ts +37 -0
  13. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphFieldInputRepresentation.d.ts +31 -0
  14. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphFieldOutputRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphInputRepresentation.d.ts +46 -0
  16. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphOutputRepresentation.d.ts +55 -0
  17. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphPathToParentInputRepresentation.d.ts +31 -0
  18. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphPathToParentOutputRepresentation.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphRecencyCriteriaOutputRepresentation.d.ts +37 -0
  20. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphSourceInputRepresentation.d.ts +41 -0
  21. package/dist/es/es2018/types/src/generated/types/CdpApplicationDataGraphSourceObjectOutputRepresentation.d.ts +42 -0
  22. package/dist/es/es2018/types/src/generated/types/CdpObjectBaseInputRepresentation.d.ts +40 -0
  23. package/dist/es/es2018/types/src/generated/types/CdpObjectBaseOutputRepresentation.d.ts +64 -0
  24. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  25. package/package.json +68 -0
  26. package/sfdc/index.d.ts +1 -0
  27. package/sfdc/index.js +919 -0
  28. package/src/raml/api.raml +320 -0
  29. package/src/raml/luvio.raml +41 -0
@@ -0,0 +1,320 @@
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: object
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: object
266
+ path:
267
+ description: path
268
+ type: array
269
+ items:
270
+ type: object
271
+ recencyCriteria:
272
+ description: recencyCriteria
273
+ type: object
274
+ relatedObjects:
275
+ description: relatedObjects
276
+ type: array
277
+ items:
278
+ type: object
279
+ type:
280
+ description: type
281
+ type: string
282
+ enum:
283
+ - Cio
284
+ - Dmo
285
+
286
+ /ssot:
287
+ /application-data-graphs:
288
+ post:
289
+ displayName: postCdpApplicationDataGraph
290
+ description: Creates ADG
291
+ responses:
292
+ '200':
293
+ description: Success
294
+ body:
295
+ application/json:
296
+ type: CdpApplicationDataGraphOutputRepresentation
297
+ body:
298
+ application/json:
299
+ type: CdpApplicationDataGraphInputRepresentation
300
+ (oas-body-name): input
301
+ /application-data-graphs/{adgName}:
302
+ get:
303
+ displayName: getCdpApplicationDataGraph
304
+ description: Query ADG
305
+ responses:
306
+ '200':
307
+ description: Success
308
+ body:
309
+ application/json:
310
+ type: CdpApplicationDataGraphOutputRepresentation
311
+ delete:
312
+ displayName: deleteCdpApplicationDataGraph
313
+ description: Delete ADG
314
+ responses:
315
+ '200':
316
+ description: Success
317
+ uriParameters:
318
+ adgName:
319
+ type: string
320
+ required: true
@@ -0,0 +1,41 @@
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
+
26
+ /ssot:
27
+ /application-data-graphs:
28
+ post:
29
+ (luvio.adapter):
30
+ name: createAdg
31
+ /application-data-graphs/{adgName}:
32
+ get:
33
+ (luvio.adapter):
34
+ name: getAdg
35
+ (luvio.key):
36
+ name: urlParams.adgName
37
+ delete:
38
+ (luvio.adapter):
39
+ name: deleteAdg
40
+ (luvio.key):
41
+ name: urlParams.adgName