@salesforce/lds-adapters-analytics-wave-private 1.280.0 → 1.282.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/src/raml/api.raml CHANGED
@@ -56,6 +56,127 @@ types:
56
56
  query:
57
57
  description: The query
58
58
  type: string
59
+ TemplateSetupJobRepresentation:
60
+ description: The configuration and status of a template setup job.
61
+ type: object
62
+ properties:
63
+ description:
64
+ description: The job description.
65
+ type: string
66
+ required: false # TODO Hand-rolled W-8253396
67
+ duration:
68
+ description: The job's last execution time duration.
69
+ # format: int64
70
+ # type: integer
71
+ # TODO Hand-rolled W-8274943
72
+ format: double
73
+ type: number
74
+ required: false # TODO Hand-rolled W-8253396
75
+ name:
76
+ description: The job name.
77
+ type: string
78
+ status:
79
+ description: The job's last execution status
80
+ type: string
81
+ enum:
82
+ - Completed
83
+ - ExistingSetup
84
+ - Failed
85
+ - InProgress
86
+ - NotExecuted
87
+ - PreConditionNotMet
88
+ tasks:
89
+ description: The tasks in this job.
90
+ type: array
91
+ items:
92
+ type: TemplateSetupTaskRepresentation
93
+ TemplateSetupPlanRepresentation:
94
+ description: The configuration and current status of a template setup plan.
95
+ type: object
96
+ properties:
97
+ description:
98
+ description: The setup plan description.
99
+ type: string
100
+ required: false # TODO Hand-rolled W-8253396
101
+ details:
102
+ description: The task detailed description.
103
+ type: string
104
+ required: false # TODO Hand-rolled W-8253396
105
+ duration:
106
+ description: The setup plan's last execution duration.
107
+ # format: int64
108
+ # type: integer
109
+ # TODO Hand-rolled W-8274943
110
+ format: double
111
+ type: number
112
+ required: false # TODO Hand-rolled W-8253396
113
+ jobs:
114
+ description: The jobs in this plan.
115
+ type: array
116
+ items:
117
+ type: TemplateSetupJobRepresentation
118
+ name:
119
+ description: The setup plan name.
120
+ type: string
121
+ status:
122
+ description: The setup plan's last execution status.
123
+ type: string
124
+ enum:
125
+ - Completed
126
+ - ExistingSetup
127
+ - Failed
128
+ - InProgress
129
+ - NotExecuted
130
+ - PreConditionNotMet
131
+ templateId:
132
+ description: The template id for this setup plan.
133
+ type: string
134
+ TemplateSetupTaskRepresentation:
135
+ description: The configuration and status of a template setup task.
136
+ type: object
137
+ properties:
138
+ description:
139
+ description: The task description.
140
+ type: string
141
+ required: false # TODO Hand-rolled W-8253396
142
+ details:
143
+ description: The task detailed description.
144
+ type: string
145
+ required: false # TODO Hand-rolled W-8253396
146
+ duration:
147
+ description: The task's last execution time duration.
148
+ # format: int64
149
+ # type: integer
150
+ # TODO Hand-rolled W-8274943
151
+ format: double
152
+ type: number
153
+ required: false # TODO Hand-rolled W-8253396
154
+ enabled:
155
+ description: Is the resulting setup for this task enabled.
156
+ type: boolean
157
+ required: false # TODO Hand-rolled W-8253396
158
+ error:
159
+ description: Any error message if the task's last execution failed.
160
+ type: string
161
+ required: false # TODO Hand-rolled W-8253396
162
+ name:
163
+ description: The task name.
164
+ type: string
165
+ setupUrl:
166
+ description: The url or url path to perform the task configuration manually.
167
+ Typically only shown on error.
168
+ type: string
169
+ required: false # TODO Hand-rolled W-8253396
170
+ status:
171
+ description: The task's last execution status.
172
+ type: string
173
+ enum:
174
+ - Completed
175
+ - ExistingSetup
176
+ - Failed
177
+ - InProgress
178
+ - NotExecuted
179
+ - PreConditionNotMet
59
180
 
60
181
  /wave:
61
182
  /soql:
@@ -71,3 +192,29 @@ types:
71
192
  application/json:
72
193
  type: SoqlQueryInputRepresentation
73
194
  (oas-body-name): query
195
+ /templates/{templateIdOrApiName}/plans/{planName}:
196
+ get:
197
+ displayName: getWaveTemplateSetupPlan
198
+ description: Returns the plan.
199
+ responses:
200
+ '200':
201
+ description: Success
202
+ body:
203
+ application/json:
204
+ type: TemplateSetupPlanRepresentation
205
+ post:
206
+ displayName: postWaveTemplateSetupPlan
207
+ description: Execute a plan.
208
+ responses:
209
+ '200':
210
+ description: Success
211
+ body:
212
+ application/json:
213
+ type: TemplateSetupPlanRepresentation
214
+ uriParameters:
215
+ planName:
216
+ type: string
217
+ required: true
218
+ templateIdOrApiName:
219
+ type: string
220
+ required: true
@@ -11,6 +11,11 @@ types:
11
11
  SoqlQueryResultRepresentation:
12
12
  (luvio.opaque): true
13
13
  (luvio.ttl): 5000
14
+ TemplateSetupPlanRepresentation:
15
+ (luvio.key):
16
+ templateId: templateId
17
+ planName: name
18
+ (luvio.ttl): 1000
14
19
 
15
20
  /wave:
16
21
  /soql:
@@ -18,3 +23,13 @@ types:
18
23
  (luvio.adapter):
19
24
  name: executeSoqlQueryPost
20
25
  (luvio.method): get
26
+ /templates/{templateIdOrApiName}/plans/{planName}:
27
+ get:
28
+ (luvio.adapter):
29
+ name: getTemplateSetupPlan
30
+ (luvio.key):
31
+ templateId: urlParams.templateIdOrApiName
32
+ planName: urlParams.planName
33
+ post:
34
+ (luvio.adapter):
35
+ name: executeTemplateSetupPlan