@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,7 +1,7 @@
1
1
  import type * as Natural from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs";
4
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
5
5
  export declare const CustomerInvitationAddress: core.serialization.ObjectSchema<serializers.CustomerInvitationAddress.Raw, Natural.CustomerInvitationAddress>;
6
6
  export declare namespace CustomerInvitationAddress {
7
7
  interface Raw {
@@ -10,6 +10,6 @@ export declare namespace CustomerInvitationAddress {
10
10
  city?: string | null;
11
11
  subdivision?: string | null;
12
12
  postalCode?: string | null;
13
- country?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.Raw | null;
13
+ country?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.Raw | null;
14
14
  }
15
15
  }
@@ -1,11 +1,11 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs";
3
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
4
4
  export const CustomerInvitationAddress = core.serialization.object({
5
5
  streetLine1: core.serialization.string().optional(),
6
6
  streetLine2: core.serialization.string().optional(),
7
7
  city: core.serialization.string().optional(),
8
8
  subdivision: core.serialization.string().optional(),
9
9
  postalCode: core.serialization.string().optional(),
10
- country: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.optional(),
10
+ country: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.optional(),
11
11
  });
@@ -1,10 +1,10 @@
1
1
  import type * as Natural from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
5
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
6
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
7
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
4
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
5
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
6
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
7
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
8
8
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
9
9
  export declare const CustomerInvitationBeneficialOwner: core.serialization.ObjectSchema<serializers.CustomerInvitationBeneficialOwner.Raw, Natural.CustomerInvitationBeneficialOwner>;
10
10
  export declare namespace CustomerInvitationBeneficialOwner {
@@ -16,9 +16,9 @@ export declare namespace CustomerInvitationBeneficialOwner {
16
16
  dateOfBirth?: string | null;
17
17
  address?: CustomerInvitationAddress.Raw | null;
18
18
  ownershipPercentage?: number | null;
19
- title?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.Raw | null;
20
- countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.Raw | null;
21
- employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.Raw | null;
22
- annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.Raw | null;
19
+ title?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.Raw | null;
20
+ countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.Raw | null;
21
+ employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.Raw | null;
22
+ annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.Raw | null;
23
23
  }
24
24
  }
@@ -1,9 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
4
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
5
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
6
- import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
3
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
4
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
5
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
6
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
7
7
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
8
8
  export const CustomerInvitationBeneficialOwner = core.serialization.object({
9
9
  firstName: core.serialization.string().optional(),
@@ -13,8 +13,8 @@ export const CustomerInvitationBeneficialOwner = core.serialization.object({
13
13
  dateOfBirth: core.serialization.string().optional(),
14
14
  address: CustomerInvitationAddress.optional(),
15
15
  ownershipPercentage: core.serialization.number().optional(),
16
- title: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.optional(),
17
- countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.optional(),
18
- employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.optional(),
19
- annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.optional(),
16
+ title: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.optional(),
17
+ countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.optional(),
18
+ employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.optional(),
19
+ annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.optional(),
20
20
  });
@@ -6,6 +6,7 @@ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOf
6
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
7
7
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
8
8
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
9
+ import { CustomerInvitationBeneficialOwner } from "./CustomerInvitationBeneficialOwner.mjs";
9
10
  export declare const CustomerInvitationBusiness: core.serialization.ObjectSchema<serializers.CustomerInvitationBusiness.Raw, Natural.CustomerInvitationBusiness>;
10
11
  export declare namespace CustomerInvitationBusiness {
11
12
  interface Raw {
@@ -22,5 +23,6 @@ export declare namespace CustomerInvitationBusiness {
22
23
  physicalAddress?: CustomerInvitationAddress.Raw | null;
23
24
  sourceOfFunds?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.Raw[] | null;
24
25
  countriesOfOperations?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.Raw[] | null;
26
+ beneficialOwners?: CustomerInvitationBeneficialOwner.Raw[] | null;
25
27
  }
26
28
  }
@@ -5,6 +5,7 @@ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOf
5
5
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
6
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
7
7
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
8
+ import { CustomerInvitationBeneficialOwner } from "./CustomerInvitationBeneficialOwner.mjs";
8
9
  export const CustomerInvitationBusiness = core.serialization.object({
9
10
  legalName: core.serialization.string().optional(),
10
11
  displayName: core.serialization.string().optional(),
@@ -23,4 +24,5 @@ export const CustomerInvitationBusiness = core.serialization.object({
23
24
  countriesOfOperations: core.serialization
24
25
  .list(CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem)
25
26
  .optional(),
27
+ beneficialOwners: core.serialization.list(CustomerInvitationBeneficialOwner).optional(),
26
28
  });
@@ -4,11 +4,11 @@ export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs"
4
4
  export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.mjs";
5
5
  export * from "./CreateInvitationsCustomersRequestRecipientsItem.mjs";
6
6
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.mjs";
7
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs";
8
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
9
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
10
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
11
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
7
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
8
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
9
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
10
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
11
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
12
12
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
13
13
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
14
14
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs";
@@ -4,11 +4,11 @@ export * from "./CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs"
4
4
  export * from "./CreateInvitationsCustomersRequestDisableNotificationsItem.mjs";
5
5
  export * from "./CreateInvitationsCustomersRequestRecipientsItem.mjs";
6
6
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmail.mjs";
7
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs";
8
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
9
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
10
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
11
- export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
7
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAddressCountry.mjs";
8
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemAnnualIncome.mjs";
9
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemCountryOfCitizenship.mjs";
10
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemEmploymentStatus.mjs";
11
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBeneficialOwnersItemTitle.mjs";
12
12
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
13
13
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
14
14
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs";
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const GetEventsResponseDataAttributesEventType: core.serialization.Schema<serializers.GetEventsResponseDataAttributesEventType.Raw, Natural.GetEventsResponseDataAttributesEventType>;
5
5
  export declare namespace GetEventsResponseDataAttributesEventType {
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
  }
@@ -37,7 +37,7 @@ export const GetEventsResponseDataAttributesEventType = core.serialization.enum_
37
37
  "payment.approval_denied",
38
38
  "ach.created",
39
39
  "ach.processing",
40
- "ach.completed",
40
+ "ach.settled",
41
41
  "ach.failed",
42
42
  "ach.returned",
43
43
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const ListEventsRequestEventType: core.serialization.Schema<serializers.ListEventsRequestEventType.Raw, Natural.ListEventsRequestEventType>;
5
5
  export declare namespace ListEventsRequestEventType {
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
  }
@@ -37,7 +37,7 @@ export const ListEventsRequestEventType = core.serialization.enum_([
37
37
  "payment.approval_denied",
38
38
  "ach.created",
39
39
  "ach.processing",
40
- "ach.completed",
40
+ "ach.settled",
41
41
  "ach.failed",
42
42
  "ach.returned",
43
43
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const ListEventsResponseDataItemAttributesEventType: core.serialization.Schema<serializers.ListEventsResponseDataItemAttributesEventType.Raw, Natural.ListEventsResponseDataItemAttributesEventType>;
5
5
  export declare namespace ListEventsResponseDataItemAttributesEventType {
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
  }
@@ -37,7 +37,7 @@ export const ListEventsResponseDataItemAttributesEventType = core.serialization.
37
37
  "payment.approval_denied",
38
38
  "ach.created",
39
39
  "ach.processing",
40
- "ach.completed",
40
+ "ach.settled",
41
41
  "ach.failed",
42
42
  "ach.returned",
43
43
  "mandate.created",
@@ -1,11 +1,13 @@
1
1
  import type * as Natural from "../../../../../api/index.mjs";
2
2
  import * as core from "../../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../../index.mjs";
4
+ import { InviteCustomerSimulationsRequestPermissionsItem } from "../../types/InviteCustomerSimulationsRequestPermissionsItem.mjs";
4
5
  import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.mjs";
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
  }
@@ -1,7 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../../core/index.mjs";
3
+ import { InviteCustomerSimulationsRequestPermissionsItem } from "../../types/InviteCustomerSimulationsRequestPermissionsItem.mjs";
3
4
  import { InviteCustomerSimulationsRequestType } from "../../types/InviteCustomerSimulationsRequestType.mjs";
4
5
  export const InviteCustomerSimulationsRequest = core.serialization.object({
5
6
  agentIds: core.serialization.list(core.serialization.string()),
7
+ permissions: core.serialization.list(InviteCustomerSimulationsRequestPermissionsItem).optional(),
6
8
  type: InviteCustomerSimulationsRequestType.optional(),
7
9
  });
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
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,20 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const InviteCustomerSimulationsRequestPermissionsItem = core.serialization.enum_([
4
+ "payments.read",
5
+ "payments.create",
6
+ "external_parties.read",
7
+ "external_parties.create",
8
+ "direct.read",
9
+ "direct.create",
10
+ "external_accounts.create",
11
+ "wallets.read",
12
+ "wallets.create",
13
+ "wallets.update",
14
+ "wallets.fund",
15
+ "wallets.deposit",
16
+ "wallets.transfer",
17
+ "wallets.withdraw",
18
+ "party.read",
19
+ "party.update",
20
+ ]);
@@ -125,6 +125,7 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
125
125
  export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
126
126
  export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
127
127
  export * from "./FundCustomerSimulationsResponseDataType.mjs";
128
+ export * from "./InviteCustomerSimulationsRequestPermissionsItem.mjs";
128
129
  export * from "./InviteCustomerSimulationsRequestType.mjs";
129
130
  export * from "./InviteCustomerSimulationsResponse.mjs";
130
131
  export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
@@ -125,6 +125,7 @@ export * from "./FundCustomerSimulationsResponseDataRelationshipsWallet.mjs";
125
125
  export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletData.mjs";
126
126
  export * from "./FundCustomerSimulationsResponseDataRelationshipsWalletDataType.mjs";
127
127
  export * from "./FundCustomerSimulationsResponseDataType.mjs";
128
+ export * from "./InviteCustomerSimulationsRequestPermissionsItem.mjs";
128
129
  export * from "./InviteCustomerSimulationsRequestType.mjs";
129
130
  export * from "./InviteCustomerSimulationsResponse.mjs";
130
131
  export * from "./InviteCustomerSimulationsResponseDataItem.mjs";
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const CreateWebhooksRequestEnabledEventsItem = core.serialization.enum_([
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const CreateWebhooksResponseDataAttributesEnabledEventsItem = core.serial
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const GetWebhooksResponseDataAttributesEnabledEventsItem = core.serializa
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const RemoveWebhooksResponseDataAttributesEnabledEventsItem = core.serial
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const UpdateWebhooksRequestEnabledEventsItem = core.serialization.enum_([
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const UpdateWebhooksResponseDataAttributesEnabledEventsItem = core.serial
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
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
  }
@@ -38,7 +38,7 @@ export const WebhookEnabledEventsItem = core.serialization.enum_([
38
38
  "payment.approval_denied",
39
39
  "ach.created",
40
40
  "ach.processing",
41
- "ach.completed",
41
+ "ach.settled",
42
42
  "ach.failed",
43
43
  "ach.returned",
44
44
  "mandate.created",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.6";
1
+ export declare const SDK_VERSION = "1.3.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.2.6";
1
+ export const SDK_VERSION = "1.3.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.2.6",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -917,7 +917,56 @@ Invite specific customers by email or phone to approve a set of your agents, eac
917
917
  await client.customers.createInvitations({
918
918
  recipients: [{
919
919
  type: "email",
920
- value: "ops@acme.com"
920
+ value: "ops@acme.com",
921
+ accountType: "business",
922
+ firstName: "Morgan",
923
+ lastName: "Lee",
924
+ phone: "+14155550176",
925
+ business: {
926
+ legalName: "Acme Logistics LLC",
927
+ displayName: "Acme Logistics",
928
+ website: "https://acmelogistics.com",
929
+ hasTradeName: true,
930
+ tradeName: "Acme Freight",
931
+ businessType: "llc",
932
+ industry: "513210",
933
+ stateOfIncorporation: "DE",
934
+ incorporationDate: "2018-03-12",
935
+ registeredAddress: {
936
+ streetLine1: "251 Little Falls Dr",
937
+ city: "Wilmington",
938
+ subdivision: "DE",
939
+ postalCode: "19808",
940
+ country: "US"
941
+ },
942
+ physicalAddress: {
943
+ streetLine1: "900 Harrison St",
944
+ city: "San Francisco",
945
+ subdivision: "CA",
946
+ postalCode: "94107",
947
+ country: "US"
948
+ },
949
+ sourceOfFunds: ["business_revenue"],
950
+ countriesOfOperations: ["US", "CA"],
951
+ beneficialOwners: [{
952
+ firstName: "Morgan",
953
+ lastName: "Lee",
954
+ email: "morgan.lee@acme.com",
955
+ phone: "+14155550176",
956
+ dateOfBirth: "1985-09-02",
957
+ address: {
958
+ streetLine1: "128 Alamo Square",
959
+ city: "San Francisco",
960
+ subdivision: "CA",
961
+ postalCode: "94117",
962
+ country: "US"
963
+ },
964
+ ownershipPercentage: 60,
965
+ title: "ceo",
966
+ countryOfCitizenship: "US",
967
+ employmentStatus: "employed"
968
+ }]
969
+ }
921
970
  }],
922
971
  agents: [{
923
972
  agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
@@ -5891,6 +5940,7 @@ Create a test customer and a pending invitation for each agent you name
5891
5940
  await client.simulations.inviteCustomer({
5892
5941
  idempotencyKey: "Idempotency-Key",
5893
5942
  agentIds: ["agt_550e8400e29b41d4a716446655440000"],
5943
+ permissions: ["wallets.create", "wallets.deposit", "wallets.withdraw", "wallets.transfer"],
5894
5944
  type: "ORG"
5895
5945
  });
5896
5946