@salesforce/lds-adapters-service-data-category 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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/service-data-category.js +617 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getCategoryGroups.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectDataCategoryCategoryGroup.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/DataCategoryGroupCollectionRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataCategoryGroupRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/DataCategoryRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +74 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +648 -0
- package/src/raml/api.raml +83 -0
- package/src/raml/luvio.raml +14 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '59.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
|
+
DataCategoryGroupCollectionRepresentation:
|
|
29
|
+
description: Data Category Group Collection Representation
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
dataCategoryGroups:
|
|
33
|
+
description: Collection of Data Category Groups
|
|
34
|
+
type: array
|
|
35
|
+
items:
|
|
36
|
+
type: DataCategoryGroupRepresentation
|
|
37
|
+
DataCategoryGroupRepresentation:
|
|
38
|
+
description: Data Category Group Representation
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
categoryGroupName:
|
|
42
|
+
description: Developer Name of the Data Category Group
|
|
43
|
+
type: string
|
|
44
|
+
description:
|
|
45
|
+
description: Description of the Data Category Group
|
|
46
|
+
type: string | nil
|
|
47
|
+
required: false
|
|
48
|
+
label:
|
|
49
|
+
description: Label of the Data Category Group
|
|
50
|
+
type: string | nil
|
|
51
|
+
required: false
|
|
52
|
+
rootCategory:
|
|
53
|
+
description: Root Category of the Data Category Group
|
|
54
|
+
type: DataCategoryRepresentation | nil
|
|
55
|
+
required: false
|
|
56
|
+
DataCategoryRepresentation:
|
|
57
|
+
description: Data Category Representation
|
|
58
|
+
type: object
|
|
59
|
+
properties:
|
|
60
|
+
categoryName:
|
|
61
|
+
description: Developer Name of the Data Category
|
|
62
|
+
type: string | nil
|
|
63
|
+
required: false
|
|
64
|
+
childCategories:
|
|
65
|
+
description: List of child data categories
|
|
66
|
+
type: array
|
|
67
|
+
items:
|
|
68
|
+
type: any # This is a workaround because recursive (tree) representations aren't supported in Luvio, even though they're supported in Connect API
|
|
69
|
+
label:
|
|
70
|
+
description: Label of the Data Category
|
|
71
|
+
type: string | nil
|
|
72
|
+
required: false
|
|
73
|
+
/connect:
|
|
74
|
+
/data-category/category-group:
|
|
75
|
+
get:
|
|
76
|
+
displayName: getCategoryGroups
|
|
77
|
+
description: Returns all active data category groups and their child categories
|
|
78
|
+
responses:
|
|
79
|
+
'200':
|
|
80
|
+
description: Success
|
|
81
|
+
body:
|
|
82
|
+
application/json:
|
|
83
|
+
type: DataCategoryGroupCollectionRepresentation
|