@salesforce/lds-adapters-platform-admin-success-guidance 1.100.2
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/platform-admin-success-guidance.js +4189 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/evaluateStep.d.ts +14 -0
- package/dist/types/src/generated/adapters/getAssistant.d.ts +27 -0
- package/dist/types/src/generated/adapters/getAssistantInfoList.d.ts +27 -0
- package/dist/types/src/generated/adapters/getAssistantList.d.ts +27 -0
- package/dist/types/src/generated/adapters/getAssistantTarget.d.ts +27 -0
- package/dist/types/src/generated/adapters/getQuestionnaire.d.ts +27 -0
- package/dist/types/src/generated/adapters/getQuestionnaires.d.ts +27 -0
- package/dist/types/src/generated/adapters/initialize.d.ts +14 -0
- package/dist/types/src/generated/adapters/saveAssistant.d.ts +16 -0
- package/dist/types/src/generated/adapters/saveAssistantList.d.ts +16 -0
- package/dist/types/src/generated/adapters/saveQuestionnaire.d.ts +16 -0
- package/dist/types/src/generated/artifacts/main.d.ts +11 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +24 -0
- package/dist/types/src/generated/resources/getAssistantPlatformByAssistantName.d.ts +16 -0
- package/dist/types/src/generated/resources/getAssistantPlatformInfoByAssistantTarget.d.ts +16 -0
- package/dist/types/src/generated/resources/getAssistantPlatformListByAssistantTarget.d.ts +16 -0
- package/dist/types/src/generated/resources/getAssistantPlatformListInfoByAssistantTarget.d.ts +16 -0
- package/dist/types/src/generated/resources/getAssistantPlatformQuestionnaireByQuestionnaireName.d.ts +16 -0
- package/dist/types/src/generated/resources/getAssistantPlatformQuestionnairesByAssistantName.d.ts +16 -0
- package/dist/types/src/generated/resources/patchAssistantPlatformByAssistantName.d.ts +16 -0
- package/dist/types/src/generated/resources/patchAssistantPlatformListByAssistantTarget.d.ts +16 -0
- package/dist/types/src/generated/resources/patchAssistantPlatformQuestionnaireByQuestionnaireName.d.ts +16 -0
- package/dist/types/src/generated/resources/patchAssistantPlatformStepByStepName.d.ts +12 -0
- package/dist/types/src/generated/resources/putAssistantPlatformInitializeByAssistantTarget.d.ts +12 -0
- package/dist/types/src/generated/types/AbstractLightningAssistantActionRepresentation.d.ts +40 -0
- package/dist/types/src/generated/types/AssistantData.d.ts +30 -0
- package/dist/types/src/generated/types/LightningAssistantAnswerDataInputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/LightningAssistantCategoryRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/LightningAssistantChoiceRepresentation.d.ts +38 -0
- package/dist/types/src/generated/types/LightningAssistantCustomActionRepresentation.d.ts +41 -0
- package/dist/types/src/generated/types/LightningAssistantInfoListRepresentation.d.ts +42 -0
- package/dist/types/src/generated/types/LightningAssistantInfoRepresentation.d.ts +56 -0
- package/dist/types/src/generated/types/LightningAssistantInitializationRepresentation.d.ts +44 -0
- package/dist/types/src/generated/types/LightningAssistantInputRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/LightningAssistantItemInputRepresentation.d.ts +38 -0
- package/dist/types/src/generated/types/LightningAssistantLayoutNodeRepresentation.d.ts +57 -0
- package/dist/types/src/generated/types/LightningAssistantLinkActionRepresentation.d.ts +37 -0
- package/dist/types/src/generated/types/LightningAssistantLinkRepresentation.d.ts +32 -0
- package/dist/types/src/generated/types/LightningAssistantListInputRepresentation.d.ts +33 -0
- package/dist/types/src/generated/types/LightningAssistantListRepresentation.d.ts +51 -0
- package/dist/types/src/generated/types/LightningAssistantLsfActionRepresentation.d.ts +44 -0
- package/dist/types/src/generated/types/LightningAssistantNoActionRepresentation.d.ts +27 -0
- package/dist/types/src/generated/types/LightningAssistantQuestionRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/LightningAssistantQuestionnaireInputRepresentation.d.ts +36 -0
- package/dist/types/src/generated/types/LightningAssistantQuestionnaireListRepresentation.d.ts +41 -0
- package/dist/types/src/generated/types/LightningAssistantQuestionnaireRepresentation.d.ts +54 -0
- package/dist/types/src/generated/types/LightningAssistantRepresentation.d.ts +99 -0
- package/dist/types/src/generated/types/LightningAssistantStepRepresentation.d.ts +76 -0
- package/dist/types/src/generated/types/LightningAssistantTargetRepresentation.d.ts +42 -0
- package/dist/types/src/generated/types/LightningAssistantTrailheadActionRepresentation.d.ts +37 -0
- package/dist/types/src/generated/types/LightningAssistantUpdateInputRepresentation.d.ts +33 -0
- package/dist/types/src/generated/types/LightningAssistantVideoActionRepresentation.d.ts +34 -0
- package/dist/types/src/generated/types/LightningAssistantWalkthroughActionRepresentation.d.ts +34 -0
- package/dist/types/src/generated/types/QuestionnaireData.d.ts +30 -0
- package/dist/types/src/generated/types/UpdateAssistantData.d.ts +30 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/platform-admin-success-guidance.js +4207 -0
- package/dist/umd/es5/platform-admin-success-guidance.js +4243 -0
- package/package.json +69 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4489 -0
- package/src/raml/api.raml +736 -0
- package/src/raml/luvio.raml +98 -0
|
@@ -0,0 +1,736 @@
|
|
|
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/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
|
+
AbstractLightningAssistantActionRepresentation:
|
|
29
|
+
description: The action collection
|
|
30
|
+
discriminator: actionType
|
|
31
|
+
type: object
|
|
32
|
+
properties:
|
|
33
|
+
actionType:
|
|
34
|
+
description: The action type
|
|
35
|
+
type: string
|
|
36
|
+
enum:
|
|
37
|
+
- Custom
|
|
38
|
+
- Link
|
|
39
|
+
- Lsf
|
|
40
|
+
- NoAction
|
|
41
|
+
- TlxModule
|
|
42
|
+
- Video
|
|
43
|
+
- Walkthrough
|
|
44
|
+
LightningAssistantAnswerDataInputRepresentation:
|
|
45
|
+
description: An Input Representation for a question to answer mapping within a
|
|
46
|
+
Lightning Assistant questionnaire.
|
|
47
|
+
type: object
|
|
48
|
+
properties:
|
|
49
|
+
answerId:
|
|
50
|
+
description: Input id for an answer to a question.
|
|
51
|
+
type: string
|
|
52
|
+
whenAnswered:
|
|
53
|
+
description: Input date of when the question was answered.
|
|
54
|
+
type: string
|
|
55
|
+
whenSeen:
|
|
56
|
+
description: Input date of when the question was seen.
|
|
57
|
+
type: string
|
|
58
|
+
LightningAssistantCategoryRepresentation:
|
|
59
|
+
description: Lightning Assistant Category
|
|
60
|
+
type: object
|
|
61
|
+
properties:
|
|
62
|
+
developerName:
|
|
63
|
+
description: The developerName of the category
|
|
64
|
+
type: string
|
|
65
|
+
recommended:
|
|
66
|
+
description: The state (true/false) if this category is recommended
|
|
67
|
+
type: boolean
|
|
68
|
+
title:
|
|
69
|
+
description: The localized title for this category
|
|
70
|
+
type: string
|
|
71
|
+
LightningAssistantChoiceRepresentation:
|
|
72
|
+
description: An question choice within a Lightning Assistant questionnaire
|
|
73
|
+
type: object
|
|
74
|
+
properties:
|
|
75
|
+
description:
|
|
76
|
+
description: The localized description for this choice
|
|
77
|
+
type: string
|
|
78
|
+
required: false # TODO Hand-rolled W-8253396
|
|
79
|
+
developerName:
|
|
80
|
+
description: The developerName of this choice
|
|
81
|
+
type: string
|
|
82
|
+
next:
|
|
83
|
+
description: The id of the follow up question to be displayed
|
|
84
|
+
type: string
|
|
85
|
+
title:
|
|
86
|
+
description: The localized title for this choice
|
|
87
|
+
type: string
|
|
88
|
+
LightningAssistantCustomActionRepresentation:
|
|
89
|
+
description: A Custom Action Representation
|
|
90
|
+
discriminatorValue: Custom
|
|
91
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
92
|
+
properties:
|
|
93
|
+
actionComponent:
|
|
94
|
+
description: The action component id for the custom action
|
|
95
|
+
type: string
|
|
96
|
+
customData:
|
|
97
|
+
description: The custom data for the custom action
|
|
98
|
+
type: object
|
|
99
|
+
properties:
|
|
100
|
+
//:
|
|
101
|
+
type: string
|
|
102
|
+
iconName:
|
|
103
|
+
description: The name of the icon displayed for the custom action
|
|
104
|
+
type: string
|
|
105
|
+
required: false # TODO Hand-rolled W-8253396
|
|
106
|
+
LightningAssistantInfoListRepresentation:
|
|
107
|
+
description: List of Assistant Infos
|
|
108
|
+
type: object
|
|
109
|
+
properties:
|
|
110
|
+
assistantInfoList:
|
|
111
|
+
description: List of assistant info
|
|
112
|
+
type: array
|
|
113
|
+
items:
|
|
114
|
+
type: LightningAssistantInfoRepresentation
|
|
115
|
+
assistantTarget:
|
|
116
|
+
description: The Lightning Assistant target
|
|
117
|
+
type: string
|
|
118
|
+
LightningAssistantInfoRepresentation:
|
|
119
|
+
description: The Info of a Lightning Assistant
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
assistantTarget:
|
|
123
|
+
description: The Lightning Assistant group this Assistant belongs in
|
|
124
|
+
type: string
|
|
125
|
+
category:
|
|
126
|
+
description: The category of the assistant
|
|
127
|
+
type: string
|
|
128
|
+
required: false # TODO Hand-rolled W-8253396
|
|
129
|
+
categoryName:
|
|
130
|
+
description: The category name of the assistant
|
|
131
|
+
type: string
|
|
132
|
+
required: false # TODO Hand-rolled W-8253396
|
|
133
|
+
contentVersion:
|
|
134
|
+
description: The content version of the assistant
|
|
135
|
+
type: string
|
|
136
|
+
debugModeEnabled:
|
|
137
|
+
description: Is the guidance center in debug mode
|
|
138
|
+
type: boolean
|
|
139
|
+
description:
|
|
140
|
+
description: The localized description for the assistant
|
|
141
|
+
type: string
|
|
142
|
+
developerName:
|
|
143
|
+
description: The Lightning Assistant developer name
|
|
144
|
+
type: string
|
|
145
|
+
icon:
|
|
146
|
+
description: The URL for the icon for the assistant
|
|
147
|
+
type: string
|
|
148
|
+
isPreview:
|
|
149
|
+
description: Whether the assistant is being previewed or not
|
|
150
|
+
type: boolean
|
|
151
|
+
title:
|
|
152
|
+
description: The localized title for the assistant
|
|
153
|
+
type: string
|
|
154
|
+
LightningAssistantInitializationRepresentation:
|
|
155
|
+
description: Indicates if Guidance Center initialization was successful
|
|
156
|
+
type: object
|
|
157
|
+
properties:
|
|
158
|
+
assistantTarget:
|
|
159
|
+
description: The Lightning Assistant target
|
|
160
|
+
type: string
|
|
161
|
+
isInitialized:
|
|
162
|
+
description: Indicates whether LEAP's async initialization has been kick-started
|
|
163
|
+
type: boolean
|
|
164
|
+
LightningAssistantInputRepresentation:
|
|
165
|
+
description: An Input Representation for a Lightning Assistant.
|
|
166
|
+
type: object
|
|
167
|
+
properties:
|
|
168
|
+
isArchived:
|
|
169
|
+
description: Input current archive value when interacting with an assistant.
|
|
170
|
+
type: boolean
|
|
171
|
+
LightningAssistantItemInputRepresentation:
|
|
172
|
+
description: An Input Representation for the Lightning Assistant Item or Step
|
|
173
|
+
Updates.
|
|
174
|
+
type: object
|
|
175
|
+
properties:
|
|
176
|
+
pathToStep:
|
|
177
|
+
description: Label Path to the step.
|
|
178
|
+
type: string
|
|
179
|
+
required: false # TODO Hand-rolled W-8253396
|
|
180
|
+
status:
|
|
181
|
+
description: Input status for a Lightning Assistant item or step.
|
|
182
|
+
type: string
|
|
183
|
+
enum:
|
|
184
|
+
- Completed
|
|
185
|
+
- InProgress
|
|
186
|
+
- Invisible
|
|
187
|
+
- NotStarted
|
|
188
|
+
whenPerformed:
|
|
189
|
+
description: Input date of when the item or step was completed.
|
|
190
|
+
type: string
|
|
191
|
+
whenSeen:
|
|
192
|
+
description: Input date of when the item or step was seen.
|
|
193
|
+
type: string
|
|
194
|
+
LightningAssistantLayoutNodeRepresentation:
|
|
195
|
+
description: An item for use in the Lightning Assistant
|
|
196
|
+
type: object
|
|
197
|
+
properties:
|
|
198
|
+
children:
|
|
199
|
+
description: The list of children for this node
|
|
200
|
+
type: array
|
|
201
|
+
items:
|
|
202
|
+
type: any
|
|
203
|
+
description:
|
|
204
|
+
description: The localized description for this node
|
|
205
|
+
type: string | nil # TODO Hand-rolled W-8253396
|
|
206
|
+
status:
|
|
207
|
+
description: The status for this node
|
|
208
|
+
type: string | nil # TODO Hand-rolled W-8253396
|
|
209
|
+
enum:
|
|
210
|
+
- Completed
|
|
211
|
+
- InProgress
|
|
212
|
+
- Invisible
|
|
213
|
+
- NotStarted
|
|
214
|
+
step:
|
|
215
|
+
description: The list of substeps for an node
|
|
216
|
+
type: LightningAssistantStepRepresentation | nil # TODO Hand-rolled W-8253396
|
|
217
|
+
tags:
|
|
218
|
+
description: Tags associated with this node
|
|
219
|
+
type: array
|
|
220
|
+
items:
|
|
221
|
+
type: string
|
|
222
|
+
title:
|
|
223
|
+
description: The localized title for this node
|
|
224
|
+
type: string | nil # TODO Hand-rolled W-8253396
|
|
225
|
+
type:
|
|
226
|
+
description: The type for this node
|
|
227
|
+
type: string
|
|
228
|
+
LightningAssistantLinkActionRepresentation:
|
|
229
|
+
description: A Link Action representation
|
|
230
|
+
discriminatorValue: Link
|
|
231
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
232
|
+
properties:
|
|
233
|
+
iconName:
|
|
234
|
+
description: The icon name for the link action
|
|
235
|
+
type: string
|
|
236
|
+
required: false # TODO Hand-rolled W-8253396
|
|
237
|
+
label:
|
|
238
|
+
description: The localized link label
|
|
239
|
+
type: string
|
|
240
|
+
required: false # TODO Hand-rolled W-8253396
|
|
241
|
+
url:
|
|
242
|
+
description: The localized link url
|
|
243
|
+
type: string
|
|
244
|
+
LightningAssistantLinkRepresentation:
|
|
245
|
+
description: A link representation
|
|
246
|
+
type: object
|
|
247
|
+
properties:
|
|
248
|
+
label:
|
|
249
|
+
description: The localized link label
|
|
250
|
+
type: string
|
|
251
|
+
url:
|
|
252
|
+
description: The localized link url
|
|
253
|
+
type: string
|
|
254
|
+
LightningAssistantListInputRepresentation:
|
|
255
|
+
description: An Input Representation for a Lightning Assistant List.
|
|
256
|
+
type: object
|
|
257
|
+
properties:
|
|
258
|
+
assistantList:
|
|
259
|
+
description: Input List for Lightning Assistant List
|
|
260
|
+
type: object
|
|
261
|
+
properties:
|
|
262
|
+
//:
|
|
263
|
+
type: object
|
|
264
|
+
AssistantData: # TODO Hand Rolled 'AssistantData' W-9311618 and W-9311623
|
|
265
|
+
description: A Wrapper around the LightningAssistantListInputRepresentation
|
|
266
|
+
type: object
|
|
267
|
+
properties:
|
|
268
|
+
assistantData:
|
|
269
|
+
description: The Oas Body Name for Assistant Data.
|
|
270
|
+
type: LightningAssistantListInputRepresentation
|
|
271
|
+
LightningAssistantListRepresentation:
|
|
272
|
+
description: List of Assistants for the Lightning Assistant
|
|
273
|
+
type: object
|
|
274
|
+
properties:
|
|
275
|
+
assistantList:
|
|
276
|
+
description: List of assistants
|
|
277
|
+
type: array
|
|
278
|
+
items:
|
|
279
|
+
type: LightningAssistantRepresentation
|
|
280
|
+
assistantTarget:
|
|
281
|
+
description: The Lightning Assistant target
|
|
282
|
+
type: string
|
|
283
|
+
LightningAssistantLsfActionRepresentation:
|
|
284
|
+
description: An LSF Action representation
|
|
285
|
+
discriminatorValue: Lsf
|
|
286
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
287
|
+
properties:
|
|
288
|
+
customData:
|
|
289
|
+
description: Custom data to be used when creating the LSF
|
|
290
|
+
type: object
|
|
291
|
+
required: false # TODO Hand-rolled W-8253396
|
|
292
|
+
properties:
|
|
293
|
+
//:
|
|
294
|
+
type: string
|
|
295
|
+
iconName:
|
|
296
|
+
description: The icon name for the link action
|
|
297
|
+
type: string
|
|
298
|
+
required: false # TODO Hand-rolled W-8253396
|
|
299
|
+
label:
|
|
300
|
+
description: The label for the button
|
|
301
|
+
type: string
|
|
302
|
+
required: false # TODO Hand-rolled W-8253396
|
|
303
|
+
lsf:
|
|
304
|
+
description: The LSF component ref
|
|
305
|
+
type: string
|
|
306
|
+
LightningAssistantNoActionRepresentation:
|
|
307
|
+
description: A NoAction Representation
|
|
308
|
+
discriminatorValue: NoAction
|
|
309
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
310
|
+
properties: {}
|
|
311
|
+
LightningAssistantQuestionRepresentation:
|
|
312
|
+
description: A queston from a Lightning Assistant questionnaire
|
|
313
|
+
type: object
|
|
314
|
+
properties:
|
|
315
|
+
choices:
|
|
316
|
+
description: The choices that can be selected to answer this question
|
|
317
|
+
type: array
|
|
318
|
+
items:
|
|
319
|
+
type: LightningAssistantChoiceRepresentation
|
|
320
|
+
description:
|
|
321
|
+
description: The localized description for this question
|
|
322
|
+
type: string
|
|
323
|
+
required: false # TODO Hand-rolled W-8253396
|
|
324
|
+
developerName:
|
|
325
|
+
description: The developer name of this question
|
|
326
|
+
type: string
|
|
327
|
+
link:
|
|
328
|
+
description: A localized help link for this question
|
|
329
|
+
type: LightningAssistantLinkRepresentation | nil
|
|
330
|
+
required: false # TODO Hand-rolled W-8253396
|
|
331
|
+
title:
|
|
332
|
+
description: The localized title for this question
|
|
333
|
+
type: string
|
|
334
|
+
LightningAssistantQuestionnaireInputRepresentation:
|
|
335
|
+
description: An Input Representation for an answer to question from a Lightning
|
|
336
|
+
Assistant questionnaire.
|
|
337
|
+
type: object
|
|
338
|
+
properties:
|
|
339
|
+
status:
|
|
340
|
+
description: Input current status when completing a questionnaire.
|
|
341
|
+
type: string
|
|
342
|
+
enum:
|
|
343
|
+
- Completed
|
|
344
|
+
- InProgress
|
|
345
|
+
- Invisible
|
|
346
|
+
- NotStarted
|
|
347
|
+
- Skipped
|
|
348
|
+
questionToAnswer:
|
|
349
|
+
description: Input mapping of questions to answer data.
|
|
350
|
+
type: object
|
|
351
|
+
properties:
|
|
352
|
+
//:
|
|
353
|
+
type: object
|
|
354
|
+
QuestionnaireData: # TODO W-8253396: Hand Rolled 'QuestionnaireData'
|
|
355
|
+
description: A Wrapper around the LightningAssistantQuestionnaireInputRepresentation
|
|
356
|
+
type: object
|
|
357
|
+
properties:
|
|
358
|
+
questionnaireData:
|
|
359
|
+
description: The Oas Body Name for Questionnaire Data.
|
|
360
|
+
type: LightningAssistantQuestionnaireInputRepresentation
|
|
361
|
+
LightningAssistantQuestionnaireListRepresentation:
|
|
362
|
+
description: List of Questionnaires for the Lightning Assistant
|
|
363
|
+
type: object
|
|
364
|
+
properties:
|
|
365
|
+
assistantName:
|
|
366
|
+
description: The Lightning Assistant name for this questionnaire list
|
|
367
|
+
type: string
|
|
368
|
+
questionnaireNames:
|
|
369
|
+
description: List of questionnaire names
|
|
370
|
+
type: array
|
|
371
|
+
items:
|
|
372
|
+
type: string
|
|
373
|
+
LightningAssistantQuestionnaireRepresentation:
|
|
374
|
+
description: A Lightning Assistant Questionnaire
|
|
375
|
+
type: object
|
|
376
|
+
properties:
|
|
377
|
+
assistantTarget:
|
|
378
|
+
description: The Lightning Assistant target this questionnaire belongs in
|
|
379
|
+
type: string
|
|
380
|
+
description:
|
|
381
|
+
description: The localized description for this questionnaire
|
|
382
|
+
type: string
|
|
383
|
+
required: false # TODO Hand-rolled W-8253396
|
|
384
|
+
developerName:
|
|
385
|
+
description: The developer name of a questionnaire that can be displayed
|
|
386
|
+
type: string
|
|
387
|
+
questions:
|
|
388
|
+
description: The list of questions for this questionnaire
|
|
389
|
+
type: array
|
|
390
|
+
items:
|
|
391
|
+
type: LightningAssistantQuestionRepresentation
|
|
392
|
+
status:
|
|
393
|
+
description: The status for the questionnaire
|
|
394
|
+
type: string
|
|
395
|
+
enum:
|
|
396
|
+
- Completed
|
|
397
|
+
- InProgress
|
|
398
|
+
- Invisible
|
|
399
|
+
- NotStarted
|
|
400
|
+
- Skipped
|
|
401
|
+
title:
|
|
402
|
+
description: The localized title for this questionnaire
|
|
403
|
+
type: string
|
|
404
|
+
LightningAssistantRepresentation:
|
|
405
|
+
description: Lightning Assistant
|
|
406
|
+
type: object
|
|
407
|
+
properties:
|
|
408
|
+
assistantTarget:
|
|
409
|
+
description: The Lightning Assistant group this Assistant belongs in
|
|
410
|
+
type: string
|
|
411
|
+
category:
|
|
412
|
+
description: The category of the assistant
|
|
413
|
+
type: string
|
|
414
|
+
required: false # TODO Hand-rolled W-8253396
|
|
415
|
+
categoryName:
|
|
416
|
+
description: The category name of the assistant
|
|
417
|
+
type: string
|
|
418
|
+
required: false # TODO Hand-rolled W-8253396
|
|
419
|
+
completionDate:
|
|
420
|
+
description: The completion date for the assistant
|
|
421
|
+
type: string
|
|
422
|
+
required: false # TODO Hand-rolled W-8253396
|
|
423
|
+
contentVersion:
|
|
424
|
+
description: The content version of the assistant
|
|
425
|
+
type: string
|
|
426
|
+
debugModeEnabled:
|
|
427
|
+
description: Is the guidance center in debug mode
|
|
428
|
+
type: boolean
|
|
429
|
+
description:
|
|
430
|
+
description: The localized description for the assistant
|
|
431
|
+
type: string
|
|
432
|
+
required: false # TODO Hand-rolled W-8253396
|
|
433
|
+
developerName:
|
|
434
|
+
description: The Lightning Assistant developer name
|
|
435
|
+
type: string
|
|
436
|
+
estimatedMinutesToComplete:
|
|
437
|
+
description: The estimated minutes to complete of the assistant
|
|
438
|
+
type: integer
|
|
439
|
+
required: false # TODO Hand-rolled W-8253396
|
|
440
|
+
icon:
|
|
441
|
+
description: The URL for the icon for the assistant
|
|
442
|
+
type: string
|
|
443
|
+
isArchived:
|
|
444
|
+
description: Whether the assistant is archived or not
|
|
445
|
+
type: boolean
|
|
446
|
+
isPreview:
|
|
447
|
+
description: Whether the assistant is being previewed or not
|
|
448
|
+
type: boolean
|
|
449
|
+
layout:
|
|
450
|
+
description: Lightning Assistant Layout
|
|
451
|
+
type: LightningAssistantLayoutNodeRepresentation
|
|
452
|
+
numberOfSteps:
|
|
453
|
+
description: Number of steps in the assistant
|
|
454
|
+
type: integer
|
|
455
|
+
progress:
|
|
456
|
+
description: The % of steps completed for the assistant
|
|
457
|
+
format: double
|
|
458
|
+
type: number
|
|
459
|
+
questionnaireIds:
|
|
460
|
+
description: The list of questionnaire Ids for this assistant
|
|
461
|
+
type: array
|
|
462
|
+
items:
|
|
463
|
+
type: string
|
|
464
|
+
status:
|
|
465
|
+
description: The completion status for the assistant
|
|
466
|
+
type: string
|
|
467
|
+
enum:
|
|
468
|
+
- Completed
|
|
469
|
+
- InProgress
|
|
470
|
+
- Invisible
|
|
471
|
+
- NotStarted
|
|
472
|
+
title:
|
|
473
|
+
description: The localized title for the assistant
|
|
474
|
+
type: string
|
|
475
|
+
LightningAssistantStepRepresentation:
|
|
476
|
+
description: Lightning Assistant Item Step
|
|
477
|
+
type: object
|
|
478
|
+
properties:
|
|
479
|
+
action:
|
|
480
|
+
description: The action that will occur when an step is selected
|
|
481
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
482
|
+
description:
|
|
483
|
+
description: The localized description for this step
|
|
484
|
+
type: string
|
|
485
|
+
required: false # TODO Hand-rolled W-8253396
|
|
486
|
+
figureComponent:
|
|
487
|
+
description: The id of the component used to display this step's figure
|
|
488
|
+
type: string
|
|
489
|
+
required: false # TODO Hand-rolled W-8253396
|
|
490
|
+
firstSeenTime:
|
|
491
|
+
description: Date when this step was first seen
|
|
492
|
+
type: string
|
|
493
|
+
required: false # TODO Hand-rolled W-8253396
|
|
494
|
+
id:
|
|
495
|
+
description: The id of the item
|
|
496
|
+
type: string
|
|
497
|
+
isManaged:
|
|
498
|
+
description: Whether this step has a completedWhen or not
|
|
499
|
+
type: boolean
|
|
500
|
+
status:
|
|
501
|
+
description: The status for this step
|
|
502
|
+
type: string
|
|
503
|
+
enum:
|
|
504
|
+
- Completed
|
|
505
|
+
- InProgress
|
|
506
|
+
- Invisible
|
|
507
|
+
- NotStarted
|
|
508
|
+
stepComponent:
|
|
509
|
+
description: The id of the component used to display this step
|
|
510
|
+
type: string
|
|
511
|
+
required: false # TODO Hand-rolled W-8253396
|
|
512
|
+
tags:
|
|
513
|
+
description: Tags associated with this item
|
|
514
|
+
type: array
|
|
515
|
+
items:
|
|
516
|
+
type: string
|
|
517
|
+
title:
|
|
518
|
+
description: The localized title for this step
|
|
519
|
+
type: string
|
|
520
|
+
updateStrategy:
|
|
521
|
+
description: When isManaged is true, use this value to determine how to update
|
|
522
|
+
the status
|
|
523
|
+
type: string
|
|
524
|
+
enum:
|
|
525
|
+
- None
|
|
526
|
+
- Periodic
|
|
527
|
+
LightningAssistantTargetRepresentation:
|
|
528
|
+
description: Assistant Target definition for Lightning Assistant Framework
|
|
529
|
+
type: object
|
|
530
|
+
properties:
|
|
531
|
+
developerName:
|
|
532
|
+
description: The developer name of this assistant target
|
|
533
|
+
type: string
|
|
534
|
+
categoryList:
|
|
535
|
+
description: The list of categories (in order) for this assistant target
|
|
536
|
+
type: array
|
|
537
|
+
items:
|
|
538
|
+
type: LightningAssistantCategoryRepresentation
|
|
539
|
+
LightningAssistantTrailheadActionRepresentation:
|
|
540
|
+
description: A Trailhead Action Representation
|
|
541
|
+
discriminatorValue: TlxModule
|
|
542
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
543
|
+
properties:
|
|
544
|
+
iconName:
|
|
545
|
+
description: The icon name for the Trailhead action
|
|
546
|
+
type: string
|
|
547
|
+
required: false # TODO Hand-rolled W-8253396
|
|
548
|
+
moduleId:
|
|
549
|
+
description: The module id for the Trailhead in LEX module
|
|
550
|
+
type: string | nil
|
|
551
|
+
url:
|
|
552
|
+
description: The url for the Trailhead module
|
|
553
|
+
type: string | nil
|
|
554
|
+
LightningAssistantUpdateInputRepresentation:
|
|
555
|
+
description: An Input Representation for the Lightning Assistant Updates.
|
|
556
|
+
type: object
|
|
557
|
+
properties:
|
|
558
|
+
items:
|
|
559
|
+
description: Input id for a Lightning Assistant item or step.
|
|
560
|
+
type: object
|
|
561
|
+
properties:
|
|
562
|
+
//:
|
|
563
|
+
type: object
|
|
564
|
+
UpdateAssistantData: # TODO: W-8253396 Hand Rolled 'assistantData'
|
|
565
|
+
description: The LightningAssistantUpdateInputRepresentation wrapper
|
|
566
|
+
type: object
|
|
567
|
+
properties:
|
|
568
|
+
assistantData:
|
|
569
|
+
description: The Oas Body Name for Assistant Data.
|
|
570
|
+
type: LightningAssistantUpdateInputRepresentation
|
|
571
|
+
LightningAssistantVideoActionRepresentation:
|
|
572
|
+
description: A Video Action Representation
|
|
573
|
+
discriminatorValue: Video
|
|
574
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
575
|
+
properties:
|
|
576
|
+
iconName:
|
|
577
|
+
description: The icon name for the video action
|
|
578
|
+
type: string
|
|
579
|
+
required: false # TODO Hand-rolled W-8253396
|
|
580
|
+
url:
|
|
581
|
+
description: The video action url
|
|
582
|
+
type: string
|
|
583
|
+
LightningAssistantWalkthroughActionRepresentation:
|
|
584
|
+
description: A Walkthrough Action Representation
|
|
585
|
+
discriminatorValue: Walkthrough
|
|
586
|
+
type: AbstractLightningAssistantActionRepresentation
|
|
587
|
+
properties:
|
|
588
|
+
iconName:
|
|
589
|
+
description: The icon name for the walkthrough action
|
|
590
|
+
type: string
|
|
591
|
+
required: false # TODO Hand-rolled W-8253396
|
|
592
|
+
promptId:
|
|
593
|
+
description: The prompt id for the walkthrough action
|
|
594
|
+
type: string
|
|
595
|
+
/assistant-platform:
|
|
596
|
+
/questionnaire/{questionnaireName}:
|
|
597
|
+
get:
|
|
598
|
+
description: Get the Guidance Center Questionnaire and status
|
|
599
|
+
responses:
|
|
600
|
+
'200':
|
|
601
|
+
description: Success
|
|
602
|
+
body:
|
|
603
|
+
application/json:
|
|
604
|
+
type: LightningAssistantQuestionnaireRepresentation
|
|
605
|
+
patch:
|
|
606
|
+
description: Save the Guidance Center Questionnaire answers and status
|
|
607
|
+
responses:
|
|
608
|
+
'200':
|
|
609
|
+
description: Success
|
|
610
|
+
body:
|
|
611
|
+
application/json:
|
|
612
|
+
type: LightningAssistantQuestionnaireRepresentation
|
|
613
|
+
body:
|
|
614
|
+
application/json:
|
|
615
|
+
type: QuestionnaireData # TODO W-8253396: Hand rolled 'type' to provide a wrapper that uses the oas-body-name
|
|
616
|
+
(oas-body-name): questionnaireData
|
|
617
|
+
uriParameters:
|
|
618
|
+
questionnaireName:
|
|
619
|
+
type: string
|
|
620
|
+
required: true
|
|
621
|
+
/step/{stepName}:
|
|
622
|
+
patch:
|
|
623
|
+
description: Save Lightning Assistant Step Resource
|
|
624
|
+
responses:
|
|
625
|
+
'200':
|
|
626
|
+
description: Success
|
|
627
|
+
body:
|
|
628
|
+
application/json:
|
|
629
|
+
type: LightningAssistantStepRepresentation
|
|
630
|
+
uriParameters:
|
|
631
|
+
stepName:
|
|
632
|
+
type: string
|
|
633
|
+
required: true
|
|
634
|
+
/{assistantName}:
|
|
635
|
+
get:
|
|
636
|
+
description: Get Guidance Center Assistant
|
|
637
|
+
responses:
|
|
638
|
+
'200':
|
|
639
|
+
description: Success
|
|
640
|
+
body:
|
|
641
|
+
application/json:
|
|
642
|
+
type: LightningAssistantRepresentation
|
|
643
|
+
patch:
|
|
644
|
+
description: Save the Guidance Center Assistant
|
|
645
|
+
responses:
|
|
646
|
+
'200':
|
|
647
|
+
description: Success
|
|
648
|
+
body:
|
|
649
|
+
application/json:
|
|
650
|
+
type: LightningAssistantRepresentation
|
|
651
|
+
body:
|
|
652
|
+
application/json:
|
|
653
|
+
type: UpdateAssistantData # TODO W-8253396: Hand rolled 'type' to provide a wrapper that uses the oas-body-name
|
|
654
|
+
(oas-body-name): assistantData
|
|
655
|
+
uriParameters:
|
|
656
|
+
assistantName:
|
|
657
|
+
type: string
|
|
658
|
+
required: true
|
|
659
|
+
/{assistantName}/questionnaires:
|
|
660
|
+
get:
|
|
661
|
+
description: Get Guidance Center Active Questionnaires
|
|
662
|
+
responses:
|
|
663
|
+
'200':
|
|
664
|
+
description: Success
|
|
665
|
+
body:
|
|
666
|
+
application/json:
|
|
667
|
+
type: LightningAssistantQuestionnaireListRepresentation
|
|
668
|
+
uriParameters:
|
|
669
|
+
assistantName:
|
|
670
|
+
type: string
|
|
671
|
+
required: true
|
|
672
|
+
/{assistantTarget}:
|
|
673
|
+
/info:
|
|
674
|
+
get:
|
|
675
|
+
description: Retrieve Lightning Assistant Target Resource
|
|
676
|
+
responses:
|
|
677
|
+
'200':
|
|
678
|
+
description: Success
|
|
679
|
+
body:
|
|
680
|
+
application/json:
|
|
681
|
+
type: LightningAssistantTargetRepresentation
|
|
682
|
+
uriParameters:
|
|
683
|
+
assistantTarget:
|
|
684
|
+
type: string
|
|
685
|
+
required: true
|
|
686
|
+
/initialize:
|
|
687
|
+
put:
|
|
688
|
+
description: Initiate Asynchronous Initialization
|
|
689
|
+
responses:
|
|
690
|
+
'200':
|
|
691
|
+
description: Success
|
|
692
|
+
body:
|
|
693
|
+
application/json:
|
|
694
|
+
type: LightningAssistantInitializationRepresentation
|
|
695
|
+
uriParameters:
|
|
696
|
+
assistantTarget:
|
|
697
|
+
type: string
|
|
698
|
+
required: true
|
|
699
|
+
/list:
|
|
700
|
+
get:
|
|
701
|
+
description: Get Guidance Center Active Assistants
|
|
702
|
+
responses:
|
|
703
|
+
'200':
|
|
704
|
+
description: Success
|
|
705
|
+
body:
|
|
706
|
+
application/json:
|
|
707
|
+
type: LightningAssistantListRepresentation
|
|
708
|
+
patch:
|
|
709
|
+
description: Save the Guidance Center Assistants
|
|
710
|
+
responses:
|
|
711
|
+
'200':
|
|
712
|
+
description: Success
|
|
713
|
+
body:
|
|
714
|
+
application/json:
|
|
715
|
+
type: LightningAssistantListRepresentation
|
|
716
|
+
body:
|
|
717
|
+
application/json:
|
|
718
|
+
type: AssistantData # TODO W-8253396: Hand rolled 'type' to provide a wrapper that uses the oas-body-name
|
|
719
|
+
(oas-body-name): assistantData
|
|
720
|
+
uriParameters:
|
|
721
|
+
assistantTarget:
|
|
722
|
+
type: string
|
|
723
|
+
required: true
|
|
724
|
+
/list/info:
|
|
725
|
+
get:
|
|
726
|
+
description: Get Guidance Center Active Assistant Infos
|
|
727
|
+
responses:
|
|
728
|
+
'200':
|
|
729
|
+
description: Success
|
|
730
|
+
body:
|
|
731
|
+
application/json:
|
|
732
|
+
type: LightningAssistantInfoListRepresentation
|
|
733
|
+
uriParameters:
|
|
734
|
+
assistantTarget:
|
|
735
|
+
type: string
|
|
736
|
+
required: true
|