Skip to content

Commit

Permalink
feat(gate): Renamed the field "isOwner" to "isOwnCompanyData" in OpenAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaralexandremorais committed Oct 20, 2023
1 parent 7acbcaa commit f6e8eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ interface IBaseBusinessPartnerGateDto : IBaseBusinessPartnerDto {
@get:Schema(description = CommonDescription.externalId)
val externalId: String

@get:Schema(name = "isOwner", description = "True if the sharing member declares itself as the owner of the business partner.")
@get:Schema(description = "True if the sharing member declares itself as the owner of the business partner.")
val isOwnCompanyData: Boolean
}
2 changes: 1 addition & 1 deletion docs/postman/BPDM Gate.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
"header": [],
"body": {
"mode": "raw",
"raw": "[\n {\n \"externalId\": \"12044444\",\n \"nameParts\": [\n \"Name of Company\"\n ],\n \"shortName\": \"string\",\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\"\n }\n ],\n \"legalForm\": \"CUSTOM_FORM\",\n \"states\": [\n {\n \"validFrom\": \"2023-09-29T08:57:22.999Z\",\n \"validTo\": \"2023-09-29T08:57:22.999Z\",\n \"type\": \"ACTIVE\",\n \"description\": \"Active\"\n }\n ],\n \"classifications\": [\n {\n \"type\": \"NACE\",\n \"code\": \"01.21\",\n \"value\": \"Farming of cattle, dairy farming\"\n }\n ],\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"postalAddress\": {\n \"addressType\": \"LegalAndSiteMainAddress\",\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg\",\n \"administrativeAreaLevel2\": \"test1\",\n \"administrativeAreaLevel3\": \"test2\",\n \"postalCode\": \"70546\",\n \"city\": \"Stuttgart\",\n \"district\": \"Stuttgart\",\n \"street\": {\n \"namePrefix\": \"test prefix\",\n \"additionalNamePrefix\": \"test1\",\n \"name\": \"Stuttgarter Strasse\",\n \"nameSuffix\": \"test\",\n \"additionalNameSuffix\": \"test2\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\"\n },\n \"companyPostalCode\": \"GM01\",\n \"industrialZone\": \"HEADQUARTER\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": \"test\"\n },\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg 1\",\n \"postalCode\": \"1234\",\n \"city\": \"Stuttgart 1\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\",\n \"deliveryServiceNumber\": \"1234\"\n }\n },\n \"isOwner\": true\n }\n]",
"raw": "[\n {\n \"externalId\": \"12044444\",\n \"nameParts\": [\n \"Name of Company\"\n ],\n \"shortName\": \"string\",\n \"identifiers\": [\n {\n \"value\": \"123456789\",\n \"type\": \"CUSTOM_ID_TYPE\",\n \"issuingBody\": \"CUSTOM_ISSUE_BODY\"\n }\n ],\n \"legalForm\": \"CUSTOM_FORM\",\n \"states\": [\n {\n \"validFrom\": \"2023-09-29T08:57:22.999Z\",\n \"validTo\": \"2023-09-29T08:57:22.999Z\",\n \"type\": \"ACTIVE\",\n \"description\": \"Active\"\n }\n ],\n \"classifications\": [\n {\n \"type\": \"NACE\",\n \"code\": \"01.21\",\n \"value\": \"Farming of cattle, dairy farming\"\n }\n ],\n \"roles\": [\n \"SUPPLIER\"\n ],\n \"postalAddress\": {\n \"addressType\": \"LegalAndSiteMainAddress\",\n \"physicalPostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg\",\n \"administrativeAreaLevel2\": \"test1\",\n \"administrativeAreaLevel3\": \"test2\",\n \"postalCode\": \"70546\",\n \"city\": \"Stuttgart\",\n \"district\": \"Stuttgart\",\n \"street\": {\n \"namePrefix\": \"test prefix\",\n \"additionalNamePrefix\": \"test1\",\n \"name\": \"Stuttgarter Strasse\",\n \"nameSuffix\": \"test\",\n \"additionalNameSuffix\": \"test2\",\n \"houseNumber\": \"1\",\n \"milestone\": \"Stuttgarter Strasse 1\",\n \"direction\": \"Stuttgarter Str.\"\n },\n \"companyPostalCode\": \"GM01\",\n \"industrialZone\": \"HEADQUARTER\",\n \"building\": \"Building A\",\n \"floor\": \"A\",\n \"door\": \"test\"\n },\n \"alternativePostalAddress\": {\n \"geographicCoordinates\": {\n \"longitude\": 0,\n \"latitude\": 0,\n \"altitude\": 0\n },\n \"country\": \"DE\",\n \"administrativeAreaLevel1\": \"Baden-Wuerttemberg 1\",\n \"postalCode\": \"1234\",\n \"city\": \"Stuttgart 1\",\n \"deliveryServiceType\": \"PO_BOX\",\n \"deliveryServiceQualifier\": \"test\",\n \"deliveryServiceNumber\": \"1234\"\n }\n },\n \"isOwnCompanyData\": true\n }\n]",
"options": {
"raw": {
"language": "json"
Expand Down

0 comments on commit f6e8eb4

Please sign in to comment.