{"action":"created","issue":{"url":"https://api.github.com/repos/allegro/allegro-api/issues/1986","repository_url":"https://api.github.com/repos/allegro/allegro-api","labels_url":"https://api.github.com/repos/allegro/allegro-api/issues/1986/labels{/name}","comments_url":"https://api.github.com/repos/allegro/allegro-api/issues/1986/comments","events_url":"https://api.github.com/repos/allegro/allegro-api/issues/1986/events","html_url":"https://github.com/allegro/allegro-api/issues/1986","id":469659844,"node_id":"MDU6SXNzdWU0Njk2NTk4NDQ=","number":1986,"title":"Różne wartości \"naturalPerson\" w przypadku wybrania faktury na firmę","user":{"login":"marpyc","id":52750049,"node_id":"MDQ6VXNlcjUyNzUwMDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/52750049?v=4","gravatar_id":"","url":"https://api.github.com/users/marpyc","html_url":"https://github.com/marpyc","followers_url":"https://api.github.com/users/marpyc/followers","following_url":"https://api.github.com/users/marpyc/following{/other_user}","gists_url":"https://api.github.com/users/marpyc/gists{/gist_id}","starred_url":"https://api.github.com/users/marpyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marpyc/subscriptions","organizations_url":"https://api.github.com/users/marpyc/orgs","repos_url":"https://api.github.com/users/marpyc/repos","events_url":"https://api.github.com/users/marpyc/events{/privacy}","received_events_url":"https://api.github.com/users/marpyc/received_events","type":"User","site_admin":false},"labels":[{"id":838026800,"node_id":"MDU6TGFiZWw4MzgwMjY4MDA=","url":"https://api.github.com/repos/allegro/allegro-api/labels/pytanie","name":"pytanie","color":"bfbfbf","default":false},{"id":836122340,"node_id":"MDU6TGFiZWw4MzYxMjIzNDA=","url":"https://api.github.com/repos/allegro/allegro-api/labels/rest%20api","name":"rest api","color":"bfbfbf","default":false}],"state":"open","locked":false,"assignee":{"login":"PrzemyslawLukanowski","id":51473661,"node_id":"MDQ6VXNlcjUxNDczNjYx","avatar_url":"https://avatars3.githubusercontent.com/u/51473661?v=4","gravatar_id":"","url":"https://api.github.com/users/PrzemyslawLukanowski","html_url":"https://github.com/PrzemyslawLukanowski","followers_url":"https://api.github.com/users/PrzemyslawLukanowski/followers","following_url":"https://api.github.com/users/PrzemyslawLukanowski/following{/other_user}","gists_url":"https://api.github.com/users/PrzemyslawLukanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzemyslawLukanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzemyslawLukanowski/subscriptions","organizations_url":"https://api.github.com/users/PrzemyslawLukanowski/orgs","repos_url":"https://api.github.com/users/PrzemyslawLukanowski/repos","events_url":"https://api.github.com/users/PrzemyslawLukanowski/events{/privacy}","received_events_url":"https://api.github.com/users/PrzemyslawLukanowski/received_events","type":"User","site_admin":false},"assignees":[{"login":"PrzemyslawLukanowski","id":51473661,"node_id":"MDQ6VXNlcjUxNDczNjYx","avatar_url":"https://avatars3.githubusercontent.com/u/51473661?v=4","gravatar_id":"","url":"https://api.github.com/users/PrzemyslawLukanowski","html_url":"https://github.com/PrzemyslawLukanowski","followers_url":"https://api.github.com/users/PrzemyslawLukanowski/followers","following_url":"https://api.github.com/users/PrzemyslawLukanowski/following{/other_user}","gists_url":"https://api.github.com/users/PrzemyslawLukanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzemyslawLukanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzemyslawLukanowski/subscriptions","organizations_url":"https://api.github.com/users/PrzemyslawLukanowski/orgs","repos_url":"https://api.github.com/users/PrzemyslawLukanowski/repos","events_url":"https://api.github.com/users/PrzemyslawLukanowski/events{/privacy}","received_events_url":"https://api.github.com/users/PrzemyslawLukanowski/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2019-07-18T09:18:52Z","updated_at":"2019-08-18T11:49:25Z","closed_at":null,"author_association":"NONE","body":"Zauważyłem, że od czasu do czasu (mam przykłady konkretnych ID transakcji), w przypadku wybrania przez klienta faktury na firmę, tj. podaniu nazwy firmy i nipu (wtedy \"required\" przyjmuje wartość true oraz company->name oraz company->taxId posiadają przypisane wartości), wartość naturalPerson wygląda czasami tak: \"naturalPerson\":{\"firstName\":\"\",\"lastName\":\"\"}, a czasami tak: \"naturalPerson\":null.\r\nZ czego wynika ten brak konsekwencji i zwracanie różnych wartości?"},"comment":{"url":"https://api.github.com/repos/allegro/allegro-api/issues/comments/522314822","html_url":"https://github.com/allegro/allegro-api/issues/1986#issuecomment-522314822","issue_url":"https://api.github.com/repos/allegro/allegro-api/issues/1986","id":522314822,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMjMxNDgyMg==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-08-18T11:49:25Z","updated_at":"2019-08-18T11:49:25Z","author_association":"NONE","body":"W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 30 dni. Dlatego automatycznie oznaczamy go jako przeterminowany.  Jeśli w ciągu 7 dni nie pojawi się żadna odpowiedź, zamkniemy ten wątek. Dziękujemy za zaangażowanie w dyskusję.\n"}}
{"actor":{"display_login":"stale"}}