diff --git a/src/openapi/contracts/contracts-crud.yaml b/src/openapi/contracts/contracts-crud.yaml index 09e1de6..0c3e90e 100644 --- a/src/openapi/contracts/contracts-crud.yaml +++ b/src/openapi/contracts/contracts-crud.yaml @@ -27,7 +27,7 @@ paths: type: integer example: 1 required: false - description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated. + description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated, 6 = pending cancellation, 7 = pending termination. responses: "200": description: OK @@ -53,7 +53,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "created": "2024-08-01 15:01:00.000", }, { @@ -70,7 +69,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "created": "2024-08-01 15:01:00.000", }, ], @@ -98,7 +96,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 0, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "contractVersions": [ { @@ -152,7 +149,7 @@ paths: type: integer explode: false required: false - description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated. + description: Filter on possible contract status. 1 = new, 2 = active, 3 = suspended, 4 = cancelled, 5 = terminated, 6 = pending cancellation, 7 = pending termination. - in: query name: billingDay schema: @@ -206,7 +203,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "contractInvoices": [ { @@ -265,7 +261,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "contractInvoices": [ { @@ -351,7 +346,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "contractVersions": [ { @@ -429,7 +423,6 @@ paths: "productName": "HTM 20% korting 2024", "billingDay": 15, "highestInvoiceTerm": 2, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", }, } responses: @@ -878,6 +871,8 @@ paths: { "contractStatusId": 3, "name": "suspended" }, { "contractStatusId": 4, "name": "cancelled" }, { "contractStatusId": 5, "name": "terminated" }, + { "contractStatusId": 6, "name": "pending cancellation" }, + { "contractStatusId": 7, "name": "pending termination" }, ], } /actiontypes: @@ -892,7 +887,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/ContractStatus" + $ref: "#/components/schemas/ActionType" example: { "actionTypes": @@ -957,10 +952,6 @@ components: highestInvoiceTerm: type: integer example: 1 - xSpit: - type: string - format: uuid - example: 1c345237-4d84-47f0-93c2-7b94338e3355 contractVersions: type: array items: @@ -1077,7 +1068,7 @@ components: example: 2 name: type: string - enum: [new, active, suspended, cancelled, terminated] + enum: [new, active, suspended, cancelled, terminated, pending cancellation, pending termination] example: active ActionType: type: object diff --git a/src/openapi/contracts/contracts-se.yaml b/src/openapi/contracts/contracts-se.yaml index 98ac462..934903f 100644 --- a/src/openapi/contracts/contracts-se.yaml +++ b/src/openapi/contracts/contracts-se.yaml @@ -43,7 +43,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "created": "2024-08-01 15:01:00.000", }, { @@ -59,7 +58,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "created": "2024-08-01 15:01:00.000", }, ] @@ -128,7 +126,6 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, - "xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355", "contractVersions": [ {