@naturalpay/sdk 1.6.53 → 1.6.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/ach/client/requests/NewAchParams.d.ts +2 -4
  3. package/dist/cjs/api/resources/ach/types/NewAchParamsDirection.d.ts +1 -2
  4. package/dist/cjs/api/resources/ach/types/NewAchParamsDirection.js +1 -2
  5. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributes.d.ts +2 -0
  6. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFee.d.ts +11 -0
  7. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFee.js +3 -0
  8. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.ts +5 -0
  9. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.js +8 -0
  10. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
  11. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.js +8 -0
  12. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.ts +5 -0
  13. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.js +8 -0
  14. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributes.d.ts +2 -0
  15. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFee.d.ts +11 -0
  16. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFee.js +3 -0
  17. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.ts +5 -0
  18. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.js +8 -0
  19. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
  20. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.js +8 -0
  21. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.ts +5 -0
  22. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.js +8 -0
  23. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributes.d.ts +2 -0
  24. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFee.d.ts +11 -0
  25. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFee.js +3 -0
  26. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.ts +5 -0
  27. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.js +8 -0
  28. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
  29. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.js +8 -0
  30. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.ts +5 -0
  31. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.js +8 -0
  32. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributes.d.ts +2 -0
  33. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFee.d.ts +11 -0
  34. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFee.js +3 -0
  35. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.ts +5 -0
  36. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.js +8 -0
  37. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts +5 -0
  38. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.js +8 -0
  39. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.ts +5 -0
  40. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.js +8 -0
  41. package/dist/cjs/api/resources/check/types/index.d.ts +16 -0
  42. package/dist/cjs/api/resources/check/types/index.js +16 -0
  43. package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +4 -0
  44. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +4 -0
  45. package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.ts +1 -1
  46. package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts +2 -1
  47. package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js +2 -1
  48. package/dist/cjs/api/resources/paymentIntents/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/paymentIntents/client/Client.js +3 -3
  50. package/dist/cjs/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.ts +1 -1
  51. package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts +0 -1
  52. package/dist/cjs/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js +0 -1
  53. package/dist/cjs/api/types/PaymentIntentRelationships.d.ts +1 -1
  54. package/dist/cjs/api/types/PaymentIntentRelationshipsCardPayment.d.ts +1 -1
  55. package/dist/cjs/api/types/VoiceSessionAttributes.d.ts +2 -2
  56. package/dist/cjs/api/types/VoiceSessionAttributesStatus.d.ts +0 -1
  57. package/dist/cjs/api/types/VoiceSessionAttributesStatus.js +0 -1
  58. package/dist/cjs/api/types/VoiceSessionRelationships.d.ts +2 -0
  59. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingParty.d.ts +8 -0
  60. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingParty.js +3 -0
  61. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyData.d.ts +9 -0
  62. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyData.js +3 -0
  63. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.ts +5 -0
  64. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.js +8 -0
  65. package/dist/cjs/api/types/index.d.ts +3 -0
  66. package/dist/cjs/api/types/index.js +3 -0
  67. package/dist/cjs/serialization/resources/ach/client/requests/NewAchParams.d.ts +0 -1
  68. package/dist/cjs/serialization/resources/ach/client/requests/NewAchParams.js +0 -1
  69. package/dist/cjs/serialization/resources/ach/types/NewAchParamsDirection.d.ts +1 -1
  70. package/dist/cjs/serialization/resources/ach/types/NewAchParamsDirection.js +1 -1
  71. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.ts +2 -0
  72. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributes.js +2 -0
  73. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.ts +15 -0
  74. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.js +47 -0
  75. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.ts +7 -0
  76. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.js +39 -0
  77. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
  78. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.js +39 -0
  79. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.ts +7 -0
  80. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.js +39 -0
  81. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.ts +2 -0
  82. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributes.js +2 -0
  83. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.ts +15 -0
  84. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.js +47 -0
  85. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.ts +7 -0
  86. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.js +39 -0
  87. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
  88. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.js +39 -0
  89. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.ts +7 -0
  90. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.js +39 -0
  91. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributes.d.ts +2 -0
  92. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributes.js +2 -0
  93. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFee.d.ts +15 -0
  94. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFee.js +47 -0
  95. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.ts +7 -0
  96. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.js +39 -0
  97. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
  98. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.js +39 -0
  99. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.ts +7 -0
  100. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.js +39 -0
  101. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributes.d.ts +2 -0
  102. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributes.js +2 -0
  103. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.d.ts +15 -0
  104. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.js +47 -0
  105. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.ts +7 -0
  106. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.js +39 -0
  107. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts +7 -0
  108. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.js +39 -0
  109. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.ts +7 -0
  110. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.js +39 -0
  111. package/dist/cjs/serialization/resources/check/types/index.d.ts +16 -0
  112. package/dist/cjs/serialization/resources/check/types/index.js +16 -0
  113. package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +2 -0
  114. package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.js +2 -0
  115. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +2 -0
  116. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +2 -0
  117. package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts +1 -1
  118. package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js +1 -1
  119. package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.ts +1 -1
  120. package/dist/cjs/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.js +1 -1
  121. package/dist/cjs/serialization/types/VoiceSessionAttributesStatus.d.ts +1 -1
  122. package/dist/cjs/serialization/types/VoiceSessionAttributesStatus.js +1 -1
  123. package/dist/cjs/serialization/types/VoiceSessionRelationships.d.ts +2 -0
  124. package/dist/cjs/serialization/types/VoiceSessionRelationships.js +2 -0
  125. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingParty.d.ts +10 -0
  126. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingParty.js +42 -0
  127. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.d.ts +11 -0
  128. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.js +43 -0
  129. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.ts +7 -0
  130. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.js +39 -0
  131. package/dist/cjs/serialization/types/index.d.ts +3 -0
  132. package/dist/cjs/serialization/types/index.js +3 -0
  133. package/dist/cjs/version.d.ts +1 -1
  134. package/dist/cjs/version.js +1 -1
  135. package/dist/esm/BaseClient.mjs +2 -2
  136. package/dist/esm/api/resources/ach/client/requests/NewAchParams.d.mts +2 -4
  137. package/dist/esm/api/resources/ach/types/NewAchParamsDirection.d.mts +1 -2
  138. package/dist/esm/api/resources/ach/types/NewAchParamsDirection.mjs +1 -2
  139. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributes.d.mts +2 -0
  140. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts +11 -0
  141. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFee.mjs +2 -0
  142. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.mts +5 -0
  143. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.mjs +5 -0
  144. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
  145. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.mjs +5 -0
  146. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts +5 -0
  147. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.mjs +5 -0
  148. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributes.d.mts +2 -0
  149. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts +11 -0
  150. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFee.mjs +2 -0
  151. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.mts +5 -0
  152. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.mjs +5 -0
  153. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
  154. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.mjs +5 -0
  155. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.mts +5 -0
  156. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.mjs +5 -0
  157. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributes.d.mts +2 -0
  158. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFee.d.mts +11 -0
  159. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFee.mjs +2 -0
  160. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.mts +5 -0
  161. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.mjs +5 -0
  162. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
  163. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.mjs +5 -0
  164. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.mts +5 -0
  165. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.mjs +5 -0
  166. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributes.d.mts +2 -0
  167. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFee.d.mts +11 -0
  168. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFee.mjs +2 -0
  169. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts +5 -0
  170. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.mjs +5 -0
  171. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts +5 -0
  172. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.mjs +5 -0
  173. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.mts +5 -0
  174. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.mjs +5 -0
  175. package/dist/esm/api/resources/check/types/index.d.mts +16 -0
  176. package/dist/esm/api/resources/check/types/index.mjs +16 -0
  177. package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +4 -0
  178. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +4 -0
  179. package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.mts +1 -1
  180. package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts +2 -1
  181. package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs +2 -1
  182. package/dist/esm/api/resources/paymentIntents/client/Client.d.mts +3 -3
  183. package/dist/esm/api/resources/paymentIntents/client/Client.mjs +3 -3
  184. package/dist/esm/api/resources/voiceSessions/client/requests/CreateVoiceSessionsRequest.d.mts +1 -1
  185. package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.mts +0 -1
  186. package/dist/esm/api/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.mjs +0 -1
  187. package/dist/esm/api/types/PaymentIntentRelationships.d.mts +1 -1
  188. package/dist/esm/api/types/PaymentIntentRelationshipsCardPayment.d.mts +1 -1
  189. package/dist/esm/api/types/VoiceSessionAttributes.d.mts +2 -2
  190. package/dist/esm/api/types/VoiceSessionAttributesStatus.d.mts +0 -1
  191. package/dist/esm/api/types/VoiceSessionAttributesStatus.mjs +0 -1
  192. package/dist/esm/api/types/VoiceSessionRelationships.d.mts +2 -0
  193. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingParty.d.mts +8 -0
  194. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingParty.mjs +2 -0
  195. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyData.d.mts +9 -0
  196. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyData.mjs +2 -0
  197. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.mts +5 -0
  198. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.mjs +5 -0
  199. package/dist/esm/api/types/index.d.mts +3 -0
  200. package/dist/esm/api/types/index.mjs +3 -0
  201. package/dist/esm/serialization/resources/ach/client/requests/NewAchParams.d.mts +0 -1
  202. package/dist/esm/serialization/resources/ach/client/requests/NewAchParams.mjs +0 -1
  203. package/dist/esm/serialization/resources/ach/types/NewAchParamsDirection.d.mts +1 -1
  204. package/dist/esm/serialization/resources/ach/types/NewAchParamsDirection.mjs +1 -1
  205. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.mts +2 -0
  206. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.mjs +2 -0
  207. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts +15 -0
  208. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.mjs +11 -0
  209. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.mts +7 -0
  210. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.mjs +3 -0
  211. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
  212. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.mjs +3 -0
  213. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts +7 -0
  214. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.mjs +3 -0
  215. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.mts +2 -0
  216. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.mjs +2 -0
  217. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts +15 -0
  218. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.mjs +11 -0
  219. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.mts +7 -0
  220. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.mjs +3 -0
  221. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
  222. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.mjs +3 -0
  223. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.mts +7 -0
  224. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.mjs +3 -0
  225. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributes.d.mts +2 -0
  226. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributes.mjs +2 -0
  227. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFee.d.mts +15 -0
  228. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFee.mjs +11 -0
  229. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.mts +7 -0
  230. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.mjs +3 -0
  231. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
  232. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.mjs +3 -0
  233. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.mts +7 -0
  234. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.mjs +3 -0
  235. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributes.d.mts +2 -0
  236. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributes.mjs +2 -0
  237. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.d.mts +15 -0
  238. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.mjs +11 -0
  239. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts +7 -0
  240. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.mjs +3 -0
  241. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts +7 -0
  242. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.mjs +3 -0
  243. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.mts +7 -0
  244. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.mjs +3 -0
  245. package/dist/esm/serialization/resources/check/types/index.d.mts +16 -0
  246. package/dist/esm/serialization/resources/check/types/index.mjs +16 -0
  247. package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +2 -0
  248. package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.mjs +2 -0
  249. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +2 -0
  250. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +2 -0
  251. package/dist/esm/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts +1 -1
  252. package/dist/esm/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs +1 -1
  253. package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.d.mts +1 -1
  254. package/dist/esm/serialization/resources/voiceSessions/types/ListVoiceSessionsRequestStatus.mjs +1 -1
  255. package/dist/esm/serialization/types/VoiceSessionAttributesStatus.d.mts +1 -1
  256. package/dist/esm/serialization/types/VoiceSessionAttributesStatus.mjs +1 -1
  257. package/dist/esm/serialization/types/VoiceSessionRelationships.d.mts +2 -0
  258. package/dist/esm/serialization/types/VoiceSessionRelationships.mjs +2 -0
  259. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingParty.d.mts +10 -0
  260. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingParty.mjs +6 -0
  261. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.d.mts +11 -0
  262. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.mjs +7 -0
  263. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.mts +7 -0
  264. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.mjs +3 -0
  265. package/dist/esm/serialization/types/index.d.mts +3 -0
  266. package/dist/esm/serialization/types/index.mjs +3 -0
  267. package/dist/esm/version.d.mts +1 -1
  268. package/dist/esm/version.mjs +1 -1
  269. package/package.json +1 -1
  270. package/reference.md +2 -2
@@ -1,6 +1,6 @@
1
1
  import type * as Natural from "../index.js";
2
2
  /**
3
- * Successful card payment. Null until a payment succeeds.
3
+ * The card payment the issuer approved. Null until one is approved.
4
4
  */
5
5
  export interface PaymentIntentRelationshipsCardPayment {
6
6
  /** Related resource identifier. */
@@ -8,14 +8,14 @@ export interface VoiceSessionAttributes {
8
8
  referenceId: string | null;
9
9
  /** Supplied caller phone number, or null for a session without one. */
10
10
  callerPhone: string | null;
11
- /** Dial destination while the session accepts a call and you have permission to create payment voice sessions. Otherwise null. */
11
+ /** Dial destination while the session accepts a call and you have permission to create payment voice sessions. Otherwise null. Treat it as opaque: store it from the create response and never build it from the session ID. */
12
12
  dialUri: string | null;
13
13
  /** RFC 3339 deadline for starting the session's one permitted call. */
14
14
  dialExpiresAt: string;
15
15
  /** Requested return destination, or null. This does not confirm the destination answered. */
16
16
  returnTarget: string | null;
17
17
  call: Natural.VoiceSessionAttributesCall;
18
- /** RFC 3339 time the session completed, or null. Set once the call has ended and the kind's block holds its result. `voiceSession.completed` fires then. */
18
+ /** RFC 3339 time the session closed, or null. Set once the call has ended and its result is known, or the session expired or was canceled. `voiceSession.completed` fires once then. */
19
19
  completedAt: string | null;
20
20
  /** RFC 3339 time the session was created. */
21
21
  createdAt: string;
@@ -3,7 +3,6 @@ export declare const VoiceSessionAttributesStatus: {
3
3
  readonly AwaitingCall: "awaitingCall";
4
4
  readonly InProgress: "inProgress";
5
5
  readonly Ended: "ended";
6
- readonly Failed: "failed";
7
6
  readonly Canceled: "canceled";
8
7
  readonly Expired: "expired";
9
8
  };
@@ -7,7 +7,6 @@ exports.VoiceSessionAttributesStatus = {
7
7
  AwaitingCall: "awaitingCall",
8
8
  InProgress: "inProgress",
9
9
  Ended: "ended",
10
- Failed: "failed",
11
10
  Canceled: "canceled",
12
11
  Expired: "expired",
13
12
  };
@@ -4,4 +4,6 @@ export interface VoiceSessionRelationships {
4
4
  paymentIntent: Natural.VoiceSessionRelationshipsPaymentIntent;
5
5
  /** Associated Natural customer, or null when none is associated. */
6
6
  customerParty: Natural.VoiceSessionRelationshipsCustomerParty;
7
+ /** The party that created the session: the platform calling for the customer, or the customer itself. */
8
+ initiatingParty: Natural.VoiceSessionRelationshipsInitiatingParty;
7
9
  }
@@ -0,0 +1,8 @@
1
+ import type * as Natural from "../index.js";
2
+ /**
3
+ * The party that created the session: the platform calling for the customer, or the customer itself.
4
+ */
5
+ export interface VoiceSessionRelationshipsInitiatingParty {
6
+ /** Related resource identifier. */
7
+ data: Natural.VoiceSessionRelationshipsInitiatingPartyData;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as Natural from "../index.js";
2
+ /**
3
+ * Related resource identifier.
4
+ */
5
+ export interface VoiceSessionRelationshipsInitiatingPartyData {
6
+ /** Resource type. Always `party`. */
7
+ type: Natural.VoiceSessionRelationshipsInitiatingPartyDataType;
8
+ id: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /** Resource type. Always `party`. */
2
+ export declare const VoiceSessionRelationshipsInitiatingPartyDataType: {
3
+ readonly Party: "party";
4
+ };
5
+ export type VoiceSessionRelationshipsInitiatingPartyDataType = (typeof VoiceSessionRelationshipsInitiatingPartyDataType)[keyof typeof VoiceSessionRelationshipsInitiatingPartyDataType];
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.VoiceSessionRelationshipsInitiatingPartyDataType = void 0;
5
+ /** Resource type. Always `party`. */
6
+ exports.VoiceSessionRelationshipsInitiatingPartyDataType = {
7
+ Party: "party",
8
+ };
@@ -185,6 +185,9 @@ export * from "./VoiceSessionRelationships.js";
185
185
  export * from "./VoiceSessionRelationshipsCustomerParty.js";
186
186
  export * from "./VoiceSessionRelationshipsCustomerPartyData.js";
187
187
  export * from "./VoiceSessionRelationshipsCustomerPartyDataType.js";
188
+ export * from "./VoiceSessionRelationshipsInitiatingParty.js";
189
+ export * from "./VoiceSessionRelationshipsInitiatingPartyData.js";
190
+ export * from "./VoiceSessionRelationshipsInitiatingPartyDataType.js";
188
191
  export * from "./VoiceSessionRelationshipsPaymentIntent.js";
189
192
  export * from "./VoiceSessionRelationshipsPaymentIntentData.js";
190
193
  export * from "./VoiceSessionRelationshipsPaymentIntentDataType.js";
@@ -201,6 +201,9 @@ __exportStar(require("./VoiceSessionRelationships.js"), exports);
201
201
  __exportStar(require("./VoiceSessionRelationshipsCustomerParty.js"), exports);
202
202
  __exportStar(require("./VoiceSessionRelationshipsCustomerPartyData.js"), exports);
203
203
  __exportStar(require("./VoiceSessionRelationshipsCustomerPartyDataType.js"), exports);
204
+ __exportStar(require("./VoiceSessionRelationshipsInitiatingParty.js"), exports);
205
+ __exportStar(require("./VoiceSessionRelationshipsInitiatingPartyData.js"), exports);
206
+ __exportStar(require("./VoiceSessionRelationshipsInitiatingPartyDataType.js"), exports);
204
207
  __exportStar(require("./VoiceSessionRelationshipsPaymentIntent.js"), exports);
205
208
  __exportStar(require("./VoiceSessionRelationshipsPaymentIntentData.js"), exports);
206
209
  __exportStar(require("./VoiceSessionRelationshipsPaymentIntentDataType.js"), exports);
@@ -12,7 +12,6 @@ export declare namespace NewAchParams {
12
12
  currency?: NewAchParamsCurrency.Raw | null;
13
13
  walletId?: string | null;
14
14
  externalPartyAccountId: string;
15
- mandateId?: string | null;
16
15
  companyEntryDescription: string;
17
16
  internalDescription?: string | null;
18
17
  addenda?: string | null;
@@ -45,7 +45,6 @@ exports.NewAchParams = core.serialization.object({
45
45
  currency: NewAchParamsCurrency_js_1.NewAchParamsCurrency.optional(),
46
46
  walletId: core.serialization.string().optional(),
47
47
  externalPartyAccountId: core.serialization.string(),
48
- mandateId: core.serialization.string().optional(),
49
48
  companyEntryDescription: core.serialization.string(),
50
49
  internalDescription: core.serialization.string().optional(),
51
50
  addenda: core.serialization.string().optional(),
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const NewAchParamsDirection: core.serialization.Schema<serializers.NewAchParamsDirection.Raw, Natural.NewAchParamsDirection>;
5
5
  export declare namespace NewAchParamsDirection {
6
- type Raw = "debit" | "credit";
6
+ type Raw = "credit";
7
7
  }
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.NewAchParamsDirection = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
- exports.NewAchParamsDirection = core.serialization.enum_(["debit", "credit"]);
39
+ exports.NewAchParamsDirection = core.serialization.enum_(["credit"]);
@@ -6,6 +6,7 @@ import { CancelCheckResponseDataAttributesCurrency } from "./CancelCheckResponse
6
6
  import { CancelCheckResponseDataAttributesDelivery } from "./CancelCheckResponseDataAttributesDelivery.js";
7
7
  import { CancelCheckResponseDataAttributesDeliveryMethod } from "./CancelCheckResponseDataAttributesDeliveryMethod.js";
8
8
  import { CancelCheckResponseDataAttributesFailure } from "./CancelCheckResponseDataAttributesFailure.js";
9
+ import { CancelCheckResponseDataAttributesFee } from "./CancelCheckResponseDataAttributesFee.js";
9
10
  import { CancelCheckResponseDataAttributesPayee } from "./CancelCheckResponseDataAttributesPayee.js";
10
11
  import { CancelCheckResponseDataAttributesPresentmentReturnsItem } from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.js";
11
12
  import { CancelCheckResponseDataAttributesReturn } from "./CancelCheckResponseDataAttributesReturn.js";
@@ -15,6 +16,7 @@ export declare namespace CancelCheckResponseDataAttributes {
15
16
  interface Raw {
16
17
  amount: number;
17
18
  currency: CancelCheckResponseDataAttributesCurrency.Raw;
19
+ fee?: CancelCheckResponseDataAttributesFee.Raw | null;
18
20
  status: CancelCheckResponseDataAttributesStatus.Raw;
19
21
  memo: string;
20
22
  message?: string | null;
@@ -41,6 +41,7 @@ const CancelCheckResponseDataAttributesCurrency_js_1 = require("./CancelCheckRes
41
41
  const CancelCheckResponseDataAttributesDelivery_js_1 = require("./CancelCheckResponseDataAttributesDelivery.js");
42
42
  const CancelCheckResponseDataAttributesDeliveryMethod_js_1 = require("./CancelCheckResponseDataAttributesDeliveryMethod.js");
43
43
  const CancelCheckResponseDataAttributesFailure_js_1 = require("./CancelCheckResponseDataAttributesFailure.js");
44
+ const CancelCheckResponseDataAttributesFee_js_1 = require("./CancelCheckResponseDataAttributesFee.js");
44
45
  const CancelCheckResponseDataAttributesPayee_js_1 = require("./CancelCheckResponseDataAttributesPayee.js");
45
46
  const CancelCheckResponseDataAttributesPresentmentReturnsItem_js_1 = require("./CancelCheckResponseDataAttributesPresentmentReturnsItem.js");
46
47
  const CancelCheckResponseDataAttributesReturn_js_1 = require("./CancelCheckResponseDataAttributesReturn.js");
@@ -48,6 +49,7 @@ const CancelCheckResponseDataAttributesStatus_js_1 = require("./CancelCheckRespo
48
49
  exports.CancelCheckResponseDataAttributes = core.serialization.object({
49
50
  amount: core.serialization.number(),
50
51
  currency: CancelCheckResponseDataAttributesCurrency_js_1.CancelCheckResponseDataAttributesCurrency,
52
+ fee: CancelCheckResponseDataAttributesFee_js_1.CancelCheckResponseDataAttributesFee.nullable(),
51
53
  status: CancelCheckResponseDataAttributesStatus_js_1.CancelCheckResponseDataAttributesStatus,
52
54
  memo: core.serialization.string(),
53
55
  message: core.serialization.string().nullable(),
@@ -0,0 +1,15 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { CancelCheckResponseDataAttributesFeeApplied } from "./CancelCheckResponseDataAttributesFeeApplied.js";
5
+ import { CancelCheckResponseDataAttributesFeeCurrency } from "./CancelCheckResponseDataAttributesFeeCurrency.js";
6
+ import { CancelCheckResponseDataAttributesFeePayer } from "./CancelCheckResponseDataAttributesFeePayer.js";
7
+ export declare const CancelCheckResponseDataAttributesFee: core.serialization.ObjectSchema<serializers.CancelCheckResponseDataAttributesFee.Raw, Natural.CancelCheckResponseDataAttributesFee>;
8
+ export declare namespace CancelCheckResponseDataAttributesFee {
9
+ interface Raw {
10
+ amount: number;
11
+ currency: CancelCheckResponseDataAttributesFeeCurrency.Raw;
12
+ payer: CancelCheckResponseDataAttributesFeePayer.Raw;
13
+ applied: CancelCheckResponseDataAttributesFeeApplied.Raw;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CancelCheckResponseDataAttributesFee = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const CancelCheckResponseDataAttributesFeeApplied_js_1 = require("./CancelCheckResponseDataAttributesFeeApplied.js");
40
+ const CancelCheckResponseDataAttributesFeeCurrency_js_1 = require("./CancelCheckResponseDataAttributesFeeCurrency.js");
41
+ const CancelCheckResponseDataAttributesFeePayer_js_1 = require("./CancelCheckResponseDataAttributesFeePayer.js");
42
+ exports.CancelCheckResponseDataAttributesFee = core.serialization.object({
43
+ amount: core.serialization.number(),
44
+ currency: CancelCheckResponseDataAttributesFeeCurrency_js_1.CancelCheckResponseDataAttributesFeeCurrency,
45
+ payer: CancelCheckResponseDataAttributesFeePayer_js_1.CancelCheckResponseDataAttributesFeePayer,
46
+ applied: CancelCheckResponseDataAttributesFeeApplied_js_1.CancelCheckResponseDataAttributesFeeApplied,
47
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CancelCheckResponseDataAttributesFeeApplied: core.serialization.Schema<serializers.CancelCheckResponseDataAttributesFeeApplied.Raw, Natural.CancelCheckResponseDataAttributesFeeApplied>;
5
+ export declare namespace CancelCheckResponseDataAttributesFeeApplied {
6
+ type Raw = "on_top";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CancelCheckResponseDataAttributesFeeApplied = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CancelCheckResponseDataAttributesFeeApplied = core.serialization.enum_(["on_top"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CancelCheckResponseDataAttributesFeeCurrency: core.serialization.Schema<serializers.CancelCheckResponseDataAttributesFeeCurrency.Raw, Natural.CancelCheckResponseDataAttributesFeeCurrency>;
5
+ export declare namespace CancelCheckResponseDataAttributesFeeCurrency {
6
+ type Raw = "USD";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CancelCheckResponseDataAttributesFeeCurrency = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CancelCheckResponseDataAttributesFeeCurrency = core.serialization.enum_(["USD"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CancelCheckResponseDataAttributesFeePayer: core.serialization.Schema<serializers.CancelCheckResponseDataAttributesFeePayer.Raw, Natural.CancelCheckResponseDataAttributesFeePayer>;
5
+ export declare namespace CancelCheckResponseDataAttributesFeePayer {
6
+ type Raw = "sender";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CancelCheckResponseDataAttributesFeePayer = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CancelCheckResponseDataAttributesFeePayer = core.serialization.enum_(["sender"]);
@@ -6,6 +6,7 @@ import { CreateCheckResponseDataAttributesCurrency } from "./CreateCheckResponse
6
6
  import { CreateCheckResponseDataAttributesDelivery } from "./CreateCheckResponseDataAttributesDelivery.js";
7
7
  import { CreateCheckResponseDataAttributesDeliveryMethod } from "./CreateCheckResponseDataAttributesDeliveryMethod.js";
8
8
  import { CreateCheckResponseDataAttributesFailure } from "./CreateCheckResponseDataAttributesFailure.js";
9
+ import { CreateCheckResponseDataAttributesFee } from "./CreateCheckResponseDataAttributesFee.js";
9
10
  import { CreateCheckResponseDataAttributesPayee } from "./CreateCheckResponseDataAttributesPayee.js";
10
11
  import { CreateCheckResponseDataAttributesPresentmentReturnsItem } from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.js";
11
12
  import { CreateCheckResponseDataAttributesReturn } from "./CreateCheckResponseDataAttributesReturn.js";
@@ -15,6 +16,7 @@ export declare namespace CreateCheckResponseDataAttributes {
15
16
  interface Raw {
16
17
  amount: number;
17
18
  currency: CreateCheckResponseDataAttributesCurrency.Raw;
19
+ fee?: CreateCheckResponseDataAttributesFee.Raw | null;
18
20
  status: CreateCheckResponseDataAttributesStatus.Raw;
19
21
  memo: string;
20
22
  message?: string | null;
@@ -41,6 +41,7 @@ const CreateCheckResponseDataAttributesCurrency_js_1 = require("./CreateCheckRes
41
41
  const CreateCheckResponseDataAttributesDelivery_js_1 = require("./CreateCheckResponseDataAttributesDelivery.js");
42
42
  const CreateCheckResponseDataAttributesDeliveryMethod_js_1 = require("./CreateCheckResponseDataAttributesDeliveryMethod.js");
43
43
  const CreateCheckResponseDataAttributesFailure_js_1 = require("./CreateCheckResponseDataAttributesFailure.js");
44
+ const CreateCheckResponseDataAttributesFee_js_1 = require("./CreateCheckResponseDataAttributesFee.js");
44
45
  const CreateCheckResponseDataAttributesPayee_js_1 = require("./CreateCheckResponseDataAttributesPayee.js");
45
46
  const CreateCheckResponseDataAttributesPresentmentReturnsItem_js_1 = require("./CreateCheckResponseDataAttributesPresentmentReturnsItem.js");
46
47
  const CreateCheckResponseDataAttributesReturn_js_1 = require("./CreateCheckResponseDataAttributesReturn.js");
@@ -48,6 +49,7 @@ const CreateCheckResponseDataAttributesStatus_js_1 = require("./CreateCheckRespo
48
49
  exports.CreateCheckResponseDataAttributes = core.serialization.object({
49
50
  amount: core.serialization.number(),
50
51
  currency: CreateCheckResponseDataAttributesCurrency_js_1.CreateCheckResponseDataAttributesCurrency,
52
+ fee: CreateCheckResponseDataAttributesFee_js_1.CreateCheckResponseDataAttributesFee.nullable(),
51
53
  status: CreateCheckResponseDataAttributesStatus_js_1.CreateCheckResponseDataAttributesStatus,
52
54
  memo: core.serialization.string(),
53
55
  message: core.serialization.string().nullable(),
@@ -0,0 +1,15 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { CreateCheckResponseDataAttributesFeeApplied } from "./CreateCheckResponseDataAttributesFeeApplied.js";
5
+ import { CreateCheckResponseDataAttributesFeeCurrency } from "./CreateCheckResponseDataAttributesFeeCurrency.js";
6
+ import { CreateCheckResponseDataAttributesFeePayer } from "./CreateCheckResponseDataAttributesFeePayer.js";
7
+ export declare const CreateCheckResponseDataAttributesFee: core.serialization.ObjectSchema<serializers.CreateCheckResponseDataAttributesFee.Raw, Natural.CreateCheckResponseDataAttributesFee>;
8
+ export declare namespace CreateCheckResponseDataAttributesFee {
9
+ interface Raw {
10
+ amount: number;
11
+ currency: CreateCheckResponseDataAttributesFeeCurrency.Raw;
12
+ payer: CreateCheckResponseDataAttributesFeePayer.Raw;
13
+ applied: CreateCheckResponseDataAttributesFeeApplied.Raw;
14
+ }
15
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateCheckResponseDataAttributesFee = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const CreateCheckResponseDataAttributesFeeApplied_js_1 = require("./CreateCheckResponseDataAttributesFeeApplied.js");
40
+ const CreateCheckResponseDataAttributesFeeCurrency_js_1 = require("./CreateCheckResponseDataAttributesFeeCurrency.js");
41
+ const CreateCheckResponseDataAttributesFeePayer_js_1 = require("./CreateCheckResponseDataAttributesFeePayer.js");
42
+ exports.CreateCheckResponseDataAttributesFee = core.serialization.object({
43
+ amount: core.serialization.number(),
44
+ currency: CreateCheckResponseDataAttributesFeeCurrency_js_1.CreateCheckResponseDataAttributesFeeCurrency,
45
+ payer: CreateCheckResponseDataAttributesFeePayer_js_1.CreateCheckResponseDataAttributesFeePayer,
46
+ applied: CreateCheckResponseDataAttributesFeeApplied_js_1.CreateCheckResponseDataAttributesFeeApplied,
47
+ });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CreateCheckResponseDataAttributesFeeApplied: core.serialization.Schema<serializers.CreateCheckResponseDataAttributesFeeApplied.Raw, Natural.CreateCheckResponseDataAttributesFeeApplied>;
5
+ export declare namespace CreateCheckResponseDataAttributesFeeApplied {
6
+ type Raw = "on_top";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateCheckResponseDataAttributesFeeApplied = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CreateCheckResponseDataAttributesFeeApplied = core.serialization.enum_(["on_top"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CreateCheckResponseDataAttributesFeeCurrency: core.serialization.Schema<serializers.CreateCheckResponseDataAttributesFeeCurrency.Raw, Natural.CreateCheckResponseDataAttributesFeeCurrency>;
5
+ export declare namespace CreateCheckResponseDataAttributesFeeCurrency {
6
+ type Raw = "USD";
7
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateCheckResponseDataAttributesFeeCurrency = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.CreateCheckResponseDataAttributesFeeCurrency = core.serialization.enum_(["USD"]);
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const CreateCheckResponseDataAttributesFeePayer: core.serialization.Schema<serializers.CreateCheckResponseDataAttributesFeePayer.Raw, Natural.CreateCheckResponseDataAttributesFeePayer>;
5
+ export declare namespace CreateCheckResponseDataAttributesFeePayer {
6
+ type Raw = "sender";
7
+ }