OVPAY-1201 - Minor delta on data model. #6

Merged
bboterm merged 1 commits from feature/OVPAY-1201 into develop 2024-12-02 09:36:20 +00:00
2 changed files with 6 additions and 18 deletions

View File

@ -27,7 +27,7 @@ paths:
type: integer type: integer
example: 1 example: 1
required: 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.
responses: responses:
"200": "200":
description: OK description: OK
@ -53,7 +53,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
{ {
@ -70,7 +69,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
], ],
@ -98,7 +96,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 0, "highestInvoiceTerm": 0,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractVersions": "contractVersions":
[ [
{ {
@ -152,7 +149,7 @@ paths:
type: integer type: integer
explode: false explode: false
required: 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 - in: query
name: billingDay name: billingDay
schema: schema:
@ -206,7 +203,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractInvoices": "contractInvoices":
[ [
{ {
@ -265,7 +261,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractInvoices": "contractInvoices":
[ [
{ {
@ -351,7 +346,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractVersions": "contractVersions":
[ [
{ {
@ -429,7 +423,6 @@ paths:
"productName": "HTM 20% korting 2024", "productName": "HTM 20% korting 2024",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 2, "highestInvoiceTerm": 2,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
}, },
} }
responses: responses:
@ -878,6 +871,8 @@ paths:
{ "contractStatusId": 3, "name": "suspended" }, { "contractStatusId": 3, "name": "suspended" },
{ "contractStatusId": 4, "name": "cancelled" }, { "contractStatusId": 4, "name": "cancelled" },
{ "contractStatusId": 5, "name": "terminated" }, { "contractStatusId": 5, "name": "terminated" },
{ "contractStatusId": 6, "name": "pending cancellation" },
{ "contractStatusId": 7, "name": "pending termination" },
], ],
} }
/actiontypes: /actiontypes:
@ -892,7 +887,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/ContractStatus" $ref: "#/components/schemas/ActionType"
example: example:
{ {
"actionTypes": "actionTypes":
@ -957,10 +952,6 @@ components:
highestInvoiceTerm: highestInvoiceTerm:
type: integer type: integer
example: 1 example: 1
xSpit:
type: string
format: uuid
example: 1c345237-4d84-47f0-93c2-7b94338e3355
contractVersions: contractVersions:
type: array type: array
items: items:
@ -1077,7 +1068,7 @@ components:
example: 2 example: 2
name: name:
type: string type: string
enum: [new, active, suspended, cancelled, terminated] enum: [new, active, suspended, cancelled, terminated, pending cancellation, pending termination]
example: active example: active
ActionType: ActionType:
type: object type: object

View File

@ -43,7 +43,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
{ {
@ -59,7 +58,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"created": "2024-08-01 15:01:00.000", "created": "2024-08-01 15:01:00.000",
}, },
] ]
@ -128,7 +126,6 @@ paths:
"termDuration": "P0Y1M0D", "termDuration": "P0Y1M0D",
"billingDay": 15, "billingDay": 15,
"highestInvoiceTerm": 1, "highestInvoiceTerm": 1,
"xSpit": "1c345237-4d84-47f0-93c2-7b94338e3355",
"contractVersions": "contractVersions":
[ [
{ {