@salesforce/lds-adapters-industries-interesttagging 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/industries-interesttagging.js +1585 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/createInterestTagEntityAssignment.d.ts +21 -0
- package/dist/types/src/generated/adapters/getInterestTagEntityAssignments.d.ts +30 -0
- package/dist/types/src/generated/adapters/getTagCategoriesByTagId.d.ts +30 -0
- package/dist/types/src/generated/adapters/getTagsByCategoryId.d.ts +30 -0
- package/dist/types/src/generated/adapters/getTagsByRecordId.d.ts +30 -0
- package/dist/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +10 -0
- package/dist/types/src/generated/resources/deleteConnectInterestTagsTags.d.ts +11 -0
- package/dist/types/src/generated/resources/deleteConnectInterestTagsTagsByTagId.d.ts +14 -0
- package/dist/types/src/generated/resources/getConnectInterestTagsAssignments.d.ts +18 -0
- package/dist/types/src/generated/resources/getConnectInterestTagsAssignmentsEntityByRecordId.d.ts +21 -0
- package/dist/types/src/generated/resources/getConnectInterestTagsAssignmentsTagByTagId.d.ts +21 -0
- package/dist/types/src/generated/resources/getConnectInterestTagsCategories.d.ts +19 -0
- package/dist/types/src/generated/resources/getConnectInterestTagsTags.d.ts +19 -0
- package/dist/types/src/generated/resources/getConnectInterestTagsTagsByTagId.d.ts +22 -0
- package/dist/types/src/generated/resources/patchConnectInterestTagsTags.d.ts +12 -0
- package/dist/types/src/generated/resources/patchConnectInterestTagsTagsByTagId.d.ts +15 -0
- package/dist/types/src/generated/resources/postConnectInterestTagsAssignments.d.ts +19 -0
- package/dist/types/src/generated/resources/postConnectInterestTagsAssignmentsTagByTagId.d.ts +22 -0
- package/dist/types/src/generated/resources/postConnectInterestTagsTags.d.ts +12 -0
- package/dist/types/src/generated/resources/postConnectInterestTagsTagsByTagId.d.ts +15 -0
- package/dist/types/src/generated/types/InterestTagAssignmentInputRepresentation.d.ts +44 -0
- package/dist/types/src/generated/types/InterestTagAssignmentOutputRepresentation.d.ts +51 -0
- package/dist/types/src/generated/types/InterestTagCreateCollectionOutputRepresentation.d.ts +30 -0
- package/dist/types/src/generated/types/InterestTagCreateInputListRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/InterestTagCreateInputRepresentation.d.ts +38 -0
- package/dist/types/src/generated/types/InterestTagCreateResult.d.ts +38 -0
- package/dist/types/src/generated/types/InterestTagListRepresentation.d.ts +31 -0
- package/dist/types/src/generated/types/InterestTagRepresentation.d.ts +39 -0
- package/dist/types/src/generated/types/InterestTagUpdateInputRepresentation.d.ts +38 -0
- package/dist/types/src/generated/types/InterestTagUpdateOutputRepresentation.d.ts +32 -0
- package/dist/types/src/generated/types/RecordsForTag.d.ts +32 -0
- package/dist/types/src/generated/types/TagCategoryListRepresentation.d.ts +30 -0
- package/dist/types/src/generated/types/TagCategoryRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/TagCategoryWithParentRepresentation.d.ts +44 -0
- package/dist/types/src/generated/types/TagRecordAssignment.d.ts +38 -0
- package/dist/types/src/generated/types/TagRecordAssignmentCollectionRepresentation.d.ts +30 -0
- package/dist/types/src/generated/types/TagsForRecord.d.ts +32 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/industries-interesttagging.js +1597 -0
- package/dist/umd/es5/industries-interesttagging.js +1605 -0
- package/package.json +70 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1647 -0
- package/src/raml/api.raml +529 -0
- package/src/raml/luvio.raml +43 -0
|
@@ -0,0 +1,529 @@
|
|
|
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
|
+
InterestTagAssignmentInputRepresentation:
|
|
29
|
+
description: Input representation for interest tag entity assignment
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
recordsForTag:
|
|
33
|
+
description: Entity records to be assigned to a tag
|
|
34
|
+
type: object
|
|
35
|
+
properties:
|
|
36
|
+
TagId: string
|
|
37
|
+
RecordIds:
|
|
38
|
+
type: array
|
|
39
|
+
items:
|
|
40
|
+
type: string
|
|
41
|
+
tagsForRecord:
|
|
42
|
+
description: tags to be assigned to an entity
|
|
43
|
+
type: object
|
|
44
|
+
properties:
|
|
45
|
+
RecordId: string
|
|
46
|
+
TagIds:
|
|
47
|
+
type: array
|
|
48
|
+
items:
|
|
49
|
+
type: string
|
|
50
|
+
InterestTagAssignmentOutputRepresentation:
|
|
51
|
+
description: Interest tag entity assignment output representation.
|
|
52
|
+
type: object
|
|
53
|
+
properties:
|
|
54
|
+
errors:
|
|
55
|
+
description: Error messages occurred for the interest tag entity assignments
|
|
56
|
+
type: array
|
|
57
|
+
items:
|
|
58
|
+
type: string
|
|
59
|
+
isCreated:
|
|
60
|
+
description: Created flag whether the Interest Tag Entity assignment was successfully
|
|
61
|
+
created or not
|
|
62
|
+
type: boolean
|
|
63
|
+
isSuccess:
|
|
64
|
+
description: Success flag for Create of Interest Tag Entity assignment
|
|
65
|
+
type: boolean
|
|
66
|
+
InterestTagCreateCollectionOutputRepresentation:
|
|
67
|
+
description: A Collection of interest tag output representation- InterestTagCreateResult.
|
|
68
|
+
type: object
|
|
69
|
+
properties:
|
|
70
|
+
results:
|
|
71
|
+
description: List of Interest Tag Records created
|
|
72
|
+
type: array
|
|
73
|
+
items:
|
|
74
|
+
type: InterestTagCreateResult
|
|
75
|
+
InterestTagCreateInputListRepresentation:
|
|
76
|
+
description: Interest Tags create input list
|
|
77
|
+
type: object
|
|
78
|
+
properties:
|
|
79
|
+
interestTagList:
|
|
80
|
+
description: List of Interest tags to be created
|
|
81
|
+
type: array
|
|
82
|
+
items:
|
|
83
|
+
type: object
|
|
84
|
+
InterestTagCreateInputRepresentation:
|
|
85
|
+
description: Input representation for creating interest tags
|
|
86
|
+
type: object
|
|
87
|
+
properties:
|
|
88
|
+
categoryId:
|
|
89
|
+
description: CategoryId of the Interest Tag
|
|
90
|
+
type: string
|
|
91
|
+
recordId:
|
|
92
|
+
description: Id of the reecord to which Interest Tag needs to be associated
|
|
93
|
+
to
|
|
94
|
+
type: string
|
|
95
|
+
tagDescription:
|
|
96
|
+
description: Description of the Interest Tag
|
|
97
|
+
type: string
|
|
98
|
+
tagName:
|
|
99
|
+
description: Name of the Interest Tag
|
|
100
|
+
type: string
|
|
101
|
+
InterestTagCreateResult:
|
|
102
|
+
description: Create interest tag results representation
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
error:
|
|
106
|
+
description: Error message of the Interest Tag that could be created
|
|
107
|
+
type: string
|
|
108
|
+
isCreated:
|
|
109
|
+
description: Created flag whether the Interest Tag was successfully created
|
|
110
|
+
or not
|
|
111
|
+
type: boolean
|
|
112
|
+
isSuccess:
|
|
113
|
+
description: Success flag for Create of Interest Tags
|
|
114
|
+
type: boolean
|
|
115
|
+
tagId:
|
|
116
|
+
description: Interest Tag Id that got created.
|
|
117
|
+
type: string
|
|
118
|
+
InterestTagListRepresentation:
|
|
119
|
+
description: A list of interest tags.
|
|
120
|
+
type: object
|
|
121
|
+
properties:
|
|
122
|
+
tags:
|
|
123
|
+
description: interest tag list
|
|
124
|
+
type: array
|
|
125
|
+
items:
|
|
126
|
+
type: InterestTagRepresentation
|
|
127
|
+
InterestTagRepresentation:
|
|
128
|
+
description: The response for an interest tag.
|
|
129
|
+
type: object
|
|
130
|
+
properties:
|
|
131
|
+
categories:
|
|
132
|
+
description: The categories associated to the tag
|
|
133
|
+
type: array
|
|
134
|
+
items:
|
|
135
|
+
type: TagCategoryRepresentation
|
|
136
|
+
name:
|
|
137
|
+
description: The tag name
|
|
138
|
+
type: string
|
|
139
|
+
recordAssignmentId:
|
|
140
|
+
description: The id of the assignment record of the tagid and recordId
|
|
141
|
+
type: string
|
|
142
|
+
tagId:
|
|
143
|
+
description: The tag Id
|
|
144
|
+
type: string
|
|
145
|
+
InterestTagUpdateInputRepresentation:
|
|
146
|
+
description: Interest Tags update input request
|
|
147
|
+
type: object
|
|
148
|
+
properties:
|
|
149
|
+
addCategoryIds:
|
|
150
|
+
description: The categories to be assigned on this tag
|
|
151
|
+
type: array
|
|
152
|
+
items:
|
|
153
|
+
type: string
|
|
154
|
+
removeCategoryIds:
|
|
155
|
+
description: The categories to be removed on this tag
|
|
156
|
+
type: array
|
|
157
|
+
items:
|
|
158
|
+
type: string
|
|
159
|
+
tagDescription:
|
|
160
|
+
description: The new tag description to be set on this tag
|
|
161
|
+
type: string
|
|
162
|
+
tagName:
|
|
163
|
+
description: The new tag name to be set on this tag
|
|
164
|
+
type: string
|
|
165
|
+
InterestTagUpdateOutputRepresentation:
|
|
166
|
+
description: The response for interest tag update call.
|
|
167
|
+
type: object
|
|
168
|
+
properties:
|
|
169
|
+
isSuccess:
|
|
170
|
+
description: indicate whether the call is succeeded
|
|
171
|
+
type: boolean
|
|
172
|
+
isUpdated:
|
|
173
|
+
description: indicate whether the tag is updated
|
|
174
|
+
type: boolean
|
|
175
|
+
RecordsForTag:
|
|
176
|
+
description: Input representation for records for tag
|
|
177
|
+
type: object
|
|
178
|
+
properties:
|
|
179
|
+
recordIds:
|
|
180
|
+
description: Entity Record Ids
|
|
181
|
+
type: array
|
|
182
|
+
items:
|
|
183
|
+
type: string
|
|
184
|
+
tagId:
|
|
185
|
+
description: Interest Tag Id
|
|
186
|
+
type: string
|
|
187
|
+
TagCategoryListRepresentation:
|
|
188
|
+
description: A list of tag categories.
|
|
189
|
+
type: object
|
|
190
|
+
properties:
|
|
191
|
+
categories:
|
|
192
|
+
description: tag category list
|
|
193
|
+
type: array
|
|
194
|
+
items:
|
|
195
|
+
type: TagCategoryWithParentRepresentation
|
|
196
|
+
TagCategoryRepresentation:
|
|
197
|
+
description: The response for a category.
|
|
198
|
+
type: object
|
|
199
|
+
properties:
|
|
200
|
+
categoryId:
|
|
201
|
+
description: The category Id
|
|
202
|
+
type: string
|
|
203
|
+
icon:
|
|
204
|
+
description: The icon of the category
|
|
205
|
+
type: string
|
|
206
|
+
name:
|
|
207
|
+
description: The category name
|
|
208
|
+
type: string
|
|
209
|
+
TagCategoryWithParentRepresentation:
|
|
210
|
+
description: The representation of a category with its parent category.
|
|
211
|
+
type: object
|
|
212
|
+
properties:
|
|
213
|
+
categoryId:
|
|
214
|
+
description: The category Id
|
|
215
|
+
type: string
|
|
216
|
+
icon:
|
|
217
|
+
description: The icon name of this category
|
|
218
|
+
type: string
|
|
219
|
+
name:
|
|
220
|
+
description: The category name
|
|
221
|
+
type: string
|
|
222
|
+
parentCategoryId:
|
|
223
|
+
description: The parent category Id
|
|
224
|
+
type: string
|
|
225
|
+
parentCategoryName:
|
|
226
|
+
description: The parent category name
|
|
227
|
+
type: string
|
|
228
|
+
tagCategoryAssignmentId:
|
|
229
|
+
description: The TagCategoryAssignmentId of this category with the given tagId
|
|
230
|
+
type: string
|
|
231
|
+
TagRecordAssignment:
|
|
232
|
+
description: Tag record assignment representation
|
|
233
|
+
type: object
|
|
234
|
+
properties:
|
|
235
|
+
assignmentId:
|
|
236
|
+
description: The id of the tag entity assignment record of the tagid and recordId
|
|
237
|
+
type: string
|
|
238
|
+
objectName:
|
|
239
|
+
description: Object Name for the Record.
|
|
240
|
+
type: string
|
|
241
|
+
recordId:
|
|
242
|
+
description: Record ID.
|
|
243
|
+
type: string
|
|
244
|
+
recordName:
|
|
245
|
+
description: Record Name.
|
|
246
|
+
type: string
|
|
247
|
+
TagRecordAssignmentCollectionRepresentation:
|
|
248
|
+
description: A Collection of record assignments for a tag.
|
|
249
|
+
type: object
|
|
250
|
+
properties:
|
|
251
|
+
assignments:
|
|
252
|
+
description: List of record assignments for a tag.
|
|
253
|
+
type: array
|
|
254
|
+
items:
|
|
255
|
+
type: TagRecordAssignment
|
|
256
|
+
TagsForRecord:
|
|
257
|
+
description: Input representation for tags for record
|
|
258
|
+
type: object
|
|
259
|
+
properties:
|
|
260
|
+
recordId:
|
|
261
|
+
description: Entity Record Id
|
|
262
|
+
type: string
|
|
263
|
+
tagIds:
|
|
264
|
+
description: Interest Tag Ids
|
|
265
|
+
type: array
|
|
266
|
+
items:
|
|
267
|
+
type: string
|
|
268
|
+
/connect/interest-tags:
|
|
269
|
+
/assignments:
|
|
270
|
+
get:
|
|
271
|
+
description: API to get record assignments for a tag.
|
|
272
|
+
responses:
|
|
273
|
+
'200':
|
|
274
|
+
description: Success
|
|
275
|
+
body:
|
|
276
|
+
application/json:
|
|
277
|
+
type: TagRecordAssignmentCollectionRepresentation
|
|
278
|
+
queryParameters:
|
|
279
|
+
limit:
|
|
280
|
+
type: integer
|
|
281
|
+
required: false
|
|
282
|
+
offset:
|
|
283
|
+
type: integer
|
|
284
|
+
required: false
|
|
285
|
+
orderBy:
|
|
286
|
+
type: string
|
|
287
|
+
required: false
|
|
288
|
+
sort:
|
|
289
|
+
type: string
|
|
290
|
+
required: false
|
|
291
|
+
post:
|
|
292
|
+
description: API to create tag record assignment.
|
|
293
|
+
responses:
|
|
294
|
+
'200':
|
|
295
|
+
description: Success
|
|
296
|
+
body:
|
|
297
|
+
application/json:
|
|
298
|
+
type: InterestTagAssignmentOutputRepresentation
|
|
299
|
+
body:
|
|
300
|
+
application/json:
|
|
301
|
+
type: InterestTagAssignmentInputRepresentation
|
|
302
|
+
# TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
303
|
+
#required: false
|
|
304
|
+
(oas-body-name): createInterestTagEntityAssignmentData
|
|
305
|
+
/entity/{recordId}:
|
|
306
|
+
get:
|
|
307
|
+
description: Get a list of tags assigned to the given record.
|
|
308
|
+
responses:
|
|
309
|
+
'200':
|
|
310
|
+
description: Success
|
|
311
|
+
body:
|
|
312
|
+
application/json:
|
|
313
|
+
type: InterestTagListRepresentation
|
|
314
|
+
queryParameters:
|
|
315
|
+
limit:
|
|
316
|
+
type: integer
|
|
317
|
+
required: false
|
|
318
|
+
offset:
|
|
319
|
+
type: integer
|
|
320
|
+
required: false
|
|
321
|
+
orderBy:
|
|
322
|
+
type: string
|
|
323
|
+
required: false
|
|
324
|
+
sort:
|
|
325
|
+
type: string
|
|
326
|
+
required: false
|
|
327
|
+
uriParameters:
|
|
328
|
+
recordId:
|
|
329
|
+
type: string
|
|
330
|
+
required: true
|
|
331
|
+
/tag/{tagId}:
|
|
332
|
+
get:
|
|
333
|
+
description: API to get record assignments for a tag.
|
|
334
|
+
responses:
|
|
335
|
+
'200':
|
|
336
|
+
description: Success
|
|
337
|
+
body:
|
|
338
|
+
application/json:
|
|
339
|
+
type: TagRecordAssignmentCollectionRepresentation
|
|
340
|
+
queryParameters:
|
|
341
|
+
limit:
|
|
342
|
+
type: integer
|
|
343
|
+
required: false
|
|
344
|
+
offset:
|
|
345
|
+
type: integer
|
|
346
|
+
required: false
|
|
347
|
+
orderBy:
|
|
348
|
+
type: string
|
|
349
|
+
required: false
|
|
350
|
+
sort:
|
|
351
|
+
type: string
|
|
352
|
+
required: false
|
|
353
|
+
post:
|
|
354
|
+
description: API to create tag record assignment.
|
|
355
|
+
responses:
|
|
356
|
+
'200':
|
|
357
|
+
description: Success
|
|
358
|
+
body:
|
|
359
|
+
application/json:
|
|
360
|
+
type: InterestTagAssignmentOutputRepresentation
|
|
361
|
+
body:
|
|
362
|
+
application/json:
|
|
363
|
+
type: InterestTagAssignmentInputRepresentation
|
|
364
|
+
# TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
365
|
+
#required: false
|
|
366
|
+
(oas-body-name): createInterestTagEntityAssignmentData
|
|
367
|
+
uriParameters:
|
|
368
|
+
tagId:
|
|
369
|
+
type: string
|
|
370
|
+
required: true
|
|
371
|
+
/categories:
|
|
372
|
+
get:
|
|
373
|
+
description: Get a list of tag categories assigned to an interest tag.
|
|
374
|
+
responses:
|
|
375
|
+
'200':
|
|
376
|
+
description: Success
|
|
377
|
+
body:
|
|
378
|
+
application/json:
|
|
379
|
+
type: TagCategoryListRepresentation
|
|
380
|
+
queryParameters:
|
|
381
|
+
limit:
|
|
382
|
+
type: integer
|
|
383
|
+
required: false
|
|
384
|
+
offset:
|
|
385
|
+
type: integer
|
|
386
|
+
required: false
|
|
387
|
+
orderBy:
|
|
388
|
+
type: string
|
|
389
|
+
required: false
|
|
390
|
+
sort:
|
|
391
|
+
type: string
|
|
392
|
+
required: false
|
|
393
|
+
tagId:
|
|
394
|
+
type: string
|
|
395
|
+
required: false
|
|
396
|
+
/tags:
|
|
397
|
+
delete:
|
|
398
|
+
description: API to delete interest tags by Ids.
|
|
399
|
+
responses:
|
|
400
|
+
'200':
|
|
401
|
+
description: Success
|
|
402
|
+
queryParameters:
|
|
403
|
+
tagIds:
|
|
404
|
+
type: array
|
|
405
|
+
required: false
|
|
406
|
+
items:
|
|
407
|
+
type: string
|
|
408
|
+
(oas-collectionFormat): csv
|
|
409
|
+
get:
|
|
410
|
+
description: Get a list of tags assigned to the given category.
|
|
411
|
+
responses:
|
|
412
|
+
'200':
|
|
413
|
+
description: Success
|
|
414
|
+
body:
|
|
415
|
+
application/json:
|
|
416
|
+
type: InterestTagListRepresentation
|
|
417
|
+
queryParameters:
|
|
418
|
+
categoryId:
|
|
419
|
+
type: string
|
|
420
|
+
required: false
|
|
421
|
+
limit:
|
|
422
|
+
type: integer
|
|
423
|
+
required: false
|
|
424
|
+
offset:
|
|
425
|
+
type: integer
|
|
426
|
+
required: false
|
|
427
|
+
orderBy:
|
|
428
|
+
type: string
|
|
429
|
+
required: false
|
|
430
|
+
sort:
|
|
431
|
+
type: string
|
|
432
|
+
required: false
|
|
433
|
+
patch:
|
|
434
|
+
description: API to update an interest tag.
|
|
435
|
+
responses:
|
|
436
|
+
'200':
|
|
437
|
+
description: Success
|
|
438
|
+
body:
|
|
439
|
+
application/json:
|
|
440
|
+
type: InterestTagUpdateOutputRepresentation
|
|
441
|
+
body:
|
|
442
|
+
application/json:
|
|
443
|
+
type: InterestTagUpdateInputRepresentation
|
|
444
|
+
# TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
445
|
+
#required: false
|
|
446
|
+
(oas-body-name): updateInterestTagData
|
|
447
|
+
post:
|
|
448
|
+
description: API to create interest tag.
|
|
449
|
+
responses:
|
|
450
|
+
'200':
|
|
451
|
+
description: Success
|
|
452
|
+
body:
|
|
453
|
+
application/json:
|
|
454
|
+
type: InterestTagCreateCollectionOutputRepresentation
|
|
455
|
+
body:
|
|
456
|
+
application/json:
|
|
457
|
+
type: InterestTagCreateInputListRepresentation
|
|
458
|
+
# TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
459
|
+
#required: false
|
|
460
|
+
(oas-body-name): createInterestTagData
|
|
461
|
+
/tags/{tagId}:
|
|
462
|
+
delete:
|
|
463
|
+
description: API to delete interest tags by Ids.
|
|
464
|
+
responses:
|
|
465
|
+
'200':
|
|
466
|
+
description: Success
|
|
467
|
+
queryParameters:
|
|
468
|
+
tagIds:
|
|
469
|
+
type: array
|
|
470
|
+
required: false
|
|
471
|
+
items:
|
|
472
|
+
type: string
|
|
473
|
+
(oas-collectionFormat): csv
|
|
474
|
+
get:
|
|
475
|
+
description: Get a list of tags assigned to the given category.
|
|
476
|
+
responses:
|
|
477
|
+
'200':
|
|
478
|
+
description: Success
|
|
479
|
+
body:
|
|
480
|
+
application/json:
|
|
481
|
+
type: InterestTagListRepresentation
|
|
482
|
+
queryParameters:
|
|
483
|
+
categoryId:
|
|
484
|
+
type: string
|
|
485
|
+
required: false
|
|
486
|
+
limit:
|
|
487
|
+
type: integer
|
|
488
|
+
required: false
|
|
489
|
+
offset:
|
|
490
|
+
type: integer
|
|
491
|
+
required: false
|
|
492
|
+
orderBy:
|
|
493
|
+
type: string
|
|
494
|
+
required: false
|
|
495
|
+
sort:
|
|
496
|
+
type: string
|
|
497
|
+
required: false
|
|
498
|
+
patch:
|
|
499
|
+
description: API to update an interest tag.
|
|
500
|
+
responses:
|
|
501
|
+
'200':
|
|
502
|
+
description: Success
|
|
503
|
+
body:
|
|
504
|
+
application/json:
|
|
505
|
+
type: InterestTagUpdateOutputRepresentation
|
|
506
|
+
body:
|
|
507
|
+
application/json:
|
|
508
|
+
type: InterestTagUpdateInputRepresentation
|
|
509
|
+
# TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
510
|
+
#required: false
|
|
511
|
+
(oas-body-name): updateInterestTagData
|
|
512
|
+
post:
|
|
513
|
+
description: API to create interest tag.
|
|
514
|
+
responses:
|
|
515
|
+
'200':
|
|
516
|
+
description: Success
|
|
517
|
+
body:
|
|
518
|
+
application/json:
|
|
519
|
+
type: InterestTagCreateCollectionOutputRepresentation
|
|
520
|
+
body:
|
|
521
|
+
application/json:
|
|
522
|
+
type: InterestTagCreateInputListRepresentation
|
|
523
|
+
# TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
|
|
524
|
+
#required: false
|
|
525
|
+
(oas-body-name): createInterestTagData
|
|
526
|
+
uriParameters:
|
|
527
|
+
tagId:
|
|
528
|
+
type: string
|
|
529
|
+
required: true
|
|
@@ -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): 'interesttagging'
|
|
8
|
+
(luvio.ttl): 360000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
InterestTagListRepresentation:
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
(luvio.ttl): 10000
|
|
14
|
+
InterestTagAssignmentOutputRepresentation:
|
|
15
|
+
(luvio.opaque): true
|
|
16
|
+
(luvio.ttl): 10000
|
|
17
|
+
(luvio.key):
|
|
18
|
+
errors: errors
|
|
19
|
+
isCreated: isCreated
|
|
20
|
+
isSuccess: isSuccess
|
|
21
|
+
|
|
22
|
+
/connect/interest-tags:
|
|
23
|
+
/assignments:
|
|
24
|
+
post:
|
|
25
|
+
description: assign tags to an entity or assign entities to a tag
|
|
26
|
+
(luvio.adapter):
|
|
27
|
+
name: createInterestTagEntityAssignment
|
|
28
|
+
/assignments/entity/{recordId}:
|
|
29
|
+
get:
|
|
30
|
+
(luvio.adapter):
|
|
31
|
+
name: getTagsByRecordId
|
|
32
|
+
/assignments/tag/{tagId}:
|
|
33
|
+
get:
|
|
34
|
+
(luvio.adapter):
|
|
35
|
+
name: getInterestTagEntityAssignments
|
|
36
|
+
/tags:
|
|
37
|
+
get:
|
|
38
|
+
(luvio.adapter):
|
|
39
|
+
name: getTagsByCategoryId
|
|
40
|
+
/categories:
|
|
41
|
+
get:
|
|
42
|
+
(luvio.adapter):
|
|
43
|
+
name: getTagCategoriesByTagId
|