diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 6ff2f7e..d517ab6 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -243,7 +243,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: True + isEmailVerified: false addresses: - addressId: 1 street: mystreet @@ -332,14 +332,6 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=1", - "method": "GET", - }, - } - customerProfileId: 12 customerNumber: 1000002 debtorNumber: DB100121 @@ -377,7 +369,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: False + isEmailVerified: false address: - addressId: 1 street: mystreet @@ -467,32 +459,7 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=12", - "method": "GET", - }, - } - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20", - "method": "GET", - }, - "prev": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=40", - "method": "GET", - }, - } + href: "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20&limit=20" getCustomerActive: summary: getCustomerActive description: >- @@ -526,7 +493,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: False + isEmailVerified: false addresses: - addressId: 1 street: mystreet @@ -615,22 +582,7 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=1", - "method": "GET", - }, - } - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers", - "method": "GET", - }, - } + href: https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20&limit=20 getCustomerBlocked: summary: getCustomerBlocked description: >- @@ -669,7 +621,7 @@ paths: suffix: PhD dateOfBirth: "2002-10-29" emailAddresses: TEST@HTM.NL - isEmailVerified: True + isEmailVerified: false addresses: - addressId: 1 street: mystreet @@ -758,22 +710,7 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?customerProfileId=1", - "method": "GET", - }, - } - _links: - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/customers", - "method": "GET", - }, - } + href: https://api.integratielaag.nl/abt/abtcustomers/2.0/customers?offset=20&limit=20 400: description: Bad Request content: @@ -835,7 +772,7 @@ paths: suffix: jr dateOfBirth: "1970-01-01" emailAddress: j.jansen@hatseflats.nl - isEmailVerified: False + isEmailVerified: false addresses: - street: Laan van Meerdervoort houseNumber: 5 @@ -934,7 +871,7 @@ paths: suffix: "jr", dateOfBirth: "1970-01-01", emailAddress: "TEST@TEST1.NL", - isEmailVerified: False + isEmailVerified: false } updateCompleteEntity: value: @@ -946,7 +883,7 @@ paths: suffix: "jr", dateOfBirth: "1970-01-01", emailAddress: "TEST@TEST1.NL", - isEmailVerified: True + isEmailVerified: false } required: true responses: @@ -1438,13 +1375,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/getDevices" - examples: - updateDeviceResponse: - value: - deviceId: "5bedce29-af0c-4f3c-b182-2caa8a1f9377" - externalDeviceId: "7122a988-a00a-417d-a5b4-da2d91354976" - alias: "iPhone zakelijk" + $ref: "#/components/schemas/patchDeviceResponse" security: - default: [] @@ -1607,24 +1538,7 @@ paths: "replacedByTokenId": 12, }, ], - "_links": - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens?offset=20", - "method": "GET", - }, - "prev": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens?offset=40", - "method": "GET", - }, - }, + "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/ovPayTokens?offset=20&limit=20" } /customers/{customerProfileId}/ovpaytokens: post: @@ -1943,9 +1857,10 @@ paths: "created": "2024-10-20T17:05:52.000", }, ], + "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/billingInformations?offset=20&limit=20" } getBillingInformationSingleSpecificCustomer: - summary: Get singel billing information entity for a specific customers + summary: Get single billing information entity for a specific customers description: >- Found one billing information matching the search parameters value: @@ -2135,59 +2050,7 @@ paths: "updateTimestamp": "2024-03-22T08:55:00", }, ], - "_links": - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=20", - "method": "GET", - }, - }, - } - getDirectDebitMandateWithNextPageandPreviousPage: - value: - { - "directDebitMandates": - [ - { - "directDebitMandateId": 71, - "customerProfileId": 12, - "billingInformationId": 51, - "directDebitMandateType": - { - "directDebitMandateTypeId": 1, - "name": "import", - "description": "import", - }, - "created": "2024-03-22T08:55:00", - "mandateReference": "CORE01", - "mandateState": "SIGNED", - "updateTimestamp": "2024-03-22T08:55:00", - }, - ], - "_links": - { - "self": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=20", - "method": "GET", - }, - "prev": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates", - "method": "GET", - }, - "next": - { - "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=40", - "method": "GET", - }, - }, + "href": "https://api.integratielaag.nl/abt/abtcustomers/2.0/directdebitmandates?offset=20&limit=20" } /billingInformation/{billingInformationId}/directdebitmandates: post: @@ -2843,7 +2706,7 @@ components: emailAddress: type: string isEmailVerified: - type: string + type: boolean postOvPayTokenResponse: type: object properties: @@ -2857,6 +2720,14 @@ components: type: array items: $ref: "#/components/schemas/getDeviceEntity" + patchDeviceResponse: + type: object + properties: + deviceId: + type: string + format: uuid + example: "b2c8a8c6-3d1c-4b6b-8f8d-3a6a1b6a1b6a" + getDeviceEntity: type: object properties: