@salesforce/lds-adapters-platform-lightning-types 1.321.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/platform-lightning-types.js +698 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getLightningTypes.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLightningTypes.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelDesignConfigInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelFilterConfigInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelFilterPropertyNamesListWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelRenditionConfigInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelSchemaConfigInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelSourceDescriptorInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesConfigInputListWrapper.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesConfigInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesErrorRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ExperienceModelTypesRepresentation.d.ts +78 -0
- package/dist/es/es2018/types/src/generated/types/LightningTypeCollectionRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/LightningTypeSummaryRepresentation.d.ts +53 -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 +733 -0
- package/src/raml/api.raml +393 -0
- package/src/raml/luvio.raml +21 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '63.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v63.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
|
+
ExperienceModelDesignConfigInputRepresentation:
|
|
29
|
+
description: Input Representation for Experience Model type design configuration
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
actionConfig:
|
|
33
|
+
description: Boolean property if actions should be included
|
|
34
|
+
type: boolean
|
|
35
|
+
subViewDefinitions:
|
|
36
|
+
description: Boolean property if sub-view should be included
|
|
37
|
+
type: boolean
|
|
38
|
+
target:
|
|
39
|
+
description: A design configuration target. To fetch the design configuration
|
|
40
|
+
for a particular target.
|
|
41
|
+
type: string
|
|
42
|
+
enum:
|
|
43
|
+
- Default
|
|
44
|
+
- EnhancedMessaging
|
|
45
|
+
- LightningDesktopCopilot
|
|
46
|
+
- LightningDesktopDesign
|
|
47
|
+
- LightningMiawCopilot
|
|
48
|
+
- LightningMobileCopilot
|
|
49
|
+
- MiawCopilot
|
|
50
|
+
- ScEveryWhere
|
|
51
|
+
- SlackCopilot
|
|
52
|
+
ExperienceModelFilterConfigInputRepresentation:
|
|
53
|
+
description: Input Representation for Experience Model type Filter configuration
|
|
54
|
+
type: object
|
|
55
|
+
properties:
|
|
56
|
+
propertyNames:
|
|
57
|
+
description: Indicates wrapper for list of properties to filter
|
|
58
|
+
type: array
|
|
59
|
+
items:
|
|
60
|
+
type: string
|
|
61
|
+
ExperienceModelFilterPropertyNamesListWrapper:
|
|
62
|
+
description: List Wrapper for Experience Model property names filter
|
|
63
|
+
type: object
|
|
64
|
+
properties:
|
|
65
|
+
propertyNamesList:
|
|
66
|
+
description: Indicates list of properties to filter
|
|
67
|
+
type: array
|
|
68
|
+
items:
|
|
69
|
+
type: string
|
|
70
|
+
ExperienceModelRenditionConfigInputRepresentation:
|
|
71
|
+
description: Input Representation for Experience Model type rendition configuration
|
|
72
|
+
type: object
|
|
73
|
+
properties:
|
|
74
|
+
actionConfig:
|
|
75
|
+
description: Boolean property if actions should be included
|
|
76
|
+
type: boolean
|
|
77
|
+
subViewDefinitions:
|
|
78
|
+
description: Boolean property if sub-view should be included
|
|
79
|
+
type: boolean
|
|
80
|
+
target:
|
|
81
|
+
description: A rendition configuration target. To fetch the rendition configuration
|
|
82
|
+
for a particular target.
|
|
83
|
+
type: string
|
|
84
|
+
enum:
|
|
85
|
+
- Default
|
|
86
|
+
- Detail
|
|
87
|
+
- Email
|
|
88
|
+
- EnhancedMessaging
|
|
89
|
+
- LightningDesktopCopilot
|
|
90
|
+
- LightningDesktopDesign
|
|
91
|
+
- LightningMiawCopilot
|
|
92
|
+
- LightningMobileCopilot
|
|
93
|
+
- MiawCopilot
|
|
94
|
+
- ScEveryWhere
|
|
95
|
+
- SlackCopilot
|
|
96
|
+
- Summary
|
|
97
|
+
ExperienceModelSchemaConfigInputRepresentation:
|
|
98
|
+
description: Input Representation for Experience Model type schema configuration
|
|
99
|
+
type: object
|
|
100
|
+
properties:
|
|
101
|
+
filterConfig:
|
|
102
|
+
description: Filter configuration for schema
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
//:
|
|
106
|
+
type: any
|
|
107
|
+
subSchemaDefinitions:
|
|
108
|
+
description: Boolean property if sub-schema should be included
|
|
109
|
+
type: boolean
|
|
110
|
+
ExperienceModelSourceDescriptorInputRepresentation:
|
|
111
|
+
description: Input Representation for Experience Model source descriptor
|
|
112
|
+
type: object
|
|
113
|
+
properties:
|
|
114
|
+
descriptor:
|
|
115
|
+
description: Source descriptor
|
|
116
|
+
type: string
|
|
117
|
+
propertyName:
|
|
118
|
+
description: Property name filter for source descriptor
|
|
119
|
+
type: string
|
|
120
|
+
ExperienceModelTypesCollectionRepresentation:
|
|
121
|
+
description: Represents a list/collection of Types.
|
|
122
|
+
type: object
|
|
123
|
+
properties:
|
|
124
|
+
types:
|
|
125
|
+
description: The list of Types ordered alphabetically by title.
|
|
126
|
+
type: array
|
|
127
|
+
items:
|
|
128
|
+
type: ExperienceModelTypesRepresentation
|
|
129
|
+
ExperienceModelTypesConfigInputListWrapper:
|
|
130
|
+
description: List wrapper for Experience Model type config input
|
|
131
|
+
type: object
|
|
132
|
+
properties:
|
|
133
|
+
typeConfigList:
|
|
134
|
+
description: The list of Experience Model Types Configuration
|
|
135
|
+
type: array
|
|
136
|
+
items:
|
|
137
|
+
type: object
|
|
138
|
+
properties:
|
|
139
|
+
//:
|
|
140
|
+
type: any
|
|
141
|
+
ExperienceModelTypesConfigInputRepresentation:
|
|
142
|
+
description: Input Representation for Experience Model types configuration
|
|
143
|
+
type: object
|
|
144
|
+
properties:
|
|
145
|
+
descriptor:
|
|
146
|
+
description: The descriptor of type.
|
|
147
|
+
type: string
|
|
148
|
+
designConfig:
|
|
149
|
+
description: The design config.
|
|
150
|
+
type: object
|
|
151
|
+
properties:
|
|
152
|
+
//:
|
|
153
|
+
type: any
|
|
154
|
+
renditionConfig:
|
|
155
|
+
description: The rendition config.
|
|
156
|
+
type: object
|
|
157
|
+
properties:
|
|
158
|
+
//:
|
|
159
|
+
type: any
|
|
160
|
+
schemaConfig:
|
|
161
|
+
description: The schema config.
|
|
162
|
+
type: object
|
|
163
|
+
properties:
|
|
164
|
+
//:
|
|
165
|
+
type: any
|
|
166
|
+
sourceDescriptor:
|
|
167
|
+
description: The source descriptor.
|
|
168
|
+
type: object
|
|
169
|
+
properties:
|
|
170
|
+
//:
|
|
171
|
+
type: any
|
|
172
|
+
ExperienceModelTypesErrorRepresentation:
|
|
173
|
+
description: Experience Mode Types Error Representation
|
|
174
|
+
type: object
|
|
175
|
+
properties:
|
|
176
|
+
errorDescription:
|
|
177
|
+
description: Error Description
|
|
178
|
+
type: string
|
|
179
|
+
errorTitle:
|
|
180
|
+
description: Error Title
|
|
181
|
+
type: string
|
|
182
|
+
ExperienceModelTypesInputRepresentation:
|
|
183
|
+
description: Input Representation for Experience Model types
|
|
184
|
+
type: object
|
|
185
|
+
properties:
|
|
186
|
+
language:
|
|
187
|
+
description: The language/locale code. e.g., es or en_US. To retrieve the
|
|
188
|
+
title and description in a particular language. If not provided, the logged-in
|
|
189
|
+
user’s language is used. The fallback language is ENGLISH in case translations
|
|
190
|
+
don't exist.
|
|
191
|
+
type: string
|
|
192
|
+
typeConfigs:
|
|
193
|
+
description: 'The list wrapper for Experience Model Types Configuration '
|
|
194
|
+
type: array
|
|
195
|
+
items:
|
|
196
|
+
type: object
|
|
197
|
+
properties:
|
|
198
|
+
//:
|
|
199
|
+
type: any
|
|
200
|
+
ExperienceModelTypesRepresentation:
|
|
201
|
+
description: Represents the details about Types.
|
|
202
|
+
type: object
|
|
203
|
+
properties:
|
|
204
|
+
bundleType:
|
|
205
|
+
description: The bundle type of the Type that was given in type descriptor
|
|
206
|
+
in query params.
|
|
207
|
+
type: string
|
|
208
|
+
description:
|
|
209
|
+
description: The description of the Type that was given in its schema.json.
|
|
210
|
+
type: string
|
|
211
|
+
descriptor:
|
|
212
|
+
description: The type descriptor of the Type that was given in query params.
|
|
213
|
+
type: string
|
|
214
|
+
designConfig:
|
|
215
|
+
description: The design configuration for the specified target.
|
|
216
|
+
type: object
|
|
217
|
+
properties:
|
|
218
|
+
//:
|
|
219
|
+
type: any
|
|
220
|
+
developerName:
|
|
221
|
+
description: The developer name (aka apiName) of the Type.
|
|
222
|
+
type: string
|
|
223
|
+
errorDetails:
|
|
224
|
+
description: Experience Model Types Error Details
|
|
225
|
+
type: ExperienceModelTypesErrorRepresentation
|
|
226
|
+
id:
|
|
227
|
+
description: The 18-char String ID of the Type. This is returned for the DB-Based
|
|
228
|
+
(Custom) Types only.
|
|
229
|
+
type: string
|
|
230
|
+
namespacePrefix:
|
|
231
|
+
description: The namespace prefix that is associated with the Type. Refer
|
|
232
|
+
to a Type using the namespacePrefix__developerName notation (aka fullyQualifiedName).
|
|
233
|
+
type: string
|
|
234
|
+
renditionConfig:
|
|
235
|
+
description: The rendition configuration for the specified target.
|
|
236
|
+
type: object
|
|
237
|
+
properties:
|
|
238
|
+
//:
|
|
239
|
+
type: any
|
|
240
|
+
schema:
|
|
241
|
+
description: The JSON Schema definition (schema.json) of the Type
|
|
242
|
+
type: object
|
|
243
|
+
properties:
|
|
244
|
+
//:
|
|
245
|
+
type: any
|
|
246
|
+
sourceDescriptor:
|
|
247
|
+
description: The source descriptor of the Type that was given in query params.
|
|
248
|
+
type: object
|
|
249
|
+
properties:
|
|
250
|
+
//:
|
|
251
|
+
type: string
|
|
252
|
+
title:
|
|
253
|
+
description: The title of the Type that was given in its schema.json.
|
|
254
|
+
type: string
|
|
255
|
+
LightningTypeCollectionRepresentation:
|
|
256
|
+
description: Represents a list/collection of Lightning Types.
|
|
257
|
+
type: object
|
|
258
|
+
properties:
|
|
259
|
+
count:
|
|
260
|
+
description: The number of Types returned.
|
|
261
|
+
type: integer
|
|
262
|
+
currentPageUrl:
|
|
263
|
+
description: URL to this page of the Types.
|
|
264
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
265
|
+
lightningTypes:
|
|
266
|
+
description: The list of Lightning Types ordered alphabetically by title.
|
|
267
|
+
type: array
|
|
268
|
+
items:
|
|
269
|
+
type: LightningTypeSummaryRepresentation
|
|
270
|
+
nextPageUrl:
|
|
271
|
+
description: URL to the next page of the Types.
|
|
272
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
273
|
+
required: false # Hand-rolled fix for validation failure during runtime
|
|
274
|
+
previousPageUrl:
|
|
275
|
+
description: URL to the previous page of the Types.
|
|
276
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
277
|
+
required: false # Hand-rolled fix for validation failure during runtime
|
|
278
|
+
LightningTypeSummaryRepresentation:
|
|
279
|
+
description: Summary Representation of a Lightning type.A collection of this is
|
|
280
|
+
returned in the list endpoints.
|
|
281
|
+
type: object
|
|
282
|
+
properties:
|
|
283
|
+
description:
|
|
284
|
+
description: The description of the Type that was given in its schema.json.
|
|
285
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
286
|
+
required: false # Hand-rolled fix for validation failure during runtime
|
|
287
|
+
detailUrl:
|
|
288
|
+
description: The individual detail resource URL to get the full/detailed information
|
|
289
|
+
about the Type.
|
|
290
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
291
|
+
required: false # Hand-rolled fix for validation failure during runtime
|
|
292
|
+
developerName:
|
|
293
|
+
description: The developer name (aka apiName) of the Type.
|
|
294
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
295
|
+
id:
|
|
296
|
+
description: The 18-char String ID of the Type. This is returned for the DB-Based
|
|
297
|
+
(Custom) Types only.
|
|
298
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
299
|
+
required: false # Hand-rolled fix for validation failure during runtime
|
|
300
|
+
namespacePrefix:
|
|
301
|
+
description: The namespace prefix that is associated with the Type. Refer
|
|
302
|
+
to a Type using the namespacePrefix__developerName notation (aka fullyQualifiedName).
|
|
303
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
304
|
+
title:
|
|
305
|
+
description: The title of the Type that was given in its schema.json.
|
|
306
|
+
type: string | nil #Hand-rolled issue #1 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
307
|
+
required: false # Hand-rolled fix for validation failure during runtime
|
|
308
|
+
/connect:
|
|
309
|
+
#/experience-model/types: # #Hand-rolled This api does not need to be exposed
|
|
310
|
+
# post:
|
|
311
|
+
# displayName: postExperienceModelTypes
|
|
312
|
+
# description: Fetch the detailed information about a Property Type.
|
|
313
|
+
# responses:
|
|
314
|
+
# '200':
|
|
315
|
+
# description: Success
|
|
316
|
+
# body:
|
|
317
|
+
# application/json:
|
|
318
|
+
# type: ExperienceModelTypesCollectionRepresentation
|
|
319
|
+
# body:
|
|
320
|
+
# application/json:
|
|
321
|
+
# description: Experience Model Types Input
|
|
322
|
+
# type: ExperienceModelTypesInputRepresentation
|
|
323
|
+
# required: false #Hand-rolled issue #22 in (https://salesforce.quip.com/NxVhAkxL6RTW)
|
|
324
|
+
# (oas-body-name): experienceModelTypes
|
|
325
|
+
/lightning-types:
|
|
326
|
+
get:
|
|
327
|
+
displayName: getLightningTypeCollection
|
|
328
|
+
description: Fetch or Query the Lightning Types.
|
|
329
|
+
responses:
|
|
330
|
+
'200':
|
|
331
|
+
description: Success
|
|
332
|
+
body:
|
|
333
|
+
application/json:
|
|
334
|
+
type: LightningTypeCollectionRepresentation
|
|
335
|
+
queryParameters:
|
|
336
|
+
editorConfigTarget:
|
|
337
|
+
description: A design configuration target. To fetch all the lightning types
|
|
338
|
+
that have the editor configuration for a particular target.
|
|
339
|
+
type: string
|
|
340
|
+
required: false
|
|
341
|
+
enum:
|
|
342
|
+
- Default
|
|
343
|
+
- EnhancedMessaging
|
|
344
|
+
- LightningDesktopCopilot
|
|
345
|
+
- LightningDesktopDesign
|
|
346
|
+
- LightningMiawCopilot
|
|
347
|
+
- LightningMobileCopilot
|
|
348
|
+
- MiawCopilot
|
|
349
|
+
- ScEveryWhere
|
|
350
|
+
- SlackCopilot
|
|
351
|
+
fullyQualifiedNames:
|
|
352
|
+
description: The list of comma-separated lightning type FQNs. To fetch some
|
|
353
|
+
specific lightning types by providing their FQNs.
|
|
354
|
+
type: array
|
|
355
|
+
required: false
|
|
356
|
+
items:
|
|
357
|
+
type: string
|
|
358
|
+
(oas-collectionFormat): csv
|
|
359
|
+
language:
|
|
360
|
+
description: The language/locale code. e.g., es or en_US. To retrieve the
|
|
361
|
+
title and description in a particular language. If not provided, the logged-in
|
|
362
|
+
user’s language is used. The fallback language is ENGLISH in case translations
|
|
363
|
+
don't exist.
|
|
364
|
+
type: string
|
|
365
|
+
required: false
|
|
366
|
+
page:
|
|
367
|
+
description: An integer specifying a page of items. The default value is
|
|
368
|
+
0, which returns the first page.
|
|
369
|
+
type: integer
|
|
370
|
+
required: false
|
|
371
|
+
pageSize:
|
|
372
|
+
description: Specifies the number of items per page. Valid values are from
|
|
373
|
+
1 through 250.
|
|
374
|
+
type: integer
|
|
375
|
+
required: false
|
|
376
|
+
rendererConfigTarget:
|
|
377
|
+
description: A rendition configuration target. To fetch all the lightning
|
|
378
|
+
types that have the rendition configuration for a particular target.
|
|
379
|
+
type: string
|
|
380
|
+
required: false
|
|
381
|
+
enum:
|
|
382
|
+
- Default
|
|
383
|
+
- Detail
|
|
384
|
+
- Email
|
|
385
|
+
- EnhancedMessaging
|
|
386
|
+
- LightningDesktopCopilot
|
|
387
|
+
- LightningDesktopDesign
|
|
388
|
+
- LightningMiawCopilot
|
|
389
|
+
- LightningMobileCopilot
|
|
390
|
+
- MiawCopilot
|
|
391
|
+
- ScEveryWhere
|
|
392
|
+
- SlackCopilot
|
|
393
|
+
- Summary
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'lightning-types'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
LightningTypeCollectionRepresentation:
|
|
11
|
+
(luvio.ttl): 100
|
|
12
|
+
LightningTypeSummaryRepresentation:
|
|
13
|
+
(luvio.opaque): true
|
|
14
|
+
(luvio.ttl): 100
|
|
15
|
+
(luvio.key):
|
|
16
|
+
id: developerName
|
|
17
|
+
|
|
18
|
+
/connect/lightning-types:
|
|
19
|
+
get:
|
|
20
|
+
(luvio.adapter):
|
|
21
|
+
name: getLightningTypes
|