Circle V2 API Docs
    Preparing search index...

    Class LightningStepApiClient

    Index

    Constructors

    • Parameters

      • rawCredentials:
            | {
                access_id: string;
                app_id: string;
                location_id: number;
                location_name?: string;
                secret_key: string;
            }
            | { bearer_token: string; location_ids: number[]; location_name?: string }
            | {
                api_id: string;
                api_secret: string;
                location_name?: string;
                realm_id: string;
                service_facility_id: number;
                sunwave_email: string;
            }
            | {
                base_url: string;
                client_id: string;
                rpa_vault_user_id: string;
                rpa_workflow_id: string;
                secret_key: string;
            }
        • {
              access_id: string;
              app_id: string;
              location_id: number;
              location_name?: string;
              secret_key: string;
          }
        • { bearer_token: string; location_ids: number[]; location_name?: string }
        • {
              api_id: string;
              api_secret: string;
              location_name?: string;
              realm_id: string;
              service_facility_id: number;
              sunwave_email: string;
          }
        • {
              base_url: string;
              client_id: string;
              rpa_vault_user_id: string;
              rpa_workflow_id: string;
              secret_key: string;
          }
          • base_url: string
          • client_id: string
          • rpa_vault_user_id: string

            RPA vault user id — passed as the workflow's USER input (the portal login identity).

          • rpa_workflow_id: string

            RPA workflow id the bot runs; the workflow branches on the sync_type input.

          • secret_key: string
      • Optionaloptions: LightningStepApiClientOptions

      Returns LightningStepApiClient

    Methods

    • Exports a table from the LightningStep API.

      Type Parameters

      • T extends TableNames

      Parameters

      • table: T
      • options: ExportTableOptions<T>

      Returns Promise<TableExportResponse<Table<T>>>

    • Returns number[]

    • Fetches the first 1000 records of a table from the LightningStep API. Useful for previewing the data and debugging.

      Type Parameters

      • T extends TableNames

      Parameters

      • table: T

      Returns Promise<TableShowResponse<Table<T>>>