@salesforce/lds-adapters-industries-decisiontable 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-decisiontable.js +1920 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getDecisionTable.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getDecisionTableFile.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getDecisionTableRows.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getDecisionTableTemplate.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getDecisionTableTemplateList.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/postDecisionTableFile.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/postDecisionTableRows.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesDecisionTableDataByDecisionTableId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesDecisionTableDefinitionsByDecisionTableId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesDecisionTableFileByDecisionTableId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesDecisionTableTemplates.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectBusinessRulesDecisionTableTemplatesByTemplateName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectBusinessRulesDecisionTableDataByDecisionTableId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectBusinessRulesDecisionTableFileByDecisionTableId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableDataOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableDefinitionOutputRepresentation.d.ts +73 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableFileInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableFileOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableOutputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableParameterOutputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableRowInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableRowOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableRowsListInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableRowsListOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableSourceCriteriaOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableTemplateDefinitionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableTemplateOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/DecisionTableTemplatesListOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ErrorOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ErrorParametersOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ErrorTargetsOutputRepresentation.d.ts +32 -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 +2016 -0
- package/src/raml/api.raml +599 -0
- package/src/raml/luvio.raml +82 -0
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '60.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
|
+
DecisionTableDefinitionOutputRepresentation:
|
|
29
|
+
description: Represents the decision table definition
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
collectOperator:
|
|
33
|
+
description: Collect operator used in case of Collect Hit Policy
|
|
34
|
+
type: string
|
|
35
|
+
required: false
|
|
36
|
+
enum:
|
|
37
|
+
- Count
|
|
38
|
+
- Maximum
|
|
39
|
+
- Minimum
|
|
40
|
+
- None
|
|
41
|
+
- Sum
|
|
42
|
+
conditionCriteria:
|
|
43
|
+
description: The custom logic that's used to decide how the input fields are
|
|
44
|
+
processed
|
|
45
|
+
type: string
|
|
46
|
+
required: false
|
|
47
|
+
conditionType:
|
|
48
|
+
description: The condition logic that's used for input fields
|
|
49
|
+
type: string
|
|
50
|
+
required: false
|
|
51
|
+
enum:
|
|
52
|
+
- All
|
|
53
|
+
- Any
|
|
54
|
+
- Custom
|
|
55
|
+
decisionResultPolicy:
|
|
56
|
+
description: Hit policy to specify what will be the result of the decision
|
|
57
|
+
table
|
|
58
|
+
type: string
|
|
59
|
+
required: false
|
|
60
|
+
enum:
|
|
61
|
+
- AnyValue
|
|
62
|
+
- CollectOperator
|
|
63
|
+
- FirstMatch
|
|
64
|
+
- OutputOrder
|
|
65
|
+
- Priority
|
|
66
|
+
- RuleOrder
|
|
67
|
+
- UniqueValues
|
|
68
|
+
description:
|
|
69
|
+
description: Description of the decision table
|
|
70
|
+
type: string
|
|
71
|
+
required: false
|
|
72
|
+
fullName:
|
|
73
|
+
description: Unique name of the rule definition
|
|
74
|
+
type: string
|
|
75
|
+
required: false
|
|
76
|
+
id:
|
|
77
|
+
description: ID of the decision table
|
|
78
|
+
type: string
|
|
79
|
+
required: false
|
|
80
|
+
parameters:
|
|
81
|
+
description: Represents an array of input fields defined for the decision
|
|
82
|
+
table
|
|
83
|
+
type: array
|
|
84
|
+
items:
|
|
85
|
+
type: DecisionTableParameterOutputRepresentation
|
|
86
|
+
setupName:
|
|
87
|
+
description: Name of the decision table
|
|
88
|
+
type: string
|
|
89
|
+
required: false
|
|
90
|
+
sourceCriteria:
|
|
91
|
+
description: Output array representation of source filters fieldName, operators,
|
|
92
|
+
valueType etc.
|
|
93
|
+
type: array
|
|
94
|
+
items:
|
|
95
|
+
type: DecisionTableSourceCriteriaOutputRepresentation
|
|
96
|
+
sourceObject:
|
|
97
|
+
description: The Object on which the decision table is based
|
|
98
|
+
type: string
|
|
99
|
+
required: false
|
|
100
|
+
sourceType:
|
|
101
|
+
description: The source from where decision table data is sourced
|
|
102
|
+
type: string
|
|
103
|
+
required: false
|
|
104
|
+
enum:
|
|
105
|
+
- CsvUpload
|
|
106
|
+
- MultipleSobjects
|
|
107
|
+
- SingleSobject
|
|
108
|
+
sourceconditionLogic:
|
|
109
|
+
description: Custom logic that's used to decide how criteria on source is
|
|
110
|
+
applied
|
|
111
|
+
type: string
|
|
112
|
+
required: false
|
|
113
|
+
status:
|
|
114
|
+
description: Status of the decision table
|
|
115
|
+
type: string
|
|
116
|
+
required: false
|
|
117
|
+
enum:
|
|
118
|
+
- ActivationInProgress
|
|
119
|
+
- Active
|
|
120
|
+
- Draft
|
|
121
|
+
- Inactive
|
|
122
|
+
usageType:
|
|
123
|
+
description: The process type that uses this decision table
|
|
124
|
+
type: string
|
|
125
|
+
required: false
|
|
126
|
+
enum:
|
|
127
|
+
- AiAcceleratorSubscriberChurnPrediction
|
|
128
|
+
- Bre
|
|
129
|
+
- CustomLoyalty
|
|
130
|
+
- DefaultPricing
|
|
131
|
+
- Pricing
|
|
132
|
+
- ProductCategoryQualification
|
|
133
|
+
- ProductEligibility
|
|
134
|
+
- ProductQualification
|
|
135
|
+
- RecordAlert
|
|
136
|
+
- ShipAndDebit
|
|
137
|
+
- TestProcess
|
|
138
|
+
- TierProcessing
|
|
139
|
+
- TransactionJournal
|
|
140
|
+
- WarrantyClaim
|
|
141
|
+
DecisionTableOutputRepresentation:
|
|
142
|
+
description: Represents the decision table creation/fetch/delete response and
|
|
143
|
+
its status
|
|
144
|
+
type: object
|
|
145
|
+
properties:
|
|
146
|
+
code:
|
|
147
|
+
description: Represents the Error Code if Decision Table Definition creation
|
|
148
|
+
failed for any reason.
|
|
149
|
+
type: string
|
|
150
|
+
required: false
|
|
151
|
+
decisionTable:
|
|
152
|
+
description: Represents the Decision Table Definition Output Representation
|
|
153
|
+
type
|
|
154
|
+
type: DecisionTableDefinitionOutputRepresentation
|
|
155
|
+
isSuccess:
|
|
156
|
+
description: Returns TRUE or FALSE depending on Decision Table Definition
|
|
157
|
+
creation is successful or some error encountered.
|
|
158
|
+
type: boolean
|
|
159
|
+
required: false
|
|
160
|
+
message:
|
|
161
|
+
description: Represents the Error Message if Transaction failed for any reason.
|
|
162
|
+
type: string
|
|
163
|
+
required: false
|
|
164
|
+
DecisionTableRowInputRepresentation:
|
|
165
|
+
description: Represents the information required to update or delete a row
|
|
166
|
+
type: object
|
|
167
|
+
properties:
|
|
168
|
+
action:
|
|
169
|
+
description: Represents the action to this Decision Table Row, null if is
|
|
170
|
+
add
|
|
171
|
+
type: string
|
|
172
|
+
id:
|
|
173
|
+
description: Represents the id of the Decision Table Row, null it if is a
|
|
174
|
+
new row
|
|
175
|
+
type: string
|
|
176
|
+
rowData:
|
|
177
|
+
description: Represents the key value pair of the Decision Table Row.
|
|
178
|
+
type: object
|
|
179
|
+
properties:
|
|
180
|
+
//:
|
|
181
|
+
type: any
|
|
182
|
+
DecisionTableRowsListInputRepresentation:
|
|
183
|
+
description: Represents the information to update the rows in CSV based Decision
|
|
184
|
+
Table
|
|
185
|
+
type: object
|
|
186
|
+
properties:
|
|
187
|
+
rows:
|
|
188
|
+
description: Represents a list of rows to be updated
|
|
189
|
+
type: array
|
|
190
|
+
items:
|
|
191
|
+
type: DecisionTableRowInputRepresentation
|
|
192
|
+
required: false
|
|
193
|
+
DecisionTableFileInputRepresentation:
|
|
194
|
+
description: Represents the information to upload file in CSV based Decision Table
|
|
195
|
+
type: object
|
|
196
|
+
properties:
|
|
197
|
+
deleteAllRows:
|
|
198
|
+
description: Specifies if rows should be deleted
|
|
199
|
+
type: boolean
|
|
200
|
+
required: false
|
|
201
|
+
fileId:
|
|
202
|
+
description: Represents the id of the CSV file
|
|
203
|
+
type: string
|
|
204
|
+
DecisionTableParameterOutputRepresentation:
|
|
205
|
+
description: Represents the decision table parameter
|
|
206
|
+
type: object
|
|
207
|
+
properties:
|
|
208
|
+
columnMapping:
|
|
209
|
+
description: Specifies the source object path for the mapping to the column
|
|
210
|
+
of an entity
|
|
211
|
+
type: string
|
|
212
|
+
required: false
|
|
213
|
+
dataType:
|
|
214
|
+
description: Data Type of the field used
|
|
215
|
+
type: string
|
|
216
|
+
required: false
|
|
217
|
+
enum:
|
|
218
|
+
- Boolean
|
|
219
|
+
- Currency
|
|
220
|
+
- Date
|
|
221
|
+
- Number
|
|
222
|
+
- Percent
|
|
223
|
+
- String
|
|
224
|
+
decimalScale:
|
|
225
|
+
description: Precision of the field used
|
|
226
|
+
type: integer
|
|
227
|
+
required: false
|
|
228
|
+
domainEntity:
|
|
229
|
+
description: Specifies the entity domain field is mapped to
|
|
230
|
+
type: string
|
|
231
|
+
required: false
|
|
232
|
+
fieldName:
|
|
233
|
+
description: The name of the field to be used in the decision table
|
|
234
|
+
type: string
|
|
235
|
+
required: false
|
|
236
|
+
isGroupByField:
|
|
237
|
+
description: Indicates whether the field is used to group the business rules
|
|
238
|
+
of the decision table
|
|
239
|
+
type: boolean
|
|
240
|
+
required: false
|
|
241
|
+
isPriority:
|
|
242
|
+
description: Whether it is priority field or not
|
|
243
|
+
type: boolean
|
|
244
|
+
required: false
|
|
245
|
+
isRequired:
|
|
246
|
+
description: Valid operators for a field based on its usage
|
|
247
|
+
type: boolean
|
|
248
|
+
required: false
|
|
249
|
+
maxlength:
|
|
250
|
+
description: Maximum length of the field used
|
|
251
|
+
type: integer
|
|
252
|
+
required: false
|
|
253
|
+
operator:
|
|
254
|
+
description: Indicates whether the field is mandatory to be provided during
|
|
255
|
+
lookup for hashing column data
|
|
256
|
+
type: string
|
|
257
|
+
required: false
|
|
258
|
+
enum:
|
|
259
|
+
- Between
|
|
260
|
+
- DoesNotExistIn
|
|
261
|
+
- Equals
|
|
262
|
+
- ExistsIn
|
|
263
|
+
- GreaterOrEqual
|
|
264
|
+
- GreaterThan
|
|
265
|
+
- LessOrEqual
|
|
266
|
+
- LessThan
|
|
267
|
+
- Matches
|
|
268
|
+
- NotEquals
|
|
269
|
+
sequence:
|
|
270
|
+
description: The sequence in which input fields are processed.
|
|
271
|
+
type: integer
|
|
272
|
+
required: false
|
|
273
|
+
sortType:
|
|
274
|
+
description: Specifies the type of sorting done on the rows of a decision
|
|
275
|
+
table
|
|
276
|
+
type: string
|
|
277
|
+
required: false
|
|
278
|
+
enum:
|
|
279
|
+
- AscNullFirst
|
|
280
|
+
- AscNullLast
|
|
281
|
+
- DescNullFirst
|
|
282
|
+
- DescNullLast
|
|
283
|
+
- None
|
|
284
|
+
usage:
|
|
285
|
+
description: A picklist to select whether a particular field will be used
|
|
286
|
+
as input or output
|
|
287
|
+
type: string
|
|
288
|
+
required: false
|
|
289
|
+
enum:
|
|
290
|
+
- Input
|
|
291
|
+
- Output
|
|
292
|
+
DecisionTableSourceCriteriaOutputRepresentation:
|
|
293
|
+
description: Represents the decision table source criteria
|
|
294
|
+
type: object
|
|
295
|
+
properties:
|
|
296
|
+
operator:
|
|
297
|
+
description: Specifies the operator used in the filter criteria
|
|
298
|
+
type: string
|
|
299
|
+
required: false
|
|
300
|
+
enum:
|
|
301
|
+
- DoesNotExistIn
|
|
302
|
+
- Equals
|
|
303
|
+
- ExistsIn
|
|
304
|
+
- GreaterOrEqual
|
|
305
|
+
- GreaterThan
|
|
306
|
+
- LessOrEqual
|
|
307
|
+
- LessThan
|
|
308
|
+
- Matches
|
|
309
|
+
- NotEquals
|
|
310
|
+
sequenceNumber:
|
|
311
|
+
description: The sequence number of the filter criteria in the associated
|
|
312
|
+
decision table source condition
|
|
313
|
+
type: integer
|
|
314
|
+
required: false
|
|
315
|
+
sourceFieldName:
|
|
316
|
+
description: The name of the field that's used in the filter criteria
|
|
317
|
+
type: string
|
|
318
|
+
required: false
|
|
319
|
+
value:
|
|
320
|
+
description: The expected value of the field
|
|
321
|
+
type: string
|
|
322
|
+
required: false
|
|
323
|
+
valueType:
|
|
324
|
+
description: Specifies the type of filter value
|
|
325
|
+
type: string
|
|
326
|
+
required: false
|
|
327
|
+
enum:
|
|
328
|
+
- Formula
|
|
329
|
+
- Literal
|
|
330
|
+
- Lookup
|
|
331
|
+
- Parameter
|
|
332
|
+
- PickList
|
|
333
|
+
DecisionTableTemplateDefinitionOutputRepresentation:
|
|
334
|
+
description: Represents the decision table template fetch response
|
|
335
|
+
type: object
|
|
336
|
+
properties:
|
|
337
|
+
decisionTableTemplate:
|
|
338
|
+
description: Represents the Decision Table Definition Output Representation
|
|
339
|
+
type
|
|
340
|
+
type: DecisionTableDefinitionOutputRepresentation
|
|
341
|
+
required: false
|
|
342
|
+
errors:
|
|
343
|
+
description: Represents the Errors if Decision Table Definition creation failed
|
|
344
|
+
for any reason.
|
|
345
|
+
type: array
|
|
346
|
+
required: false
|
|
347
|
+
items:
|
|
348
|
+
type: ErrorOutputRepresentation
|
|
349
|
+
DecisionTableTemplateOutputRepresentation:
|
|
350
|
+
description: Representation of a Decision Table Template
|
|
351
|
+
type: object
|
|
352
|
+
properties:
|
|
353
|
+
location:
|
|
354
|
+
description: location /namespace of the template
|
|
355
|
+
type: string
|
|
356
|
+
required: false
|
|
357
|
+
templateName:
|
|
358
|
+
description: Display name of template
|
|
359
|
+
type: string
|
|
360
|
+
required: false
|
|
361
|
+
usageType:
|
|
362
|
+
description: Usage type used for the template
|
|
363
|
+
type: string
|
|
364
|
+
required: false
|
|
365
|
+
ErrorParametersOutputRepresentation:
|
|
366
|
+
description: Representation of parameters part of the error
|
|
367
|
+
type: object
|
|
368
|
+
properties:
|
|
369
|
+
name:
|
|
370
|
+
description: Represents the name of the error parameter
|
|
371
|
+
type: string
|
|
372
|
+
required: false
|
|
373
|
+
value:
|
|
374
|
+
description: Represents the value of the error parameter
|
|
375
|
+
type: string
|
|
376
|
+
required: false
|
|
377
|
+
ErrorTargetsOutputRepresentation:
|
|
378
|
+
description: Representation of targets part of the error
|
|
379
|
+
type: object
|
|
380
|
+
properties:
|
|
381
|
+
reference:
|
|
382
|
+
description: Represents the reference to the error target
|
|
383
|
+
type: string
|
|
384
|
+
required: false
|
|
385
|
+
type:
|
|
386
|
+
description: Represents the type of the error target
|
|
387
|
+
type: string
|
|
388
|
+
required: false
|
|
389
|
+
ErrorOutputRepresentation:
|
|
390
|
+
description: Representation of error as per salesforce standardised template
|
|
391
|
+
type: object
|
|
392
|
+
properties:
|
|
393
|
+
errorCode:
|
|
394
|
+
description: Represents the error code
|
|
395
|
+
type: string
|
|
396
|
+
required: false
|
|
397
|
+
message:
|
|
398
|
+
description: Represents the message for the error
|
|
399
|
+
type: string
|
|
400
|
+
required: false
|
|
401
|
+
messageCode:
|
|
402
|
+
description: Represents the message code for the error
|
|
403
|
+
type: string
|
|
404
|
+
required: false
|
|
405
|
+
parameters:
|
|
406
|
+
description: Represents the parameters of the error
|
|
407
|
+
type: array
|
|
408
|
+
required: false
|
|
409
|
+
items:
|
|
410
|
+
type: ErrorParametersOutputRepresentation
|
|
411
|
+
targets:
|
|
412
|
+
description: Represents the targets of the error
|
|
413
|
+
type: array
|
|
414
|
+
required: false
|
|
415
|
+
items:
|
|
416
|
+
type: ErrorTargetsOutputRepresentation
|
|
417
|
+
DecisionTableTemplatesListOutputRepresentation:
|
|
418
|
+
description: Representation of a List of Decision Table Templates
|
|
419
|
+
type: object
|
|
420
|
+
properties:
|
|
421
|
+
decisionTableTemplates:
|
|
422
|
+
description: Represents the Decision Table Template Output Representation
|
|
423
|
+
type: array
|
|
424
|
+
required: false
|
|
425
|
+
items:
|
|
426
|
+
type: DecisionTableTemplateOutputRepresentation
|
|
427
|
+
errors:
|
|
428
|
+
description: Represents the Errors if Decision Table Template List retrieval
|
|
429
|
+
failed for any reason.
|
|
430
|
+
type: array
|
|
431
|
+
required: false
|
|
432
|
+
items:
|
|
433
|
+
type: ErrorOutputRepresentation
|
|
434
|
+
DecisionTableDataOutputRepresentation:
|
|
435
|
+
description: Representation of the status of an action performed
|
|
436
|
+
type: object
|
|
437
|
+
properties:
|
|
438
|
+
errorFileId:
|
|
439
|
+
description: Represents the Error Code if Transaction failed for any reason.
|
|
440
|
+
type: string
|
|
441
|
+
errors:
|
|
442
|
+
description: Represents the list of Error Messages if Transaction failed for
|
|
443
|
+
any reason.
|
|
444
|
+
type: array
|
|
445
|
+
items:
|
|
446
|
+
type: string
|
|
447
|
+
required: false
|
|
448
|
+
DecisionTableRowOutputRepresentation:
|
|
449
|
+
description: Represents the information to describe a Decision Table Row for output.
|
|
450
|
+
type: object
|
|
451
|
+
properties:
|
|
452
|
+
id:
|
|
453
|
+
description: Represents the id of the Decision Table Row.
|
|
454
|
+
type: string
|
|
455
|
+
rowData:
|
|
456
|
+
description: Represents the key value pair of the Decision Table Row.
|
|
457
|
+
type: object
|
|
458
|
+
properties:
|
|
459
|
+
//:
|
|
460
|
+
type: any
|
|
461
|
+
DecisionTableRowsListOutputRepresentation:
|
|
462
|
+
description: Representation of the rows in Relation to the Decision Table, including
|
|
463
|
+
current state of pagination
|
|
464
|
+
type: object
|
|
465
|
+
properties:
|
|
466
|
+
rows:
|
|
467
|
+
description: Represents the returned list of rows.
|
|
468
|
+
type: array
|
|
469
|
+
items:
|
|
470
|
+
type: DecisionTableRowOutputRepresentation
|
|
471
|
+
totalRows:
|
|
472
|
+
description: Represents the total number of rows.
|
|
473
|
+
type: integer | nil
|
|
474
|
+
DecisionTableFileOutputRepresentation:
|
|
475
|
+
description: Representation of the status of an action performed
|
|
476
|
+
type: object
|
|
477
|
+
properties:
|
|
478
|
+
message:
|
|
479
|
+
description: Represents the Error Message if Transaction failed for any reason.
|
|
480
|
+
type: string
|
|
481
|
+
/connect:
|
|
482
|
+
/business-rules/decision-table:
|
|
483
|
+
/definitions/{decisionTableId}:
|
|
484
|
+
get:
|
|
485
|
+
displayName: getDecisionTable
|
|
486
|
+
description: Get information about decision table details.
|
|
487
|
+
responses:
|
|
488
|
+
'200':
|
|
489
|
+
description: Success
|
|
490
|
+
body:
|
|
491
|
+
application/json:
|
|
492
|
+
type: DecisionTableOutputRepresentation
|
|
493
|
+
|
|
494
|
+
uriParameters:
|
|
495
|
+
decisionTableId:
|
|
496
|
+
type: string
|
|
497
|
+
required: true
|
|
498
|
+
/templates:
|
|
499
|
+
get:
|
|
500
|
+
displayName: getDecisionTableTemplateList
|
|
501
|
+
description: Get the decision table templates list
|
|
502
|
+
responses:
|
|
503
|
+
'200':
|
|
504
|
+
description: Success
|
|
505
|
+
body:
|
|
506
|
+
application/json:
|
|
507
|
+
type: DecisionTableTemplatesListOutputRepresentation
|
|
508
|
+
queryParameters:
|
|
509
|
+
usageType:
|
|
510
|
+
type: string
|
|
511
|
+
required: false
|
|
512
|
+
/{templateName}:
|
|
513
|
+
get:
|
|
514
|
+
displayName: getDecisionTableTemplate
|
|
515
|
+
description: Get the decision table template definition
|
|
516
|
+
responses:
|
|
517
|
+
'200':
|
|
518
|
+
description: Success
|
|
519
|
+
body:
|
|
520
|
+
application/json:
|
|
521
|
+
type: DecisionTableTemplateDefinitionOutputRepresentation
|
|
522
|
+
uriParameters:
|
|
523
|
+
templateName:
|
|
524
|
+
type: string
|
|
525
|
+
required: true
|
|
526
|
+
/{decisionTableId}:
|
|
527
|
+
/data:
|
|
528
|
+
post:
|
|
529
|
+
displayName: postDecisionTableRows
|
|
530
|
+
description: POST Resource method to update Rows in a CSV Based Decision Table.
|
|
531
|
+
responses:
|
|
532
|
+
'200':
|
|
533
|
+
description: Success
|
|
534
|
+
body:
|
|
535
|
+
application/json:
|
|
536
|
+
type: DecisionTableDataOutputRepresentation
|
|
537
|
+
body:
|
|
538
|
+
application/json:
|
|
539
|
+
type: DecisionTableRowsListInputRepresentation
|
|
540
|
+
(oas-body-name): rowsInput
|
|
541
|
+
uriParameters:
|
|
542
|
+
decisionTableId:
|
|
543
|
+
description: Unique ID used to represent a decision table.
|
|
544
|
+
type: string
|
|
545
|
+
required: true
|
|
546
|
+
|
|
547
|
+
get:
|
|
548
|
+
displayName: getDecisionTableRows
|
|
549
|
+
description: Get a list of rows or generate a csv file of rows in a Decision
|
|
550
|
+
Table.
|
|
551
|
+
responses:
|
|
552
|
+
'200':
|
|
553
|
+
description: Success
|
|
554
|
+
body:
|
|
555
|
+
application/json:
|
|
556
|
+
type: DecisionTableRowsListOutputRepresentation
|
|
557
|
+
queryParameters:
|
|
558
|
+
filter:
|
|
559
|
+
type: string
|
|
560
|
+
required: false
|
|
561
|
+
limit:
|
|
562
|
+
type: integer
|
|
563
|
+
required: false
|
|
564
|
+
offset:
|
|
565
|
+
type: integer
|
|
566
|
+
required: false
|
|
567
|
+
/file:
|
|
568
|
+
get:
|
|
569
|
+
displayName: getDecisionTableFile
|
|
570
|
+
description: Generate a csv file of rows in a Decision Table.
|
|
571
|
+
responses:
|
|
572
|
+
'200':
|
|
573
|
+
description: Success
|
|
574
|
+
body:
|
|
575
|
+
application/json:
|
|
576
|
+
type: DecisionTableFileOutputRepresentation
|
|
577
|
+
queryParameters:
|
|
578
|
+
filter:
|
|
579
|
+
type: string
|
|
580
|
+
required: false
|
|
581
|
+
post:
|
|
582
|
+
displayName: postDecisionTableFile
|
|
583
|
+
description: POST Resource method to upload file in a CSV Based Decision
|
|
584
|
+
Table.
|
|
585
|
+
responses:
|
|
586
|
+
'200':
|
|
587
|
+
description: Success
|
|
588
|
+
body:
|
|
589
|
+
application/json:
|
|
590
|
+
type: DecisionTableFileOutputRepresentation
|
|
591
|
+
body:
|
|
592
|
+
application/json:
|
|
593
|
+
type: DecisionTableFileInputRepresentation
|
|
594
|
+
(oas-body-name): fileInput
|
|
595
|
+
uriParameters:
|
|
596
|
+
decisionTableId:
|
|
597
|
+
description: Unique ID used to represent a decision table.
|
|
598
|
+
type: string
|
|
599
|
+
required: true
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'DecisionTable'
|
|
8
|
+
(luvio.ttl): 360000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
DecisionTableOutputRepresentation:
|
|
12
|
+
(luvio.ttl): 1000
|
|
13
|
+
(luvio.opaque): true
|
|
14
|
+
DecisionTableDefinitionOutputRepresentation:
|
|
15
|
+
(luvio.ttl): 1000
|
|
16
|
+
(luvio.opaque): true
|
|
17
|
+
DecisionTableParameterOutputRepresentation:
|
|
18
|
+
(luvio.ttl): 1000
|
|
19
|
+
(luvio.opaque): true
|
|
20
|
+
DecisionTableSourceCriteriaOutputRepresentation:
|
|
21
|
+
(luvio.ttl): 1000
|
|
22
|
+
(luvio.opaque): true
|
|
23
|
+
DecisionTableTemplateDefinitionOutputRepresentation:
|
|
24
|
+
(luvio.ttl): 1000
|
|
25
|
+
(luvio.opaque): true
|
|
26
|
+
DecisionTableTemplateOutputRepresentation:
|
|
27
|
+
(luvio.ttl): 1000
|
|
28
|
+
(luvio.opaque): true
|
|
29
|
+
ErrorParametersOutputRepresentation:
|
|
30
|
+
(luvio.ttl): 1000
|
|
31
|
+
(luvio.opaque): true
|
|
32
|
+
ErrorTargetsOutputRepresentation:
|
|
33
|
+
(luvio.ttl): 1000
|
|
34
|
+
(luvio.opaque): true
|
|
35
|
+
ErrorOutputRepresentation:
|
|
36
|
+
(luvio.ttl): 1000
|
|
37
|
+
(luvio.opaque): true
|
|
38
|
+
DecisionTableTemplatesListOutputRepresentation:
|
|
39
|
+
(luvio.ttl): 1000
|
|
40
|
+
(luvio.opaque): true
|
|
41
|
+
DecisionTableDataOutputRepresentation:
|
|
42
|
+
(luvio.ttl): 1000
|
|
43
|
+
(luvio.opaque): true
|
|
44
|
+
(luvio.key):
|
|
45
|
+
errorFileId: errorFileId
|
|
46
|
+
DecisionTableRowsListOutputRepresentation:
|
|
47
|
+
(luvio.ttl): 1000
|
|
48
|
+
(luvio.opaque): true
|
|
49
|
+
DecisionTableFileOutputRepresentation:
|
|
50
|
+
(luvio.ttl): 1000
|
|
51
|
+
(luvio.opaque): true
|
|
52
|
+
(luvio.key):
|
|
53
|
+
message: message
|
|
54
|
+
/connect:
|
|
55
|
+
/business-rules/decision-table:
|
|
56
|
+
/definitions/{decisionTableId}:
|
|
57
|
+
get:
|
|
58
|
+
(luvio.adapter):
|
|
59
|
+
name: getDecisionTable
|
|
60
|
+
/templates:
|
|
61
|
+
get:
|
|
62
|
+
(luvio.adapter):
|
|
63
|
+
name: getDecisionTableTemplateList
|
|
64
|
+
/templates/{templateName}:
|
|
65
|
+
get:
|
|
66
|
+
(luvio.adapter):
|
|
67
|
+
name: getDecisionTableTemplate
|
|
68
|
+
/{decisionTableId}:
|
|
69
|
+
/data:
|
|
70
|
+
post:
|
|
71
|
+
(luvio.adapter):
|
|
72
|
+
name: postDecisionTableRows
|
|
73
|
+
get:
|
|
74
|
+
(luvio.adapter):
|
|
75
|
+
name: getDecisionTableRows
|
|
76
|
+
/file:
|
|
77
|
+
post:
|
|
78
|
+
(luvio.adapter):
|
|
79
|
+
name: postDecisionTableFile
|
|
80
|
+
get:
|
|
81
|
+
(luvio.adapter):
|
|
82
|
+
name: getDecisionTableFile
|