@salesforce/lds-adapters-industries-energy-utilities 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-energy-utilities.js +475 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getProgramApplications.d.ts +36 -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/getConnectEuProgramApplications.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/types/IndividualApplicationObjectOutputRepresentation.d.ts +92 -0
- package/dist/es/es2018/types/src/generated/types/IndividualApplicationStatusOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeListInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProgramIndividualApplicationOutputRepresentation.d.ts +37 -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 +510 -0
- package/src/raml/api.raml +199 -0
- package/src/raml/luvio.raml +26 -0
|
@@ -0,0 +1,199 @@
|
|
|
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/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
|
+
IndividualApplicationObjectOutputRepresentation:
|
|
29
|
+
description: Output Representation of Individual Application Object
|
|
30
|
+
type: object
|
|
31
|
+
properties:
|
|
32
|
+
accountId:
|
|
33
|
+
description: The account Id of Individual Application.
|
|
34
|
+
type: string
|
|
35
|
+
required: false
|
|
36
|
+
accountName:
|
|
37
|
+
description: The account Name of Individual Application.
|
|
38
|
+
type: string
|
|
39
|
+
required: false
|
|
40
|
+
applicationName:
|
|
41
|
+
description: The name of the application.
|
|
42
|
+
type: string
|
|
43
|
+
required: false
|
|
44
|
+
applicationType:
|
|
45
|
+
description: The type of application.
|
|
46
|
+
type: string
|
|
47
|
+
required: false
|
|
48
|
+
appliedDate:
|
|
49
|
+
description: The applied date of application.
|
|
50
|
+
type: string
|
|
51
|
+
required: false
|
|
52
|
+
approvedDate:
|
|
53
|
+
description: The approved date of application.
|
|
54
|
+
type: string
|
|
55
|
+
required: false
|
|
56
|
+
category:
|
|
57
|
+
description: The category of application.
|
|
58
|
+
type: string
|
|
59
|
+
required: false
|
|
60
|
+
description:
|
|
61
|
+
description: The description of Individual Application.
|
|
62
|
+
type: string
|
|
63
|
+
required: false
|
|
64
|
+
externalProject:
|
|
65
|
+
description: The external project associated with the application.
|
|
66
|
+
type: string
|
|
67
|
+
required: false
|
|
68
|
+
id:
|
|
69
|
+
description: The unique Id for Individual Application.
|
|
70
|
+
type: string
|
|
71
|
+
isSubmittedByThirdParty:
|
|
72
|
+
description: Indicates whether the application was submitted by a third party
|
|
73
|
+
type: boolean
|
|
74
|
+
required: false
|
|
75
|
+
locationId:
|
|
76
|
+
description: The location for which the application has been applied.
|
|
77
|
+
type: string
|
|
78
|
+
required: false
|
|
79
|
+
parentApplicationId:
|
|
80
|
+
description: The parent application associated with the application.
|
|
81
|
+
type: string
|
|
82
|
+
required: false
|
|
83
|
+
programId:
|
|
84
|
+
description: The program of the applied application.
|
|
85
|
+
type: string
|
|
86
|
+
required: false
|
|
87
|
+
rejectionReason:
|
|
88
|
+
description: The reason the application was rejected.
|
|
89
|
+
type: string
|
|
90
|
+
required: false
|
|
91
|
+
status:
|
|
92
|
+
description: The status of application.
|
|
93
|
+
type: string
|
|
94
|
+
required: false
|
|
95
|
+
submittedByAccountId:
|
|
96
|
+
description: The account ID of the user who submitted the application.
|
|
97
|
+
type: string
|
|
98
|
+
required: false
|
|
99
|
+
submittedByContactId:
|
|
100
|
+
description: The contact Id of the user who submitted the application.
|
|
101
|
+
type: string
|
|
102
|
+
required: false
|
|
103
|
+
wasReturned:
|
|
104
|
+
description: Indicates whether the application was returned.
|
|
105
|
+
type: boolean
|
|
106
|
+
required: false
|
|
107
|
+
IndividualApplicationStatusOutputRepresentation:
|
|
108
|
+
description: Output Representation of Aggregated Status Object
|
|
109
|
+
type: object
|
|
110
|
+
properties:
|
|
111
|
+
status:
|
|
112
|
+
description: The name of the status of Individual Applications.
|
|
113
|
+
type: string
|
|
114
|
+
value:
|
|
115
|
+
description: The number of applications for a status.
|
|
116
|
+
type: integer
|
|
117
|
+
ProductAttributeInputRepresentation:
|
|
118
|
+
description: Input representation of the product attribute
|
|
119
|
+
type: object
|
|
120
|
+
properties:
|
|
121
|
+
attributeDefinitionId:
|
|
122
|
+
description: Attribute Definition record Id
|
|
123
|
+
type: string
|
|
124
|
+
attributePicklistValueId:
|
|
125
|
+
description: Attribute Picklist value Id
|
|
126
|
+
type: string
|
|
127
|
+
attributeValue:
|
|
128
|
+
description: Valid value of the Attribute
|
|
129
|
+
type: string
|
|
130
|
+
ProductAttributeListInputRepresentation:
|
|
131
|
+
description: Input representation of the list of attribute associated with the
|
|
132
|
+
Product
|
|
133
|
+
type: object
|
|
134
|
+
properties:
|
|
135
|
+
records:
|
|
136
|
+
description: Sets the ProductAttributeInputRepresentation records
|
|
137
|
+
type: array
|
|
138
|
+
items:
|
|
139
|
+
type: object
|
|
140
|
+
ProgramIndividualApplicationOutputRepresentation:
|
|
141
|
+
description: Output Representation of applications
|
|
142
|
+
type: object
|
|
143
|
+
properties:
|
|
144
|
+
aggregateByStatus:
|
|
145
|
+
description: The number of applications in each status.
|
|
146
|
+
type: array
|
|
147
|
+
required: false
|
|
148
|
+
items:
|
|
149
|
+
type: IndividualApplicationStatusOutputRepresentation
|
|
150
|
+
applications:
|
|
151
|
+
description: The applications for a program/account
|
|
152
|
+
type: array
|
|
153
|
+
items:
|
|
154
|
+
type: IndividualApplicationObjectOutputRepresentation
|
|
155
|
+
totalCount:
|
|
156
|
+
description: The total number of applications.
|
|
157
|
+
type: integer
|
|
158
|
+
/connect/eu-program:
|
|
159
|
+
/applications:
|
|
160
|
+
get:
|
|
161
|
+
displayName: getProgramApplication
|
|
162
|
+
description: Returns a list of Individual Applications.
|
|
163
|
+
responses:
|
|
164
|
+
'200':
|
|
165
|
+
description: Success
|
|
166
|
+
body:
|
|
167
|
+
application/json:
|
|
168
|
+
type: ProgramIndividualApplicationOutputRepresentation
|
|
169
|
+
queryParameters:
|
|
170
|
+
accountId:
|
|
171
|
+
type: string
|
|
172
|
+
required: false
|
|
173
|
+
enrolleeType:
|
|
174
|
+
type: string
|
|
175
|
+
required: false
|
|
176
|
+
locationId:
|
|
177
|
+
type: string
|
|
178
|
+
required: false
|
|
179
|
+
offset:
|
|
180
|
+
type: integer
|
|
181
|
+
required: false
|
|
182
|
+
pageSize:
|
|
183
|
+
type: integer
|
|
184
|
+
required: false
|
|
185
|
+
programId:
|
|
186
|
+
type: string
|
|
187
|
+
required: false
|
|
188
|
+
shouldAggregateByStatus:
|
|
189
|
+
type: boolean
|
|
190
|
+
required: false
|
|
191
|
+
sortBy:
|
|
192
|
+
type: string
|
|
193
|
+
required: false
|
|
194
|
+
sortOrder:
|
|
195
|
+
type: string
|
|
196
|
+
required: false
|
|
197
|
+
status:
|
|
198
|
+
type: string
|
|
199
|
+
required: false
|
|
@@ -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): 'energy-utilities'
|
|
8
|
+
|
|
9
|
+
types:
|
|
10
|
+
ProgramIndividualApplicationOutputRepresentation:
|
|
11
|
+
(luvio.ttl): 10000
|
|
12
|
+
(luvio.opaque): true
|
|
13
|
+
IndividualApplicationObjectOutputRepresentation:
|
|
14
|
+
(luvio.ttl): 10000
|
|
15
|
+
(luvio.opaque): true
|
|
16
|
+
(luvio.key):
|
|
17
|
+
id: id
|
|
18
|
+
IndividualApplicationStatusOutputRepresentation:
|
|
19
|
+
(luvio.ttl): 10000
|
|
20
|
+
(luvio.opaque): true
|
|
21
|
+
|
|
22
|
+
/connect/eu-program:
|
|
23
|
+
/applications:
|
|
24
|
+
get:
|
|
25
|
+
(luvio.adapter):
|
|
26
|
+
name: getProgramApplications
|