@salesforce/lds-adapters-service-ecm 1.322.0 → 1.324.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/dist/es/es2018/service-ecm.js +938 -5
- package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getCatalogItem.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -1
- package/dist/es/es2018/types/src/generated/resources/getConnectCatalogCatalogItemByCatalogItemId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectCatalogCatalogItemByCatalogItemId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCatalogCatalogItem.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemCreateWrapperInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemInputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +75 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateWrapperInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentFlowOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentFowInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/IntakeFormInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/IntakeFormOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PreprocessorInputRepresentation.d.ts +31 -0
- package/package.json +3 -3
- package/sfdc/index.js +1041 -44
- package/src/raml/api.raml +324 -0
- package/src/raml/luvio.raml +17 -1
package/src/raml/api.raml
CHANGED
|
@@ -86,7 +86,331 @@ types:
|
|
|
86
86
|
properties:
|
|
87
87
|
//:
|
|
88
88
|
type: object
|
|
89
|
+
CatalogItemAttributeInputRepresentation:
|
|
90
|
+
description: Input Representation for Attribute Item.
|
|
91
|
+
type: object
|
|
92
|
+
properties:
|
|
93
|
+
apiName:
|
|
94
|
+
description: Attribute API Name
|
|
95
|
+
type: string
|
|
96
|
+
contextAttributeId:
|
|
97
|
+
description: Context Attribute Id
|
|
98
|
+
type: string
|
|
99
|
+
dataType:
|
|
100
|
+
description: Attribute Data Type
|
|
101
|
+
type: string
|
|
102
|
+
enum:
|
|
103
|
+
- Date
|
|
104
|
+
- Number
|
|
105
|
+
- Picklist
|
|
106
|
+
- Text
|
|
107
|
+
defaultValue:
|
|
108
|
+
description: Attribute Default Value
|
|
109
|
+
type: string
|
|
110
|
+
description:
|
|
111
|
+
description: Attribute Description
|
|
112
|
+
type: string
|
|
113
|
+
id:
|
|
114
|
+
description: Attribute Name
|
|
115
|
+
type: string
|
|
116
|
+
isHidden:
|
|
117
|
+
description: is Hidden
|
|
118
|
+
type: boolean
|
|
119
|
+
name:
|
|
120
|
+
description: Attribute Name
|
|
121
|
+
type: string
|
|
122
|
+
operationType:
|
|
123
|
+
description: The type of operation that attribute support.
|
|
124
|
+
type: string
|
|
125
|
+
enum:
|
|
126
|
+
- Create
|
|
127
|
+
- Delete
|
|
128
|
+
- Update
|
|
129
|
+
parent:
|
|
130
|
+
description: Attribute Parent
|
|
131
|
+
type: string
|
|
132
|
+
sequence:
|
|
133
|
+
description: Sequence Number
|
|
134
|
+
type: integer
|
|
135
|
+
CatalogItemAttributeOutputRepresentation:
|
|
136
|
+
description: Output representation class for the Attributes of Catalog Item
|
|
137
|
+
type: object
|
|
138
|
+
properties:
|
|
139
|
+
apiName:
|
|
140
|
+
description: Attribute Api Name
|
|
141
|
+
type: string
|
|
142
|
+
contextAttributeId:
|
|
143
|
+
description: Attribute Context Attribute Id
|
|
144
|
+
type: string
|
|
145
|
+
dataType:
|
|
146
|
+
description: Attribute Data Type
|
|
147
|
+
type: string
|
|
148
|
+
enum:
|
|
149
|
+
- Date
|
|
150
|
+
- Number
|
|
151
|
+
- Picklist
|
|
152
|
+
- Text
|
|
153
|
+
defaultValue:
|
|
154
|
+
description: Attribute Default Value
|
|
155
|
+
type: string
|
|
156
|
+
description:
|
|
157
|
+
description: Attribute Description
|
|
158
|
+
type: string
|
|
159
|
+
isHidden:
|
|
160
|
+
description: Attribute Is Hidden
|
|
161
|
+
type: boolean
|
|
162
|
+
name:
|
|
163
|
+
description: Attribute Name
|
|
164
|
+
type: string
|
|
165
|
+
parent:
|
|
166
|
+
description: Attribute Parent
|
|
167
|
+
type: string
|
|
168
|
+
sequence:
|
|
169
|
+
description: Attribute Sequence
|
|
170
|
+
type: integer
|
|
171
|
+
CatalogItemCreateInputRepresentation:
|
|
172
|
+
description: Configuration of the Catalog Item.
|
|
173
|
+
type: object
|
|
174
|
+
properties: {}
|
|
175
|
+
CatalogItemInputRepresentation:
|
|
176
|
+
description: Input Representation for Catalog Item.
|
|
177
|
+
type: object
|
|
178
|
+
properties:
|
|
179
|
+
associatedArticles:
|
|
180
|
+
description: Knowledge Articles
|
|
181
|
+
type: array
|
|
182
|
+
items:
|
|
183
|
+
type: object
|
|
184
|
+
attributes:
|
|
185
|
+
description: Attribute List
|
|
186
|
+
type: array
|
|
187
|
+
items:
|
|
188
|
+
type: object
|
|
189
|
+
contextDefinitionId:
|
|
190
|
+
description: Context Definition Id
|
|
191
|
+
type: string
|
|
192
|
+
description:
|
|
193
|
+
description: Description
|
|
194
|
+
type: string
|
|
195
|
+
eligibilityRules:
|
|
196
|
+
description: Eligibility Rules
|
|
197
|
+
type: array
|
|
198
|
+
items:
|
|
199
|
+
type: object
|
|
200
|
+
fulfillmentFlow:
|
|
201
|
+
description: Fulfillment Flow
|
|
202
|
+
type: object
|
|
203
|
+
intakeForm:
|
|
204
|
+
description: Intake Form
|
|
205
|
+
type: object
|
|
206
|
+
integrations:
|
|
207
|
+
description: Integrations
|
|
208
|
+
type: array
|
|
209
|
+
items:
|
|
210
|
+
type: object
|
|
211
|
+
isActive:
|
|
212
|
+
description: is Active
|
|
213
|
+
type: boolean
|
|
214
|
+
name:
|
|
215
|
+
description: Name
|
|
216
|
+
type: string
|
|
217
|
+
preProcessors:
|
|
218
|
+
description: Pre-Processor
|
|
219
|
+
type: array
|
|
220
|
+
items:
|
|
221
|
+
type: object
|
|
222
|
+
type:
|
|
223
|
+
description: Type
|
|
224
|
+
type: string
|
|
225
|
+
enum:
|
|
226
|
+
- Product
|
|
227
|
+
- Service
|
|
228
|
+
CatalogItemOutputRepresentation:
|
|
229
|
+
description: Output Representation of Catalog Item
|
|
230
|
+
type: object
|
|
231
|
+
properties:
|
|
232
|
+
associatedArticles:
|
|
233
|
+
description: Knowledge Articles
|
|
234
|
+
type: array
|
|
235
|
+
items:
|
|
236
|
+
type: string
|
|
237
|
+
attributes:
|
|
238
|
+
description: Attributes
|
|
239
|
+
type: array
|
|
240
|
+
items:
|
|
241
|
+
type: CatalogItemAttributeOutputRepresentation
|
|
242
|
+
catalogItemId:
|
|
243
|
+
description: Id of the Catalog Item
|
|
244
|
+
type: string
|
|
245
|
+
contextDefinitionId:
|
|
246
|
+
description: Context Definition Id
|
|
247
|
+
type: string
|
|
248
|
+
description:
|
|
249
|
+
description: Description of the Catalog Item
|
|
250
|
+
type: string
|
|
251
|
+
eligibilityRules:
|
|
252
|
+
description: Eligibility Rules
|
|
253
|
+
type: array
|
|
254
|
+
items:
|
|
255
|
+
type: string
|
|
256
|
+
fulfillmentFlow:
|
|
257
|
+
description: Fulfillment Flows
|
|
258
|
+
type: FulfillmentFlowOutputRepresentation
|
|
259
|
+
intakeForm:
|
|
260
|
+
description: Intake Form
|
|
261
|
+
type: IntakeFormOutputRepresentation
|
|
262
|
+
integrations:
|
|
263
|
+
description: Integrations
|
|
264
|
+
type: array
|
|
265
|
+
items:
|
|
266
|
+
type: string
|
|
267
|
+
isActive:
|
|
268
|
+
description: is Active
|
|
269
|
+
type: boolean
|
|
270
|
+
name:
|
|
271
|
+
description: Name of the Catalog Item
|
|
272
|
+
type: string
|
|
273
|
+
preProcessors:
|
|
274
|
+
description: Pre Processor Ids
|
|
275
|
+
type: array
|
|
276
|
+
items:
|
|
277
|
+
type: string
|
|
278
|
+
type:
|
|
279
|
+
description: Type of the Catalog Item
|
|
280
|
+
type: string
|
|
281
|
+
enum:
|
|
282
|
+
- Product
|
|
283
|
+
- Service
|
|
284
|
+
CatalogItemUpdateInputRepresentation:
|
|
285
|
+
description: The configuration of updates to the CatalogItem
|
|
286
|
+
type: object
|
|
287
|
+
properties:
|
|
288
|
+
id:
|
|
289
|
+
description: The ID of the catalog Item
|
|
290
|
+
type: string
|
|
291
|
+
IntakeFormInputRepresentation:
|
|
292
|
+
description: Input Representation for Intake Forms.
|
|
293
|
+
type: object
|
|
294
|
+
properties:
|
|
295
|
+
id:
|
|
296
|
+
description: The ID of the catalog Item
|
|
297
|
+
type: string
|
|
298
|
+
type:
|
|
299
|
+
description: The Type of the catalog Item
|
|
300
|
+
type: string
|
|
301
|
+
enum:
|
|
302
|
+
- Flow
|
|
303
|
+
- Omniscript
|
|
304
|
+
IntakeFormOutputRepresentation:
|
|
305
|
+
description: Output Representation for Intake Forms
|
|
306
|
+
type: object
|
|
307
|
+
properties:
|
|
308
|
+
id:
|
|
309
|
+
description: Intake Form Id
|
|
310
|
+
type: string
|
|
311
|
+
type:
|
|
312
|
+
description: Intake Form Type
|
|
313
|
+
type: string
|
|
314
|
+
enum:
|
|
315
|
+
- Flow
|
|
316
|
+
- Omniscript
|
|
317
|
+
CatalogItemCreateWrapperInputRepresentation:
|
|
318
|
+
description: Wrapper class for catalog item create input representation.
|
|
319
|
+
type: object
|
|
320
|
+
properties:
|
|
321
|
+
catalogItemCreateInput:
|
|
322
|
+
description: Input Representation for Catalog Item Create
|
|
323
|
+
type: CatalogItemCreateInputRepresentation
|
|
324
|
+
CatalogItemUpdateWrapperInputRepresentation:
|
|
325
|
+
description: Wrapper class for catalog item update input representation.
|
|
326
|
+
type: object
|
|
327
|
+
properties:
|
|
328
|
+
catalogItemUpdateInput:
|
|
329
|
+
description: Input Representation for Catalog Item Update
|
|
330
|
+
type: CatalogItemUpdateInputRepresentation
|
|
331
|
+
PreprocessorInputRepresentation:
|
|
332
|
+
description: Input Representation for Preprocessor
|
|
333
|
+
type: object
|
|
334
|
+
properties:
|
|
335
|
+
id:
|
|
336
|
+
description: The ID of the catalog Item
|
|
337
|
+
type: string
|
|
338
|
+
operationType:
|
|
339
|
+
description: The operation type of the catalog Item
|
|
340
|
+
type: string
|
|
341
|
+
enum:
|
|
342
|
+
- Create
|
|
343
|
+
- Delete
|
|
344
|
+
FulfillmentFlowOutputRepresentation:
|
|
345
|
+
description: Output Representation for Fulfillment Flow
|
|
346
|
+
type: object
|
|
347
|
+
properties:
|
|
348
|
+
id:
|
|
349
|
+
description: FulfillmentFlow Id
|
|
350
|
+
type: string
|
|
351
|
+
type:
|
|
352
|
+
description: FulfillmentFlow Type
|
|
353
|
+
type: string
|
|
354
|
+
enum:
|
|
355
|
+
- Flow
|
|
356
|
+
- FlowOrchestrator
|
|
357
|
+
FulfillmentFowInputRepresentation:
|
|
358
|
+
description: Input Representation for Fulfillment Flow
|
|
359
|
+
type: object
|
|
360
|
+
properties:
|
|
361
|
+
id:
|
|
362
|
+
description: The ID of the catalog Item
|
|
363
|
+
type: string
|
|
364
|
+
type:
|
|
365
|
+
description: The Type of the catalog Item
|
|
366
|
+
type: string
|
|
367
|
+
enum:
|
|
368
|
+
- Flow
|
|
369
|
+
- FlowOrchestrator
|
|
370
|
+
|
|
89
371
|
/connect:
|
|
372
|
+
/catalog/catalog-item:
|
|
373
|
+
post:
|
|
374
|
+
displayName: postCatalogItemSave
|
|
375
|
+
description: API to create a catalog item record.
|
|
376
|
+
responses:
|
|
377
|
+
'200':
|
|
378
|
+
description: Success
|
|
379
|
+
body:
|
|
380
|
+
application/json:
|
|
381
|
+
type: CatalogItemOutputRepresentation
|
|
382
|
+
body:
|
|
383
|
+
application/json:
|
|
384
|
+
type: CatalogItemCreateWrapperInputRepresentation
|
|
385
|
+
(oas-body-name): catalogItemCreateInput
|
|
386
|
+
/catalog/catalog-item/{catalogItemId}:
|
|
387
|
+
get:
|
|
388
|
+
displayName: getCatalogItemGet
|
|
389
|
+
description: API to fetch catalog record based on catalog id.
|
|
390
|
+
responses:
|
|
391
|
+
'200':
|
|
392
|
+
description: Success
|
|
393
|
+
body:
|
|
394
|
+
application/json:
|
|
395
|
+
type: CatalogItemOutputRepresentation
|
|
396
|
+
patch:
|
|
397
|
+
displayName: patchCatalogItemGet
|
|
398
|
+
description: Patches Catalog Item with Given Catalog item id.
|
|
399
|
+
responses:
|
|
400
|
+
'200':
|
|
401
|
+
description: Success
|
|
402
|
+
body:
|
|
403
|
+
application/json:
|
|
404
|
+
type: CatalogItemOutputRepresentation
|
|
405
|
+
body:
|
|
406
|
+
application/json:
|
|
407
|
+
type: CatalogItemUpdateWrapperInputRepresentation
|
|
408
|
+
(oas-body-name): catalogItemUpdateInput
|
|
409
|
+
uriParameters:
|
|
410
|
+
catalogItemId:
|
|
411
|
+
description: CatalogId for which catalog details have to be fetched.
|
|
412
|
+
type: string
|
|
413
|
+
required: true
|
|
90
414
|
/service-automation:
|
|
91
415
|
post:
|
|
92
416
|
displayName: postServiceAutomation
|
package/src/raml/luvio.raml
CHANGED
|
@@ -11,9 +11,25 @@ types:
|
|
|
11
11
|
ServiceAutomationDepOutputRepresentation:
|
|
12
12
|
(luvio.ttl): 6000
|
|
13
13
|
(luvio.opaque): true
|
|
14
|
-
|
|
14
|
+
CatalogItemOutputRepresentation:
|
|
15
|
+
(luvio.ttl): 6000
|
|
16
|
+
(luvio.key):
|
|
17
|
+
catalogItemId: catalogItemId
|
|
15
18
|
/connect/service-automation:
|
|
16
19
|
post:
|
|
17
20
|
(luvio.method): get
|
|
18
21
|
(luvio.adapter):
|
|
19
22
|
name: getAllServiceAutomationDep
|
|
23
|
+
/connect/catalog/catalog-item:
|
|
24
|
+
post:
|
|
25
|
+
(luvio.adapter):
|
|
26
|
+
name: createCatalogItem
|
|
27
|
+
/connect/catalog/catalog-item/{catalogItemId}:
|
|
28
|
+
get:
|
|
29
|
+
(luvio.adapter):
|
|
30
|
+
name: getCatalogItem
|
|
31
|
+
(luvio.key):
|
|
32
|
+
catalogItemId: urlParams.catalogItemId
|
|
33
|
+
patch:
|
|
34
|
+
(luvio.adapter):
|
|
35
|
+
name: updateCatalogItem
|