@salesforce/lds-adapters-industries-serviceprocess 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/industries-serviceprocess.js +662 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/fetchServiceProcessDefinition.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getCaseServiceProcessLayoutData.d.ts +28 -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 +5 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceExcellenceServiceCatalogRequestLayoutDataCaseById.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceExcellenceServiceProcessDefinition.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/AttributeRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/GenericObjectOutput.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessDefinitionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessDependencyDetails.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessRequestLayoutDataRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SvcCatalogItemGroupRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +71 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +712 -0
- package/src/raml/api.raml +163 -0
- package/src/raml/luvio.raml +26 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '58.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
|
+
AttributeRepresentation:
|
|
29
|
+
description: Service process attribute representation
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
apiName:
|
|
33
|
+
description: svc catalog item attribute api name
|
|
34
|
+
type: string
|
|
35
|
+
attributeId:
|
|
36
|
+
description: svc catalog item attribute id
|
|
37
|
+
type: string
|
|
38
|
+
attributeName:
|
|
39
|
+
description: svc catalog item attribute name
|
|
40
|
+
type: string
|
|
41
|
+
childAttributes:
|
|
42
|
+
description: svc catalog item attribute's child attributes
|
|
43
|
+
type: array
|
|
44
|
+
items:
|
|
45
|
+
type: AttributeRepresentation
|
|
46
|
+
dataType:
|
|
47
|
+
description: svc catalog item attribute data type
|
|
48
|
+
type: string
|
|
49
|
+
sortOrder:
|
|
50
|
+
description: svc catalog item attribute order
|
|
51
|
+
type: string
|
|
52
|
+
GenericObjectOutput:
|
|
53
|
+
description: Generic attributes value object
|
|
54
|
+
type: object
|
|
55
|
+
properties:
|
|
56
|
+
value:
|
|
57
|
+
description: Value
|
|
58
|
+
type: any
|
|
59
|
+
ServiceProcessDefinitionRepresentation:
|
|
60
|
+
description: Service Process Definition representation
|
|
61
|
+
type: object
|
|
62
|
+
properties:
|
|
63
|
+
attributes:
|
|
64
|
+
description: get service process attributes
|
|
65
|
+
type: array
|
|
66
|
+
items:
|
|
67
|
+
type: AttributeRepresentation
|
|
68
|
+
serviceProcessDefinitionMap:
|
|
69
|
+
description: service process dependency details
|
|
70
|
+
type: object
|
|
71
|
+
properties:
|
|
72
|
+
//:
|
|
73
|
+
type: array
|
|
74
|
+
items:
|
|
75
|
+
type: ServiceProcessDependencyDetails
|
|
76
|
+
ServiceProcessDependencyDetails:
|
|
77
|
+
description: Service catalog Dependency representation
|
|
78
|
+
type: object
|
|
79
|
+
properties:
|
|
80
|
+
details:
|
|
81
|
+
description: service process dependency details
|
|
82
|
+
type: GenericObjectOutput
|
|
83
|
+
type:
|
|
84
|
+
description: service process dependency type
|
|
85
|
+
type: string
|
|
86
|
+
ServiceProcessRequestLayoutDataRepresentation:
|
|
87
|
+
description: Service process layout data output representation
|
|
88
|
+
type: object
|
|
89
|
+
properties:
|
|
90
|
+
data:
|
|
91
|
+
description: svc catalog request
|
|
92
|
+
type: object
|
|
93
|
+
properties:
|
|
94
|
+
//:
|
|
95
|
+
type: GenericObjectOutput
|
|
96
|
+
groups:
|
|
97
|
+
description: svc catalog item groups
|
|
98
|
+
type: array
|
|
99
|
+
items:
|
|
100
|
+
type: SvcCatalogItemGroupRepresentation
|
|
101
|
+
SvcCatalogItemGroupRepresentation:
|
|
102
|
+
description: Service process group representation
|
|
103
|
+
type: object
|
|
104
|
+
properties:
|
|
105
|
+
apiName:
|
|
106
|
+
description: svc catalog item group api name
|
|
107
|
+
type: string
|
|
108
|
+
attributes:
|
|
109
|
+
description: svc catalog item group attributes
|
|
110
|
+
type: array
|
|
111
|
+
items:
|
|
112
|
+
type: AttributeRepresentation
|
|
113
|
+
groupId:
|
|
114
|
+
description: svc catalog item group id
|
|
115
|
+
type: string
|
|
116
|
+
groupName:
|
|
117
|
+
description: svc catalog item group name
|
|
118
|
+
type: string
|
|
119
|
+
sortOrder:
|
|
120
|
+
description: svc catalog item group order
|
|
121
|
+
type: string
|
|
122
|
+
|
|
123
|
+
/connect/service-excellence:
|
|
124
|
+
/service-process-definition:
|
|
125
|
+
get:
|
|
126
|
+
displayName: fetchServiceProcessDefinition
|
|
127
|
+
description: get service process definition
|
|
128
|
+
responses:
|
|
129
|
+
'200':
|
|
130
|
+
description: Success
|
|
131
|
+
body:
|
|
132
|
+
application/json:
|
|
133
|
+
type: ServiceProcessDefinitionRepresentation
|
|
134
|
+
queryParameters:
|
|
135
|
+
includeAttributes:
|
|
136
|
+
type: boolean
|
|
137
|
+
required: false
|
|
138
|
+
productId:
|
|
139
|
+
type: string
|
|
140
|
+
required: false
|
|
141
|
+
serviceProcessDefinitionId:
|
|
142
|
+
type: string
|
|
143
|
+
required: false
|
|
144
|
+
/service-catalog-request:
|
|
145
|
+
/layout-data/case/{Id}:
|
|
146
|
+
get:
|
|
147
|
+
displayName: getServiceProcessLayoutData
|
|
148
|
+
description: get svc catalog request layout data
|
|
149
|
+
responses:
|
|
150
|
+
'200':
|
|
151
|
+
description: Success
|
|
152
|
+
body:
|
|
153
|
+
application/json:
|
|
154
|
+
type: ServiceProcessRequestLayoutDataRepresentation
|
|
155
|
+
queryParameters:
|
|
156
|
+
showLookupAttributeDetails:
|
|
157
|
+
type: boolean
|
|
158
|
+
required: false
|
|
159
|
+
default: false
|
|
160
|
+
uriParameters:
|
|
161
|
+
Id:
|
|
162
|
+
type: string
|
|
163
|
+
required: true
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'serviceprocess'
|
|
8
|
+
(luvio.ttl): 360000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
ServiceProcessRequestLayoutDataRepresentation:
|
|
12
|
+
(luvio.ttl): 60000
|
|
13
|
+
(luvio.opaque): true
|
|
14
|
+
ServiceProcessDefinitionRepresentation:
|
|
15
|
+
(luvio.opaque): true
|
|
16
|
+
(luvio.ttl): 300000
|
|
17
|
+
|
|
18
|
+
/connect/service-excellence:
|
|
19
|
+
/service-catalog-request/layout-data/case/{Id}:
|
|
20
|
+
get:
|
|
21
|
+
(luvio.adapter):
|
|
22
|
+
name: getCaseServiceProcessLayoutData
|
|
23
|
+
/service-process-definition:
|
|
24
|
+
get:
|
|
25
|
+
(luvio.adapter):
|
|
26
|
+
name: fetchServiceProcessDefinition
|