@salesforce/lds-adapters-analytics-app-framework 1.308.0 → 1.309.0-dev10
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/dist/es/es2018/analytics-app-framework.js +954 -315
- package/dist/es/es2018/types/src/generated/adapters/createApp.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/getAppActivities.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getAppActivity.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getApps.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -1
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkApps.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getAppFrameworkAppsActivitiesByAppIdOrApiNameAndId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postAppFrameworkApps.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/AppActivityCollectionRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/AppActivityItemInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AppActivityItemRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/AppInputRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/AppRepresentation.d.ts +10 -1
- package/dist/es/es2018/types/src/generated/types/AppResultRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/AssetCollectionRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/AssetRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TemplateInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/TemplateRepresentation.d.ts +3 -3
- package/package.json +3 -3
- package/sfdc/index.js +1036 -292
- package/src/raml/api.raml +149 -1
- package/src/raml/luvio.raml +24 -2
package/src/raml/api.raml
CHANGED
|
@@ -25,6 +25,74 @@ annotationTypes:
|
|
|
25
25
|
type: string
|
|
26
26
|
allowedTargets: TypeDeclaration
|
|
27
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
|
|
28
96
|
AppCollectionRepresentation:
|
|
29
97
|
description: Representation for Next Gen applications.
|
|
30
98
|
type: object
|
|
@@ -50,12 +118,28 @@ types:
|
|
|
50
118
|
label:
|
|
51
119
|
description: The user-facing name of the new folder or application.
|
|
52
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
|
|
53
125
|
name:
|
|
54
126
|
description: The internal api name of the new application.
|
|
55
127
|
type: string
|
|
128
|
+
runtimeMethod:
|
|
129
|
+
description: The runtime method async or sync
|
|
130
|
+
required: false # TODO Hand-rolled W-15955585
|
|
131
|
+
type: string
|
|
56
132
|
templateSourceId:
|
|
57
133
|
description: Template Id from which to create the app.
|
|
58
134
|
type: string
|
|
135
|
+
templateType:
|
|
136
|
+
description: The type of the template this app was created from
|
|
137
|
+
type: string
|
|
138
|
+
required: false # TODO Hand-rolled W-15955585
|
|
139
|
+
enum:
|
|
140
|
+
- App
|
|
141
|
+
- Library
|
|
142
|
+
- Unknown
|
|
59
143
|
templateValues:
|
|
60
144
|
description: The runtime template values to use during application creation,
|
|
61
145
|
as specified by the individual template.
|
|
@@ -72,6 +156,9 @@ types:
|
|
|
72
156
|
description: Representation for a single app.
|
|
73
157
|
type: object
|
|
74
158
|
properties:
|
|
159
|
+
activitiesUrl:
|
|
160
|
+
description: Url to get collection of most recent installation activities
|
|
161
|
+
type: string
|
|
75
162
|
applicationStatus:
|
|
76
163
|
description: The status of this app.
|
|
77
164
|
type: string
|
|
@@ -102,6 +189,9 @@ types:
|
|
|
102
189
|
lastModifiedDate:
|
|
103
190
|
description: When this app was last modified.
|
|
104
191
|
type: string
|
|
192
|
+
latestActivityUrl:
|
|
193
|
+
description: Url to get the most recent activity.
|
|
194
|
+
type: string
|
|
105
195
|
name:
|
|
106
196
|
description: The dev name of this app.
|
|
107
197
|
type: string
|
|
@@ -111,6 +201,13 @@ types:
|
|
|
111
201
|
templateSourceId:
|
|
112
202
|
description: The ID od the template used to create this app.
|
|
113
203
|
type: string
|
|
204
|
+
templateType:
|
|
205
|
+
description: The type of the template used to create the app.
|
|
206
|
+
type: string
|
|
207
|
+
enum:
|
|
208
|
+
- App
|
|
209
|
+
- Library
|
|
210
|
+
- Unknown
|
|
114
211
|
templateValues:
|
|
115
212
|
description: The Variable Values (Answers to Questions) used to customize
|
|
116
213
|
the app install.
|
|
@@ -131,6 +228,10 @@ types:
|
|
|
131
228
|
app:
|
|
132
229
|
description: The App.
|
|
133
230
|
type: AppRepresentation
|
|
231
|
+
failureMessage:
|
|
232
|
+
description: The Failure message if the app has failed. If this app was created
|
|
233
|
+
Async it may not have completed yet.
|
|
234
|
+
type: string | nil
|
|
134
235
|
runtimeRequestId:
|
|
135
236
|
description: The Domino Runtime Request.
|
|
136
237
|
type: string
|
|
@@ -167,6 +268,9 @@ types:
|
|
|
167
268
|
description: Representation for a single template.
|
|
168
269
|
type: object
|
|
169
270
|
properties:
|
|
271
|
+
appId:
|
|
272
|
+
description: The App ID associated with this
|
|
273
|
+
type: string
|
|
170
274
|
assetIdOrName:
|
|
171
275
|
description: The primary ID or Name of the asset
|
|
172
276
|
type: string
|
|
@@ -304,6 +408,10 @@ types:
|
|
|
304
408
|
description: The Template layout definition file.
|
|
305
409
|
required: false # TODO Hand-rolled W-15955585
|
|
306
410
|
type: string
|
|
411
|
+
maxAppCount:
|
|
412
|
+
description: The maximum number of apps that can be creatd from this template.
|
|
413
|
+
required: false # TODO Hand-rolled W-15955585
|
|
414
|
+
type: integer
|
|
307
415
|
name:
|
|
308
416
|
description: The Template name.
|
|
309
417
|
type: string
|
|
@@ -332,6 +440,7 @@ types:
|
|
|
332
440
|
enum:
|
|
333
441
|
- App
|
|
334
442
|
- Library
|
|
443
|
+
- Unknown
|
|
335
444
|
variableDefinition:
|
|
336
445
|
description: The Template variables file
|
|
337
446
|
required: false # TODO Hand-rolled W-15955585
|
|
@@ -373,12 +482,13 @@ types:
|
|
|
373
482
|
name:
|
|
374
483
|
description: The local API name of the application template.
|
|
375
484
|
type: string
|
|
376
|
-
|
|
485
|
+
templateType:
|
|
377
486
|
description: The template type.
|
|
378
487
|
type: string
|
|
379
488
|
enum:
|
|
380
489
|
- App
|
|
381
490
|
- Library
|
|
491
|
+
- Unknown
|
|
382
492
|
url:
|
|
383
493
|
description: The this url.
|
|
384
494
|
type: string
|
|
@@ -507,6 +617,13 @@ types:
|
|
|
507
617
|
templateSourceId:
|
|
508
618
|
type: string
|
|
509
619
|
required: false
|
|
620
|
+
type:
|
|
621
|
+
type: string
|
|
622
|
+
required: false
|
|
623
|
+
enum:
|
|
624
|
+
- App
|
|
625
|
+
- Library
|
|
626
|
+
- Unknown
|
|
510
627
|
post:
|
|
511
628
|
displayName: postAppFrameworkAppCollection
|
|
512
629
|
description: Creates an app from a template
|
|
@@ -540,6 +657,37 @@ types:
|
|
|
540
657
|
appIdOrApiName:
|
|
541
658
|
type: string
|
|
542
659
|
required: true
|
|
660
|
+
/apps/{appIdOrApiName}/activities:
|
|
661
|
+
get:
|
|
662
|
+
displayName: getAppFrameworkAppActivityCollection
|
|
663
|
+
description: Get a list of app activity records
|
|
664
|
+
responses:
|
|
665
|
+
'200':
|
|
666
|
+
description: Success
|
|
667
|
+
body:
|
|
668
|
+
application/json:
|
|
669
|
+
type: AppActivityCollectionRepresentation
|
|
670
|
+
uriParameters:
|
|
671
|
+
appIdOrApiName:
|
|
672
|
+
type: string
|
|
673
|
+
required: true
|
|
674
|
+
/{id}:
|
|
675
|
+
get:
|
|
676
|
+
displayName: getAppFrameworkAppActivityItem
|
|
677
|
+
description: Get a specific App's activity
|
|
678
|
+
responses:
|
|
679
|
+
'200':
|
|
680
|
+
description: Success
|
|
681
|
+
body:
|
|
682
|
+
application/json:
|
|
683
|
+
type: AppActivityItemRepresentation
|
|
684
|
+
uriParameters:
|
|
685
|
+
appIdOrApiName:
|
|
686
|
+
type: string
|
|
687
|
+
required: true
|
|
688
|
+
id:
|
|
689
|
+
type: string
|
|
690
|
+
required: true
|
|
543
691
|
/apps/{appIdOrApiName}/assets:
|
|
544
692
|
get:
|
|
545
693
|
displayName: getAppFrameworkAppAssetCollection
|
package/src/raml/luvio.raml
CHANGED
|
@@ -8,6 +8,15 @@ uses:
|
|
|
8
8
|
(luvio.ttl): 2592000000
|
|
9
9
|
|
|
10
10
|
types:
|
|
11
|
+
AppActivityCollectionRepresentation:
|
|
12
|
+
(luvio.ttl): 5000
|
|
13
|
+
(luvio.key):
|
|
14
|
+
appId: appId
|
|
15
|
+
AppActivityItemRepresentation:
|
|
16
|
+
(luvio.ttl): 5000
|
|
17
|
+
(luvio.key):
|
|
18
|
+
appId: appId
|
|
19
|
+
id: id
|
|
11
20
|
AppCollectionRepresentation:
|
|
12
21
|
(luvio.ttl): 5000
|
|
13
22
|
AppRepresentation:
|
|
@@ -21,7 +30,7 @@ types:
|
|
|
21
30
|
AssetCollectionRepresentation:
|
|
22
31
|
(luvio.ttl): 5000
|
|
23
32
|
(luvio.key):
|
|
24
|
-
|
|
33
|
+
appId: appId
|
|
25
34
|
AssetRepresentation:
|
|
26
35
|
(luvio.ttl): 5000
|
|
27
36
|
(luvio.key):
|
|
@@ -61,7 +70,20 @@ types:
|
|
|
61
70
|
(luvio.adapter):
|
|
62
71
|
name: getAppAssets
|
|
63
72
|
(luvio.key):
|
|
64
|
-
|
|
73
|
+
appId: urlParams.appIdOrApiName
|
|
74
|
+
/apps/{appIdOrApiName}/activities:
|
|
75
|
+
get:
|
|
76
|
+
(luvio.adapter):
|
|
77
|
+
name: getAppActivities
|
|
78
|
+
(luvio.key):
|
|
79
|
+
appId: urlParams.appIdOrApiName
|
|
80
|
+
/apps/{appIdOrApiName}/activities/{id}:
|
|
81
|
+
get:
|
|
82
|
+
(luvio.adapter):
|
|
83
|
+
name: getAppActivity
|
|
84
|
+
(luvio.key):
|
|
85
|
+
appId: urlParams.appIdOrApiName
|
|
86
|
+
id: urlParams.id
|
|
65
87
|
/templates:
|
|
66
88
|
get:
|
|
67
89
|
(luvio.adapter):
|