@salesforce/lds-adapters-service-ecm 1.342.0 → 1.344.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 (20) hide show
  1. package/dist/es/es2018/service-ecm.js +1346 -138
  2. package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +5 -0
  3. package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +5 -0
  4. package/dist/es/es2018/types/src/generated/resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +5 -0
  5. package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationCatalogCatalogItem.d.ts +5 -0
  6. package/dist/es/es2018/types/src/generated/types/AgentActionInputRepresentation.d.ts +37 -0
  7. package/dist/es/es2018/types/src/generated/types/AgentActionOutputRepresentation.d.ts +34 -0
  8. package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +12 -1
  9. package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +12 -1
  10. package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +12 -1
  11. package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentation.d.ts +34 -0
  12. package/dist/es/es2018/types/src/generated/types/ProductDetailsOutputRepresentation.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/ProductRequestCreateInputRepresentation.d.ts +46 -0
  14. package/dist/es/es2018/types/src/generated/types/ProductRequestOutputRepresentation.d.ts +47 -0
  15. package/dist/es/es2018/types/src/generated/types/ProductRequestUpdateInputRepresentation.d.ts +49 -0
  16. package/dist/es/es2018/types/src/generated/types/SectionInputRepresentation.d.ts +40 -0
  17. package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +4 -1
  18. package/package.json +3 -3
  19. package/sfdc/index.js +1347 -139
  20. package/src/raml/api.raml +286 -2
package/src/raml/api.raml CHANGED
@@ -113,8 +113,10 @@ types:
113
113
  type: string | nil
114
114
  enum:
115
115
  - Boolean
116
+ - CheckBox
117
+ - Currency
116
118
  - Date
117
- - DateTime
119
+ - Datetime
118
120
  - Double
119
121
  - List
120
122
  - ListOfBoolean
@@ -125,6 +127,7 @@ types:
125
127
  - Lookup
126
128
  - Map
127
129
  - Number
130
+ - Percentage
128
131
  - Picklist
129
132
  - Text
130
133
  defaultValue:
@@ -189,8 +192,10 @@ types:
189
192
  type: string | nil
190
193
  enum:
191
194
  - Boolean
195
+ - CheckBox
196
+ - Currency
192
197
  - Date
193
- - DateTime
198
+ - Datetime
194
199
  - Double
195
200
  - List
196
201
  - ListOfBoolean
@@ -201,6 +206,7 @@ types:
201
206
  - Lookup
202
207
  - Map
203
208
  - Number
209
+ - Percentage
204
210
  - Picklist
205
211
  - Text
206
212
  defaultValue:
@@ -255,6 +261,10 @@ types:
255
261
  description: Configuration of the Catalog Item.
256
262
  type: object
257
263
  properties:
264
+ agentAction:
265
+ required: false
266
+ description: Agent Action for the Catalog Item
267
+ type: AgentActionInputRepresentation | nil
258
268
  associatedArticles:
259
269
  required: false
260
270
  description: Knowledge Articles
@@ -313,6 +323,18 @@ types:
313
323
  type: array
314
324
  items:
315
325
  type: PreprocessorInputRepresentation | nil
326
+ productRequests:
327
+ required: false
328
+ description: ProductRequests
329
+ type: array
330
+ items:
331
+ type: ProductRequestCreateInputRepresentation | nil
332
+ targetObject:
333
+ description: TargetObject
334
+ type: string | nil
335
+ enum:
336
+ - Case
337
+ - Incident
316
338
  usedFor:
317
339
  required: false
318
340
  description: UsedFor
@@ -323,6 +345,10 @@ types:
323
345
  description: Output Representation of Catalog Item
324
346
  type: object
325
347
  properties:
348
+ agentAction:
349
+ required: false
350
+ description: Agent Action
351
+ type: AgentActionOutputRepresentation | nil
326
352
  associatedArticles:
327
353
  required: false
328
354
  description: Knowledge Articles
@@ -387,6 +413,19 @@ types:
387
413
  type: array
388
414
  items:
389
415
  type: PreprocessorOutputRepresentation | nil
416
+ productRequests:
417
+ required: false
418
+ description: ProductRequests
419
+ type: array
420
+ items:
421
+ type: ProductRequestOutputRepresentation | nil
422
+ targetObject:
423
+ required: false
424
+ description: Target Object
425
+ type: string | nil
426
+ enum:
427
+ - Case
428
+ - Incident
390
429
  usedFor:
391
430
  required: false
392
431
  description: usedFor of the Catalog Item
@@ -397,6 +436,10 @@ types:
397
436
  description: The configuration of updates to the CatalogItem
398
437
  type: object
399
438
  properties:
439
+ agentAction:
440
+ required: false
441
+ description: Agent Action for the Catalog Item
442
+ type: AgentActionInputRepresentation | nil
400
443
  productId:
401
444
  required: false
402
445
  description: The ID of the catalog Item
@@ -459,6 +502,19 @@ types:
459
502
  type: array
460
503
  items:
461
504
  type: PreprocessorInputRepresentation | nil
505
+ productRequests:
506
+ required: false
507
+ description: ProductRequests
508
+ type: array
509
+ items:
510
+ type: ProductRequestCreateInputRepresentation | nil
511
+ targetObject:
512
+ required: false
513
+ description: Target Object
514
+ type: string | nil
515
+ enum:
516
+ - Case
517
+ - Incident
462
518
  usedFor:
463
519
  required: false
464
520
  description: UsedFor
@@ -787,6 +843,182 @@ types:
787
843
  scriptName:
788
844
  description: Omni Script Name
789
845
  type: string
846
+ ProductDetailsInputRepresentation:
847
+ description: Input Representation for Product Details.
848
+ type: object
849
+ properties:
850
+ id:
851
+ required: false
852
+ description: The id of the parent product
853
+ type: string | nil
854
+ operationType:
855
+ required: false
856
+ description: The operation type of the catalog Item
857
+ type: string | nil
858
+ enum:
859
+ - Create
860
+ - Delete
861
+ - Update
862
+ productId:
863
+ required: false
864
+ description: The id of the product
865
+ type: string | nil
866
+ ProductDetailsOutputRepresentation:
867
+ description: Output Representation for Product Details
868
+ type: object
869
+ properties:
870
+ id:
871
+ required: false
872
+ description: The id of the product request
873
+ type: string | nil
874
+ productId:
875
+ required: false
876
+ description: The id of the product
877
+ type: string | nil
878
+ ProductRequestCreateInputRepresentation:
879
+ description: Input Representation for Product Request.
880
+ type: object
881
+ properties:
882
+ operationType:
883
+ required: false
884
+ description: Operation Type of the product request section
885
+ type: string | nil
886
+ enum:
887
+ - Create
888
+ - Delete
889
+ - Update
890
+ productDetails:
891
+ required: false
892
+ description: Product Details
893
+ type: array
894
+ items:
895
+ type: any
896
+ sectionDescription:
897
+ required: false
898
+ description: Section Description
899
+ type: string | nil
900
+ sectionMaxCount:
901
+ required: false
902
+ description: Section max count
903
+ type: integer | nil
904
+ sectionMinCount:
905
+ required: false
906
+ description: Section min count
907
+ type: integer | nil
908
+ sectionName:
909
+ required: false
910
+ description: Section Name
911
+ type: string | nil
912
+ sequence:
913
+ required: false
914
+ description: Sequence
915
+ type: integer | nil
916
+ ProductRequestOutputRepresentation:
917
+ description: Output Representation for Product Request
918
+ type: object
919
+ properties:
920
+ productDetails:
921
+ required: false
922
+ description: Product Details
923
+ type: array
924
+ items:
925
+ type: ProductDetailsOutputRepresentation
926
+ sectionDescription:
927
+ required: false
928
+ description: Section Description
929
+ type: string | nil
930
+ sectionId:
931
+ required: false
932
+ description: Section Id
933
+ type: string | nil
934
+ sectionMaxCount:
935
+ required: false
936
+ description: Section max count
937
+ type: integer | nil
938
+ sectionMinCount:
939
+ required: false
940
+ description: Section min count
941
+ type: integer | nil
942
+ sectionName:
943
+ required: false
944
+ description: Section Name
945
+ type: string | nil
946
+ sequence:
947
+ required: false
948
+ description: Sequence
949
+ type: integer | nil
950
+ ProductRequestUpdateInputRepresentation:
951
+ description: Input Representation for Product Request.
952
+ type: object
953
+ properties:
954
+ operationType:
955
+ required: false
956
+ description: Operation Type of the product request section
957
+ type: string | nil
958
+ enum:
959
+ - Create
960
+ - Delete
961
+ - Update
962
+ productDetails:
963
+ required: false
964
+ description: Product Details
965
+ type: array
966
+ items:
967
+ type: any
968
+ sectionDescription:
969
+ required: false
970
+ description: Section Description
971
+ type: string | nil
972
+ sectionId:
973
+ required: false
974
+ description: Section Id
975
+ type: string | nil
976
+ sectionMaxCount:
977
+ required: false
978
+ description: Section max count
979
+ type: integer | nil
980
+ sectionMinCount:
981
+ required: false
982
+ description: Section min count
983
+ type: integer | nil
984
+ sectionName:
985
+ required: false
986
+ description: Section Name
987
+ type: string | nil
988
+ sequence:
989
+ required: false
990
+ description: Section Sequence
991
+ type: integer | nil
992
+ SectionInputRepresentation:
993
+ description: Input Representation for Sections
994
+ type: object
995
+ properties:
996
+ attributes:
997
+ required: false
998
+ description: Attributes associated with Section
999
+ type: array
1000
+ items:
1001
+ type: any
1002
+ description:
1003
+ required: false
1004
+ description: The Description of Section
1005
+ type: string | nil
1006
+ id:
1007
+ required: false
1008
+ description: The ID of Section
1009
+ type: string | nil
1010
+ name:
1011
+ required: false
1012
+ description: The Name of Section
1013
+ type: string | nil
1014
+ operationType:
1015
+ required: false
1016
+ description: The operation type of the section
1017
+ type: string | nil
1018
+ enum:
1019
+ - Create
1020
+ - Delete
1021
+ - Update
790
1022
  SectionOutputRepresentation:
791
1023
  description: Output Representation for Section
792
1024
  type: object
@@ -805,6 +1037,58 @@ types:
805
1037
  type: array
806
1038
  items:
807
1039
  type: CatalogItemAttributeOutputRepresentation | nil
1040
+ id:
1041
+ required: false
1042
+ description: Id of the Section
1043
+ type: string | nil
1044
+ AgentActionInputRepresentation:
1045
+ description: Input Representation for Agent Action
1046
+ type: object
1047
+ properties:
1048
+ agentActionId:
1049
+ required: false
1050
+ description: The ID of the Agent Action
1051
+ type: string | nil
1052
+ id:
1053
+ required: false
1054
+ description: The ID of the Product Configuration Flow associated
1055
+ type: string | nil
1056
+ operationType:
1057
+ required: false
1058
+ description: The operation type for the updation or addition
1059
+ type: string | nil
1060
+ enum:
1061
+ - Create
1062
+ - Delete
1063
+ - Update
1064
+ status:
1065
+ required: false
1066
+ description: The Agent Action status for the service process
1067
+ type: string | nil
1068
+ enum:
1069
+ - Active
1070
+ - Draft
1071
+ - Inactive
1072
+ AgentActionOutputRepresentation:
1073
+ description: Output Representation for Agent Action
1074
+ type: object
1075
+ properties:
1076
+ agentActionId:
1077
+ required: false
1078
+ description: Agent Action Id
1079
+ type: string | nil
1080
+ id:
1081
+ required: false
1082
+ description: Product Configuration Flow Id
1083
+ type: string | nil
1084
+ status:
1085
+ required: false
1086
+ description: Status for the Agent Action
1087
+ type: string | nil
1088
+ enum:
1089
+ - Active
1090
+ - Draft
1091
+ - Inactive
808
1092
  /connect/service-automation:
809
1093
  /catalog:
810
1094
  /catalog-item: