@salesforce/lds-adapters-service-ecm 1.322.0
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-ecm.js +387 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getAllServiceAutomationDep.d.ts +30 -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/postConnectServiceAutomation.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/FilterInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAutomationDepOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAutomationDepReadInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAutomationOutputRecordRepresentation.d.ts +32 -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 +422 -0
- package/src/raml/api.raml +103 -0
- package/src/raml/luvio.raml +19 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '63.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v63.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
|
+
FilterInputRepresentation:
|
|
29
|
+
description: The query Filter input representation.
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
field:
|
|
33
|
+
description: field
|
|
34
|
+
type: string
|
|
35
|
+
operator:
|
|
36
|
+
description: operator
|
|
37
|
+
type: string
|
|
38
|
+
enum:
|
|
39
|
+
- Equals
|
|
40
|
+
- GreaterThan
|
|
41
|
+
- LessThan
|
|
42
|
+
- Like
|
|
43
|
+
- NotEquals
|
|
44
|
+
value:
|
|
45
|
+
description: value
|
|
46
|
+
type: object
|
|
47
|
+
ServiceAutomationDepOutputRepresentation:
|
|
48
|
+
description: Output Representation of Record
|
|
49
|
+
type: object
|
|
50
|
+
properties:
|
|
51
|
+
entityApiName:
|
|
52
|
+
description: Name of the entity
|
|
53
|
+
type: string
|
|
54
|
+
records:
|
|
55
|
+
description: List of records to be returned for the given entityApiName
|
|
56
|
+
type: array
|
|
57
|
+
items:
|
|
58
|
+
type: ServiceAutomationOutputRecordRepresentation
|
|
59
|
+
ServiceAutomationDepReadInputRepresentation:
|
|
60
|
+
description: 'Representation of the ServiceAutomation Input Request '
|
|
61
|
+
type: object
|
|
62
|
+
properties:
|
|
63
|
+
entityName:
|
|
64
|
+
description: The name of the entity records to be fetched
|
|
65
|
+
type: string
|
|
66
|
+
fields:
|
|
67
|
+
description: The fields to be fetched for the entity
|
|
68
|
+
type: array
|
|
69
|
+
items:
|
|
70
|
+
type: string
|
|
71
|
+
filters:
|
|
72
|
+
description: The filter to be applied while fetching records
|
|
73
|
+
type: array
|
|
74
|
+
items:
|
|
75
|
+
type: object
|
|
76
|
+
limit:
|
|
77
|
+
description: The limit to be applied while fetching records
|
|
78
|
+
type: integer
|
|
79
|
+
ServiceAutomationOutputRecordRepresentation:
|
|
80
|
+
description: Output Representation of Service Automation Record List
|
|
81
|
+
type: object
|
|
82
|
+
properties:
|
|
83
|
+
fields:
|
|
84
|
+
description: Fields Map of the record.
|
|
85
|
+
type: object
|
|
86
|
+
properties:
|
|
87
|
+
//:
|
|
88
|
+
type: object
|
|
89
|
+
/connect:
|
|
90
|
+
/service-automation:
|
|
91
|
+
post:
|
|
92
|
+
displayName: postServiceAutomation
|
|
93
|
+
description: POST Resource method to obtain Specified Class objects
|
|
94
|
+
responses:
|
|
95
|
+
'200':
|
|
96
|
+
description: Success
|
|
97
|
+
body:
|
|
98
|
+
application/json:
|
|
99
|
+
type: ServiceAutomationDepOutputRepresentation
|
|
100
|
+
body:
|
|
101
|
+
application/json:
|
|
102
|
+
type: ServiceAutomationDepReadInputRepresentation
|
|
103
|
+
(oas-body-name): ServiceAutomationDepInput
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'ecm'
|
|
8
|
+
(luvio.ttl): 360000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
ServiceAutomationDepOutputRepresentation:
|
|
12
|
+
(luvio.ttl): 6000
|
|
13
|
+
(luvio.opaque): true
|
|
14
|
+
|
|
15
|
+
/connect/service-automation:
|
|
16
|
+
post:
|
|
17
|
+
(luvio.method): get
|
|
18
|
+
(luvio.adapter):
|
|
19
|
+
name: getAllServiceAutomationDep
|