@salesforce/lds-adapters-community-info 1.100.2
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/community-info.js +1103 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/getCommunity.d.ts +26 -0
- package/dist/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/types/src/generated/resources/getConnectCommunitiesByCommunityId.d.ts +15 -0
- package/dist/types/src/generated/types/CommunityRepresentation.d.ts +105 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/community-info.js +1111 -0
- package/dist/umd/es5/community-info.js +1112 -0
- package/package.json +72 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1135 -0
- package/src/raml/api.raml +134 -0
- package/src/raml/luvio.raml +21 -0
|
@@ -0,0 +1,134 @@
|
|
|
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
|
+
CommunityRepresentation:
|
|
29
|
+
description: Communities are customizable public or private spaces for employees,
|
|
30
|
+
customers, and partners to collaborate on best practices and business processes.
|
|
31
|
+
type: object
|
|
32
|
+
properties:
|
|
33
|
+
allowChatterAccessWithoutLogin:
|
|
34
|
+
description: Specifies whether guest users can access public Chatter groups
|
|
35
|
+
in the community without logging in.
|
|
36
|
+
type: boolean | nil
|
|
37
|
+
allowMembersToFlag:
|
|
38
|
+
description: Specifies whether members of this community are allowed to flag
|
|
39
|
+
content.
|
|
40
|
+
type: boolean | nil
|
|
41
|
+
builderBasedSnaEnabled:
|
|
42
|
+
description: Specifies whether the Service Not Available page is an auto-generated
|
|
43
|
+
Experience Builder-based page (true) or a static resource page that is set
|
|
44
|
+
in Workspaces|Administration|Pages (false).
|
|
45
|
+
type: boolean | nil
|
|
46
|
+
builderUrl:
|
|
47
|
+
description: Builder URL for the Community
|
|
48
|
+
type: string | nil
|
|
49
|
+
description:
|
|
50
|
+
description: Community’s description.
|
|
51
|
+
type: string | nil
|
|
52
|
+
guestMemberVisibilityEnabled:
|
|
53
|
+
description: Specifies whether guest members can see other members of the
|
|
54
|
+
community or not.
|
|
55
|
+
type: boolean | nil
|
|
56
|
+
id:
|
|
57
|
+
description: 18-character Id of the community.
|
|
58
|
+
type: string | nil
|
|
59
|
+
imageOptimizationCDNEnabled:
|
|
60
|
+
description: Specifies whether image optimization is enabled for sites hosted
|
|
61
|
+
on iCDN platforms or not
|
|
62
|
+
type: boolean | nil
|
|
63
|
+
invitationsEnabled:
|
|
64
|
+
description: Specifies if members of the community can invite other members
|
|
65
|
+
to the community, true if they can, false otherwise.
|
|
66
|
+
type: boolean | nil
|
|
67
|
+
knowledgeableEnabled:
|
|
68
|
+
description: Specifies if the community is able to have knowledgeable users
|
|
69
|
+
on topics and knowledgeable about topics.
|
|
70
|
+
type: boolean | nil
|
|
71
|
+
loginUrl:
|
|
72
|
+
description: Full login URL for the Community
|
|
73
|
+
type: string | nil
|
|
74
|
+
memberVisibilityEnabled:
|
|
75
|
+
description: Specifies whether members can see other members of the community
|
|
76
|
+
or not.This is honored when 'Control user visibility within a community'
|
|
77
|
+
perm is enabled
|
|
78
|
+
type: boolean | nil
|
|
79
|
+
name:
|
|
80
|
+
description: Community's name.
|
|
81
|
+
type: string | nil
|
|
82
|
+
nicknameDisplayEnabled:
|
|
83
|
+
description: Specifies whether nickname display is enabled in the community
|
|
84
|
+
or not.
|
|
85
|
+
type: boolean | nil
|
|
86
|
+
privateMessagesEnabled:
|
|
87
|
+
description: Specifies if members of the community can send and receive Private
|
|
88
|
+
Messages to other members in the community, true if they can, false otherwise.
|
|
89
|
+
type: boolean | nil
|
|
90
|
+
reputationEnabled:
|
|
91
|
+
description: Specifies whether Reputation is calculated and displayed for
|
|
92
|
+
community members.
|
|
93
|
+
type: boolean | nil
|
|
94
|
+
sendWelcomeEmail:
|
|
95
|
+
description: Specifies if a welcome email is automatically generated and sent
|
|
96
|
+
to any new member. true if email is sent, false otherwise
|
|
97
|
+
type: boolean | nil
|
|
98
|
+
siteAsContainerEnabled:
|
|
99
|
+
description: Specifies whether the community is site.com template enabled
|
|
100
|
+
or not.
|
|
101
|
+
type: boolean | nil
|
|
102
|
+
siteUrl:
|
|
103
|
+
description: Site URL for the Community, which is custom domain + URL prefix.
|
|
104
|
+
type: string | nil
|
|
105
|
+
status:
|
|
106
|
+
description: Community's publish status.
|
|
107
|
+
type: string | nil
|
|
108
|
+
enum:
|
|
109
|
+
- Inactive
|
|
110
|
+
- Live
|
|
111
|
+
- UnderConstruction
|
|
112
|
+
templateName:
|
|
113
|
+
description: Community’s template name.
|
|
114
|
+
type: string | nil
|
|
115
|
+
url:
|
|
116
|
+
description: Full URL to community.
|
|
117
|
+
type: string | nil
|
|
118
|
+
urlPathPrefix:
|
|
119
|
+
description: Community-specific URL prefix.
|
|
120
|
+
type: string | nil
|
|
121
|
+
|
|
122
|
+
/connect/communities/{communityId}:
|
|
123
|
+
get:
|
|
124
|
+
description: Returns information about the specified community.
|
|
125
|
+
responses:
|
|
126
|
+
'200':
|
|
127
|
+
description: Success
|
|
128
|
+
body:
|
|
129
|
+
application/json:
|
|
130
|
+
type: CommunityRepresentation
|
|
131
|
+
uriParameters:
|
|
132
|
+
communityId:
|
|
133
|
+
type: string
|
|
134
|
+
required: true
|
|
@@ -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): 'CommunityInfo'
|
|
8
|
+
(luvio.ttl): 2592000000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
CommunityRepresentation:
|
|
12
|
+
(luvio.ttl): 3600000
|
|
13
|
+
(luvio.key):
|
|
14
|
+
id: id
|
|
15
|
+
|
|
16
|
+
/connect/communities/{communityId}:
|
|
17
|
+
get:
|
|
18
|
+
(luvio.adapter):
|
|
19
|
+
name: getCommunity
|
|
20
|
+
(luvio.key):
|
|
21
|
+
id: urlParams.communityId
|