Closed AlexanderGaivorontsev closed 3 years ago
Привет Алекс! Вы могли бы создать PR с решением?
Ну или хотя бы скиньте анонимизированный ответ целиком.
Привет! Я нашел еще больше отсутствующих типов. Добавлю PR с решением
:tada: This issue has been resolved in version 2.0.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Thanks for the PR! 🎉
Hi! I use your lib for working with Amazon. But I met this problem:
Problem with the value of property "ListFinancialEventsByNextTokenResponse": Problem with the value of property "ListFinancialEventsByNextTokenResult": Problem with the value of property "FinancialEvents": Problem with the value of property "AdjustmentEventList": One of the following problems occured: (0) Problem with the value at index 3: Problem with the value of property "AdjustmentType": One of the following problems occured: (0) Expected an enum member, but received a string with value "Other", (1) Expected an undefined, but received a string with value "Other", (1) Expected an undefined, but received an object with value {"AdjustmentEvent":[{"AdjustmentType":"PostageBilling_DeliveryConfirmation","AdjustmentAmount":{"CurrencyAmount":0,"CurrencyCode":"USD"},"PostedDate":"2021-09-28T23:46:48.032Z"},{"AdjustmentType":"PostageBilling_Postage","AdjustmentAmount":{"CurrencyAmount":-5.27,"CurrencyCode":"USD"},"PostedDate":"2021-09-28T23:46:48.032Z"},{"AdjustmentType":"PostageBilling_TransactionFee","AdjustmentAmount":{"CurrencyAmount":0,"CurrencyCode":"USD"},"PostedDate":"2021-09-28T23:46:48.032Z"},{"AdjustmentType":"Other","AdjustmentAmount":{"CurrencyAmount":0,"CurrencyCode":"USD"},"PostedDate":"2021-09-28T23:46:48.032Z"}]}
I found AdjustmentTypeEnum into the codec.d file:
Amazon sends me data types like this: and this: I like your lib and I want to use it and I want to help you. Thanks!