@salesforce/lds-adapters-industries-recordaggregation 1.283.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/industries-recordaggregation.js +1385 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getRecordAggregationApplicableObjects.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/postGenerateRecordRollupResult.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/postRecordAggregationCreation.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/putRecordAggregationDefinition.d.ts +19 -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 +6 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectRecordAggregationUtilitiesApplicableObjects.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRecordAggregation.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectRecordAggregationRecordRollupResultsByRecordAggregationDefinitionId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectRecordAggregationByRecordAggregationDefinitionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationApplicableObjectOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationApplicableObjectsOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationAssociatedObjectInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationCreationInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationCreationOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationDefinitionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationFilterInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationFilterRowInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationJoinInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationNodeInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationUpdationInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RecordAggregationUpdationOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultColumnOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultOutputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/RecordRollupResultRowOutputRepresentation.d.ts +33 -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 +1436 -0
- package/src/raml/api.raml +344 -0
- package/src/raml/luvio.raml +48 -0
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '61.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v61.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
|
+
RecordAggregationApplicableObjectOutputRepresentation:
|
|
29
|
+
description: Output representation for applicable object in record rollups.
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
apiName:
|
|
33
|
+
description: API name of the object.
|
|
34
|
+
type: string
|
|
35
|
+
label:
|
|
36
|
+
description: Label of the object.
|
|
37
|
+
type: string
|
|
38
|
+
RecordAggregationApplicableObjectsOutputRepresentation:
|
|
39
|
+
description: Output representation for applicable objects in record rollups.
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
message:
|
|
43
|
+
description: Message associated with the response status code.
|
|
44
|
+
type: string
|
|
45
|
+
objects:
|
|
46
|
+
description: List of objects that can be used in a rollup definition, including
|
|
47
|
+
the apiName and label attributes.
|
|
48
|
+
type: array
|
|
49
|
+
items:
|
|
50
|
+
type: RecordAggregationApplicableObjectOutputRepresentation
|
|
51
|
+
statusCode:
|
|
52
|
+
description: The HTTP Status Code for this response.
|
|
53
|
+
type: string
|
|
54
|
+
RecordAggregationAssociatedObjectInputRepresentation:
|
|
55
|
+
description: Input representation of associated object of a node in record aggregation
|
|
56
|
+
definition
|
|
57
|
+
type: object
|
|
58
|
+
properties:
|
|
59
|
+
apiName:
|
|
60
|
+
description: TODO
|
|
61
|
+
type: string
|
|
62
|
+
RecordAggregationCreationInputRepresentation:
|
|
63
|
+
description: Input representation of record aggregation definition creation api
|
|
64
|
+
type: object
|
|
65
|
+
properties:
|
|
66
|
+
aggregationObjects:
|
|
67
|
+
description: List of objects included in the record aggregation definition.
|
|
68
|
+
Each item in this collection represents object details, join field details,
|
|
69
|
+
and filter conditions.
|
|
70
|
+
type: array
|
|
71
|
+
items:
|
|
72
|
+
type: RecordAggregationNodeInputRepresentation
|
|
73
|
+
definitionDescription:
|
|
74
|
+
description: The description of the record aggregation definition.
|
|
75
|
+
type: string
|
|
76
|
+
required: false
|
|
77
|
+
definitionDisplayName:
|
|
78
|
+
description: The display name of the record aggregation definition.
|
|
79
|
+
type: string
|
|
80
|
+
RecordAggregationCreationOutputRepresentation:
|
|
81
|
+
description: Represents the output for creating Record Aggregation Definition
|
|
82
|
+
type: object
|
|
83
|
+
properties:
|
|
84
|
+
message:
|
|
85
|
+
description: The message accompanying the HTTP response code.
|
|
86
|
+
type: string
|
|
87
|
+
recordAggregationDefinitionId:
|
|
88
|
+
description: Record aggregation definition ID.
|
|
89
|
+
type: string
|
|
90
|
+
statusCode:
|
|
91
|
+
description: HTTP response code.
|
|
92
|
+
type: string
|
|
93
|
+
RecordAggregationDefinitionInputRepresentation:
|
|
94
|
+
description: Input representation for Generate DPE Input Class
|
|
95
|
+
type: object
|
|
96
|
+
properties:
|
|
97
|
+
definitionId:
|
|
98
|
+
description: Record Aggregation Definition record id if nothing provided default
|
|
99
|
+
to ALL
|
|
100
|
+
type: string
|
|
101
|
+
RecordAggregationFilterInputRepresentation:
|
|
102
|
+
description: Input representation of filters of a node in record aggregation definition
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
filterConditions:
|
|
106
|
+
description: List of filter conditions containing details such as fields,
|
|
107
|
+
operators, and filtering values.
|
|
108
|
+
type: array
|
|
109
|
+
required: false
|
|
110
|
+
items:
|
|
111
|
+
type: RecordAggregationFilterRowInputRepresentation
|
|
112
|
+
filterCriteria:
|
|
113
|
+
description: A logical expression containing filter conditions, which is used
|
|
114
|
+
to filter records of the specified object.
|
|
115
|
+
type: string
|
|
116
|
+
required: false
|
|
117
|
+
RecordAggregationFilterRowInputRepresentation:
|
|
118
|
+
description: Input representation of filter row in filters of record aggregation
|
|
119
|
+
definition
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
fieldDeveloperName:
|
|
123
|
+
description: TODO
|
|
124
|
+
type: string
|
|
125
|
+
operator:
|
|
126
|
+
description: TODO
|
|
127
|
+
type: string
|
|
128
|
+
sequence:
|
|
129
|
+
description: TODO
|
|
130
|
+
type: integer
|
|
131
|
+
value:
|
|
132
|
+
description: TODO
|
|
133
|
+
type: string
|
|
134
|
+
RecordAggregationJoinInputRepresentation:
|
|
135
|
+
description: Input representation of join of a node in record aggregation definition
|
|
136
|
+
type: object
|
|
137
|
+
properties:
|
|
138
|
+
fieldDeveloperName:
|
|
139
|
+
description: The developer name of the field.
|
|
140
|
+
type: string
|
|
141
|
+
RecordAggregationNodeInputRepresentation:
|
|
142
|
+
description: Input representation of a node in record aggregation definition
|
|
143
|
+
type: object
|
|
144
|
+
properties:
|
|
145
|
+
filterDetails:
|
|
146
|
+
description: List of filter conditions and the filter criteria that are used
|
|
147
|
+
to filter records of the specified object.
|
|
148
|
+
type: RecordAggregationFilterInputRepresentation
|
|
149
|
+
required: false
|
|
150
|
+
nextObjectJoinDetails:
|
|
151
|
+
description: Name and API name of the join field in the current object that
|
|
152
|
+
is used to join with the next object.
|
|
153
|
+
type: RecordAggregationJoinInputRepresentation
|
|
154
|
+
required: false
|
|
155
|
+
objectDetails:
|
|
156
|
+
description: Name and API name of the object used in the record aggregation
|
|
157
|
+
definition.
|
|
158
|
+
type: RecordAggregationAssociatedObjectInputRepresentation
|
|
159
|
+
previousObjectJoinDetails:
|
|
160
|
+
description: Name and API name of the field in the current object that is
|
|
161
|
+
used to join with the preceding object.
|
|
162
|
+
type: RecordAggregationJoinInputRepresentation
|
|
163
|
+
required: false
|
|
164
|
+
sequence:
|
|
165
|
+
description: The position of the current object in the record aggregation
|
|
166
|
+
definition.
|
|
167
|
+
type: integer
|
|
168
|
+
RecordAggregationUpdationInputRepresentation:
|
|
169
|
+
description: Input representation of record aggregation definition updation api
|
|
170
|
+
type: object
|
|
171
|
+
properties:
|
|
172
|
+
aggregationObjects:
|
|
173
|
+
description: List of objects included in the record aggregation definition.
|
|
174
|
+
Each item in this collection represents object details, join field details,
|
|
175
|
+
and filters.
|
|
176
|
+
type: array
|
|
177
|
+
items:
|
|
178
|
+
type: RecordAggregationNodeInputRepresentation
|
|
179
|
+
definitionDescription:
|
|
180
|
+
description: The description of the record aggregation definition.
|
|
181
|
+
type: string
|
|
182
|
+
required: false
|
|
183
|
+
definitionDisplayName:
|
|
184
|
+
description: The display name of the record aggregation definition.
|
|
185
|
+
type: string
|
|
186
|
+
RecordAggregationUpdationOutputRepresentation:
|
|
187
|
+
description: Represents the output for updating Record Aggregation Definition
|
|
188
|
+
type: object
|
|
189
|
+
properties:
|
|
190
|
+
message:
|
|
191
|
+
description: TODO
|
|
192
|
+
type: string
|
|
193
|
+
statusCode:
|
|
194
|
+
description: TODO
|
|
195
|
+
type: string
|
|
196
|
+
RecordRollupResultColumnOutputRepresentation:
|
|
197
|
+
description: Represents the output for fetching Record Rollup Results
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
displayFormatType:
|
|
201
|
+
description: The data type of the field representing this column. This data
|
|
202
|
+
type corresponds to the type which the lightning data table understands.
|
|
203
|
+
type: string
|
|
204
|
+
displayFormatTypeAttributes:
|
|
205
|
+
description: A map of extra attributes related to the data type that can be
|
|
206
|
+
used in the lightning data table for additional formatting
|
|
207
|
+
type: object
|
|
208
|
+
properties:
|
|
209
|
+
//:
|
|
210
|
+
type: any
|
|
211
|
+
fieldApiName:
|
|
212
|
+
description: Api Name of the field representing the column.
|
|
213
|
+
type: string
|
|
214
|
+
fieldDataType:
|
|
215
|
+
description: The data type of the field representing this column.
|
|
216
|
+
type: string
|
|
217
|
+
fieldLabel:
|
|
218
|
+
description: Label of the field representing the column.
|
|
219
|
+
type: string
|
|
220
|
+
sequence:
|
|
221
|
+
description: The sequence in which the column should appear in the data table.
|
|
222
|
+
type: integer
|
|
223
|
+
RecordRollupResultInputRepresentation:
|
|
224
|
+
description: Input representation for fetching record aggregation result
|
|
225
|
+
type: object
|
|
226
|
+
properties:
|
|
227
|
+
isSortOrderAscending:
|
|
228
|
+
description: Indicates whether the sort order is set as ascending (true) or
|
|
229
|
+
not (false).The default value is set as descending when sortBy is not assigned
|
|
230
|
+
any value.
|
|
231
|
+
type: boolean
|
|
232
|
+
required: false
|
|
233
|
+
sortBy:
|
|
234
|
+
description: Criteria to sort the record rollup results. The default value
|
|
235
|
+
is CreatedDate.
|
|
236
|
+
type: string
|
|
237
|
+
required: false
|
|
238
|
+
RecordRollupResultOutputRepresentation:
|
|
239
|
+
description: Represents the output for fetching Record Rollup Results
|
|
240
|
+
type: object
|
|
241
|
+
properties:
|
|
242
|
+
columns:
|
|
243
|
+
description: List of fields that are represented as columns of a table.
|
|
244
|
+
type: array
|
|
245
|
+
items:
|
|
246
|
+
type: RecordRollupResultColumnOutputRepresentation
|
|
247
|
+
definitionDisplayName:
|
|
248
|
+
description: The display name of the record aggregation definition.
|
|
249
|
+
type: string
|
|
250
|
+
message:
|
|
251
|
+
description: The message accompanying the HTTP response code.
|
|
252
|
+
type: string
|
|
253
|
+
rows:
|
|
254
|
+
description: List of rolled up records that are represented as rows of a table.
|
|
255
|
+
type: array
|
|
256
|
+
items:
|
|
257
|
+
type: RecordRollupResultRowOutputRepresentation
|
|
258
|
+
statusCode:
|
|
259
|
+
description: The HTTP response code.
|
|
260
|
+
type: string
|
|
261
|
+
totalResultCount:
|
|
262
|
+
description: The total number of record rollup results.
|
|
263
|
+
type: integer
|
|
264
|
+
RecordRollupResultRowOutputRepresentation:
|
|
265
|
+
description: Represents the output for fetching Record Rollup Results
|
|
266
|
+
type: object
|
|
267
|
+
properties:
|
|
268
|
+
rowData:
|
|
269
|
+
description: A map of key value, where key is the column api name, and value
|
|
270
|
+
is the object’s raw value.
|
|
271
|
+
type: object
|
|
272
|
+
properties:
|
|
273
|
+
//:
|
|
274
|
+
type: any
|
|
275
|
+
|
|
276
|
+
/connect:
|
|
277
|
+
/record-aggregation:
|
|
278
|
+
post:
|
|
279
|
+
displayName: postRecordAggregationCreation
|
|
280
|
+
description: API to create a Record Rollup Definition
|
|
281
|
+
responses:
|
|
282
|
+
'200':
|
|
283
|
+
description: Success
|
|
284
|
+
body:
|
|
285
|
+
application/json:
|
|
286
|
+
type: RecordAggregationCreationOutputRepresentation
|
|
287
|
+
body:
|
|
288
|
+
application/json:
|
|
289
|
+
type: RecordAggregationCreationInputRepresentation
|
|
290
|
+
(oas-body-name): recordAggregationPostInput
|
|
291
|
+
/utilities/applicable-objects:
|
|
292
|
+
get:
|
|
293
|
+
displayName: getRecordAggregationApplicableObjects
|
|
294
|
+
description: Get a List of Applicable Objects for Record Rollups
|
|
295
|
+
responses:
|
|
296
|
+
'200':
|
|
297
|
+
description: Success
|
|
298
|
+
body:
|
|
299
|
+
application/json:
|
|
300
|
+
type: RecordAggregationApplicableObjectsOutputRepresentation
|
|
301
|
+
/{recordAggregationDefinitionId}:
|
|
302
|
+
put:
|
|
303
|
+
displayName: putRecordAggregationDefinition
|
|
304
|
+
description: API to update data in Record Aggregation framework entities
|
|
305
|
+
responses:
|
|
306
|
+
'200':
|
|
307
|
+
description: Success
|
|
308
|
+
body:
|
|
309
|
+
application/json:
|
|
310
|
+
type: RecordAggregationUpdationOutputRepresentation
|
|
311
|
+
body:
|
|
312
|
+
application/json:
|
|
313
|
+
type: RecordAggregationUpdationInputRepresentation
|
|
314
|
+
(oas-body-name): recordAggregationPutInput
|
|
315
|
+
uriParameters:
|
|
316
|
+
recordAggregationDefinitionId:
|
|
317
|
+
description: ID of the Record Aggregation Definition
|
|
318
|
+
type: string
|
|
319
|
+
required: true
|
|
320
|
+
/{recordAggregationDefinitionId}/record-rollup-results:
|
|
321
|
+
post:
|
|
322
|
+
displayName: postGenerateRecordRollupResult
|
|
323
|
+
description: Get Record Aggregation Results API
|
|
324
|
+
responses:
|
|
325
|
+
'200':
|
|
326
|
+
description: Success
|
|
327
|
+
body:
|
|
328
|
+
application/json:
|
|
329
|
+
type: RecordRollupResultOutputRepresentation
|
|
330
|
+
queryParameters:
|
|
331
|
+
anchorRecordId:
|
|
332
|
+
description: ID of the record to which the grouped records are rolled
|
|
333
|
+
up to.
|
|
334
|
+
type: string
|
|
335
|
+
required: false
|
|
336
|
+
body:
|
|
337
|
+
application/json:
|
|
338
|
+
type: RecordRollupResultInputRepresentation
|
|
339
|
+
(oas-body-name): recordAggregationResultInput
|
|
340
|
+
uriParameters:
|
|
341
|
+
recordAggregationDefinitionId:
|
|
342
|
+
description: ID of the record aggregation definition.
|
|
343
|
+
type: string
|
|
344
|
+
required: true
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'RecordAggregation'
|
|
8
|
+
(luvio.ttl): 360000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
RecordAggregationApplicableObjectOutputRepresentation:
|
|
12
|
+
(luvio.ttl): 1000
|
|
13
|
+
RecordAggregationApplicableObjectsOutputRepresentation:
|
|
14
|
+
(luvio.ttl): 1000
|
|
15
|
+
RecordAggregationCreationOutputRepresentation:
|
|
16
|
+
(luvio.ttl): 0
|
|
17
|
+
(luvio.key):
|
|
18
|
+
id: recordAggregationDefinitionId
|
|
19
|
+
RecordAggregationUpdationOutputRepresentation:
|
|
20
|
+
(luvio.ttl): 0
|
|
21
|
+
(luvio.key):
|
|
22
|
+
id: statusCode
|
|
23
|
+
RecordRollupResultColumnOutputRepresentation:
|
|
24
|
+
(luvio.ttl): 1000
|
|
25
|
+
RecordRollupResultOutputRepresentation:
|
|
26
|
+
(luvio.ttl): 1000
|
|
27
|
+
(luvio.key):
|
|
28
|
+
id: definitionDisplayName
|
|
29
|
+
RecordRollupResultRowOutputRepresentation:
|
|
30
|
+
(luvio.ttl): 1000
|
|
31
|
+
|
|
32
|
+
/connect:
|
|
33
|
+
/record-aggregation:
|
|
34
|
+
post:
|
|
35
|
+
(luvio.adapter):
|
|
36
|
+
name: postRecordAggregationCreation
|
|
37
|
+
/record-aggregation/utilities/applicable-objects:
|
|
38
|
+
get:
|
|
39
|
+
(luvio.adapter):
|
|
40
|
+
name: getRecordAggregationApplicableObjects
|
|
41
|
+
/record-aggregation/{recordAggregationDefinitionId}:
|
|
42
|
+
put:
|
|
43
|
+
(luvio.adapter):
|
|
44
|
+
name: putRecordAggregationDefinition
|
|
45
|
+
/record-aggregation/{recordAggregationDefinitionId}/record-rollup-results:
|
|
46
|
+
post:
|
|
47
|
+
(luvio.adapter):
|
|
48
|
+
name: postGenerateRecordRollupResult
|