@salesforce/lds-adapters-industries-eri 0.131.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/industries-eri.js +528 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getERIDigest.d.ts +15 -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 +2 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectEriDigest.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/DigestNotification.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/ERIDigestInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ERIDigestInputRepresentationWrapper.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ERIDigestOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/FollowingInfo.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/FollowingInfoInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +67 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +555 -0
- package/src/raml/api.raml +173 -0
- package/src/raml/luvio.raml +22 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '56.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v58.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
|
+
DigestNotification:
|
|
29
|
+
description: Digest notification
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
fields:
|
|
33
|
+
description: Display fields in the notification
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: object
|
|
37
|
+
properties:
|
|
38
|
+
//:
|
|
39
|
+
type: string
|
|
40
|
+
id:
|
|
41
|
+
description: Unique id of the notification in the digest
|
|
42
|
+
type: string
|
|
43
|
+
name:
|
|
44
|
+
description: Record Name referenced in this notification
|
|
45
|
+
type: string
|
|
46
|
+
navigationLink:
|
|
47
|
+
description: Navigation Url
|
|
48
|
+
type: string
|
|
49
|
+
recordId:
|
|
50
|
+
description: Record id referenced in this notification
|
|
51
|
+
type: string
|
|
52
|
+
recordTypeId:
|
|
53
|
+
description: Record id type referenced in this notification
|
|
54
|
+
type: string
|
|
55
|
+
required: false
|
|
56
|
+
sobjectType:
|
|
57
|
+
description: Sobject Type of the record referenced in this notification
|
|
58
|
+
type: string
|
|
59
|
+
sobjectTypeLabel:
|
|
60
|
+
description: Sobject type label of the record referenced in this notification
|
|
61
|
+
type: string
|
|
62
|
+
timeStamp:
|
|
63
|
+
description: Time when this relationship is found
|
|
64
|
+
type: string
|
|
65
|
+
read:
|
|
66
|
+
description: true if the notification is read by the user
|
|
67
|
+
type: boolean
|
|
68
|
+
required: false
|
|
69
|
+
type:
|
|
70
|
+
description: Notificatio type
|
|
71
|
+
type: string
|
|
72
|
+
enum:
|
|
73
|
+
- JobChangeNotification
|
|
74
|
+
- RelationNotification
|
|
75
|
+
- NewsNotification
|
|
76
|
+
FollowingInfoInputRepresentation:
|
|
77
|
+
description: An Input Representation following object
|
|
78
|
+
type: object
|
|
79
|
+
properties:
|
|
80
|
+
filterTypes:
|
|
81
|
+
description: List of sObjectTypes used in home page mappings
|
|
82
|
+
type: array
|
|
83
|
+
required: false
|
|
84
|
+
items:
|
|
85
|
+
type: string
|
|
86
|
+
page:
|
|
87
|
+
description: 'Page number of the eri relationship digest list '
|
|
88
|
+
type: integer
|
|
89
|
+
required: false
|
|
90
|
+
recordIds:
|
|
91
|
+
description: List of RecordIds being followed by the user
|
|
92
|
+
type: array
|
|
93
|
+
required: false
|
|
94
|
+
items:
|
|
95
|
+
type: string
|
|
96
|
+
hasNext:
|
|
97
|
+
description: true if there any more recordIds to be queried for notifications else false
|
|
98
|
+
type: boolean
|
|
99
|
+
required: false
|
|
100
|
+
demo:
|
|
101
|
+
description: true for demo reponse else false
|
|
102
|
+
type: boolean
|
|
103
|
+
required: false
|
|
104
|
+
ERIDigestInputRepresentation:
|
|
105
|
+
description: An Input Representation for ERI digest
|
|
106
|
+
type: object
|
|
107
|
+
properties:
|
|
108
|
+
following:
|
|
109
|
+
type: FollowingInfoInputRepresentation
|
|
110
|
+
description: following input
|
|
111
|
+
ERIDigestInputRepresentationWrapper:
|
|
112
|
+
description: Wrapper for ERI digest input representation
|
|
113
|
+
type: object
|
|
114
|
+
properties:
|
|
115
|
+
eriDigestInput:
|
|
116
|
+
type: ERIDigestInputRepresentation
|
|
117
|
+
description: ERI Digest input represenation
|
|
118
|
+
ERIDigestOutputRepresentation:
|
|
119
|
+
description: Output representation of a ERI Digest
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
errorMsg:
|
|
123
|
+
description: Error message
|
|
124
|
+
type: string
|
|
125
|
+
required: false
|
|
126
|
+
following:
|
|
127
|
+
description: User following records info
|
|
128
|
+
type: FollowingInfo
|
|
129
|
+
required: false
|
|
130
|
+
notifications:
|
|
131
|
+
description: Notifications list
|
|
132
|
+
type: array
|
|
133
|
+
required: false
|
|
134
|
+
items:
|
|
135
|
+
type: DigestNotification
|
|
136
|
+
requestSucceeded:
|
|
137
|
+
description: true if request is succeeded else false
|
|
138
|
+
type: boolean
|
|
139
|
+
statusCode:
|
|
140
|
+
description: Status code
|
|
141
|
+
type: string
|
|
142
|
+
FollowingInfo:
|
|
143
|
+
description: following info
|
|
144
|
+
type: object
|
|
145
|
+
properties:
|
|
146
|
+
filterTypes:
|
|
147
|
+
description: List of sObjectTypes used in home page mappings
|
|
148
|
+
type: array
|
|
149
|
+
items:
|
|
150
|
+
type: string
|
|
151
|
+
page:
|
|
152
|
+
description: 'Page number of the eri digest '
|
|
153
|
+
type: integer
|
|
154
|
+
recordIds:
|
|
155
|
+
description: List of RecordIds being followed by the user
|
|
156
|
+
type: array
|
|
157
|
+
items:
|
|
158
|
+
type: string
|
|
159
|
+
|
|
160
|
+
/connect:
|
|
161
|
+
/eri/digest:
|
|
162
|
+
post:
|
|
163
|
+
description: API to get relationship digest in ERI
|
|
164
|
+
responses:
|
|
165
|
+
'200':
|
|
166
|
+
description: Success
|
|
167
|
+
body:
|
|
168
|
+
application/json:
|
|
169
|
+
type: ERIDigestOutputRepresentation
|
|
170
|
+
body:
|
|
171
|
+
application/json:
|
|
172
|
+
type: ERIDigestInputRepresentationWrapper
|
|
173
|
+
(oas-body-name): eriDigestInput
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'eri'
|
|
8
|
+
(luvio.ttl): 1000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
DigestNotification:
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
ERIDigestOutputRepresentation:
|
|
14
|
+
(luvio.ttl): 1000
|
|
15
|
+
(luvio.opaque): true
|
|
16
|
+
(luvio.key):
|
|
17
|
+
isSuccess: requestSucceeded
|
|
18
|
+
|
|
19
|
+
/connect/eri/digest:
|
|
20
|
+
post:
|
|
21
|
+
(luvio.adapter):
|
|
22
|
+
name: getERIDigest
|