@salesforce/lds-adapters-industries-integration-orchestrator 1.284.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/industries-integration-orchestrator.js +615 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/fulfillmentContexts.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/fulfillmentSteps.d.ts +29 -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/getConnectFulfillmentContextsByRecordId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectFulfillmentStepsByRecordId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalPropertiesRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentContextsOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentContextsRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentStepsOutputRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentStepsRepresentation.d.ts +41 -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 +665 -0
- package/src/raml/api.raml +157 -0
- package/src/raml/luvio.raml +26 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
#%RAML 1.0
|
|
2
|
+
securedBy:
|
|
3
|
+
- OAuth2
|
|
4
|
+
title: Salesforce Connect API
|
|
5
|
+
version: '61.0'
|
|
6
|
+
mediaType: application/json
|
|
7
|
+
protocols:
|
|
8
|
+
- https
|
|
9
|
+
baseUri: /services/data/v61.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
|
+
AdditionalPropertiesRepresentation:
|
|
29
|
+
description: Output representation of the Additional Properties.
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
flexCardName:
|
|
33
|
+
description: Name of the flexcard defined in the Integration Definition setup
|
|
34
|
+
record.
|
|
35
|
+
type: string
|
|
36
|
+
manual:
|
|
37
|
+
description: Type of integration (manual or not). Fetched from Integration
|
|
38
|
+
Definition setup record.
|
|
39
|
+
type: boolean
|
|
40
|
+
sync:
|
|
41
|
+
description: Type of integration (sync or async). Fetched from Integration
|
|
42
|
+
Definition setup record.
|
|
43
|
+
type: boolean
|
|
44
|
+
FulfillmentContextsOutputRepresentation:
|
|
45
|
+
description: Output representation of the FulfillmentContexts connect api
|
|
46
|
+
type: object
|
|
47
|
+
properties:
|
|
48
|
+
fulfillmentContexts:
|
|
49
|
+
description: Contains list of contexts.
|
|
50
|
+
type: array
|
|
51
|
+
items:
|
|
52
|
+
type: FulfillmentContextsRepresentation
|
|
53
|
+
FulfillmentContextsRepresentation:
|
|
54
|
+
description: Output representation of the FulfillmentContexts.
|
|
55
|
+
type: object
|
|
56
|
+
properties:
|
|
57
|
+
id:
|
|
58
|
+
description: Id of the context record.
|
|
59
|
+
type: string
|
|
60
|
+
name:
|
|
61
|
+
description: Name of the context record.
|
|
62
|
+
type: string
|
|
63
|
+
objectApiName:
|
|
64
|
+
description: Object api name of the context record.
|
|
65
|
+
type: string
|
|
66
|
+
FulfillmentStepsOutputRepresentation:
|
|
67
|
+
description: Output representation of the FulfillmentSteps connect api
|
|
68
|
+
type: object
|
|
69
|
+
properties:
|
|
70
|
+
completedCount:
|
|
71
|
+
description: Count of fulfillmentSteps which have completed.
|
|
72
|
+
type: integer
|
|
73
|
+
failedCount:
|
|
74
|
+
description: Count of fulfillmentSteps which have failed.
|
|
75
|
+
type: integer
|
|
76
|
+
fatallyFailedCount:
|
|
77
|
+
description: Count of fulfillmentSteps which have fatally failed.
|
|
78
|
+
type: integer
|
|
79
|
+
fulfillmentSteps:
|
|
80
|
+
description: Contains list of Fulfillment Steps with additional properties.
|
|
81
|
+
type: array
|
|
82
|
+
items:
|
|
83
|
+
type: FulfillmentStepsRepresentation
|
|
84
|
+
inProgressCount:
|
|
85
|
+
description: Count of fulfillmentSteps which are in progress.
|
|
86
|
+
type: integer
|
|
87
|
+
pendingCount:
|
|
88
|
+
description: Count of fulfillmentSteps which are in pending state.
|
|
89
|
+
type: integer
|
|
90
|
+
readyCount:
|
|
91
|
+
description: Count of fulfillmentSteps which are in ready state.
|
|
92
|
+
type: integer
|
|
93
|
+
skippedCount:
|
|
94
|
+
description: Count of fulfillmentSteps which have been skipped.
|
|
95
|
+
type: integer
|
|
96
|
+
totalCount:
|
|
97
|
+
description: Total count of fulfillmentSteps.
|
|
98
|
+
type: integer
|
|
99
|
+
FulfillmentStepsRepresentation:
|
|
100
|
+
description: Output representation of the Fulfillment Steps.
|
|
101
|
+
type: object
|
|
102
|
+
properties:
|
|
103
|
+
additionalProperties:
|
|
104
|
+
description: Contains some additional properties.
|
|
105
|
+
type: AdditionalPropertiesRepresentation
|
|
106
|
+
id:
|
|
107
|
+
description: Id of the fulfillmentStep record.
|
|
108
|
+
type: string
|
|
109
|
+
lastModifiedDate:
|
|
110
|
+
description: LastModifiedDate of the fulfillmentStep record.
|
|
111
|
+
type: string
|
|
112
|
+
name:
|
|
113
|
+
description: Name of the fulfillmentStep record.
|
|
114
|
+
type: string
|
|
115
|
+
state:
|
|
116
|
+
description: State of the fulfillmentStep record.
|
|
117
|
+
type: string
|
|
118
|
+
/connect:
|
|
119
|
+
/fulfillmentContexts/{recordId}:
|
|
120
|
+
get:
|
|
121
|
+
displayName: getFulfillmentContexts
|
|
122
|
+
description: Fetch Fulfillment Contexts
|
|
123
|
+
responses:
|
|
124
|
+
'200':
|
|
125
|
+
description: Success
|
|
126
|
+
body:
|
|
127
|
+
application/json:
|
|
128
|
+
type: FulfillmentContextsOutputRepresentation
|
|
129
|
+
uriParameters:
|
|
130
|
+
recordId:
|
|
131
|
+
description: Record Id.
|
|
132
|
+
type: string
|
|
133
|
+
required: true
|
|
134
|
+
/fulfillmentSteps/{recordId}:
|
|
135
|
+
get:
|
|
136
|
+
displayName: getFulfillmentSteps
|
|
137
|
+
description: Fetch Fulfillment Steps
|
|
138
|
+
responses:
|
|
139
|
+
'200':
|
|
140
|
+
description: Success
|
|
141
|
+
body:
|
|
142
|
+
application/json:
|
|
143
|
+
type: FulfillmentStepsOutputRepresentation
|
|
144
|
+
queryParameters:
|
|
145
|
+
contextId:
|
|
146
|
+
description: Context Id.
|
|
147
|
+
type: string
|
|
148
|
+
required: false
|
|
149
|
+
stepType:
|
|
150
|
+
description: Step Type of the Fulfillment Step.
|
|
151
|
+
type: string
|
|
152
|
+
required: false
|
|
153
|
+
uriParameters:
|
|
154
|
+
recordId:
|
|
155
|
+
description: Record Id.
|
|
156
|
+
type: string
|
|
157
|
+
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): 'integration-orchestrator-connect-api'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
FulfillmentStepsOutputRepresentation:
|
|
11
|
+
(luvio.ttl): 10000
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
|
|
14
|
+
FulfillmentContextsOutputRepresentation:
|
|
15
|
+
(luvio.ttl): 10000
|
|
16
|
+
(luvio.opaque): true
|
|
17
|
+
|
|
18
|
+
/connect:
|
|
19
|
+
/fulfillmentContexts/{recordId}:
|
|
20
|
+
get:
|
|
21
|
+
(luvio.adapter):
|
|
22
|
+
name: fulfillmentContexts
|
|
23
|
+
/fulfillmentSteps/{recordId}:
|
|
24
|
+
get:
|
|
25
|
+
(luvio.adapter):
|
|
26
|
+
name: fulfillmentSteps
|