From ec6edd36362b7410c41e0f4eff10fdc2a8e8a32e Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 19 May 2025 12:28:15 +0200 Subject: [PATCH 1/4] updated customer v1 --- src/openapi/customers/customers.yaml | 192 ++++++--------------------- 1 file changed, 39 insertions(+), 153 deletions(-) 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 From 920246f499b1e120ba7fafce22e7758433a62371 Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 19 May 2025 12:42:35 +0200 Subject: [PATCH 2/4] removed is preferred example --- src/openapi/customers/customers.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/openapi/customers/customers.yaml b/src/openapi/customers/customers.yaml index 7eff027..8b42ccc 100644 --- a/src/openapi/customers/customers.yaml +++ b/src/openapi/customers/customers.yaml @@ -2778,10 +2778,6 @@ paths: value: address: addressTypeId: 1 - updateIsPreferred: - value: - address: - isPreferred: false responses: '202': description: Successful updated the customer profile From 9c9c96453fa2dc5a022d5020a57d4ded4b47f75d Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 19 May 2025 13:21:29 +0200 Subject: [PATCH 3/4] shenanigens updated and created financials --- src/openapi/customers/customers.yaml | 48 +++++++++++----------------- 1 file changed, 19 insertions(+), 29 deletions(-) diff --git a/src/openapi/customers/customers.yaml b/src/openapi/customers/customers.yaml index 8b42ccc..3a8ab2e 100644 --- a/src/openapi/customers/customers.yaml +++ b/src/openapi/customers/customers.yaml @@ -127,8 +127,7 @@ paths: iban: '1234567890' bic: ING ascription: Dit is een Test - alias: Alias Test - created: "2024-06-02T15:03:46Z" + alias: Alias Test updateIban: value: billingInformation: @@ -202,15 +201,13 @@ paths: iban: '1234567890' bic: ING ascription: Dit is een Test - alias: Alias Test - created: "2024-06-02T15:03:46Z" + alias: Alias Test minimumBillingInformation: value: billingInformation: iban: '1234567890' ascription: Dit is een Test - alias: Alias Test - created: "2024-06-02T15:03:46Z" + alias: Alias Test required: true responses: '201': @@ -267,14 +264,12 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference minimumdirectDebitMandate: value: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference required: true responses: @@ -338,13 +333,13 @@ paths: bic: ING ascription: Dit is een Test alias: Alias Test - created: "2024-06-02T15:03:46Z" + created: "2024-06-02T15:03:460" - billingInformationId: 2 iban: '0987654321' bic: null ascription: Dit is een Test alias: Alias Test - created: "2024-06-02T15:03:46Z" + created: "2024-06-02T15:03:460" directDebitMandate: - directDebitMandateId: 1 directDebitMandateTypeName: PIN Transaction @@ -352,14 +347,14 @@ paths: created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: SIGNED - updateTimestamp: '2024-01-01T00:00:00.00' + updateTimestamp: '2024-01-01T00:00:00.000' - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: CANCELLED - updateTimestamp: '2024-01-01T00:00:00.00' + updateTimestamp: '2024-01-01T00:00:00.000' missingBillingInformation: value: customerNumber: 1000003 @@ -384,13 +379,13 @@ paths: bic: ING ascription: Dit is een Test alias: Alias Test - created: "2024-06-02T15:03:46Z" + created: "2024-06-02T15:03:460" - billingInformationId: 2 iban: '0987654321' bic: null ascription: Dit is een Test alias: Alias Test - created: "2024-06-02T15:03:46Z" + created: "2024-06-02T15:03:460" directDebitMandate: [] minimumFinancialInformation: value: @@ -469,7 +464,7 @@ paths: updateDirectDebitMandateType: value: directDebitMandate: - directDebitMandateTypeId: 1 + directDebitMandateTypeId: 1 updateBillingInformationId: value: directDebitMandate: @@ -553,8 +548,7 @@ paths: iban: '1234567890' bic: ING ascription: Dit is een Test - alias: Alias Test - created: "2024-06-02T15:03:46Z" + alias: Alias Test updateIban: value: billingInformation: @@ -711,15 +705,13 @@ paths: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - created: '1900-01-01T00:00:00.000' - mandateReference: Dit is een test Reference + mandateReference: Dit is een test Reference minimumdirectDebitMandate: value: directDebitMandate: directDebitMandateTypeId: 1 billingInformationId: 1 - created: '1900-01-01T00:00:00.000' - mandateReference: Dit is een test Reference + mandateReference: Dit is een test Reference required: true responses: '201': @@ -790,14 +782,14 @@ paths: ascription: Dit is een Test alias: Alias Test billingAddressId: 2 - created: '2024-01-01T00:00:00.00' + created: '2024-01-01T00:00:00.000' - billingInformationId: 2 iban: '0987654321' bic: null ascription: Dit is een Test alias: Alias Test billingAddressId: 3 - created: '2024-01-01T00:00:00.00' + created: '2024-01-01T00:00:00.000' directDebitMandate: - directDebitMandateId: 1 directDebitMandateTypeName: PIN transaction @@ -805,14 +797,14 @@ paths: created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: SIGNED - updateTimestamp: '2024-01-01T00:00:00.00' + updateTimestamp: '2024-01-01T00:00:00.000' - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 created: '1900-01-01T00:00:00.000' mandateReference: Dit is een test Reference mandateState: CANCELLED - updateTimestamp: '2024-01-01T00:00:00.00' + updateTimestamp: '2024-01-01T00:00:00.000' missingBillingInformation: value: customerNumber: 1000003 @@ -837,13 +829,13 @@ paths: bic: ING ascription: Dit is een Test alias: Alias Test - created: "2024-06-02T15:03:46Z" + created: "2024-06-02T15:03:460" - billingInformationId: 2 iban: '0987654321' bic: null ascription: Dit is een Test alias: Alias Test - created: "2024-06-02T15:03:46Z" + created: "2024-06-02T15:03:460" directDebitMandate: [] minimumFinancialInformation: value: @@ -4678,8 +4670,6 @@ components: type: string billingInformationId: type: integer - created: - type: string mandateReference: type: string directDebitMandatePost: From a6491041cb79bf8ae7a5b272af59789add60c2e5 Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 19 May 2025 13:25:06 +0200 Subject: [PATCH 4/4] dinges --- src/openapi/customers/customers.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/openapi/customers/customers.yaml b/src/openapi/customers/customers.yaml index 3a8ab2e..472250a 100644 --- a/src/openapi/customers/customers.yaml +++ b/src/openapi/customers/customers.yaml @@ -364,12 +364,14 @@ paths: directDebitMandateTypeName: PIN transaction billingInformationId: 1 created: '1900-01-01T00:00:00.000' - mandateReference: Dit is een test Reference + mandateReference: Dit is een test Reference + updateTimestamp: '1900-01-01T00:00:00.000' - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 created: '1900-01-01T00:00:00.000' - mandateReference: Dit is een test Reference + mandateReference: Dit is een test Reference + updateTimestamp: '1900-01-01T00:00:00.000' missingDebitMandateInformation: value: customerNumber: 1000003 @@ -814,12 +816,14 @@ paths: directDebitMandateTypeName: PIN transaction billingInformationId: 1 created: '1900-01-01T00:00:00.000' - mandateReference: Dit is een test Reference + mandateReference: Dit is een test Reference + updateTimestamp: '1900-01-01T00:00:00.000' - directDebitMandateId: 2 directDebitMandateTypeName: Paper Contract billingInformationId: 1 created: '1900-01-01T00:00:00.000' - mandateReference: Dit is een test Reference + mandateReference: Dit is een test Reference + updateTimestamp: '1900-01-01T00:00:00.000' missingDebitMandateInformation: value: customerNumber: 1000003