@salesforce/lds-adapters-industries-education 0.131.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 (46) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-education.js +2285 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createCarePlans.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getAvailableTimeSlots.d.ts +27 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getAvailableTopics.d.ts +25 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getSuccessTeam.d.ts +26 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
  10. package/dist/es/es2018/types/src/generated/resources/getConnectEducationAppointmentBookingAvailableTopics.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/resources/getConnectEducationSuccessTeamByAccountId.d.ts +15 -0
  12. package/dist/es/es2018/types/src/generated/resources/postConnectEducationAppointmentBookingAvailableTimeSlots.d.ts +16 -0
  13. package/dist/es/es2018/types/src/generated/resources/postConnectEducationCareplanBulk.d.ts +13 -0
  14. package/dist/es/es2018/types/src/generated/types/AvailableStaff.d.ts +60 -0
  15. package/dist/es/es2018/types/src/generated/types/AvailableTeam.d.ts +48 -0
  16. package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsInputRepresentation.d.ts +44 -0
  17. package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsInputRepresentationData.d.ts +30 -0
  18. package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsOuputRepresentation.d.ts +30 -0
  19. package/dist/es/es2018/types/src/generated/types/AvailableTopic.d.ts +42 -0
  20. package/dist/es/es2018/types/src/generated/types/AvailableTopicsOutputRepresentation.d.ts +30 -0
  21. package/dist/es/es2018/types/src/generated/types/BenefitAssignmentInputRepresentation.d.ts +72 -0
  22. package/dist/es/es2018/types/src/generated/types/BenefitAssignmentListInputRepresentation.d.ts +30 -0
  23. package/dist/es/es2018/types/src/generated/types/BenefitDisbursementForBenefitSessionInputRepresentation.d.ts +47 -0
  24. package/dist/es/es2018/types/src/generated/types/BenefitDisbursementListInputRepresentation.d.ts +30 -0
  25. package/dist/es/es2018/types/src/generated/types/CarePlanBulkInputRepresentation.d.ts +29 -0
  26. package/dist/es/es2018/types/src/generated/types/CarePlanBulkInputWrapperRepresentation.d.ts +29 -0
  27. package/dist/es/es2018/types/src/generated/types/CarePlanBulkOutputRepresentation.d.ts +45 -0
  28. package/dist/es/es2018/types/src/generated/types/CarePlanInputRepresentation.d.ts +68 -0
  29. package/dist/es/es2018/types/src/generated/types/CarePlanListInputRepresentation.d.ts +30 -0
  30. package/dist/es/es2018/types/src/generated/types/CarePlanTaskInputRepresentation.d.ts +50 -0
  31. package/dist/es/es2018/types/src/generated/types/CustomFieldInputRepresentation.d.ts +35 -0
  32. package/dist/es/es2018/types/src/generated/types/CustomFieldListInputRepresentation.d.ts +30 -0
  33. package/dist/es/es2018/types/src/generated/types/GetSuccessTeamResult.d.ts +40 -0
  34. package/dist/es/es2018/types/src/generated/types/GoalAssignmentInputRepresentation.d.ts +68 -0
  35. package/dist/es/es2018/types/src/generated/types/GoalAssignmentListInputRepresentation.d.ts +30 -0
  36. package/dist/es/es2018/types/src/generated/types/ServiceAppointment.d.ts +38 -0
  37. package/dist/es/es2018/types/src/generated/types/ServiceLocation.d.ts +32 -0
  38. package/dist/es/es2018/types/src/generated/types/SuccessTeamOutputRepresentation.d.ts +30 -0
  39. package/dist/es/es2018/types/src/generated/types/TimeSlot.d.ts +38 -0
  40. package/dist/es/es2018/types/src/generated/types/WorkType.d.ts +35 -0
  41. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
  42. package/package.json +69 -0
  43. package/sfdc/index.d.ts +1 -0
  44. package/sfdc/index.js +2339 -0
  45. package/src/raml/api.raml +703 -0
  46. package/src/raml/luvio.raml +35 -0
@@ -0,0 +1,703 @@
1
+ #%RAML 1.0
2
+ securedBy:
3
+ - OAuth2
4
+ title: Salesforce Connect API
5
+ version: '58.0'
6
+ mediaType: application/json
7
+ protocols:
8
+ - https
9
+ baseUri: /services/data/v58.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
+ AvailableStaff:
29
+ description: Representation of the available staff result.
30
+ type: object
31
+ properties:
32
+ caseId:
33
+ description: The ID of the case that’s available to the staff member.
34
+ type: string
35
+ required: false
36
+ caseRecordTypeName:
37
+ description: The record type name of the case that's available to the staff
38
+ member.
39
+ type: string
40
+ required: false
41
+ caseTeamRole:
42
+ description: The staff member's case team role.
43
+ type: string
44
+ required: false
45
+ email:
46
+ description: The staff member's email.
47
+ type: string
48
+ required: false
49
+ lastServiceAppointment:
50
+ description: The last appointment completed by the staff member for the associated
51
+ account.
52
+ type: ServiceAppointment
53
+ required: false
54
+ locations:
55
+ description: The service locations in the staff member’s service territories
56
+ that are available for scheduling.
57
+ type: object
58
+ required: false
59
+ properties:
60
+ //:
61
+ type: any
62
+ name:
63
+ description: The name of the staff member.
64
+ type: string
65
+ required: false
66
+ phone:
67
+ description: The staff member's phone number.
68
+ type: string
69
+ required: false
70
+ profilePhotoUrl:
71
+ description: The URL for the staff member's photo.
72
+ type: string
73
+ required: false
74
+ serviceResourceId:
75
+ description: The service resource ID for the staff.
76
+ type: string
77
+ required: false
78
+ AvailableTeam:
79
+ description: Representation of the available team result.
80
+ type: object
81
+ properties:
82
+ canSelfSchedule:
83
+ description: Indicates that a team is available for scheduling by the associated
84
+ account through Experience Cloud.
85
+ type: boolean
86
+ required: false
87
+ caseId:
88
+ description: The ID of the case that's related to the support of the associated
89
+ account.
90
+ type: string
91
+ required: false
92
+ caseRecordTypeName:
93
+ description: The record type name of the open case that's associated with
94
+ the account.
95
+ type: string
96
+ required: false
97
+ members:
98
+ description: List of staff members on the available team.
99
+ type: object
100
+ required: false
101
+ properties:
102
+ //:
103
+ type: any
104
+ name:
105
+ description: The name of the team that's available to support the associated
106
+ account.
107
+ type: string
108
+ required: false
109
+ teamId:
110
+ description: The ID of the team that's available to support the associated
111
+ account.
112
+ type: string
113
+ required: false
114
+ AvailableTimeSlotsInputRepresentation:
115
+ description: Contains the information to search for available appointment time
116
+ slots.
117
+ type: object
118
+ properties:
119
+ endTime:
120
+ description: Latest time that an appointment can end.
121
+ type: string
122
+ required: false
123
+ engagementChannelTypeIds:
124
+ description: The IDs of the engagement channel type records. Time slot availability
125
+ is based on the selected engagement channel types.
126
+ type: array
127
+ items:
128
+ type: string
129
+ serviceResourceIds:
130
+ description: List of service resource IDs to filter the API response.
131
+ type: array
132
+ items:
133
+ type: string
134
+ serviceTerritoryIds:
135
+ description: List of IDs for the service territories where the work will be
136
+ performed.
137
+ type: array
138
+ items:
139
+ type: string
140
+ startTime:
141
+ description: Earliest time that an appointment can begin. If empty, the default
142
+ is the time of the request.
143
+ type: string
144
+ required: false
145
+ workTypeGroupId:
146
+ description: ID of the work type group containing the work types that are
147
+ being performed.
148
+ type: string
149
+ AvailableTimeSlotsInputRepresentationData: #TODO: hand-rolled
150
+ description: A wrapper around AvailableTimeSlotsInputRepresentation
151
+ type: object
152
+ properties:
153
+ availableTimeSlotsInput:
154
+ description: The Oas Body name for get available time slots
155
+ type: AvailableTimeSlotsInputRepresentation
156
+ AvailableTimeSlotsOuputRepresentation:
157
+ description: Output of the post available time slots request.
158
+ type: object
159
+ properties:
160
+ timeSlots:
161
+ description: List of time slots that are available for scheduling.
162
+ type: array
163
+ items:
164
+ type: TimeSlot
165
+ AvailableTopic:
166
+ description: Representation of the available topic.
167
+ type: object
168
+ properties:
169
+ parentWorkTypeGroupName:
170
+ description: The name of the parent work type group of the topic that represents
171
+ the available topic.
172
+ type: string
173
+ required: false
174
+ serviceTerritoryWorkTypes:
175
+ description: Details about the topic that's available for scheduling for the
176
+ related service territories.
177
+ type: object
178
+ required: false
179
+ properties:
180
+ //:
181
+ type: any
182
+ workTypeGroupId:
183
+ description: The ID of the work type group that represents the available topic.
184
+ type: string
185
+ required: false
186
+ workTypeGroupName:
187
+ description: The name of the work type group that represents the available
188
+ topic.
189
+ type: string
190
+ required: false
191
+ AvailableTopicsOutputRepresentation:
192
+ description: Output representation of the get available topics request.
193
+ type: object
194
+ properties:
195
+ topics:
196
+ description: List of topics that are available for scheduling.
197
+ type: array
198
+ items:
199
+ type: AvailableTopic
200
+ CarePlanBulkInputWrapperRepresentation:
201
+ #TODO Hand rolled due to W-8334626
202
+ description: Wrapper for careplan record input representation
203
+ type: object
204
+ properties:
205
+ carePlanBulkRecord:
206
+ type: CarePlanBulkInputRepresentation
207
+ description: Careplan bulk input representation
208
+ CarePlanBulkInputRepresentation:
209
+ description: Input representation for Care Plan Bulk
210
+ type: object
211
+ properties:
212
+ carePlans:
213
+ description: List of Care Plans for bulk
214
+ type: CarePlanListInputRepresentation
215
+ CarePlanBulkOutputRepresentation:
216
+ description: Bulk Output Representation
217
+ type: object
218
+ properties:
219
+ errorMessage:
220
+ description: API message
221
+ type: string
222
+ required: false
223
+ numberOfCarePlans:
224
+ description: Number of careplans submitted
225
+ type: integer
226
+ required: false
227
+ statusCode:
228
+ description: API code
229
+ type: string
230
+ CarePlanListInputRepresentation:
231
+ description: Input representation for List of Care Plans
232
+ type: object
233
+ properties:
234
+ records:
235
+ description: List of Care Plans
236
+ type: array
237
+ items:
238
+ type: CarePlanInputRepresentation
239
+ CarePlanInputRepresentation:
240
+ description: Input representation for Care Plan
241
+ type: object
242
+ properties:
243
+ benefitAssignments:
244
+ description: BenefitAssignments of the CarePlan
245
+ # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
246
+ type: BenefitAssignmentListInputRepresentation
247
+ required: false # TODO Hand-rolled W-9314597
248
+ carePlanTasks:
249
+ description: Tasks for a Care Plan
250
+ type: CarePlanTaskInputRepresentation
251
+ required: false # TODO Hand-rolled W-9314597
252
+ carePlanTemplateId:
253
+ description: CarePlanTemplateId of the CarePlan
254
+ type: string
255
+ required: false # TODO Hand-rolled W-9314597
256
+ caseId:
257
+ description: CaseId of the CarePlan
258
+ type: string
259
+ customFields:
260
+ description: CustomFields of the CarePlan
261
+ type: CustomFieldListInputRepresentation
262
+ required: false # TODO Hand-rolled W-9314597
263
+ description:
264
+ description: Description of the CarePlan
265
+ type: string
266
+ required: false # TODO Hand-rolled W-9314597
267
+ endDate:
268
+ description: EndDate of the CarePlan
269
+ type: string
270
+ required: false # TODO Hand-rolled W-9314597
271
+ goalAssignments:
272
+ description: GoalAssignments of the CarePlan
273
+ # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
274
+ type: GoalAssignmentListInputRepresentation
275
+ required: false # TODO Hand-rolled W-9314597
276
+ id:
277
+ description: Id of the CarePlan
278
+ type: string
279
+ required: false # TODO Hand-rolled W-9314597
280
+ medicationTherapyReview:
281
+ description: MedicationTherapyReview of the CarePlan
282
+ type: string
283
+ required: false # TODO Hand-rolled W-9314597
284
+ name:
285
+ description: Name of the CarePlan
286
+ type: string
287
+ participantId:
288
+ description: Participant of the CarePlan
289
+ type: string
290
+ startDate:
291
+ description: StartDate of the CarePlan
292
+ type: string
293
+ required: false # TODO Hand-rolled W-9314597
294
+ status:
295
+ description: Status of the CarePlan
296
+ type: string
297
+ GoalAssignmentInputRepresentation:
298
+ description: Input representation for GoalAssignment
299
+ type: object
300
+ properties:
301
+ completionDate:
302
+ description: CompletionDate of the GoalAssignment
303
+ type: string
304
+ required: false # TODO Hand-rolled W-9314597
305
+ completionPercentage:
306
+ description: CompletionPercentage of the GoalAssignment
307
+ format: double
308
+ type: number
309
+ required: false # TODO Hand-rolled W-9314597
310
+ customFields:
311
+ description: CustomFields of the GoalAssignment
312
+ type: CustomFieldListInputRepresentation
313
+ required: false # TODO Hand-rolled W-9314597
314
+ description:
315
+ description: Description of the Goal Assignment
316
+ type: string
317
+ required: false # TODO Hand-rolled W-9314597
318
+ goalAssigneeId:
319
+ description: GoalAssigneeId of the GoalAssignment
320
+ type: string
321
+ required: false # TODO Hand-rolled W-9314597
322
+ goalAssignmentTasks:
323
+ description: Tasks for Goal Assignment
324
+ type: CarePlanTaskInputRepresentation
325
+ required: false # TODO Hand-rolled W-9314597
326
+ goalDefinitionId:
327
+ description: GoalDefinitionId of the GoalAssignment
328
+ type: string
329
+ id:
330
+ description: Id of the GoalAssignment
331
+ type: string
332
+ required: false # TODO Hand-rolled W-9314597
333
+ priority:
334
+ description: Priority of the GoalAssignment
335
+ type: string
336
+ required: false # TODO Hand-rolled W-9314597
337
+ startDate:
338
+ description: StartDate of the GoalAssignment
339
+ type: string
340
+ required: false # TODO Hand-rolled W-9314597
341
+ status:
342
+ description: Status of the GoalAssignment
343
+ type: string
344
+ required: false # TODO Hand-rolled W-9314597
345
+ targetCompletionDate:
346
+ description: TargetCompletionDate of the GoalAssignment
347
+ type: string
348
+ required: false # TODO Hand-rolled W-9314597
349
+ associatedBenefitAssignments:
350
+ description: Associated SubBenefit Assignments
351
+ type: BenefitAssignmentListInputRepresentation
352
+ required: false
353
+ associatedSubGoalAssignments:
354
+ description: Associated Sub Goal Assignments
355
+ type: GoalAssignmentListInputRepresentation
356
+ required: false
357
+ GoalAssignmentListInputRepresentation:
358
+ description: Input representation for List of GoalAssignment
359
+ type: object
360
+ properties:
361
+ records:
362
+ description: List of GoalAssignments
363
+ type: array
364
+ items:
365
+ # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
366
+ type: GoalAssignmentInputRepresentation
367
+ CarePlanTaskInputRepresentation:
368
+ description: Input representation for Care Plan Task
369
+ type: object
370
+ properties:
371
+ assignedTo:
372
+ description: Care Plan Task assignee
373
+ type: string
374
+ required: false # TODO Hand-rolled W-9314597
375
+ comment:
376
+ description: Care Plan Task comment
377
+ type: string
378
+ required: false # TODO Hand-rolled W-9314597
379
+ dueDate:
380
+ description: Care Plan Task due date
381
+ type: string
382
+ required: false # TODO Hand-rolled W-9314597
383
+ id:
384
+ description: Id of the Task
385
+ type: string
386
+ required: false # TODO Hand-rolled W-9314597
387
+ priority:
388
+ description: Care Plan Task priority
389
+ type: string
390
+ required: false # TODO Hand-rolled W-9314597
391
+ status:
392
+ description: Care Plan Task Status
393
+ type: string
394
+ required: false # TODO Hand-rolled W-9314597
395
+ subject:
396
+ description: Care Plan Task subject
397
+ type: string
398
+ required: false # TODO Hand-rolled W-9314597
399
+ isRequired:
400
+ description: isRequired field for Task record
401
+ type: boolean
402
+ required: false
403
+ BenefitAssignmentInputRepresentation:
404
+ description: Input representation for BenefitAssignment
405
+ type: object
406
+ properties:
407
+ benefitAssignmentTasks:
408
+ description: Tasks for Benefit Assignment
409
+ type: CarePlanTaskInputRepresentation
410
+ required: false # TODO Hand-rolled W-9314597
411
+ benefitDisbursements:
412
+ description: Benefit disbursements of the Benefit Assignment
413
+ type: BenefitDisbursementListInputRepresentation
414
+ required: false # TODO Hand-rolled W-9314597
415
+ benefitFrequency:
416
+ description: BenefitFrequency of the BenefitAssignment
417
+ type: string
418
+ required: false # TODO Hand-rolled W-9314597
419
+ benefitId:
420
+ description: Benefit Id of the Benefit
421
+ type: string
422
+ customFields:
423
+ description: CustomFields of the BenefitAssignment
424
+ type: CustomFieldListInputRepresentation
425
+ required: false # TODO Hand-rolled W-9314597
426
+ endDate:
427
+ description: EndDate of the BenefitAssignment
428
+ type: string
429
+ required: false # TODO Hand-rolled W-9314597
430
+ enrollmentCount:
431
+ description: EnrollmentCount of the BenefitAssignment
432
+ type: integer
433
+ required: false # TODO Hand-rolled W-9314597
434
+ entitlementAmount:
435
+ description: EntitlementAmount of the BenefitAssignment
436
+ format: double
437
+ type: number
438
+ required: false # TODO Hand-rolled W-9314597
439
+ id:
440
+ description: Id of the BenefitAssignment
441
+ type: string
442
+ required: false # TODO Hand-rolled W-9314597
443
+ maximumAmount:
444
+ description: MaximumAmount of the BenefitAssignment
445
+ format: double
446
+ type: number
447
+ required: false # TODO Hand-rolled W-9314597
448
+ participantId:
449
+ description: ParticipantId of the BenefitAssignment
450
+ type: string
451
+ payoutFrequency:
452
+ description: PayoutFrequency of the BenefitAssignment
453
+ type: string
454
+ required: false # TODO Hand-rolled W-9314597
455
+ priority:
456
+ description: Priority of the BenefitAssignment
457
+ type: string
458
+ required: false # TODO Hand-rolled W-9314597
459
+ startDate:
460
+ description: StartDate of BenefitAssignment
461
+ type: string
462
+ required: false # TODO Hand-rolled W-9314597
463
+ status:
464
+ description: Status of the BenefitAssignment
465
+ type: string
466
+ required: false # TODO Hand-rolled W-9314597
467
+ BenefitAssignmentListInputRepresentation:
468
+ description: Input representation for List of BenefitAssignments
469
+ type: object
470
+ properties:
471
+ records:
472
+ description: List of BenefitAssignments
473
+ type: array
474
+ items:
475
+ # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
476
+ type: BenefitAssignmentInputRepresentation
477
+ CustomFieldInputRepresentation:
478
+ description: Input representation for Custom Field
479
+ type: object
480
+ properties:
481
+ dataType:
482
+ description: Data Type of custom field
483
+ type: string
484
+ required: false # TODO Hand-rolled W-9314597
485
+ enum:
486
+ - Boolean
487
+ - DateOnly
488
+ - DateTime
489
+ - MultiEnum
490
+ - Number
491
+ - String
492
+ - TimeOnly
493
+ fieldName:
494
+ description: Field Name of custom field
495
+ type: string
496
+ fieldValue:
497
+ description: Field Value of custom field
498
+ type: any
499
+ CustomFieldListInputRepresentation:
500
+ description: Input representation for List of CustomFields
501
+ type: object
502
+ properties:
503
+ records:
504
+ description: List of CustomFields
505
+ type: array
506
+ items:
507
+ # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
508
+ type: CustomFieldInputRepresentation
509
+ BenefitDisbursementForBenefitSessionInputRepresentation:
510
+ description: Input representation for Benefit Disbursement
511
+ type: object
512
+ properties:
513
+ actualCompletionDate:
514
+ description: date at which disbursement happened
515
+ type: string
516
+ benefitCategory:
517
+ description: Category of Benefit
518
+ type: string
519
+ required: false # TODO Hand-rolled W-9314597
520
+ benefitSessionId:
521
+ description: Benefit Session Id
522
+ type: string
523
+ description:
524
+ description: Description for Benefit Disbursement
525
+ type: string
526
+ required: false # TODO Hand-rolled W-9314597
527
+ disbursementStatus:
528
+ description: Benefit Disbursement Status
529
+ type: string
530
+ required: false # TODO Hand-rolled W-9314597
531
+ endDate:
532
+ description: date at which disbursement Ends
533
+ type: string
534
+ required: false # TODO Hand-rolled W-9314597
535
+ startDate:
536
+ description: date at which disbursement Starts
537
+ type: string
538
+ required: false # TODO Hand-rolled W-9314597
539
+ BenefitDisbursementListInputRepresentation:
540
+ description: Input representation for List of BenefitDisbursements
541
+ type: object
542
+ properties:
543
+ records:
544
+ description: List of Benefit Disbursements
545
+ type: array
546
+ items:
547
+ # TODO Hand-Rolled due to issue #16 in in Generated RAML Gaps (https://salesforce.quip.com/NxVhAkxL6RTW#dGQACAxyxIv)
548
+ type: BenefitDisbursementForBenefitSessionInputRepresentation
549
+ GetSuccessTeamResult:
550
+ description: Representation of the get success team request.
551
+ type: object
552
+ properties:
553
+ assignedStaff:
554
+ description: List of staff members who are assigned to the case and are available
555
+ to support the associated account.
556
+ type: object
557
+ properties:
558
+ //:
559
+ type: any
560
+ assignedTeams:
561
+ description: List of teams that are assigned to the case for the associated
562
+ account.
563
+ type: array
564
+ items:
565
+ type: AvailableTeam
566
+ unassignedTeams:
567
+ description: List of teams that aren't assigned to the case and are available
568
+ to support the associated account.
569
+ type: array
570
+ items:
571
+ type: AvailableTeam
572
+ ServiceAppointment:
573
+ description: Representation of the service appointment.
574
+ type: object
575
+ properties:
576
+ appointmentDate:
577
+ description: The date of the last service appointment.
578
+ type: string
579
+ required: false
580
+ serviceAppointmentId:
581
+ description: The ID of the last service appointment.
582
+ type: string
583
+ required: false
584
+ workTypeId:
585
+ description: The work type ID of the last service appointment.
586
+ type: string
587
+ required: false
588
+ workTypeName:
589
+ description: The work type name of the last service appointment.
590
+ type: string
591
+ required: false
592
+ ServiceLocation:
593
+ description: Representation of the service location result.
594
+ type: object
595
+ properties:
596
+ name:
597
+ description: The name of a service location in a service territory.
598
+ type: string
599
+ required: false
600
+ parentLocations:
601
+ description: List of parent locations associated with a location.
602
+ type: array
603
+ required: false
604
+ items:
605
+ type: string
606
+ SuccessTeamOutputRepresentation:
607
+ description: Output of the get success team request.
608
+ type: object
609
+ properties:
610
+ result:
611
+ description: Staff members and teams who are available to support the associated
612
+ account.
613
+ type: GetSuccessTeamResult
614
+ TimeSlot:
615
+ description: Representation of the time slot.
616
+ type: object
617
+ properties:
618
+ endTime:
619
+ description: The date and time that the time slot ends.
620
+ type: string
621
+ required: false
622
+ serviceResourceId:
623
+ description: ID of the service resource that's associated with the time slot.
624
+ type: string
625
+ required: false
626
+ serviceTerritoryId:
627
+ description: ID of the service territory that's associated with the time slot.
628
+ type: string
629
+ required: false
630
+ startTime:
631
+ description: The date and time that the time slot starts.
632
+ type: string
633
+ required: false
634
+ WorkType:
635
+ description: Representation of the work type.
636
+ type: object
637
+ properties:
638
+ workDurationType:
639
+ description: The units of time for the completion of the work.
640
+ type: string
641
+ required: false
642
+ workEstimatedDuration:
643
+ description: The length of time allocated for the completion of the work.
644
+ format: double
645
+ type: number
646
+ required: false
647
+ workTypeId:
648
+ description: The ID of the type of work to be performed.
649
+ type: string
650
+ required: false
651
+ /connect/education:
652
+ /appointment-booking:
653
+ /available-time-slots:
654
+ post:
655
+ description: Returns a list of available appointment time slots for a resource
656
+ based on work type group and service territories.
657
+ responses:
658
+ '200':
659
+ description: Success
660
+ body:
661
+ application/json:
662
+ type: AvailableTimeSlotsOuputRepresentation
663
+ body:
664
+ application/json:
665
+ type: AvailableTimeSlotsInputRepresentationData
666
+ (oas-body-name): availableTimeSlotsInput
667
+ /available-topics:
668
+ get:
669
+ description: Returns a list of available topics for scheduling.
670
+ responses:
671
+ '200':
672
+ description: Success
673
+ body:
674
+ application/json:
675
+ type: AvailableTopicsOutputRepresentation
676
+ /careplan/bulk:
677
+ post:
678
+ description: API to create CarePlans in bulk and it's related record
679
+ responses:
680
+ '200':
681
+ description: Success
682
+ body:
683
+ application/json:
684
+ type: CarePlanBulkOutputRepresentation
685
+ body:
686
+ #TODO Hand rolled due to W-8334626
687
+ application/json:
688
+ type: CarePlanBulkInputWrapperRepresentation
689
+ (oas-body-name): carePlanBulkRecord
690
+ /{accountId}/success-team:
691
+ get:
692
+ description: Returns a list of teams and staff that are available to support
693
+ an account.
694
+ responses:
695
+ '200':
696
+ description: Success
697
+ body:
698
+ application/json:
699
+ type: SuccessTeamOutputRepresentation
700
+ uriParameters:
701
+ accountId:
702
+ type: string
703
+ required: true