@salesforce/lds-adapters-service-ecm 1.329.0 → 1.330.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 (43) hide show
  1. package/dist/es/es2018/service-ecm.js +4130 -615
  2. package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +20 -2
  3. package/dist/es/es2018/types/src/generated/adapters/generateOmniScript.d.ts +17 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getAllServiceAutomationDep.d.ts +2 -1
  5. package/dist/es/es2018/types/src/generated/adapters/getCatalogItem.d.ts +2 -3
  6. package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +21 -2
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +2 -2
  9. package/dist/es/es2018/types/src/generated/resources/getConnectCatalogCatalogItemByCatalogItemId.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/resources/patchConnectCatalogCatalogItemByCatalogItemId.d.ts +21 -2
  11. package/dist/es/es2018/types/src/generated/resources/postConnectCatalogCatalogItem.d.ts +20 -2
  12. package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomation.d.ts +2 -1
  13. package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationGenerateIntakeOmni.d.ts +14 -0
  14. package/dist/es/es2018/types/src/generated/types/AssociatedArticleOutputRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +27 -24
  16. package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +32 -20
  17. package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +47 -1
  18. package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +45 -33
  19. package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +49 -3
  20. package/dist/es/es2018/types/src/generated/types/EligibilityRuleOutputRepresentation.d.ts +31 -0
  21. package/dist/es/es2018/types/src/generated/types/EligibilityRulesInputRepresentation.d.ts +31 -0
  22. package/dist/es/es2018/types/src/generated/types/FilterInputRepresentation.d.ts +3 -3
  23. package/dist/es/es2018/types/src/generated/types/FulfillmentFlowInputRepresentation.d.ts +37 -0
  24. package/dist/es/es2018/types/src/generated/types/FulfillmentFlowOutputRepresentation.d.ts +8 -5
  25. package/dist/es/es2018/types/src/generated/types/GenericCustomObject.d.ts +28 -0
  26. package/dist/es/es2018/types/src/generated/types/IntakeFormCreationInputRepresentation.d.ts +34 -0
  27. package/dist/es/es2018/types/src/generated/types/IntakeFormInputRepresentation.d.ts +11 -5
  28. package/dist/es/es2018/types/src/generated/types/IntakeFormOutputRepresentation.d.ts +23 -5
  29. package/dist/es/es2018/types/src/generated/types/{FulfillmentFowInputRepresentation.d.ts → IntegrationDefInputRepresentation.d.ts} +16 -13
  30. package/dist/es/es2018/types/src/generated/types/IntegrationDefinitionOutputPresentation.d.ts +31 -0
  31. package/dist/es/es2018/types/src/generated/types/KnowledgeArticleInputRepresentation.d.ts +34 -0
  32. package/dist/es/es2018/types/src/generated/types/OmniIntakeOutputRepresentation.d.ts +59 -0
  33. package/dist/es/es2018/types/src/generated/types/PreprocessorInputRepresentation.d.ts +8 -5
  34. package/dist/es/es2018/types/src/generated/types/PreprocessorOutputRepresentation.d.ts +31 -0
  35. package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +35 -0
  36. package/dist/es/es2018/types/src/generated/types/ServiceAutomationDepReadInputRepresentation.d.ts +4 -3
  37. package/package.json +3 -3
  38. package/sfdc/index.js +4048 -574
  39. package/src/raml/api.raml +554 -158
  40. package/src/raml/luvio.raml +8 -0
  41. package/dist/es/es2018/types/src/generated/types/CatalogItemCreateWrapperInputRepresentation.d.ts +0 -29
  42. package/dist/es/es2018/types/src/generated/types/CatalogItemInputRepresentation.d.ts +0 -61
  43. package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateWrapperInputRepresentation.d.ts +0 -29
package/src/raml/api.raml CHANGED
@@ -43,7 +43,7 @@ types:
43
43
  - NotEquals
44
44
  value:
45
45
  description: value
46
- type: object
46
+ type: any
47
47
  ServiceAutomationDepOutputRepresentation:
48
48
  description: Output Representation of Record
49
49
  type: object
@@ -72,7 +72,7 @@ types:
72
72
  description: The filter to be applied while fetching records
73
73
  type: array
74
74
  items:
75
- type: object
75
+ type: FilterInputRepresentation
76
76
  limit:
77
77
  description: The limit to be applied while fetching records
78
78
  type: integer | nil
@@ -87,218 +87,447 @@ types:
87
87
  properties:
88
88
  //:
89
89
  type: any
90
+ AssociatedArticleOutputRepresentation:
91
+ description: Output Representation for Associated Articles
92
+ type: object
93
+ properties:
94
+ id:
95
+ required: false
96
+ description: Id of the associated article
97
+ type: string | nil
98
+ knowledgeArticleId:
99
+ required: false
100
+ description: Knowledge Article Id of the associated article
101
+ type: string | nil
90
102
  CatalogItemAttributeInputRepresentation:
91
103
  description: Input Representation for Attribute Item.
92
104
  type: object
93
105
  properties:
94
106
  apiName:
107
+ required: false
95
108
  description: Attribute API Name
96
- type: string
97
- contextAttributeId:
98
- description: Context Attribute Id
99
- type: string
109
+ type: string | nil
100
110
  dataType:
111
+ required: false
101
112
  description: Attribute Data Type
102
- type: string
113
+ type: string | nil
103
114
  enum:
115
+ - Boolean
104
116
  - Date
117
+ - DateTime
118
+ - Double
119
+ - List
120
+ - ListOfBoolean
121
+ - ListOfDouble
122
+ - ListOfInteger
123
+ - ListOfMaps
124
+ - ListOfString
125
+ - Lookup
126
+ - Map
105
127
  - Number
106
128
  - Picklist
107
129
  - Text
108
130
  defaultValue:
131
+ required: false
109
132
  description: Attribute Default Value
110
- type: string
133
+ type: string | nil
111
134
  description:
135
+ required: false
112
136
  description: Attribute Description
113
- type: string
137
+ type: string | nil
114
138
  id:
139
+ required: false
115
140
  description: Attribute Name
116
- type: string
141
+ type: string | nil
142
+ isContextDefinitionAttribute:
143
+ required: false
144
+ description: Context Attribute Id
145
+ type: boolean | nil
117
146
  isHidden:
147
+ required: false
118
148
  description: is Hidden
119
- type: boolean
149
+ type: boolean | nil
150
+ isReadOnly:
151
+ required: false
152
+ description: is Read Only
153
+ type: boolean | nil
120
154
  name:
155
+ required: false
121
156
  description: Attribute Name
122
- type: string
157
+ type: string | nil
123
158
  operationType:
159
+ required: false
124
160
  description: The type of operation that attribute support.
125
- type: string
161
+ type: string | nil
126
162
  enum:
127
163
  - Create
128
164
  - Delete
129
165
  - Update
130
166
  parent:
167
+ required: false
131
168
  description: Attribute Parent
132
- type: string
169
+ type: string | nil
133
170
  sequence:
171
+ required: false
134
172
  description: Sequence Number
135
- type: integer
173
+ type: integer | nil
136
174
  CatalogItemAttributeOutputRepresentation:
137
175
  description: Output representation class for the Attributes of Catalog Item
138
176
  type: object
139
177
  properties:
140
178
  apiName:
179
+ required: false
141
180
  description: Attribute Api Name
142
- type: string
143
- contextAttributeId:
144
- description: Attribute Context Attribute Id
145
- type: string
181
+ type: string | nil
146
182
  dataType:
183
+ required: false
147
184
  description: Attribute Data Type
148
- type: string
185
+ type: string | nil
149
186
  enum:
187
+ - Boolean
150
188
  - Date
189
+ - DateTime
190
+ - Double
191
+ - List
192
+ - ListOfBoolean
193
+ - ListOfDouble
194
+ - ListOfInteger
195
+ - ListOfMaps
196
+ - ListOfString
197
+ - Lookup
198
+ - Map
151
199
  - Number
152
200
  - Picklist
153
201
  - Text
154
202
  defaultValue:
203
+ required: false
155
204
  description: Attribute Default Value
156
- type: string
205
+ type: string | nil
157
206
  description:
207
+ required: false
158
208
  description: Attribute Description
159
- type: string
209
+ type: string | nil
210
+ id:
211
+ required: false
212
+ description: Attribute Id
213
+ type: string | nil
214
+ isContextDefinitionAttribute:
215
+ required: false
216
+ description: Attribute Context Attribute Id
217
+ type: boolean | nil
218
+ isDeleted:
219
+ required: false
220
+ description: Attribute Is Deleted
221
+ type: boolean | nil
160
222
  isHidden:
223
+ required: false
161
224
  description: Attribute Is Hidden
162
- type: boolean
225
+ type: boolean | nil
226
+ isReadOnly:
227
+ required: false
228
+ description: Attribute isReadOnly
229
+ type: boolean | nil
230
+ isRequired:
231
+ required: false
232
+ description: Attribute Is Required
233
+ type: boolean | nil
163
234
  name:
235
+ required: false
164
236
  description: Attribute Name
165
- type: string
237
+ type: string |nil
166
238
  parent:
239
+ required: false
167
240
  description: Attribute Parent
168
- type: string
241
+ type: string | nil
169
242
  sequence:
243
+ required: false
170
244
  description: Attribute Sequence
171
- type: integer
245
+ type: integer | nil
172
246
  CatalogItemCreateInputRepresentation:
173
247
  description: Configuration of the Catalog Item.
174
248
  type: object
175
- properties: {}
176
- CatalogItemInputRepresentation:
177
- description: Input Representation for Catalog Item.
178
- type: object
179
249
  properties:
180
250
  associatedArticles:
251
+ required: false
181
252
  description: Knowledge Articles
182
253
  type: array
183
254
  items:
184
- type: object
255
+ type: KnowledgeArticleInputRepresentation | nil
185
256
  attributes:
257
+ required: false
186
258
  description: Attribute List
187
259
  type: array
188
260
  items:
189
- type: object
190
- contextDefinitionId:
261
+ type: CatalogItemAttributeInputRepresentation | nil
262
+ contextDefinitionDevNameOrId:
263
+ required: false
191
264
  description: Context Definition Id
192
- type: string
265
+ type: string | nil
193
266
  description:
267
+ required: false
194
268
  description: Description
195
- type: string
269
+ type: string | nil
270
+ displayUrl:
271
+ required: false
272
+ description: Display Url
273
+ type: string | nil
196
274
  eligibilityRules:
275
+ required: false
197
276
  description: Eligibility Rules
198
277
  type: array
199
278
  items:
200
- type: object
279
+ type: EligibilityRulesInputRepresentation | nil
201
280
  fulfillmentFlow:
281
+ required: false
202
282
  description: Fulfillment Flow
203
- type: object
283
+ type: FulfillmentFlowInputRepresentation | nil
204
284
  intakeForm:
285
+ required: false
205
286
  description: Intake Form
206
- type: object
287
+ type: IntakeFormInputRepresentation | nil
207
288
  integrations:
289
+ required: false
208
290
  description: Integrations
209
291
  type: array
210
292
  items:
211
- type: object
293
+ type: IntegrationDefInputRepresentation | nil
212
294
  isActive:
295
+ required: false
213
296
  description: is Active
214
- type: boolean
297
+ type: boolean | nil
215
298
  name:
299
+ required: false
216
300
  description: Name
217
- type: string
301
+ type: string | nil
218
302
  preProcessors:
303
+ required: false
219
304
  description: Pre-Processor
220
305
  type: array
221
306
  items:
222
- type: object
223
- type:
224
- description: Type
225
- type: string
307
+ type: PreprocessorInputRepresentation | nil
308
+ usedFor:
309
+ required: false
310
+ description: UsedFor
311
+ type: string | nil
226
312
  enum:
227
- - Product
228
- - Service
313
+ - ServiceProcess
229
314
  CatalogItemOutputRepresentation:
230
315
  description: Output Representation of Catalog Item
231
316
  type: object
232
317
  properties:
233
318
  associatedArticles:
319
+ required: false
234
320
  description: Knowledge Articles
235
321
  type: array
236
322
  items:
237
- type: string
238
- attributes:
323
+ type: AssociatedArticleOutputRepresentation | nil
324
+ section:
325
+ required: false
239
326
  description: Attributes
240
- type: array
241
- items:
242
- type: CatalogItemAttributeOutputRepresentation
327
+ type: SectionOutputRepresentation | nil
243
328
  catalogItemId:
329
+ required: true
244
330
  description: Id of the Catalog Item
245
- type: string
246
- contextDefinitionId:
331
+ type: string | nil
332
+ contextDefinitionDevNameOrId:
333
+ required: false
247
334
  description: Context Definition Id
248
- type: string
335
+ type: string | nil
249
336
  description:
337
+ required: false
250
338
  description: Description of the Catalog Item
251
- type: string
339
+ type: string | nil
340
+ displayUrl:
341
+ required: false
342
+ description: Display Url
343
+ type: string | nil
252
344
  eligibilityRules:
345
+ required: false
253
346
  description: Eligibility Rules
254
347
  type: array
255
348
  items:
256
- type: string
349
+ type: EligibilityRuleOutputRepresentation | nil
257
350
  fulfillmentFlow:
351
+ required: false
258
352
  description: Fulfillment Flows
259
- type: FulfillmentFlowOutputRepresentation
353
+ type: FulfillmentFlowOutputRepresentation | nil
260
354
  intakeForm:
355
+ required: false
261
356
  description: Intake Form
262
- type: IntakeFormOutputRepresentation
357
+ type: IntakeFormOutputRepresentation | nil
263
358
  integrations:
359
+ required: false
264
360
  description: Integrations
265
361
  type: array
266
362
  items:
267
- type: string
363
+ type: IntegrationDefinitionOutputPresentation | nil
268
364
  isActive:
365
+ required: false
269
366
  description: is Active
270
- type: boolean
367
+ type: boolean | nil
271
368
  name:
369
+ required: false
272
370
  description: Name of the Catalog Item
273
- type: string
371
+ type: string | nil
372
+ productId:
373
+ required: false
374
+ description: Product Id
375
+ type: string | nil
274
376
  preProcessors:
377
+ required: false
275
378
  description: Pre Processor Ids
276
379
  type: array
277
380
  items:
278
- type: string
279
- type:
280
- description: Type of the Catalog Item
281
- type: string
381
+ type: PreprocessorOutputRepresentation | nil
382
+ usedFor:
383
+ required: false
384
+ description: usedFor of the Catalog Item
385
+ type: string | nil
282
386
  enum:
283
- - Product
284
- - Service
387
+ - ServiceProcess
285
388
  CatalogItemUpdateInputRepresentation:
286
389
  description: The configuration of updates to the CatalogItem
287
390
  type: object
288
391
  properties:
392
+ productId:
393
+ required: false
394
+ description: The ID of the catalog Item
395
+ type: string | nil
396
+ associatedArticles:
397
+ required: false
398
+ description: Knowledge Articles
399
+ type: array
400
+ items:
401
+ type: KnowledgeArticleInputRepresentation | nil
402
+ attributes:
403
+ required: false
404
+ description: Attribute List
405
+ type: array
406
+ items:
407
+ type: CatalogItemAttributeInputRepresentation | nil
408
+ contextDefinitionDevNameOrId:
409
+ required: false
410
+ description: Context Definition Id
411
+ type: string | nil
412
+ description:
413
+ required: false
414
+ description: Description
415
+ type: string | nil
416
+ displayUrl:
417
+ required: false
418
+ description: Display Url
419
+ type: string | nil
420
+ eligibilityRules:
421
+ required: false
422
+ description: Eligibility Rules
423
+ type: array
424
+ items:
425
+ type: EligibilityRulesInputRepresentation | nil
426
+ fulfillmentFlow:
427
+ required: false
428
+ description: Fulfillment Flow
429
+ type: FulfillmentFlowInputRepresentation | nil
430
+ intakeForm:
431
+ required: false
432
+ description: Intake Form
433
+ type: IntakeFormInputRepresentation | nil
434
+ integrations:
435
+ required: false
436
+ description: Integrations
437
+ type: array
438
+ items:
439
+ type: IntegrationDefInputRepresentation | nil
440
+ isActive:
441
+ required: false
442
+ description: is Active
443
+ type: boolean | nil
444
+ name:
445
+ required: false
446
+ description: Name
447
+ type: string | nil
448
+ preProcessors:
449
+ required: false
450
+ description: Pre-Processor
451
+ type: array
452
+ items:
453
+ type: PreprocessorInputRepresentation | nil
454
+ usedFor:
455
+ required: false
456
+ description: UsedFor
457
+ type: string | nil
458
+ enum:
459
+ - ServiceProcess
460
+ EligibilityRuleOutputRepresentation:
461
+ description: Output Representation for Eligibility Rules
462
+ type: object
463
+ properties:
464
+ eligibilityRuleId:
465
+ required: false
466
+ description: Eligibility Rule Id
467
+ type: string | nil
289
468
  id:
469
+ required: false
470
+ description: Id
471
+ type: string | nil
472
+ EligibilityRulesInputRepresentation:
473
+ description: Input Representation for Eligibility Rules
474
+ type: object
475
+ properties:
476
+ id:
477
+ required: false
290
478
  description: The ID of the catalog Item
291
- type: string
479
+ type: string | nil
480
+ operationType:
481
+ required: false
482
+ description: The operation type of the catalog Item
483
+ type: string | nil
484
+ enum:
485
+ - Create
486
+ - Delete
487
+ - Update
488
+ FulfillmentFlowOutputRepresentation:
489
+ description: Output Representation for Fulfillment Flow
490
+ type: object
491
+ properties:
492
+ fulFillmentFlowId:
493
+ required: false
494
+ description: FulfillmentFlow Id
495
+ type: string | nil
496
+ id:
497
+ required: false
498
+ description: ProductFulfillmentScenario Id
499
+ type: string | nil
500
+ type:
501
+ required: false
502
+ description: FulfillmentFlow Type
503
+ type: string | nil
504
+ enum:
505
+ - Flow
506
+ - FlowOrchestrator
292
507
  IntakeFormInputRepresentation:
293
508
  description: Input Representation for Intake Forms.
294
509
  type: object
295
510
  properties:
296
511
  id:
512
+ required: false
297
513
  description: The ID of the catalog Item
298
- type: string
514
+ type: string | nil
515
+ intakeFormId:
516
+ required: false
517
+ description: The intake form ID
518
+ type: string | nil
519
+ operationType:
520
+ required: false
521
+ description: The operation type of the catalog Item
522
+ type: string | nil
523
+ enum:
524
+ - Create
525
+ - Delete
526
+ - Update
299
527
  type:
528
+ required: false
300
529
  description: The Type of the catalog Item
301
- type: string
530
+ type: string | nil
302
531
  enum:
303
532
  - Flow
304
533
  - Omniscript
@@ -307,67 +536,158 @@ types:
307
536
  type: object
308
537
  properties:
309
538
  id:
539
+ required: false
540
+ description: Id
541
+ type: string | nil
542
+ intakeFormId:
543
+ required: false
310
544
  description: Intake Form Id
311
- type: string
545
+ type: string | nil
546
+ omniProcessId:
547
+ required: false
548
+ description: OmniProcess Id
549
+ type: string | nil
550
+ omniScriptLanguage:
551
+ required: false
552
+ description: OmniScript Language
553
+ type: string | nil
554
+ omniScriptSubType:
555
+ required: false
556
+ description: OmniScript SubType
557
+ type: string | nil
558
+ omniScriptType:
559
+ required: false
560
+ description: OmniScript Type
561
+ type: string | nil
312
562
  type:
563
+ required: false
313
564
  description: Intake Form Type
314
- type: string
565
+ type: string | nil
315
566
  enum:
316
567
  - Flow
317
568
  - Omniscript
318
- CatalogItemCreateWrapperInputRepresentation:
319
- description: Wrapper class for catalog item create input representation.
569
+ uniqueName:
570
+ required: false
571
+ description: Unique Name
572
+ type: string | nil
573
+ IntegrationDefInputRepresentation:
574
+ description: Input Representation for Integration Definition.
320
575
  type: object
321
576
  properties:
322
- catalogItemCreateInput:
323
- description: Input Representation for Catalog Item Create
324
- type: CatalogItemCreateInputRepresentation
325
- CatalogItemUpdateWrapperInputRepresentation:
326
- description: Wrapper class for catalog item update input representation.
577
+ id:
578
+ required: false
579
+ description: The ID of the catalog Item
580
+ type: string | nil
581
+ integrationDefinitionId:
582
+ required: false
583
+ description: The ID of the catalog Item
584
+ type: string | nil
585
+ operationType:
586
+ required: false
587
+ description: The operation type of the catalog Item
588
+ type: string | nil
589
+ enum:
590
+ - Create
591
+ - Delete
592
+ - Update
593
+ IntegrationDefinitionOutputPresentation:
594
+ description: Output Representation for Integration Definition
595
+ type: object
596
+ properties:
597
+ id:
598
+ required: false
599
+ description: Id of the Integration Definition
600
+ type: string | nil
601
+ integrationDefId:
602
+ required: false
603
+ description: Integration Definition Id
604
+ type: string | nil
605
+ KnowledgeArticleInputRepresentation:
606
+ description: Input Representation for Knowledge Articles.
327
607
  type: object
328
608
  properties:
329
- catalogItemUpdateInput:
330
- description: Input Representation for Catalog Item Update
331
- type: CatalogItemUpdateInputRepresentation
609
+ id:
610
+ required: false
611
+ description: The ID of the catalog Item
612
+ type: string | nil
613
+ knowledgeArticleId:
614
+ required: false
615
+ description: The ID of KnowledgeArticle
616
+ type: string | nil
617
+ operationType:
618
+ required: false
619
+ description: The operation type of the catalog Item
620
+ type: string | nil
621
+ enum:
622
+ - Create
623
+ - Delete
624
+ - Update
332
625
  PreprocessorInputRepresentation:
333
626
  description: Input Representation for Preprocessor
334
627
  type: object
335
628
  properties:
336
629
  id:
630
+ required: false
337
631
  description: The ID of the catalog Item
338
- type: string
632
+ type: string | nil
339
633
  operationType:
634
+ required: false
340
635
  description: The operation type of the catalog Item
341
- type: string
636
+ type: string | nil
342
637
  enum:
343
638
  - Create
344
639
  - Delete
345
- FulfillmentFlowOutputRepresentation:
346
- description: Output Representation for Fulfillment Flow
640
+ - Update
641
+ preProcessorsID:
642
+ required: false
643
+ description: The ID of Preprocessor
644
+ type: string | nil
645
+ PreprocessorOutputRepresentation:
646
+ description: Output Representation for Preprocessors
347
647
  type: object
348
648
  properties:
349
649
  id:
350
- description: FulfillmentFlow Id
351
- type: string
352
- type:
353
- description: FulfillmentFlow Type
354
- type: string
355
- enum:
356
- - Flow
357
- - FlowOrchestrator
358
- FulfillmentFowInputRepresentation:
650
+ required: false
651
+ description: ProductConfigFlow Id
652
+ type: string | nil
653
+ preprocessorId:
654
+ required: false
655
+ description: Preprocessor Id
656
+ type: string | nil
657
+ FulfillmentFlowInputRepresentation:
359
658
  description: Input Representation for Fulfillment Flow
360
659
  type: object
361
660
  properties:
661
+ fulfillmentFlowId:
662
+ required: false
663
+ description: The ID of FulfillmentFlow
664
+ type: string | nil
362
665
  id:
666
+ required: false
363
667
  description: The ID of the catalog Item
364
- type: string
668
+ type: string | nil
669
+ operationType:
670
+ required: false
671
+ description: The operation type of the catalog Item
672
+ type: string | nil
673
+ enum:
674
+ - Create
675
+ - Delete
676
+ - Update
365
677
  type:
678
+ required: false
366
679
  description: The Type of the catalog Item
367
- type: string
680
+ type: string | nil
368
681
  enum:
369
682
  - Flow
370
683
  - FlowOrchestrator
684
+ GenericCustomObject:
685
+ description: GenericCustomObject
686
+ type: object
687
+ properties:
688
+ value:
689
+ description: value
690
+ type: object
371
691
  CategoriesInputRepresentation:
372
692
  description: Category and Parent api input representation
373
693
  type: object
@@ -415,80 +735,156 @@ types:
415
735
  status:
416
736
  description: Output status code
417
737
  type: string
418
-
738
+ OmniIntakeOutputRepresentation:
739
+ description: Output Representation of Catalog Item
740
+ type: object
741
+ properties:
742
+ description:
743
+ description: Intake Form Description
744
+ type: string
745
+ id:
746
+ description: Intake Form Id
747
+ type: string
748
+ name:
749
+ description: Intake Form Name
750
+ type: string
751
+ omniScriptId:
752
+ description: OmniScript Id
753
+ type: string
754
+ omniScriptLanguage:
755
+ description: OmniScript Language
756
+ type: string
757
+ omniScriptSubType:
758
+ description: OmniScript SubType
759
+ type: string
760
+ omniScriptType:
761
+ description: OmniScript Type
762
+ type: string
763
+ type:
764
+ description: Intake Form Type
765
+ type: string
766
+ enum:
767
+ - Flow
768
+ - Omniscript
769
+ IntakeFormCreationInputRepresentation:
770
+ description: 'CatalogItem OmniScript Intake Input Representation '
771
+ type: object
772
+ properties:
773
+ productId:
774
+ description: Product Id
775
+ type: string
776
+ scriptDescription:
777
+ description: Omni Script Description
778
+ type: string
779
+ scriptName:
780
+ description: Omni Script Name
781
+ type: string
782
+ SectionOutputRepresentation:
783
+ description: Output Representation for Section
784
+ type: object
785
+ properties:
786
+ name:
787
+ required: false
788
+ description: Product Name
789
+ type: string | nil
790
+ description:
791
+ required: false
792
+ description: Product Name
793
+ type: string | nil
794
+ attributes:
795
+ required: false
796
+ description: Attribute List
797
+ type: array
798
+ items:
799
+ type: CatalogItemAttributeOutputRepresentation | nil
419
800
  /connect:
420
- /catalog/catalog-item:
801
+ /catalog:
802
+ /catalog-item:
803
+ post:
804
+ displayName: postCatalogItemSave
805
+ description: API to create a catalog item record.
806
+ responses:
807
+ '200':
808
+ description: Success
809
+ body:
810
+ application/json:
811
+ type: CatalogItemOutputRepresentation
812
+ body:
813
+ application/json:
814
+ type: CatalogItemCreateInputRepresentation
815
+ (oas-body-name): catalogItemCreateInput
816
+ /catalog-item/{catalogItemId}:
817
+ get:
818
+ displayName: getCatalogItemGet
819
+ description: API to fetch catalog record based on catalog id.
820
+ responses:
821
+ '200':
822
+ description: Success
823
+ body:
824
+ application/json:
825
+ type: CatalogItemOutputRepresentation
826
+ patch:
827
+ displayName: patchCatalogItemGet
828
+ description: Patches Catalog Item with Given Catalog item id.
829
+ responses:
830
+ '200':
831
+ description: Success
832
+ body:
833
+ application/json:
834
+ type: CatalogItemOutputRepresentation
835
+ body:
836
+ application/json:
837
+ type: CatalogItemUpdateInputRepresentation
838
+ (oas-body-name): catalogItemUpdateInput
839
+ uriParameters:
840
+ catalogItemId:
841
+ description: CatalogId for which catalog details have to be fetched.
842
+ type: string
843
+ required: true
844
+ /{catalogId}/categories:
845
+ patch:
846
+ displayName: patchCategories
847
+ description: API to update categories of a specified catalog.
848
+ responses:
849
+ '200':
850
+ description: Success
851
+ body:
852
+ application/json:
853
+ type: CategoryAndParentOutputRepresentation
854
+ body:
855
+ application/json:
856
+ type: CategoriesInputRepresentation
857
+ (oas-body-name): epcCategoryParentRequestPayload
858
+ uriParameters:
859
+ catalogId:
860
+ description: CatalogId for which categories are realigned.
861
+ type: string
862
+ required: true
863
+ /service-automation:
421
864
  post:
422
- displayName: postCatalogItemSave
423
- description: API to create a catalog item record.
424
- responses:
425
- '200':
426
- description: Success
427
- body:
428
- application/json:
429
- type: CatalogItemOutputRepresentation
430
- body:
431
- application/json:
432
- type: CatalogItemCreateWrapperInputRepresentation
433
- (oas-body-name): catalogItemCreateInput
434
- /catalog/catalog-item/{catalogItemId}:
435
- get:
436
- displayName: getCatalogItemGet
437
- description: API to fetch catalog record based on catalog id.
438
- responses:
439
- '200':
440
- description: Success
441
- body:
442
- application/json:
443
- type: CatalogItemOutputRepresentation
444
- patch:
445
- displayName: patchCatalogItemGet
446
- description: Patches Catalog Item with Given Catalog item id.
447
- responses:
448
- '200':
449
- description: Success
450
- body:
451
- application/json:
452
- type: CatalogItemOutputRepresentation
453
- body:
454
- application/json:
455
- type: CatalogItemUpdateWrapperInputRepresentation
456
- (oas-body-name): catalogItemUpdateInput
457
- uriParameters:
458
- catalogItemId:
459
- description: CatalogId for which catalog details have to be fetched.
460
- type: string
461
- required: true
462
- /catalog/{catalogId}/categories:
463
- patch:
464
- displayName: patchCategories
465
- description: API to update categories of a specified catalog.
865
+ displayName: postServiceAutomation
866
+ description: POST Resource method to obtain Specified Class objects
466
867
  responses:
467
868
  '200':
468
869
  description: Success
469
870
  body:
470
871
  application/json:
471
- type: CategoryAndParentOutputRepresentation
872
+ type: ServiceAutomationDepOutputRepresentation
472
873
  body:
473
874
  application/json:
474
- type: CategoriesInputRepresentation
475
- (oas-body-name): epcCategoryParentRequestPayload
476
- uriParameters:
477
- catalogId:
478
- description: CatalogId for which categories are realigned.
479
- type: string
480
- required: true
481
- /service-automation:
875
+ type: ServiceAutomationDepReadInputRepresentation
876
+ (oas-body-name): ServiceAutomationDepInput
877
+ /service-automation/generate-intake-omni:
482
878
  post:
483
- displayName: postServiceAutomation
484
- description: POST Resource method to obtain Specified Class objects
879
+ displayName: postOmniIntake
880
+ description: API to generate omniscript for productId.
485
881
  responses:
486
882
  '200':
487
883
  description: Success
488
884
  body:
489
885
  application/json:
490
- type: ServiceAutomationDepOutputRepresentation
886
+ type: OmniIntakeOutputRepresentation
491
887
  body:
492
888
  application/json:
493
- type: ServiceAutomationDepReadInputRepresentation
494
- (oas-body-name): ServiceAutomationDepInput
889
+ type: IntakeFormCreationInputRepresentation
890
+ (oas-body-name): omniGenerateRequestPayload