@salesforce/lds-adapters-sales-people-api 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/sales-people-api.js +642 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getParsedSignatureData.d.ts +26 -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/getPeople.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/types/NameUi.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/PeopleAPIResponse.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PeopleAPIResponseCollection.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/PhoneUi.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/PhysAddressUi.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/SignatureUi.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/SocialMediaUi.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/TitleUi.d.ts +35 -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 +674 -0
- package/src/raml/api.raml +196 -0
- package/src/raml/luvio.raml +17 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '57.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
|
+
NameUi:
|
|
29
|
+
description: Representation of parsed signature data's name
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
first:
|
|
33
|
+
description: The first name
|
|
34
|
+
type: string
|
|
35
|
+
initials:
|
|
36
|
+
description: The initials of this name
|
|
37
|
+
type: string
|
|
38
|
+
last:
|
|
39
|
+
description: The last name
|
|
40
|
+
type: string
|
|
41
|
+
PeopleAPIResponse:
|
|
42
|
+
description: Representation of parsed signature data
|
|
43
|
+
type: object
|
|
44
|
+
properties:
|
|
45
|
+
emailAddress:
|
|
46
|
+
description: The email address associated with this result. This is null if
|
|
47
|
+
fetching OOO information.
|
|
48
|
+
type: string
|
|
49
|
+
signature:
|
|
50
|
+
description: The signature data parsed for this email address.
|
|
51
|
+
type: SignatureUi
|
|
52
|
+
PeopleAPIResponseCollection:
|
|
53
|
+
description: Representation of parsed signature / OOO data for a list of emails
|
|
54
|
+
or contacts.
|
|
55
|
+
type: object
|
|
56
|
+
properties:
|
|
57
|
+
responses:
|
|
58
|
+
description: List of responses containing parsed signature data or OOO data
|
|
59
|
+
type: array
|
|
60
|
+
items:
|
|
61
|
+
type: PeopleAPIResponse
|
|
62
|
+
PhoneUi:
|
|
63
|
+
description: Representation of parsed signature data's phone number
|
|
64
|
+
type: object
|
|
65
|
+
properties:
|
|
66
|
+
countryCode:
|
|
67
|
+
description: The country code of this phone
|
|
68
|
+
type: string
|
|
69
|
+
extension:
|
|
70
|
+
description: The phone extension number
|
|
71
|
+
type: string
|
|
72
|
+
number:
|
|
73
|
+
description: The number of this phone number, might include the extension
|
|
74
|
+
/ country code as well.
|
|
75
|
+
type: string
|
|
76
|
+
phoneType:
|
|
77
|
+
description: The type of phone number (e.g. cell, fax)
|
|
78
|
+
type: string
|
|
79
|
+
PhysAddressUi:
|
|
80
|
+
description: Representation of parsed signature data's address
|
|
81
|
+
type: object
|
|
82
|
+
properties:
|
|
83
|
+
apartment:
|
|
84
|
+
description: The apartment number (if present) associated with the address
|
|
85
|
+
type: string
|
|
86
|
+
city:
|
|
87
|
+
description: The name of the city of this address
|
|
88
|
+
type: string
|
|
89
|
+
country:
|
|
90
|
+
description: The country/nation for this address
|
|
91
|
+
type: string
|
|
92
|
+
houseNo:
|
|
93
|
+
description: The house number of this address. Does not include apartment
|
|
94
|
+
number.
|
|
95
|
+
type: string
|
|
96
|
+
poBox:
|
|
97
|
+
description: P.O. Box of the Address
|
|
98
|
+
type: string
|
|
99
|
+
postalCode:
|
|
100
|
+
description: Postal code of this address
|
|
101
|
+
type: string
|
|
102
|
+
state:
|
|
103
|
+
description: The state/region associated with this parsed data
|
|
104
|
+
type: string
|
|
105
|
+
street:
|
|
106
|
+
description: The name of the street of this address, without the number
|
|
107
|
+
type: string
|
|
108
|
+
SignatureUi:
|
|
109
|
+
description: Representation of parsed signature data
|
|
110
|
+
type: object
|
|
111
|
+
properties:
|
|
112
|
+
addresses:
|
|
113
|
+
description: List of Addresses associated with this email signature
|
|
114
|
+
type: array
|
|
115
|
+
items:
|
|
116
|
+
type: PhysAddressUi
|
|
117
|
+
companyName:
|
|
118
|
+
description: The company name parsed from this email
|
|
119
|
+
type: string
|
|
120
|
+
emailAddress:
|
|
121
|
+
description: The email address this signature data is associated with
|
|
122
|
+
type: string
|
|
123
|
+
hash:
|
|
124
|
+
description: Hash of the content of this signature api
|
|
125
|
+
type: string
|
|
126
|
+
name:
|
|
127
|
+
description: The parsed first name, initial, and last name
|
|
128
|
+
type: NameUi
|
|
129
|
+
phones:
|
|
130
|
+
description: The list of parsed phone number information and associated metadata
|
|
131
|
+
type: array
|
|
132
|
+
items:
|
|
133
|
+
type: PhoneUi
|
|
134
|
+
receivedTime:
|
|
135
|
+
description: The time where this engagement was crawled
|
|
136
|
+
type: string
|
|
137
|
+
sfdcOrgId:
|
|
138
|
+
description: The SFDC Organization ID
|
|
139
|
+
type: string
|
|
140
|
+
socialMediaUrls:
|
|
141
|
+
description: List of social media websites
|
|
142
|
+
type: array
|
|
143
|
+
items:
|
|
144
|
+
type: SocialMediaUi
|
|
145
|
+
title:
|
|
146
|
+
description: The parsed job title information
|
|
147
|
+
type: TitleUi
|
|
148
|
+
webUrls:
|
|
149
|
+
description: List of URLs that were parsed from this signature
|
|
150
|
+
type: array
|
|
151
|
+
items:
|
|
152
|
+
type: string
|
|
153
|
+
SocialMediaUi:
|
|
154
|
+
description: Representation of parsed signature data's social media listing
|
|
155
|
+
type: object
|
|
156
|
+
properties:
|
|
157
|
+
handle:
|
|
158
|
+
description: The username or handle used to identify this user on this social
|
|
159
|
+
media service
|
|
160
|
+
type: string
|
|
161
|
+
link:
|
|
162
|
+
description: The URL link parsed in this signature
|
|
163
|
+
type: string
|
|
164
|
+
service:
|
|
165
|
+
description: The name of the social media service this handle is associated
|
|
166
|
+
with
|
|
167
|
+
type: string
|
|
168
|
+
TitleUi:
|
|
169
|
+
description: Representation of parsed signature data's job title
|
|
170
|
+
type: object
|
|
171
|
+
properties:
|
|
172
|
+
function:
|
|
173
|
+
description: The general name of the job function without a level.
|
|
174
|
+
type: string
|
|
175
|
+
level:
|
|
176
|
+
description: The level or rank (if present) of this job title.
|
|
177
|
+
type: string
|
|
178
|
+
title:
|
|
179
|
+
description: The name or job title of this parsed Title information
|
|
180
|
+
type: string
|
|
181
|
+
/people:
|
|
182
|
+
get:
|
|
183
|
+
description: Fetches parsed signature info
|
|
184
|
+
responses:
|
|
185
|
+
'200':
|
|
186
|
+
description: Success
|
|
187
|
+
body:
|
|
188
|
+
application/json:
|
|
189
|
+
type: PeopleAPIResponseCollection
|
|
190
|
+
queryParameters:
|
|
191
|
+
emailAddresses:
|
|
192
|
+
type: array
|
|
193
|
+
required: false
|
|
194
|
+
items:
|
|
195
|
+
type: string
|
|
196
|
+
(oas-collectionFormat): csv
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'people-api'
|
|
8
|
+
(luvio.ttl): 3600000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
PeopleAPIResponseCollection:
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
|
|
14
|
+
/people:
|
|
15
|
+
get:
|
|
16
|
+
(luvio.adapter):
|
|
17
|
+
name: getParsedSignatureData
|