@salesforce/lds-adapters-analytics-app-framework 1.303.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/analytics-app-framework.js +2886 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createApp.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteApp.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getApp.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getAppAssets.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getApps.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getTemplate.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getTemplateConfig.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getTemplates.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkAppsByAppIdOrApiName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkApps.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsAssetsByAppIdOrApiName.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsByAppIdOrApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplates.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesConfigurationByTemplateIdOrApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postAppFrameworkApps.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/types/AppCollectionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/AppInputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +87 -0
- package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/AppScheduleRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/AssetCollectionRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/ChainDefinitionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DailyScheduledItemRepresentation.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/types/HourlyScheduledItemRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/NamespacedReferenceInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ReleaseInfoInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RuleInfoInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ScheduledItemRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ScheduledTimeRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ScheduledTimezoneRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/TemplateCollectionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/TemplateConfigurationRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/TemplateIconsInputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/types/TemplatePreviewInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/UserRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/WeeklyScheduledItemRepresentation.d.ts +30 -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 +3150 -0
- package/src/raml/api.raml +601 -0
- package/src/raml/luvio.raml +80 -0
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '62.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v62.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
|
+
AppCollectionRepresentation:
|
|
29
|
+
description: Representation for Next Gen applications.
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
apps:
|
|
33
|
+
description: The collection of applications available within this organization.
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: AppRepresentation
|
|
37
|
+
AppInputRepresentation:
|
|
38
|
+
description: Input representation for creating an app from a template.
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
assetIcon:
|
|
42
|
+
description: The icon enumeration that best represents the new application.
|
|
43
|
+
Valid values are 1.png through 20.png.
|
|
44
|
+
required: false # TODO Hand-rolled W-15955585
|
|
45
|
+
type: string
|
|
46
|
+
description:
|
|
47
|
+
description: The description of the new application.
|
|
48
|
+
required: false # TODO Hand-rolled W-15955585
|
|
49
|
+
type: string
|
|
50
|
+
label:
|
|
51
|
+
description: The user-facing name of the new folder or application.
|
|
52
|
+
type: string
|
|
53
|
+
name:
|
|
54
|
+
description: The internal api name of the new application.
|
|
55
|
+
type: string
|
|
56
|
+
templateSourceId:
|
|
57
|
+
description: Template Id from which to create the app.
|
|
58
|
+
type: string
|
|
59
|
+
templateValues:
|
|
60
|
+
description: The runtime template values to use during application creation,
|
|
61
|
+
as specified by the individual template.
|
|
62
|
+
type: object
|
|
63
|
+
required: false # TODO Hand-rolled W-15955585
|
|
64
|
+
properties:
|
|
65
|
+
//:
|
|
66
|
+
type: any # TODO Hand-rolled W-8863405
|
|
67
|
+
templateVersion:
|
|
68
|
+
description: The version of the template this app was created from
|
|
69
|
+
required: false # TODO Hand-rolled W-15955585
|
|
70
|
+
type: string
|
|
71
|
+
AppRepresentation:
|
|
72
|
+
description: Representation for a single app.
|
|
73
|
+
type: object
|
|
74
|
+
properties:
|
|
75
|
+
applicationStatus:
|
|
76
|
+
description: The status of this app.
|
|
77
|
+
type: string
|
|
78
|
+
assetUrl:
|
|
79
|
+
description: A link to the App Assets.
|
|
80
|
+
type: string
|
|
81
|
+
createdBy:
|
|
82
|
+
description: Who created this app.
|
|
83
|
+
type: UserRepresentation
|
|
84
|
+
createdDate:
|
|
85
|
+
description: When this app was created.
|
|
86
|
+
type: string
|
|
87
|
+
description:
|
|
88
|
+
description: The description of this app.
|
|
89
|
+
type: string | nil
|
|
90
|
+
id:
|
|
91
|
+
description: The ID or fully qualified API name of this app.
|
|
92
|
+
type: string
|
|
93
|
+
installationHistoryUrl:
|
|
94
|
+
description: A link to the App History Setup Page.
|
|
95
|
+
type: string
|
|
96
|
+
label:
|
|
97
|
+
description: The label of this app.
|
|
98
|
+
type: string
|
|
99
|
+
lastModifiedBy:
|
|
100
|
+
description: Who last modified this app.
|
|
101
|
+
type: UserRepresentation
|
|
102
|
+
lastModifiedDate:
|
|
103
|
+
description: When this app was last modified.
|
|
104
|
+
type: string
|
|
105
|
+
name:
|
|
106
|
+
description: The dev name of this app.
|
|
107
|
+
type: string
|
|
108
|
+
schedule:
|
|
109
|
+
description: The refresh scedhule for this app.
|
|
110
|
+
type: AppScheduleRepresentation | nil
|
|
111
|
+
templateSourceId:
|
|
112
|
+
description: The ID od the template used to create this app.
|
|
113
|
+
type: string
|
|
114
|
+
templateValues:
|
|
115
|
+
description: The Variable Values (Answers to Questions) used to customize
|
|
116
|
+
the app install.
|
|
117
|
+
type: object
|
|
118
|
+
properties:
|
|
119
|
+
//:
|
|
120
|
+
type: any # TODO Hand-rolled W-8863405
|
|
121
|
+
templateVersion:
|
|
122
|
+
description: The version of the template used to create the app.
|
|
123
|
+
type: string
|
|
124
|
+
url:
|
|
125
|
+
description: A self link to this App
|
|
126
|
+
type: string
|
|
127
|
+
AppResultRepresentation:
|
|
128
|
+
description: Representation for the results of an app creation.
|
|
129
|
+
type: object
|
|
130
|
+
properties:
|
|
131
|
+
app:
|
|
132
|
+
description: The App.
|
|
133
|
+
type: AppRepresentation
|
|
134
|
+
runtimeRequestId:
|
|
135
|
+
description: The Domino Runtime Request.
|
|
136
|
+
type: string
|
|
137
|
+
state:
|
|
138
|
+
description: The State.
|
|
139
|
+
type: object
|
|
140
|
+
properties:
|
|
141
|
+
//:
|
|
142
|
+
type: any # TODO Hand-rolled W-8863405
|
|
143
|
+
AppScheduleRepresentation:
|
|
144
|
+
description: Representaiton for an App Data Refresh schedule
|
|
145
|
+
type: object
|
|
146
|
+
properties:
|
|
147
|
+
dataRefreshSchedule:
|
|
148
|
+
description: Recurring schedule for performing data refreshes.
|
|
149
|
+
type: ScheduledItemRepresentation | nil
|
|
150
|
+
url:
|
|
151
|
+
description: Url to scheduling attributes of a folder.
|
|
152
|
+
type: string | nil
|
|
153
|
+
AssetCollectionRepresentation:
|
|
154
|
+
description: Representation list of assets created from a template.
|
|
155
|
+
type: object
|
|
156
|
+
properties:
|
|
157
|
+
appId:
|
|
158
|
+
description: The ID or fully qualified API name of the app to which these
|
|
159
|
+
assets belong.
|
|
160
|
+
type: string
|
|
161
|
+
assets:
|
|
162
|
+
description: The collection of assets created from the template.
|
|
163
|
+
type: array
|
|
164
|
+
items:
|
|
165
|
+
type: AssetRepresentation
|
|
166
|
+
AssetRepresentation:
|
|
167
|
+
description: Representation for a single template.
|
|
168
|
+
type: object
|
|
169
|
+
properties:
|
|
170
|
+
assetIdOrName:
|
|
171
|
+
description: The primary ID or Name of the asset
|
|
172
|
+
type: string
|
|
173
|
+
assetIdOrName2:
|
|
174
|
+
description: The secondary ID or Name of the asset
|
|
175
|
+
type: string | nil
|
|
176
|
+
assetIdOrName3:
|
|
177
|
+
description: The tertiary ID or Name of the asset
|
|
178
|
+
type: string | nil
|
|
179
|
+
id:
|
|
180
|
+
description: The ID of the asset association.
|
|
181
|
+
type: string
|
|
182
|
+
templateAssetSourceName:
|
|
183
|
+
description: The template asset name this asset was created from.
|
|
184
|
+
type: string | nil
|
|
185
|
+
type:
|
|
186
|
+
description: The asset type.
|
|
187
|
+
type: string | nil
|
|
188
|
+
ChainDefinitionInputRepresentation:
|
|
189
|
+
description: Input representation for a domino chain definition.
|
|
190
|
+
type: object
|
|
191
|
+
properties:
|
|
192
|
+
file:
|
|
193
|
+
description: The this file reference to the chain
|
|
194
|
+
type: string
|
|
195
|
+
name:
|
|
196
|
+
description: The name of the chain.
|
|
197
|
+
type: string
|
|
198
|
+
required: false # TODO Hand-rolled W-15955585
|
|
199
|
+
type:
|
|
200
|
+
description: The type of chain.
|
|
201
|
+
type: string
|
|
202
|
+
enum:
|
|
203
|
+
- Create
|
|
204
|
+
- Delete
|
|
205
|
+
- RefreshData
|
|
206
|
+
- Update
|
|
207
|
+
NamespacedReferenceInputRepresentation:
|
|
208
|
+
description: Namespaced reference to resource.
|
|
209
|
+
type: object
|
|
210
|
+
properties:
|
|
211
|
+
name:
|
|
212
|
+
description: Developer Name.
|
|
213
|
+
type: string
|
|
214
|
+
namespace:
|
|
215
|
+
description: Developer Namespace
|
|
216
|
+
type: string
|
|
217
|
+
ReleaseInfoInputRepresentation:
|
|
218
|
+
description: Input representation for release notes and version.
|
|
219
|
+
type: object
|
|
220
|
+
properties:
|
|
221
|
+
notesFile:
|
|
222
|
+
description: Template release notes.
|
|
223
|
+
type: string
|
|
224
|
+
required: false # TODO Hand-rolled W-15955585
|
|
225
|
+
templateVersion:
|
|
226
|
+
description: Template version.
|
|
227
|
+
type: string
|
|
228
|
+
RuleInfoInputRepresentation:
|
|
229
|
+
description: Input representation for rules.
|
|
230
|
+
type: object
|
|
231
|
+
properties:
|
|
232
|
+
file:
|
|
233
|
+
description: The JSON file holding the rules.
|
|
234
|
+
type: string
|
|
235
|
+
type:
|
|
236
|
+
description: The type of rules.
|
|
237
|
+
type: string
|
|
238
|
+
TemplateCollectionRepresentation:
|
|
239
|
+
description: Representation for Next Gen application templates.
|
|
240
|
+
type: object
|
|
241
|
+
properties:
|
|
242
|
+
templates:
|
|
243
|
+
description: The collection of application templates available within this
|
|
244
|
+
organization.
|
|
245
|
+
type: array
|
|
246
|
+
items:
|
|
247
|
+
type: TemplateRepresentation
|
|
248
|
+
TemplateConfigurationRepresentation:
|
|
249
|
+
description: Representation for app template configuration.
|
|
250
|
+
type: object
|
|
251
|
+
properties:
|
|
252
|
+
id:
|
|
253
|
+
description: The ID or fully qualified API name of this template.
|
|
254
|
+
type: string
|
|
255
|
+
name:
|
|
256
|
+
description: The local API name of the template.
|
|
257
|
+
type: string
|
|
258
|
+
TemplateIconsInputRepresentation:
|
|
259
|
+
description: Input representation template Icons.
|
|
260
|
+
type: object
|
|
261
|
+
properties:
|
|
262
|
+
appBadge:
|
|
263
|
+
description: Icon for the app.
|
|
264
|
+
required: false # TODO Hand-rolled W-15955585
|
|
265
|
+
type: NamespacedReferenceInputRepresentation
|
|
266
|
+
templateBadge:
|
|
267
|
+
description: Icon for the template
|
|
268
|
+
required: false # TODO Hand-rolled W-15955585
|
|
269
|
+
type: NamespacedReferenceInputRepresentation
|
|
270
|
+
templatePreviews:
|
|
271
|
+
description: Previews images an description of template
|
|
272
|
+
type: array
|
|
273
|
+
required: false # TODO Hand-rolled W-15955585
|
|
274
|
+
items:
|
|
275
|
+
type: TemplatePreviewInputRepresentation
|
|
276
|
+
TemplateInputRepresentation:
|
|
277
|
+
description: Input representation for Template Info.
|
|
278
|
+
type: object
|
|
279
|
+
properties:
|
|
280
|
+
assetVersion:
|
|
281
|
+
description: The version of the Template assets.
|
|
282
|
+
format: double
|
|
283
|
+
type: number
|
|
284
|
+
chainDefinitions:
|
|
285
|
+
description: The Template chain definitions
|
|
286
|
+
type: array
|
|
287
|
+
items:
|
|
288
|
+
type: ChainDefinitionInputRepresentation
|
|
289
|
+
description:
|
|
290
|
+
description: The Template description.
|
|
291
|
+
required: false # TODO Hand-rolled W-15955585
|
|
292
|
+
type: string
|
|
293
|
+
icons:
|
|
294
|
+
description: The Template icons.
|
|
295
|
+
required: false # TODO Hand-rolled W-15955585
|
|
296
|
+
type: TemplateIconsInputRepresentation
|
|
297
|
+
id:
|
|
298
|
+
description: The Template Id.
|
|
299
|
+
type: string
|
|
300
|
+
label:
|
|
301
|
+
description: The Template label.
|
|
302
|
+
type: string
|
|
303
|
+
layoutDefinition:
|
|
304
|
+
description: The Template layout definition file.
|
|
305
|
+
required: false # TODO Hand-rolled W-15955585
|
|
306
|
+
type: string
|
|
307
|
+
name:
|
|
308
|
+
description: The Template name.
|
|
309
|
+
type: string
|
|
310
|
+
namespace:
|
|
311
|
+
description: The Template developer namespace.
|
|
312
|
+
required: false # TODO Hand-rolled W-15955585
|
|
313
|
+
type: string
|
|
314
|
+
releaseInfo:
|
|
315
|
+
description: The Template release notes
|
|
316
|
+
type: ReleaseInfoInputRepresentation
|
|
317
|
+
rules:
|
|
318
|
+
description: The Template rules file
|
|
319
|
+
type: array
|
|
320
|
+
required: false # TODO Hand-rolled W-15955585
|
|
321
|
+
items:
|
|
322
|
+
type: RuleInfoInputRepresentation
|
|
323
|
+
tags:
|
|
324
|
+
description: The Template Tags.
|
|
325
|
+
type: array
|
|
326
|
+
required: false # TODO Hand-rolled W-15955585
|
|
327
|
+
items:
|
|
328
|
+
type: string
|
|
329
|
+
templateType:
|
|
330
|
+
description: The Template Type.
|
|
331
|
+
type: string
|
|
332
|
+
enum:
|
|
333
|
+
- App
|
|
334
|
+
- Library
|
|
335
|
+
variableDefinition:
|
|
336
|
+
description: The Template variables file
|
|
337
|
+
required: false # TODO Hand-rolled W-15955585
|
|
338
|
+
type: string
|
|
339
|
+
TemplatePreviewInputRepresentation:
|
|
340
|
+
description: Input representation for Template Previews.
|
|
341
|
+
type: object
|
|
342
|
+
properties:
|
|
343
|
+
description:
|
|
344
|
+
description: Preview description
|
|
345
|
+
required: false # TODO Hand-rolled W-15955585
|
|
346
|
+
type: string
|
|
347
|
+
label:
|
|
348
|
+
description: Preview title
|
|
349
|
+
type: string
|
|
350
|
+
name:
|
|
351
|
+
description: Developer Name.
|
|
352
|
+
type: string
|
|
353
|
+
namespace:
|
|
354
|
+
description: Developer Namespace
|
|
355
|
+
required: false # TODO Hand-rolled W-15955585
|
|
356
|
+
type: string
|
|
357
|
+
TemplateRepresentation:
|
|
358
|
+
description: Representation for a single template.
|
|
359
|
+
type: object
|
|
360
|
+
properties:
|
|
361
|
+
configurationUrl:
|
|
362
|
+
description: Url for configuration information
|
|
363
|
+
type: string
|
|
364
|
+
description:
|
|
365
|
+
description: The description of the application template.
|
|
366
|
+
type: string | nil
|
|
367
|
+
id:
|
|
368
|
+
description: The ID or fully qualified API name of this template.
|
|
369
|
+
type: string
|
|
370
|
+
label:
|
|
371
|
+
description: The localized name of the application template.
|
|
372
|
+
type: string
|
|
373
|
+
name:
|
|
374
|
+
description: The local API name of the application template.
|
|
375
|
+
type: string
|
|
376
|
+
type:
|
|
377
|
+
description: The template type.
|
|
378
|
+
type: string
|
|
379
|
+
enum:
|
|
380
|
+
- App
|
|
381
|
+
- Library
|
|
382
|
+
url:
|
|
383
|
+
description: The this url.
|
|
384
|
+
type: string
|
|
385
|
+
UserRepresentation:
|
|
386
|
+
description: Information about a user.
|
|
387
|
+
type: object
|
|
388
|
+
properties:
|
|
389
|
+
id:
|
|
390
|
+
description: The 18 character user ID.
|
|
391
|
+
type: string
|
|
392
|
+
name:
|
|
393
|
+
description: The name of the user.
|
|
394
|
+
type: string
|
|
395
|
+
profilePhotoUrl:
|
|
396
|
+
description: The Chatter profile photo of the user.
|
|
397
|
+
type: string | nil
|
|
398
|
+
# TODO: hand-rolled
|
|
399
|
+
# ScheduleItemReresentation and its subtypes and related types come from the json-xform-connect-api
|
|
400
|
+
# module and are referenced in app-framework-connect-api. This means they don't get created in the
|
|
401
|
+
# app-framework-connect-api raml, so I'm copying them from the json-xform-connect-api raml here.
|
|
402
|
+
DailyScheduledItemRepresentation:
|
|
403
|
+
description: Representation for a scheduled item.
|
|
404
|
+
type: ScheduledItemRepresentation
|
|
405
|
+
discriminatorValue: Daily
|
|
406
|
+
properties: {}
|
|
407
|
+
HourlyScheduledItemRepresentation:
|
|
408
|
+
description: Representation for an hourly scheduled item.
|
|
409
|
+
type: ScheduledItemRepresentation
|
|
410
|
+
discriminatorValue: Hourly
|
|
411
|
+
properties:
|
|
412
|
+
daysOfWeek:
|
|
413
|
+
description: Collection of days of week for schedule.
|
|
414
|
+
type: array
|
|
415
|
+
items:
|
|
416
|
+
type: string
|
|
417
|
+
enum:
|
|
418
|
+
- Friday
|
|
419
|
+
- Monday
|
|
420
|
+
- Saturday
|
|
421
|
+
- Sunday
|
|
422
|
+
- Thursday
|
|
423
|
+
- Tuesday
|
|
424
|
+
- Wednesday
|
|
425
|
+
hourlyInterval:
|
|
426
|
+
description: Collection of days of week for schedule.
|
|
427
|
+
type: integer
|
|
428
|
+
ScheduledItemRepresentation:
|
|
429
|
+
description: Representation for a scheduled item.
|
|
430
|
+
type: object
|
|
431
|
+
discriminator: frequency
|
|
432
|
+
properties:
|
|
433
|
+
frequency:
|
|
434
|
+
description: The frequency of this scheduled item.
|
|
435
|
+
type: string
|
|
436
|
+
enum:
|
|
437
|
+
- Daily
|
|
438
|
+
- Hourly
|
|
439
|
+
- Weekly
|
|
440
|
+
# TODO: hand-rolled -- these are in the java enum, but do not have corresponding java
|
|
441
|
+
# subclasses so they won't be seen in responses for now
|
|
442
|
+
# - Monthly
|
|
443
|
+
# - MonthlyRelative
|
|
444
|
+
nextScheduledRun:
|
|
445
|
+
description: The next scheduled runtime.
|
|
446
|
+
type: string
|
|
447
|
+
time:
|
|
448
|
+
description: Collection of scheduled run time.
|
|
449
|
+
type: ScheduledTimeRepresentation
|
|
450
|
+
ScheduledTimeRepresentation:
|
|
451
|
+
description: Representation for a scheduled time of day.
|
|
452
|
+
type: object
|
|
453
|
+
properties:
|
|
454
|
+
hour:
|
|
455
|
+
description: Hour of day.
|
|
456
|
+
type: integer
|
|
457
|
+
minute:
|
|
458
|
+
description: Minute of hour.
|
|
459
|
+
type: integer
|
|
460
|
+
timezone:
|
|
461
|
+
description: String representation of timezone.
|
|
462
|
+
type: ScheduledTimezoneRepresentation
|
|
463
|
+
ScheduledTimezoneRepresentation:
|
|
464
|
+
description: Information about a time zone.
|
|
465
|
+
type: object
|
|
466
|
+
properties:
|
|
467
|
+
gmtOffset:
|
|
468
|
+
description: The signed offset, in hours, from GMT.
|
|
469
|
+
format: double
|
|
470
|
+
type: number
|
|
471
|
+
name:
|
|
472
|
+
description: The display name of this time zone.
|
|
473
|
+
type: string
|
|
474
|
+
zoneId:
|
|
475
|
+
description: The zone ID of this time zone.
|
|
476
|
+
type: string
|
|
477
|
+
WeeklyScheduledItemRepresentation:
|
|
478
|
+
description: Representation for a daily scheduled item.
|
|
479
|
+
type: ScheduledItemRepresentation
|
|
480
|
+
discriminatorValue: Weekly
|
|
481
|
+
properties:
|
|
482
|
+
daysOfWeek:
|
|
483
|
+
description: Collection of days of week for schedule.
|
|
484
|
+
type: array
|
|
485
|
+
items:
|
|
486
|
+
type: string
|
|
487
|
+
enum:
|
|
488
|
+
- Friday
|
|
489
|
+
- Monday
|
|
490
|
+
- Saturday
|
|
491
|
+
- Sunday
|
|
492
|
+
- Thursday
|
|
493
|
+
- Tuesday
|
|
494
|
+
- Wednesday
|
|
495
|
+
/app-framework:
|
|
496
|
+
/apps:
|
|
497
|
+
get:
|
|
498
|
+
displayName: getAppFrameworkAppCollection
|
|
499
|
+
description: Get a list of applications
|
|
500
|
+
responses:
|
|
501
|
+
'200':
|
|
502
|
+
description: Success
|
|
503
|
+
body:
|
|
504
|
+
application/json:
|
|
505
|
+
type: AppCollectionRepresentation
|
|
506
|
+
queryParameters:
|
|
507
|
+
templateSourceId:
|
|
508
|
+
type: string
|
|
509
|
+
required: false
|
|
510
|
+
post:
|
|
511
|
+
displayName: postAppFrameworkAppCollection
|
|
512
|
+
description: Creates an app from a template
|
|
513
|
+
responses:
|
|
514
|
+
'200':
|
|
515
|
+
description: Success
|
|
516
|
+
body:
|
|
517
|
+
application/json:
|
|
518
|
+
type: AppResultRepresentation
|
|
519
|
+
body:
|
|
520
|
+
application/json:
|
|
521
|
+
type: AppInputRepresentation
|
|
522
|
+
(oas-body-name): app
|
|
523
|
+
/apps/{appIdOrApiName}:
|
|
524
|
+
delete:
|
|
525
|
+
displayName: deleteAppFrameworkApp
|
|
526
|
+
description: Delete an App.
|
|
527
|
+
responses:
|
|
528
|
+
'200':
|
|
529
|
+
description: Success
|
|
530
|
+
get:
|
|
531
|
+
displayName: getAppFrameworkApp
|
|
532
|
+
description: Get an App
|
|
533
|
+
responses:
|
|
534
|
+
'200':
|
|
535
|
+
description: Success
|
|
536
|
+
body:
|
|
537
|
+
application/json:
|
|
538
|
+
type: AppRepresentation
|
|
539
|
+
uriParameters:
|
|
540
|
+
appIdOrApiName:
|
|
541
|
+
type: string
|
|
542
|
+
required: true
|
|
543
|
+
/apps/{appIdOrApiName}/assets:
|
|
544
|
+
get:
|
|
545
|
+
displayName: getAppFrameworkAppAssetCollection
|
|
546
|
+
description: Get a list of assets included in the app
|
|
547
|
+
responses:
|
|
548
|
+
'200':
|
|
549
|
+
description: Success
|
|
550
|
+
body:
|
|
551
|
+
application/json:
|
|
552
|
+
type: AssetCollectionRepresentation
|
|
553
|
+
queryParameters:
|
|
554
|
+
assetType:
|
|
555
|
+
type: string
|
|
556
|
+
required: false
|
|
557
|
+
templateAssetName:
|
|
558
|
+
type: string
|
|
559
|
+
required: false
|
|
560
|
+
uriParameters:
|
|
561
|
+
appIdOrApiName:
|
|
562
|
+
type: string
|
|
563
|
+
required: true
|
|
564
|
+
/templates:
|
|
565
|
+
get:
|
|
566
|
+
displayName: getAppFrameworkTemplateCollection
|
|
567
|
+
description: Get a list of application templates
|
|
568
|
+
responses:
|
|
569
|
+
'200':
|
|
570
|
+
description: Success
|
|
571
|
+
body:
|
|
572
|
+
application/json:
|
|
573
|
+
type: TemplateCollectionRepresentation
|
|
574
|
+
/templates/{templateIdOrApiName}:
|
|
575
|
+
get:
|
|
576
|
+
displayName: getAppFrameworkTemplate
|
|
577
|
+
description: Get an App Template
|
|
578
|
+
responses:
|
|
579
|
+
'200':
|
|
580
|
+
description: Success
|
|
581
|
+
body:
|
|
582
|
+
application/json:
|
|
583
|
+
type: TemplateRepresentation
|
|
584
|
+
uriParameters:
|
|
585
|
+
templateIdOrApiName:
|
|
586
|
+
type: string
|
|
587
|
+
required: true
|
|
588
|
+
/templates/{templateIdOrApiName}/configuration:
|
|
589
|
+
get:
|
|
590
|
+
displayName: getAppFrameworkTemplateConfiguration
|
|
591
|
+
description: Returns the configuration for a specific template.
|
|
592
|
+
responses:
|
|
593
|
+
'200':
|
|
594
|
+
description: Success
|
|
595
|
+
body:
|
|
596
|
+
application/json:
|
|
597
|
+
type: TemplateConfigurationRepresentation
|
|
598
|
+
uriParameters:
|
|
599
|
+
templateIdOrApiName:
|
|
600
|
+
type: string
|
|
601
|
+
required: true
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'AppFramework'
|
|
8
|
+
(luvio.ttl): 2592000000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
AppCollectionRepresentation:
|
|
12
|
+
(luvio.ttl): 5000
|
|
13
|
+
AppRepresentation:
|
|
14
|
+
(luvio.ttl): 5000
|
|
15
|
+
(luvio.key):
|
|
16
|
+
id: id
|
|
17
|
+
AppResultRepresentation:
|
|
18
|
+
(luvio.ttl): 5000
|
|
19
|
+
(luvio.key):
|
|
20
|
+
id: app.id
|
|
21
|
+
AssetCollectionRepresentation:
|
|
22
|
+
(luvio.ttl): 5000
|
|
23
|
+
(luvio.key):
|
|
24
|
+
id: appId
|
|
25
|
+
AssetRepresentation:
|
|
26
|
+
(luvio.ttl): 5000
|
|
27
|
+
(luvio.key):
|
|
28
|
+
id: id
|
|
29
|
+
TemplateCollectionRepresentation:
|
|
30
|
+
(luvio.ttl): 5000
|
|
31
|
+
TemplateRepresentation:
|
|
32
|
+
(luvio.ttl): 5000
|
|
33
|
+
(luvio.key):
|
|
34
|
+
id: id
|
|
35
|
+
TemplateConfigurationRepresentation:
|
|
36
|
+
(luvio.ttl): 5000
|
|
37
|
+
(luvio.key):
|
|
38
|
+
id: id
|
|
39
|
+
|
|
40
|
+
/app-framework:
|
|
41
|
+
/apps:
|
|
42
|
+
get:
|
|
43
|
+
(luvio.adapter):
|
|
44
|
+
name: getApps
|
|
45
|
+
post:
|
|
46
|
+
(luvio.adapter):
|
|
47
|
+
name: createApp
|
|
48
|
+
/apps/{appIdOrApiName}:
|
|
49
|
+
delete:
|
|
50
|
+
(luvio.adapter):
|
|
51
|
+
name: deleteApp
|
|
52
|
+
(luvio.key):
|
|
53
|
+
id: urlParams.appIdOrApiName
|
|
54
|
+
get:
|
|
55
|
+
(luvio.adapter):
|
|
56
|
+
name: getApp
|
|
57
|
+
(luvio.key):
|
|
58
|
+
id: urlParams.appIdOrApiName
|
|
59
|
+
/apps/{appIdOrApiName}/assets:
|
|
60
|
+
get:
|
|
61
|
+
(luvio.adapter):
|
|
62
|
+
name: getAppAssets
|
|
63
|
+
(luvio.key):
|
|
64
|
+
id: urlParams.appIdOrApiName
|
|
65
|
+
/templates:
|
|
66
|
+
get:
|
|
67
|
+
(luvio.adapter):
|
|
68
|
+
name: getTemplates
|
|
69
|
+
/templates/{templateIdOrApiName}:
|
|
70
|
+
get:
|
|
71
|
+
(luvio.adapter):
|
|
72
|
+
name: getTemplate
|
|
73
|
+
(luvio.key):
|
|
74
|
+
id: urlParams.templateIdOrApiName
|
|
75
|
+
/templates/{templateIdOrApiName}/configuration:
|
|
76
|
+
get:
|
|
77
|
+
(luvio.adapter):
|
|
78
|
+
name: getTemplateConfig
|
|
79
|
+
(luvio.key):
|
|
80
|
+
id: urlParams.templateIdOrApiName
|