{
  "service": "super_saas",
  "displayName": "SuperSaaS",
  "categories": [
    "Productivity"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "SUPERSAAS_API_KEY",
      "description": "SuperSaaS account API key sent with the account name on API requests. Generate it at the bottom of Account Info after signing in: https://www.supersaas.com/accounts/edit#api_key.",
      "extraFields": [
        {
          "key": "accountName",
          "label": "Account Name",
          "inputType": "text",
          "required": true,
          "secret": false,
          "placeholder": "your_account_name",
          "description": "The SuperSaaS account name sent with API requests. It is the account identifier used in your SuperSaaS dashboard and API examples."
        }
      ]
    }
  ],
  "homepageUrl": "https://www.supersaas.com/",
  "actions": [
    {
      "id": "super_saas.list_appointments",
      "service": "super_saas",
      "name": "list_appointments",
      "description": "List appointments or slots for one SuperSaaS schedule in a time range.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "schedule_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The SuperSaaS schedule ID."
          },
          "from": {
            "type": "string",
            "minLength": 1,
            "description": "A SuperSaaS date or timestamp in YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format."
          },
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "A SuperSaaS date or timestamp in YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format."
          },
          "today": {
            "type": "boolean",
            "description": "Whether SuperSaaS should use the current local day as the range."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of records to return."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "The result offset used for pagination."
          },
          "user": {
            "type": "string",
            "minLength": 1,
            "description": "A SuperSaaS user name, user ID, or foreign key used to filter bookings."
          },
          "slot": {
            "type": "boolean",
            "description": "Whether to include capacity schedule slot information."
          }
        },
        "additionalProperties": false,
        "required": [
          "schedule_id"
        ],
        "description": "Input parameters for listing SuperSaaS bookings."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "bookings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw SuperSaaS booking, change, or slot object. Custom account fields are preserved."
            },
            "description": "SuperSaaS bookings in the requested range."
          },
          "slots": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw SuperSaaS booking, change, or slot object. Custom account fields are preserved."
            },
            "description": "SuperSaaS slots in the requested range."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw SuperSaaS response."
          }
        },
        "additionalProperties": false,
        "description": "The bookings returned by SuperSaaS."
      }
    },
    {
      "id": "super_saas.list_field_names",
      "service": "super_saas",
      "name": "list_field_names",
      "description": "List available SuperSaaS fields for a schedule or for the user object.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "schedule_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The SuperSaaS schedule ID."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for listing SuperSaaS field names."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw SuperSaaS field list response."
          }
        },
        "additionalProperties": false,
        "description": "The field list returned by SuperSaaS."
      }
    },
    {
      "id": "super_saas.list_groups",
      "service": "super_saas",
      "name": "list_groups",
      "description": "List groups in the connected SuperSaaS account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "This action does not require any input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "description": "One tuple value returned by SuperSaaS."
              },
              "description": "A SuperSaaS tuple such as [id, name].",
              "minItems": 1
            },
            "description": "SuperSaaS group tuples."
          }
        },
        "additionalProperties": false,
        "description": "The groups returned by SuperSaaS."
      }
    },
    {
      "id": "super_saas.list_recent_changes",
      "service": "super_saas",
      "name": "list_recent_changes",
      "description": "List recently changed bookings for one SuperSaaS schedule.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "schedule_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The SuperSaaS schedule ID."
          },
          "from": {
            "type": "string",
            "minLength": 1,
            "description": "A SuperSaaS date or timestamp in YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format."
          },
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "A SuperSaaS date or timestamp in YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format."
          },
          "today": {
            "type": "boolean",
            "description": "Whether SuperSaaS should use the current local day as the range."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of records to return."
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "description": "The result offset used for pagination."
          },
          "user": {
            "type": "string",
            "minLength": 1,
            "description": "A SuperSaaS user name, user ID, or foreign key used to filter bookings."
          },
          "slot": {
            "type": "boolean",
            "description": "Whether to include capacity schedule slot information."
          }
        },
        "additionalProperties": false,
        "required": [
          "schedule_id"
        ],
        "description": "Input parameters for listing SuperSaaS bookings."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "bookings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw SuperSaaS booking, change, or slot object. Custom account fields are preserved."
            },
            "description": "SuperSaaS bookings in the requested range."
          },
          "slots": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A raw SuperSaaS booking, change, or slot object. Custom account fields are preserved."
            },
            "description": "SuperSaaS slots in the requested range."
          },
          "raw": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "The raw SuperSaaS response."
          }
        },
        "additionalProperties": false,
        "description": "The bookings returned by SuperSaaS."
      }
    },
    {
      "id": "super_saas.list_resources",
      "service": "super_saas",
      "name": "list_resources",
      "description": "List resources or services for one SuperSaaS schedule.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "schedule_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The SuperSaaS schedule ID."
          }
        },
        "additionalProperties": false,
        "description": "Input parameters for one SuperSaaS schedule."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "resources": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "description": "One tuple value returned by SuperSaaS."
              },
              "description": "A SuperSaaS tuple such as [id, name].",
              "minItems": 1
            },
            "description": "SuperSaaS resource or service tuples."
          }
        },
        "additionalProperties": false,
        "description": "The resources or services returned by SuperSaaS."
      }
    },
    {
      "id": "super_saas.list_schedules",
      "service": "super_saas",
      "name": "list_schedules",
      "description": "List schedules in the connected SuperSaaS account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "This action does not require any input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "schedules": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "description": "One tuple value returned by SuperSaaS."
              },
              "description": "A SuperSaaS tuple such as [id, name].",
              "minItems": 1
            },
            "description": "SuperSaaS schedule tuples."
          }
        },
        "additionalProperties": false,
        "description": "The schedules returned by SuperSaaS."
      }
    },
    {
      "id": "super_saas.list_super_forms",
      "service": "super_saas",
      "name": "list_super_forms",
      "description": "List SuperForms in the connected SuperSaaS account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "This action does not require any input."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "superForms": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "description": "One tuple value returned by SuperSaaS."
              },
              "description": "A SuperSaaS tuple such as [id, name].",
              "minItems": 1
            },
            "description": "SuperSaaS SuperForm tuples."
          }
        },
        "additionalProperties": false,
        "description": "The SuperForms returned by SuperSaaS."
      }
    }
  ]
}
