action papinet_get_orders { label: "List `orders`" description: "Gets a paginated list of all `orders`." provider: papinet method: GET path: "/orders" encoding: json input: { type: "object" properties: { limit: { type: "string" } offset: { type: "string" } orderStatus: { type: "string" enum: ["Active", "Cancelled", "Completed"] } } additionalProperties: false } output: { type: "object" properties: { links: { type: "object" required: ["next"] properties: { first: { type: "object" properties: { href: { type: "string" } } } last: { type: "object" properties: { href: { type: "string" } } } next: { type: "object" properties: { href: { type: "string" } } } prev: { type: "object" properties: { href: { type: "string" } } } } } orders: { type: "array" items: { type: "object" required: ["id", "orderNumber", "orderStatus", "numberOfLineItems"] properties: { id: { type: "string" format: "uuid" } numberOfLineItems: { type: "integer" } orderNumber: { type: "string" } orderStatus: { type: "string" enum: ["Active", "Cancelled", "Completed"] } } } } } } }