@salesforce/lds-adapters-cdp-communication-capping 1.309.0-dev16
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/cdp-communication-capping.js +1908 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getCommunicationCappingRepresentation.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/triggerDMOCICreation.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotCommunicationCappingsByIdOrName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotCommunicationCappingsActionsRetryByIdOrName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/CdpErrorRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CommunicationCappingActionResponseRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/CommunicationCappingRepresentation.d.ts +67 -0
- package/dist/es/es2018/types/src/generated/types/DataSpaceFilterConditionRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/DataSpaceFilterRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataSpaceRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/DimensionRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/DimensionValueRepresentation.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 +1952 -0
- package/src/raml/api.raml +290 -0
- package/src/raml/luvio.raml +24 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '62.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v62.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
|
+
CdpErrorRepresentation:
|
|
29
|
+
description: Error response representation
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
errorCode?:
|
|
33
|
+
description: Error Code
|
|
34
|
+
type: string
|
|
35
|
+
message?:
|
|
36
|
+
description: Message stating the reason for error, if any
|
|
37
|
+
type: string
|
|
38
|
+
CdpUserRepresentation:
|
|
39
|
+
description: Represents a user
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
id:
|
|
43
|
+
description: The 18 character user ID
|
|
44
|
+
type: string
|
|
45
|
+
name?:
|
|
46
|
+
description: The name of the user
|
|
47
|
+
type: string
|
|
48
|
+
profilePhotoUrl?:
|
|
49
|
+
description: The Chatter profile photo of the user
|
|
50
|
+
type: string
|
|
51
|
+
DataSpaceFilterConditionRepresentation:
|
|
52
|
+
description: Represents dataSpace filter condition
|
|
53
|
+
type: object
|
|
54
|
+
properties:
|
|
55
|
+
fieldName:
|
|
56
|
+
description: table field name on which filter is applied
|
|
57
|
+
type: string
|
|
58
|
+
filterValue:
|
|
59
|
+
description: value of the condition
|
|
60
|
+
type: string
|
|
61
|
+
operator:
|
|
62
|
+
description: operator of the filter condition
|
|
63
|
+
type: string
|
|
64
|
+
enum:
|
|
65
|
+
- EqualsOperator
|
|
66
|
+
- InOperator
|
|
67
|
+
tableName:
|
|
68
|
+
description: table name on which filter is applied
|
|
69
|
+
type: string
|
|
70
|
+
DataSpaceFilterRepresentation:
|
|
71
|
+
description: Represents dataSpace filter on a DLO
|
|
72
|
+
type: object
|
|
73
|
+
properties:
|
|
74
|
+
conditions:
|
|
75
|
+
description: list of conditions in the filter
|
|
76
|
+
type: array
|
|
77
|
+
items:
|
|
78
|
+
type: DataSpaceFilterConditionRepresentation
|
|
79
|
+
conjunctiveOperator:
|
|
80
|
+
description: enum of filter operator
|
|
81
|
+
type: string
|
|
82
|
+
enum:
|
|
83
|
+
- AndOperator
|
|
84
|
+
- NoneOperator
|
|
85
|
+
- OrOperator
|
|
86
|
+
DataSpaceRepresentation:
|
|
87
|
+
description: Represents Cdp DataSpace
|
|
88
|
+
type: object
|
|
89
|
+
properties:
|
|
90
|
+
createdBy?:
|
|
91
|
+
description: Created by
|
|
92
|
+
type: CdpUserRepresentation
|
|
93
|
+
createdDate?:
|
|
94
|
+
description: Created date
|
|
95
|
+
type: string
|
|
96
|
+
id:
|
|
97
|
+
description: The 18 character ID of the asset
|
|
98
|
+
type: string
|
|
99
|
+
label?:
|
|
100
|
+
description: Label of the asset
|
|
101
|
+
type: string
|
|
102
|
+
lastModifiedBy?:
|
|
103
|
+
description: Last modified by
|
|
104
|
+
type: CdpUserRepresentation
|
|
105
|
+
lastModifiedDate?:
|
|
106
|
+
description: Last modified date
|
|
107
|
+
type: string
|
|
108
|
+
name:
|
|
109
|
+
description: Name of the asset
|
|
110
|
+
type: string
|
|
111
|
+
namespace?:
|
|
112
|
+
description: Namespace of the asset
|
|
113
|
+
type: string
|
|
114
|
+
url?:
|
|
115
|
+
description: Url
|
|
116
|
+
type: string
|
|
117
|
+
filter?:
|
|
118
|
+
description: Data Space Filter
|
|
119
|
+
type: DataSpaceFilterRepresentation
|
|
120
|
+
CommunicationCappingActionResponseRepresentation:
|
|
121
|
+
description: Representation for the standard action response in communication
|
|
122
|
+
capping
|
|
123
|
+
type: object
|
|
124
|
+
properties:
|
|
125
|
+
errors:
|
|
126
|
+
description: Any errors that resulted from the action.
|
|
127
|
+
type: array
|
|
128
|
+
items:
|
|
129
|
+
type: CdpErrorRepresentation
|
|
130
|
+
success:
|
|
131
|
+
description: Indicates whether the call was successful.
|
|
132
|
+
type: boolean
|
|
133
|
+
DimensionRepresentation:
|
|
134
|
+
description: Represents Communication Capping Dimension
|
|
135
|
+
type: object
|
|
136
|
+
properties:
|
|
137
|
+
createdBy?:
|
|
138
|
+
description: Created by
|
|
139
|
+
type: CdpUserRepresentation
|
|
140
|
+
createdDate?:
|
|
141
|
+
description: Created date
|
|
142
|
+
type: string
|
|
143
|
+
id:
|
|
144
|
+
description: The 18 character ID of the asset
|
|
145
|
+
type: string
|
|
146
|
+
label?:
|
|
147
|
+
description: Label of the asset
|
|
148
|
+
type: string
|
|
149
|
+
lastModifiedBy?:
|
|
150
|
+
description: Last modified by
|
|
151
|
+
type: CdpUserRepresentation
|
|
152
|
+
lastModifiedDate?:
|
|
153
|
+
description: Last modified date
|
|
154
|
+
type: string
|
|
155
|
+
name:
|
|
156
|
+
description: Name of the asset
|
|
157
|
+
type: string
|
|
158
|
+
namespace?:
|
|
159
|
+
description: Namespace of the asset
|
|
160
|
+
type: string
|
|
161
|
+
url?:
|
|
162
|
+
description: Url
|
|
163
|
+
type: string
|
|
164
|
+
hierarchyOrder:
|
|
165
|
+
description: Hierarchy of Dimension
|
|
166
|
+
type: integer
|
|
167
|
+
type:
|
|
168
|
+
description: Dimension Type
|
|
169
|
+
type: string
|
|
170
|
+
enum:
|
|
171
|
+
- Functional
|
|
172
|
+
- NonFunctional
|
|
173
|
+
values?:
|
|
174
|
+
description: Dimension Value
|
|
175
|
+
type: array
|
|
176
|
+
items:
|
|
177
|
+
type: DimensionValueRepresentation
|
|
178
|
+
DimensionValueRepresentation:
|
|
179
|
+
description: Represents Communication Capping Dimension Value
|
|
180
|
+
type: object
|
|
181
|
+
properties:
|
|
182
|
+
createdBy?:
|
|
183
|
+
description: Created by
|
|
184
|
+
type: CdpUserRepresentation
|
|
185
|
+
createdDate?:
|
|
186
|
+
description: Created date
|
|
187
|
+
type: string
|
|
188
|
+
id:
|
|
189
|
+
description: The 18 character ID of the asset
|
|
190
|
+
type: string
|
|
191
|
+
label?:
|
|
192
|
+
description: Label of the asset
|
|
193
|
+
type: string
|
|
194
|
+
lastModifiedBy?:
|
|
195
|
+
description: Last modified by
|
|
196
|
+
type: CdpUserRepresentation
|
|
197
|
+
lastModifiedDate?:
|
|
198
|
+
description: Last modified date
|
|
199
|
+
type: string
|
|
200
|
+
name:
|
|
201
|
+
description: Name of the asset
|
|
202
|
+
type: string
|
|
203
|
+
namespace?:
|
|
204
|
+
description: Namespace of the asset
|
|
205
|
+
type: string
|
|
206
|
+
url?:
|
|
207
|
+
description: Url
|
|
208
|
+
type: string
|
|
209
|
+
CommunicationCappingRepresentation:
|
|
210
|
+
description: Representation for the communication capping configuration
|
|
211
|
+
type: object
|
|
212
|
+
properties:
|
|
213
|
+
createdBy?:
|
|
214
|
+
description: Created by
|
|
215
|
+
type: CdpUserRepresentation
|
|
216
|
+
createdDate?:
|
|
217
|
+
description: Created date
|
|
218
|
+
type: string
|
|
219
|
+
id:
|
|
220
|
+
description: The 18 character ID of the asset
|
|
221
|
+
type: string
|
|
222
|
+
label?:
|
|
223
|
+
description: Label of the asset
|
|
224
|
+
type: string
|
|
225
|
+
lastModifiedBy?:
|
|
226
|
+
description: Last modified by
|
|
227
|
+
type: CdpUserRepresentation
|
|
228
|
+
lastModifiedDate?:
|
|
229
|
+
description: Last modified date
|
|
230
|
+
type: string
|
|
231
|
+
name:
|
|
232
|
+
description: Name of the asset
|
|
233
|
+
type: string
|
|
234
|
+
namespace?:
|
|
235
|
+
description: Namespace of the asset
|
|
236
|
+
type: string
|
|
237
|
+
url?:
|
|
238
|
+
description: Url
|
|
239
|
+
type: string
|
|
240
|
+
dataspacesInfo:
|
|
241
|
+
description: Communication Capping config dataspaces information
|
|
242
|
+
type: array
|
|
243
|
+
items:
|
|
244
|
+
type: DataSpaceRepresentation
|
|
245
|
+
description?:
|
|
246
|
+
description: Communication Capping config description
|
|
247
|
+
type: string | nil
|
|
248
|
+
dimensions:
|
|
249
|
+
description: Communication Capping config dimensions
|
|
250
|
+
type: array
|
|
251
|
+
items:
|
|
252
|
+
type: DimensionRepresentation
|
|
253
|
+
status:
|
|
254
|
+
description: Communication Capping config status
|
|
255
|
+
type: string
|
|
256
|
+
enum:
|
|
257
|
+
- Active
|
|
258
|
+
- Error
|
|
259
|
+
- Inactive
|
|
260
|
+
- Processing
|
|
261
|
+
/ssot:
|
|
262
|
+
/communication-cappings:
|
|
263
|
+
/{idOrName}:
|
|
264
|
+
get:
|
|
265
|
+
displayName: getCdpCommunicationCapping
|
|
266
|
+
description: Gets the specific communication capping config
|
|
267
|
+
responses:
|
|
268
|
+
'200':
|
|
269
|
+
description: Success
|
|
270
|
+
body:
|
|
271
|
+
application/json:
|
|
272
|
+
type: CommunicationCappingRepresentation
|
|
273
|
+
uriParameters:
|
|
274
|
+
idOrName:
|
|
275
|
+
type: string
|
|
276
|
+
required: true
|
|
277
|
+
/actions/retry:
|
|
278
|
+
post:
|
|
279
|
+
displayName: postCdpCommunicationCappingActionRetry
|
|
280
|
+
description: Retry DMO and CI creation for communication capping configuration
|
|
281
|
+
responses:
|
|
282
|
+
'200':
|
|
283
|
+
description: Success
|
|
284
|
+
body:
|
|
285
|
+
application/json:
|
|
286
|
+
type: CommunicationCappingActionResponseRepresentation
|
|
287
|
+
uriParameters:
|
|
288
|
+
idOrName:
|
|
289
|
+
type: string
|
|
290
|
+
required: true
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'communication-capping'
|
|
8
|
+
(luvio.ttl): 60000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
CommunicationCappingActionResponseRepresentation:
|
|
12
|
+
(luvio.key):
|
|
13
|
+
success: success
|
|
14
|
+
|
|
15
|
+
/ssot:
|
|
16
|
+
/communication-cappings:
|
|
17
|
+
/{idOrName}:
|
|
18
|
+
get:
|
|
19
|
+
(luvio.adapter):
|
|
20
|
+
name: getCommunicationCappingRepresentation
|
|
21
|
+
/{idOrName}/actions/retry:
|
|
22
|
+
post:
|
|
23
|
+
(luvio.adapter):
|
|
24
|
+
name: triggerDMOCICreation
|