$OpenApiTs: {
    /v1/actions/{actionName}: {
        get: {
            req: GetActionData;
            res: {
                200: {
                    appId?: string;
                    appName?: string;
                    description?: string;
                    display_name?: string;
                    enabled?: boolean;
                    logo?: string;
                    name?: string;
                    parameters?: {
                        properties?: {
                            [key: string]: unknown;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                    response?: {
                        properties?: {
                            [key: string]: unknown;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                };
                404: unknown;
            };
        };
    };
    /v1/actions/{actionName}/execute: {
        post: {
            req: ExecuteActionData;
            res: {
                200: {
                    execution_details?: {
                        executed?: boolean;
                    };
                    response_data?: {
                        [key: string]: unknown;
                    };
                };
                404: unknown;
            };
        };
    };
    /v1/apps: {
        get: {
            res: {
                200: {
                    items?: {
                        appId?: string;
                        categories?: string[];
                        description?: string;
                        key?: string;
                        logo?: string;
                        name?: string;
                    }[];
                };
            };
        };
    };
    /v1/connectedAccounts: {
        get: {
            req: ListAllConnectionsData;
            res: {
                200: {
                    items?: {
                        appName?: string;
                        connectionParams?: {
                            access_token?: string;
                            base_url?: string;
                            bot_id?: string;
                            client_id?: string;
                            client_secret?: string;
                            created_at?: number;
                            duplicated_template_id?: string;
                            expires_in?: number;
                            organization?: string;
                            owner?: {
                                type?: string;
                                user?: {
                                    avatar_url?: ...;
                                    id?: ...;
                                    name?: ...;
                                    object?: ...;
                                    person?: ...;
                                    type?: ...;
                                };
                            } | string;
                            refresh_token?: string;
                            request_id?: string;
                            scope?: string;
                            token_type?: string;
                            workspace_icon?: string;
                            workspace_id?: string;
                            workspace_name?: string;
                        };
                        connectorId?: string;
                        createdAt?: string;
                        id?: string;
                        logo?: string;
                        status?: "FAILED" | "INITIATED" | "ACTIVE";
                        updatedAt?: string;
                    }[];
                    page?: number;
                    totalPages?: number;
                };
            };
        };
        post: {
            req: CreateConnectionData;
            res: {
                200: {
                    connectionId?: string;
                    connectionStatus?: "SUCCESS" | "INITIATED" | "FAILED";
                    redirectUrl?: string;
                };
                404: unknown;
            };
        };
    };
    /v1/connectedAccounts/{connectedAccountId}: {
        delete: {
            req: DeleteConnectionData;
            res: {
                200: {
                    status?: string;
                };
                404: unknown;
            };
        };
        get: {
            req: GetConnectedAccountData;
            res: {
                200: {
                    connectionParams?: {
                        access_token?: string;
                        base_url?: string;
                        client_id?: string;
                        client_secret?: string;
                        scope?: string;
                        token_type?: string;
                    };
                    createdAt?: string;
                    id?: string;
                    integrationId?: string;
                    status?: "ACTIVE" | "INITIATED" | "FAILED";
                    updatedAt?: string;
                };
                404: unknown;
            };
        };
    };
    /v1/integrations: {
        get: {
            req: ListAllIntegrationsData;
            res: {
                200: {
                    items?: {
                        appId?: string;
                        appName?: string;
                        authScheme?: string;
                        createdAt?: string;
                        enabled?: boolean;
                        id?: string;
                        logo?: string;
                        name?: string;
                        updatedAt?: string;
                    }[];
                    page?: number;
                    totalPages?: number;
                };
            };
        };
        post: {
            req: CreateIntegrationData;
            res: {
                200: {
                    appId?: string;
                    appName?: string;
                    authConfig?: {
                        base_url?: string;
                        client_id?: string;
                        client_secret?: string;
                    };
                    authScheme?: string;
                    createdAt?: string;
                    enabled?: boolean;
                    expectedInputFields?: {
                        [key: string]: unknown;
                    }[];
                    id?: string;
                    logo?: string;
                    name?: string;
                    updatedAt?: string;
                };
                400: unknown;
            };
        };
    };
    /v1/integrations/{integrationId}: {
        get: {
            req: GetIntegrationData;
            res: {
                200: {
                    appId?: string;
                    appName?: string;
                    authConfig?: {
                        base_url?: string;
                        client_id?: string;
                        client_secret?: string;
                    };
                    authScheme?: string;
                    createdAt?: string;
                    enabled?: boolean;
                    expectedInputFields?: {
                        [key: string]: unknown;
                    }[];
                    id?: string;
                    logo?: string;
                    name?: string;
                    updatedAt?: string;
                };
                404: unknown;
            };
        };
        patch: {
            req: UpdateIntegrationData;
            res: {
                200: {
                    status?: string;
                };
                404: unknown;
            };
        };
    };
    /v1/triggers: {
        get: {
            req: ListTriggersData;
            res: {
                200: {
                    appId?: string;
                    appKey?: string;
                    appName?: string;
                    config?: {
                        properties?: {
                            description?: string;
                            required?: string[];
                            title?: string;
                            type?: string;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                    count?: number;
                    description?: string;
                    display_name?: string;
                    enabled?: boolean;
                    instructions?: string;
                    logo?: string;
                    name?: string;
                    payload?: {
                        properties?: {
                            author: string;
                            id: string;
                            message: string;
                            timestamp: string;
                            url: string;
                        };
                    };
                }[];
            };
        };
    };
    /v1/triggers/active_triggers: {
        get: {
            req: ListActiveTriggersData;
            res: {
                200: {
                    pageInfo?: {
                        currentPage?: number;
                        perPage?: number;
                        totalPages?: number;
                    };
                    triggers?: {
                        connectionId?: string;
                        createdAt?: string;
                        disabledAt?: string;
                        id?: string;
                        state?: {
                            [key: string]: unknown;
                        };
                        triggerConfig?: {
                            [key: string]: unknown;
                        };
                        triggerData?: string;
                        triggerName?: string;
                        updatedAt?: string;
                    }[];
                };
            };
        };
    };
    /v1/triggers/get/{triggerId}: {
        get: {
            req: GetActiveTriggerData;
            res: {
                200: {
                    connectionId?: string;
                    createdAt?: string;
                    disabledAt?: string;
                    id?: string;
                    state?: {
                        [key: string]: unknown;
                    };
                    triggerConfig?: {
                        [key: string]: unknown;
                    };
                    triggerData?: string;
                    triggerName?: string;
                    updatedAt?: string;
                };
                404: unknown;
                500: unknown;
            };
        };
    };
    /v2/actions: {
        get: {
            req: GetListActionsData;
            res: {
                200: {
                    items?: {
                        appId?: string;
                        appName?: string;
                        description?: string;
                        display_name?: string;
                        enabled?: boolean;
                        logo?: string;
                        name?: string;
                        parameters?: {
                            properties?: {
                                [key: string]: unknown;
                            };
                            required?: string[];
                            title?: string;
                            type?: string;
                        };
                        response?: {
                            properties?: {
                                [key: string]: unknown;
                            };
                            required?: string[];
                            title?: string;
                            type?: string;
                        };
                    }[];
                    page?: number;
                    totalPages?: number;
                };
            };
        };
    };
}

Type declaration

  • /v1/actions/{actionName}: {
        get: {
            req: GetActionData;
            res: {
                200: {
                    appId?: string;
                    appName?: string;
                    description?: string;
                    display_name?: string;
                    enabled?: boolean;
                    logo?: string;
                    name?: string;
                    parameters?: {
                        properties?: {
                            [key: string]: unknown;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                    response?: {
                        properties?: {
                            [key: string]: unknown;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                };
                404: unknown;
            };
        };
    }
    • get: {
          req: GetActionData;
          res: {
              200: {
                  appId?: string;
                  appName?: string;
                  description?: string;
                  display_name?: string;
                  enabled?: boolean;
                  logo?: string;
                  name?: string;
                  parameters?: {
                      properties?: {
                          [key: string]: unknown;
                      };
                      required?: string[];
                      title?: string;
                      type?: string;
                  };
                  response?: {
                      properties?: {
                          [key: string]: unknown;
                      };
                      required?: string[];
                      title?: string;
                      type?: string;
                  };
              };
              404: unknown;
          };
      }
      • req: GetActionData
      • res: {
            200: {
                appId?: string;
                appName?: string;
                description?: string;
                display_name?: string;
                enabled?: boolean;
                logo?: string;
                name?: string;
                parameters?: {
                    properties?: {
                        [key: string]: unknown;
                    };
                    required?: string[];
                    title?: string;
                    type?: string;
                };
                response?: {
                    properties?: {
                        [key: string]: unknown;
                    };
                    required?: string[];
                    title?: string;
                    type?: string;
                };
            };
            404: unknown;
        }
        • 200: {
              appId?: string;
              appName?: string;
              description?: string;
              display_name?: string;
              enabled?: boolean;
              logo?: string;
              name?: string;
              parameters?: {
                  properties?: {
                      [key: string]: unknown;
                  };
                  required?: string[];
                  title?: string;
                  type?: string;
              };
              response?: {
                  properties?: {
                      [key: string]: unknown;
                  };
                  required?: string[];
                  title?: string;
                  type?: string;
              };
          }

          OK

          • Optional appId?: string

            The unique identifier of the app associated with the action.

          • Optional appName?: string

            The name of the app associated with the action.

          • Optional description?: string

            A description of the action.

          • Optional display_name?: string

            The display name of the action.

          • Optional enabled?: boolean

            A boolean indicating whether the action is enabled or not.

          • Optional logo?: string

            The URL of the logo of the app associated with the action.

          • Optional name?: string

            The name of the action.

          • Optional parameters?: {
                properties?: {
                    [key: string]: unknown;
                };
                required?: string[];
                title?: string;
                type?: string;
            }

            An object describing the input parameters of the action.

            • Optional properties?: {
                  [key: string]: unknown;
              }

              An object containing the properties of the input parameters.

              • [key: string]: unknown
            • Optional required?: string[]

              An array of required parameter names.

            • Optional title?: string

              The title of the input parameters.

            • Optional type?: string

              The type of the input parameters (e.g., "object").

          • Optional response?: {
                properties?: {
                    [key: string]: unknown;
                };
                required?: string[];
                title?: string;
                type?: string;
            }

            An object describing the response of the action.

            • Optional properties?: {
                  [key: string]: unknown;
              }

              An object containing the properties of the response.

              • [key: string]: unknown
            • Optional required?: string[]

              An array of required response field names.

            • Optional title?: string

              The title of the response.

            • Optional type?: string

              The type of the response (e.g., "object").

        • 404: unknown

          Not Found

  • /v1/actions/{actionName}/execute: {
        post: {
            req: ExecuteActionData;
            res: {
                200: {
                    execution_details?: {
                        executed?: boolean;
                    };
                    response_data?: {
                        [key: string]: unknown;
                    };
                };
                404: unknown;
            };
        };
    }
    • post: {
          req: ExecuteActionData;
          res: {
              200: {
                  execution_details?: {
                      executed?: boolean;
                  };
                  response_data?: {
                      [key: string]: unknown;
                  };
              };
              404: unknown;
          };
      }
      • req: ExecuteActionData
      • res: {
            200: {
                execution_details?: {
                    executed?: boolean;
                };
                response_data?: {
                    [key: string]: unknown;
                };
            };
            404: unknown;
        }
        • 200: {
              execution_details?: {
                  executed?: boolean;
              };
              response_data?: {
                  [key: string]: unknown;
              };
          }

          OK

          • Optional execution_details?: {
                executed?: boolean;
            }

            An object containing the details of the action execution.

            • Optional executed?: boolean

              A boolean indicating whether the action was executed successfully.

          • Optional response_data?: {
                [key: string]: unknown;
            }

            An object containing the response data from the action execution.

            • [key: string]: unknown
        • 404: unknown

          Not Found

  • /v1/apps: {
        get: {
            res: {
                200: {
                    items?: {
                        appId?: string;
                        categories?: string[];
                        description?: string;
                        key?: string;
                        logo?: string;
                        name?: string;
                    }[];
                };
            };
        };
    }
    • get: {
          res: {
              200: {
                  items?: {
                      appId?: string;
                      categories?: string[];
                      description?: string;
                      key?: string;
                      logo?: string;
                      name?: string;
                  }[];
              };
          };
      }
      • res: {
            200: {
                items?: {
                    appId?: string;
                    categories?: string[];
                    description?: string;
                    key?: string;
                    logo?: string;
                    name?: string;
                }[];
            };
        }
        • 200: {
              items?: {
                  appId?: string;
                  categories?: string[];
                  description?: string;
                  key?: string;
                  logo?: string;
                  name?: string;
              }[];
          }

          OK

          • Optional items?: {
                appId?: string;
                categories?: string[];
                description?: string;
                key?: string;
                logo?: string;
                name?: string;
            }[]

            An array of app objects.

  • /v1/connectedAccounts: {
        get: {
            req: ListAllConnectionsData;
            res: {
                200: {
                    items?: {
                        appName?: string;
                        connectionParams?: {
                            access_token?: string;
                            base_url?: string;
                            bot_id?: string;
                            client_id?: string;
                            client_secret?: string;
                            created_at?: number;
                            duplicated_template_id?: string;
                            expires_in?: number;
                            organization?: string;
                            owner?: {
                                type?: string;
                                user?: {
                                    avatar_url?: ...;
                                    id?: ...;
                                    name?: ...;
                                    object?: ...;
                                    person?: ...;
                                    type?: ...;
                                };
                            } | string;
                            refresh_token?: string;
                            request_id?: string;
                            scope?: string;
                            token_type?: string;
                            workspace_icon?: string;
                            workspace_id?: string;
                            workspace_name?: string;
                        };
                        connectorId?: string;
                        createdAt?: string;
                        id?: string;
                        logo?: string;
                        status?: "FAILED" | "INITIATED" | "ACTIVE";
                        updatedAt?: string;
                    }[];
                    page?: number;
                    totalPages?: number;
                };
            };
        };
        post: {
            req: CreateConnectionData;
            res: {
                200: {
                    connectionId?: string;
                    connectionStatus?: "SUCCESS" | "INITIATED" | "FAILED";
                    redirectUrl?: string;
                };
                404: unknown;
            };
        };
    }
    • get: {
          req: ListAllConnectionsData;
          res: {
              200: {
                  items?: {
                      appName?: string;
                      connectionParams?: {
                          access_token?: string;
                          base_url?: string;
                          bot_id?: string;
                          client_id?: string;
                          client_secret?: string;
                          created_at?: number;
                          duplicated_template_id?: string;
                          expires_in?: number;
                          organization?: string;
                          owner?: {
                              type?: string;
                              user?: {
                                  avatar_url?: ...;
                                  id?: ...;
                                  name?: ...;
                                  object?: ...;
                                  person?: ...;
                                  type?: ...;
                              };
                          } | string;
                          refresh_token?: string;
                          request_id?: string;
                          scope?: string;
                          token_type?: string;
                          workspace_icon?: string;
                          workspace_id?: string;
                          workspace_name?: string;
                      };
                      connectorId?: string;
                      createdAt?: string;
                      id?: string;
                      logo?: string;
                      status?: "FAILED" | "INITIATED" | "ACTIVE";
                      updatedAt?: string;
                  }[];
                  page?: number;
                  totalPages?: number;
              };
          };
      }
      • req: ListAllConnectionsData
      • res: {
            200: {
                items?: {
                    appName?: string;
                    connectionParams?: {
                        access_token?: string;
                        base_url?: string;
                        bot_id?: string;
                        client_id?: string;
                        client_secret?: string;
                        created_at?: number;
                        duplicated_template_id?: string;
                        expires_in?: number;
                        organization?: string;
                        owner?: {
                            type?: string;
                            user?: {
                                avatar_url?: ...;
                                id?: ...;
                                name?: ...;
                                object?: ...;
                                person?: ...;
                                type?: ...;
                            };
                        } | string;
                        refresh_token?: string;
                        request_id?: string;
                        scope?: string;
                        token_type?: string;
                        workspace_icon?: string;
                        workspace_id?: string;
                        workspace_name?: string;
                    };
                    connectorId?: string;
                    createdAt?: string;
                    id?: string;
                    logo?: string;
                    status?: "FAILED" | "INITIATED" | "ACTIVE";
                    updatedAt?: string;
                }[];
                page?: number;
                totalPages?: number;
            };
        }
        • 200: {
              items?: {
                  appName?: string;
                  connectionParams?: {
                      access_token?: string;
                      base_url?: string;
                      bot_id?: string;
                      client_id?: string;
                      client_secret?: string;
                      created_at?: number;
                      duplicated_template_id?: string;
                      expires_in?: number;
                      organization?: string;
                      owner?: {
                          type?: string;
                          user?: {
                              avatar_url?: ...;
                              id?: ...;
                              name?: ...;
                              object?: ...;
                              person?: ...;
                              type?: ...;
                          };
                      } | string;
                      refresh_token?: string;
                      request_id?: string;
                      scope?: string;
                      token_type?: string;
                      workspace_icon?: string;
                      workspace_id?: string;
                      workspace_name?: string;
                  };
                  connectorId?: string;
                  createdAt?: string;
                  id?: string;
                  logo?: string;
                  status?: "FAILED" | "INITIATED" | "ACTIVE";
                  updatedAt?: string;
              }[];
              page?: number;
              totalPages?: number;
          }

          OK

          • Optional items?: {
                appName?: string;
                connectionParams?: {
                    access_token?: string;
                    base_url?: string;
                    bot_id?: string;
                    client_id?: string;
                    client_secret?: string;
                    created_at?: number;
                    duplicated_template_id?: string;
                    expires_in?: number;
                    organization?: string;
                    owner?: {
                        type?: string;
                        user?: {
                            avatar_url?: ...;
                            id?: ...;
                            name?: ...;
                            object?: ...;
                            person?: ...;
                            type?: ...;
                        };
                    } | string;
                    refresh_token?: string;
                    request_id?: string;
                    scope?: string;
                    token_type?: string;
                    workspace_icon?: string;
                    workspace_id?: string;
                    workspace_name?: string;
                };
                connectorId?: string;
                createdAt?: string;
                id?: string;
                logo?: string;
                status?: "FAILED" | "INITIATED" | "ACTIVE";
                updatedAt?: string;
            }[]
          • Optional page?: number
          • Optional totalPages?: number
    • post: {
          req: CreateConnectionData;
          res: {
              200: {
                  connectionId?: string;
                  connectionStatus?: "SUCCESS" | "INITIATED" | "FAILED";
                  redirectUrl?: string;
              };
              404: unknown;
          };
      }
      • req: CreateConnectionData
      • res: {
            200: {
                connectionId?: string;
                connectionStatus?: "SUCCESS" | "INITIATED" | "FAILED";
                redirectUrl?: string;
            };
            404: unknown;
        }
        • 200: {
              connectionId?: string;
              connectionStatus?: "SUCCESS" | "INITIATED" | "FAILED";
              redirectUrl?: string;
          }

          OK

          • Optional connectionId?: string
          • Optional connectionStatus?: "SUCCESS" | "INITIATED" | "FAILED"
          • Optional redirectUrl?: string
        • 404: unknown

          { "message": "Connector not found" }

  • /v1/connectedAccounts/{connectedAccountId}: {
        delete: {
            req: DeleteConnectionData;
            res: {
                200: {
                    status?: string;
                };
                404: unknown;
            };
        };
        get: {
            req: GetConnectedAccountData;
            res: {
                200: {
                    connectionParams?: {
                        access_token?: string;
                        base_url?: string;
                        client_id?: string;
                        client_secret?: string;
                        scope?: string;
                        token_type?: string;
                    };
                    createdAt?: string;
                    id?: string;
                    integrationId?: string;
                    status?: "ACTIVE" | "INITIATED" | "FAILED";
                    updatedAt?: string;
                };
                404: unknown;
            };
        };
    }
    • delete: {
          req: DeleteConnectionData;
          res: {
              200: {
                  status?: string;
              };
              404: unknown;
          };
      }
      • req: DeleteConnectionData
      • res: {
            200: {
                status?: string;
            };
            404: unknown;
        }
        • 200: {
              status?: string;
          }

          { "message": "Connection not found or already deleted" }

          • Optional status?: string

            Status of the api call.

        • 404: unknown

          Not Found

    • get: {
          req: GetConnectedAccountData;
          res: {
              200: {
                  connectionParams?: {
                      access_token?: string;
                      base_url?: string;
                      client_id?: string;
                      client_secret?: string;
                      scope?: string;
                      token_type?: string;
                  };
                  createdAt?: string;
                  id?: string;
                  integrationId?: string;
                  status?: "ACTIVE" | "INITIATED" | "FAILED";
                  updatedAt?: string;
              };
              404: unknown;
          };
      }
      • req: GetConnectedAccountData
      • res: {
            200: {
                connectionParams?: {
                    access_token?: string;
                    base_url?: string;
                    client_id?: string;
                    client_secret?: string;
                    scope?: string;
                    token_type?: string;
                };
                createdAt?: string;
                id?: string;
                integrationId?: string;
                status?: "ACTIVE" | "INITIATED" | "FAILED";
                updatedAt?: string;
            };
            404: unknown;
        }
        • 200: {
              connectionParams?: {
                  access_token?: string;
                  base_url?: string;
                  client_id?: string;
                  client_secret?: string;
                  scope?: string;
                  token_type?: string;
              };
              createdAt?: string;
              id?: string;
              integrationId?: string;
              status?: "ACTIVE" | "INITIATED" | "FAILED";
              updatedAt?: string;
          }

          OK

          • Optional connectionParams?: {
                access_token?: string;
                base_url?: string;
                client_id?: string;
                client_secret?: string;
                scope?: string;
                token_type?: string;
            }

            An object containing the parameters specific to the connection.

            • Optional access_token?: string

              The access token used for authentication with the connected app.

            • Optional base_url?: string

              The base URL for making API requests to the connected app.

            • Optional client_id?: string

              The client ID used for authentication with the connected app.

            • Optional client_secret?: string

              The client secret used for authentication with the connected app.

            • Optional scope?: string

              The scope of permissions granted to the connection.

            • Optional token_type?: string

              The type of token used for authentication (e.g., "bearer").

          • Optional createdAt?: string

            The timestamp indicating when the connection was created.

          • Optional id?: string

            The unique identifier of the connection.

          • Optional integrationId?: string

            The unique identifier of the connector associated with the connection.

          • Optional status?: "ACTIVE" | "INITIATED" | "FAILED"

            The status of the connection (e.g., "SUCCESS").

          • Optional updatedAt?: string

            The timestamp indicating when the connection was last updated.

        • 404: unknown

          { "message": "Connection not found or already deleted" }

  • /v1/integrations: {
        get: {
            req: ListAllIntegrationsData;
            res: {
                200: {
                    items?: {
                        appId?: string;
                        appName?: string;
                        authScheme?: string;
                        createdAt?: string;
                        enabled?: boolean;
                        id?: string;
                        logo?: string;
                        name?: string;
                        updatedAt?: string;
                    }[];
                    page?: number;
                    totalPages?: number;
                };
            };
        };
        post: {
            req: CreateIntegrationData;
            res: {
                200: {
                    appId?: string;
                    appName?: string;
                    authConfig?: {
                        base_url?: string;
                        client_id?: string;
                        client_secret?: string;
                    };
                    authScheme?: string;
                    createdAt?: string;
                    enabled?: boolean;
                    expectedInputFields?: {
                        [key: string]: unknown;
                    }[];
                    id?: string;
                    logo?: string;
                    name?: string;
                    updatedAt?: string;
                };
                400: unknown;
            };
        };
    }
    • get: {
          req: ListAllIntegrationsData;
          res: {
              200: {
                  items?: {
                      appId?: string;
                      appName?: string;
                      authScheme?: string;
                      createdAt?: string;
                      enabled?: boolean;
                      id?: string;
                      logo?: string;
                      name?: string;
                      updatedAt?: string;
                  }[];
                  page?: number;
                  totalPages?: number;
              };
          };
      }
      • req: ListAllIntegrationsData
      • res: {
            200: {
                items?: {
                    appId?: string;
                    appName?: string;
                    authScheme?: string;
                    createdAt?: string;
                    enabled?: boolean;
                    id?: string;
                    logo?: string;
                    name?: string;
                    updatedAt?: string;
                }[];
                page?: number;
                totalPages?: number;
            };
        }
        • 200: {
              items?: {
                  appId?: string;
                  appName?: string;
                  authScheme?: string;
                  createdAt?: string;
                  enabled?: boolean;
                  id?: string;
                  logo?: string;
                  name?: string;
                  updatedAt?: string;
              }[];
              page?: number;
              totalPages?: number;
          }

          OK

          • Optional items?: {
                appId?: string;
                appName?: string;
                authScheme?: string;
                createdAt?: string;
                enabled?: boolean;
                id?: string;
                logo?: string;
                name?: string;
                updatedAt?: string;
            }[]
          • Optional page?: number
          • Optional totalPages?: number
    • post: {
          req: CreateIntegrationData;
          res: {
              200: {
                  appId?: string;
                  appName?: string;
                  authConfig?: {
                      base_url?: string;
                      client_id?: string;
                      client_secret?: string;
                  };
                  authScheme?: string;
                  createdAt?: string;
                  enabled?: boolean;
                  expectedInputFields?: {
                      [key: string]: unknown;
                  }[];
                  id?: string;
                  logo?: string;
                  name?: string;
                  updatedAt?: string;
              };
              400: unknown;
          };
      }
      • req: CreateIntegrationData
      • res: {
            200: {
                appId?: string;
                appName?: string;
                authConfig?: {
                    base_url?: string;
                    client_id?: string;
                    client_secret?: string;
                };
                authScheme?: string;
                createdAt?: string;
                enabled?: boolean;
                expectedInputFields?: {
                    [key: string]: unknown;
                }[];
                id?: string;
                logo?: string;
                name?: string;
                updatedAt?: string;
            };
            400: unknown;
        }
        • 200: {
              appId?: string;
              appName?: string;
              authConfig?: {
                  base_url?: string;
                  client_id?: string;
                  client_secret?: string;
              };
              authScheme?: string;
              createdAt?: string;
              enabled?: boolean;
              expectedInputFields?: {
                  [key: string]: unknown;
              }[];
              id?: string;
              logo?: string;
              name?: string;
              updatedAt?: string;
          }

          OK

          • Optional appId?: string

            The unique identifier of the app associated with the connector.

          • Optional appName?: string

            The name of the app associated with the connector.

          • Optional authConfig?: {
                base_url?: string;
                client_id?: string;
                client_secret?: string;
            }

            An object containing the authentication configuration for the connector.

            • Optional base_url?: string

              The base URL for making API requests to the app.

            • Optional client_id?: string

              The client ID used for authentication with the app.

            • Optional client_secret?: string

              The client secret used for authentication with the app.

          • Optional authScheme?: string

            The authentication scheme used by the connector.

          • Optional createdAt?: string

            The timestamp indicating when the connector was created.

          • Optional enabled?: boolean

            A boolean indicating whether the connector is enabled or not.

          • Optional expectedInputFields?: {
                [key: string]: unknown;
            }[]

            An array of input fields expected by the connector.

          • Optional id?: string

            The unique identifier of the newly created connector.

          • Optional logo?: string

            The URL of the logo of the app associated with the connector.

          • Optional name?: string

            The name of the connector.

          • Optional updatedAt?: string

            The timestamp indicating when the connector was last updated.

        • 400: unknown

          Bad Request

  • /v1/integrations/{integrationId}: {
        get: {
            req: GetIntegrationData;
            res: {
                200: {
                    appId?: string;
                    appName?: string;
                    authConfig?: {
                        base_url?: string;
                        client_id?: string;
                        client_secret?: string;
                    };
                    authScheme?: string;
                    createdAt?: string;
                    enabled?: boolean;
                    expectedInputFields?: {
                        [key: string]: unknown;
                    }[];
                    id?: string;
                    logo?: string;
                    name?: string;
                    updatedAt?: string;
                };
                404: unknown;
            };
        };
        patch: {
            req: UpdateIntegrationData;
            res: {
                200: {
                    status?: string;
                };
                404: unknown;
            };
        };
    }
    • get: {
          req: GetIntegrationData;
          res: {
              200: {
                  appId?: string;
                  appName?: string;
                  authConfig?: {
                      base_url?: string;
                      client_id?: string;
                      client_secret?: string;
                  };
                  authScheme?: string;
                  createdAt?: string;
                  enabled?: boolean;
                  expectedInputFields?: {
                      [key: string]: unknown;
                  }[];
                  id?: string;
                  logo?: string;
                  name?: string;
                  updatedAt?: string;
              };
              404: unknown;
          };
      }
      • req: GetIntegrationData
      • res: {
            200: {
                appId?: string;
                appName?: string;
                authConfig?: {
                    base_url?: string;
                    client_id?: string;
                    client_secret?: string;
                };
                authScheme?: string;
                createdAt?: string;
                enabled?: boolean;
                expectedInputFields?: {
                    [key: string]: unknown;
                }[];
                id?: string;
                logo?: string;
                name?: string;
                updatedAt?: string;
            };
            404: unknown;
        }
        • 200: {
              appId?: string;
              appName?: string;
              authConfig?: {
                  base_url?: string;
                  client_id?: string;
                  client_secret?: string;
              };
              authScheme?: string;
              createdAt?: string;
              enabled?: boolean;
              expectedInputFields?: {
                  [key: string]: unknown;
              }[];
              id?: string;
              logo?: string;
              name?: string;
              updatedAt?: string;
          }

          OK

          • Optional appId?: string

            The unique identifier of the app associated with the connector.

          • Optional appName?: string

            The name of the app associated with the connector.

          • Optional authConfig?: {
                base_url?: string;
                client_id?: string;
                client_secret?: string;
            }

            An object containing the authentication configuration for the connector.

            • Optional base_url?: string

              The base URL for making API requests to the app.

            • Optional client_id?: string

              The client ID used for authentication with the app.

            • Optional client_secret?: string

              The client secret used for authentication with the app.

          • Optional authScheme?: string

            The authentication scheme used by the connector (e.g., "OAUTH2", "API_KEY").

          • Optional createdAt?: string

            The timestamp indicating when the connector was created.

          • Optional enabled?: boolean

            A boolean indicating whether the connector is enabled or not.

          • Optional expectedInputFields?: {
                [key: string]: unknown;
            }[]

            An array of input fields expected by the connector.

          • Optional id?: string

            The unique identifier of the connector.

          • Optional logo?: string

            The URL of the logo of the app associated with the connector.

          • Optional name?: string

            The name of the connector.

          • Optional updatedAt?: string

            The timestamp indicating when the connector was last updated.

        • 404: unknown

          Not Found

    • patch: {
          req: UpdateIntegrationData;
          res: {
              200: {
                  status?: string;
              };
              404: unknown;
          };
      }
      • req: UpdateIntegrationData
      • res: {
            200: {
                status?: string;
            };
            404: unknown;
        }
        • 200: {
              status?: string;
          }

          OK

          • Optional status?: string
        • 404: unknown

          Not Found

  • /v1/triggers: {
        get: {
            req: ListTriggersData;
            res: {
                200: {
                    appId?: string;
                    appKey?: string;
                    appName?: string;
                    config?: {
                        properties?: {
                            description?: string;
                            required?: string[];
                            title?: string;
                            type?: string;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                    count?: number;
                    description?: string;
                    display_name?: string;
                    enabled?: boolean;
                    instructions?: string;
                    logo?: string;
                    name?: string;
                    payload?: {
                        properties?: {
                            author: string;
                            id: string;
                            message: string;
                            timestamp: string;
                            url: string;
                        };
                    };
                }[];
            };
        };
    }
    • get: {
          req: ListTriggersData;
          res: {
              200: {
                  appId?: string;
                  appKey?: string;
                  appName?: string;
                  config?: {
                      properties?: {
                          description?: string;
                          required?: string[];
                          title?: string;
                          type?: string;
                      };
                      required?: string[];
                      title?: string;
                      type?: string;
                  };
                  count?: number;
                  description?: string;
                  display_name?: string;
                  enabled?: boolean;
                  instructions?: string;
                  logo?: string;
                  name?: string;
                  payload?: {
                      properties?: {
                          author: string;
                          id: string;
                          message: string;
                          timestamp: string;
                          url: string;
                      };
                  };
              }[];
          };
      }
      • req: ListTriggersData
      • res: {
            200: {
                appId?: string;
                appKey?: string;
                appName?: string;
                config?: {
                    properties?: {
                        description?: string;
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                    required?: string[];
                    title?: string;
                    type?: string;
                };
                count?: number;
                description?: string;
                display_name?: string;
                enabled?: boolean;
                instructions?: string;
                logo?: string;
                name?: string;
                payload?: {
                    properties?: {
                        author: string;
                        id: string;
                        message: string;
                        timestamp: string;
                        url: string;
                    };
                };
            }[];
        }
        • 200: {
              appId?: string;
              appKey?: string;
              appName?: string;
              config?: {
                  properties?: {
                      description?: string;
                      required?: string[];
                      title?: string;
                      type?: string;
                  };
                  required?: string[];
                  title?: string;
                  type?: string;
              };
              count?: number;
              description?: string;
              display_name?: string;
              enabled?: boolean;
              instructions?: string;
              logo?: string;
              name?: string;
              payload?: {
                  properties?: {
                      author: string;
                      id: string;
                      message: string;
                      timestamp: string;
                      url: string;
                  };
              };
          }[]

          OK

  • /v1/triggers/active_triggers: {
        get: {
            req: ListActiveTriggersData;
            res: {
                200: {
                    pageInfo?: {
                        currentPage?: number;
                        perPage?: number;
                        totalPages?: number;
                    };
                    triggers?: {
                        connectionId?: string;
                        createdAt?: string;
                        disabledAt?: string;
                        id?: string;
                        state?: {
                            [key: string]: unknown;
                        };
                        triggerConfig?: {
                            [key: string]: unknown;
                        };
                        triggerData?: string;
                        triggerName?: string;
                        updatedAt?: string;
                    }[];
                };
            };
        };
    }
    • get: {
          req: ListActiveTriggersData;
          res: {
              200: {
                  pageInfo?: {
                      currentPage?: number;
                      perPage?: number;
                      totalPages?: number;
                  };
                  triggers?: {
                      connectionId?: string;
                      createdAt?: string;
                      disabledAt?: string;
                      id?: string;
                      state?: {
                          [key: string]: unknown;
                      };
                      triggerConfig?: {
                          [key: string]: unknown;
                      };
                      triggerData?: string;
                      triggerName?: string;
                      updatedAt?: string;
                  }[];
              };
          };
      }
      • req: ListActiveTriggersData
      • res: {
            200: {
                pageInfo?: {
                    currentPage?: number;
                    perPage?: number;
                    totalPages?: number;
                };
                triggers?: {
                    connectionId?: string;
                    createdAt?: string;
                    disabledAt?: string;
                    id?: string;
                    state?: {
                        [key: string]: unknown;
                    };
                    triggerConfig?: {
                        [key: string]: unknown;
                    };
                    triggerData?: string;
                    triggerName?: string;
                    updatedAt?: string;
                }[];
            };
        }
        • 200: {
              pageInfo?: {
                  currentPage?: number;
                  perPage?: number;
                  totalPages?: number;
              };
              triggers?: {
                  connectionId?: string;
                  createdAt?: string;
                  disabledAt?: string;
                  id?: string;
                  state?: {
                      [key: string]: unknown;
                  };
                  triggerConfig?: {
                      [key: string]: unknown;
                  };
                  triggerData?: string;
                  triggerName?: string;
                  updatedAt?: string;
              }[];
          }

          A list of active triggers

          • Optional pageInfo?: {
                currentPage?: number;
                perPage?: number;
                totalPages?: number;
            }
            • Optional currentPage?: number

              The current page number.

            • Optional perPage?: number

              The number of items per page.

            • Optional totalPages?: number

              The total number of pages.

          • Optional triggers?: {
                connectionId?: string;
                createdAt?: string;
                disabledAt?: string;
                id?: string;
                state?: {
                    [key: string]: unknown;
                };
                triggerConfig?: {
                    [key: string]: unknown;
                };
                triggerData?: string;
                triggerName?: string;
                updatedAt?: string;
            }[]
  • /v1/triggers/get/{triggerId}: {
        get: {
            req: GetActiveTriggerData;
            res: {
                200: {
                    connectionId?: string;
                    createdAt?: string;
                    disabledAt?: string;
                    id?: string;
                    state?: {
                        [key: string]: unknown;
                    };
                    triggerConfig?: {
                        [key: string]: unknown;
                    };
                    triggerData?: string;
                    triggerName?: string;
                    updatedAt?: string;
                };
                404: unknown;
                500: unknown;
            };
        };
    }
    • get: {
          req: GetActiveTriggerData;
          res: {
              200: {
                  connectionId?: string;
                  createdAt?: string;
                  disabledAt?: string;
                  id?: string;
                  state?: {
                      [key: string]: unknown;
                  };
                  triggerConfig?: {
                      [key: string]: unknown;
                  };
                  triggerData?: string;
                  triggerName?: string;
                  updatedAt?: string;
              };
              404: unknown;
              500: unknown;
          };
      }
      • req: GetActiveTriggerData
      • res: {
            200: {
                connectionId?: string;
                createdAt?: string;
                disabledAt?: string;
                id?: string;
                state?: {
                    [key: string]: unknown;
                };
                triggerConfig?: {
                    [key: string]: unknown;
                };
                triggerData?: string;
                triggerName?: string;
                updatedAt?: string;
            };
            404: unknown;
            500: unknown;
        }
        • 200: {
              connectionId?: string;
              createdAt?: string;
              disabledAt?: string;
              id?: string;
              state?: {
                  [key: string]: unknown;
              };
              triggerConfig?: {
                  [key: string]: unknown;
              };
              triggerData?: string;
              triggerName?: string;
              updatedAt?: string;
          }

          A successful response containing the details of the active trigger.

          • Optional connectionId?: string

            Identifier for the connection associated with the trigger.

          • Optional createdAt?: string

            Timestamp when the trigger was created.

          • Optional disabledAt?: string

            Timestamp when the trigger was disabled, if applicable.

          • Optional id?: string

            Unique identifier for the trigger.

          • Optional state?: {
                [key: string]: unknown;
            }

            State information for the trigger.

            • [key: string]: unknown
          • Optional triggerConfig?: {
                [key: string]: unknown;
            }

            Configuration settings for the trigger.

            • [key: string]: unknown
          • Optional triggerData?: string

            Data associated with the trigger.

          • Optional triggerName?: string

            Name of the trigger.

          • Optional updatedAt?: string

            Timestamp when the trigger was last updated.

        • 404: unknown

          Trigger not found

        • 500: unknown

          Internal server error

  • /v2/actions: {
        get: {
            req: GetListActionsData;
            res: {
                200: {
                    items?: {
                        appId?: string;
                        appName?: string;
                        description?: string;
                        display_name?: string;
                        enabled?: boolean;
                        logo?: string;
                        name?: string;
                        parameters?: {
                            properties?: {
                                [key: string]: unknown;
                            };
                            required?: string[];
                            title?: string;
                            type?: string;
                        };
                        response?: {
                            properties?: {
                                [key: string]: unknown;
                            };
                            required?: string[];
                            title?: string;
                            type?: string;
                        };
                    }[];
                    page?: number;
                    totalPages?: number;
                };
            };
        };
    }
    • get: {
          req: GetListActionsData;
          res: {
              200: {
                  items?: {
                      appId?: string;
                      appName?: string;
                      description?: string;
                      display_name?: string;
                      enabled?: boolean;
                      logo?: string;
                      name?: string;
                      parameters?: {
                          properties?: {
                              [key: string]: unknown;
                          };
                          required?: string[];
                          title?: string;
                          type?: string;
                      };
                      response?: {
                          properties?: {
                              [key: string]: unknown;
                          };
                          required?: string[];
                          title?: string;
                          type?: string;
                      };
                  }[];
                  page?: number;
                  totalPages?: number;
              };
          };
      }
      • req: GetListActionsData
      • res: {
            200: {
                items?: {
                    appId?: string;
                    appName?: string;
                    description?: string;
                    display_name?: string;
                    enabled?: boolean;
                    logo?: string;
                    name?: string;
                    parameters?: {
                        properties?: {
                            [key: string]: unknown;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                    response?: {
                        properties?: {
                            [key: string]: unknown;
                        };
                        required?: string[];
                        title?: string;
                        type?: string;
                    };
                }[];
                page?: number;
                totalPages?: number;
            };
        }
        • 200: {
              items?: {
                  appId?: string;
                  appName?: string;
                  description?: string;
                  display_name?: string;
                  enabled?: boolean;
                  logo?: string;
                  name?: string;
                  parameters?: {
                      properties?: {
                          [key: string]: unknown;
                      };
                      required?: string[];
                      title?: string;
                      type?: string;
                  };
                  response?: {
                      properties?: {
                          [key: string]: unknown;
                      };
                      required?: string[];
                      title?: string;
                      type?: string;
                  };
              }[];
              page?: number;
              totalPages?: number;
          }

          OK

          • Optional items?: {
                appId?: string;
                appName?: string;
                description?: string;
                display_name?: string;
                enabled?: boolean;
                logo?: string;
                name?: string;
                parameters?: {
                    properties?: {
                        [key: string]: unknown;
                    };
                    required?: string[];
                    title?: string;
                    type?: string;
                };
                response?: {
                    properties?: {
                        [key: string]: unknown;
                    };
                    required?: string[];
                    title?: string;
                    type?: string;
                };
            }[]

            An array of action objects.

          • Optional page?: number

            The current page number of the action list.

          • Optional totalPages?: number

            The total number of pages available for the action list.