@naturalpay/sdk 1.6.54 → 1.6.56

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 (241) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +1 -1
  3. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributes.d.ts +2 -0
  4. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFee.d.ts +11 -0
  5. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFee.js +3 -0
  6. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.ts +5 -0
  7. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.js +8 -0
  8. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
  9. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.js +8 -0
  10. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.ts +5 -0
  11. package/dist/cjs/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.js +8 -0
  12. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributes.d.ts +2 -0
  13. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFee.d.ts +11 -0
  14. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFee.js +3 -0
  15. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.ts +5 -0
  16. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.js +8 -0
  17. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
  18. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.js +8 -0
  19. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.ts +5 -0
  20. package/dist/cjs/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.js +8 -0
  21. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributes.d.ts +2 -0
  22. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFee.d.ts +11 -0
  23. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFee.js +3 -0
  24. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.ts +5 -0
  25. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.js +8 -0
  26. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.ts +5 -0
  27. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.js +8 -0
  28. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.ts +5 -0
  29. package/dist/cjs/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.js +8 -0
  30. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributes.d.ts +2 -0
  31. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFee.d.ts +11 -0
  32. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFee.js +3 -0
  33. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.ts +5 -0
  34. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.js +8 -0
  35. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts +5 -0
  36. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.js +8 -0
  37. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.ts +5 -0
  38. package/dist/cjs/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.js +8 -0
  39. package/dist/cjs/api/resources/check/types/index.d.ts +16 -0
  40. package/dist/cjs/api/resources/check/types/index.js +16 -0
  41. package/dist/cjs/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +4 -0
  42. package/dist/cjs/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +4 -0
  43. package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.ts +1 -1
  44. package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts +2 -1
  45. package/dist/cjs/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js +2 -1
  46. package/dist/cjs/api/resources/merchantReports/client/requests/CreateMerchantReportsRequest.d.ts +1 -1
  47. package/dist/cjs/api/resources/merchantReports/types/CreateMerchantReportsRequestOutcome.d.ts +1 -1
  48. package/dist/cjs/api/resources/merchantReports/types/CreateMerchantReportsRequestOutcome.js +1 -1
  49. package/dist/cjs/api/resources/merchantReports/types/CreateMerchantReportsResponseData.d.ts +1 -1
  50. package/dist/cjs/api/resources/merchantReports/types/CreateMerchantReportsResponseDataOutcome.d.ts +1 -1
  51. package/dist/cjs/api/resources/merchantReports/types/CreateMerchantReportsResponseDataOutcome.js +1 -1
  52. package/dist/cjs/api/types/VoiceSessionRelationships.d.ts +2 -0
  53. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingParty.d.ts +8 -0
  54. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingParty.js +3 -0
  55. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyData.d.ts +9 -0
  56. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyData.js +3 -0
  57. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.ts +5 -0
  58. package/dist/cjs/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.js +8 -0
  59. package/dist/cjs/api/types/index.d.ts +3 -0
  60. package/dist/cjs/api/types/index.js +3 -0
  61. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.ts +2 -0
  62. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributes.js +2 -0
  63. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.ts +15 -0
  64. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.js +47 -0
  65. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.ts +7 -0
  66. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.js +39 -0
  67. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
  68. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.js +39 -0
  69. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.ts +7 -0
  70. package/dist/cjs/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.js +39 -0
  71. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.ts +2 -0
  72. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributes.js +2 -0
  73. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.ts +15 -0
  74. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.js +47 -0
  75. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.ts +7 -0
  76. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.js +39 -0
  77. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
  78. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.js +39 -0
  79. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.ts +7 -0
  80. package/dist/cjs/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.js +39 -0
  81. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributes.d.ts +2 -0
  82. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributes.js +2 -0
  83. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFee.d.ts +15 -0
  84. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFee.js +47 -0
  85. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.ts +7 -0
  86. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.js +39 -0
  87. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.ts +7 -0
  88. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.js +39 -0
  89. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.ts +7 -0
  90. package/dist/cjs/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.js +39 -0
  91. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributes.d.ts +2 -0
  92. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributes.js +2 -0
  93. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.d.ts +15 -0
  94. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.js +47 -0
  95. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.ts +7 -0
  96. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.js +39 -0
  97. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.ts +7 -0
  98. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.js +39 -0
  99. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.ts +7 -0
  100. package/dist/cjs/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.js +39 -0
  101. package/dist/cjs/serialization/resources/check/types/index.d.ts +16 -0
  102. package/dist/cjs/serialization/resources/check/types/index.js +16 -0
  103. package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.ts +2 -0
  104. package/dist/cjs/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.js +2 -0
  105. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.ts +2 -0
  106. package/dist/cjs/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.js +2 -0
  107. package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.ts +1 -1
  108. package/dist/cjs/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.js +1 -1
  109. package/dist/cjs/serialization/types/VoiceSessionRelationships.d.ts +2 -0
  110. package/dist/cjs/serialization/types/VoiceSessionRelationships.js +2 -0
  111. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingParty.d.ts +10 -0
  112. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingParty.js +42 -0
  113. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.d.ts +11 -0
  114. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.js +43 -0
  115. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.ts +7 -0
  116. package/dist/cjs/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.js +39 -0
  117. package/dist/cjs/serialization/types/index.d.ts +3 -0
  118. package/dist/cjs/serialization/types/index.js +3 -0
  119. package/dist/cjs/version.d.ts +1 -1
  120. package/dist/cjs/version.js +1 -1
  121. package/dist/esm/BaseClient.mjs +2 -2
  122. package/dist/esm/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +1 -1
  123. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributes.d.mts +2 -0
  124. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts +11 -0
  125. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFee.mjs +2 -0
  126. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.mts +5 -0
  127. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.mjs +5 -0
  128. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
  129. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.mjs +5 -0
  130. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts +5 -0
  131. package/dist/esm/api/resources/check/types/CancelCheckResponseDataAttributesFeePayer.mjs +5 -0
  132. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributes.d.mts +2 -0
  133. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts +11 -0
  134. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFee.mjs +2 -0
  135. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.mts +5 -0
  136. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.mjs +5 -0
  137. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
  138. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.mjs +5 -0
  139. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.mts +5 -0
  140. package/dist/esm/api/resources/check/types/CreateCheckResponseDataAttributesFeePayer.mjs +5 -0
  141. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributes.d.mts +2 -0
  142. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFee.d.mts +11 -0
  143. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFee.mjs +2 -0
  144. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.mts +5 -0
  145. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeApplied.mjs +5 -0
  146. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.mts +5 -0
  147. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.mjs +5 -0
  148. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.mts +5 -0
  149. package/dist/esm/api/resources/check/types/GetCheckResponseDataAttributesFeePayer.mjs +5 -0
  150. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributes.d.mts +2 -0
  151. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFee.d.mts +11 -0
  152. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFee.mjs +2 -0
  153. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts +5 -0
  154. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.mjs +5 -0
  155. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts +5 -0
  156. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.mjs +5 -0
  157. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.mts +5 -0
  158. package/dist/esm/api/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.mjs +5 -0
  159. package/dist/esm/api/resources/check/types/index.d.mts +16 -0
  160. package/dist/esm/api/resources/check/types/index.mjs +16 -0
  161. package/dist/esm/api/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +4 -0
  162. package/dist/esm/api/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +4 -0
  163. package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItem.d.mts +1 -1
  164. package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts +2 -1
  165. package/dist/esm/api/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs +2 -1
  166. package/dist/esm/api/resources/merchantReports/client/requests/CreateMerchantReportsRequest.d.mts +1 -1
  167. package/dist/esm/api/resources/merchantReports/types/CreateMerchantReportsRequestOutcome.d.mts +1 -1
  168. package/dist/esm/api/resources/merchantReports/types/CreateMerchantReportsRequestOutcome.mjs +1 -1
  169. package/dist/esm/api/resources/merchantReports/types/CreateMerchantReportsResponseData.d.mts +1 -1
  170. package/dist/esm/api/resources/merchantReports/types/CreateMerchantReportsResponseDataOutcome.d.mts +1 -1
  171. package/dist/esm/api/resources/merchantReports/types/CreateMerchantReportsResponseDataOutcome.mjs +1 -1
  172. package/dist/esm/api/types/VoiceSessionRelationships.d.mts +2 -0
  173. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingParty.d.mts +8 -0
  174. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingParty.mjs +2 -0
  175. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyData.d.mts +9 -0
  176. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyData.mjs +2 -0
  177. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.mts +5 -0
  178. package/dist/esm/api/types/VoiceSessionRelationshipsInitiatingPartyDataType.mjs +5 -0
  179. package/dist/esm/api/types/index.d.mts +3 -0
  180. package/dist/esm/api/types/index.mjs +3 -0
  181. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.d.mts +2 -0
  182. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributes.mjs +2 -0
  183. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.d.mts +15 -0
  184. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFee.mjs +11 -0
  185. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.d.mts +7 -0
  186. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeApplied.mjs +3 -0
  187. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
  188. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeeCurrency.mjs +3 -0
  189. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.d.mts +7 -0
  190. package/dist/esm/serialization/resources/check/types/CancelCheckResponseDataAttributesFeePayer.mjs +3 -0
  191. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.d.mts +2 -0
  192. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributes.mjs +2 -0
  193. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.d.mts +15 -0
  194. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFee.mjs +11 -0
  195. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.d.mts +7 -0
  196. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeApplied.mjs +3 -0
  197. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
  198. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeeCurrency.mjs +3 -0
  199. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.d.mts +7 -0
  200. package/dist/esm/serialization/resources/check/types/CreateCheckResponseDataAttributesFeePayer.mjs +3 -0
  201. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributes.d.mts +2 -0
  202. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributes.mjs +2 -0
  203. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFee.d.mts +15 -0
  204. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFee.mjs +11 -0
  205. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.d.mts +7 -0
  206. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeApplied.mjs +3 -0
  207. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.d.mts +7 -0
  208. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeeCurrency.mjs +3 -0
  209. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.d.mts +7 -0
  210. package/dist/esm/serialization/resources/check/types/GetCheckResponseDataAttributesFeePayer.mjs +3 -0
  211. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributes.d.mts +2 -0
  212. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributes.mjs +2 -0
  213. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.d.mts +15 -0
  214. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFee.mjs +11 -0
  215. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.d.mts +7 -0
  216. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeApplied.mjs +3 -0
  217. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.d.mts +7 -0
  218. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeeCurrency.mjs +3 -0
  219. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.d.mts +7 -0
  220. package/dist/esm/serialization/resources/check/types/ListCheckResponseDataItemAttributesFeePayer.mjs +3 -0
  221. package/dist/esm/serialization/resources/check/types/index.d.mts +16 -0
  222. package/dist/esm/serialization/resources/check/types/index.mjs +16 -0
  223. package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.d.mts +2 -0
  224. package/dist/esm/serialization/resources/externalAccounts/types/ListCardsExternalAccountsResponseDataItemAttributes.mjs +2 -0
  225. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.d.mts +2 -0
  226. package/dist/esm/serialization/resources/externalAccounts/types/RemoveCardExternalAccountsResponseDataAttributes.mjs +2 -0
  227. package/dist/esm/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.d.mts +1 -1
  228. package/dist/esm/serialization/resources/invitations/types/CreateInvitationsRequestInvitationsItemRole.mjs +1 -1
  229. package/dist/esm/serialization/types/VoiceSessionRelationships.d.mts +2 -0
  230. package/dist/esm/serialization/types/VoiceSessionRelationships.mjs +2 -0
  231. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingParty.d.mts +10 -0
  232. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingParty.mjs +6 -0
  233. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.d.mts +11 -0
  234. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyData.mjs +7 -0
  235. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.d.mts +7 -0
  236. package/dist/esm/serialization/types/VoiceSessionRelationshipsInitiatingPartyDataType.mjs +3 -0
  237. package/dist/esm/serialization/types/index.d.mts +3 -0
  238. package/dist/esm/serialization/types/index.mjs +3 -0
  239. package/dist/esm/version.d.mts +1 -1
  240. package/dist/esm/version.mjs +1 -1
  241. package/package.json +1 -1
@@ -0,0 +1,43 @@
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.VoiceSessionRelationshipsInitiatingPartyData = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const VoiceSessionRelationshipsInitiatingPartyDataType_js_1 = require("./VoiceSessionRelationshipsInitiatingPartyDataType.js");
40
+ exports.VoiceSessionRelationshipsInitiatingPartyData = core.serialization.object({
41
+ type: VoiceSessionRelationshipsInitiatingPartyDataType_js_1.VoiceSessionRelationshipsInitiatingPartyDataType,
42
+ id: core.serialization.string(),
43
+ });
@@ -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 VoiceSessionRelationshipsInitiatingPartyDataType: core.serialization.Schema<serializers.VoiceSessionRelationshipsInitiatingPartyDataType.Raw, Natural.VoiceSessionRelationshipsInitiatingPartyDataType>;
5
+ export declare namespace VoiceSessionRelationshipsInitiatingPartyDataType {
6
+ type Raw = "party";
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.VoiceSessionRelationshipsInitiatingPartyDataType = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.VoiceSessionRelationshipsInitiatingPartyDataType = core.serialization.enum_(["party"]);
@@ -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);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.54";
1
+ export declare const SDK_VERSION = "1.6.56";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.6.54";
4
+ exports.SDK_VERSION = "1.6.56";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@naturalpay/sdk",
9
- "X-Fern-SDK-Version": "1.6.54",
10
- "User-Agent": "@naturalpay/sdk/1.6.54",
9
+ "X-Fern-SDK-Version": "1.6.56",
10
+ "User-Agent": "@naturalpay/sdk/1.6.56",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
@@ -23,7 +23,7 @@ export interface CreateCardSessionsRequest {
23
23
  cardId: string;
24
24
  /** Customer party to act for (pty_*). Omit to act as your own party. To act for another party, pass the ID of a party that has authorized you to act on its behalf. */
25
25
  customerPartyId?: string;
26
- /** Exact hostnames allowed to receive the real card, such as the payment processor's API host the merchant's checkout sends the card to. Required: there is no default. When the card fields are an iframe from checkoutshopper-live.adyen.com or flex.cybersource.com, list that host, and for CyberSource also the merchant host that serves the payment page. */
26
+ /** Exact hostnames allowed to receive the real card, such as the payment processor's API host the merchant's checkout sends the card to. Required: there is no default. Find the host before creating the session: open the payment page and find the request that carries the card (often sent from a processor's card-field iframe), or submit a fake card number that will fail and see which host receives it. When the card fields are an iframe from checkoutshopper-live.adyen.com or flex.cybersource.com, list that host, and for CyberSource also the merchant host that serves the payment page. */
27
27
  allowedHosts: string[];
28
28
  /** How long the stand-in card and proxy login stay valid once claimed. Defaults to 600. */
29
29
  ttlSeconds?: number;
@@ -4,6 +4,8 @@ export interface CancelCheckResponseDataAttributes {
4
4
  amount: number;
5
5
  /** Currency code. */
6
6
  currency: Natural.CancelCheckResponseDataAttributesCurrency;
7
+ /** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
8
+ fee: Natural.CancelCheckResponseDataAttributesFee | null;
7
9
  /** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
8
10
  status: Natural.CancelCheckResponseDataAttributesStatus;
9
11
  /** Memo printed on the check. */
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface CancelCheckResponseDataAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.CancelCheckResponseDataAttributesFeeCurrency;
7
+ /** Party role charged the fee. */
8
+ payer: Natural.CancelCheckResponseDataAttributesFeePayer;
9
+ /** The fee is added to the sender's cost without reducing the principal amount. */
10
+ applied: Natural.CancelCheckResponseDataAttributesFeeApplied;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** The fee is added to the sender's cost without reducing the principal amount. */
2
+ export declare const CancelCheckResponseDataAttributesFeeApplied: {
3
+ readonly OnTop: "on_top";
4
+ };
5
+ export type CancelCheckResponseDataAttributesFeeApplied = (typeof CancelCheckResponseDataAttributesFeeApplied)[keyof typeof CancelCheckResponseDataAttributesFeeApplied];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** The fee is added to the sender's cost without reducing the principal amount. */
3
+ export const CancelCheckResponseDataAttributesFeeApplied = {
4
+ OnTop: "on_top",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Currency of the fee. */
2
+ export declare const CancelCheckResponseDataAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type CancelCheckResponseDataAttributesFeeCurrency = (typeof CancelCheckResponseDataAttributesFeeCurrency)[keyof typeof CancelCheckResponseDataAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const CancelCheckResponseDataAttributesFeeCurrency = {
4
+ Usd: "USD",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Party role charged the fee. */
2
+ export declare const CancelCheckResponseDataAttributesFeePayer: {
3
+ readonly Sender: "sender";
4
+ };
5
+ export type CancelCheckResponseDataAttributesFeePayer = (typeof CancelCheckResponseDataAttributesFeePayer)[keyof typeof CancelCheckResponseDataAttributesFeePayer];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Party role charged the fee. */
3
+ export const CancelCheckResponseDataAttributesFeePayer = {
4
+ Sender: "sender",
5
+ };
@@ -4,6 +4,8 @@ export interface CreateCheckResponseDataAttributes {
4
4
  amount: number;
5
5
  /** Currency code. */
6
6
  currency: Natural.CreateCheckResponseDataAttributesCurrency;
7
+ /** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
8
+ fee: Natural.CreateCheckResponseDataAttributesFee | null;
7
9
  /** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
8
10
  status: Natural.CreateCheckResponseDataAttributesStatus;
9
11
  /** Memo printed on the check. */
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface CreateCheckResponseDataAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.CreateCheckResponseDataAttributesFeeCurrency;
7
+ /** Party role charged the fee. */
8
+ payer: Natural.CreateCheckResponseDataAttributesFeePayer;
9
+ /** The fee is added to the sender's cost without reducing the principal amount. */
10
+ applied: Natural.CreateCheckResponseDataAttributesFeeApplied;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** The fee is added to the sender's cost without reducing the principal amount. */
2
+ export declare const CreateCheckResponseDataAttributesFeeApplied: {
3
+ readonly OnTop: "on_top";
4
+ };
5
+ export type CreateCheckResponseDataAttributesFeeApplied = (typeof CreateCheckResponseDataAttributesFeeApplied)[keyof typeof CreateCheckResponseDataAttributesFeeApplied];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** The fee is added to the sender's cost without reducing the principal amount. */
3
+ export const CreateCheckResponseDataAttributesFeeApplied = {
4
+ OnTop: "on_top",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Currency of the fee. */
2
+ export declare const CreateCheckResponseDataAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type CreateCheckResponseDataAttributesFeeCurrency = (typeof CreateCheckResponseDataAttributesFeeCurrency)[keyof typeof CreateCheckResponseDataAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const CreateCheckResponseDataAttributesFeeCurrency = {
4
+ Usd: "USD",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Party role charged the fee. */
2
+ export declare const CreateCheckResponseDataAttributesFeePayer: {
3
+ readonly Sender: "sender";
4
+ };
5
+ export type CreateCheckResponseDataAttributesFeePayer = (typeof CreateCheckResponseDataAttributesFeePayer)[keyof typeof CreateCheckResponseDataAttributesFeePayer];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Party role charged the fee. */
3
+ export const CreateCheckResponseDataAttributesFeePayer = {
4
+ Sender: "sender",
5
+ };
@@ -4,6 +4,8 @@ export interface GetCheckResponseDataAttributes {
4
4
  amount: number;
5
5
  /** Currency code. */
6
6
  currency: Natural.GetCheckResponseDataAttributesCurrency;
7
+ /** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
8
+ fee: Natural.GetCheckResponseDataAttributesFee | null;
7
9
  /** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
8
10
  status: Natural.GetCheckResponseDataAttributesStatus;
9
11
  /** Memo printed on the check. */
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface GetCheckResponseDataAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.GetCheckResponseDataAttributesFeeCurrency;
7
+ /** Party role charged the fee. */
8
+ payer: Natural.GetCheckResponseDataAttributesFeePayer;
9
+ /** The fee is added to the sender's cost without reducing the principal amount. */
10
+ applied: Natural.GetCheckResponseDataAttributesFeeApplied;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** The fee is added to the sender's cost without reducing the principal amount. */
2
+ export declare const GetCheckResponseDataAttributesFeeApplied: {
3
+ readonly OnTop: "on_top";
4
+ };
5
+ export type GetCheckResponseDataAttributesFeeApplied = (typeof GetCheckResponseDataAttributesFeeApplied)[keyof typeof GetCheckResponseDataAttributesFeeApplied];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** The fee is added to the sender's cost without reducing the principal amount. */
3
+ export const GetCheckResponseDataAttributesFeeApplied = {
4
+ OnTop: "on_top",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Currency of the fee. */
2
+ export declare const GetCheckResponseDataAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type GetCheckResponseDataAttributesFeeCurrency = (typeof GetCheckResponseDataAttributesFeeCurrency)[keyof typeof GetCheckResponseDataAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const GetCheckResponseDataAttributesFeeCurrency = {
4
+ Usd: "USD",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Party role charged the fee. */
2
+ export declare const GetCheckResponseDataAttributesFeePayer: {
3
+ readonly Sender: "sender";
4
+ };
5
+ export type GetCheckResponseDataAttributesFeePayer = (typeof GetCheckResponseDataAttributesFeePayer)[keyof typeof GetCheckResponseDataAttributesFeePayer];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Party role charged the fee. */
3
+ export const GetCheckResponseDataAttributesFeePayer = {
4
+ Sender: "sender",
5
+ };
@@ -4,6 +4,8 @@ export interface ListCheckResponseDataItemAttributes {
4
4
  amount: number;
5
5
  /** Currency code. */
6
6
  currency: Natural.ListCheckResponseDataItemAttributesCurrency;
7
+ /** Fee added to your cost as the sender. Null when no fee applies, the check ended before it was issued, the fee was voided, your party is not the fee payer, or the response is to a cancel request. Get the check to read its fee after a cancel. */
8
+ fee: Natural.ListCheckResponseDataItemAttributesFee | null;
7
9
  /** Check status, in lifecycle order: CREATED, AWAITING_APPROVAL, PROCESSING, COMPLETED; APPROVAL_DENIED, RETURNED, CANCELING, CANCELED, EXPIRED, REJECTED, or FAILED end it. */
8
10
  status: Natural.ListCheckResponseDataItemAttributesStatus;
9
11
  /** Memo printed on the check. */
@@ -0,0 +1,11 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ export interface ListCheckResponseDataItemAttributesFee {
3
+ /** Fee amount in cents. */
4
+ amount: number;
5
+ /** Currency of the fee. */
6
+ currency: Natural.ListCheckResponseDataItemAttributesFeeCurrency;
7
+ /** Party role charged the fee. */
8
+ payer: Natural.ListCheckResponseDataItemAttributesFeePayer;
9
+ /** The fee is added to the sender's cost without reducing the principal amount. */
10
+ applied: Natural.ListCheckResponseDataItemAttributesFeeApplied;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,5 @@
1
+ /** The fee is added to the sender's cost without reducing the principal amount. */
2
+ export declare const ListCheckResponseDataItemAttributesFeeApplied: {
3
+ readonly OnTop: "on_top";
4
+ };
5
+ export type ListCheckResponseDataItemAttributesFeeApplied = (typeof ListCheckResponseDataItemAttributesFeeApplied)[keyof typeof ListCheckResponseDataItemAttributesFeeApplied];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** The fee is added to the sender's cost without reducing the principal amount. */
3
+ export const ListCheckResponseDataItemAttributesFeeApplied = {
4
+ OnTop: "on_top",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Currency of the fee. */
2
+ export declare const ListCheckResponseDataItemAttributesFeeCurrency: {
3
+ readonly Usd: "USD";
4
+ };
5
+ export type ListCheckResponseDataItemAttributesFeeCurrency = (typeof ListCheckResponseDataItemAttributesFeeCurrency)[keyof typeof ListCheckResponseDataItemAttributesFeeCurrency];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Currency of the fee. */
3
+ export const ListCheckResponseDataItemAttributesFeeCurrency = {
4
+ Usd: "USD",
5
+ };
@@ -0,0 +1,5 @@
1
+ /** Party role charged the fee. */
2
+ export declare const ListCheckResponseDataItemAttributesFeePayer: {
3
+ readonly Sender: "sender";
4
+ };
5
+ export type ListCheckResponseDataItemAttributesFeePayer = (typeof ListCheckResponseDataItemAttributesFeePayer)[keyof typeof ListCheckResponseDataItemAttributesFeePayer];
@@ -0,0 +1,5 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Party role charged the fee. */
3
+ export const ListCheckResponseDataItemAttributesFeePayer = {
4
+ Sender: "sender",
5
+ };
@@ -7,6 +7,10 @@ export * from "./CancelCheckResponseDataAttributesDelivery.mjs";
7
7
  export * from "./CancelCheckResponseDataAttributesDeliveryMethod.mjs";
8
8
  export * from "./CancelCheckResponseDataAttributesDeliveryStatus.mjs";
9
9
  export * from "./CancelCheckResponseDataAttributesFailure.mjs";
10
+ export * from "./CancelCheckResponseDataAttributesFee.mjs";
11
+ export * from "./CancelCheckResponseDataAttributesFeeApplied.mjs";
12
+ export * from "./CancelCheckResponseDataAttributesFeeCurrency.mjs";
13
+ export * from "./CancelCheckResponseDataAttributesFeePayer.mjs";
10
14
  export * from "./CancelCheckResponseDataAttributesPayee.mjs";
11
15
  export * from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.mjs";
12
16
  export * from "./CancelCheckResponseDataAttributesReturn.mjs";
@@ -33,6 +37,10 @@ export * from "./CreateCheckResponseDataAttributesDelivery.mjs";
33
37
  export * from "./CreateCheckResponseDataAttributesDeliveryMethod.mjs";
34
38
  export * from "./CreateCheckResponseDataAttributesDeliveryStatus.mjs";
35
39
  export * from "./CreateCheckResponseDataAttributesFailure.mjs";
40
+ export * from "./CreateCheckResponseDataAttributesFee.mjs";
41
+ export * from "./CreateCheckResponseDataAttributesFeeApplied.mjs";
42
+ export * from "./CreateCheckResponseDataAttributesFeeCurrency.mjs";
43
+ export * from "./CreateCheckResponseDataAttributesFeePayer.mjs";
36
44
  export * from "./CreateCheckResponseDataAttributesPayee.mjs";
37
45
  export * from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.mjs";
38
46
  export * from "./CreateCheckResponseDataAttributesReturn.mjs";
@@ -57,6 +65,10 @@ export * from "./GetCheckResponseDataAttributesDelivery.mjs";
57
65
  export * from "./GetCheckResponseDataAttributesDeliveryMethod.mjs";
58
66
  export * from "./GetCheckResponseDataAttributesDeliveryStatus.mjs";
59
67
  export * from "./GetCheckResponseDataAttributesFailure.mjs";
68
+ export * from "./GetCheckResponseDataAttributesFee.mjs";
69
+ export * from "./GetCheckResponseDataAttributesFeeApplied.mjs";
70
+ export * from "./GetCheckResponseDataAttributesFeeCurrency.mjs";
71
+ export * from "./GetCheckResponseDataAttributesFeePayer.mjs";
60
72
  export * from "./GetCheckResponseDataAttributesPayee.mjs";
61
73
  export * from "./GetCheckResponseDataAttributesPresentmentReturnsItem.mjs";
62
74
  export * from "./GetCheckResponseDataAttributesReturn.mjs";
@@ -82,6 +94,10 @@ export * from "./ListCheckResponseDataItemAttributesDelivery.mjs";
82
94
  export * from "./ListCheckResponseDataItemAttributesDeliveryMethod.mjs";
83
95
  export * from "./ListCheckResponseDataItemAttributesDeliveryStatus.mjs";
84
96
  export * from "./ListCheckResponseDataItemAttributesFailure.mjs";
97
+ export * from "./ListCheckResponseDataItemAttributesFee.mjs";
98
+ export * from "./ListCheckResponseDataItemAttributesFeeApplied.mjs";
99
+ export * from "./ListCheckResponseDataItemAttributesFeeCurrency.mjs";
100
+ export * from "./ListCheckResponseDataItemAttributesFeePayer.mjs";
85
101
  export * from "./ListCheckResponseDataItemAttributesPayee.mjs";
86
102
  export * from "./ListCheckResponseDataItemAttributesPresentmentReturnsItem.mjs";
87
103
  export * from "./ListCheckResponseDataItemAttributesReturn.mjs";
@@ -7,6 +7,10 @@ export * from "./CancelCheckResponseDataAttributesDelivery.mjs";
7
7
  export * from "./CancelCheckResponseDataAttributesDeliveryMethod.mjs";
8
8
  export * from "./CancelCheckResponseDataAttributesDeliveryStatus.mjs";
9
9
  export * from "./CancelCheckResponseDataAttributesFailure.mjs";
10
+ export * from "./CancelCheckResponseDataAttributesFee.mjs";
11
+ export * from "./CancelCheckResponseDataAttributesFeeApplied.mjs";
12
+ export * from "./CancelCheckResponseDataAttributesFeeCurrency.mjs";
13
+ export * from "./CancelCheckResponseDataAttributesFeePayer.mjs";
10
14
  export * from "./CancelCheckResponseDataAttributesPayee.mjs";
11
15
  export * from "./CancelCheckResponseDataAttributesPresentmentReturnsItem.mjs";
12
16
  export * from "./CancelCheckResponseDataAttributesReturn.mjs";
@@ -33,6 +37,10 @@ export * from "./CreateCheckResponseDataAttributesDelivery.mjs";
33
37
  export * from "./CreateCheckResponseDataAttributesDeliveryMethod.mjs";
34
38
  export * from "./CreateCheckResponseDataAttributesDeliveryStatus.mjs";
35
39
  export * from "./CreateCheckResponseDataAttributesFailure.mjs";
40
+ export * from "./CreateCheckResponseDataAttributesFee.mjs";
41
+ export * from "./CreateCheckResponseDataAttributesFeeApplied.mjs";
42
+ export * from "./CreateCheckResponseDataAttributesFeeCurrency.mjs";
43
+ export * from "./CreateCheckResponseDataAttributesFeePayer.mjs";
36
44
  export * from "./CreateCheckResponseDataAttributesPayee.mjs";
37
45
  export * from "./CreateCheckResponseDataAttributesPresentmentReturnsItem.mjs";
38
46
  export * from "./CreateCheckResponseDataAttributesReturn.mjs";
@@ -57,6 +65,10 @@ export * from "./GetCheckResponseDataAttributesDelivery.mjs";
57
65
  export * from "./GetCheckResponseDataAttributesDeliveryMethod.mjs";
58
66
  export * from "./GetCheckResponseDataAttributesDeliveryStatus.mjs";
59
67
  export * from "./GetCheckResponseDataAttributesFailure.mjs";
68
+ export * from "./GetCheckResponseDataAttributesFee.mjs";
69
+ export * from "./GetCheckResponseDataAttributesFeeApplied.mjs";
70
+ export * from "./GetCheckResponseDataAttributesFeeCurrency.mjs";
71
+ export * from "./GetCheckResponseDataAttributesFeePayer.mjs";
60
72
  export * from "./GetCheckResponseDataAttributesPayee.mjs";
61
73
  export * from "./GetCheckResponseDataAttributesPresentmentReturnsItem.mjs";
62
74
  export * from "./GetCheckResponseDataAttributesReturn.mjs";
@@ -82,6 +94,10 @@ export * from "./ListCheckResponseDataItemAttributesDelivery.mjs";
82
94
  export * from "./ListCheckResponseDataItemAttributesDeliveryMethod.mjs";
83
95
  export * from "./ListCheckResponseDataItemAttributesDeliveryStatus.mjs";
84
96
  export * from "./ListCheckResponseDataItemAttributesFailure.mjs";
97
+ export * from "./ListCheckResponseDataItemAttributesFee.mjs";
98
+ export * from "./ListCheckResponseDataItemAttributesFeeApplied.mjs";
99
+ export * from "./ListCheckResponseDataItemAttributesFeeCurrency.mjs";
100
+ export * from "./ListCheckResponseDataItemAttributesFeePayer.mjs";
85
101
  export * from "./ListCheckResponseDataItemAttributesPayee.mjs";
86
102
  export * from "./ListCheckResponseDataItemAttributesPresentmentReturnsItem.mjs";
87
103
  export * from "./ListCheckResponseDataItemAttributesReturn.mjs";
@@ -4,6 +4,10 @@ export interface ListCardsExternalAccountsResponseDataItemAttributes {
4
4
  brand: Natural.ListCardsExternalAccountsResponseDataItemAttributesBrand;
5
5
  /** Last four digits of the card number. */
6
6
  lastFour: string;
7
+ /** Card expiry month, 1 to 12. Null when the expiry is not on file. */
8
+ expiryMonth: number | null;
9
+ /** Card expiry year, four digits. Null when the expiry is not on file. */
10
+ expiryYear: number | null;
7
11
  /** Name the customer gave the card, e.g. "Work Amex". Defaults to "<Brand> card ending <last4>". */
8
12
  nickname: string;
9
13
  /** The card's billing address on file, for filling a merchant's checkout (the ZIP drives the bank's AVS check). */
@@ -4,6 +4,10 @@ export interface RemoveCardExternalAccountsResponseDataAttributes {
4
4
  brand: Natural.RemoveCardExternalAccountsResponseDataAttributesBrand;
5
5
  /** Last four digits of the card number. */
6
6
  lastFour: string;
7
+ /** Card expiry month, 1 to 12. Null when the expiry is not on file. */
8
+ expiryMonth: number | null;
9
+ /** Card expiry year, four digits. Null when the expiry is not on file. */
10
+ expiryYear: number | null;
7
11
  /** Name the customer gave the card, e.g. "Work Amex". Defaults to "<Brand> card ending <last4>". */
8
12
  nickname: string;
9
13
  /** The card's billing address on file, for filling a merchant's checkout (the ZIP drives the bank's AVS check). */
@@ -5,6 +5,6 @@ import type * as Natural from "../../../index.mjs";
5
5
  export interface CreateInvitationsRequestInvitationsItem {
6
6
  /** Email address to invite. */
7
7
  email: string;
8
- /** Role to assign on acceptance. */
8
+ /** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
9
9
  role: Natural.CreateInvitationsRequestInvitationsItemRole;
10
10
  }
@@ -1,5 +1,6 @@
1
- /** Role to assign on acceptance. */
1
+ /** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
2
2
  export declare const CreateInvitationsRequestInvitationsItemRole: {
3
+ readonly Owner: "OWNER";
3
4
  readonly Admin: "ADMIN";
4
5
  readonly Member: "MEMBER";
5
6
  };
@@ -1,6 +1,7 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Role to assign on acceptance. */
2
+ /** Role to assign on acceptance. Only an owner can invite an `OWNER`. */
3
3
  export const CreateInvitationsRequestInvitationsItemRole = {
4
+ Owner: "OWNER",
4
5
  Admin: "ADMIN",
5
6
  Member: "MEMBER",
6
7
  };
@@ -21,7 +21,7 @@ import type * as Natural from "../../../../index.mjs";
21
21
  export interface CreateMerchantReportsRequest {
22
22
  /** The checkout page you were on. Strip query strings that carry personal data or tokens. */
23
23
  merchantUrl: string;
24
- /** What stopped the payment. host_not_allowed: the card request went to a host you couldn't put in allowedHosts. proxy_error: the proxy answered an error (put its code in proxyErrorCode). card_refused: the merchant or processor refused the card. three_ds_required: a 3DS challenge you couldn't complete. bot_wall: a CAPTCHA or bot check kept you from the card form. other: anything else; say what in notes. */
24
+ /** What stopped the payment. host_not_allowed: the card request went to a host outside allowedHosts, and you couldn't open a new card session with that host added or the new session didn't fix it. proxy_error: the proxy answered an error (put its code in proxyErrorCode). card_refused: the merchant or processor refused the card. three_ds_required: a 3DS challenge you couldn't complete. bot_wall: a CAPTCHA or bot check kept you from the card form. other: anything else; say what in notes. */
25
25
  outcome: Natural.CreateMerchantReportsRequestOutcome;
26
26
  /** The card session the attempt used, if any. */
27
27
  cardSessionId?: string;
@@ -1,4 +1,4 @@
1
- /** What stopped the payment. host_not_allowed: the card request went to a host you couldn't put in allowedHosts. proxy_error: the proxy answered an error (put its code in proxyErrorCode). card_refused: the merchant or processor refused the card. three_ds_required: a 3DS challenge you couldn't complete. bot_wall: a CAPTCHA or bot check kept you from the card form. other: anything else; say what in notes. */
1
+ /** What stopped the payment. host_not_allowed: the card request went to a host outside allowedHosts, and you couldn't open a new card session with that host added or the new session didn't fix it. proxy_error: the proxy answered an error (put its code in proxyErrorCode). card_refused: the merchant or processor refused the card. three_ds_required: a 3DS challenge you couldn't complete. bot_wall: a CAPTCHA or bot check kept you from the card form. other: anything else; say what in notes. */
2
2
  export declare const CreateMerchantReportsRequestOutcome: {
3
3
  readonly HostNotAllowed: "host_not_allowed";
4
4
  readonly ProxyError: "proxy_error";
@@ -1,5 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** What stopped the payment. host_not_allowed: the card request went to a host you couldn't put in allowedHosts. proxy_error: the proxy answered an error (put its code in proxyErrorCode). card_refused: the merchant or processor refused the card. three_ds_required: a 3DS challenge you couldn't complete. bot_wall: a CAPTCHA or bot check kept you from the card form. other: anything else; say what in notes. */
2
+ /** What stopped the payment. host_not_allowed: the card request went to a host outside allowedHosts, and you couldn't open a new card session with that host added or the new session didn't fix it. proxy_error: the proxy answered an error (put its code in proxyErrorCode). card_refused: the merchant or processor refused the card. three_ds_required: a 3DS challenge you couldn't complete. bot_wall: a CAPTCHA or bot check kept you from the card form. other: anything else; say what in notes. */
3
3
  export const CreateMerchantReportsRequestOutcome = {
4
4
  HostNotAllowed: "host_not_allowed",
5
5
  ProxyError: "proxy_error",