@salesforce/lds-adapters-service-ecm 1.347.1 → 1.348.1

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 (19) hide show
  1. package/dist/es/es2018/service-ecm.js +1131 -549
  2. package/dist/es/es2018/types/src/generated/adapters/getCatalogItem.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getServiceRequest.d.ts +27 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  6. package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +3 -0
  7. package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId.d.ts +15 -0
  8. package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +7 -7
  9. package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +7 -7
  10. package/dist/es/es2018/types/src/generated/types/PicklistAttributeTypeInputRepresentation.d.ts +16 -13
  11. package/dist/es/es2018/types/src/generated/types/PicklistAttributeTypeOutputRepresentation.d.ts +13 -13
  12. package/dist/es/es2018/types/src/generated/types/ProductDetailsOutputRepresentation.d.ts +13 -1
  13. package/dist/es/es2018/types/src/generated/types/SectionInputRepresentation.d.ts +3 -3
  14. package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +3 -3
  15. package/dist/es/es2018/types/src/generated/types/ServiceRequestGetOutputRepresentation.d.ts +39 -0
  16. package/package.json +3 -3
  17. package/sfdc/index.js +1037 -447
  18. package/src/raml/api.raml +79 -0
  19. package/src/raml/luvio.raml +4 -0
package/src/raml/api.raml CHANGED
@@ -148,6 +148,7 @@ types:
148
148
  description: Context Attribute Id
149
149
  type: boolean | nil
150
150
  isEditable:
151
+ required: false
151
152
  description: Is Editable Field
152
153
  type: boolean
153
154
  isHidden:
@@ -159,6 +160,7 @@ types:
159
160
  description: is Mandatory
160
161
  type: boolean | nil
161
162
  isMappedAnchorField:
163
+ required: false
162
164
  description: is Mapped Anchor Field
163
165
  type: boolean
164
166
  isReadOnly:
@@ -182,6 +184,7 @@ types:
182
184
  description: Attribute Parent
183
185
  type: string | nil
184
186
  picklistOptions:
187
+ required: false
185
188
  description: Picklist Options
186
189
  type: array
187
190
  items:
@@ -243,6 +246,7 @@ types:
243
246
  description: Attribute Is Deleted
244
247
  type: boolean | nil
245
248
  isEditable:
249
+ required: false
246
250
  description: Is Editable Field
247
251
  type: boolean
248
252
  isHidden:
@@ -254,6 +258,7 @@ types:
254
258
  description: is Mandatory
255
259
  type: boolean | nil
256
260
  isMappedAnchorField:
261
+ required: false
257
262
  description: Mapped Anchor Field
258
263
  type: boolean
259
264
  isReadOnly:
@@ -273,6 +278,7 @@ types:
273
278
  description: Attribute Parent
274
279
  type: string | nil
275
280
  picklistOptions:
281
+ required: false
276
282
  description: Picklist Options
277
283
  type: array
278
284
  items:
@@ -733,43 +739,63 @@ types:
733
739
  type: object
734
740
  properties:
735
741
  displayName:
742
+ required: false
736
743
  description: Picklist Display Name
737
744
  type: string
738
745
  id:
746
+ required: false
739
747
  description: Picklist Id
740
748
  type: string
741
749
  isDefault:
750
+ required: false
742
751
  description: Picklist Is Default
743
752
  type: boolean
744
753
  isVisible:
754
+ required: false
745
755
  description: Picklist Is Visible
746
756
  type: boolean
747
757
  name:
758
+ required: false
748
759
  description: Picklist Name
749
760
  type: string
750
761
  sequenceNumber:
762
+ required: false
751
763
  description: Picklist Sequence Number
752
764
  type: integer
765
+ operationType:
766
+ required: false
767
+ description: The operation type of the picklist option
768
+ type: string | nil
769
+ enum:
770
+ - Create
771
+ - Delete
772
+ - Update
753
773
  PicklistAttributeTypeOutputRepresentation:
754
774
  description: Output representation class for the Picklist Attribute Type
755
775
  type: object
756
776
  properties:
757
777
  displayName:
778
+ required: false
758
779
  description: Picklist Option Display Name
759
780
  type: string
760
781
  id:
782
+ required: false
761
783
  description: Picklist Option Id
762
784
  type: string
763
785
  isDefault:
786
+ required: false
764
787
  description: Picklist Option isDefault
765
788
  type: boolean
766
789
  isVisible:
790
+ required: false
767
791
  description: Picklist Option isVisible
768
792
  type: boolean
769
793
  name:
794
+ required: false
770
795
  description: Picklist Option Name
771
796
  type: string
772
797
  sequenceNumber:
798
+ required: false
773
799
  description: Picklist Option Sequence Number
774
800
  type: integer
775
801
  PreprocessorInputRepresentation:
@@ -961,6 +987,22 @@ types:
961
987
  required: false
962
988
  description: The id of the product
963
989
  type: string | nil
990
+ productName:
991
+ required: false
992
+ description: Name of the product
993
+ type: string | nil
994
+ description:
995
+ required: false
996
+ description: Description of the product
997
+ type: string | nil
998
+ displayUrl:
999
+ required: false
1000
+ description: displayUrl of the product
1001
+ type: string | nil
1002
+ productPrice:
1003
+ required: false
1004
+ description: 'Unit Price of the product'
1005
+ type: string | nil
964
1006
  ProductRequestCreateInputRepresentation:
965
1007
  description: Input Representation for Product Request.
966
1008
  type: object
@@ -1106,6 +1148,7 @@ types:
1106
1148
  - Delete
1107
1149
  - Update
1108
1150
  sequence:
1151
+ required: false
1109
1152
  description: The sequence of Section
1110
1153
  type: integer
1111
1154
  SectionOutputRepresentation:
@@ -1131,6 +1174,7 @@ types:
1131
1174
  description: Id of the Section
1132
1175
  type: string | nil
1133
1176
  sequence:
1177
+ required: false
1134
1178
  description: The sequence of Section
1135
1179
  type: integer
1136
1180
  AgentActionInputRepresentation:
@@ -1181,6 +1225,22 @@ types:
1181
1225
  - Active
1182
1226
  - Draft
1183
1227
  - Inactive
1228
+ ServiceRequestGetOutputRepresentation:
1229
+ description: Service Request Get Output Representation
1230
+ type: object
1231
+ properties:
1232
+ anchor:
1233
+ description: Anchor object list
1234
+ type: object
1235
+ properties:
1236
+ //:
1237
+ type: object
1238
+ customAttributes:
1239
+ description: Custom Attributes list
1240
+ type: object
1241
+ properties:
1242
+ //:
1243
+ type: object
1184
1244
  /connect/service-automation:
1185
1245
  /catalog:
1186
1246
  /catalog-item:
@@ -1207,6 +1267,10 @@ types:
1207
1267
  body:
1208
1268
  application/json:
1209
1269
  type: CatalogItemOutputRepresentation
1270
+ queryParameters:
1271
+ isRuntime:
1272
+ type: boolean
1273
+ required: false
1210
1274
  patch:
1211
1275
  displayName: patchCatalogItemGet
1212
1276
  description: Patches Catalog Item with Given Catalog item id.
@@ -1273,3 +1337,18 @@ types:
1273
1337
  application/json:
1274
1338
  type: IntakeFormCreationInputRepresentation
1275
1339
  (oas-body-name): omniGenerateRequestPayload
1340
+ /service-request/service-catalog-request/{serviceRequestId}:
1341
+ get:
1342
+ displayName: getServiceRequest
1343
+ description: ECM API to fetch Service request record based on Service Request Id.
1344
+ responses:
1345
+ '200':
1346
+ description: Success
1347
+ body:
1348
+ application/json:
1349
+ type: ServiceRequestGetOutputRepresentation
1350
+ uriParameters:
1351
+ serviceRequestId:
1352
+ description: serviceRequestId for which Service Request details have to be fetched.
1353
+ type: string
1354
+ required: true
@@ -50,3 +50,7 @@ types:
50
50
  post:
51
51
  (luvio.adapter):
52
52
  name: generateOmniScript
53
+ /connect/service-automation/service-request/service-catalog-request/{serviceRequestId}:
54
+ get:
55
+ (luvio.adapter):
56
+ name: getServiceRequest