@salesforce/lds-adapters-industries-actionplan 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/industries-actionplan.js +1933 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionPlanItems.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionPlanStatusInfo.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionPlanTemplateItemsLabel.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionPlans.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/updateActionPlanTasks.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateActionPlanTemplateTasks.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +11 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectActionPlan.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectActionPlanActionPlanItemsByActionPlanId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectActionPlanStatusInfoByActionPlanId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectActionPlanTemplateVersionByActionPlanTemplateVersionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectActionPlanTemplateUpdateByActionPlanTemplateVersionId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectActionPlanUpdateByActionPlanId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanItemCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanItemDetailedRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanItemListRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanItemRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanItemTaskRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanItemsWrapperRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanListRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanStatusInfoOutputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTaskFieldValueUpdateInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTaskUpdateInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateDCIItemsLabelOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemUpdateInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemValueUpdateInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemValuesLabelOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemsLabelOutputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateTaskItemsLabelOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateUpdateErrorOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateUpdateInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateUpdateOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanUpdateErrorOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanUpdateInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlanUpdateOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ActionPlansWrapperOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ComputedFieldsWrapperRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FieldRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/TaskProgressRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +75 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2013 -0
- package/src/raml/api.raml +541 -0
- package/src/raml/luvio.raml +63 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '56.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
|
+
ActionPlanItemCollectionRepresentation:
|
|
29
|
+
description: Record Representation of Collection of ActionPlanItems
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
records:
|
|
33
|
+
description: Specifies the collection of records of ActionPlanItem
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: ActionPlanItemDetailedRepresentation
|
|
37
|
+
ActionPlanItemDetailedRepresentation:
|
|
38
|
+
description: Record Representation of ActionPlanItem
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
actionPlanItemTask:
|
|
42
|
+
description: Returns the data of the item associated with the ActionPlanItem
|
|
43
|
+
type: ActionPlanItemTaskRepresentation
|
|
44
|
+
required: false
|
|
45
|
+
id:
|
|
46
|
+
description: ID of this record.
|
|
47
|
+
type: string
|
|
48
|
+
isRequired:
|
|
49
|
+
description: Returns if the ActionPlanItem is mandatory or not
|
|
50
|
+
type: boolean
|
|
51
|
+
ActionPlanItemListRepresentation:
|
|
52
|
+
description: Representation for list of mandatory Action Plan Items that are pending
|
|
53
|
+
type: object
|
|
54
|
+
properties:
|
|
55
|
+
records:
|
|
56
|
+
description: List of mandatory action plan items that are pending
|
|
57
|
+
type: array
|
|
58
|
+
items:
|
|
59
|
+
type: ActionPlanItemRepresentation
|
|
60
|
+
ActionPlanItemRepresentation:
|
|
61
|
+
description: Representation of Action Plan Item
|
|
62
|
+
type: object
|
|
63
|
+
properties:
|
|
64
|
+
id:
|
|
65
|
+
description: ID of the Action Plan Item
|
|
66
|
+
type: string
|
|
67
|
+
ActionPlanItemTaskRepresentation:
|
|
68
|
+
description: Record Representation of ActionPlanItemTask
|
|
69
|
+
type: object
|
|
70
|
+
properties:
|
|
71
|
+
computedFields:
|
|
72
|
+
description: Fields computed by service layer
|
|
73
|
+
type: ComputedFieldsWrapperRepresentation
|
|
74
|
+
required: false
|
|
75
|
+
fields:
|
|
76
|
+
description: The fields for the task
|
|
77
|
+
type: array
|
|
78
|
+
required: false
|
|
79
|
+
items:
|
|
80
|
+
type: FieldRepresentation
|
|
81
|
+
id:
|
|
82
|
+
description: ID of this record.
|
|
83
|
+
type: string
|
|
84
|
+
progress:
|
|
85
|
+
description: The progress of task
|
|
86
|
+
type: TaskProgressRepresentation
|
|
87
|
+
required: false
|
|
88
|
+
ActionPlanItemsWrapperRepresentation:
|
|
89
|
+
description: Record Representation of ActionPlanItemsWrapper
|
|
90
|
+
type: object
|
|
91
|
+
properties:
|
|
92
|
+
actionPlanItems:
|
|
93
|
+
description: Specifies the wrapper of records of ActionPlanItems
|
|
94
|
+
type: ActionPlanItemCollectionRepresentation
|
|
95
|
+
ActionPlanStatusInfoOutputRepresentation:
|
|
96
|
+
description: Representation for Action Plan Status which tells whether all mandatory
|
|
97
|
+
tasks are completed
|
|
98
|
+
type: object
|
|
99
|
+
properties:
|
|
100
|
+
mandatoryItemsCompleted:
|
|
101
|
+
description: Whether all mandatory Items are completed
|
|
102
|
+
type: boolean
|
|
103
|
+
mandatoryItemsPending:
|
|
104
|
+
description: List of Mandatory Action Plan Items that are pending
|
|
105
|
+
type: ActionPlanItemListRepresentation
|
|
106
|
+
required: false
|
|
107
|
+
optionalItemsCompleted:
|
|
108
|
+
description: Whether all optional items are completed
|
|
109
|
+
type: boolean
|
|
110
|
+
statusCode:
|
|
111
|
+
description: Current status code of Action Plan
|
|
112
|
+
type: string
|
|
113
|
+
required: false
|
|
114
|
+
ComputedFieldsWrapperRepresentation:
|
|
115
|
+
description: Record Representation of ComputedFieldsWrapper
|
|
116
|
+
type: object
|
|
117
|
+
properties:
|
|
118
|
+
fields:
|
|
119
|
+
description: Specifies computed fields of the ActionPlanItemTask
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
//:
|
|
123
|
+
type: any # TODO Hand-Rolled W-8252808
|
|
124
|
+
FieldRepresentation:
|
|
125
|
+
description: Output representation of a single field
|
|
126
|
+
type: object
|
|
127
|
+
properties:
|
|
128
|
+
colType:
|
|
129
|
+
description: The column type (date, currency, etc.)
|
|
130
|
+
type: string
|
|
131
|
+
fieldName:
|
|
132
|
+
description: The field name
|
|
133
|
+
type: string
|
|
134
|
+
label:
|
|
135
|
+
description: Label of the field
|
|
136
|
+
type: string
|
|
137
|
+
value:
|
|
138
|
+
description: The value of the field
|
|
139
|
+
type: string
|
|
140
|
+
TaskProgressRepresentation:
|
|
141
|
+
description: Output represenation of a task progress
|
|
142
|
+
type: object
|
|
143
|
+
properties:
|
|
144
|
+
currentValue:
|
|
145
|
+
description: The current value of progress
|
|
146
|
+
type: integer
|
|
147
|
+
maxValue:
|
|
148
|
+
description: The max value of progress
|
|
149
|
+
type: integer
|
|
150
|
+
minValue:
|
|
151
|
+
description: The min value of progress
|
|
152
|
+
type: integer
|
|
153
|
+
ActionPlanListRepresentation:
|
|
154
|
+
description: Representation of Action Plan List
|
|
155
|
+
type: object
|
|
156
|
+
properties:
|
|
157
|
+
records:
|
|
158
|
+
description: List of action plan records
|
|
159
|
+
type: array
|
|
160
|
+
items:
|
|
161
|
+
type: ActionPlanRepresentation
|
|
162
|
+
ActionPlanRepresentation:
|
|
163
|
+
description: Representation of Action Plan
|
|
164
|
+
type: object
|
|
165
|
+
properties:
|
|
166
|
+
id:
|
|
167
|
+
description: ID of the Action Plan
|
|
168
|
+
type: string
|
|
169
|
+
itemCount:
|
|
170
|
+
description: Total number of Action Plan Item present in Action Plan
|
|
171
|
+
type: integer
|
|
172
|
+
required: false
|
|
173
|
+
name:
|
|
174
|
+
description: Name of the Action Plan
|
|
175
|
+
type: string
|
|
176
|
+
statusCode:
|
|
177
|
+
description: Status Code for the Action Plan
|
|
178
|
+
type: string
|
|
179
|
+
required: false
|
|
180
|
+
ActionPlansWrapperOutputRepresentation:
|
|
181
|
+
description: Representation of Action Plans List Api Output
|
|
182
|
+
type: object
|
|
183
|
+
properties:
|
|
184
|
+
actionPlan:
|
|
185
|
+
description: List of Action Plans
|
|
186
|
+
type: ActionPlanListRepresentation
|
|
187
|
+
ActionPlanTemplateDCIItemsLabelOutputRepresentation:
|
|
188
|
+
description: Representation of Action Plans Template DCI Items
|
|
189
|
+
type: object
|
|
190
|
+
properties:
|
|
191
|
+
itemValues:
|
|
192
|
+
description: List of item values
|
|
193
|
+
type: array
|
|
194
|
+
items:
|
|
195
|
+
type: ActionPlanTemplateItemValuesLabelOutputRepresentation
|
|
196
|
+
isRequired:
|
|
197
|
+
description: Item is required or not
|
|
198
|
+
type: boolean
|
|
199
|
+
ActionPlanTemplateItemValuesLabelOutputRepresentation:
|
|
200
|
+
description: Representation of Action Plans Template Item Values
|
|
201
|
+
type: object
|
|
202
|
+
properties:
|
|
203
|
+
itemEntityFieldName:
|
|
204
|
+
description: The item entity type
|
|
205
|
+
type: string
|
|
206
|
+
label:
|
|
207
|
+
description: Item label
|
|
208
|
+
type: string
|
|
209
|
+
valueFormula:
|
|
210
|
+
description: The item value formula
|
|
211
|
+
type: string
|
|
212
|
+
valueLiteral:
|
|
213
|
+
description: The item value literal
|
|
214
|
+
type: string
|
|
215
|
+
ActionPlanTemplateTaskItemsLabelOutputRepresentation:
|
|
216
|
+
description: Representation of Action Plans Template Task Items
|
|
217
|
+
type: object
|
|
218
|
+
properties:
|
|
219
|
+
assignedToUserName:
|
|
220
|
+
description: Name of Action Plan Task assigned user
|
|
221
|
+
type: string
|
|
222
|
+
itemValues:
|
|
223
|
+
description: List of Task item details
|
|
224
|
+
type: array
|
|
225
|
+
items:
|
|
226
|
+
type: ActionPlanTemplateItemValuesLabelOutputRepresentation
|
|
227
|
+
isRequired:
|
|
228
|
+
description: Is required Action Plan task item
|
|
229
|
+
type: boolean
|
|
230
|
+
prerequisiteTasks:
|
|
231
|
+
description: List of prerequisite tasks
|
|
232
|
+
type: array
|
|
233
|
+
items:
|
|
234
|
+
type: string
|
|
235
|
+
ActionPlanTemplateItemsLabelOutputRepresentation:
|
|
236
|
+
description: Representation of Action Plans Template Items
|
|
237
|
+
type: object
|
|
238
|
+
properties:
|
|
239
|
+
actionPlanType:
|
|
240
|
+
description: Action Plan Type
|
|
241
|
+
type: string
|
|
242
|
+
createdByUserName:
|
|
243
|
+
description: Item assigned to user name
|
|
244
|
+
type: string
|
|
245
|
+
isCreateAdhocItemsAllowed:
|
|
246
|
+
description: isCreateAdhocItemsAllowed description
|
|
247
|
+
type: boolean
|
|
248
|
+
actionPlanTemplateName:
|
|
249
|
+
description: actionPlanTemplateName description
|
|
250
|
+
type: string
|
|
251
|
+
targetEntityType:
|
|
252
|
+
description: Target Entity Type
|
|
253
|
+
type: string
|
|
254
|
+
dciItemList:
|
|
255
|
+
description: List of dci
|
|
256
|
+
type: array
|
|
257
|
+
items:
|
|
258
|
+
type: ActionPlanTemplateDCIItemsLabelOutputRepresentation
|
|
259
|
+
taskItemList:
|
|
260
|
+
description: List of all task items
|
|
261
|
+
type: array
|
|
262
|
+
items:
|
|
263
|
+
type: ActionPlanTemplateTaskItemsLabelOutputRepresentation
|
|
264
|
+
ActionPlanTemplateUpdateInputRepresentation:
|
|
265
|
+
description: Input representation for Action Plan Template Inline Edit
|
|
266
|
+
type: object
|
|
267
|
+
properties:
|
|
268
|
+
actionPlanTemplateItems:
|
|
269
|
+
description: Action Plan Template Items
|
|
270
|
+
type: array
|
|
271
|
+
items:
|
|
272
|
+
#TODO: Hand-rolled
|
|
273
|
+
type: ActionPlanTemplateItemUpdateInputRepresentation
|
|
274
|
+
ActionPlanTemplateItemUpdateInputRepresentation:
|
|
275
|
+
description: Input representation for the inline edit of ActionPlanTemplate Tasks
|
|
276
|
+
type: object
|
|
277
|
+
properties:
|
|
278
|
+
actionPlanTemplateItemId:
|
|
279
|
+
description: ActionPlanTemplateItem Id
|
|
280
|
+
type: string
|
|
281
|
+
actionPlanTemplateItemValues:
|
|
282
|
+
description: ActionPlanTemplateItem Values to be updated
|
|
283
|
+
type: array
|
|
284
|
+
required: false
|
|
285
|
+
items:
|
|
286
|
+
#TODO: Hand-rolled
|
|
287
|
+
type: ActionPlanTemplateItemValueUpdateInputRepresentation
|
|
288
|
+
isRequired:
|
|
289
|
+
description: Is ActionPlanTemplateItem Required
|
|
290
|
+
type: boolean
|
|
291
|
+
required: false
|
|
292
|
+
subject:
|
|
293
|
+
description: ActionPlanTemplateItem Subject
|
|
294
|
+
type: string
|
|
295
|
+
required: false
|
|
296
|
+
ActionPlanTemplateItemValueUpdateInputRepresentation:
|
|
297
|
+
description: Input representation for the inline edit of ActionPlanTemplate Tasks
|
|
298
|
+
type: object
|
|
299
|
+
properties:
|
|
300
|
+
actionPlanTemplateItemValueId:
|
|
301
|
+
description: ActionPlanTemplateItemValueId
|
|
302
|
+
type: string
|
|
303
|
+
required: false
|
|
304
|
+
fieldValueFormula:
|
|
305
|
+
description: Value Formula
|
|
306
|
+
type: string
|
|
307
|
+
required: false
|
|
308
|
+
fieldValueLiteral:
|
|
309
|
+
description: Value Literal
|
|
310
|
+
type: any
|
|
311
|
+
required: false
|
|
312
|
+
itemEntityFieldName:
|
|
313
|
+
description: Item Entity Field Name
|
|
314
|
+
type: string
|
|
315
|
+
required: false
|
|
316
|
+
ActionPlanTemplateUpdateOutputRepresentation:
|
|
317
|
+
description: Output representation for update of Action Plan Template tasks from
|
|
318
|
+
inline edit
|
|
319
|
+
type: object
|
|
320
|
+
properties:
|
|
321
|
+
actionPlanTemplateVersionId:
|
|
322
|
+
description: Action Plan Template Version Id of the updated items
|
|
323
|
+
type: string
|
|
324
|
+
errors:
|
|
325
|
+
description: Inline Edit Errors for Action Plan Template Items
|
|
326
|
+
type: array
|
|
327
|
+
items:
|
|
328
|
+
type: ActionPlanTemplateUpdateErrorOutputRepresentation
|
|
329
|
+
message:
|
|
330
|
+
description: Update Message
|
|
331
|
+
type: string | nil
|
|
332
|
+
status:
|
|
333
|
+
description: Success/Failure update status
|
|
334
|
+
type: string
|
|
335
|
+
ActionPlanTemplateUpdateErrorOutputRepresentation:
|
|
336
|
+
description: Output representation for errors during update of Action Plan Template
|
|
337
|
+
tasks from inline edit
|
|
338
|
+
type: object
|
|
339
|
+
properties:
|
|
340
|
+
actionPlanTemplateItemId:
|
|
341
|
+
description: The action plan template item Id
|
|
342
|
+
type: string
|
|
343
|
+
errorMessage:
|
|
344
|
+
description: Error during the update of action plan template task
|
|
345
|
+
type: array
|
|
346
|
+
items:
|
|
347
|
+
type: string
|
|
348
|
+
ActionPlanUpdateInputRepresentation:
|
|
349
|
+
description: Input representation for Action Plan Inline Edit
|
|
350
|
+
type: object
|
|
351
|
+
properties:
|
|
352
|
+
actionPlanTasks:
|
|
353
|
+
description: Action Plan Template Items
|
|
354
|
+
type: array
|
|
355
|
+
#TODO: Hand-rolled
|
|
356
|
+
items:
|
|
357
|
+
type: ActionPlanTaskUpdateInputRepresentation
|
|
358
|
+
ActionPlanTaskUpdateInputRepresentation:
|
|
359
|
+
description: Input representation for Action Plan Task edited
|
|
360
|
+
type: object
|
|
361
|
+
properties:
|
|
362
|
+
actionPlanItemId:
|
|
363
|
+
description: ActionPlanItem Id
|
|
364
|
+
type: string
|
|
365
|
+
required: false
|
|
366
|
+
taskFieldValues:
|
|
367
|
+
description: Task Field Values List
|
|
368
|
+
type: array
|
|
369
|
+
#TODO: Hand-rolled
|
|
370
|
+
items:
|
|
371
|
+
type: ActionPlanTaskFieldValueUpdateInputRepresentation
|
|
372
|
+
taskId:
|
|
373
|
+
description: Task Id
|
|
374
|
+
type: string
|
|
375
|
+
ActionPlanTaskFieldValueUpdateInputRepresentation:
|
|
376
|
+
description: Input representation for Action Plan Task Field edited
|
|
377
|
+
type: object
|
|
378
|
+
properties:
|
|
379
|
+
fieldApiName:
|
|
380
|
+
description: Field Api Name
|
|
381
|
+
type: string
|
|
382
|
+
fieldValue:
|
|
383
|
+
description: Field Value
|
|
384
|
+
type: string
|
|
385
|
+
ActionPlanUpdateOutputRepresentation:
|
|
386
|
+
description: Output representation for update of Action Plan Tasks
|
|
387
|
+
type: object
|
|
388
|
+
properties:
|
|
389
|
+
actionPlanId:
|
|
390
|
+
description: Action Plan Id of the updated items
|
|
391
|
+
type: string
|
|
392
|
+
errors:
|
|
393
|
+
description: Action Plan Task Update Errors
|
|
394
|
+
type: array
|
|
395
|
+
items:
|
|
396
|
+
type: ActionPlanUpdateErrorOutputRepresentation
|
|
397
|
+
message:
|
|
398
|
+
description: Update Message
|
|
399
|
+
type: string | nil
|
|
400
|
+
status:
|
|
401
|
+
description: Update status
|
|
402
|
+
type: string
|
|
403
|
+
ActionPlanUpdateErrorOutputRepresentation:
|
|
404
|
+
description: 'Output representation for errors during update of Action Plan Tasks '
|
|
405
|
+
type: object
|
|
406
|
+
properties:
|
|
407
|
+
errorMessageList:
|
|
408
|
+
description: Error list during the update of action plan task
|
|
409
|
+
type: array
|
|
410
|
+
items:
|
|
411
|
+
type: string
|
|
412
|
+
taskId:
|
|
413
|
+
description: Task Id
|
|
414
|
+
type: string
|
|
415
|
+
/connect/action-plan-template-version/{actionPlanTemplateVersionId}:
|
|
416
|
+
get:
|
|
417
|
+
description: API to fetch the ActionPlanTemplateItems and their Labels
|
|
418
|
+
responses:
|
|
419
|
+
'200':
|
|
420
|
+
description: Success
|
|
421
|
+
body:
|
|
422
|
+
application/json:
|
|
423
|
+
type: ActionPlanTemplateItemsLabelOutputRepresentation
|
|
424
|
+
queryParameters:
|
|
425
|
+
limit:
|
|
426
|
+
type: integer
|
|
427
|
+
required: false
|
|
428
|
+
uriParameters:
|
|
429
|
+
actionPlanTemplateVersionId:
|
|
430
|
+
type: string
|
|
431
|
+
required: true
|
|
432
|
+
/connect/action-plan:
|
|
433
|
+
get:
|
|
434
|
+
description: API to get the action plans configured for the context Object
|
|
435
|
+
responses:
|
|
436
|
+
'200':
|
|
437
|
+
description: Success
|
|
438
|
+
body:
|
|
439
|
+
application/json:
|
|
440
|
+
type: ActionPlansWrapperOutputRepresentation
|
|
441
|
+
queryParameters:
|
|
442
|
+
actionPlanType:
|
|
443
|
+
type: string
|
|
444
|
+
required: false
|
|
445
|
+
enum:
|
|
446
|
+
- Industries
|
|
447
|
+
- Retail
|
|
448
|
+
limit:
|
|
449
|
+
type: integer
|
|
450
|
+
required: false
|
|
451
|
+
order:
|
|
452
|
+
type: string
|
|
453
|
+
required: false
|
|
454
|
+
enum:
|
|
455
|
+
- Asc
|
|
456
|
+
- Desc
|
|
457
|
+
orderingParam:
|
|
458
|
+
type: string
|
|
459
|
+
required: false
|
|
460
|
+
enum:
|
|
461
|
+
- ActualEndDate
|
|
462
|
+
- ActualStartDate
|
|
463
|
+
- CreatedDate
|
|
464
|
+
- EndDate
|
|
465
|
+
- Id
|
|
466
|
+
- LastItemActionDateTime
|
|
467
|
+
- LastModifiedDate
|
|
468
|
+
- LastReferencedDate
|
|
469
|
+
- LastViewedDate
|
|
470
|
+
- Name
|
|
471
|
+
- StartDate
|
|
472
|
+
- StatusCode
|
|
473
|
+
targetId:
|
|
474
|
+
type: string
|
|
475
|
+
required: false
|
|
476
|
+
/{actionPlanId}:
|
|
477
|
+
/action-plan-items:
|
|
478
|
+
get:
|
|
479
|
+
description: API to fetch data of ServicePlanTemplateId and it's related record
|
|
480
|
+
responses:
|
|
481
|
+
'200':
|
|
482
|
+
description: Success
|
|
483
|
+
body:
|
|
484
|
+
application/json:
|
|
485
|
+
type: ActionPlanItemsWrapperRepresentation
|
|
486
|
+
queryParameters:
|
|
487
|
+
limit:
|
|
488
|
+
type: integer
|
|
489
|
+
required: false
|
|
490
|
+
uriParameters:
|
|
491
|
+
actionPlanId:
|
|
492
|
+
type: string
|
|
493
|
+
required: true
|
|
494
|
+
/status-info:
|
|
495
|
+
get:
|
|
496
|
+
description: API to get the aggregated status of Action Plan Items, whether
|
|
497
|
+
all mandatory items are completed
|
|
498
|
+
responses:
|
|
499
|
+
'200':
|
|
500
|
+
description: Success
|
|
501
|
+
body:
|
|
502
|
+
application/json:
|
|
503
|
+
type: ActionPlanStatusInfoOutputRepresentation
|
|
504
|
+
uriParameters:
|
|
505
|
+
actionPlanId:
|
|
506
|
+
type: string
|
|
507
|
+
required: true
|
|
508
|
+
/connect/action-plan-template-update/{actionPlanTemplateVersionId}:
|
|
509
|
+
patch:
|
|
510
|
+
description: Patch Resource method to edit ActionPlanTemplate Tasks
|
|
511
|
+
responses:
|
|
512
|
+
'200':
|
|
513
|
+
description: Success
|
|
514
|
+
body:
|
|
515
|
+
application/json:
|
|
516
|
+
type: ActionPlanTemplateUpdateOutputRepresentation
|
|
517
|
+
body:
|
|
518
|
+
application/json:
|
|
519
|
+
type: ActionPlanTemplateUpdateInputRepresentation
|
|
520
|
+
(oas-body-name): actionPlanTemplateUpdateInput
|
|
521
|
+
uriParameters:
|
|
522
|
+
actionPlanTemplateVersionId:
|
|
523
|
+
type: string
|
|
524
|
+
required: true
|
|
525
|
+
/connect/action-plan-update/{actionPlanId}:
|
|
526
|
+
patch:
|
|
527
|
+
description: Patch Resource method to edit ActionPlan Tasks
|
|
528
|
+
responses:
|
|
529
|
+
'200':
|
|
530
|
+
description: Success
|
|
531
|
+
body:
|
|
532
|
+
application/json:
|
|
533
|
+
type: ActionPlanUpdateOutputRepresentation
|
|
534
|
+
body:
|
|
535
|
+
application/json:
|
|
536
|
+
type: ActionPlanUpdateInputRepresentation
|
|
537
|
+
(oas-body-name): actionPlanUpdateInput
|
|
538
|
+
uriParameters:
|
|
539
|
+
actionPlanId:
|
|
540
|
+
type: string
|
|
541
|
+
required: true
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'ActionPlan'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
ActionPlanStatusInfoOutputRepresentation:
|
|
11
|
+
(luvio.opaque): true
|
|
12
|
+
(luvio.ttl): 1000
|
|
13
|
+
ActionPlanItemsWrapperRepresentation:
|
|
14
|
+
(luvio.opaque): true
|
|
15
|
+
(luvio.ttl): 1000
|
|
16
|
+
ActionPlansWrapperOutputRepresentation:
|
|
17
|
+
(luvio.opaque): true
|
|
18
|
+
(luvio.ttl): 1000
|
|
19
|
+
ActionPlanTemplateItemsLabelOutputRepresentation:
|
|
20
|
+
(luvio.opaque): true
|
|
21
|
+
(luvio.ttl): 1000
|
|
22
|
+
ActionPlanTemplateUpdateOutputRepresentation:
|
|
23
|
+
(luvio.opaque): true
|
|
24
|
+
(luvio.ttl): 1000
|
|
25
|
+
(luvio.key):
|
|
26
|
+
id: actionPlanTemplateVersionId
|
|
27
|
+
ActionPlanUpdateOutputRepresentation:
|
|
28
|
+
(luvio.opaque): true
|
|
29
|
+
(luvio.ttl): 1000
|
|
30
|
+
(luvio.key):
|
|
31
|
+
id: actionPlanId
|
|
32
|
+
|
|
33
|
+
/connect/action-plan-template-update/{actionPlanTemplateVersionId}:
|
|
34
|
+
patch:
|
|
35
|
+
(luvio.adapter):
|
|
36
|
+
name: updateActionPlanTemplateTasks
|
|
37
|
+
/connect/action-plan-update/{actionPlanId}:
|
|
38
|
+
patch:
|
|
39
|
+
(luvio.adapter):
|
|
40
|
+
name: updateActionPlanTasks
|
|
41
|
+
/connect/action-plan-template-version/{actionPlanTemplateVersionId}:
|
|
42
|
+
get:
|
|
43
|
+
(luvio.adapter):
|
|
44
|
+
name: getActionPlanTemplateItemsLabel
|
|
45
|
+
/connect/action-plan:
|
|
46
|
+
get:
|
|
47
|
+
(luvio.adapter):
|
|
48
|
+
name: getActionPlans
|
|
49
|
+
/{actionPlanId}:
|
|
50
|
+
/action-plan-items:
|
|
51
|
+
get:
|
|
52
|
+
(luvio.adapter):
|
|
53
|
+
name: getActionPlanItems
|
|
54
|
+
/status-info:
|
|
55
|
+
get:
|
|
56
|
+
(luvio.adapter):
|
|
57
|
+
name: getActionPlanStatusInfo
|
|
58
|
+
tests:
|
|
59
|
+
validConfigs:
|
|
60
|
+
- |
|
|
61
|
+
{
|
|
62
|
+
"actionPlanId": "07rxx0000004CDsAAM"
|
|
63
|
+
}
|