@salesforce/lds-adapters-industries-explainability 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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-explainability.js +715 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getExplainabilityActionLogs.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/adapters/storeExplainabilityActionLog.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectDecisionExplainerActionLogs.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectDecisionExplainerActionLogs.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/ExplainabilityActionLogCreateRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ExplainabilityActionLogDetailRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/ExplainabilityActionLogInputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/ExplainabilityActionLogInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ExplainabilityActionLogsRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +754 -0
- package/src/raml/api.raml +218 -0
- package/src/raml/luvio.raml +27 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '54.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
|
+
ExplainabilityActionLogCreateRepresentation:
|
|
29
|
+
description: Create represenation for ExplainabilityActionLog
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
sequenceNumber:
|
|
33
|
+
description: SequenceNumber of ExplainabilityActionLog
|
|
34
|
+
type: integer
|
|
35
|
+
required: false
|
|
36
|
+
uniqueIdentifier:
|
|
37
|
+
description: uniqueIdentifier of ExplainabilityActionLog
|
|
38
|
+
type: string
|
|
39
|
+
#required: false # TODO Hand-rolled W-9723874
|
|
40
|
+
ExplainabilityActionLogDetailRepresentation:
|
|
41
|
+
description: Represents a Explainability Action Log details
|
|
42
|
+
type: object
|
|
43
|
+
properties:
|
|
44
|
+
actionContextCode:
|
|
45
|
+
description: The record ID within the context of the associated application's
|
|
46
|
+
action that can be used to retrieve the action log
|
|
47
|
+
type: string
|
|
48
|
+
actionLog:
|
|
49
|
+
description: The contents of the Explainability action log as a Json string
|
|
50
|
+
type: string
|
|
51
|
+
applicationLogDate:
|
|
52
|
+
description: The date and time at which the Explainability action log was
|
|
53
|
+
generated by the application's action
|
|
54
|
+
type: string
|
|
55
|
+
applicationSubtype:
|
|
56
|
+
description: Specifies the subtype of the associated application for which
|
|
57
|
+
the explainability log is generated. This would match one of the valid values
|
|
58
|
+
for Explainability Action Specification table's ApplicationSubtype field
|
|
59
|
+
type: string
|
|
60
|
+
applicationType:
|
|
61
|
+
description: Specifies the name of the application for which the explainability
|
|
62
|
+
service is run. This would match one of the valid values for Explainability
|
|
63
|
+
Action Specification table's ApplicationType field
|
|
64
|
+
type: string
|
|
65
|
+
name:
|
|
66
|
+
description: A name to identify the Explainability action log record to be
|
|
67
|
+
created
|
|
68
|
+
type: string
|
|
69
|
+
processType:
|
|
70
|
+
description: Specifies the process type, such as the business process, of
|
|
71
|
+
the associated application for which the explainability action log is generated.
|
|
72
|
+
This would match one of the valid values for Explainability Action Specification
|
|
73
|
+
table's processType field
|
|
74
|
+
type: string
|
|
75
|
+
explainabilitySpecName:
|
|
76
|
+
description: A name to identify the Explainability specification name of
|
|
77
|
+
the action log record
|
|
78
|
+
type: string
|
|
79
|
+
primaryFilter:
|
|
80
|
+
description: A string to be used as primary filter
|
|
81
|
+
type: string
|
|
82
|
+
required: false
|
|
83
|
+
secondaryFilter:
|
|
84
|
+
description: A string to be used as secondary filter
|
|
85
|
+
type: string
|
|
86
|
+
required: false
|
|
87
|
+
additionalFilter:
|
|
88
|
+
description: A string to be used as additional filter
|
|
89
|
+
type: string
|
|
90
|
+
required: false
|
|
91
|
+
|
|
92
|
+
# TODO Hand-rolled W-9723874
|
|
93
|
+
ExplainabilityActionLogInputRepresentationWrapper:
|
|
94
|
+
description: Wrapper Input Representation for ExplainabilityActionLogInputRepresentation
|
|
95
|
+
type: object
|
|
96
|
+
properties:
|
|
97
|
+
explainabilityActionLogDefinition:
|
|
98
|
+
type: ExplainabilityActionLogInputRepresentation
|
|
99
|
+
description: Input representation for explainability action log.
|
|
100
|
+
ExplainabilityActionLogInputRepresentation:
|
|
101
|
+
description: Input representation for ExplainabilityActionLog
|
|
102
|
+
type: object
|
|
103
|
+
properties:
|
|
104
|
+
actionContextCode:
|
|
105
|
+
description: A valid Salesforce record-id that can later be used to retrieve
|
|
106
|
+
the Explainability action log record
|
|
107
|
+
type: string
|
|
108
|
+
actionLog:
|
|
109
|
+
description: The contents of the Explainability action log as a Json string
|
|
110
|
+
type: string
|
|
111
|
+
actionLogDate:
|
|
112
|
+
description: The date and time at which the Explainability action log was
|
|
113
|
+
generated by the application’s action
|
|
114
|
+
type: string
|
|
115
|
+
actionLogOwnerId:
|
|
116
|
+
description: The 18 character Salesforce user id of the user who will own
|
|
117
|
+
the action log. If not specified, will default to the user in whose context
|
|
118
|
+
the call is being made.
|
|
119
|
+
type: string
|
|
120
|
+
required: false # TODO Hand-rolled W-9314597
|
|
121
|
+
name:
|
|
122
|
+
description: A name to identify the Explainability action log record to be
|
|
123
|
+
created
|
|
124
|
+
type: string
|
|
125
|
+
required: false # TODO Hand-rolled W-9314597
|
|
126
|
+
additionalFilter:
|
|
127
|
+
description: A string to be used as additional filter
|
|
128
|
+
type: string
|
|
129
|
+
required: false
|
|
130
|
+
primaryFilter:
|
|
131
|
+
description: A string to be used as primary filter
|
|
132
|
+
type: string
|
|
133
|
+
required: false
|
|
134
|
+
secondaryFilter:
|
|
135
|
+
description: A string to be used as secondary filter
|
|
136
|
+
type: string
|
|
137
|
+
required: false
|
|
138
|
+
specificationName:
|
|
139
|
+
description: A name that uniquely identifies an active Explainability Action
|
|
140
|
+
Specification record
|
|
141
|
+
type: string
|
|
142
|
+
ExplainabilityActionLogsRepresentation:
|
|
143
|
+
description: Representation of the list of Explainability Action Logs
|
|
144
|
+
type: object
|
|
145
|
+
properties:
|
|
146
|
+
actionLogs:
|
|
147
|
+
description: A list of ExplainabilityActionLogRepresentation
|
|
148
|
+
type: array
|
|
149
|
+
items:
|
|
150
|
+
type: ExplainabilityActionLogDetailRepresentation
|
|
151
|
+
queryMore:
|
|
152
|
+
description: A string that can be passed to the next call to fetch the next
|
|
153
|
+
batch of Explainability Action Log records
|
|
154
|
+
type: string
|
|
155
|
+
required: false
|
|
156
|
+
/connect:
|
|
157
|
+
/decision-explainer/action-logs:
|
|
158
|
+
get:
|
|
159
|
+
description: Api to fetch a paginated list of Explainability Action Logs
|
|
160
|
+
responses:
|
|
161
|
+
'200':
|
|
162
|
+
description: Success
|
|
163
|
+
body:
|
|
164
|
+
application/json:
|
|
165
|
+
type: ExplainabilityActionLogsRepresentation
|
|
166
|
+
queryParameters:
|
|
167
|
+
actionContextCode:
|
|
168
|
+
type: string
|
|
169
|
+
required: false
|
|
170
|
+
applicationSubType:
|
|
171
|
+
type: string
|
|
172
|
+
required: false
|
|
173
|
+
applicationType:
|
|
174
|
+
type: string
|
|
175
|
+
required: false
|
|
176
|
+
createdAfter:
|
|
177
|
+
type: string
|
|
178
|
+
required: false
|
|
179
|
+
createdBefore:
|
|
180
|
+
type: string
|
|
181
|
+
required: false
|
|
182
|
+
pageSize:
|
|
183
|
+
type: integer
|
|
184
|
+
required: false
|
|
185
|
+
processType:
|
|
186
|
+
type: string
|
|
187
|
+
required: false
|
|
188
|
+
queryMore:
|
|
189
|
+
type: string
|
|
190
|
+
required: false
|
|
191
|
+
primaryFilter:
|
|
192
|
+
type: string
|
|
193
|
+
required: false
|
|
194
|
+
secondaryFilter:
|
|
195
|
+
type: string
|
|
196
|
+
required: false
|
|
197
|
+
additionalFilter:
|
|
198
|
+
type: string
|
|
199
|
+
required: false
|
|
200
|
+
sortDirection:
|
|
201
|
+
type: string
|
|
202
|
+
required: false
|
|
203
|
+
enum:
|
|
204
|
+
- Ascending
|
|
205
|
+
- Descending
|
|
206
|
+
post:
|
|
207
|
+
description: API to Store ExplainabilityActionlog
|
|
208
|
+
responses:
|
|
209
|
+
'200':
|
|
210
|
+
description: Success
|
|
211
|
+
body:
|
|
212
|
+
application/json:
|
|
213
|
+
type: ExplainabilityActionLogCreateRepresentation
|
|
214
|
+
body:
|
|
215
|
+
application/json:
|
|
216
|
+
type: ExplainabilityActionLogInputRepresentationWrapper
|
|
217
|
+
#required: false # TODO Hand-rolled W-9723874
|
|
218
|
+
(oas-body-name): explainabilityActionLogDefinition
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'explainability'
|
|
8
|
+
(luvio.ttl): 360000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
ExplainabilityActionLogsRepresentation:
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
(luvio.ttl): 10000
|
|
14
|
+
ExplainabilityActionLogCreateRepresentation:
|
|
15
|
+
(luvio.opaque): true
|
|
16
|
+
(luvio.ttl): 10000
|
|
17
|
+
(luvio.key):
|
|
18
|
+
id: uniqueIdentifier
|
|
19
|
+
|
|
20
|
+
/connect:
|
|
21
|
+
/decision-explainer/action-logs:
|
|
22
|
+
get:
|
|
23
|
+
(luvio.adapter):
|
|
24
|
+
name: getExplainabilityActionLogs
|
|
25
|
+
post:
|
|
26
|
+
(luvio.adapter):
|
|
27
|
+
name: storeExplainabilityActionLog
|