diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 79a3c1a..f32867b 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -156,7 +156,14 @@ paths: schema: type: integer required: false - description: Filter on billingDay. + description: Filter on billingDay. In case of weekly termDuration, Sunday = 0, Monday = 1, etc. + - in: query + name: termDuration + schema: + type: string + example: P1M + required: false + description: Filter on termDuration. - in: query name: invoiceLimit schema: @@ -195,14 +202,14 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0001", "term": 1, - "created": "2024-07-02 15:01:00.000", - "updated": "2024-07-02 15:01:00.000", + "created": "2024-06-02 15:01:00.000", + "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", }, { "contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355", "externalReference": "F2024-0002", - "term": 1, + "term": 2, "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created", @@ -230,14 +237,14 @@ paths: "contractInvoiceId": "8699d72a-cf4d-4e6b-9e9c-549d837ca51f", "externalReference": "F2024-0003", "term": 1, - "created": "2024-07-02 15:01:00.000", - "updated": "2024-07-02 15:01:00.000", + "created": "2024-06-02 15:01:00.000", + "updated": "2024-06-02 15:01:00.000", "state": "invoice_created", }, { "contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355", "externalReference": "F2024-0004", - "term": 1, + "term": 2, "created": "2024-07-02 15:01:00.000", "updated": "2024-07-02 15:01:00.000", "state": "invoice_created",