action squareup_list_workweek_configs { label: "ListWorkweekConfigs" description: "Returns a list of `WorkweekConfig` instances for a business." provider: squareup method: GET path: "/v2/labor/workweek-configs" encoding: json input: { type: "object" properties: { cursor: { type: "string" } limit: { type: "integer" } } additionalProperties: false } output: { type: "object" description: "The response to a request for a set of `WorkweekConfig` objects. The response contains\nthe requested `WorkweekConfig` objects and might contain a set of `Error` objects if\nthe request resulted in errors." properties: { cursor: { type: "string" description: "The value supplied in the subsequent request to fetch the next page of\n`EmployeeWage` results." } errors: { type: "array" description: "Any errors that occurred during the request." items: { type: "object" description: "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information." required: ["category", "code"] properties: { category: { type: "string" description: "The high-level category for the error." } code: { type: "string" description: "The specific code of the error." } detail: { type: "string" description: "A human-readable description of the error for debugging purposes." } field: { type: "string" description: "The name of the field provided in the original request (if any) that\nthe error pertains to." } } } } workweek_configs: { type: "array" description: "A page of `EmployeeWage` results." items: { type: "object" description: "Sets the day of the week and hour of the day that a business starts a\nworkweek. This is used to calculate overtime pay." required: ["start_of_week", "start_of_day_local_time"] properties: { created_at: { type: "string" description: "A read-only timestamp in RFC 3339 format; presented in UTC." } id: { type: "string" description: "The UUID for this object." } start_of_day_local_time: { type: "string" description: "The local time at which a business week ends. Represented as a\nstring in `HH:MM` format (`HH:MM:SS` is also accepted, but seconds are\ntruncated)." } start_of_week: { type: "string" description: "The day of the week on which a business week ends for\ncompensation purposes." } updated_at: { type: "string" description: "A read-only timestamp in RFC 3339 format; presented in UTC." } version: { type: "integer" description: "Used for resolving concurrency issues. The request fails if the version\nprovided does not match the server version at the time of the request. If not provided,\nSquare executes a blind write; potentially overwriting data from another\nwrite." } } } } } } }