// Generated by Obelisk 0.40.0
package testing:http-obelisk-schedule;

interface http-get {
  use testing:http/http-get.{response, response-str};
  use obelisk:types/execution@5.0.0.{execution-id};
  use obelisk:types/time@5.0.0.{schedule-at};

  get-schedule: func(schedule-at: schedule-at, url: string) -> execution-id;

  get-resp-schedule: func(schedule-at: schedule-at, url: string) -> execution-id;

  get-successful-schedule: func(schedule-at: schedule-at, url: string) -> execution-id;

  secret-get-schedule: func(schedule-at: schedule-at, url: string, env-var: string, header: option<tuple<string, string>>) -> execution-id;
}

interface http-post {
  use testing:http/http-get.{response-str};
  use obelisk:types/execution@5.0.0.{execution-id};
  use obelisk:types/time@5.0.0.{schedule-at};

  secret-post-schedule: func(schedule-at: schedule-at, url: string, env-var: string, headers: list<tuple<string, string>>, body: string) -> execution-id;
}

