@salesforce/lds-adapters-service-serviceemployee 0.1.0-dev1

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 (58) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/service-serviceemployee.js +3622 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/availableUserOptions.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getEmpEnablementPrograms.d.ts +30 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getFieldDetailsFromCompactLayout.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getUserProfileDetails.d.ts +16 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getUserSettings.d.ts +27 -0
  9. package/dist/es/es2018/types/src/generated/adapters/postEmployeeUserProvisioningJob.d.ts +14 -0
  10. package/dist/es/es2018/types/src/generated/adapters/updateUserSettings.d.ts +23 -0
  11. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
  12. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +11 -0
  13. package/dist/es/es2018/types/src/generated/resources/getConnectEmployeeEnablementPrograms.d.ts +18 -0
  14. package/dist/es/es2018/types/src/generated/resources/getConnectServiceEmployeeUserSettingsDetails.d.ts +15 -0
  15. package/dist/es/es2018/types/src/generated/resources/patchConnectServiceEmployeeUserSettings.d.ts +20 -0
  16. package/dist/es/es2018/types/src/generated/resources/postConnectEmployeeHubEmployeeProfileCardEmployeeDetails.d.ts +13 -0
  17. package/dist/es/es2018/types/src/generated/resources/postConnectEmployeeHubProfileUserByUserId.d.ts +15 -0
  18. package/dist/es/es2018/types/src/generated/resources/postConnectServiceEmployeeAvailableUserOptions.d.ts +18 -0
  19. package/dist/es/es2018/types/src/generated/resources/postConnectServiceEmployeeEmployeeUserProvisioning.d.ts +10 -0
  20. package/dist/es/es2018/types/src/generated/types/AvailableUserOptionsInputRepresentation.d.ts +31 -0
  21. package/dist/es/es2018/types/src/generated/types/AvailableUserOptionsOutputRepresentation.d.ts +44 -0
  22. package/dist/es/es2018/types/src/generated/types/EmailEncodingDetailsRepresentation.d.ts +31 -0
  23. package/dist/es/es2018/types/src/generated/types/EmployeeProfileCardFieldValueOutputRepresentation.d.ts +37 -0
  24. package/dist/es/es2018/types/src/generated/types/EmployeeProfileCardInputListRepresentation.d.ts +31 -0
  25. package/dist/es/es2018/types/src/generated/types/EmployeeProfileCardInputRepresentation.d.ts +34 -0
  26. package/dist/es/es2018/types/src/generated/types/EmployeeProfileCardListOutputRepresentation.d.ts +41 -0
  27. package/dist/es/es2018/types/src/generated/types/EmployeeProfileCardOutputRepresentation.d.ts +32 -0
  28. package/dist/es/es2018/types/src/generated/types/EmployeeProfileCardStatusOutputRepresentation.d.ts +31 -0
  29. package/dist/es/es2018/types/src/generated/types/EmployeeUserProvisioningJobInputRepresentation.d.ts +25 -0
  30. package/dist/es/es2018/types/src/generated/types/EmployeeUserProvisioningJobOutputRepresentation.d.ts +37 -0
  31. package/dist/es/es2018/types/src/generated/types/EnablementProgramItemDetailsOutputRepresentation.d.ts +46 -0
  32. package/dist/es/es2018/types/src/generated/types/EnablementProgramListOutputRepresentation.d.ts +36 -0
  33. package/dist/es/es2018/types/src/generated/types/EnablementProgramListStatusOutputRepresentation.d.ts +31 -0
  34. package/dist/es/es2018/types/src/generated/types/EnablementProgramOutputRepresentation.d.ts +83 -0
  35. package/dist/es/es2018/types/src/generated/types/EnablementProgramSectionOutputRepresentation.d.ts +31 -0
  36. package/dist/es/es2018/types/src/generated/types/EnablementProgramTaskOutputRepresentation.d.ts +55 -0
  37. package/dist/es/es2018/types/src/generated/types/GenericResultRepresentation.d.ts +40 -0
  38. package/dist/es/es2018/types/src/generated/types/LicenseDetailsInputRepresentation.d.ts +28 -0
  39. package/dist/es/es2018/types/src/generated/types/PermissionDetailsRepresentation.d.ts +37 -0
  40. package/dist/es/es2018/types/src/generated/types/PermissionSetGroupsDetailsRepresentation.d.ts +34 -0
  41. package/dist/es/es2018/types/src/generated/types/PermissionSetsDetailsRepresentation.d.ts +40 -0
  42. package/dist/es/es2018/types/src/generated/types/PermissionSetsInputRepresentation.d.ts +28 -0
  43. package/dist/es/es2018/types/src/generated/types/ProfileDetailsRepresentation.d.ts +37 -0
  44. package/dist/es/es2018/types/src/generated/types/ProgramPersonaOutputRepresentation.d.ts +34 -0
  45. package/dist/es/es2018/types/src/generated/types/ServiceEmployeeStatusOutputRepresentation.d.ts +31 -0
  46. package/dist/es/es2018/types/src/generated/types/UserProfileDetailOutputRepresentation.d.ts +31 -0
  47. package/dist/es/es2018/types/src/generated/types/UserProfileEntitySelectionInputRepresentation.d.ts +31 -0
  48. package/dist/es/es2018/types/src/generated/types/UserProfileFieldsInputRepresentation.d.ts +28 -0
  49. package/dist/es/es2018/types/src/generated/types/UserProfileInputRepresentation.d.ts +28 -0
  50. package/dist/es/es2018/types/src/generated/types/UserProfileOutputRepresentation.d.ts +41 -0
  51. package/dist/es/es2018/types/src/generated/types/UserSettingsInputRepresentation.d.ts +52 -0
  52. package/dist/es/es2018/types/src/generated/types/UserSettingsOutputRepresentations.d.ts +51 -0
  53. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  54. package/package.json +66 -0
  55. package/sfdc/index.d.ts +1 -0
  56. package/sfdc/index.js +3691 -0
  57. package/src/raml/api.raml +690 -0
  58. package/src/raml/luvio.raml +56 -0
@@ -0,0 +1,690 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '62.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v66.0
10
+ securitySchemes:
11
+ OAuth2:
12
+ type: OAuth 2.0
13
+ settings:
14
+ authorizationUri: https://example.com/oauth/authorize
15
+ accessTokenUri: ''
16
+ authorizationGrants:
17
+ - implicit
18
+ annotationTypes:
19
+ oas-readOnly:
20
+ type: boolean
21
+ allowedTargets: TypeDeclaration
22
+ oas-collectionFormat:
23
+ type: string
24
+ oas-body-name:
25
+ type: string
26
+ allowedTargets: TypeDeclaration
27
+ types:
28
+ AvailableUserOptionsInputRepresentation:
29
+ description: Input representation of payload for getting all user Settings List
30
+ type: object
31
+ properties:
32
+ permissionSets?:
33
+ description: The permissionSets to filter the get call
34
+ type: PermissionSetsInputRepresentation
35
+ profiles?:
36
+ description: The profile licenses to filter the get call
37
+ type: LicenseDetailsInputRepresentation
38
+ AvailableUserOptionsOutputRepresentation:
39
+ description: Output representation of AvailableUserOptions
40
+ type: object
41
+ properties:
42
+ emailEncodings:
43
+ description: List of emailEncodings
44
+ type: array
45
+ items:
46
+ type: EmailEncodingDetailsRepresentation
47
+ permissionSetGroups?:
48
+ description: List of Permission Set Groups
49
+ type: array
50
+ items:
51
+ type: PermissionSetGroupsDetailsRepresentation
52
+ permissionSets?:
53
+ description: List of permissionSets
54
+ type: array
55
+ items:
56
+ type: PermissionSetsDetailsRepresentation
57
+ profiles:
58
+ description: List of profiles
59
+ type: array
60
+ items:
61
+ type: ProfileDetailsRepresentation
62
+ employeeStatuses:
63
+ description: List of employee status
64
+ type: array
65
+ items:
66
+ type: string
67
+ EmailEncodingDetailsRepresentation:
68
+ description: Output representation for email emailEncodings for available user options
69
+ type: object
70
+ properties:
71
+ value:
72
+ description: The Value of the Email encoding
73
+ type: string
74
+ label:
75
+ description: The Label of the Email encoding
76
+ type: string
77
+ EmployeeProfileCardFieldValueOutputRepresentation:
78
+ description: Output representation to show field name, field value, display name,
79
+ field type of a compact layout on an entity on employee profile card
80
+ type: object
81
+ properties:
82
+ displayName:
83
+ description: display name based of the field on the given compact layout
84
+ type: string
85
+ fieldName:
86
+ description: field name based on the given compact layout
87
+ type: string
88
+ fieldType:
89
+ description: field type based on the given compact layout
90
+ type: string
91
+ fieldValue:
92
+ description: field value of the field name based on the given compact layout
93
+ type: string | nil # TODO Hand-rolled W-15814029
94
+ EmployeeProfileCardInputListRepresentation:
95
+ description: Input representation to fetch details for the given list of compact
96
+ layout
97
+ type: object
98
+ properties:
99
+ fieldDetails:
100
+ description: List of compact layout to fetch field details
101
+ type: array
102
+ items:
103
+ type: any # TODO Hand-rolled W-15814029
104
+ objectId:
105
+ description: Account id
106
+ type: string
107
+ EmployeeProfileCardInputRepresentation:
108
+ description: Input representation to fetch field details for a given compact layout
109
+ type: object
110
+ properties:
111
+ objectName:
112
+ description: Entity name for the given compact layout
113
+ type: string
114
+ type:
115
+ description: Type to fetch the field details from compact layout
116
+ type: string
117
+ typeId:
118
+ description: Id of the given compact layout
119
+ type: string
120
+ EmployeeProfileCardListOutputRepresentation:
121
+ description: Output representation to show list of field value of a given compact
122
+ layout on an entity on employee profile card
123
+ type: object
124
+ properties:
125
+ fieldValueDataList:
126
+ description: field value data list for employee profile card
127
+ type: array
128
+ items:
129
+ type: EmployeeProfileCardOutputRepresentation
130
+ status:
131
+ description: status of api for employee profile card
132
+ type: EmployeeProfileCardStatusOutputRepresentation
133
+ EmployeeProfileCardOutputRepresentation:
134
+ description: Output representation to show field value of a given compact layout
135
+ on an entity on employee card
136
+ type: object
137
+ properties:
138
+ entityName:
139
+ description: entity name of the given compact layout
140
+ type: string
141
+ fieldValueData:
142
+ description: field value data for the given compact layout
143
+ type: array
144
+ items:
145
+ type: EmployeeProfileCardFieldValueOutputRepresentation
146
+ EmployeeProfileCardStatusOutputRepresentation:
147
+ description: Output representation to show status and message for the api call
148
+ type: object
149
+ properties:
150
+ code:
151
+ description: get status code
152
+ type: integer
153
+ message:
154
+ description: get status message
155
+ type: string
156
+ EmployeeUserProvisioningJobInputRepresentation:
157
+ description: Input representation for creating a provisioning job
158
+ type: object
159
+ properties: {}
160
+ EmployeeUserProvisioningJobOutputRepresentation:
161
+ description: Output representation of creating a provisioning job
162
+ type: object
163
+ properties:
164
+ provisioningJobId:
165
+ description: Provisioning Job Id
166
+ type: string
167
+ GenericResultRepresentation:
168
+ description: Output representation of updating User Settings for Employee Service
169
+ type: object
170
+ properties:
171
+ statusCode:
172
+ description: The details of the status
173
+ type: string | nil
174
+ statusMessage:
175
+ description: The details of the status message
176
+ type: string | nil
177
+ LicenseDetailsInputRepresentation:
178
+ description: Input representation of payload for license as a filter criteria for profiles
179
+ type: object
180
+ properties:
181
+ licenses:
182
+ description: The licenses to be fed to filter the get call for profiles
183
+ type: array
184
+ items:
185
+ type: string
186
+ PermissionDetailsRepresentation:
187
+ description: Output representation of a Permission Details
188
+ type: object
189
+ properties:
190
+ description?:
191
+ description: The description of the permission
192
+ type: string
193
+ label?:
194
+ description: The label of the permission
195
+ type: string
196
+ permissionId?:
197
+ description: The permission id of the permission
198
+ type: string
199
+ permissionName?:
200
+ description: The permission name of the permission
201
+ type: string
202
+ PermissionSetsInputRepresentation:
203
+ description: Input representation of payload for Permission Sets
204
+ type: object
205
+ properties:
206
+ licenses:
207
+ description: The licenses to be fed to filter the get call for Permission
208
+ Sets
209
+ type: array
210
+ items:
211
+ type: string
212
+ PermissionSetGroupsDetailsRepresentation:
213
+ description: Output representation of a Permission Set Groups Details
214
+ type: object
215
+ properties:
216
+ id:
217
+ description: The Id of the permission set group
218
+ type: string
219
+ label:
220
+ description: The Label of the permission set group
221
+ type: string
222
+ name:
223
+ description: The Name of the permission set group
224
+ type: string
225
+ PermissionSetsDetailsRepresentation:
226
+ description: Output representation of a Permission Set Details
227
+ type: object
228
+ properties:
229
+ id:
230
+ description: The Id of the permission set
231
+ type: string
232
+ label:
233
+ description: The Label of the permission set
234
+ type: string
235
+ licenseId:
236
+ description: The LicenseId of the permission set
237
+ type: string
238
+ name:
239
+ description: The Name of the permission set
240
+ type: string
241
+ profileId:
242
+ description: The profile id of the profile linked to permission set
243
+ type: string
244
+ ProfileDetailsRepresentation:
245
+ description: Output representation of profile
246
+ type: object
247
+ properties:
248
+ licenseId?:
249
+ description: The LicenseId of the profile
250
+ type: string | nil
251
+ licenseName?:
252
+ description: The LicenseName of the profile
253
+ type: string | nil
254
+ profileId?:
255
+ description: The profile id of the profile
256
+ type: string | nil
257
+ profileName?:
258
+ description: The profile name of the profile
259
+ type: string | nil
260
+ UserProfileInputRepresentation:
261
+ description: Input representation of user profile for portal
262
+ type: object
263
+ properties:
264
+ userProfileEntity:
265
+ description: set the entity level information
266
+ type: array
267
+ items:
268
+ type: any
269
+ UserProfileFieldsInputRepresentation:
270
+ description: Input representation of user profile fields for portal
271
+ type: object
272
+ properties:
273
+ fieldApiName:
274
+ description: set the fieldAPIName for each field
275
+ type: string
276
+ UserProfileOutputRepresentation:
277
+ description: Output representation of user profile for portal
278
+ type: object
279
+ properties:
280
+ profileDetails:
281
+ description: set the profile details
282
+ type: array
283
+ items:
284
+ type: UserProfileDetailOutputRepresentation
285
+ status:
286
+ description: set the status
287
+ type: ServiceEmployeeStatusOutputRepresentation
288
+ UserProfileDetailOutputRepresentation:
289
+ description: Output representation to get the object level information for the entities chosen in user profile.
290
+ type: object
291
+ properties:
292
+ objectName:
293
+ description: set the object name
294
+ type: string
295
+ fieldData:
296
+ description: set the field data for this object
297
+ type: array
298
+ items:
299
+ type: any
300
+ ServiceEmployeeStatusOutputRepresentation:
301
+ description: Status code for fetch of user profile for portal
302
+ type: object
303
+ properties:
304
+ code:
305
+ description: set the status code
306
+ type: integer
307
+ message:
308
+ description: set the message
309
+ type: string
310
+ UserProfileEntitySelectionInputRepresentation:
311
+ description: Input representation of user profile for portal
312
+ type: object
313
+ properties:
314
+ objectName:
315
+ description: set the intents for deriving recommendations
316
+ type: string
317
+ fields:
318
+ description: set the intents for deriving recommendations
319
+ type: array
320
+ items:
321
+ type: any
322
+ UserSettingsInputRepresentation:
323
+ description: Input representation for User settings for Emp2+PA user creation
324
+ type: object
325
+ properties:
326
+ autoCreateFlag?:
327
+ description: The property to set the auto create flag for the Emp2+PA user
328
+ creation
329
+ type: boolean
330
+ autoDeactivateFlag?:
331
+ description: The property to set the auto deactivate flag for the Emp2+PA
332
+ user creation
333
+ type: boolean
334
+ domain?:
335
+ description: The property to set the domain for the Emp2+PA user creation
336
+ type: string
337
+ emailEncoding?:
338
+ description: The property to set the Email Encoding for the Emp2+PA user creation
339
+ type: string
340
+ permissionId?:
341
+ description: The property to set the permission set Id for the Emp2+PA user
342
+ creation
343
+ type: string
344
+ profileId?:
345
+ description: The property to set the profile id flag for the Emp2+PA user
346
+ creation
347
+ type: string
348
+ syncEmployee2Users?:
349
+ description: The property to set the sync Employee2 users flag for the Emp2+PA
350
+ user creation
351
+ type: boolean
352
+ employeeStatus?:
353
+ description: Employee Status
354
+ type: string
355
+ sourceOfInvocation?:
356
+ description: The property to set the source of user setting page
357
+ type: string
358
+ UserSettingsOutputRepresentations:
359
+ description: Output representation of User Settings for Employee Service
360
+ type: object
361
+ properties:
362
+ autoCreateFlag?:
363
+ description: The details of the auto create flag
364
+ type: boolean
365
+ autoDeactivateFlag?:
366
+ description: The details of the auto deactivate flag
367
+ type: boolean
368
+ domain?:
369
+ description: The details of the domain
370
+ type: string | nil
371
+ emailEncoding?:
372
+ description: The details of the Email encoding
373
+ type: string
374
+ permissionSetDetailsRepresentation?:
375
+ description: The details of the permission sets
376
+ type: PermissionDetailsRepresentation | nil
377
+ profileDetailsRepresentation?:
378
+ description: The details of the profile
379
+ type: ProfileDetailsRepresentation | nil
380
+ syncEmployee2Users:
381
+ description: The flag for the sync of Employee2 users
382
+ type: boolean
383
+ employeeStatus?:
384
+ description: Employee Status
385
+ type: string | nil
386
+ EnablementProgramItemDetailsOutputRepresentation:
387
+ description: Abstract Enablement Program Summary item representation
388
+ discriminator: type
389
+ type: object
390
+ properties:
391
+ description:
392
+ description: Description of the enablement program summary item
393
+ type: string
394
+ id:
395
+ description: Id of the enablement program summary item
396
+ type: string
397
+ sequenceNumber:
398
+ description: Sequence Number of the enablement task
399
+ type: integer
400
+ title:
401
+ description: Title of the enablement program summary item
402
+ type: string
403
+ type:
404
+ description: Type of enablement program summary item
405
+ type: string
406
+ enum:
407
+ - Milestone
408
+ - Section
409
+ - Task
410
+ EnablementProgramListOutputRepresentation:
411
+ description: List of Employee Enablement Program Summary Representations
412
+ type: object
413
+ properties:
414
+ hasMore:
415
+ description: Indicates if there are more programs available than the results
416
+ returned
417
+ type: boolean
418
+ programSummaryList:
419
+ description: List of employee enablement program summaries
420
+ type: array
421
+ items:
422
+ type: EnablementProgramOutputRepresentation
423
+ status:
424
+ description: 'status of api for employee enablement program list '
425
+ type: EnablementProgramListStatusOutputRepresentation
426
+ EnablementProgramListStatusOutputRepresentation:
427
+ description: Output representation to show status and message for the api call
428
+ type: object
429
+ properties:
430
+ code:
431
+ description: get status code
432
+ type: integer
433
+ message:
434
+ description: get status message
435
+ type: string
436
+ EnablementProgramOutputRepresentation:
437
+ description: Enablement Program Summary Representation
438
+ type: object
439
+ properties:
440
+ assigneeId:
441
+ description: Assignee of associated with the Program if applicable
442
+ type: string | nil
443
+ collaboratorPersona:
444
+ description: Collaborator persona details.
445
+ type: ProgramPersonaOutputRepresentation | nil
446
+ completedDate:
447
+ description: Completed date of the enablement program for the current user
448
+ type: string | nil
449
+ completedPercent:
450
+ description: Percent complete of the enablement program for the current user
451
+ format: double
452
+ type: number
453
+ description:
454
+ description: Description of the enablement program
455
+ type: string | nil
456
+ doesAllowSelfEnrollment:
457
+ description: Does the program allow self enrollment
458
+ type: boolean | nil
459
+ dueDate:
460
+ description: Due date for enablement program.
461
+ type: string | nil
462
+ id:
463
+ description: Id of the enablement program
464
+ type: string
465
+ isCompleted:
466
+ description: Indicates if the current user has completed the enablement program
467
+ type: boolean
468
+ isOverdue:
469
+ description: Indicates if the current user is overdue on the enablement program
470
+ type: boolean
471
+ items:
472
+ description: List of items for the enablement program
473
+ type: array
474
+ items:
475
+ # type: EnablementProgramItemDetailsOutputRepresentation
476
+ type: any
477
+ learningItemId:
478
+ description: Learning Item Id of the enablement program
479
+ type: string | nil
480
+ networkId:
481
+ description: Network ID of associated with the Program if applicable
482
+ type: string | nil
483
+ programEnrollmentType:
484
+ description: Enrollment type of the program like assigned and self enrolled
485
+ type: string | nil
486
+ programOverAllStatus:
487
+ description: Status of the program like Assigned InProgress
488
+ type: string | nil
489
+ programType:
490
+ description: The type of enablement program
491
+ type: string
492
+ enum:
493
+ - EmployeeServiceEnablement
494
+ - Enablement
495
+ - PtnrEnablement
496
+ status:
497
+ description: Status of the enablement program
498
+ type: string
499
+ enum:
500
+ - Archived
501
+ - Draft
502
+ - Published
503
+ systemModstamp:
504
+ description: System modification timestamp of the enablement program
505
+ type: string | nil
506
+ title:
507
+ description: Name of the enablement program
508
+ type: string | nil
509
+ EnablementProgramSectionOutputRepresentation:
510
+ description: Enablement program section with multiple tasks.
511
+ discriminatorValue: Section
512
+ type: EnablementProgramItemDetailsOutputRepresentation
513
+ properties:
514
+ tasks:
515
+ description: List of tasks for the enablement program section
516
+ type: array
517
+ items:
518
+ type: EnablementProgramTaskOutputRepresentation
519
+ EnablementProgramTaskOutputRepresentation:
520
+ description: Representation of enablement program task.
521
+ discriminatorValue: Task
522
+ type: EnablementProgramItemDetailsOutputRepresentation
523
+ properties:
524
+ completedDate:
525
+ description: The date the item was completed
526
+ type: string | nil
527
+ dueDate:
528
+ description: Due date for the current assignment
529
+ type: string | nil
530
+ isOverdue:
531
+ description: Indicates if the item is overdue or not
532
+ type: boolean | nil
533
+ learningItemId:
534
+ description: Learning Item Id of the enablement task
535
+ type: string | nil
536
+ personaConfig:
537
+ description: Metadata for the persona this task is assigned to.
538
+ type: object
539
+ properties:
540
+ //:
541
+ type: object
542
+ programDay:
543
+ description: The day the program task is due
544
+ type: integer
545
+ taskCategory:
546
+ description: Category Type of the enablement task
547
+ type: string
548
+ enum:
549
+ - Exercise
550
+ - Milestone
551
+ taskSubCategory:
552
+ description: Sub Category Type of the enablement task
553
+ type: string
554
+ ProgramPersonaOutputRepresentation:
555
+ description: Enablement program Collaborator Persona.
556
+ discriminatorValue: Persona
557
+ type: object
558
+ properties:
559
+ name:
560
+ description: Name of the Collaborator
561
+ type: string | nil
562
+ persona:
563
+ description: Persona of the Collaborator
564
+ type: string | nil
565
+ userId:
566
+ description: UserId of the Collaborator
567
+ type: string | nil
568
+ /connect:
569
+ /employee-hub/employee-profile-card/employee-details:
570
+ post:
571
+ displayName: postEmployeeCard
572
+ description: method for fetching the field details from a given compact layout
573
+ responses:
574
+ '200':
575
+ description: Success
576
+ body:
577
+ application/json:
578
+ type: EmployeeProfileCardListOutputRepresentation
579
+ body:
580
+ application/json:
581
+ type: EmployeeProfileCardInputListRepresentation
582
+ # TODO Hand-rolled W-15814029, removed 'required: false'
583
+ (oas-body-name): employeeProfileCardInputList
584
+ /employee-hub/profile/user/{userId}:
585
+ post:
586
+ displayName: getUserProfileDetails
587
+ description: Method for fetching the field details from a given set of entities and corresponding fields
588
+ responses:
589
+ '200':
590
+ description: Success
591
+ body:
592
+ application/json:
593
+ type: UserProfileOutputRepresentation
594
+ body:
595
+ application/json:
596
+ type: UserProfileInputRepresentation
597
+ (oas-body-name): userProfile
598
+ /employee/enablement/programs:
599
+ get:
600
+ displayName: getEmployeeEnablementPrograms
601
+ description: Enablement Program Summary Collection
602
+ responses:
603
+ '200':
604
+ description: Success
605
+ body:
606
+ application/json:
607
+ type: EnablementProgramListOutputRepresentation
608
+ queryParameters:
609
+ limit:
610
+ type: integer
611
+ required: false
612
+ offset:
613
+ type: integer
614
+ required: false
615
+ statusFilter:
616
+ type: array
617
+ required: false
618
+ items:
619
+ type: string
620
+ enum:
621
+ - All
622
+ - Assigned
623
+ - AvailableForSelfEnrollment
624
+ - Completed
625
+ - InProgress
626
+ - SelfEnrolled
627
+ (oas-collectionFormat): csv
628
+ userIds:
629
+ type: array
630
+ required: false
631
+ items:
632
+ type: string
633
+ (oas-collectionFormat): csv
634
+ /service-employee:
635
+ /employee-user-provisioning:
636
+ post:
637
+ displayName: postEmployeeUserProvisioningJob
638
+ description: API resource to initiate employee user provisioning
639
+ responses:
640
+ '200':
641
+ description: Success
642
+ body:
643
+ application/json:
644
+ type: EmployeeUserProvisioningJobOutputRepresentation
645
+ body:
646
+ application/json:
647
+ type: EmployeeUserProvisioningJobInputRepresentation
648
+ (oas-body-name): initiateEmpUserProvisioningInputRepresentation
649
+ /user-settings:
650
+ patch:
651
+ displayName: updateUserSettings
652
+ description: API to update user settings for creating user from EMP2 +PA
653
+ responses:
654
+ '200':
655
+ description: Success
656
+ body:
657
+ application/json:
658
+ type: GenericResultRepresentation
659
+ body:
660
+ application/json:
661
+ type: UserSettingsInputRepresentation
662
+ (oas-body-name): userSettingsInputReq
663
+ /user-settings/details:
664
+ get:
665
+ displayName: getUserSettings
666
+ description: API to get User setting for creating user from EMP2 +PA
667
+ responses:
668
+ '200':
669
+ description: Success
670
+ body:
671
+ application/json:
672
+ type: UserSettingsOutputRepresentations
673
+ queryParameters:
674
+ sourceOfInvocation:
675
+ type: string
676
+ required: false
677
+ /serviceEmployee/availableUserOptions:
678
+ post:
679
+ displayName: availableUserOptions
680
+ description: API resource to get all user Settings to be filled by admin for User provisioning
681
+ responses:
682
+ '200':
683
+ description: Success
684
+ body:
685
+ application/json:
686
+ type: AvailableUserOptionsOutputRepresentation
687
+ body:
688
+ application/json:
689
+ type: AvailableUserOptionsInputRepresentation
690
+ (oas-body-name): availableUserOptions