@naturalpay/sdk 1.2.6 → 1.3.0

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 (200) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/customers/client/Client.d.ts +50 -1
  3. package/dist/cjs/api/resources/customers/client/Client.js +50 -1
  4. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +51 -2
  5. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +2 -4
  6. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.ts} +2 -2
  7. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.js} +2 -2
  8. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.ts} +2 -2
  9. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.js} +2 -2
  10. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.ts} +2 -2
  11. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.js} +2 -2
  12. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.ts} +2 -2
  13. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.js} +2 -2
  14. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.ts} +2 -2
  15. package/dist/cjs/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.js} +2 -2
  16. package/dist/cjs/api/resources/customers/types/CustomerInvitationAccountType.d.ts +1 -1
  17. package/dist/cjs/api/resources/customers/types/CustomerInvitationAccountType.js +1 -1
  18. package/dist/cjs/api/resources/customers/types/CustomerInvitationAddress.d.ts +1 -1
  19. package/dist/cjs/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +4 -4
  20. package/dist/cjs/api/resources/customers/types/CustomerInvitationBusiness.d.ts +2 -0
  21. package/dist/cjs/api/resources/customers/types/index.d.ts +5 -5
  22. package/dist/cjs/api/resources/customers/types/index.js +5 -5
  23. package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
  24. package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.js +1 -1
  25. package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
  26. package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.js +1 -1
  27. package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
  28. package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +1 -1
  29. package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -1
  30. package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +1 -1
  31. package/dist/cjs/api/resources/simulations/client/Client.d.ts +1 -0
  32. package/dist/cjs/api/resources/simulations/client/Client.js +1 -0
  33. package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +3 -0
  34. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +19 -0
  35. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +22 -0
  36. package/dist/cjs/api/resources/simulations/types/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/simulations/types/index.js +1 -0
  38. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  39. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +1 -1
  40. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  41. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  42. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  43. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  44. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  45. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  46. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  47. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +1 -1
  48. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  49. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  50. package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
  51. package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.js +1 -1
  52. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +0 -2
  53. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.js +0 -2
  54. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.ts} +2 -2
  55. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.js} +2 -2
  56. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.ts} +2 -2
  57. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.js} +2 -2
  58. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.ts} +2 -2
  59. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.js} +2 -2
  60. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.ts} +2 -2
  61. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.js} +2 -2
  62. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.ts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.ts} +2 -2
  63. package/dist/cjs/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.js} +2 -2
  64. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.d.ts +2 -2
  65. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.js +2 -2
  66. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +8 -8
  67. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.js +8 -8
  68. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.d.ts +2 -0
  69. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.js +2 -0
  70. package/dist/cjs/serialization/resources/customers/types/index.d.ts +5 -5
  71. package/dist/cjs/serialization/resources/customers/types/index.js +5 -5
  72. package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
  73. package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.js +1 -1
  74. package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
  75. package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.js +1 -1
  76. package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
  77. package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +1 -1
  78. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -0
  79. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +2 -0
  80. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +7 -0
  81. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +56 -0
  82. package/dist/cjs/serialization/resources/simulations/types/index.d.ts +1 -0
  83. package/dist/cjs/serialization/resources/simulations/types/index.js +1 -0
  84. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  85. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +1 -1
  86. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  87. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  88. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  89. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  90. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  91. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  92. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  93. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +1 -1
  94. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  95. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +1 -1
  96. package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
  97. package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.js +1 -1
  98. package/dist/cjs/version.d.ts +1 -1
  99. package/dist/cjs/version.js +1 -1
  100. package/dist/esm/BaseClient.mjs +2 -2
  101. package/dist/esm/api/resources/customers/client/Client.d.mts +50 -1
  102. package/dist/esm/api/resources/customers/client/Client.mjs +50 -1
  103. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +51 -2
  104. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +2 -4
  105. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.mts} +2 -2
  106. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs} +1 -1
  107. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.mts} +2 -2
  108. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs} +1 -1
  109. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.mts} +2 -2
  110. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs} +1 -1
  111. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.mts} +2 -2
  112. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs} +1 -1
  113. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.mts} +2 -2
  114. package/dist/esm/api/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs} +1 -1
  115. package/dist/esm/api/resources/customers/types/CustomerInvitationAccountType.d.mts +1 -1
  116. package/dist/esm/api/resources/customers/types/CustomerInvitationAccountType.mjs +1 -1
  117. package/dist/esm/api/resources/customers/types/CustomerInvitationAddress.d.mts +1 -1
  118. package/dist/esm/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +4 -4
  119. package/dist/esm/api/resources/customers/types/CustomerInvitationBusiness.d.mts +2 -0
  120. package/dist/esm/api/resources/customers/types/index.d.mts +5 -5
  121. package/dist/esm/api/resources/customers/types/index.mjs +5 -5
  122. package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
  123. package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +1 -1
  124. package/dist/esm/api/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
  125. package/dist/esm/api/resources/events/types/ListEventsRequestEventType.mjs +1 -1
  126. package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
  127. package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +1 -1
  128. package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -1
  129. package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +1 -1
  130. package/dist/esm/api/resources/simulations/client/Client.d.mts +1 -0
  131. package/dist/esm/api/resources/simulations/client/Client.mjs +1 -0
  132. package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +3 -0
  133. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +19 -0
  134. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +19 -0
  135. package/dist/esm/api/resources/simulations/types/index.d.mts +1 -0
  136. package/dist/esm/api/resources/simulations/types/index.mjs +1 -0
  137. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  138. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +1 -1
  139. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  140. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  141. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  142. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  143. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  144. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  145. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  146. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +1 -1
  147. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  148. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  149. package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
  150. package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.mjs +1 -1
  151. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +0 -2
  152. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.mjs +0 -2
  153. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.d.mts} +2 -2
  154. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs} +1 -1
  155. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.d.mts} +2 -2
  156. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs} +1 -1
  157. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.d.mts} +2 -2
  158. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs} +1 -1
  159. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.d.mts} +2 -2
  160. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs} +1 -1
  161. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.mts → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.d.mts} +2 -2
  162. package/dist/esm/serialization/resources/customers/types/{CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs → CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs} +1 -1
  163. package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.d.mts +2 -2
  164. package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.mjs +2 -2
  165. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +8 -8
  166. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.mjs +8 -8
  167. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.d.mts +2 -0
  168. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.mjs +2 -0
  169. package/dist/esm/serialization/resources/customers/types/index.d.mts +5 -5
  170. package/dist/esm/serialization/resources/customers/types/index.mjs +5 -5
  171. package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
  172. package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +1 -1
  173. package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
  174. package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.mjs +1 -1
  175. package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
  176. package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +1 -1
  177. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -0
  178. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +2 -0
  179. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +7 -0
  180. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +20 -0
  181. package/dist/esm/serialization/resources/simulations/types/index.d.mts +1 -0
  182. package/dist/esm/serialization/resources/simulations/types/index.mjs +1 -0
  183. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  184. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +1 -1
  185. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  186. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  187. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  188. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  189. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  190. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  191. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  192. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +1 -1
  193. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  194. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +1 -1
  195. package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
  196. package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.mjs +1 -1
  197. package/dist/esm/version.d.mts +1 -1
  198. package/dist/esm/version.mjs +1 -1
  199. package/package.json +1 -1
  200. package/reference.md +51 -1
@@ -1,11 +1,13 @@
1
1
  import type * as Natural from "../../../../../api/index.js";
2
2
  import * as core from "../../../../../core/index.js";
3
3
  import type * as serializers from "../../../../index.js";
4
+ import { InviteCustomerSimulationsRequestPermissionsItem } from "../../types/InviteCustomerSimulationsRequestPermissionsItem.js";
4
5
  import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.js";
5
6
  export declare const InviteCustomerSimulationsRequest: core.serialization.Schema<serializers.InviteCustomerSimulationsRequest.Raw, Omit<Natural.InviteCustomerSimulationsRequest, "idempotencyKey">>;
6
7
  export declare namespace InviteCustomerSimulationsRequest {
7
8
  interface Raw {
8
9
  agentIds: string[];
10
+ permissions?: InviteCustomerSimulationsRequestPermissionsItem.Raw[] | null;
9
11
  type?: InviteCustomerSimulationsRequestType.Raw | null;
10
12
  }
11
13
  }
@@ -36,8 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.InviteCustomerSimulationsRequest = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
+ const InviteCustomerSimulationsRequestPermissionsItem_js_1 = require("../../types/InviteCustomerSimulationsRequestPermissionsItem.js");
39
40
  const InviteCustomerSimulationsRequestType_js_1 = require("../../types/InviteCustomerSimulationsRequestType.js");
40
41
  exports.InviteCustomerSimulationsRequest = core.serialization.object({
41
42
  agentIds: core.serialization.list(core.serialization.string()),
43
+ permissions: core.serialization.list(InviteCustomerSimulationsRequestPermissionsItem_js_1.InviteCustomerSimulationsRequestPermissionsItem).optional(),
42
44
  type: InviteCustomerSimulationsRequestType_js_1.InviteCustomerSimulationsRequestType.optional(),
43
45
  });
@@ -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 InviteCustomerSimulationsRequestPermissionsItem: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsItem.Raw, Natural.InviteCustomerSimulationsRequestPermissionsItem>;
5
+ export declare namespace InviteCustomerSimulationsRequestPermissionsItem {
6
+ type Raw = "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update";
7
+ }
@@ -0,0 +1,56 @@
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.InviteCustomerSimulationsRequestPermissionsItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.InviteCustomerSimulationsRequestPermissionsItem = core.serialization.enum_([
40
+ "payments.read",
41
+ "payments.create",
42
+ "external_parties.read",
43
+ "external_parties.create",
44
+ "direct.read",
45
+ "direct.create",
46
+ "external_accounts.create",
47
+ "wallets.read",
48
+ "wallets.create",
49
+ "wallets.update",
50
+ "wallets.fund",
51
+ "wallets.deposit",
52
+ "wallets.transfer",
53
+ "wallets.withdraw",
54
+ "party.read",
55
+ "party.update",
56
+ ]);
@@ -125,6 +125,7 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.js";
125
125
  export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.js";
126
126
  export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.js";
127
127
  export * from "./FundCustomerSimulationsResponseDataType.js";
128
+ export * from "./InviteCustomerSimulationsRequestPermissionsItem.js";
128
129
  export * from "./InviteCustomerSimulationsRequestType.js";
129
130
  export * from "./InviteCustomerSimulationsResponse.js";
130
131
  export * from "./InviteCustomerSimulationsResponseDataItem.js";
@@ -141,6 +141,7 @@ __exportStar(require("./FundCustomerSimulationsResponseDataRelationshipsWallet.j
141
141
  __exportStar(require("./FundCustomerSimulationsResponseDataRelationshipsWalletData.js"), exports);
142
142
  __exportStar(require("./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.js"), exports);
143
143
  __exportStar(require("./FundCustomerSimulationsResponseDataType.js"), exports);
144
+ __exportStar(require("./InviteCustomerSimulationsRequestPermissionsItem.js"), exports);
144
145
  __exportStar(require("./InviteCustomerSimulationsRequestType.js"), exports);
145
146
  __exportStar(require("./InviteCustomerSimulationsResponse.js"), exports);
146
147
  __exportStar(require("./InviteCustomerSimulationsResponseDataItem.js"), exports);
@@ -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 CreateWebhooksRequestEnabledEventsItem: core.serialization.Schema<serializers.CreateWebhooksRequestEnabledEventsItem.Raw, Natural.CreateWebhooksRequestEnabledEventsItem>;
5
5
  export declare namespace CreateWebhooksRequestEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.CreateWebhooksRequestEnabledEventsItem = core.serialization.enum_([
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -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 CreateWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.CreateWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.CreateWebhooksResponseDataAttributesEnabledEventsItem>;
5
5
  export declare namespace CreateWebhooksResponseDataAttributesEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.CreateWebhooksResponseDataAttributesEnabledEventsItem = core.serializati
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -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 GetWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.GetWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.GetWebhooksResponseDataAttributesEnabledEventsItem>;
5
5
  export declare namespace GetWebhooksResponseDataAttributesEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.GetWebhooksResponseDataAttributesEnabledEventsItem = core.serialization.
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -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 RemoveWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.RemoveWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.RemoveWebhooksResponseDataAttributesEnabledEventsItem>;
5
5
  export declare namespace RemoveWebhooksResponseDataAttributesEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.RemoveWebhooksResponseDataAttributesEnabledEventsItem = core.serializati
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -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 UpdateWebhooksRequestEnabledEventsItem: core.serialization.Schema<serializers.UpdateWebhooksRequestEnabledEventsItem.Raw, Natural.UpdateWebhooksRequestEnabledEventsItem>;
5
5
  export declare namespace UpdateWebhooksRequestEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.UpdateWebhooksRequestEnabledEventsItem = core.serialization.enum_([
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -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 UpdateWebhooksResponseDataAttributesEnabledEventsItem: core.serialization.Schema<serializers.UpdateWebhooksResponseDataAttributesEnabledEventsItem.Raw, Natural.UpdateWebhooksResponseDataAttributesEnabledEventsItem>;
5
5
  export declare namespace UpdateWebhooksResponseDataAttributesEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.UpdateWebhooksResponseDataAttributesEnabledEventsItem = core.serializati
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -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 WebhookEnabledEventsItem: core.serialization.Schema<serializers.WebhookEnabledEventsItem.Raw, Natural.WebhookEnabledEventsItem>;
5
5
  export declare namespace WebhookEnabledEventsItem {
6
- type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.completed" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
6
+ type Raw = "*" | "party.updated" | "compliance_case.updated" | "wallet.created" | "external_account.connected" | "agent_delegation_invitation.created" | "agent_delegation_invitation.accepted" | "agent_delegation_invitation.declined" | "agent_delegation_invitation.canceled" | "agent_delegation.revoked" | "delegation.activated" | "delegation.revoked" | "invitation_link.created" | "invitation_link.revoked" | "invitation_link.agent_added" | "invitation_link.agent_removed" | "invitation_link.redeemed" | "deposit.created" | "deposit.completed" | "deposit.failed" | "deposit.returned" | "deposit.canceled" | "deposit.approval_denied" | "withdrawal.created" | "withdrawal.completed" | "withdrawal.failed" | "withdrawal.returned" | "withdrawal.canceled" | "withdrawal.approval_denied" | "payment.created" | "payment.completed" | "payment.failed" | "payment.returned" | "payment.canceled" | "payment.approval_denied" | "ach.created" | "ach.processing" | "ach.settled" | "ach.failed" | "ach.returned" | "mandate.created" | "mandate.revoked" | "external_party_account.validated" | "approval.required" | "approval.approved" | "approval.denied" | "approval.canceled" | "payment_request.created" | "payment_request.completed" | "payment_request.canceled" | "payment_request.declined" | "payment_request.incoming";
7
7
  }
@@ -74,7 +74,7 @@ exports.WebhookEnabledEventsItem = core.serialization.enum_([
74
74
  "payment.approval_denied",
75
75
  "ach.created",
76
76
  "ach.processing",
77
- "ach.completed",
77
+ "ach.settled",
78
78
  "ach.failed",
79
79
  "ach.returned",
80
80
  "mandate.created",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.6";
1
+ export declare const SDK_VERSION = "1.3.0";
@@ -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.2.6";
4
+ exports.SDK_VERSION = "1.3.0";
@@ -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.2.6",
10
- "User-Agent": "@naturalpay/sdk/1.2.6",
9
+ "X-Fern-SDK-Version": "1.3.0",
10
+ "User-Agent": "@naturalpay/sdk/1.3.0",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Agent-ID": options === null || options === void 0 ? void 0 : options.agentId,
@@ -117,7 +117,56 @@ export declare class CustomersClient {
117
117
  * await client.customers.createInvitations({
118
118
  * recipients: [{
119
119
  * type: "email",
120
- * value: "ops@acme.com"
120
+ * value: "ops@acme.com",
121
+ * accountType: "business",
122
+ * firstName: "Morgan",
123
+ * lastName: "Lee",
124
+ * phone: "+14155550176",
125
+ * business: {
126
+ * legalName: "Acme Logistics LLC",
127
+ * displayName: "Acme Logistics",
128
+ * website: "https://acmelogistics.com",
129
+ * hasTradeName: true,
130
+ * tradeName: "Acme Freight",
131
+ * businessType: "llc",
132
+ * industry: "513210",
133
+ * stateOfIncorporation: "DE",
134
+ * incorporationDate: "2018-03-12",
135
+ * registeredAddress: {
136
+ * streetLine1: "251 Little Falls Dr",
137
+ * city: "Wilmington",
138
+ * subdivision: "DE",
139
+ * postalCode: "19808",
140
+ * country: "US"
141
+ * },
142
+ * physicalAddress: {
143
+ * streetLine1: "900 Harrison St",
144
+ * city: "San Francisco",
145
+ * subdivision: "CA",
146
+ * postalCode: "94107",
147
+ * country: "US"
148
+ * },
149
+ * sourceOfFunds: ["business_revenue"],
150
+ * countriesOfOperations: ["US", "CA"],
151
+ * beneficialOwners: [{
152
+ * firstName: "Morgan",
153
+ * lastName: "Lee",
154
+ * email: "morgan.lee@acme.com",
155
+ * phone: "+14155550176",
156
+ * dateOfBirth: "1985-09-02",
157
+ * address: {
158
+ * streetLine1: "128 Alamo Square",
159
+ * city: "San Francisco",
160
+ * subdivision: "CA",
161
+ * postalCode: "94117",
162
+ * country: "US"
163
+ * },
164
+ * ownershipPercentage: 60,
165
+ * title: "ceo",
166
+ * countryOfCitizenship: "US",
167
+ * employmentStatus: "employed"
168
+ * }]
169
+ * }
121
170
  * }],
122
171
  * agents: [{
123
172
  * agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
@@ -372,7 +372,56 @@ export class CustomersClient {
372
372
  * await client.customers.createInvitations({
373
373
  * recipients: [{
374
374
  * type: "email",
375
- * value: "ops@acme.com"
375
+ * value: "ops@acme.com",
376
+ * accountType: "business",
377
+ * firstName: "Morgan",
378
+ * lastName: "Lee",
379
+ * phone: "+14155550176",
380
+ * business: {
381
+ * legalName: "Acme Logistics LLC",
382
+ * displayName: "Acme Logistics",
383
+ * website: "https://acmelogistics.com",
384
+ * hasTradeName: true,
385
+ * tradeName: "Acme Freight",
386
+ * businessType: "llc",
387
+ * industry: "513210",
388
+ * stateOfIncorporation: "DE",
389
+ * incorporationDate: "2018-03-12",
390
+ * registeredAddress: {
391
+ * streetLine1: "251 Little Falls Dr",
392
+ * city: "Wilmington",
393
+ * subdivision: "DE",
394
+ * postalCode: "19808",
395
+ * country: "US"
396
+ * },
397
+ * physicalAddress: {
398
+ * streetLine1: "900 Harrison St",
399
+ * city: "San Francisco",
400
+ * subdivision: "CA",
401
+ * postalCode: "94107",
402
+ * country: "US"
403
+ * },
404
+ * sourceOfFunds: ["business_revenue"],
405
+ * countriesOfOperations: ["US", "CA"],
406
+ * beneficialOwners: [{
407
+ * firstName: "Morgan",
408
+ * lastName: "Lee",
409
+ * email: "morgan.lee@acme.com",
410
+ * phone: "+14155550176",
411
+ * dateOfBirth: "1985-09-02",
412
+ * address: {
413
+ * streetLine1: "128 Alamo Square",
414
+ * city: "San Francisco",
415
+ * subdivision: "CA",
416
+ * postalCode: "94117",
417
+ * country: "US"
418
+ * },
419
+ * ownershipPercentage: 60,
420
+ * title: "ceo",
421
+ * countryOfCitizenship: "US",
422
+ * employmentStatus: "employed"
423
+ * }]
424
+ * }
376
425
  * }],
377
426
  * agents: [{
378
427
  * agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
@@ -4,7 +4,56 @@ import type * as Natural from "../../../../index.mjs";
4
4
  * {
5
5
  * recipients: [{
6
6
  * type: "email",
7
- * value: "ops@acme.com"
7
+ * value: "ops@acme.com",
8
+ * accountType: "business",
9
+ * firstName: "Morgan",
10
+ * lastName: "Lee",
11
+ * phone: "+14155550176",
12
+ * business: {
13
+ * legalName: "Acme Logistics LLC",
14
+ * displayName: "Acme Logistics",
15
+ * website: "https://acmelogistics.com",
16
+ * hasTradeName: true,
17
+ * tradeName: "Acme Freight",
18
+ * businessType: "llc",
19
+ * industry: "513210",
20
+ * stateOfIncorporation: "DE",
21
+ * incorporationDate: "2018-03-12",
22
+ * registeredAddress: {
23
+ * streetLine1: "251 Little Falls Dr",
24
+ * city: "Wilmington",
25
+ * subdivision: "DE",
26
+ * postalCode: "19808",
27
+ * country: "US"
28
+ * },
29
+ * physicalAddress: {
30
+ * streetLine1: "900 Harrison St",
31
+ * city: "San Francisco",
32
+ * subdivision: "CA",
33
+ * postalCode: "94107",
34
+ * country: "US"
35
+ * },
36
+ * sourceOfFunds: ["business_revenue"],
37
+ * countriesOfOperations: ["US", "CA"],
38
+ * beneficialOwners: [{
39
+ * firstName: "Morgan",
40
+ * lastName: "Lee",
41
+ * email: "morgan.lee@acme.com",
42
+ * phone: "+14155550176",
43
+ * dateOfBirth: "1985-09-02",
44
+ * address: {
45
+ * streetLine1: "128 Alamo Square",
46
+ * city: "San Francisco",
47
+ * subdivision: "CA",
48
+ * postalCode: "94117",
49
+ * country: "US"
50
+ * },
51
+ * ownershipPercentage: 60,
52
+ * title: "ceo",
53
+ * countryOfCitizenship: "US",
54
+ * employmentStatus: "employed"
55
+ * }]
56
+ * }
8
57
  * }],
9
58
  * agents: [{
10
59
  * agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
@@ -31,6 +80,6 @@ export interface CreateInvitationsCustomersRequest {
31
80
  message?: string;
32
81
  /** Tags applied to each invitation. */
33
82
  tags?: Record<string, string>;
34
- /** Natural notifications to disable for this request. "recipient" silences our message to the counterparty so you can deliver the returned link yourself; the person who initiated the request is always notified. Requires a delegated caller on payments and payment requests, which return 403 otherwise. Omit it, or send an empty array, to have Natural notify as usual. */
83
+ /** Set to ["recipient"] to skip our notification to the counterparty and deliver the returned link yourself. */
35
84
  disableNotifications?: Natural.CreateInvitationsCustomersRequestDisableNotificationsItem[];
36
85
  }
@@ -2,18 +2,16 @@ import type * as Natural from "../../../index.mjs";
2
2
  export interface CreateInvitationsCustomersRequestRecipientsItemEmail {
3
3
  /** Email address. */
4
4
  value: string;
5
- /** Optional onboarding suggestion (account type). The customer reviews and confirms every value. */
5
+ /** Account type */
6
6
  accountType?: Natural.CustomerInvitationAccountType;
7
7
  /** Legal first name of the person signing up. */
8
8
  firstName?: string;
9
9
  /** Legal last name of the person signing up. */
10
10
  lastName?: string;
11
- /** Phone number of the person signing up (E.164). Pre-fills the personal details step. */
11
+ /** Phone number of the person signing up (E.164) */
12
12
  phone?: string;
13
13
  /** Identity-verification details for individual accounts. */
14
14
  individual?: Natural.CustomerInvitationIndividual;
15
15
  /** Optional onboarding suggestion (business). The customer reviews and confirms every value. */
16
16
  business?: Natural.CustomerInvitationBusiness;
17
- /** Optional onboarding suggestion (beneficial owners). The customer reviews and confirms every value. */
18
- beneficialOwners?: Natural.CustomerInvitationBeneficialOwner[];
19
17
  }
@@ -1,5 +1,5 @@
1
1
  /** Country (ISO-3166-1 alpha-2). */
2
- export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry: {
2
+ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry: {
3
3
  readonly Us: "US";
4
4
  readonly Af: "AF";
5
5
  readonly Al: "AL";
@@ -197,4 +197,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
197
197
  readonly Zm: "ZM";
198
198
  readonly Zw: "ZW";
199
199
  };
200
- export type CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry];
200
+ export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry];
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  /** Country (ISO-3166-1 alpha-2). */
3
- export const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry = {
3
+ export const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry = {
4
4
  Us: "US",
5
5
  Af: "AF",
6
6
  Al: "AL",
@@ -1,5 +1,5 @@
1
1
  /** Annual income bucket. */
2
- export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome: {
2
+ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome: {
3
3
  readonly Zero25000: "0-25000";
4
4
  readonly Undefined50000: "25001-50000";
5
5
  readonly Undefined100000: "50001-100000";
@@ -7,4 +7,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
7
7
  readonly Undefined500000: "200001-500000";
8
8
  readonly Undefined: "500001+";
9
9
  };
10
- export type CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome];
10
+ export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome];
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  /** Annual income bucket. */
3
- export const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome = {
3
+ export const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome = {
4
4
  Zero25000: "0-25000",
5
5
  Undefined50000: "25001-50000",
6
6
  Undefined100000: "50001-100000",
@@ -1,5 +1,5 @@
1
1
  /** Country of citizenship (ISO-3166-1 alpha-2). */
2
- export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship: {
2
+ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship: {
3
3
  readonly Us: "US";
4
4
  readonly Af: "AF";
5
5
  readonly Al: "AL";
@@ -197,4 +197,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
197
197
  readonly Zm: "ZM";
198
198
  readonly Zw: "ZW";
199
199
  };
200
- export type CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship];
200
+ export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship];
@@ -1,6 +1,6 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  /** Country of citizenship (ISO-3166-1 alpha-2). */
3
- export const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship = {
3
+ export const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship = {
4
4
  Us: "US",
5
5
  Af: "AF",
6
6
  Al: "AL",
@@ -1,5 +1,5 @@
1
1
  /** Employment status. */
2
- export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus: {
2
+ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus: {
3
3
  readonly Employed: "employed";
4
4
  readonly SelfEmployed: "self_employed";
5
5
  readonly Unemployed: "unemployed";
@@ -7,4 +7,4 @@ export declare const CreateInvitationsCustomersRequestRecipientsItemEmailBenefic
7
7
  readonly Student: "student";
8
8
  readonly Other: "other";
9
9
  };
10
- export type CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus];
10
+ export type CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus = (typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus)[keyof typeof CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus];