@salesforce/lds-adapters-analytics-app-framework 0.1.0-dev1

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.
Files changed (114) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/analytics-app-framework.js +7908 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createApp.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createAppAsset.d.ts +22 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createTemplate.d.ts +37 -0
  7. package/dist/es/es2018/types/src/generated/adapters/deleteApp.d.ts +14 -0
  8. package/dist/es/es2018/types/src/generated/adapters/deleteAppAsset.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/adapters/deleteTemplate.d.ts +14 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getApp.d.ts +28 -0
  11. package/dist/es/es2018/types/src/generated/adapters/getAppActivities.d.ts +28 -0
  12. package/dist/es/es2018/types/src/generated/adapters/getAppActivity.d.ts +29 -0
  13. package/dist/es/es2018/types/src/generated/adapters/getAppAsset.d.ts +28 -0
  14. package/dist/es/es2018/types/src/generated/adapters/getAppAssets.d.ts +30 -0
  15. package/dist/es/es2018/types/src/generated/adapters/getApps.d.ts +29 -0
  16. package/dist/es/es2018/types/src/generated/adapters/getInstalledAssets.d.ts +28 -0
  17. package/dist/es/es2018/types/src/generated/adapters/getTags.d.ts +28 -0
  18. package/dist/es/es2018/types/src/generated/adapters/getTemplate.d.ts +28 -0
  19. package/dist/es/es2018/types/src/generated/adapters/getTemplateAssets.d.ts +27 -0
  20. package/dist/es/es2018/types/src/generated/adapters/getTemplateConfig.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/adapters/getTemplates.d.ts +28 -0
  22. package/dist/es/es2018/types/src/generated/adapters/readinessCheck.d.ts +19 -0
  23. package/dist/es/es2018/types/src/generated/adapters/setTags.d.ts +18 -0
  24. package/dist/es/es2018/types/src/generated/adapters/updateApp.d.ts +21 -0
  25. package/dist/es/es2018/types/src/generated/adapters/updateAppAsset.d.ts +23 -0
  26. package/dist/es/es2018/types/src/generated/adapters/updateBasicApp.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/adapters/updateTemplate.d.ts +21 -0
  28. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +24 -0
  29. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +44 -0
  30. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkAppsAssetsByAppIdOrApiNameAndAppAssetId.d.ts +13 -0
  31. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkAppsByAppIdOrApiName.d.ts +12 -0
  32. package/dist/es/es2018/types/src/generated/resources/deleteAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +12 -0
  33. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkApps.d.ts +17 -0
  34. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiName.d.ts +16 -0
  35. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId.d.ts +17 -0
  36. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsAssetsByAppIdOrApiName.d.ts +20 -0
  37. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsAssetsByAppIdOrApiNameAndAppAssetId.d.ts +16 -0
  38. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsByAppIdOrApiName.d.ts +16 -0
  39. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkInstalledAssets.d.ts +16 -0
  40. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplates.d.ts +16 -0
  41. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesAssetsByTemplateIdOrApiName.d.ts +15 -0
  42. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +16 -0
  43. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesConfigurationByTemplateIdOrApiName.d.ts +16 -0
  44. package/dist/es/es2018/types/src/generated/resources/getAppFrameworkTemplatesTagsByTemplateIdOrApiName.d.ts +16 -0
  45. package/dist/es/es2018/types/src/generated/resources/patchAppFrameworkAppsAssetsByAppIdOrApiNameAndAppAssetId.d.ts +22 -0
  46. package/dist/es/es2018/types/src/generated/resources/patchAppFrameworkTemplatesByTemplateIdOrApiName.d.ts +20 -0
  47. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkApps.d.ts +25 -0
  48. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkAppsAssetsByAppIdOrApiName.d.ts +21 -0
  49. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkAppsUpdateBasicAppByAppIdOrApiName.d.ts +15 -0
  50. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkTemplates.d.ts +34 -0
  51. package/dist/es/es2018/types/src/generated/resources/postAppFrameworkTemplatesReadinessByTemplateIdOrApiName.d.ts +18 -0
  52. package/dist/es/es2018/types/src/generated/resources/putAppFrameworkAppsByAppIdOrApiName.d.ts +20 -0
  53. package/dist/es/es2018/types/src/generated/resources/putAppFrameworkTemplatesTagsByTemplateIdOrApiName.d.ts +17 -0
  54. package/dist/es/es2018/types/src/generated/types/AppActivityCollectionRepresentation.d.ts +51 -0
  55. package/dist/es/es2018/types/src/generated/types/AppActivityItemInputRepresentation.d.ts +37 -0
  56. package/dist/es/es2018/types/src/generated/types/AppActivityItemRepresentation.d.ts +57 -0
  57. package/dist/es/es2018/types/src/generated/types/AppCollectionRepresentation.d.ts +39 -0
  58. package/dist/es/es2018/types/src/generated/types/AppDetailsRepresentation.d.ts +31 -0
  59. package/dist/es/es2018/types/src/generated/types/AppInputRepresentation.d.ts +65 -0
  60. package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +102 -0
  61. package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +61 -0
  62. package/dist/es/es2018/types/src/generated/types/AppScheduleRepresentation.d.ts +35 -0
  63. package/dist/es/es2018/types/src/generated/types/AppUpdateRepresentation.d.ts +41 -0
  64. package/dist/es/es2018/types/src/generated/types/AssetCollectionRepresentation.d.ts +51 -0
  65. package/dist/es/es2018/types/src/generated/types/AssetInputRepresentation.d.ts +46 -0
  66. package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +59 -0
  67. package/dist/es/es2018/types/src/generated/types/BasicAppUpdateRepresentation.d.ts +28 -0
  68. package/dist/es/es2018/types/src/generated/types/ChainDefinitionInputRepresentation.d.ts +34 -0
  69. package/dist/es/es2018/types/src/generated/types/ChainDefinitionRepresentation.d.ts +37 -0
  70. package/dist/es/es2018/types/src/generated/types/DailyScheduledItemRepresentation.d.ts +26 -0
  71. package/dist/es/es2018/types/src/generated/types/GuidancePanelRepresentation.d.ts +34 -0
  72. package/dist/es/es2018/types/src/generated/types/HourlyScheduledItemRepresentation.d.ts +33 -0
  73. package/dist/es/es2018/types/src/generated/types/ImageReferenceRepresentation.d.ts +40 -0
  74. package/dist/es/es2018/types/src/generated/types/InstalledAssetCollectionRepresentation.d.ts +39 -0
  75. package/dist/es/es2018/types/src/generated/types/NavigationPanelRepresentation.d.ts +28 -0
  76. package/dist/es/es2018/types/src/generated/types/PageNavigationInfoRepresentation.d.ts +31 -0
  77. package/dist/es/es2018/types/src/generated/types/ReleaseInfoInputRepresentation.d.ts +31 -0
  78. package/dist/es/es2018/types/src/generated/types/ReleaseInfoRepresentation.d.ts +31 -0
  79. package/dist/es/es2018/types/src/generated/types/RuleInfoInputRepresentation.d.ts +31 -0
  80. package/dist/es/es2018/types/src/generated/types/RuleInfoRepresentation.d.ts +31 -0
  81. package/dist/es/es2018/types/src/generated/types/ScheduledItemRepresentation.d.ts +41 -0
  82. package/dist/es/es2018/types/src/generated/types/ScheduledTimeRepresentation.d.ts +34 -0
  83. package/dist/es/es2018/types/src/generated/types/ScheduledTimezoneRepresentation.d.ts +34 -0
  84. package/dist/es/es2018/types/src/generated/types/StaticResourceReferenceRepresentation.d.ts +40 -0
  85. package/dist/es/es2018/types/src/generated/types/TemplateCollectionRepresentation.d.ts +39 -0
  86. package/dist/es/es2018/types/src/generated/types/TemplateConfigurationRepresentation.d.ts +52 -0
  87. package/dist/es/es2018/types/src/generated/types/TemplateIconsInputRepresentation.d.ts +33 -0
  88. package/dist/es/es2018/types/src/generated/types/TemplateIconsRepresentation.d.ts +35 -0
  89. package/dist/es/es2018/types/src/generated/types/TemplateImageInputRepresentation.d.ts +31 -0
  90. package/dist/es/es2018/types/src/generated/types/TemplateImageRepresentation.d.ts +34 -0
  91. package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +84 -0
  92. package/dist/es/es2018/types/src/generated/types/TemplateReadinessInputRepresentation.d.ts +35 -0
  93. package/dist/es/es2018/types/src/generated/types/TemplateReadinessItemRepresentation.d.ts +37 -0
  94. package/dist/es/es2018/types/src/generated/types/TemplateReadinessRepresentation.d.ts +58 -0
  95. package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +112 -0
  96. package/dist/es/es2018/types/src/generated/types/TemplateTagCollectionInputRepresentation.d.ts +32 -0
  97. package/dist/es/es2018/types/src/generated/types/TemplateTagCollectionRepresentation.d.ts +45 -0
  98. package/dist/es/es2018/types/src/generated/types/TemplateUpdateRepresentation.d.ts +41 -0
  99. package/dist/es/es2018/types/src/generated/types/TemplatedAssetCollectionRepresentation.d.ts +39 -0
  100. package/dist/es/es2018/types/src/generated/types/TemplatedAssetRepresentation.d.ts +53 -0
  101. package/dist/es/es2018/types/src/generated/types/UiLayoutDefinitionRepresentation.d.ts +37 -0
  102. package/dist/es/es2018/types/src/generated/types/UserRepresentation.d.ts +34 -0
  103. package/dist/es/es2018/types/src/generated/types/WeeklyScheduledItemRepresentation.d.ts +30 -0
  104. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  105. package/dist/es/es2018/types/src/raml-artifacts/adapters/getTemplate/buildCachedSnapshotCachePolicy.d.ts +7 -0
  106. package/dist/es/es2018/types/src/raml-artifacts/adapters/getTemplate/onFetchResponseError.d.ts +4 -0
  107. package/dist/es/es2018/types/src/raml-artifacts/adapters/getTemplate/onFetchResponseSuccess.d.ts +5 -0
  108. package/dist/es/es2018/types/src/raml-artifacts/utils/nameToIdCache.d.ts +7 -0
  109. package/dist/es/es2018/types/src/raml-artifacts/utils/templateNameToIdCache.d.ts +6 -0
  110. package/package.json +76 -0
  111. package/sfdc/index.d.ts +1 -0
  112. package/sfdc/index.js +8391 -0
  113. package/src/raml/api.raml +1503 -0
  114. package/src/raml/luvio.raml +179 -0
@@ -0,0 +1,1503 @@
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/v66.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
+ AppActivityCollectionRepresentation:
29
+ description: Representation for an app's activity or history records.
30
+ type: object
31
+ properties:
32
+ appId:
33
+ description: The ID or fully qualified API name of the app to which
34
+ these activities belong.
35
+ type: string
36
+ items:
37
+ description: The collection of app activity records.
38
+ type: array
39
+ items:
40
+ type: AppActivityItemRepresentation
41
+ AppActivityItemInputRepresentation:
42
+ description: Input representation for creating an app activity record.
43
+ type: object
44
+ properties:
45
+ activityType:
46
+ description: The type of application activity.
47
+ type: string
48
+ enum:
49
+ - Create
50
+ - Delete
51
+ - RefreshData
52
+ - Update
53
+ appId:
54
+ description: The application id.
55
+ type: string
56
+ dominoRuntimeRequestId:
57
+ description: The associated domino runtime request id.
58
+ type: string
59
+ id:
60
+ description: Id of the application activity.
61
+ type: string
62
+ AppActivityItemRepresentation:
63
+ description: Representation for a single app activity record.
64
+ type: object
65
+ properties:
66
+ activityType:
67
+ description: The type of the app activity item.
68
+ type: string
69
+ enum:
70
+ - Create
71
+ - Delete
72
+ - RefreshData
73
+ - Update
74
+ appId:
75
+ description: The application id of the activity record.
76
+ type: string
77
+ id:
78
+ description: The ID of the app activity item record.
79
+ type: string
80
+ runtimeRequest:
81
+ description: The associated domino runtime request associated with the app
82
+ activity item record.
83
+ # TODO: hand-rolled
84
+ # DominoRuntimeRequestRepresentation and it's subtypes and related types come from the
85
+ # json-xform-connect-api modules and are referenced in app-framework-connect-api, which
86
+ # means they don't get created in this raml. For our usage purposes here currently, we
87
+ # don't need this type defined and having it as an open-ended object is sufficient.
88
+ #type: DominoRuntimeRequestRepresentation
89
+ type: object
90
+ properties:
91
+ //:
92
+ type: any # TODO Hand-rolled W-8863405
93
+ url:
94
+ description: The url for the app activity item.
95
+ type: string
96
+ AppCollectionRepresentation:
97
+ description: Representation for Next Gen applications.
98
+ type: object
99
+ properties:
100
+ apps:
101
+ description: The collection of applications available within this organization.
102
+ type: array
103
+ items:
104
+ type: AppRepresentation
105
+ AppInputRepresentation:
106
+ description: Input representation for creating an app from a template.
107
+ type: object
108
+ properties:
109
+ assetIcon:
110
+ description: The icon enumeration that best represents the new application.
111
+ Valid values are 1.png through 20.png.
112
+ required: false # TODO Hand-rolled W-15955585
113
+ type: string
114
+ description:
115
+ description: The description of the new application.
116
+ required: false # TODO Hand-rolled W-15955585
117
+ type: string
118
+ label:
119
+ description: The user-facing name of the new folder or application.
120
+ type: string
121
+ logLevel:
122
+ description: Specifies the runtime logging level for debug.
123
+ required: false # TODO Hand-rolled W-15955585
124
+ type: string
125
+ name:
126
+ description: The internal api name of the new application.
127
+ type: string
128
+ runtimeMethod:
129
+ description: The runtime method async or sync
130
+ required: false # TODO Hand-rolled W-15955585
131
+ type: string
132
+ templateSourceId:
133
+ description: Template Id from which to create the app.
134
+ type: string
135
+ required: false # TODO Hand-rolled W-15955585
136
+ templateSubtype:
137
+ description: The subtype of the template this app was created from
138
+ type: string
139
+ required: false # TODO Hand-rolled W-15955585
140
+ enum:
141
+ - AgentForceAnalytics
142
+ - Dashboard
143
+ - DataCloud
144
+ - SemanticModel
145
+ - Tableau
146
+ - Visualization
147
+ templateType:
148
+ description: The type of the template this app was created from
149
+ type: string
150
+ required: false # TODO Hand-rolled W-15955585
151
+ enum:
152
+ - App
153
+ - Component
154
+ - Library
155
+ - Unknown
156
+ templateValues:
157
+ description: The runtime template values to use during application creation,
158
+ as specified by the individual template.
159
+ type: object
160
+ required: false # TODO Hand-rolled W-15955585
161
+ properties:
162
+ //:
163
+ type: any # TODO Hand-rolled W-8863405
164
+ templateVersion:
165
+ description: The version of the template this app was created from
166
+ required: false # TODO Hand-rolled W-15955585
167
+ type: string
168
+ assetIds:
169
+ description: The asset Ids to associate with the app.
170
+ required: false # TODO Hand-rolled W-15955585
171
+ type: array
172
+ items:
173
+ type: string
174
+ AppRepresentation:
175
+ description: Representation for a single app.
176
+ type: object
177
+ properties:
178
+ activitiesUrl:
179
+ description: Url to get collection of most recent installation activities
180
+ type: string
181
+ applicationStatus:
182
+ description: The status of this app.
183
+ type: string
184
+ assetUrl:
185
+ description: A link to the App Assets.
186
+ type: string
187
+ createdBy:
188
+ description: Who created this app.
189
+ type: UserRepresentation
190
+ createdDate:
191
+ description: When this app was created.
192
+ type: string
193
+ description:
194
+ description: The description of this app.
195
+ type: string | nil
196
+ id:
197
+ description: The ID or fully qualified API name of this app.
198
+ type: string
199
+ installationHistoryUrl:
200
+ description: A link to the App History Setup Page.
201
+ type: string
202
+ label:
203
+ description: The label of this app.
204
+ type: string
205
+ lastModifiedBy:
206
+ description: Who last modified this app.
207
+ type: UserRepresentation
208
+ lastModifiedDate:
209
+ description: When this app was last modified.
210
+ type: string
211
+ latestActivityUrl:
212
+ description: Url to get the most recent activity.
213
+ type: string
214
+ name:
215
+ description: The dev name of this app.
216
+ type: string
217
+ refreshUrl:
218
+ description: A link to rerun the Data Assets and refresh the data
219
+ type: string
220
+ schedule:
221
+ description: The refresh schedule for this app.
222
+ type: AppScheduleRepresentation | nil
223
+ templateSourceId:
224
+ description: The ID od the template used to create this app.
225
+ type: string | nil
226
+ templateSubtype:
227
+ description: The subtype of the template used to create the app.
228
+ type: string | nil
229
+ enum:
230
+ - AgentForceAnalytics
231
+ - Dashboard
232
+ - DataCloud
233
+ - SemanticModel
234
+ - Tableau
235
+ - Visualization
236
+ templateType:
237
+ description: The type of the template used to create the app.
238
+ type: string
239
+ enum:
240
+ - App
241
+ - Component
242
+ - Library
243
+ - Unknown
244
+ templateValues:
245
+ description: The Variable Values (Answers to Questions) used to customize
246
+ the app install.
247
+ type: object
248
+ properties:
249
+ //:
250
+ type: any # TODO Hand-rolled W-8863405
251
+ templateVersion:
252
+ description: The version of the template used to create the app.
253
+ type: string | nil
254
+ url:
255
+ description: A self link to this App
256
+ type: string
257
+ AppResultRepresentation:
258
+ description: Representation for the results of an app creation.
259
+ type: object
260
+ properties:
261
+ app:
262
+ description: The App.
263
+ type: AppRepresentation
264
+ failureMessage:
265
+ description: The Failure message if the app has failed. If this app was created
266
+ Async it may not have completed yet.
267
+ type: string | nil
268
+ runtimeRequestId:
269
+ description: The Domino Runtime Request.
270
+ type: string | nil
271
+ state:
272
+ description: The State.
273
+ type: object
274
+ properties:
275
+ //:
276
+ type: any # TODO Hand-rolled W-8863405
277
+ AppScheduleRepresentation:
278
+ description: Representaiton for an App Data Refresh schedule
279
+ type: object
280
+ properties:
281
+ dataRefreshSchedule:
282
+ description: Recurring schedule for performing data refreshes.
283
+ type: ScheduledItemRepresentation | nil
284
+ url:
285
+ description: Url to scheduling attributes of a folder.
286
+ type: string | nil
287
+ AppUpdateRepresentation:
288
+ description: Input representation for updating/reconfiguring an app from a template.
289
+ type: object
290
+ properties:
291
+ logLevel:
292
+ description: Specifies the runtime logging level for debug.
293
+ required: false # TODO Hand-rolled W-15955585
294
+ type: string
295
+ runtimeMethod:
296
+ description: The runtime method async or sync
297
+ required: false # TODO Hand-rolled W-15955585
298
+ type: string
299
+ templateSourceId:
300
+ description: Template Id from which the app was created from.
301
+ type: string
302
+ templateValues:
303
+ description: The runtime template values to use during application upgrade
304
+ required: false # TODO Hand-rolled W-15955585
305
+ type: object
306
+ properties:
307
+ //:
308
+ type: any # TODO Hand-rolled W-8863405
309
+ AssetCollectionRepresentation:
310
+ description: Representation list of assets created from a template.
311
+ type: object
312
+ properties:
313
+ appId:
314
+ description: The ID or fully qualified API name of the app to which these
315
+ assets belong.
316
+ type: string
317
+ assets:
318
+ description: The collection of assets created from the template.
319
+ type: array
320
+ items:
321
+ type: AssetRepresentation
322
+ AssetInputRepresentation:
323
+ description: Input representation for creating library assets from a template.
324
+ type: object
325
+ properties:
326
+ appId:
327
+ description: App Id this asset belongs to
328
+ type: string
329
+ required: false # TODO Hand-rolled W-15955585
330
+ assetIdOrName1:
331
+ description: Primary Id or devname of the asset
332
+ type: string
333
+ assetIdOrName2:
334
+ description: Secondary Id or devname of the asset
335
+ type: string | nil
336
+ required: false # TODO Hand-rolled W-15955585
337
+ assetIdOrName3:
338
+ description: tertiary Id or devname of the asset.
339
+ type: string | nil
340
+ required: false # TODO Hand-rolled W-15955585
341
+ templateAssetSourceName:
342
+ description: Template Asset name associated with this asset
343
+ type: string | nil
344
+ required: false # TODO Hand-rolled W-15955585
345
+ templateSourceId:
346
+ description: App or Component Template Id where this asset was created from
347
+ type: string | nil
348
+ required: false # TODO Hand-rolled W-15955585
349
+ type:
350
+ description: Asset Type
351
+ type: string | nil
352
+ required: false # TODO Hand-rolled W-15955585
353
+ AssetRepresentation:
354
+ description: Representation for a single template.
355
+ type: object
356
+ properties:
357
+ appId:
358
+ description: The App ID associated with this
359
+ type: string
360
+ assetIdOrName:
361
+ description: The primary ID or Name of the asset
362
+ type: string
363
+ assetIdOrName2:
364
+ description: The secondary ID or Name of the asset
365
+ type: string | nil
366
+ assetIdOrName3:
367
+ description: The tertiary ID or Name of the asset
368
+ type: string | nil
369
+ id:
370
+ description: The ID of the asset association.
371
+ type: string
372
+ templateAssetSourceName:
373
+ description: The template asset name this asset was created from.
374
+ type: string | nil
375
+ templateSourceId:
376
+ description: The template this asset was created from
377
+ type: string | nil
378
+ type:
379
+ description: The asset type.
380
+ type: string | nil
381
+ BasicAppUpdateRepresentation:
382
+ description: Input representation for updating a basic app from a list of asset ids.
383
+ type: object
384
+ properties:
385
+ assetIds:
386
+ description: The asset Ids to associate with the app.
387
+ type: array
388
+ items:
389
+ type: string
390
+ ChainDefinitionInputRepresentation:
391
+ description: Input representation for a domino chain definition.
392
+ type: object
393
+ properties:
394
+ file:
395
+ description: The this file reference to the chain
396
+ type: string
397
+ name:
398
+ description: The name of the chain.
399
+ type: string
400
+ required: false # TODO Hand-rolled W-15955585
401
+ type:
402
+ description: The type of chain.
403
+ type: string
404
+ enum:
405
+ - Create
406
+ - Delete
407
+ - RefreshData
408
+ - Update
409
+ ChainDefinitionRepresentation:
410
+ description: chain definition.
411
+ type: object
412
+ properties:
413
+ dominoChainId:
414
+ description: The domino chain id.
415
+ type: string | nil
416
+ file:
417
+ description: The file.
418
+ type: string
419
+ name:
420
+ description: The name.
421
+ type: string | nil
422
+ type:
423
+ description: The chain type.
424
+ type: string
425
+ enum:
426
+ - Create
427
+ - Delete
428
+ - OrgReadiness
429
+ - RefreshData
430
+ - Update
431
+ InstalledAssetCollectionRepresentation:
432
+ description: Representation list of assets associated with an app
433
+ type: object
434
+ properties:
435
+ assets:
436
+ description: The collection of assets associated with an app - may or may
437
+ not be created from template
438
+ type: array
439
+ items:
440
+ type: AssetRepresentation
441
+ ReleaseInfoInputRepresentation:
442
+ description: Input representation for release notes and version.
443
+ type: object
444
+ properties:
445
+ notesFile:
446
+ description: Template release notes.
447
+ type: string
448
+ required: false # TODO Hand-rolled W-15955585
449
+ templateVersion:
450
+ description: Template version.
451
+ type: string
452
+ ReleaseInfoRepresentation:
453
+ description: release info.
454
+ type: object
455
+ properties:
456
+ notesFile:
457
+ description: The notes file of this template.
458
+ type: string | nil
459
+ templateVersion:
460
+ description: The template version of this template.
461
+ type: string
462
+ RuleInfoInputRepresentation:
463
+ description: Input representation for rules.
464
+ type: object
465
+ properties:
466
+ file:
467
+ description: The JSON file holding the rules.
468
+ type: string
469
+ type:
470
+ description: The type of rules.
471
+ type: string
472
+ RuleInfoRepresentation:
473
+ description: output representation for rules.
474
+ type: object
475
+ properties:
476
+ file:
477
+ description: The file.
478
+ type: string
479
+ type:
480
+ description: The rule type.
481
+ type: string
482
+ TemplateCollectionRepresentation:
483
+ description: Representation for Next Gen application templates.
484
+ type: object
485
+ properties:
486
+ templates:
487
+ description: The collection of application templates available within this
488
+ organization.
489
+ type: array
490
+ items:
491
+ type: TemplateRepresentation
492
+ TemplateConfigurationRepresentation:
493
+ description: Representation for app template configuration.
494
+ type: object
495
+ properties:
496
+ id:
497
+ description: The ID or fully qualified API name of this template.
498
+ type: string
499
+ layout:
500
+ description: The layout interface definition for the template.
501
+ type: UiLayoutDefinitionRepresentation | nil
502
+ name:
503
+ description: The local API name of the template.
504
+ type: string
505
+ variables:
506
+ description: The defined set of variables for this Wave template.
507
+ type: object
508
+ properties:
509
+ //:
510
+ # Setting this to the real type causes the snapshot to reject with:
511
+ # 'Invalid resource response. Expected resource response to result in Fulfilled or Stale snapshot'
512
+ # (with no errors about the type, even on empty {} value). Using type: any gets past it for now.
513
+ type: any # TODO Hand-rolled W-8863405
514
+ #type: VariableDefinitionRepresentation
515
+ TemplateIconsInputRepresentation:
516
+ description: Input representation template Icons.
517
+ type: object
518
+ properties:
519
+ appBadge:
520
+ description: Icon for the app.
521
+ type: TemplateImageInputRepresentation
522
+ templateBadge:
523
+ description: Icon for the template
524
+ type: TemplateImageInputRepresentation
525
+ templatePreviews:
526
+ description: Previews images an description of template
527
+ type: array
528
+ items:
529
+ type: TemplateImageInputRepresentation
530
+ TemplateIconsRepresentation:
531
+ description: template icons.
532
+ type: object
533
+ properties:
534
+ appBadge:
535
+ description: The app badge.
536
+ type: TemplateImageRepresentation | nil
537
+ templateBadge:
538
+ description: The template badge.
539
+ type: TemplateImageRepresentation | nil
540
+ templatePreviews:
541
+ description: The template previews.
542
+ type: array
543
+ items:
544
+ type: TemplateImageRepresentation
545
+ TemplateImageInputRepresentation:
546
+ description: Input representation for Template Images.
547
+ type: object
548
+ properties:
549
+ file:
550
+ description: Image file
551
+ type: string
552
+ name:
553
+ description: Image Name.
554
+ required: false # TODO Hand-rolled W-15955585
555
+ type: string
556
+ TemplateImageRepresentation:
557
+ description: Template image representation.
558
+ type: object
559
+ properties:
560
+ file:
561
+ description: The file that qualifies the image
562
+ type: string
563
+ required: false # TODO Hand-rolled W-8253396
564
+ name:
565
+ description: The image name.
566
+ type: string
567
+ required: false # TODO Hand-rolled W-8253396
568
+ url:
569
+ description: The image URL.
570
+ type: string
571
+ TemplateInputRepresentation:
572
+ description: Input representation for Template Info.
573
+ type: object
574
+ properties:
575
+ applicationSourceId:
576
+ description: The Template application source
577
+ required: false # TODO Hand-rolled W-15955585
578
+ type: string
579
+ assetVersion:
580
+ description: The version of the Template assets.
581
+ required: false # TODO Hand-rolled W-15955585
582
+ type: number
583
+ chainDefinitions:
584
+ description: The Template chain definitions
585
+ required: false # TODO Hand-rolled W-15955585
586
+ type: array
587
+ items:
588
+ type: ChainDefinitionInputRepresentation
589
+ description:
590
+ description: The Template description.
591
+ required: false # TODO Hand-rolled W-15955585
592
+ type: string
593
+ icons:
594
+ description: The Template icons.
595
+ required: false # TODO Hand-rolled W-15955585
596
+ type: TemplateIconsInputRepresentation
597
+ id:
598
+ description: The Template Id.
599
+ required: false # TODO Hand-rolled W-15955585
600
+ type: string
601
+ label:
602
+ description: The Template label.
603
+ type: string
604
+ layoutDefinition:
605
+ description: The Template layout definition file.
606
+ required: false # TODO Hand-rolled W-15955585
607
+ type: string
608
+ maxAppCount:
609
+ description: The maximum number of apps that can be creatd from this template.
610
+ required: false # TODO Hand-rolled W-15955585
611
+ type: integer
612
+ name:
613
+ description: The Template name.
614
+ type: string
615
+ namespace:
616
+ description: The Template developer namespace.
617
+ required: false # TODO Hand-rolled W-15955585
618
+ type: string
619
+ releaseInfo:
620
+ description: The Template release notes
621
+ required: false # TODO Hand-rolled W-15955585
622
+ type: ReleaseInfoInputRepresentation
623
+ rules:
624
+ description: The Template rules file
625
+ type: array
626
+ required: false # TODO Hand-rolled W-15955585
627
+ items:
628
+ type: RuleInfoInputRepresentation
629
+ tags:
630
+ description: The Template Tags.
631
+ required: false # TODO Hand-rolled W-15955585
632
+ type: object
633
+ properties:
634
+ //:
635
+ type: any
636
+ templateSubtype:
637
+ description: The Template Subtype.
638
+ required: false # TODO Hand-rolled W-15955585
639
+ type: string
640
+ enum:
641
+ - AgentForceAnalytics
642
+ - Dashboard
643
+ - DataCloud
644
+ - SemanticModel
645
+ - Tableau
646
+ - Visualization
647
+ templateType:
648
+ description: The Template Type.
649
+ type: string
650
+ enum:
651
+ - App
652
+ - Component
653
+ - Library
654
+ - Unknown
655
+ variableDefinition:
656
+ description: The Template variables file
657
+ required: false # TODO Hand-rolled W-15955585
658
+ type: string
659
+ TemplateReadinessInputRepresentation:
660
+ description: Input representation for performing org readiness check on a template
661
+ type: object
662
+ properties:
663
+ logLevel:
664
+ description: Specifies the runtime logging level for debug.
665
+ required: false
666
+ type: string
667
+ templateValues:
668
+ description: The runtime template values user to control conditions in the
669
+ chain.
670
+ type: object
671
+ required: false
672
+ properties:
673
+ //:
674
+ type: any # TODO Hand-rolled W-8863405
675
+ #type: object
676
+ TemplateReadinessItemRepresentation:
677
+ description: Results for individual validation task
678
+ type: object
679
+ properties:
680
+ message:
681
+ description: The task specific message.
682
+ type: string | nil
683
+ readinessStatus:
684
+ description: The status for the readiness task
685
+ type: string | nil
686
+ enum:
687
+ - Complete
688
+ - Failed
689
+ - Warning
690
+ tags:
691
+ description: The collection of tags describing the purpose of the validation.
692
+ type: array
693
+ items:
694
+ type: string
695
+ type:
696
+ description: The task specific type, associated with readiness check type.
697
+ type: string
698
+ TemplateReadinessRepresentation:
699
+ description: Representation for app template readiness check.
700
+ type: object
701
+ properties:
702
+ id:
703
+ description: The Template Id this readiness check was performed on
704
+ type: string
705
+ runtimeRequestId:
706
+ description: The Domino Runtime Request.
707
+ type: string | nil
708
+ state:
709
+ description: The State information
710
+ type: object
711
+ properties:
712
+ //:
713
+ type: any # TODO: Hand-rolled W-8863405
714
+ #type: object
715
+ status:
716
+ description: The Status
717
+ type: string
718
+ tasks:
719
+ description: Results from each requirement task.
720
+ type: array
721
+ items:
722
+ type: TemplateReadinessItemRepresentation
723
+ warningMessage:
724
+ description: Warning message (readiness chain not found).
725
+ type: string | nil
726
+ TemplateRepresentation:
727
+ description: Representation for a single template.
728
+ type: object
729
+ properties:
730
+ applicationSourceId:
731
+ description: The ID of the application source for this template.
732
+ type: string | nil
733
+ assetVersion:
734
+ description: The asset version of the application template.
735
+ type: number | nil
736
+ chainDefinitions:
737
+ description: The chain definitions.
738
+ type: array
739
+ items:
740
+ type: ChainDefinitionRepresentation
741
+ configurationUrl:
742
+ description: Url for configuration information
743
+ type: string
744
+ createdDate:
745
+ description: The created date of the application Template.
746
+ type: string | nil
747
+ description:
748
+ description: The description of the application template.
749
+ type: string | nil
750
+ icons:
751
+ description: The icons of the application template.
752
+ type: TemplateIconsRepresentation | nil
753
+ id:
754
+ description: The ID or fully qualified API name of this template.
755
+ type: string
756
+ label:
757
+ description: The localized name of the application template.
758
+ type: string
759
+ lastModifiedDate:
760
+ description: The last modified date of the application Template.
761
+ type: string | nil
762
+ layoutDefinition:
763
+ description: The layout definition of the application template.
764
+ type: string | nil
765
+ maxAppCount:
766
+ description: The max app count of the application template.
767
+ type: integer | nil
768
+ name:
769
+ description: The local API name of the application template.
770
+ type: string
771
+ namespace:
772
+ description: The local namespace of the application template.
773
+ type: string | nil
774
+ readinessUrl:
775
+ description: Url for performing org readiness check
776
+ type: string
777
+ releaseInfo:
778
+ description: The release info of the application template.
779
+ type: ReleaseInfoRepresentation | nil
780
+ rules:
781
+ description: The rules.
782
+ type: array
783
+ items:
784
+ type: RuleInfoRepresentation
785
+ tags:
786
+ description: The Template Tags.
787
+ type: object
788
+ properties:
789
+ //:
790
+ type: any
791
+ templateSubtype:
792
+ description: The template sub type.
793
+ type: string | nil
794
+ enum:
795
+ - AgentForceAnalytics
796
+ - Dashboard
797
+ - DataCloud
798
+ - SemanticModel
799
+ - Tableau
800
+ - Visualization
801
+ templateType:
802
+ description: The template type.
803
+ type: string
804
+ enum:
805
+ - App
806
+ - Component
807
+ - Library
808
+ - Unknown
809
+ url:
810
+ description: The this url.
811
+ type: string
812
+ variableDefinition:
813
+ description: The variable definition of the application template.
814
+ type: string | nil
815
+ templateStatus:
816
+ description: The Template Status
817
+ type: string | nil
818
+ enum:
819
+ - Draft
820
+ - Published
821
+ UserRepresentation:
822
+ description: Information about a user.
823
+ type: object
824
+ properties:
825
+ id:
826
+ description: The 18 character user ID.
827
+ type: string
828
+ name:
829
+ description: The name of the user.
830
+ type: string
831
+ profilePhotoUrl:
832
+ description: The Chatter profile photo of the user.
833
+ type: string | nil
834
+ # TODO: hand-rolled
835
+ # ScheduleItemReresentation and its subtypes and related types come from the json-xform-connect-api
836
+ # module and are referenced in app-framework-connect-api. This means they don't get created in the
837
+ # app-framework-connect-api raml, so I'm copying them from the json-xform-connect-api raml here.
838
+ DailyScheduledItemRepresentation:
839
+ description: Representation for a scheduled item.
840
+ type: ScheduledItemRepresentation
841
+ discriminatorValue: Daily
842
+ properties: {}
843
+ HourlyScheduledItemRepresentation:
844
+ description: Representation for an hourly scheduled item.
845
+ type: ScheduledItemRepresentation
846
+ discriminatorValue: Hourly
847
+ properties:
848
+ daysOfWeek:
849
+ description: Collection of days of week for schedule.
850
+ type: array
851
+ items:
852
+ type: string
853
+ enum:
854
+ - Friday
855
+ - Monday
856
+ - Saturday
857
+ - Sunday
858
+ - Thursday
859
+ - Tuesday
860
+ - Wednesday
861
+ hourlyInterval:
862
+ description: Collection of days of week for schedule.
863
+ type: integer
864
+ ScheduledItemRepresentation:
865
+ description: Representation for a scheduled item.
866
+ type: object
867
+ discriminator: frequency
868
+ properties:
869
+ frequency:
870
+ description: The frequency of this scheduled item.
871
+ type: string
872
+ enum:
873
+ - Daily
874
+ - Hourly
875
+ - Weekly
876
+ # TODO: hand-rolled -- these are in the java enum, but do not have corresponding java
877
+ # subclasses so they won't be seen in responses for now
878
+ # - Monthly
879
+ # - MonthlyRelative
880
+ nextScheduledRun:
881
+ description: The next scheduled runtime.
882
+ type: string
883
+ time:
884
+ description: Collection of scheduled run time.
885
+ type: ScheduledTimeRepresentation
886
+ ScheduledTimeRepresentation:
887
+ description: Representation for a scheduled time of day.
888
+ type: object
889
+ properties:
890
+ hour:
891
+ description: Hour of day.
892
+ type: integer
893
+ minute:
894
+ description: Minute of hour.
895
+ type: integer
896
+ timezone:
897
+ description: String representation of timezone.
898
+ type: ScheduledTimezoneRepresentation
899
+ ScheduledTimezoneRepresentation:
900
+ description: Information about a time zone.
901
+ type: object
902
+ properties:
903
+ gmtOffset:
904
+ description: The signed offset, in hours, from GMT.
905
+ format: double
906
+ type: number
907
+ name:
908
+ description: The display name of this time zone.
909
+ type: string
910
+ zoneId:
911
+ description: The zone ID of this time zone.
912
+ type: string
913
+ WeeklyScheduledItemRepresentation:
914
+ description: Representation for a daily scheduled item.
915
+ type: ScheduledItemRepresentation
916
+ discriminatorValue: Weekly
917
+ properties:
918
+ daysOfWeek:
919
+ description: Collection of days of week for schedule.
920
+ type: array
921
+ items:
922
+ type: string
923
+ enum:
924
+ - Friday
925
+ - Monday
926
+ - Saturday
927
+ - Sunday
928
+ - Thursday
929
+ - Tuesday
930
+ - Wednesday
931
+ TemplateTagCollectionInputRepresentation:
932
+ description: Input representation for creating template tag records.
933
+ type: object
934
+ properties:
935
+ tags:
936
+ description: The Template Tags.
937
+ required: false # TODO Hand-rolled W-15955585
938
+ type: object
939
+ properties:
940
+ //:
941
+ type: any
942
+ TemplateTagCollectionRepresentation:
943
+ description: Representation for template tag records.
944
+ type: object
945
+ properties:
946
+ tags:
947
+ description: The collection of template tag records.
948
+ type: object
949
+ properties:
950
+ //:
951
+ type: any
952
+ templateId:
953
+ description: The id for the tags' template.
954
+ type: string
955
+ TemplateUpdateRepresentation:
956
+ description: Input representation for Template update.
957
+ type: object
958
+ properties:
959
+ applicationSourceId:
960
+ description: The Template application source
961
+ required: false # TODO Hand-rolled W-15955585
962
+ type: string
963
+ description:
964
+ description: The Template description.
965
+ required: false # TODO Hand-rolled W-15955585
966
+ type: string
967
+ releaseInfo:
968
+ description: The Template release notes
969
+ required: false # TODO Hand-rolled W-15955585
970
+ type: ReleaseInfoInputRepresentation
971
+ label:
972
+ description: The Template label.
973
+ required: false # TODO Hand-rolled W-15955585
974
+ type: string
975
+ templateStatus:
976
+ description: The Template Status
977
+ required: false
978
+ type: string
979
+ enum:
980
+ - Draft
981
+ - Published
982
+ TemplatedAssetCollectionRepresentation:
983
+ description: Representation for Next Gen application templated assets.
984
+ type: object
985
+ properties:
986
+ templatedAssets:
987
+ description: The collection of templated assets available.
988
+ type: array
989
+ items:
990
+ type: TemplatedAssetRepresentation
991
+ TemplatedAssetRepresentation:
992
+ description: A templated asset
993
+ type: object
994
+ properties:
995
+ assetType:
996
+ description: The asset type
997
+ type: string
998
+ body:
999
+ description: The templated asset's body
1000
+ type: string | nil
1001
+ fileName:
1002
+ description: The templated asset's file name
1003
+ type: string | nil
1004
+ id:
1005
+ description: The templated asset's id
1006
+ type: string
1007
+ templateId:
1008
+ description: The id for the asset's template
1009
+ type: string
1010
+ templatedAssetName:
1011
+ description: The asset's name within the template'
1012
+ type: string
1013
+ UiLayoutDefinitionRepresentation:
1014
+ description: Representation for UI definition of Wave templates with layout support.
1015
+ type: object
1016
+ properties:
1017
+ appDetails:
1018
+ description: Configuration for the app details page of the wizard.
1019
+ required: false # TODO Hand-rolled W-8253396
1020
+ type: AppDetailsRepresentation
1021
+ displayMessages:
1022
+ description: The display messages for this template configuration.
1023
+ type: array
1024
+ items:
1025
+ type: any # TODO Hand-rolled W-8863405 should be DisplayMessageRepresentation
1026
+ navigationPanel:
1027
+ description: Configuration for the navigation panel of the wizard.
1028
+ type: NavigationPanelRepresentation
1029
+ required: false # TODO Hand-rolled W-8253396
1030
+ pages:
1031
+ description: The page collection for this template configuration.
1032
+ type: array
1033
+ items:
1034
+ # Setting this to the real type causes the snapshot to reject with:
1035
+ # 'Invalid discriminator. Expected discriminator at path
1036
+ # "layout.pages.type" but receive [...]' where [...] is the
1037
+ # layout.pages array (it should be looking at one of the elements of
1038
+ # that array, not the array itself). Using any for now to get past
1039
+ # this.
1040
+ type: any # TODO Hand-rolled W-8863405 should be PageLayoutRepresentation
1041
+ AppDetailsRepresentation:
1042
+ description: Configuration for the app details page in the wizard
1043
+ type: object
1044
+ properties:
1045
+ guidancePanel:
1046
+ description: The guidance panel to show on the app details page.
1047
+ required: false # TODO Hand-rolled W-8253396
1048
+ type: GuidancePanelRepresentation
1049
+ navigation:
1050
+ description: The navigation info for this page in the navigation panel.
1051
+ required: false # TODO Hand-rolled W-8253396
1052
+ type: PageNavigationInfoRepresentation
1053
+ GuidancePanelRepresentation:
1054
+ description: Configuration for the guidance panel on wizard pages
1055
+ type: object
1056
+ properties:
1057
+ backgroundImage:
1058
+ description: The optional background image for the guidance panel
1059
+ required: false # TODO Hand-rolled W-8253396
1060
+ type: ImageReferenceRepresentation
1061
+ items:
1062
+ description: The items to display in the guidance panel.
1063
+ type: array
1064
+ items:
1065
+ type: any # TODO Hand-rolled W-8863405 should be PanelItemRepresentation
1066
+ title:
1067
+ description: The top title for the guidance panel.
1068
+ type: string | nil
1069
+ PageNavigationInfoRepresentation:
1070
+ description: Configuration for how a page appears in the navigation panel
1071
+ type: object
1072
+ properties:
1073
+ label:
1074
+ description: The label to display for the pane in the navigation panel.
1075
+ required: false # TODO Hand-rolled W-8253396
1076
+ type: string
1077
+ parentLabel:
1078
+ description: The label for the parent node of this page in the navigation
1079
+ panel.
1080
+ required: false # TODO Hand-rolled W-8253396
1081
+ type: string
1082
+ NavigationPanelRepresentation:
1083
+ description: Configuration for the navigation panel in the wizard
1084
+ type: object
1085
+ properties:
1086
+ title:
1087
+ description: The title to display in the pane.
1088
+ type: string
1089
+ ImageReferenceRepresentation:
1090
+ description: Image reference representation.
1091
+ type: object # TODO Hand-rolled W-8988532 due to StaticResourceReferenceRepresentation requiring a discriminator but generated raml does not have one issue
1092
+ #type: StaticResourceReferenceRepresentation
1093
+ # Both ImageReferenceRepresentation and TemplatePreviewRepresentation inherits from StaticResourceReferenceRepresentation but TemplatePreviewRepresentation
1094
+ # has more properties. The generated raml cannot distinguish between the two types without a discriminator value so the properties are copied over.
1095
+ properties:
1096
+ id:
1097
+ required: false # TODO Hand-rolled W-8253396
1098
+ description: The 18 character ID of the asset.
1099
+ type: string
1100
+ label:
1101
+ required: false # TODO Hand-rolled W-8253396
1102
+ description: The asset label.
1103
+ type: string
1104
+ name:
1105
+ required: false # TODO Hand-rolled W-8253396
1106
+ description: The asset developer name.
1107
+ type: string
1108
+ namespace:
1109
+ required: false # TODO Hand-rolled W-8253396
1110
+ description: The namespace that qualifies the asset name
1111
+ type: string
1112
+ url:
1113
+ required: false # TODO Hand-rolled W-8253396
1114
+ description: The asset URL.
1115
+ type: string
1116
+ StaticResourceReferenceRepresentation:
1117
+ description: Static Resource reference representation.
1118
+ type: object
1119
+ properties:
1120
+ id:
1121
+ required: false # TODO Hand-rolled W-8253396
1122
+ description: The 18 character ID of the asset.
1123
+ type: string
1124
+ label:
1125
+ required: false # TODO Hand-rolled W-8253396
1126
+ description: The asset label.
1127
+ type: string
1128
+ name:
1129
+ required: false # TODO Hand-rolled W-8253396
1130
+ description: The asset developer name.
1131
+ type: string
1132
+ namespace:
1133
+ required: false # TODO Hand-rolled W-8253396
1134
+ description: The namespace that qualifies the asset name
1135
+ type: string
1136
+ url:
1137
+ required: false # TODO Hand-rolled W-8253396
1138
+ description: The asset URL.
1139
+ type: string
1140
+ /app-framework:
1141
+ /apps:
1142
+ get:
1143
+ displayName: getAppFrameworkAppCollection
1144
+ description: Get a list of applications
1145
+ responses:
1146
+ '200':
1147
+ description: Success
1148
+ body:
1149
+ application/json:
1150
+ type: AppCollectionRepresentation
1151
+ queryParameters:
1152
+ templateSourceId:
1153
+ type: string
1154
+ required: false
1155
+ templateSubtype:
1156
+ type: string
1157
+ required: false
1158
+ enum:
1159
+ - AgentForceAnalytics
1160
+ - Dashboard
1161
+ - DataCloud
1162
+ - SemanticModel
1163
+ - Tableau
1164
+ - Visualization
1165
+ type:
1166
+ type: string
1167
+ required: false
1168
+ enum:
1169
+ - App
1170
+ - Component
1171
+ - Library
1172
+ - Unknown
1173
+ post:
1174
+ displayName: postAppFrameworkAppCollection
1175
+ description: Creates an app from a template
1176
+ responses:
1177
+ '200':
1178
+ description: Success
1179
+ body:
1180
+ application/json:
1181
+ type: AppResultRepresentation
1182
+ body:
1183
+ application/json:
1184
+ type: AppInputRepresentation
1185
+ (oas-body-name): app
1186
+ /apps/{appIdOrApiName}:
1187
+ delete:
1188
+ displayName: deleteAppFrameworkApp
1189
+ description: Delete an App.
1190
+ responses:
1191
+ '200':
1192
+ description: Success
1193
+ get:
1194
+ displayName: getAppFrameworkApp
1195
+ description: Get an App
1196
+ responses:
1197
+ '200':
1198
+ description: Success
1199
+ body:
1200
+ application/json:
1201
+ type: AppRepresentation
1202
+ put:
1203
+ displayName: putAppFrameworkApp
1204
+ description: Update an app from a template.
1205
+ responses:
1206
+ '200':
1207
+ description: Success
1208
+ body:
1209
+ application/json:
1210
+ type: AppResultRepresentation
1211
+ body:
1212
+ application/json:
1213
+ # TODO: Hand-rolled due to issue #24 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
1214
+ type: AppUpdateRepresentation
1215
+ (oas-body-name): updateBody
1216
+ uriParameters:
1217
+ appIdOrApiName:
1218
+ type: string
1219
+ required: true
1220
+ /apps/{appIdOrApiName}/activities:
1221
+ get:
1222
+ displayName: getAppFrameworkAppActivityCollection
1223
+ description: Get a list of app activity records
1224
+ responses:
1225
+ '200':
1226
+ description: Success
1227
+ body:
1228
+ application/json:
1229
+ type: AppActivityCollectionRepresentation
1230
+ uriParameters:
1231
+ appIdOrApiName:
1232
+ type: string
1233
+ required: true
1234
+ /{id}:
1235
+ get:
1236
+ displayName: getAppFrameworkAppActivityItem
1237
+ description: Get a specific App's activity
1238
+ responses:
1239
+ '200':
1240
+ description: Success
1241
+ body:
1242
+ application/json:
1243
+ type: AppActivityItemRepresentation
1244
+ uriParameters:
1245
+ appIdOrApiName:
1246
+ type: string
1247
+ required: true
1248
+ id:
1249
+ type: string
1250
+ required: true
1251
+ /apps/{appIdOrApiName}/assets:
1252
+ get:
1253
+ displayName: getAppFrameworkAppAssetCollection
1254
+ description: Get a list of assets included in the app
1255
+ responses:
1256
+ '200':
1257
+ description: Success
1258
+ body:
1259
+ application/json:
1260
+ type: AssetCollectionRepresentation
1261
+ queryParameters:
1262
+ assetType:
1263
+ type: string
1264
+ required: false
1265
+ templateAssetName:
1266
+ type: string
1267
+ required: false
1268
+ post:
1269
+ displayName: postAppFrameworkAppAsset
1270
+ description: Add an asset included in the app
1271
+ responses:
1272
+ '200':
1273
+ description: Success
1274
+ body:
1275
+ application/json:
1276
+ type: AssetRepresentation
1277
+ body:
1278
+ application/json:
1279
+ type: AssetInputRepresentation
1280
+ (oas-body-name): appAssetParam
1281
+ uriParameters:
1282
+ appIdOrApiName:
1283
+ type: string
1284
+ required: true
1285
+ /{appAssetId}:
1286
+ get:
1287
+ displayName: getAppFrameworkAppAsset
1288
+ description: Get an app's specific asset
1289
+ responses:
1290
+ '200':
1291
+ description: Success
1292
+ body:
1293
+ application/json:
1294
+ type: AssetRepresentation
1295
+ delete:
1296
+ displayName: deleteAppFrameworkAppAsset
1297
+ description: Delete an App Asset
1298
+ responses:
1299
+ '200':
1300
+ description: Success
1301
+ patch:
1302
+ displayName: patchAppFrameworkAppAsset
1303
+ description: Update an app's specific resource.
1304
+ responses:
1305
+ '200':
1306
+ description: Success
1307
+ body:
1308
+ application/json:
1309
+ type: AssetRepresentation
1310
+ body:
1311
+ application/json:
1312
+ type: AssetInputRepresentation
1313
+ (oas-body-name): appAssetParam
1314
+ uriParameters:
1315
+ appIdOrApiName:
1316
+ type: string
1317
+ required: true
1318
+ appAssetId:
1319
+ type: string
1320
+ required: true
1321
+ /apps/{appIdOrApiName}/updateBasicApp:
1322
+ post:
1323
+ displayName: postAppFrameworkBasicApp
1324
+ description: Update this app with a list of resources, nor from a template.
1325
+ responses:
1326
+ '200':
1327
+ description: Success
1328
+ body:
1329
+ application/json:
1330
+ type: AppResultRepresentation
1331
+ body:
1332
+ application/json:
1333
+ type: BasicAppUpdateRepresentation
1334
+ (oas-body-name): updateBody
1335
+ uriParameters:
1336
+ appIdOrApiName:
1337
+ type: string
1338
+ required: true
1339
+ /installed-assets:
1340
+ get:
1341
+ displayName: getAppFrameworkInstalledAssetCollection
1342
+ description: Get a list of assets installed by a template
1343
+ responses:
1344
+ '200':
1345
+ description: Success
1346
+ body:
1347
+ application/json:
1348
+ type: InstalledAssetCollectionRepresentation
1349
+ queryParameters:
1350
+ assetIdOrName:
1351
+ type: string
1352
+ required: false
1353
+ assetType:
1354
+ type: string
1355
+ required: false
1356
+ /templates:
1357
+ get:
1358
+ displayName: getAppFrameworkTemplateCollection
1359
+ description: Get a list of application templates
1360
+ responses:
1361
+ '200':
1362
+ description: Success
1363
+ body:
1364
+ application/json:
1365
+ type: TemplateCollectionRepresentation
1366
+ queryParameters:
1367
+ templateSubtype:
1368
+ type: string
1369
+ required: false
1370
+ enum:
1371
+ - AgentForceAnalytics
1372
+ - Dashboard
1373
+ - DataCloud
1374
+ - SemanticModel
1375
+ - Tableau
1376
+ - Visualization
1377
+ type:
1378
+ type: string
1379
+ required: false
1380
+ enum:
1381
+ - App
1382
+ - Component
1383
+ - Library
1384
+ - Unknown
1385
+ post:
1386
+ displayName: postAppFrameworkTemplateCollection
1387
+ description: Create a new application template.
1388
+ responses:
1389
+ '200':
1390
+ description: Success
1391
+ body:
1392
+ application/json:
1393
+ type: TemplateRepresentation
1394
+ body:
1395
+ application/json:
1396
+ type: TemplateInputRepresentation
1397
+ (oas-body-name): templateParam
1398
+ /templates/{templateIdOrApiName}:
1399
+ get:
1400
+ displayName: getAppFrameworkTemplate
1401
+ description: Get an App Template
1402
+ responses:
1403
+ '200':
1404
+ description: Success
1405
+ body:
1406
+ application/json:
1407
+ type: TemplateRepresentation
1408
+ patch:
1409
+ displayName: patchAppFrameworkTemplate
1410
+ description: Update a Template resource.
1411
+ responses:
1412
+ '200':
1413
+ description: Success
1414
+ body:
1415
+ application/json:
1416
+ type: TemplateRepresentation
1417
+ body:
1418
+ application/json:
1419
+ type: TemplateUpdateRepresentation
1420
+ (oas-body-name): templateParam
1421
+ delete:
1422
+ displayName: deleteAppFrameworkTemplate
1423
+ description: Delete a Template.
1424
+ responses:
1425
+ '200':
1426
+ description: Success
1427
+ uriParameters:
1428
+ templateIdOrApiName:
1429
+ type: string
1430
+ required: true
1431
+ /templates/{templateIdOrApiName}/assets:
1432
+ get:
1433
+ displayName: getAppFrameworkTemplateAssetCollection
1434
+ description: Get a list of assets associated with a template
1435
+ responses:
1436
+ '200':
1437
+ description: Success
1438
+ body:
1439
+ application/json:
1440
+ type: TemplatedAssetCollectionRepresentation
1441
+ uriParameters:
1442
+ templateIdOrApiName:
1443
+ type: string
1444
+ required: true
1445
+ /templates/{templateIdOrApiName}/configuration:
1446
+ get:
1447
+ displayName: getAppFrameworkTemplateConfiguration
1448
+ description: Returns the configuration for a specific template.
1449
+ responses:
1450
+ '200':
1451
+ description: Success
1452
+ body:
1453
+ application/json:
1454
+ type: TemplateConfigurationRepresentation
1455
+ uriParameters:
1456
+ templateIdOrApiName:
1457
+ type: string
1458
+ required: true
1459
+ /templates/{templateIdOrApiName}/readiness:
1460
+ post:
1461
+ displayName: postAppFrameworkTemplateReadiness
1462
+ description: Validate an application template for org readiness.
1463
+ responses:
1464
+ '200':
1465
+ description: Success
1466
+ body:
1467
+ application/json:
1468
+ type: TemplateReadinessRepresentation
1469
+ body:
1470
+ application/json:
1471
+ type: TemplateReadinessInputRepresentation
1472
+ (oas-body-name): templateReadinessParam
1473
+ uriParameters:
1474
+ templateIdOrApiName:
1475
+ type: string
1476
+ required: true
1477
+ /templates/{templateIdOrApiName}/tags:
1478
+ get:
1479
+ displayName: getAppFrameworkTemplateTagCollection
1480
+ description: Get a list of template tag records
1481
+ responses:
1482
+ '200':
1483
+ description: Success
1484
+ body:
1485
+ application/json:
1486
+ type: TemplateTagCollectionRepresentation
1487
+ put:
1488
+ displayName: putAppFrameworkTemplateTagCollection
1489
+ description: Upsert template tags.
1490
+ responses:
1491
+ '200':
1492
+ description: Success
1493
+ body:
1494
+ application/json:
1495
+ type: TemplateTagCollectionRepresentation
1496
+ body:
1497
+ application/json:
1498
+ type: TemplateTagCollectionInputRepresentation
1499
+ (oas-body-name): templateTagParam
1500
+ uriParameters:
1501
+ templateIdOrApiName:
1502
+ type: string
1503
+ required: true