@salesforce/lds-adapters-industries-interesttagging 0.1.0-dev1

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.
Files changed (54) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-interesttagging.js +1694 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createInterestTagEntityAssignment.d.ts +22 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createInterestTagsAndCategories.d.ts +16 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getInterestTagEntityAssignments.d.ts +31 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getTagCategoriesByTagId.d.ts +31 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getTagsByCategoryId.d.ts +31 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getTagsByRecordId.d.ts +31 -0
  10. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +6 -0
  11. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +11 -0
  12. package/dist/es/es2018/types/src/generated/resources/deleteConnectInterestTagsTags.d.ts +11 -0
  13. package/dist/es/es2018/types/src/generated/resources/deleteConnectInterestTagsTagsByTagId.d.ts +14 -0
  14. package/dist/es/es2018/types/src/generated/resources/getConnectInterestTagsAssignments.d.ts +18 -0
  15. package/dist/es/es2018/types/src/generated/resources/getConnectInterestTagsAssignmentsEntityByRecordId.d.ts +21 -0
  16. package/dist/es/es2018/types/src/generated/resources/getConnectInterestTagsAssignmentsTagByTagId.d.ts +21 -0
  17. package/dist/es/es2018/types/src/generated/resources/getConnectInterestTagsCategories.d.ts +19 -0
  18. package/dist/es/es2018/types/src/generated/resources/getConnectInterestTagsTags.d.ts +19 -0
  19. package/dist/es/es2018/types/src/generated/resources/getConnectInterestTagsTagsByTagId.d.ts +22 -0
  20. package/dist/es/es2018/types/src/generated/resources/patchConnectInterestTagsTags.d.ts +12 -0
  21. package/dist/es/es2018/types/src/generated/resources/patchConnectInterestTagsTagsByTagId.d.ts +15 -0
  22. package/dist/es/es2018/types/src/generated/resources/postConnectInterestTagsAssignments.d.ts +19 -0
  23. package/dist/es/es2018/types/src/generated/resources/postConnectInterestTagsAssignmentsTagByTagId.d.ts +22 -0
  24. package/dist/es/es2018/types/src/generated/resources/postConnectInterestTagsTagsAndCategories.d.ts +13 -0
  25. package/dist/es/es2018/types/src/generated/types/CategoryCreatedResult.d.ts +31 -0
  26. package/dist/es/es2018/types/src/generated/types/InterestTagAndCategoryCreateInputRepresentation.d.ts +29 -0
  27. package/dist/es/es2018/types/src/generated/types/InterestTagAndCategoryCreateOutputRepresentation.d.ts +50 -0
  28. package/dist/es/es2018/types/src/generated/types/InterestTagAndCategoryErrorOutputRepresentation.d.ts +31 -0
  29. package/dist/es/es2018/types/src/generated/types/InterestTagAndCategoryItemInputRepresentation.d.ts +41 -0
  30. package/dist/es/es2018/types/src/generated/types/InterestTagAssignmentInputRepresentation.d.ts +43 -0
  31. package/dist/es/es2018/types/src/generated/types/InterestTagAssignmentOutputRepresentation.d.ts +50 -0
  32. package/dist/es/es2018/types/src/generated/types/InterestTagCreateCollectionOutputRepresentation.d.ts +29 -0
  33. package/dist/es/es2018/types/src/generated/types/InterestTagCreateInputListRepresentation.d.ts +28 -0
  34. package/dist/es/es2018/types/src/generated/types/InterestTagCreateInputRepresentation.d.ts +37 -0
  35. package/dist/es/es2018/types/src/generated/types/InterestTagCreateResult.d.ts +37 -0
  36. package/dist/es/es2018/types/src/generated/types/InterestTagItemInputRepresentation.d.ts +37 -0
  37. package/dist/es/es2018/types/src/generated/types/InterestTagListRepresentation.d.ts +30 -0
  38. package/dist/es/es2018/types/src/generated/types/InterestTagRepresentation.d.ts +38 -0
  39. package/dist/es/es2018/types/src/generated/types/InterestTagUpdateInputRepresentation.d.ts +37 -0
  40. package/dist/es/es2018/types/src/generated/types/InterestTagUpdateOutputRepresentation.d.ts +31 -0
  41. package/dist/es/es2018/types/src/generated/types/RecordsForTag.d.ts +31 -0
  42. package/dist/es/es2018/types/src/generated/types/TagCategoryListRepresentation.d.ts +29 -0
  43. package/dist/es/es2018/types/src/generated/types/TagCategoryRepresentation.d.ts +34 -0
  44. package/dist/es/es2018/types/src/generated/types/TagCategoryWithParentRepresentation.d.ts +43 -0
  45. package/dist/es/es2018/types/src/generated/types/TagCreatedOutputRepresentation.d.ts +31 -0
  46. package/dist/es/es2018/types/src/generated/types/TagRecordAssignment.d.ts +37 -0
  47. package/dist/es/es2018/types/src/generated/types/TagRecordAssignmentCollectionRepresentation.d.ts +29 -0
  48. package/dist/es/es2018/types/src/generated/types/TagsForRecord.d.ts +31 -0
  49. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  50. package/package.json +75 -0
  51. package/sfdc/index.d.ts +1 -0
  52. package/sfdc/index.js +1775 -0
  53. package/src/raml/api.raml +659 -0
  54. package/src/raml/luvio.raml +53 -0
@@ -0,0 +1,659 @@
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/v66.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
+ CategoryCreatedResult:
269
+ description: Category created result representation
270
+ type: object
271
+ properties:
272
+ id:
273
+ description: ID of the category that was created
274
+ type: string
275
+ name:
276
+ description: Name of the category that was created
277
+ type: string
278
+ InterestTagAndCategoryCreateInputRepresentation:
279
+ description: Interest Tags and Categories create input
280
+ type: object
281
+ properties:
282
+ interestTags:
283
+ description: List of Interest tags and categories to be created
284
+ type: array
285
+ items:
286
+ type: InterestTagAndCategoryItemInputRepresentation
287
+ InterestTagAndCategoryCreateOutputRepresentation:
288
+ description: Output representation for interest tag and category creation.
289
+ type: object
290
+ properties:
291
+ categories:
292
+ description: List of categories that were created
293
+ type: array
294
+ items:
295
+ type: CategoryCreatedResult
296
+ errors:
297
+ description: List of errors that occurred during processing
298
+ type: array
299
+ items:
300
+ type: InterestTagAndCategoryErrorOutputRepresentation
301
+ isSuccess:
302
+ description: Indicates whether the operation was successful (true when no
303
+ errors, false when errors are present)
304
+ type: boolean
305
+ tags:
306
+ description: List of tags that were created
307
+ type: array
308
+ items:
309
+ type: TagCreatedOutputRepresentation
310
+ InterestTagAndCategoryErrorOutputRepresentation:
311
+ description: Interest tag and category error output representation
312
+ type: object
313
+ properties:
314
+ message:
315
+ description: Error message describing what went wrong
316
+ type: string
317
+ type:
318
+ description: Type of error that occurred (TagCreation, CategoryCreation,
319
+ TagAndCategoryAssociation, TagAndRecordAssociation)
320
+ type: string
321
+ enum:
322
+ - CategoryCreation
323
+ - TagAndCategoryAssociation
324
+ - TagAndRecordAssociation
325
+ - TagCreation
326
+ InterestTagAndCategoryItemInputRepresentation:
327
+ description: Interest Tag and Category item input
328
+ type: object
329
+ properties:
330
+ categoryDescription:
331
+ description: Description of the category
332
+ type: string
333
+ required: false
334
+ categoryIcon:
335
+ description: Icon of the category
336
+ type: string
337
+ required: false
338
+ categoryId:
339
+ description: ID of the category
340
+ type: string
341
+ required: false
342
+ categoryName:
343
+ description: Name of the category
344
+ type: string
345
+ required: false
346
+ tags:
347
+ description: List of tags associated with this category
348
+ type: array
349
+ items:
350
+ type: InterestTagItemInputRepresentation
351
+ TagCreatedOutputRepresentation:
352
+ description: Tag created result representation
353
+ type: object
354
+ properties:
355
+ id:
356
+ description: ID of the tag that was created
357
+ type: string
358
+ name:
359
+ description: Name of the tag that was created
360
+ type: string
361
+ InterestTagItemInputRepresentation:
362
+ description: Interest Tag item input
363
+ type: object
364
+ properties:
365
+ recordId:
366
+ description: ID of the record to associate with the tag
367
+ type: string
368
+ required: false
369
+ tagDescription:
370
+ description: Description of the tag
371
+ type: string
372
+ required: false
373
+ tagId:
374
+ description: ID of the tag
375
+ type: string
376
+ required: false
377
+ tagName:
378
+ description: Name of the tag
379
+ type: string
380
+ required: false
381
+
382
+ /connect/interest-tags:
383
+ /assignments:
384
+ get:
385
+ description: API to get record assignments for a tag.
386
+ responses:
387
+ '200':
388
+ description: Success
389
+ body:
390
+ application/json:
391
+ type: TagRecordAssignmentCollectionRepresentation
392
+ queryParameters:
393
+ limit:
394
+ type: integer
395
+ required: false
396
+ offset:
397
+ type: integer
398
+ required: false
399
+ orderBy:
400
+ type: string
401
+ required: false
402
+ sort:
403
+ type: string
404
+ required: false
405
+ post:
406
+ description: API to create tag record assignment.
407
+ responses:
408
+ '200':
409
+ description: Success
410
+ body:
411
+ application/json:
412
+ type: InterestTagAssignmentOutputRepresentation
413
+ body:
414
+ application/json:
415
+ type: InterestTagAssignmentInputRepresentation
416
+ # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
417
+ #required: false
418
+ (oas-body-name): createInterestTagEntityAssignmentData
419
+ /entity/{recordId}:
420
+ get:
421
+ description: Get a list of tags assigned to the given record.
422
+ responses:
423
+ '200':
424
+ description: Success
425
+ body:
426
+ application/json:
427
+ type: InterestTagListRepresentation
428
+ queryParameters:
429
+ limit:
430
+ type: integer
431
+ required: false
432
+ offset:
433
+ type: integer
434
+ required: false
435
+ orderBy:
436
+ type: string
437
+ required: false
438
+ sort:
439
+ type: string
440
+ required: false
441
+ uriParameters:
442
+ recordId:
443
+ type: string
444
+ required: true
445
+ /tag/{tagId}:
446
+ get:
447
+ description: API to get record assignments for a tag.
448
+ responses:
449
+ '200':
450
+ description: Success
451
+ body:
452
+ application/json:
453
+ type: TagRecordAssignmentCollectionRepresentation
454
+ queryParameters:
455
+ limit:
456
+ type: integer
457
+ required: false
458
+ offset:
459
+ type: integer
460
+ required: false
461
+ orderBy:
462
+ type: string
463
+ required: false
464
+ sort:
465
+ type: string
466
+ required: false
467
+ post:
468
+ description: API to create tag record assignment.
469
+ responses:
470
+ '200':
471
+ description: Success
472
+ body:
473
+ application/json:
474
+ type: InterestTagAssignmentOutputRepresentation
475
+ body:
476
+ application/json:
477
+ type: InterestTagAssignmentInputRepresentation
478
+ # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
479
+ #required: false
480
+ (oas-body-name): createInterestTagEntityAssignmentData
481
+ uriParameters:
482
+ tagId:
483
+ type: string
484
+ required: true
485
+ /categories:
486
+ get:
487
+ description: Get a list of tag categories assigned to an interest tag.
488
+ responses:
489
+ '200':
490
+ description: Success
491
+ body:
492
+ application/json:
493
+ type: TagCategoryListRepresentation
494
+ queryParameters:
495
+ limit:
496
+ type: integer
497
+ required: false
498
+ offset:
499
+ type: integer
500
+ required: false
501
+ orderBy:
502
+ type: string
503
+ required: false
504
+ sort:
505
+ type: string
506
+ required: false
507
+ tagId:
508
+ type: string
509
+ required: false
510
+ /tags:
511
+ delete:
512
+ description: API to delete interest tags by Ids.
513
+ responses:
514
+ '200':
515
+ description: Success
516
+ queryParameters:
517
+ tagIds:
518
+ type: array
519
+ required: false
520
+ items:
521
+ type: string
522
+ (oas-collectionFormat): csv
523
+ get:
524
+ description: Get a list of tags assigned to the given category.
525
+ responses:
526
+ '200':
527
+ description: Success
528
+ body:
529
+ application/json:
530
+ type: InterestTagListRepresentation
531
+ queryParameters:
532
+ categoryId:
533
+ type: string
534
+ required: false
535
+ limit:
536
+ type: integer
537
+ required: false
538
+ offset:
539
+ type: integer
540
+ required: false
541
+ orderBy:
542
+ type: string
543
+ required: false
544
+ sort:
545
+ type: string
546
+ required: false
547
+ patch:
548
+ description: API to update an interest tag.
549
+ responses:
550
+ '200':
551
+ description: Success
552
+ body:
553
+ application/json:
554
+ type: InterestTagUpdateOutputRepresentation
555
+ body:
556
+ application/json:
557
+ type: InterestTagUpdateInputRepresentation
558
+ # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
559
+ #required: false
560
+ (oas-body-name): updateInterestTagData
561
+ # TODO: Hand rolled
562
+ # post:
563
+ # description: API to create interest tag.
564
+ # responses:
565
+ # '200':
566
+ # description: Success
567
+ # body:
568
+ # application/json:
569
+ # type: InterestTagCreateCollectionOutputRepresentation
570
+ # body:
571
+ # application/json:
572
+ # type: InterestTagCreateInputListRepresentation
573
+ # # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
574
+ # #required: false
575
+ # (oas-body-name): createInterestTagData
576
+ /tags/{tagId}:
577
+ delete:
578
+ description: API to delete interest tags by Ids.
579
+ responses:
580
+ '200':
581
+ description: Success
582
+ queryParameters:
583
+ tagIds:
584
+ type: array
585
+ required: false
586
+ items:
587
+ type: string
588
+ (oas-collectionFormat): csv
589
+ get:
590
+ description: Get a list of tags assigned to the given category.
591
+ responses:
592
+ '200':
593
+ description: Success
594
+ body:
595
+ application/json:
596
+ type: InterestTagListRepresentation
597
+ queryParameters:
598
+ categoryId:
599
+ type: string
600
+ required: false
601
+ limit:
602
+ type: integer
603
+ required: false
604
+ offset:
605
+ type: integer
606
+ required: false
607
+ orderBy:
608
+ type: string
609
+ required: false
610
+ sort:
611
+ type: string
612
+ required: false
613
+ patch:
614
+ description: API to update an interest tag.
615
+ responses:
616
+ '200':
617
+ description: Success
618
+ body:
619
+ application/json:
620
+ type: InterestTagUpdateOutputRepresentation
621
+ body:
622
+ application/json:
623
+ type: InterestTagUpdateInputRepresentation
624
+ # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
625
+ #required: false
626
+ (oas-body-name): updateInterestTagData
627
+ # TODO: Hand rolled
628
+ # post:
629
+ # description: API to create interest tag.
630
+ # responses:
631
+ # '200':
632
+ # description: Success
633
+ # body:
634
+ # application/json:
635
+ # type: InterestTagCreateCollectionOutputRepresentation
636
+ # body:
637
+ # application/json:
638
+ # type: InterestTagCreateInputListRepresentation
639
+ # # TODO: Hand-rolled W-8334626 due to issue #22 in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
640
+ # #required: false
641
+ # (oas-body-name): createInterestTagData
642
+ uriParameters:
643
+ tagId:
644
+ type: string
645
+ required: true
646
+ /tags-and-categories:
647
+ post:
648
+ displayName: postInterestTagAndCategory
649
+ description: API to create interest tags and categories together.
650
+ responses:
651
+ '200':
652
+ description: Success
653
+ body:
654
+ application/json:
655
+ type: InterestTagAndCategoryCreateOutputRepresentation
656
+ body:
657
+ application/json:
658
+ type: InterestTagAndCategoryCreateInputRepresentation
659
+ (oas-body-name): createInterestTagAndCategoryData
@@ -0,0 +1,53 @@
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
+ InterestTagAndCategoryCreateOutputRepresentation:
22
+ (luvio.opaque): true
23
+ (luvio.ttl): 10000
24
+ (luvio.key):
25
+ isSuccess: isSuccess
26
+
27
+ /connect/interest-tags:
28
+ /assignments:
29
+ post:
30
+ description: assign tags to an entity or assign entities to a tag
31
+ (luvio.adapter):
32
+ name: createInterestTagEntityAssignment
33
+ /assignments/entity/{recordId}:
34
+ get:
35
+ (luvio.adapter):
36
+ name: getTagsByRecordId
37
+ /assignments/tag/{tagId}:
38
+ get:
39
+ (luvio.adapter):
40
+ name: getInterestTagEntityAssignments
41
+ /tags:
42
+ get:
43
+ (luvio.adapter):
44
+ name: getTagsByCategoryId
45
+ /categories:
46
+ get:
47
+ (luvio.adapter):
48
+ name: getTagCategoriesByTagId
49
+ /tags-and-categories:
50
+ post:
51
+ description: create interest tags and categories together
52
+ (luvio.adapter):
53
+ name: createInterestTagsAndCategories