@salesforce/lds-adapters-industries-actionablelist 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.
Files changed (41) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-actionablelist.js +2988 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createActionableListDefinition.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getActionableListDatasetInfo.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getActionableListDefinitions.d.ts +29 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getActionableListMembers.d.ts +26 -0
  8. package/dist/es/es2018/types/src/generated/adapters/upsertActionableList.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
  10. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +9 -0
  11. package/dist/es/es2018/types/src/generated/resources/getConnectActionableListDefinition.d.ts +18 -0
  12. package/dist/es/es2018/types/src/generated/resources/getConnectActionableListMembersById.d.ts +15 -0
  13. package/dist/es/es2018/types/src/generated/resources/postConnectActionableList.d.ts +13 -0
  14. package/dist/es/es2018/types/src/generated/resources/postConnectActionableListDefinition.d.ts +13 -0
  15. package/dist/es/es2018/types/src/generated/resources/postConnectActionableListDefinitionRows.d.ts +16 -0
  16. package/dist/es/es2018/types/src/generated/types/ALDDatasetColumnOutputRepresentation.d.ts +51 -0
  17. package/dist/es/es2018/types/src/generated/types/ALDMemberStatusOutputRepresentation.d.ts +36 -0
  18. package/dist/es/es2018/types/src/generated/types/ActionableListDatasetByDefinitionRepresentation.d.ts +48 -0
  19. package/dist/es/es2018/types/src/generated/types/ActionableListDatasetColumnRepresentation.d.ts +44 -0
  20. package/dist/es/es2018/types/src/generated/types/ActionableListDatasetInputRepresentation.d.ts +53 -0
  21. package/dist/es/es2018/types/src/generated/types/ActionableListDatasetRowRepresentation.d.ts +33 -0
  22. package/dist/es/es2018/types/src/generated/types/ActionableListDatasetWrapperInputRepresentation.d.ts +30 -0
  23. package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionCreateInputRepresentation.d.ts +35 -0
  24. package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionCreateOutputRepresentation.d.ts +42 -0
  25. package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionGetAllOutputRepresentation.d.ts +31 -0
  26. package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionOutputRepresentation.d.ts +59 -0
  27. package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionStatusOutputRepresentation.d.ts +33 -0
  28. package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionWrapperInputRepresentation.d.ts +30 -0
  29. package/dist/es/es2018/types/src/generated/types/ActionableListFilterInputRepresentation.d.ts +38 -0
  30. package/dist/es/es2018/types/src/generated/types/ActionableListFilterInputRepresentationList.d.ts +29 -0
  31. package/dist/es/es2018/types/src/generated/types/ActionableListMemberStatusRepresentation.d.ts +35 -0
  32. package/dist/es/es2018/types/src/generated/types/ActionableListMembersOutputRepresentation.d.ts +30 -0
  33. package/dist/es/es2018/types/src/generated/types/ActionableListUpsertInputRepresentation.d.ts +59 -0
  34. package/dist/es/es2018/types/src/generated/types/ActionableListUpsertOutputRepresentation.d.ts +45 -0
  35. package/dist/es/es2018/types/src/generated/types/ActionableListWrapperInputRepresentation.d.ts +30 -0
  36. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
  37. package/package.json +67 -0
  38. package/sfdc/index.d.ts +1 -0
  39. package/sfdc/index.js +3045 -0
  40. package/src/raml/api.raml +481 -0
  41. package/src/raml/luvio.raml +54 -0
@@ -0,0 +1,481 @@
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
+ ALDDatasetColumnOutputRepresentation:
29
+ description: Output representation of dataset column for particular actionable
30
+ list definition
31
+ type: object
32
+ properties:
33
+ actionableListDefinitionId:
34
+ description: The actionable list definition that is mapped to the dataset
35
+ column
36
+ type: string
37
+ dataDomain:
38
+ description: The data domain that is mapped to the data type of the dataset
39
+ column
40
+ type: string | nil
41
+ dataType:
42
+ description: The data type used for formatting
43
+ type: string | nil
44
+ id:
45
+ description: Id of actionable list definition dataset column
46
+ type: string
47
+ isDefault:
48
+ description: Flag to denote if this particular column has been made available
49
+ or not
50
+ type: boolean
51
+ objectName:
52
+ description: The object name that is mapped to the dataset column
53
+ type: string | nil
54
+ sourceColumnApiName:
55
+ description: The column api information from tcrm side
56
+ type: string | nil
57
+ sourceFieldName:
58
+ description: Source field name of actionable list definition dataset column
59
+ type: string | nil
60
+ ALDMemberStatusOutputRepresentation:
61
+ description: Output representation of member status for particular actionable
62
+ list definition
63
+ type: object
64
+ properties:
65
+ iconName:
66
+ description: Icon name of actionable list definition member status
67
+ type: string
68
+ id:
69
+ description: Id of actionable list definition member status
70
+ type: string
71
+ status:
72
+ description: Status for particular actionable list definition member
73
+ type: string
74
+ ActionableListDefinitionCreateInputRepresentation:
75
+ description: Input representation for create actionable list definition API
76
+ type: object
77
+ properties:
78
+ developerName:
79
+ description: Set developer name for create actionable list definition
80
+ type: string
81
+ label:
82
+ description: Set label for create actionable list definition
83
+ type: string
84
+ objectName:
85
+ description: Set anchor entity for create actionable list definition
86
+ type: string
87
+ ActionableListDefinitionCreateOutputRepresentation:
88
+ description: Output representation for create actionable list definition API
89
+ type: object
90
+ properties:
91
+ actionableListDefinition:
92
+ description: Created actionable list definition
93
+ type: ActionableListDefinitionOutputRepresentation
94
+ status:
95
+ description: Status of create actionable list definition API
96
+ type: ActionableListDefinitionStatusOutputRepresentation
97
+ ActionableListDefinitionGetAllOutputRepresentation:
98
+ description: Output representation for get actionable list definition API
99
+ type: object
100
+ properties:
101
+ aldList:
102
+ description: List of all actionable list definitions
103
+ type: array
104
+ items:
105
+ type: ActionableListDefinitionOutputRepresentation
106
+ ActionableListDefinitionOutputRepresentation:
107
+ description: Output representation of single object for get actionable list definition
108
+ API
109
+ type: object
110
+ properties:
111
+ aldDatasetColumnOutputRepresentation:
112
+ description: Information about all dataset columns for this actionable list
113
+ definition
114
+ type: array
115
+ items:
116
+ type: ALDDatasetColumnOutputRepresentation
117
+ aldMemberStatusOutputRepresentation:
118
+ description: Information about all member status for this actionable list
119
+ definition
120
+ type: array
121
+ items:
122
+ type: ALDMemberStatusOutputRepresentation
123
+ batchCalcJobDefinitionId:
124
+ description: BatchCalcJobDefinitionId of DPE definition
125
+ type: string | nil
126
+ fullName:
127
+ description: Full Name of actionable list definition
128
+ type: string
129
+ id:
130
+ description: Id of actionable list definition
131
+ type: string
132
+ isActive:
133
+ description: Flag to determine whether the actionable list definition is active
134
+ or not
135
+ type: boolean
136
+ objectName:
137
+ description: Anchor object name of actionable list definition
138
+ type: string
139
+ status:
140
+ description: Status of actionable list definition on DPE side
141
+ type: string
142
+ tcrmDatasetId:
143
+ description: TCRM dataset id of dataset created on tcrm side
144
+ type: string | nil
145
+ tcrmDatasetName:
146
+ description: TCRM dataset name of dataset created on tcrm side
147
+ type: string
148
+ ActionableListDefinitionStatusOutputRepresentation:
149
+ description: Output representation to display the status of an API request
150
+ type: object
151
+ properties:
152
+ code:
153
+ description: get status code
154
+ type: integer
155
+ message:
156
+ description: get status message
157
+ type: string
158
+ ActionableListMembersOutputRepresentation:
159
+ description: Fetch existing members from Actionable List
160
+ type: object
161
+ properties:
162
+ memberIds:
163
+ description: A list of Ids of members in a actionableList
164
+ type: array
165
+ items:
166
+ type: string
167
+ ActionableListDatasetByDefinitionRepresentation:
168
+ description: Fetch rows from dataset
169
+ type: object
170
+ properties:
171
+ count:
172
+ description: Count of records in query result
173
+ type: integer | nil
174
+ currencyCode:
175
+ description: Currency code of the currency fields in dataset
176
+ type: string | nil
177
+ datasetColumns:
178
+ description: A list of dataset columns information in a actionableList
179
+ type: array
180
+ items:
181
+ type: ActionableListDatasetColumnRepresentation
182
+ datasetRows:
183
+ description: A list of dataset rows with column information in a actionableList
184
+ type: array
185
+ items:
186
+ type: ActionableListDatasetRowRepresentation
187
+ memberStatuses:
188
+ description: A list of member status in a actionableList
189
+ type: array
190
+ items:
191
+ type: ActionableListMemberStatusRepresentation
192
+ responseId:
193
+ description: Stores the response Id of the TCRM result set
194
+ type: string
195
+ ActionableListDatasetColumnRepresentation:
196
+ description: Output representation to display actionable List dataset columns
197
+ type: object
198
+ properties:
199
+ dataDomain:
200
+ description: get data domain
201
+ type: string | nil
202
+ dataType:
203
+ description: The data type used for formatting
204
+ type: string | nil
205
+ isDefault:
206
+ description: flag to denote if this particular column has been made available
207
+ or not
208
+ type: boolean | nil
209
+ objectName:
210
+ description: get Object Name
211
+ type: string | nil
212
+ sourceColumnApiName:
213
+ description: get source Column Api name
214
+ type: string | nil
215
+ sourceFieldName:
216
+ description: get soureField name
217
+ type: string | nil
218
+ ActionableListDatasetInputRepresentation:
219
+ description: Input representation to fetch dataset rows and columns of Actionable
220
+ List
221
+ type: object
222
+ properties:
223
+ actionableListDefinitionId:
224
+ description: Id of the actionable list definition record
225
+ type: string | nil
226
+ required: false # TODO handrolled W-9314597
227
+ filterLogic:
228
+ description: Filter Logic that is used to create the dataset query
229
+ required: false # TODO handrolled W-9314597
230
+ type: string
231
+ filters:
232
+ description: filter by clause list
233
+ required: false # TODO handrolled W-9314597
234
+ type: object
235
+ offset:
236
+ description: Offset of dataset rows
237
+ type: integer | nil
238
+ required: false # TODO handrolled W-9314597
239
+ orderBy:
240
+ description: order by clause in query while fetching dataset rows
241
+ type: string | nil
242
+ required: false # TODO handrolled W-9314597
243
+ queryType:
244
+ description: Query type decides if this is a count query or records query
245
+ etc
246
+ type: string | nil
247
+ required: false # TODO handrolled W-9314597
248
+ rowLimit:
249
+ description: Limit of dataset rows
250
+ type: integer | nil
251
+ required: false # TODO handrolled W-9314597
252
+ shouldReturnCurrencyCode:
253
+ description: Should the API return Currency Code used for formatting
254
+ type: boolean
255
+ required: false # TODO handrolled W-9314597
256
+ sortOrder:
257
+ description: ASC or DESC order while fetching dataset rows
258
+ type: string | nil
259
+ required: false # TODO handrolled W-9314597
260
+ ActionableListDatasetRowRepresentation:
261
+ description: Output representation to display actionable List dataset rows
262
+ type: object
263
+ properties:
264
+ rowMap:
265
+ description: get row Map to fetch Id
266
+ type: object
267
+ properties:
268
+ //:
269
+ type: string
270
+ ActionableListFilterInputRepresentation:
271
+ description: Input representation for actionable list Filters.
272
+ type: object
273
+ properties:
274
+ columnName:
275
+ description: Name of Column to be filtered
276
+ type: string | nil
277
+ required: false # TODO handrolled W-9314597
278
+ dataDomain:
279
+ description: data domain of filter column
280
+ type: string | nil
281
+ required: false # TODO handrolled W-9314597
282
+ operator:
283
+ description: operator for filter
284
+ type: string | nil
285
+ required: false # TODO handrolled W-9314597
286
+ value:
287
+ description: value for filter
288
+ type: string | nil
289
+ required: false # TODO handrolled W-9314597
290
+ ActionableListFilterInputRepresentationList:
291
+ description: Input representation for a list of filters
292
+ type: object
293
+ properties:
294
+ actionableListFilterList:
295
+ description: filter clauses list
296
+ required: false # TODO handrolled W-9314597
297
+ type: array
298
+ items:
299
+ type: object
300
+ ActionableListMemberStatusRepresentation:
301
+ description: Output representation to display actionable List member status
302
+ type: object
303
+ properties:
304
+ iconName:
305
+ description: get icon name
306
+ type: string | nil
307
+ id:
308
+ description: get id
309
+ type: string | nil
310
+ status:
311
+ description: get status
312
+ type: string | nil
313
+ ActionableListUpsertInputRepresentation:
314
+ description: Input representation for upsert Actionable List with it's members
315
+ and columns
316
+ type: object
317
+ properties:
318
+ actionableListColumns:
319
+ description: Upsert actionable list columns of actionable list
320
+ required: false # TODO handrolled W-9314597
321
+ type: array
322
+ items:
323
+ type: string
324
+ actionableListDefinitionId:
325
+ description: Upsert actionable list definition id of actionable list
326
+ type: string | nil
327
+ required: false # TODO handrolled W-9314597
328
+ actionableListMemberIds:
329
+ description: Upsert actionable list members of actionable list
330
+ required: false # TODO handrolled W-9314597
331
+ type: array
332
+ items:
333
+ type: string
334
+ defaultMemberStatusId:
335
+ description: Upsert default member status Id of actionable list
336
+ type: string | nil
337
+ required: false # TODO handrolled W-9314597
338
+ description:
339
+ description: Upsert description of actionable list
340
+ type: string | nil
341
+ required: false # TODO handrolled W-9314597
342
+ filterLogic:
343
+ description: Filter Logic used in dataset query in Async members addition to Actionable List
344
+ type: string
345
+ required: false # TODO handrolled W-9314597
346
+ filters:
347
+ description: Filters used in Async members addition to Actionable List
348
+ required: false # TODO handrolled W-9314597
349
+ type: object
350
+ id:
351
+ description: Id to upsert the actionable list record
352
+ type: string | nil
353
+ required: false # TODO handrolled W-9314597
354
+ isAsync:
355
+ description: Should the upsert be async or sync
356
+ type: boolean
357
+ required: false # TODO handrolled W-9314597
358
+ name:
359
+ description: Upsert name of actionable list
360
+ type: string | nil
361
+ required: false # TODO handrolled W-9314597
362
+ objectName:
363
+ description: Upsert object name of actionable list
364
+ type: string | nil
365
+ required: false # TODO handrolled W-9314597
366
+ ActionableListUpsertOutputRepresentation:
367
+ description: Upsert Actionable List and it's members and columns
368
+ type: object
369
+ properties:
370
+ errorMessage:
371
+ description: Error message while upserting actionable list
372
+ type: string | nil
373
+ id:
374
+ description: Id of actionable list
375
+ type: string | nil
376
+ isSuccess:
377
+ description: Flag to detonate that actionable list successfully upserted
378
+ type: string | nil
379
+ # TODO Hand-rolled W-11954472: ActionableListDefinitionWrapperInputRepresentation added manually
380
+ ActionableListDefinitionWrapperInputRepresentation:
381
+ description: wrapper of ActionableListDefinitionCreateInputRepresentation
382
+ type: object
383
+ properties:
384
+ actionableListDefinitionCreateInput:
385
+ description: Input representation for ActionableListDefinitionCreateInputRepresentation
386
+ type: ActionableListDefinitionCreateInputRepresentation
387
+ # TODO Hand-rolled W-11954472: ActionableListWrapperInputRepresentation added manually
388
+ ActionableListWrapperInputRepresentation:
389
+ description: wrapper of ActionableListUpsertInputRepresentation
390
+ type: object
391
+ properties:
392
+ actionableListUpsertInput:
393
+ description: Input representation for ActionableListUpsertInputRepresentation
394
+ type: ActionableListUpsertInputRepresentation
395
+ # TODO Hand-rolled W-11954472: ActionableListDatasetWrapperInputRepresentation added manually
396
+ ActionableListDatasetWrapperInputRepresentation:
397
+ description: wrapper of ActionableListDatasetInputRepresentation
398
+ type: object
399
+ properties:
400
+ actionableListDataset:
401
+ description: Input representation for ActionableListDatasetInputRepresentation
402
+ type: ActionableListDatasetInputRepresentation
403
+ /connect:
404
+ /actionable-list-definition:
405
+ get:
406
+ description: Fetch all available actionable list definitions if id is not present
407
+ in query param
408
+ responses:
409
+ '200':
410
+ description: Success
411
+ body:
412
+ application/json:
413
+ type: ActionableListDefinitionGetAllOutputRepresentation
414
+ queryParameters:
415
+ id:
416
+ type: string
417
+ required: false
418
+ isActive:
419
+ type: boolean
420
+ required: false
421
+ limit:
422
+ type: integer
423
+ required: false
424
+ offset:
425
+ type: integer
426
+ required: false
427
+ post:
428
+ description: API to create actionable list definition
429
+ responses:
430
+ '200':
431
+ description: Success
432
+ body:
433
+ application/json:
434
+ type: ActionableListDefinitionCreateOutputRepresentation
435
+ body:
436
+ application/json:
437
+ type: ActionableListDefinitionWrapperInputRepresentation
438
+ # TODO [W-11954472]: Hand Rolled Change that removed 'required: false' since the 'required' property is not allowed in RAML 1.0
439
+ (oas-body-name): actionableListDefinitionCreateInput
440
+ /actionable-list/{id}/members:
441
+ get:
442
+ description: Get an ActionableList’s Members
443
+ responses:
444
+ '200':
445
+ description: Success
446
+ body:
447
+ application/json:
448
+ type: ActionableListMembersOutputRepresentation
449
+ uriParameters:
450
+ id:
451
+ type: string
452
+ required: true
453
+ /actionable-list:
454
+ post:
455
+ description: API to upsert actionable list and it's members and columns
456
+ responses:
457
+ '200':
458
+ description: Success
459
+ body:
460
+ application/json:
461
+ type: ActionableListUpsertOutputRepresentation
462
+ body:
463
+ application/json:
464
+ type: ActionableListWrapperInputRepresentation
465
+ # TODO [W-11954472]: Hand Rolled Change that removed 'required: false' since the 'required' property is not allowed in RAML 1.0
466
+ (oas-body-name): actionableListUpsertInput
467
+ /actionable-list-definition/rows:
468
+ post:
469
+ description: API to list actionable Dataset rows and columns of the actionable
470
+ list Definition
471
+ responses:
472
+ '200':
473
+ description: Success
474
+ body:
475
+ application/json:
476
+ type: ActionableListDatasetByDefinitionRepresentation
477
+ body:
478
+ application/json:
479
+ type: ActionableListDatasetWrapperInputRepresentation
480
+ # TODO [W-11954472]: Hand Rolled Change that removed 'required: false' since the 'required' property is not allowed in RAML 1.0
481
+ (oas-body-name): actionableListDataset
@@ -0,0 +1,54 @@
1
+ #%RAML 1.0 Overlay
2
+ extends: ./api.raml
3
+
4
+ uses:
5
+ luvio: luvio://annotations.raml
6
+
7
+ (luvio.keyPrefix): 'actionablelist'
8
+ (luvio.ttl): 360000
9
+
10
+ types:
11
+ ALDDatasetColumnOutputRepresentation:
12
+ (luvio.ttl): 100
13
+ ALDMemberStatusOutputRepresentation:
14
+ (luvio.ttl): 100
15
+ ActionableListDefinitionCreateOutputRepresentation:
16
+ (luvio.ttl): 100
17
+ (luvio.key):
18
+ id: actionableListDefinition.id
19
+ ActionableListDefinitionGetAllOutputRepresentation:
20
+ (luvio.ttl): 100
21
+ ActionableListDefinitionOutputRepresentation:
22
+ (luvio.ttl): 100
23
+ ActionableListDefinitionStatusOutputRepresentation:
24
+ (luvio.ttl): 100
25
+ ActionableListMembersOutputRepresentation:
26
+ (luvio.ttl): 100
27
+ ActionableListDatasetByDefinitionRepresentation:
28
+ (luvio.ttl): 100
29
+ ActionableListUpsertOutputRepresentation:
30
+ (luvio.ttl): 100
31
+ (luvio.key):
32
+ id: id
33
+
34
+ /connect:
35
+ /actionable-list-definition:
36
+ get:
37
+ (luvio.adapter):
38
+ name: getActionableListDefinitions
39
+ post:
40
+ (luvio.adapter):
41
+ name: createActionableListDefinition
42
+ /actionable-list/{id}/members:
43
+ get:
44
+ (luvio.adapter):
45
+ name: getActionableListMembers
46
+ /actionable-list:
47
+ post:
48
+ (luvio.adapter):
49
+ name: upsertActionableList
50
+ /actionable-list-definition/rows:
51
+ post:
52
+ (luvio.adapter):
53
+ name: getActionableListDatasetInfo
54
+ (luvio.method): get