diff --git a/src/openapi/customers/customers.yaml b/src/openapi/customers/customers.yaml index 65a9763..7eff027 100644 --- a/src/openapi/customers/customers.yaml +++ b/src/openapi/customers/customers.yaml @@ -45,7 +45,6 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - mandateAddressId: 2 mandateReference: Dit is een test Reference mandateState: SIGNED updateDirectDebitMandateType: @@ -56,10 +55,6 @@ paths: value: directDebitMandate: billingInformationId: 2 - updateMandateAddressId: - value: - directDebitMandate: - mandateAddressId: 3 updateMandateReference: value: directDebitMandate: @@ -129,17 +124,11 @@ paths: updateFullBillingInformation: value: billingInformation: - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 - updateIssuerCountry: - value: - billingInformation: - issuerCountry: DE + alias: Alias Test + created: "2024-06-02T15:03:46Z" updateIban: value: billingInformation: @@ -148,10 +137,6 @@ paths: value: billingInformation: bic: DEUT - updateSwift: - value: - billingInformation: - swift: UpdatedSwift updateAscription: value: billingInformation: @@ -160,10 +145,6 @@ paths: value: billingInformation: alias: Updated Alias - updateBillingAddressId: - value: - billingInformation: - billingAddressId: 3 required: true responses: '201': @@ -218,21 +199,18 @@ paths: fullFinancialInformation: value: billingInformation: - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 + alias: Alias Test + created: "2024-06-02T15:03:46Z" minimumBillingInformation: value: billingInformation: - issuerCountry: NL iban: '1234567890' ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 + alias: Alias Test + created: "2024-06-02T15:03:46Z" required: true responses: '201': @@ -289,7 +267,6 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference minimumdirectDebitMandate: @@ -297,7 +274,6 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference required: true @@ -358,26 +334,21 @@ paths: customerNumber: 1000003 billingInformation: - billingInformationId: 1 - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 + alias: Alias Test + created: "2024-06-02T15:03:46Z" - billingInformationId: 2 - issuerCountry: BE iban: '0987654321' bic: null - swift: null ascription: Dit is een Test - alias: Alias Test - billingAddressId: 3 + alias: Alias Test + created: "2024-06-02T15:03:46Z" directDebitMandate: - directDebitMandateId: 1 directDebitMandateTypeName: PIN Transaction billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: SIGNED @@ -385,7 +356,6 @@ paths: - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: CANCELLED @@ -398,13 +368,11 @@ paths: - directDebitMandateId: 1 directDebitMandateTypeName: PIN transaction billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference missingDebitMandateInformation: @@ -412,21 +380,17 @@ paths: customerNumber: 1000003 billingInformation: - billingInformationId: 1 - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 + alias: Alias Test + created: "2024-06-02T15:03:46Z" - billingInformationId: 2 - issuerCountry: BE iban: '0987654321' - bic: null - swift: null + bic: null ascription: Dit is een Test - alias: Alias Test - billingAddressId: 3 + alias: Alias Test + created: "2024-06-02T15:03:46Z" directDebitMandate: [] minimumFinancialInformation: value: @@ -500,7 +464,6 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - mandateAddressId: 2 mandateReference: Dit is een test Reference mandateState: SIGNED updateDirectDebitMandateType: @@ -511,10 +474,6 @@ paths: value: directDebitMandate: billingInformationId: 2 - updateMandateAddressId: - value: - directDebitMandate: - mandateAddressId: 3 updateMandateReference: value: directDebitMandate: @@ -591,17 +550,11 @@ paths: updateFullBillingInformation: value: billingInformation: - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 - updateIssuerCountry: - value: - billingInformation: - issuerCountry: DE + alias: Alias Test + created: "2024-06-02T15:03:46Z" updateIban: value: billingInformation: @@ -610,10 +563,6 @@ paths: value: billingInformation: bic: DEUT - updateSwift: - value: - billingInformation: - swift: UpdatedSwift updateAscription: value: billingInformation: @@ -687,17 +636,14 @@ paths: fullFinancialInformation: value: billingInformation: - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test alias: Alias Test billingAddressId: 2 minimumBillingInformation: value: billingInformation: - issuerCountry: NL iban: '1234567890' ascription: Dit is een Test alias: Alias Test @@ -765,7 +711,6 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference minimumdirectDebitMandate: @@ -773,7 +718,6 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference required: true @@ -841,38 +785,34 @@ paths: customerNumber: 1000003 billingInformation: - billingInformationId: 1 - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test alias: Alias Test billingAddressId: 2 - updateTimestamp: '2024-01-01T00:00:00.00' + created: '2024-01-01T00:00:00.00' - billingInformationId: 2 - issuerCountry: BE iban: '0987654321' bic: null - swift: null ascription: Dit is een Test alias: Alias Test billingAddressId: 3 - updateTimestamp: '2024-01-01T00:00:00.00' + created: '2024-01-01T00:00:00.00' directDebitMandate: - directDebitMandateId: 1 directDebitMandateTypeName: PIN transaction billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: SIGNED + updateTimestamp: '2024-01-01T00:00:00.00' - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: CANCELLED + updateTimestamp: '2024-01-01T00:00:00.00' missingBillingInformation: value: customerNumber: 1000003 @@ -881,13 +821,11 @@ paths: - directDebitMandateId: 1 directDebitMandateTypeName: PIN transaction billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 - mandateAddressId: 2 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference missingDebitMandateInformation: @@ -895,21 +833,17 @@ paths: customerNumber: 1000003 billingInformation: - billingInformationId: 1 - issuerCountry: NL iban: '1234567890' bic: ING - swift: Swift ascription: Dit is een Test - alias: Alias Test - billingAddressId: 2 + alias: Alias Test + created: "2024-06-02T15:03:46Z" - billingInformationId: 2 - issuerCountry: BE iban: '0987654321' bic: null - swift: null ascription: Dit is een Test alias: Alias Test - billingAddressId: 3 + created: "2024-06-02T15:03:46Z" directDebitMandate: [] minimumFinancialInformation: value: @@ -1112,8 +1046,7 @@ paths: postalCode: 0000AA city: Den Haag country: NL - isPreferred: true - addressType: Office + addressType: Billing - addressId: 2 street: mystreet 33 houseNumber: 1 @@ -1121,8 +1054,7 @@ paths: postalCode: 4455CA city: Den BOSCH country: NL - isPreferred: true - addressType: Office + addressType: Shipping phone: - phoneId: 1 number: '3112345678' @@ -1199,8 +1131,7 @@ paths: postalCode: 0000AA city: Den Haag country: NL - isPreferred: true - addressType: Office + addressType: Billing - addressId: 2 street: mystreet 33 houseNumber: 1 @@ -1208,8 +1139,7 @@ paths: postalCode: 4455CA city: Den BOSCH country: NL - isPreferred: true - addressType: Office + addressType: Shipping phone: - phoneId: 1 number: '3112345678' @@ -1537,8 +1467,7 @@ paths: postalCode: 0000AA city: Den Haag country: NL - isPreferred: true - addressType: Office + addressType: Billing - addressId: 2 street: mystreet 33 houseNumber: 1 @@ -1546,8 +1475,7 @@ paths: postalCode: 4455CA city: Den BOSCH country: NL - isPreferred: true - addressType: Office + addressType: Shipping phone: - phoneId: 1 number: '3112345678' @@ -1753,7 +1681,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: true addressTypeId: 1 - street: Beeklaan houseNumber: 30 @@ -1761,7 +1688,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: false addressTypeId: 2 phones: - number: '6123456789' @@ -2604,7 +2530,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: true addressTypeId: 1 addMinimumAddress: value: @@ -2614,7 +2539,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: true addressTypeId: 1 responses: '201': @@ -2826,7 +2750,6 @@ paths: city: Den Haag country: NL addressTypeId: 2 - isPreferred: true updateStreet: value: address: @@ -2854,7 +2777,7 @@ paths: updateAddressTypeId: value: address: - addressTypeId: 3 + addressTypeId: 1 updateIsPreferred: value: address: @@ -3111,8 +3034,7 @@ paths: postalCode: 0000AA city: Den Haag country: NL - isPreferred: true - addressType: Office + addressType: Billing - addressId: 2 street: mystreet 33 houseNumber: 1 @@ -3120,8 +3042,7 @@ paths: postalCode: 4455CA city: Den BOSCH country: NL - isPreferred: true - addressType: Office + addressType: Shipping phone: - phoneId: 1 number: '3112345678' @@ -3328,7 +3249,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: true addressTypeId: 1 - street: Beeklaan houseNumber: 30 @@ -3336,7 +3256,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: false addressTypeId: 2 phones: - number: '6123456789' @@ -4114,7 +4033,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: true addressTypeId: 1 addMinimumAddress: value: @@ -4124,7 +4042,6 @@ paths: postalCode: 2500AA city: Den Haag country: NL - isPreferred: true addressTypeId: 1 responses: '201': @@ -4350,7 +4267,6 @@ paths: city: Den Haag country: NL addressTypeId: 2 - isPreferred: true updateStreet: value: address: @@ -4378,7 +4294,7 @@ paths: updateAddressTypeId: value: address: - addressTypeId: 3 + addressTypeId: 1 updateIsPreferred: value: address: @@ -4696,8 +4612,6 @@ components: type: string country: type: string - isPreferred: - type: boolean addressType: type: string getPhone: @@ -4761,7 +4675,6 @@ components: - billingInformationId - created - directDebitMandateTypeName - - mandateAddressId - mandateReference type: object properties: @@ -4769,8 +4682,6 @@ components: type: string billingInformationId: type: integer - mandateAddressId: - type: integer created: type: string mandateReference: @@ -4787,8 +4698,6 @@ components: type: string billingInformationId: type: integer - mandateAddressId: - type: integer mandateReference: type: string mandateState: @@ -4811,8 +4720,6 @@ components: type: integer billingInformationId: type: integer - mandateAddressId: - type: integer created: type: string mandateReference: @@ -4826,52 +4733,41 @@ components: - alias - ascription - bic - - billingAddressId - billingInformationId - iban - - issuerCountry - - swift + - created 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 + created: + type: string 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 + created: + type: string billingInformationPost: type: object properties: @@ -4880,20 +4776,14 @@ components: 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: @@ -5095,8 +4985,6 @@ components: type: string country: type: string - isPreferred: - type: boolean addressTypeId: type: integer addressPatchEntity: @@ -5116,8 +5004,6 @@ components: type: string addressTypeId: type: integer - isPreferred: - type: boolean phonePostEntity: required: - countryCode