Globus SDK for JavaScript
    Preparing search index...
    • Parameters

      • Optionaloptions: {
            payload?: undefined;
            query?: {
                filter_active?: boolean;
                filter_name?: string;
                filter_status?: string;
                filter_stopped?: boolean;
                order?: string;
                result_count?: number;
                submitted_after?: string;
                submitted_before?: string;
            };
        } & BaseServiceMethodOptions
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  jobs?: (
                      | {
                          activity?: | { code: "awaiting_next_run"; next_run: string }
                          | {
                              code: "run_in_progress";
                              duration_seconds: number;
                              start_timestamp: string;
                          }
                          | {
                              code: "paused";
                              reason: "other"
                              | "user"
                              | "globus_auth_requirements";
                          }
                          | { code: "retrying"; start_timestamp: string };
                          callback_body: Record<string, unknown>;
                          callback_url: string;
                          flow_id: string;
                          inactive_reason?: {
                              cause: "user" | "globus_auth_requirements";
                              detail?: Record<(...), (...)>;
                          };
                          interval?: number;
                          job_id: string;
                          last_ran_at?: string;
                          n_errors: number;
                          n_runs: number;
                          name?: string;
                          next_run?: string;
                          results: {
                              data: {
                                  data?: (...)
                                  | (...);
                                  end_timestamp?: (...) | (...);
                                  errors?: (...) | (...);
                                  http_status_polled?: (...) | (...);
                                  http_status_submission?: (...) | (...);
                                  last_check_timestamp?: (...) | (...);
                                  next_check_timestamp?: (...) | (...);
                                  ran_at: string;
                                  resource_id?: (...) | (...);
                                  run_status: string;
                                  start_timestamp: string;
                                  status?: (...) | (...);
                              }[];
                              page_next?: string;
                          };
                          schedule: | { datetime?: string; type: "once" }
                          | {
                              end?:
                                  | { condition: ...; count: ... }
                                  | { condition: ...; datetime: ... };
                              interval_seconds: number;
                              start?: string;
                              type: "recurring";
                          };
                          scope?: string;
                          start: string;
                          status: string;
                          stop_after: { date?: string; n_runs?: number };
                          submitted_at: string;
                          timer_type: "transfer" | "generic" | "flow";
                      }
                      | {
                          activity?: | { code: "awaiting_next_run"; next_run: string }
                          | {
                              code: "run_in_progress";
                              duration_seconds: number;
                              start_timestamp: string;
                          }
                          | {
                              code: "paused";
                              reason: "other"
                              | "user"
                              | "globus_auth_requirements";
                          }
                          | { code: "retrying"; start_timestamp: string };
                          callback_body: Record<string, unknown>;
                          callback_url: string;
                          inactive_reason?: {
                              cause: "user" | "globus_auth_requirements";
                              detail?: Record<(...), (...)>;
                          };
                          interval?: number;
                          job_id: string;
                          last_ran_at?: string;
                          n_errors: number;
                          n_runs: number;
                          name?: string;
                          next_run?: string;
                          results: {
                              data: {
                                  data?: (...)
                                  | (...);
                                  end_timestamp?: (...) | (...);
                                  errors?: (...) | (...);
                                  http_status_polled?: (...) | (...);
                                  http_status_submission?: (...) | (...);
                                  last_check_timestamp?: (...) | (...);
                                  next_check_timestamp?: (...) | (...);
                                  ran_at: string;
                                  resource_id?: (...) | (...);
                                  run_status: string;
                                  start_timestamp: string;
                                  status?: (...) | (...);
                              }[];
                              page_next?: string;
                          };
                          schedule: | { datetime?: string; type: "once" }
                          | {
                              end?:
                                  | { condition: ...; count: ... }
                                  | { condition: ...; datetime: ... };
                              interval_seconds: number;
                              start?: string;
                              type: "recurring";
                          };
                          scope?: string;
                          start: string;
                          status: string;
                          stop_after: { date?: string; n_runs?: number };
                          submitted_at: string;
                          timer_type: "transfer" | "generic" | "flow";
                      }
                  )[];
              },
          >,
      >