@salesforce/lds-adapters-industries-constraints 1.308.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-constraints.js +570 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getViewConstraint.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/patchUpdateConstraint.d.ts +18 -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 +4 -0
- package/dist/es/es2018/types/src/generated/resources/getConstraintActionsViewByExpressionSetDefinitionVersionId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/patchConstraintActionsUpdateByExpressionSetDefinitionVersionId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/ConstraintErrorResponseRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ConstraintInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ConstraintOutputRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/ViewConstraintOutputRepresentation.d.ts +35 -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 +612 -0
- package/src/raml/api.raml +110 -0
- package/src/raml/luvio.raml +33 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '62.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v62.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
|
+
ConstraintErrorResponseRepresentation:
|
|
29
|
+
description: Constraint Service Error Response representation
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
errorCode:
|
|
33
|
+
description: Error Code from Constraint Service Response. For example, INVALID_INPUT_ERROR,
|
|
34
|
+
type: string
|
|
35
|
+
message:
|
|
36
|
+
description: Error message from Constraint Service Response.
|
|
37
|
+
type: string
|
|
38
|
+
ConstraintInputRepresentation:
|
|
39
|
+
description: Update Constraint Connect API input representation
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
constraintModel:
|
|
43
|
+
description: Constraint Model
|
|
44
|
+
type: string
|
|
45
|
+
description:
|
|
46
|
+
description: Constraint Model
|
|
47
|
+
type: string
|
|
48
|
+
status:
|
|
49
|
+
description: Status
|
|
50
|
+
type: string
|
|
51
|
+
enum:
|
|
52
|
+
- Active
|
|
53
|
+
- Inactive
|
|
54
|
+
ConstraintOutputRepresentation:
|
|
55
|
+
description: Update Constraint Connect API output
|
|
56
|
+
type: object
|
|
57
|
+
properties:
|
|
58
|
+
errors:
|
|
59
|
+
description: List of errors encountered during the API processing.
|
|
60
|
+
type: array
|
|
61
|
+
items:
|
|
62
|
+
type: ConstraintErrorResponseRepresentation
|
|
63
|
+
success:
|
|
64
|
+
description: API request successfully completed
|
|
65
|
+
type: boolean
|
|
66
|
+
ViewConstraintOutputRepresentation:
|
|
67
|
+
description: View Constraint Connect API output representation
|
|
68
|
+
type: object
|
|
69
|
+
properties:
|
|
70
|
+
constraintModel:
|
|
71
|
+
description: Constraint Model
|
|
72
|
+
type: string
|
|
73
|
+
description:
|
|
74
|
+
description: Constraint Description
|
|
75
|
+
type: string
|
|
76
|
+
status:
|
|
77
|
+
description: Status
|
|
78
|
+
type: string
|
|
79
|
+
/constraint/actions/{expressionSetDefinitionVersionId}:
|
|
80
|
+
/update:
|
|
81
|
+
patch:
|
|
82
|
+
displayName: patchUpdateConstraint
|
|
83
|
+
description: Update a Constraint
|
|
84
|
+
responses:
|
|
85
|
+
'200':
|
|
86
|
+
description: Success
|
|
87
|
+
body:
|
|
88
|
+
application/json:
|
|
89
|
+
type: ConstraintOutputRepresentation
|
|
90
|
+
body:
|
|
91
|
+
application/json:
|
|
92
|
+
type: ConstraintInputRepresentation
|
|
93
|
+
(oas-body-name): constraintInput
|
|
94
|
+
uriParameters:
|
|
95
|
+
expressionSetDefinitionVersionId:
|
|
96
|
+
type: string
|
|
97
|
+
/view:
|
|
98
|
+
get:
|
|
99
|
+
displayName: getViewConstraint
|
|
100
|
+
description: Get constraint model
|
|
101
|
+
responses:
|
|
102
|
+
'200':
|
|
103
|
+
description: Success
|
|
104
|
+
body:
|
|
105
|
+
application/json:
|
|
106
|
+
type: ViewConstraintOutputRepresentation
|
|
107
|
+
uriParameters:
|
|
108
|
+
expressionSetDefinitionVersionId:
|
|
109
|
+
type: string
|
|
110
|
+
required: true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#%RAML 1.0 Overlay
|
|
2
|
+
extends: ./api.raml
|
|
3
|
+
|
|
4
|
+
uses:
|
|
5
|
+
luvio: luvio://annotations.raml
|
|
6
|
+
|
|
7
|
+
(luvio.keyPrefix): 'constraints'
|
|
8
|
+
(luvio.ttl): 1000
|
|
9
|
+
|
|
10
|
+
types:
|
|
11
|
+
ConstraintErrorResponseRepresentation:
|
|
12
|
+
(luvio.ttl): 1000
|
|
13
|
+
(luvio.opaque): true
|
|
14
|
+
ConstraintOutputRepresentation:
|
|
15
|
+
(luvio.ttl): 1000
|
|
16
|
+
(luvio.key):
|
|
17
|
+
success: success
|
|
18
|
+
ViewConstraintOutputRepresentation:
|
|
19
|
+
(luvio.ttl): 1000
|
|
20
|
+
(luvio.opaque): true
|
|
21
|
+
/constraint/actions/{expressionSetDefinitionVersionId}:
|
|
22
|
+
/update:
|
|
23
|
+
patch:
|
|
24
|
+
(luvio.adapter):
|
|
25
|
+
name: patchUpdateConstraint
|
|
26
|
+
uriParameters:
|
|
27
|
+
expressionSetDefinitionVersionId:
|
|
28
|
+
/view:
|
|
29
|
+
get:
|
|
30
|
+
(luvio.adapter):
|
|
31
|
+
name: getViewConstraint
|
|
32
|
+
uriParameters:
|
|
33
|
+
expressionSetDefinitionVersionId:
|