@salesforce/lds-adapters-platform-interaction-orchestrator 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.
@@ -0,0 +1,182 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '52.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
+ FlowOrchestrationInstanceCollectionRepresentation:
29
+ description: Information about a collection of Orchestration instances.
30
+ type: object
31
+ properties:
32
+ instances:
33
+ description: Collection of Orchestration instances
34
+ type: array
35
+ items:
36
+ type: FlowOrchestrationInstanceRepresentation
37
+ FlowOrchestrationInstanceRepresentation:
38
+ description: Information about an Orchestration instance.
39
+ type: object
40
+ properties:
41
+ flowDefinitionDeveloperName:
42
+ description: Developer name of the flow definition
43
+ type: string | nil
44
+ flowDefinitionId:
45
+ description: Id of the flow definition
46
+ type: string | nil
47
+ flowDefinitionName:
48
+ description: Name of the flow definition
49
+ type: string | nil
50
+ id:
51
+ description: Orchestrator instance id
52
+ type: string
53
+ interviewId:
54
+ description: Id of the interview to resume
55
+ type: string | nil
56
+ stageInstances:
57
+ description: The Orchestrator Instance stages
58
+ type: array
59
+ items:
60
+ type: FlowOrchestrationStageInstanceRepresentation
61
+ status:
62
+ description: The Orchestrator Instance status
63
+ type: string
64
+ enum:
65
+ - Completed
66
+ - InProgress
67
+ - NotStarted
68
+ FlowOrchestrationStageInstanceRepresentation:
69
+ description: Information about an Orchestration stage instance.
70
+ type: object
71
+ properties:
72
+ id:
73
+ description: Orchestration stage instance id
74
+ type: string
75
+ label:
76
+ description: Orchestration stage instance label
77
+ type: string | nil
78
+ name:
79
+ description: Orchestration stage instance name
80
+ type: string | nil
81
+ status:
82
+ description: The Orchestration Stage Instance status
83
+ type: string
84
+ enum:
85
+ - Completed
86
+ - InProgress
87
+ - NotStarted
88
+ stepInstances:
89
+ description: Orchestration stage instance steps
90
+ type: array
91
+ items:
92
+ type: FlowOrchestrationStepInstanceRepresentation
93
+ FlowOrchestrationStepInstanceRepresentation:
94
+ description: Information about an Orchestration step instance.
95
+ type: object
96
+ properties:
97
+ id:
98
+ description: Orchestration step instance id
99
+ type: string
100
+ label:
101
+ description: Orchestration step instance label
102
+ type: string | nil
103
+ name:
104
+ description: Orchestration step instance name
105
+ type: string | nil
106
+ status:
107
+ description: The Orchestration Step Instance status
108
+ type: string
109
+ enum:
110
+ - Completed
111
+ - InProgress
112
+ - NotStarted
113
+ stepType:
114
+ description: The Orchestration Step Instance step type
115
+ type: string
116
+ enum:
117
+ - Task
118
+ - UserActionRequired
119
+ workItems:
120
+ description: Orchestration step instance work items
121
+ type: array
122
+ items:
123
+ type: FlowOrchestrationWorkItemRepresentation
124
+ FlowOrchestrationWorkAssignmentRepresentation:
125
+ description: Information about an Orchestration work assignment.
126
+ type: object
127
+ properties: {}
128
+ FlowOrchestrationWorkItemRepresentation:
129
+ description: Information about an Orchestration work item.
130
+ type: object
131
+ properties:
132
+ assigneeId:
133
+ description: The assignee for this Orchestrator work item
134
+ type: string
135
+ description:
136
+ description: Description for this Orchestration work item
137
+ type: string | nil
138
+ id:
139
+ description: Orchestration work item id
140
+ type: string
141
+ label:
142
+ description: Label key for this work item
143
+ type: string | nil
144
+ relatedRecordId:
145
+ description: The record this work item is related to
146
+ type: string | nil
147
+ screenFlowDeveloperName:
148
+ description: Developer name of the screen flow to start when assignees work
149
+ on this work item
150
+ type: string
151
+ screenFlowId:
152
+ description: Id of the screen flow to start when assignees work on this work
153
+ item
154
+ type: string
155
+ screenFlowInputs:
156
+ description: Input parameters for the screen flow
157
+ type: string
158
+ status:
159
+ description: This work item status
160
+ type: string
161
+ enum:
162
+ - Assigned
163
+ - Completed
164
+ - InProgress
165
+ - NotStarted
166
+ /connect/interaction/orchestration:
167
+ /instances:
168
+ get:
169
+ description: Retrieves a collection of Orchestration instances
170
+ responses:
171
+ '200':
172
+ description: Success
173
+ body:
174
+ application/json:
175
+ type: FlowOrchestrationInstanceCollectionRepresentation
176
+ queryParameters:
177
+ contextRecordId:
178
+ type: string
179
+ required: false
180
+ relatedRecordId:
181
+ type: string
182
+ required: false
@@ -0,0 +1,21 @@
1
+ #%RAML 1.0 Overlay
2
+ extends: ./api.raml
3
+
4
+ uses:
5
+ luvio: luvio://annotations.raml
6
+
7
+ (luvio.keyPrefix): 'InteractionOrchestrator'
8
+ (luvio.ttl): 2592000000
9
+
10
+ types:
11
+ FlowOrchestrationInstanceCollectionRepresentation:
12
+ (luvio.ttl): 100
13
+
14
+ /connect/interaction/orchestration:
15
+ /instances:
16
+ get:
17
+ (luvio.adapter):
18
+ name: getOrchestrationInstanceCollection
19
+ oneOfParams:
20
+ - relatedRecordId
21
+ #in 234 add optional params here