( scheduleId: string, options: SchedulesAPI.UpdateScheduleOptions )
| 66 | * @returns The updated schedule |
| 67 | */ |
| 68 | export function update( |
| 69 | scheduleId: string, |
| 70 | options: SchedulesAPI.UpdateScheduleOptions |
| 71 | ): ApiPromise<ScheduleObject> { |
| 72 | const apiClient = apiClientManager.client; |
| 73 | |
| 74 | if (!apiClient) { |
| 75 | throw apiClientMissingError(); |
| 76 | } |
| 77 | |
| 78 | return apiClient.updateSchedule(scheduleId, options); |
| 79 | } |
| 80 | |
| 81 | /** |
| 82 | * Deletes a schedule |
nothing calls this directly
no test coverage detected
searching dependent graphs…