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