diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index d3942fc..3a332f2 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -132,8 +132,8 @@ paths: type: string example: e1307c73-676a-4d07-967b-6141276f7c7c responses: - "200": - description: Successful retrieved a customer profile + 200: + description: Successfully retrieved customer profile(s) content: application/json: schema: @@ -363,25 +363,25 @@ paths: timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 href: null - "400": + 400: description: Bad Request content: application/json: schema: $ref: "#/components/schemas/400Response" - "401": + 401: description: Unauthorized content: application/json: schema: $ref: "#/components/schemas/401Response" - "404": + 404: description: Not Found content: application/json: schema: $ref: "#/components/schemas/404Response" - "500": + 500: description: Internal Server Error content: application/json: @@ -516,8 +516,8 @@ paths: type: string example: e1307c73-676a-4d07-967b-6141276f7c7c responses: - "200": - description: Successful retrieved a customer profile + 200: + description: Successfully retrieved a customer profile content: application/json: schema: @@ -635,25 +635,25 @@ paths: user: user timestamp: "2023-10-20T17:05:52.000+02:00" correlationId: 01c6d8b4-1cd3-4f9b-85ea-c9adca53ce95 - "400": + 400: description: Bad Request content: application/json: schema: $ref: "#/components/schemas/400Response" - "401": + 401: description: Unauthorized content: application/json: schema: $ref: "#/components/schemas/401Response" - "404": + 404: description: Not Found content: application/json: schema: $ref: "#/components/schemas/404Response" - "500": + 500: description: Internal Server Error content: application/json: @@ -1047,10 +1047,6 @@ components: implicit: authorizationUrl: https://services.acc.api.htm.nl/authorize scopes: {} - bearerToken: - type: http - scheme: bearer - bearerFormat: JWT schemas: unavailable: type: object @@ -1272,256 +1268,6 @@ components: type: array items: $ref: "#/components/schemas/audit" - directDebitMandatePostEntity: - required: - - billingInformationId - - created - - directDebitMandateTypeName - - mandateAddressId - - mandateReference - type: object - properties: - directDebitMandateTypeName: - type: string - billingInformationId: - type: integer - mandateAddressId: - type: integer - created: - type: string - mandateReference: - type: string - directDebitMandatePost: - type: object - properties: - directDebitMandate: - $ref: "#/components/schemas/directDebitMandatePostEntity" - directDebitMandatePatchEntity: - type: object - properties: - directDebitMandateTypeName: - type: string - billingInformationId: - type: integer - mandateAddressId: - type: integer - mandateReference: - type: string - mandateState: - type: string - enum: - - SIGNED - - CANCELLED - - PREPARED - directDebitMandatePatch: - type: object - properties: - directDebitMandate: - $ref: "#/components/schemas/directDebitMandatePatchEntity" - directDebitMandateGETEntity: - type: object - properties: - directDebitMandateId: - type: integer - directDebitMandateTypeId: - type: integer - billingInformationId: - type: integer - mandateAddressId: - type: integer - created: - type: string - mandateReference: - type: string - mandateState: - type: string - updateTimestamp: - type: string - billingInformationGETEntity: - required: - - alias - - ascription - - bic - - billingAddressId - - billingInformationId - - iban - - issuerCountry - - swift - type: object - properties: - billingInformationId: - type: integer - issuerCountry: - type: string - iban: - type: string - bic: - type: string - swift: - type: string - ascription: - type: string - alias: - type: string - billingAddressId: - type: integer - billingInformationPostEntity: - required: - - alias - - ascription - - billingAddressId - - iban - - issuerCountry - type: object - properties: - issuerCountry: - type: string - iban: - type: string - bic: - type: string - swift: - type: string - ascription: - type: string - alias: - type: string - billingAddressId: - type: integer - billingInformationPost: - type: object - properties: - billingInformation: - $ref: "#/components/schemas/billingInformationPostEntity" - billingInformationPatchEntity: - type: object - properties: - issuerCountry: - type: string - iban: - type: string - bic: - type: string - swift: - type: string - ascription: - type: string - alias: - type: string - billingAddressId: - type: integer - billingInformationPatch: - type: object - properties: - billingInformation: - $ref: "#/components/schemas/billingInformationPatchEntity" - getCustomerProfileFinancials: - type: object - properties: - customerNumber: - type: integer - billingInformation: - type: array - items: - $ref: "#/components/schemas/billingInformationGETEntity" - directDebitMandate: - type: array - items: - $ref: "#/components/schemas/directDebitMandateGETEntity" - customerPreferencesEntity: - type: object - properties: - languageId: - type: string - postCustomerProfile: - type: object - properties: - debtorStatusId: - type: integer - customerPreference: - $ref: "#/components/schemas/customerPreferencesEntity" - person: - $ref: "#/components/schemas/personEntity" - addresses: - type: array - items: - $ref: "#/components/schemas/addressPostEntity" - phones: - type: array - items: - $ref: "#/components/schemas/phonePostEntity" - postCustomerStatusEntity: - type: object - properties: - name: - type: string - postCustomerStatus: - type: object - properties: - customerStatus: - $ref: "#/components/schemas/postCustomerStatusEntity" - postOvChipCardEntity: - required: - - chipCardNumber - type: object - properties: - chipCardNumber: - type: integer - validUntil: - type: string - format: date - alias: - type: string - patchCustomerProfile: - type: object - properties: - debtorStatusId: - type: integer - patchCustomerPreferencesEntity: - type: object - properties: - languageId: - type: string - patchCustomerPreferences: - type: object - properties: - customerPreference: - $ref: "#/components/schemas/patchCustomerPreferencesEntity" - postOvChipCard: - type: object - properties: - ovChipCard: - $ref: "#/components/schemas/postOvChipCardEntity" - postOvPayToken: - required: - - alias - - lastDigits - - tokenTypeId - - xBot - - xTat - type: object - properties: - ovPayToken: - type: object - properties: - tokenTypeId: - type: string - xTat: - type: string - xBot: - type: string - alias: - type: string - lastDigits: - type: integer - ovpasNumber: - type: string - tokenStatusId: - type: integer - expirationDate: - type: string - replacedByTokenId: - type: integer ovPayTokenEntity: type: object properties: @@ -1553,256 +1299,6 @@ components: type: string replacedByTokenId: type: integer - patchOvPayToken: - type: object - properties: - ovPayToken: - $ref: "#/components/schemas/ovPayTokenEntity" - patchPerson: - type: object - properties: - person: - $ref: "#/components/schemas/personEntity" - patchAddress: - type: object - properties: - address: - $ref: "#/components/schemas/addressPatchEntity" - patchPhone: - type: object - properties: - phone: - $ref: "#/components/schemas/phonePatchEntity" - postAddress: - type: object - properties: - address: - $ref: "#/components/schemas/addressPostEntity" - postPhone: - type: object - properties: - phone: - $ref: "#/components/schemas/phonePostEntity" - personEntity: - type: object - properties: - birthname: - type: string - surname: - type: string - prefix: - type: string - suffix: - type: string - dateOfBirth: - type: string - format: date - emailAddress: - type: string - addressPostEntity: - required: - - addressTypeId - - city - - country - - houseNumber - - postalCode - - street - type: object - properties: - street: - type: string - houseNumber: - type: integer - houseNumberSuffix: - type: string - postalCode: - type: string - city: - type: string - country: - type: string - isPreferred: - type: boolean - addressTypeId: - type: integer - addressPatchEntity: - type: object - properties: - street: - type: string - houseNumber: - type: integer - houseNumberSuffix: - type: string - postalCode: - type: string - city: - type: string - country: - type: string - addressTypeId: - type: integer - isPreferred: - type: boolean - phonePostEntity: - required: - - countryCode - - number - - phoneTypeId - type: object - properties: - number: - type: string - countryCode: - type: string - phoneTypeId: - type: integer - isPreferred: - type: boolean - phonePatchEntity: - type: object - properties: - number: - type: string - countryCode: - type: string - phoneTypeId: - type: integer - isPreferred: - type: boolean - defaultCustomerProfileResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - phonePatchOKResponse: - type: object - properties: - id: - type: integer - example: 1 - addressPatchOKResponse: - type: object - properties: - id: - type: integer - example: 1 - postCustomerProfileCustomerNumberResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - postCustomerProfileAddressResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - addressId: - type: integer - example: 1 - postCustomerProfilePhoneResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - phoneId: - type: integer - example: 1 - postCustomerProfileBillingInformationResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - billingInformationId: - type: integer - example: 1 - postCustomerProfileDirectDebitMandateResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - directDebitMandateId: - type: integer - example: 1 - postCustomerProfileOvChipCardResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - ovChipCardId: - type: integer - example: 1 - patchCustomerProfileResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - patchCustomerPreferencesResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 - ovPayTokenGetEntity: - type: object - properties: - ovPayTokenId: - type: integer - example: 1 - tokenTypeId: - type: integer - example: 1 - xTat: - type: string - example: 0044831b-8e80c-4f82-r989a-8d85ee1996 - xBot: - type: string - example: 0044831b-8e80c-4f82-r989a-8d85ee1996 - lastDigits: - type: string - example: "0001" - ovpasNumber: - type: integer - example: 1 - alias: - type: string - example: alias - tokenStatusId: - type: integer - expirationDate: - type: string - replacedByTokenId: - type: integer - getCustomerProfileOvPayTokenResponse: - type: object - properties: - ovPayToken: - type: array - items: - $ref: "#/components/schemas/ovPayTokenGetEntity" - postCustomerProfileOvPayTokenResponse: - type: object - properties: - ovPaytoken: - type: object - example: 10000001 - ovPayTokenId: - type: integer - example: 1 - patchCustomerProfileCustomerNumberResponse: - type: object - properties: - customerNumber: - type: integer - example: 10000001 400Response: type: object properties: