@salesforce/lds-adapters-service-articlefeedback 1.344.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/service-articlefeedback.js +978 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createSurveyInvitation.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getArticleFeedbackResponsesPaginated.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/adapters/getSurveyInvitation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectArticleFeedbackInvitations.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectArticleFeedbackResponses.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectArticleFeedbackInvitations.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/ArticleFeedbackInvitationInputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ArticleFeedbackInvitationRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/ArticleFeedbackQuestionResponseRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ArticleFeedbackResponseCollectionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ArticleFeedbackResponseRepresentation.d.ts +54 -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 +1078 -0
- package/src/raml/api.raml +166 -0
- package/src/raml/luvio.raml +43 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '64.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v64.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
|
+
ArticleFeedbackInvitationInputRepresentation:
|
|
29
|
+
description: Represents the input payload for generating survey invitation for
|
|
30
|
+
Knowledge Article Version
|
|
31
|
+
type: object
|
|
32
|
+
properties:
|
|
33
|
+
communityId:
|
|
34
|
+
description: Community id.
|
|
35
|
+
type: string
|
|
36
|
+
required: false
|
|
37
|
+
knowledgeArticleVersionId:
|
|
38
|
+
description: Knowledge Article Version id.
|
|
39
|
+
type: string
|
|
40
|
+
ArticleFeedbackInvitationRepresentation:
|
|
41
|
+
description: Invitation link data for Article Feedback
|
|
42
|
+
type: object
|
|
43
|
+
properties:
|
|
44
|
+
invitationId:
|
|
45
|
+
description: Survey invitation Id
|
|
46
|
+
type: string | nil
|
|
47
|
+
invitationUrl:
|
|
48
|
+
description: Survey invitation url
|
|
49
|
+
type: string | nil
|
|
50
|
+
knowledgeArticleVersionId:
|
|
51
|
+
description: Knowledge Article Version id
|
|
52
|
+
type: string
|
|
53
|
+
responseSubmitted:
|
|
54
|
+
description: Article feedback Invitation Response submit
|
|
55
|
+
type: boolean | nil
|
|
56
|
+
ArticleFeedbackQuestionResponseRepresentation:
|
|
57
|
+
description: Article Feedback question Response for Article feedback responses
|
|
58
|
+
representation
|
|
59
|
+
type: object
|
|
60
|
+
properties:
|
|
61
|
+
questionName:
|
|
62
|
+
description: Question Name
|
|
63
|
+
type: string
|
|
64
|
+
questionOrder:
|
|
65
|
+
description: Question Order
|
|
66
|
+
type: integer
|
|
67
|
+
questionResponse:
|
|
68
|
+
description: Question Response
|
|
69
|
+
type: string
|
|
70
|
+
questionType:
|
|
71
|
+
description: Question Type
|
|
72
|
+
type: string
|
|
73
|
+
ArticleFeedbackResponseCollectionRepresentation:
|
|
74
|
+
description: List of Article feedback response representation
|
|
75
|
+
type: object
|
|
76
|
+
properties:
|
|
77
|
+
articleFeedbackResponseRepresentationList:
|
|
78
|
+
description: KnowledgeArticle version feedback response list
|
|
79
|
+
type: array
|
|
80
|
+
items:
|
|
81
|
+
type: ArticleFeedbackResponseRepresentation
|
|
82
|
+
ArticleFeedbackResponseRepresentation:
|
|
83
|
+
description: Article Feedback Response for given survey invitation representation
|
|
84
|
+
type: object
|
|
85
|
+
properties:
|
|
86
|
+
articleFeedbackQuestionResponseRepresentationList:
|
|
87
|
+
description: list of article feedback question response
|
|
88
|
+
type: array
|
|
89
|
+
items:
|
|
90
|
+
type: ArticleFeedbackQuestionResponseRepresentation
|
|
91
|
+
completionDate:
|
|
92
|
+
description: Completion date
|
|
93
|
+
type: string
|
|
94
|
+
responseId:
|
|
95
|
+
description: Response Id
|
|
96
|
+
type: string
|
|
97
|
+
responseName:
|
|
98
|
+
description: Response Name
|
|
99
|
+
type: string
|
|
100
|
+
submitterId:
|
|
101
|
+
description: Submitter Id
|
|
102
|
+
type: string
|
|
103
|
+
submitterName:
|
|
104
|
+
description: Submitter Name
|
|
105
|
+
type: string
|
|
106
|
+
|
|
107
|
+
/connect:
|
|
108
|
+
/article-feedback:
|
|
109
|
+
/invitations:
|
|
110
|
+
get:
|
|
111
|
+
displayName: getArticleFeedbackInvitation
|
|
112
|
+
description: Get the survey invitation for the given knowledge article version
|
|
113
|
+
responses:
|
|
114
|
+
'200':
|
|
115
|
+
description: Success
|
|
116
|
+
body:
|
|
117
|
+
application/json:
|
|
118
|
+
type: ArticleFeedbackInvitationRepresentation
|
|
119
|
+
queryParameters:
|
|
120
|
+
communityId:
|
|
121
|
+
type: string
|
|
122
|
+
required: false
|
|
123
|
+
knowledgeArticleVersionId:
|
|
124
|
+
type: string
|
|
125
|
+
post:
|
|
126
|
+
displayName: postArticleFeedbackInvitation
|
|
127
|
+
description: Create Survey invitation for Knowledge Article version
|
|
128
|
+
responses:
|
|
129
|
+
'200':
|
|
130
|
+
description: Success
|
|
131
|
+
body:
|
|
132
|
+
application/json:
|
|
133
|
+
type: ArticleFeedbackInvitationRepresentation
|
|
134
|
+
body:
|
|
135
|
+
application/json:
|
|
136
|
+
type: ArticleFeedbackInvitationInputRepresentation
|
|
137
|
+
(oas-body-name): invitationInput
|
|
138
|
+
/responses:
|
|
139
|
+
get:
|
|
140
|
+
displayName: getArticleFeedbackResponse
|
|
141
|
+
description: Get the survey response for the given knowledge article version
|
|
142
|
+
responses:
|
|
143
|
+
'200':
|
|
144
|
+
description: Success
|
|
145
|
+
body:
|
|
146
|
+
application/json:
|
|
147
|
+
type: ArticleFeedbackResponseCollectionRepresentation
|
|
148
|
+
queryParameters:
|
|
149
|
+
communityId:
|
|
150
|
+
type: string
|
|
151
|
+
required: false
|
|
152
|
+
isUserResponse:
|
|
153
|
+
type: boolean
|
|
154
|
+
required: false
|
|
155
|
+
knowledgeArticleVersionId:
|
|
156
|
+
type: string
|
|
157
|
+
required: false
|
|
158
|
+
limit:
|
|
159
|
+
type: integer
|
|
160
|
+
required: false
|
|
161
|
+
offset:
|
|
162
|
+
type: integer
|
|
163
|
+
required: false
|
|
164
|
+
orderBy:
|
|
165
|
+
type: string
|
|
166
|
+
required: false
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'articlefeedback'
|
|
8
|
+
(luvio.ttl): 900000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
ArticleFeedbackInvitationRepresentation:
|
|
12
|
+
(luvio.ttl): 300
|
|
13
|
+
(luvio.key):
|
|
14
|
+
id: knowledgeArticleVersionId
|
|
15
|
+
ArticleFeedbackInvitationInputRepresentation:
|
|
16
|
+
(luvio.ttl): 300
|
|
17
|
+
(luvio.key):
|
|
18
|
+
id: knowledgeArticleVersionId
|
|
19
|
+
ArticleFeedbackResponseCollectionRepresentation:
|
|
20
|
+
(luvio.ttl): 300
|
|
21
|
+
ArticleFeedbackQuestionResponseRepresentation:
|
|
22
|
+
(luvio.ttl): 300
|
|
23
|
+
ArticleFeedbackResponseRepresentation:
|
|
24
|
+
(luvio.ttl): 300
|
|
25
|
+
(luvio.key):
|
|
26
|
+
id: responseId
|
|
27
|
+
|
|
28
|
+
/connect:
|
|
29
|
+
/article-feedback/invitations:
|
|
30
|
+
get:
|
|
31
|
+
(luvio.adapter):
|
|
32
|
+
name: getSurveyInvitation
|
|
33
|
+
(luvio.key):
|
|
34
|
+
id: queryParams.knowledgeArticleVersionId
|
|
35
|
+
|
|
36
|
+
post:
|
|
37
|
+
(luvio.adapter):
|
|
38
|
+
name: createSurveyInvitation
|
|
39
|
+
|
|
40
|
+
/article-feedback/responses:
|
|
41
|
+
get:
|
|
42
|
+
(luvio.adapter):
|
|
43
|
+
name: getArticleFeedbackResponsesPaginated
|