@naturalpay/sdk 1.2.5 → 1.2.7

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 (185) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/customers/client/Client.d.ts +51 -1
  3. package/dist/cjs/api/resources/customers/client/Client.js +51 -1
  4. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +55 -3
  5. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +8 -2
  6. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts +200 -0
  7. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js +203 -0
  8. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.ts +1 -1
  9. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.js +1 -1
  10. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts +200 -0
  11. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js +203 -0
  12. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.ts +1 -1
  13. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.js +1 -1
  14. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.ts +1 -1
  15. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.js +1 -1
  16. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.d.ts +1 -1
  17. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.js +1 -1
  18. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.ts +200 -0
  19. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js +203 -0
  20. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.ts +200 -0
  21. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.js +203 -0
  22. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.ts +200 -0
  23. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.js +203 -0
  24. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.d.ts +1 -1
  25. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.js +1 -1
  26. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.d.ts +1 -1
  27. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.js +1 -1
  28. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.ts +200 -0
  29. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.js +203 -0
  30. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.d.ts +1 -1
  31. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.js +1 -1
  32. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.ts +200 -0
  33. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js +203 -0
  34. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.d.ts +1 -1
  35. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.js +1 -1
  36. package/dist/cjs/api/resources/customers/types/CustomerInvitationAccountType.d.ts +1 -1
  37. package/dist/cjs/api/resources/customers/types/CustomerInvitationAccountType.js +1 -1
  38. package/dist/cjs/api/resources/customers/types/CustomerInvitationAddress.d.ts +11 -2
  39. package/dist/cjs/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +12 -5
  40. package/dist/cjs/api/resources/customers/types/CustomerInvitationBusiness.d.ts +14 -4
  41. package/dist/cjs/api/resources/customers/types/CustomerInvitationIndividual.d.ts +7 -9
  42. package/dist/cjs/api/resources/customers/types/index.d.ts +7 -1
  43. package/dist/cjs/api/resources/customers/types/index.js +7 -1
  44. package/dist/cjs/api/resources/paymentRequests/client/requests/NewPayReqParams.d.ts +1 -1
  45. package/dist/cjs/api/resources/payments/client/requests/NewPaymentParams.d.ts +1 -1
  46. package/dist/cjs/api/resources/simulations/client/Client.d.ts +1 -0
  47. package/dist/cjs/api/resources/simulations/client/Client.js +1 -0
  48. package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +3 -0
  49. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +19 -0
  50. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +22 -0
  51. package/dist/cjs/api/resources/simulations/types/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/simulations/types/index.js +1 -0
  53. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -0
  54. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.js +1 -0
  55. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.ts +3 -0
  56. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.js +3 -0
  57. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.ts +7 -0
  58. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.js +236 -0
  59. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.ts +7 -0
  60. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.js +236 -0
  61. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.ts +7 -0
  62. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.js +236 -0
  63. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.ts +7 -0
  64. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.js +236 -0
  65. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.ts +7 -0
  66. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.js +236 -0
  67. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.ts +7 -0
  68. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.js +236 -0
  69. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.ts +7 -0
  70. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.js +236 -0
  71. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.d.ts +2 -1
  72. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationAddress.js +2 -1
  73. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.ts +2 -1
  74. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.js +2 -1
  75. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.d.ts +2 -3
  76. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationBusiness.js +4 -3
  77. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationIndividual.d.ts +2 -5
  78. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationIndividual.js +2 -5
  79. package/dist/cjs/serialization/resources/customers/types/index.d.ts +7 -1
  80. package/dist/cjs/serialization/resources/customers/types/index.js +7 -1
  81. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -0
  82. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +2 -0
  83. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +7 -0
  84. package/dist/cjs/serialization/resources/{customers/types/CustomerInvitationRepresentative.js → simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js} +19 -7
  85. package/dist/cjs/serialization/resources/simulations/types/index.d.ts +1 -0
  86. package/dist/cjs/serialization/resources/simulations/types/index.js +1 -0
  87. package/dist/cjs/version.d.ts +1 -1
  88. package/dist/cjs/version.js +1 -1
  89. package/dist/esm/BaseClient.mjs +2 -2
  90. package/dist/esm/api/resources/customers/client/Client.d.mts +51 -1
  91. package/dist/esm/api/resources/customers/client/Client.mjs +51 -1
  92. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +55 -3
  93. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +8 -2
  94. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts +200 -0
  95. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs +200 -0
  96. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.d.mts +1 -1
  97. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs +1 -1
  98. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts +200 -0
  99. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs +200 -0
  100. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.d.mts +1 -1
  101. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs +1 -1
  102. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.d.mts +1 -1
  103. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs +1 -1
  104. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.d.mts +1 -1
  105. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs +1 -1
  106. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.mts +200 -0
  107. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs +200 -0
  108. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.mts +200 -0
  109. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs +200 -0
  110. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.mts +200 -0
  111. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.mjs +200 -0
  112. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.d.mts +1 -1
  113. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs +1 -1
  114. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.d.mts +1 -1
  115. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs +1 -1
  116. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.mts +200 -0
  117. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.mjs +200 -0
  118. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.d.mts +1 -1
  119. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.mjs +1 -1
  120. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.mts +200 -0
  121. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs +200 -0
  122. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.d.mts +1 -1
  123. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.mjs +1 -1
  124. package/dist/esm/api/resources/customers/types/CustomerInvitationAccountType.d.mts +1 -1
  125. package/dist/esm/api/resources/customers/types/CustomerInvitationAccountType.mjs +1 -1
  126. package/dist/esm/api/resources/customers/types/CustomerInvitationAddress.d.mts +11 -2
  127. package/dist/esm/api/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +12 -5
  128. package/dist/esm/api/resources/customers/types/CustomerInvitationBusiness.d.mts +14 -4
  129. package/dist/esm/api/resources/customers/types/CustomerInvitationIndividual.d.mts +7 -9
  130. package/dist/esm/api/resources/customers/types/index.d.mts +7 -1
  131. package/dist/esm/api/resources/customers/types/index.mjs +7 -1
  132. package/dist/esm/api/resources/paymentRequests/client/requests/NewPayReqParams.d.mts +1 -1
  133. package/dist/esm/api/resources/payments/client/requests/NewPaymentParams.d.mts +1 -1
  134. package/dist/esm/api/resources/simulations/client/Client.d.mts +1 -0
  135. package/dist/esm/api/resources/simulations/client/Client.mjs +1 -0
  136. package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +3 -0
  137. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +19 -0
  138. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +19 -0
  139. package/dist/esm/api/resources/simulations/types/index.d.mts +1 -0
  140. package/dist/esm/api/resources/simulations/types/index.mjs +1 -0
  141. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -0
  142. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.mjs +1 -0
  143. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.d.mts +3 -0
  144. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmail.mjs +3 -0
  145. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.d.mts +7 -0
  146. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.mjs +200 -0
  147. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.d.mts +7 -0
  148. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs +200 -0
  149. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.d.mts +7 -0
  150. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs +200 -0
  151. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.d.mts +7 -0
  152. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs +200 -0
  153. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.d.mts +7 -0
  154. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.mjs +200 -0
  155. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.d.mts +7 -0
  156. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.mjs +200 -0
  157. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.d.mts +7 -0
  158. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs +200 -0
  159. package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.d.mts +2 -1
  160. package/dist/esm/serialization/resources/customers/types/CustomerInvitationAddress.mjs +2 -1
  161. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.d.mts +2 -1
  162. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBeneficialOwner.mjs +2 -1
  163. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.d.mts +2 -3
  164. package/dist/esm/serialization/resources/customers/types/CustomerInvitationBusiness.mjs +4 -3
  165. package/dist/esm/serialization/resources/customers/types/CustomerInvitationIndividual.d.mts +2 -5
  166. package/dist/esm/serialization/resources/customers/types/CustomerInvitationIndividual.mjs +2 -5
  167. package/dist/esm/serialization/resources/customers/types/index.d.mts +7 -1
  168. package/dist/esm/serialization/resources/customers/types/index.mjs +7 -1
  169. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -0
  170. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +2 -0
  171. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +7 -0
  172. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +20 -0
  173. package/dist/esm/serialization/resources/simulations/types/index.d.mts +1 -0
  174. package/dist/esm/serialization/resources/simulations/types/index.mjs +1 -0
  175. package/dist/esm/version.d.mts +1 -1
  176. package/dist/esm/version.mjs +1 -1
  177. package/package.json +1 -1
  178. package/reference.md +52 -1
  179. package/dist/cjs/api/resources/customers/types/CustomerInvitationRepresentative.d.ts +0 -6
  180. package/dist/cjs/api/resources/customers/types/CustomerInvitationRepresentative.js +0 -3
  181. package/dist/cjs/serialization/resources/customers/types/CustomerInvitationRepresentative.d.ts +0 -12
  182. package/dist/esm/api/resources/customers/types/CustomerInvitationRepresentative.d.mts +0 -6
  183. package/dist/esm/api/resources/customers/types/CustomerInvitationRepresentative.mjs +0 -2
  184. package/dist/esm/serialization/resources/customers/types/CustomerInvitationRepresentative.d.mts +0 -12
  185. package/dist/esm/serialization/resources/customers/types/CustomerInvitationRepresentative.mjs +0 -8
@@ -0,0 +1,200 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Country of citizenship (ISO-3166-1 alpha-2). */
3
+ export const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship = {
4
+ Us: "US",
5
+ Af: "AF",
6
+ Al: "AL",
7
+ Dz: "DZ",
8
+ Ad: "AD",
9
+ Ao: "AO",
10
+ Ag: "AG",
11
+ Ar: "AR",
12
+ Am: "AM",
13
+ Au: "AU",
14
+ At: "AT",
15
+ Az: "AZ",
16
+ Bs: "BS",
17
+ Bh: "BH",
18
+ Bd: "BD",
19
+ Bb: "BB",
20
+ By: "BY",
21
+ Be: "BE",
22
+ Bz: "BZ",
23
+ Bj: "BJ",
24
+ Bt: "BT",
25
+ Bo: "BO",
26
+ Ba: "BA",
27
+ Bw: "BW",
28
+ Br: "BR",
29
+ Bn: "BN",
30
+ Bg: "BG",
31
+ Bf: "BF",
32
+ Bi: "BI",
33
+ Cv: "CV",
34
+ Kh: "KH",
35
+ Cm: "CM",
36
+ Ca: "CA",
37
+ Cf: "CF",
38
+ Td: "TD",
39
+ Cl: "CL",
40
+ Cn: "CN",
41
+ Co: "CO",
42
+ Km: "KM",
43
+ Cg: "CG",
44
+ Cd: "CD",
45
+ Cr: "CR",
46
+ Ci: "CI",
47
+ Hr: "HR",
48
+ Cu: "CU",
49
+ Cy: "CY",
50
+ Cz: "CZ",
51
+ Dk: "DK",
52
+ Dj: "DJ",
53
+ Dm: "DM",
54
+ Do: "DO",
55
+ Ec: "EC",
56
+ Eg: "EG",
57
+ Sv: "SV",
58
+ Gq: "GQ",
59
+ Er: "ER",
60
+ Ee: "EE",
61
+ Sz: "SZ",
62
+ Et: "ET",
63
+ Fj: "FJ",
64
+ Fi: "FI",
65
+ Fr: "FR",
66
+ Ga: "GA",
67
+ Gm: "GM",
68
+ Ge: "GE",
69
+ De: "DE",
70
+ Gh: "GH",
71
+ Gr: "GR",
72
+ Gd: "GD",
73
+ Gt: "GT",
74
+ Gn: "GN",
75
+ Gw: "GW",
76
+ Gy: "GY",
77
+ Ht: "HT",
78
+ Va: "VA",
79
+ Hn: "HN",
80
+ Hu: "HU",
81
+ Is: "IS",
82
+ In: "IN",
83
+ Id: "ID",
84
+ Ir: "IR",
85
+ Iq: "IQ",
86
+ Ie: "IE",
87
+ Il: "IL",
88
+ It: "IT",
89
+ Jm: "JM",
90
+ Jp: "JP",
91
+ Jo: "JO",
92
+ Kz: "KZ",
93
+ Ke: "KE",
94
+ Ki: "KI",
95
+ Kp: "KP",
96
+ Kr: "KR",
97
+ Kw: "KW",
98
+ Kg: "KG",
99
+ La: "LA",
100
+ Lv: "LV",
101
+ Lb: "LB",
102
+ Ls: "LS",
103
+ Lr: "LR",
104
+ Ly: "LY",
105
+ Li: "LI",
106
+ Lt: "LT",
107
+ Lu: "LU",
108
+ Mg: "MG",
109
+ Mw: "MW",
110
+ My: "MY",
111
+ Mv: "MV",
112
+ Ml: "ML",
113
+ Mt: "MT",
114
+ Mh: "MH",
115
+ Mr: "MR",
116
+ Mu: "MU",
117
+ Mx: "MX",
118
+ Fm: "FM",
119
+ Md: "MD",
120
+ Mc: "MC",
121
+ Mn: "MN",
122
+ Me: "ME",
123
+ Ma: "MA",
124
+ Mz: "MZ",
125
+ Mm: "MM",
126
+ Na: "NA",
127
+ Nr: "NR",
128
+ Np: "NP",
129
+ Nl: "NL",
130
+ Nz: "NZ",
131
+ Ni: "NI",
132
+ Ne: "NE",
133
+ Ng: "NG",
134
+ Mk: "MK",
135
+ No: "NO",
136
+ Om: "OM",
137
+ Pk: "PK",
138
+ Pw: "PW",
139
+ Ps: "PS",
140
+ Pa: "PA",
141
+ Pg: "PG",
142
+ Py: "PY",
143
+ Pe: "PE",
144
+ Ph: "PH",
145
+ Pl: "PL",
146
+ Pt: "PT",
147
+ Qa: "QA",
148
+ Ro: "RO",
149
+ Ru: "RU",
150
+ Rw: "RW",
151
+ Kn: "KN",
152
+ Lc: "LC",
153
+ Vc: "VC",
154
+ Ws: "WS",
155
+ Sm: "SM",
156
+ St: "ST",
157
+ Sa: "SA",
158
+ Sn: "SN",
159
+ Rs: "RS",
160
+ Sc: "SC",
161
+ Sl: "SL",
162
+ Sg: "SG",
163
+ Sk: "SK",
164
+ Si: "SI",
165
+ Sb: "SB",
166
+ So: "SO",
167
+ Za: "ZA",
168
+ Ss: "SS",
169
+ Es: "ES",
170
+ Lk: "LK",
171
+ Sd: "SD",
172
+ Sr: "SR",
173
+ Se: "SE",
174
+ Ch: "CH",
175
+ Sy: "SY",
176
+ Tw: "TW",
177
+ Tj: "TJ",
178
+ Tz: "TZ",
179
+ Th: "TH",
180
+ Tl: "TL",
181
+ Tg: "TG",
182
+ To: "TO",
183
+ Tt: "TT",
184
+ Tn: "TN",
185
+ Tr: "TR",
186
+ Tm: "TM",
187
+ Tv: "TV",
188
+ Ug: "UG",
189
+ Ua: "UA",
190
+ Ae: "AE",
191
+ Gb: "GB",
192
+ Uy: "UY",
193
+ Uz: "UZ",
194
+ Vu: "VU",
195
+ Ve: "VE",
196
+ Vn: "VN",
197
+ Ye: "YE",
198
+ Zm: "ZM",
199
+ Zw: "ZW",
200
+ };
@@ -1,4 +1,4 @@
1
- /** employment status */
1
+ /** Employment status. */
2
2
  export declare const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus: {
3
3
  readonly Employed: "employed";
4
4
  readonly SelfEmployed: "self_employed";
@@ -1,5 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** employment status */
2
+ /** Employment status. */
3
3
  export const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus = {
4
4
  Employed: "employed",
5
5
  SelfEmployed: "self_employed",
@@ -1,4 +1,4 @@
1
- /** Optional onboarding suggestion (account type). The customer reviews and confirms every value. */
1
+ /** Account type */
2
2
  export declare const CustomerInvitationAccountType: {
3
3
  readonly Individual: "individual";
4
4
  readonly Business: "business";
@@ -1,5 +1,5 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- /** Optional onboarding suggestion (account type). The customer reviews and confirms every value. */
2
+ /** Account type */
3
3
  export const CustomerInvitationAccountType = {
4
4
  Individual: "individual",
5
5
  Business: "business",
@@ -1,9 +1,18 @@
1
+ import type * as Natural from "../../../index.mjs";
2
+ /**
3
+ * Home address.
4
+ */
1
5
  export interface CustomerInvitationAddress {
6
+ /** Street address line 1. */
2
7
  streetLine1?: string;
8
+ /** Street address line 2 (apartment, suite, unit). */
3
9
  streetLine2?: string;
10
+ /** City. */
4
11
  city?: string;
12
+ /** State, province, or other country subdivision. */
5
13
  subdivision?: string;
14
+ /** Postal or ZIP code. */
6
15
  postalCode?: string;
7
- /** ISO-3166-1 alpha-2 country */
8
- country?: string;
16
+ /** Country (ISO-3166-1 alpha-2). */
17
+ country?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry;
9
18
  }
@@ -1,18 +1,25 @@
1
1
  import type * as Natural from "../../../index.mjs";
2
2
  export interface CustomerInvitationBeneficialOwner {
3
+ /** Legal first name. */
3
4
  firstName?: string;
5
+ /** Legal last name. */
4
6
  lastName?: string;
7
+ /** Email address. */
5
8
  email?: string;
9
+ /** Phone number (E.164). */
6
10
  phone?: string;
11
+ /** Date of birth (YYYY-MM-DD). */
7
12
  dateOfBirth?: string;
13
+ /** Home address. */
8
14
  address?: Natural.CustomerInvitationAddress;
15
+ /** Ownership percentage, 0-100. Total across owners cannot exceed 100. */
9
16
  ownershipPercentage?: number;
10
- /** job title */
17
+ /** Job title. */
11
18
  title?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle;
12
- /** country of citizenship */
13
- countryOfCitizenship?: string;
14
- /** employment status */
19
+ /** Country of citizenship (ISO-3166-1 alpha-2). */
20
+ countryOfCitizenship?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship;
21
+ /** Employment status. */
15
22
  employmentStatus?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus;
16
- /** annual income bucket */
23
+ /** Annual income bucket. */
17
24
  annualIncome?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome;
18
25
  }
@@ -3,20 +3,30 @@ import type * as Natural from "../../../index.mjs";
3
3
  * Optional onboarding suggestion (business). The customer reviews and confirms every value.
4
4
  */
5
5
  export interface CustomerInvitationBusiness {
6
- representative?: Natural.CustomerInvitationRepresentative;
6
+ /** Registered legal name. */
7
7
  legalName?: string;
8
+ /** Public-facing display name. */
8
9
  displayName?: string;
10
+ /** Business website URL. */
9
11
  website?: string;
12
+ /** Whether the business operates under a trade name. */
10
13
  hasTradeName?: boolean;
14
+ /** Trade name (DBA), if the business operates under one. */
11
15
  tradeName?: string;
12
- /** business entity type */
16
+ /** Business entity type. */
13
17
  businessType?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType;
18
+ /** Six-digit NAICS code. */
14
19
  industry?: string;
15
- /** US state code */
20
+ /** US state of incorporation. */
16
21
  stateOfIncorporation?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation;
22
+ /** Date of incorporation (YYYY-MM-DD). */
17
23
  incorporationDate?: string;
24
+ /** Registered legal address. */
18
25
  registeredAddress?: Natural.CustomerInvitationAddress;
26
+ /** Physical operating address. */
19
27
  physicalAddress?: Natural.CustomerInvitationAddress;
28
+ /** Sources of funds for the business. */
20
29
  sourceOfFunds?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem[];
21
- countriesOfOperations?: string[];
30
+ /** Countries where the business operates (ISO-3166-1 alpha-2). */
31
+ countriesOfOperations?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem[];
22
32
  }
@@ -1,18 +1,16 @@
1
1
  import type * as Natural from "../../../index.mjs";
2
2
  /**
3
- * Optional onboarding suggestion (individual). The customer reviews and confirms every value.
3
+ * Identity-verification details for individual accounts.
4
4
  */
5
5
  export interface CustomerInvitationIndividual {
6
- firstName?: string;
7
- lastName?: string;
8
- email?: string;
9
- phone?: string;
6
+ /** Date of birth (YYYY-MM-DD). */
10
7
  dateOfBirth?: string;
8
+ /** Home address. */
11
9
  address?: Natural.CustomerInvitationAddress;
12
- /** country of citizenship */
13
- countryOfCitizenship?: string;
14
- /** employment status */
10
+ /** Country of citizenship (ISO-3166-1 alpha-2). */
11
+ countryOfCitizenship?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship;
12
+ /** Employment status. */
15
13
  employmentStatus?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus;
16
- /** annual income bucket */
14
+ /** Annual income bucket. */
17
15
  annualIncome?: Natural.CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome;
18
16
  }
@@ -4,13 +4,20 @@ 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";
7
8
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
9
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
8
10
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
9
11
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
10
12
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
13
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
14
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs";
15
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.mjs";
11
16
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
12
17
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
18
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.mjs";
13
19
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.mjs";
20
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs";
14
21
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.mjs";
15
22
  export * from "./CreateInvitationsCustomersRequestRecipientsItemPartyId.mjs";
16
23
  export * from "./CreateInvitationsCustomersRequestRecipientsItemPhone.mjs";
@@ -50,7 +57,6 @@ export * from "./CustomerInvitationAddress.mjs";
50
57
  export * from "./CustomerInvitationBeneficialOwner.mjs";
51
58
  export * from "./CustomerInvitationBusiness.mjs";
52
59
  export * from "./CustomerInvitationIndividual.mjs";
53
- export * from "./CustomerInvitationRepresentative.mjs";
54
60
  export * from "./CustomerKind.mjs";
55
61
  export * from "./CustomerMeta.mjs";
56
62
  export * from "./CustomerPaging.mjs";
@@ -4,13 +4,20 @@ 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";
7
8
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
9
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
8
10
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
9
11
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
10
12
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
13
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
14
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessPhysicalAddressCountry.mjs";
15
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessRegisteredAddressCountry.mjs";
11
16
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
12
17
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
18
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAddressCountry.mjs";
13
19
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.mjs";
20
+ export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs";
14
21
  export * from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.mjs";
15
22
  export * from "./CreateInvitationsCustomersRequestRecipientsItemPartyId.mjs";
16
23
  export * from "./CreateInvitationsCustomersRequestRecipientsItemPhone.mjs";
@@ -50,7 +57,6 @@ export * from "./CustomerInvitationAddress.mjs";
50
57
  export * from "./CustomerInvitationBeneficialOwner.mjs";
51
58
  export * from "./CustomerInvitationBusiness.mjs";
52
59
  export * from "./CustomerInvitationIndividual.mjs";
53
- export * from "./CustomerInvitationRepresentative.mjs";
54
60
  export * from "./CustomerKind.mjs";
55
61
  export * from "./CustomerMeta.mjs";
56
62
  export * from "./CustomerPaging.mjs";
@@ -34,6 +34,6 @@ export interface NewPayReqParams {
34
34
  payerName?: string;
35
35
  /** Who pays: exactly one typed email, phone, party ID, agent ID, or handle value. */
36
36
  payer: Natural.CreatePaymentRequestsRequestPayer;
37
- /** 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. */
37
+ /** Set to ["recipient"] to skip our notification to the counterparty and deliver the returned link yourself. */
38
38
  disableNotifications?: Natural.CreatePaymentRequestsRequestDisableNotificationsItem[];
39
39
  }
@@ -32,6 +32,6 @@ export interface NewPaymentParams {
32
32
  tags?: Record<string, string>;
33
33
  /** Source wallet ID (wal_*). Omit to pay from the sender party's default wallet. */
34
34
  walletId?: string;
35
- /** 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. */
35
+ /** Set to ["recipient"] to skip our notification to the counterparty and deliver the returned link yourself. */
36
36
  disableNotifications?: Natural.CreatePaymentsRequestDisableNotificationsItem[];
37
37
  }
@@ -38,6 +38,7 @@ export declare class SimulationsClient {
38
38
  * await client.simulations.inviteCustomer({
39
39
  * idempotencyKey: "Idempotency-Key",
40
40
  * agentIds: ["agt_550e8400e29b41d4a716446655440000"],
41
+ * permissions: ["wallets.create", "wallets.deposit", "wallets.withdraw", "wallets.transfer"],
41
42
  * type: "ORG"
42
43
  * })
43
44
  */
@@ -60,6 +60,7 @@ export class SimulationsClient {
60
60
  * await client.simulations.inviteCustomer({
61
61
  * idempotencyKey: "Idempotency-Key",
62
62
  * agentIds: ["agt_550e8400e29b41d4a716446655440000"],
63
+ * permissions: ["wallets.create", "wallets.deposit", "wallets.withdraw", "wallets.transfer"],
63
64
  * type: "ORG"
64
65
  * })
65
66
  */
@@ -4,6 +4,7 @@ import type * as Natural from "../../../../index.mjs";
4
4
  * {
5
5
  * idempotencyKey: "Idempotency-Key",
6
6
  * agentIds: ["agt_550e8400e29b41d4a716446655440000"],
7
+ * permissions: ["wallets.create", "wallets.deposit", "wallets.withdraw", "wallets.transfer"],
7
8
  * type: "ORG"
8
9
  * }
9
10
  */
@@ -12,6 +13,8 @@ export interface InviteCustomerSimulationsRequest {
12
13
  idempotencyKey: string;
13
14
  /** Agents to grant access to. The test customer receives a pending invitation for each agent listed. */
14
15
  agentIds: string[];
16
+ /** Permissions to request for each agent. Defaults to send and view payments, and view wallets. */
17
+ permissions?: Natural.InviteCustomerSimulationsRequestPermissionsItem[];
15
18
  /** Test customer party type. Defaults to PERSON. */
16
19
  type?: Natural.InviteCustomerSimulationsRequestType;
17
20
  }
@@ -0,0 +1,19 @@
1
+ export declare const InviteCustomerSimulationsRequestPermissionsItem: {
2
+ readonly PaymentsRead: "payments.read";
3
+ readonly PaymentsCreate: "payments.create";
4
+ readonly ExternalPartiesRead: "external_parties.read";
5
+ readonly ExternalPartiesCreate: "external_parties.create";
6
+ readonly DirectRead: "direct.read";
7
+ readonly DirectCreate: "direct.create";
8
+ readonly ExternalAccountsCreate: "external_accounts.create";
9
+ readonly WalletsRead: "wallets.read";
10
+ readonly WalletsCreate: "wallets.create";
11
+ readonly WalletsUpdate: "wallets.update";
12
+ readonly WalletsFund: "wallets.fund";
13
+ readonly WalletsDeposit: "wallets.deposit";
14
+ readonly WalletsTransfer: "wallets.transfer";
15
+ readonly WalletsWithdraw: "wallets.withdraw";
16
+ readonly PartyRead: "party.read";
17
+ readonly PartyUpdate: "party.update";
18
+ };
19
+ export type InviteCustomerSimulationsRequestPermissionsItem = (typeof InviteCustomerSimulationsRequestPermissionsItem)[keyof typeof InviteCustomerSimulationsRequestPermissionsItem];
@@ -0,0 +1,19 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const InviteCustomerSimulationsRequestPermissionsItem = {
3
+ PaymentsRead: "payments.read",
4
+ PaymentsCreate: "payments.create",
5
+ ExternalPartiesRead: "external_parties.read",
6
+ ExternalPartiesCreate: "external_parties.create",
7
+ DirectRead: "direct.read",
8
+ DirectCreate: "direct.create",
9
+ ExternalAccountsCreate: "external_accounts.create",
10
+ WalletsRead: "wallets.read",
11
+ WalletsCreate: "wallets.create",
12
+ WalletsUpdate: "wallets.update",
13
+ WalletsFund: "wallets.fund",
14
+ WalletsDeposit: "wallets.deposit",
15
+ WalletsTransfer: "wallets.transfer",
16
+ WalletsWithdraw: "wallets.withdraw",
17
+ PartyRead: "party.read",
18
+ PartyUpdate: "party.update",
19
+ };
@@ -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";
@@ -10,6 +10,7 @@ export declare namespace CreateInvitationsCustomersRequest {
10
10
  recipients: CreateInvitationsCustomersRequestRecipientsItem.Raw[];
11
11
  agents: CreateInvitationsCustomersRequestAgentsItem.Raw[];
12
12
  expiresAt?: string | null;
13
+ message?: string | null;
13
14
  tags?: Record<string, string> | null;
14
15
  disableNotifications?: CreateInvitationsCustomersRequestDisableNotificationsItem.Raw[] | null;
15
16
  }
@@ -7,6 +7,7 @@ export const CreateInvitationsCustomersRequest = core.serialization.object({
7
7
  recipients: core.serialization.list(CreateInvitationsCustomersRequestRecipientsItem),
8
8
  agents: core.serialization.list(CreateInvitationsCustomersRequestAgentsItem),
9
9
  expiresAt: core.serialization.date().optional(),
10
+ message: core.serialization.string().optional(),
10
11
  tags: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
11
12
  disableNotifications: core.serialization.list(CreateInvitationsCustomersRequestDisableNotificationsItem).optional(),
12
13
  });
@@ -10,6 +10,9 @@ export declare namespace CreateInvitationsCustomersRequestRecipientsItemEmail {
10
10
  interface Raw {
11
11
  value: string;
12
12
  accountType?: CustomerInvitationAccountType.Raw | null;
13
+ firstName?: string | null;
14
+ lastName?: string | null;
15
+ phone?: string | null;
13
16
  individual?: CustomerInvitationIndividual.Raw | null;
14
17
  business?: CustomerInvitationBusiness.Raw | null;
15
18
  beneficialOwners?: CustomerInvitationBeneficialOwner.Raw[] | null;
@@ -7,6 +7,9 @@ import { CustomerInvitationIndividual } from "./CustomerInvitationIndividual.mjs
7
7
  export const CreateInvitationsCustomersRequestRecipientsItemEmail = core.serialization.object({
8
8
  value: core.serialization.string(),
9
9
  accountType: CustomerInvitationAccountType.optional(),
10
+ firstName: core.serialization.string().optional(),
11
+ lastName: core.serialization.string().optional(),
12
+ phone: core.serialization.string().optional(),
10
13
  individual: CustomerInvitationIndividual.optional(),
11
14
  business: CustomerInvitationBusiness.optional(),
12
15
  beneficialOwners: core.serialization.list(CustomerInvitationBeneficialOwner).optional(),
@@ -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 CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry: core.serialization.Schema<serializers.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.Raw, Natural.CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry>;
5
+ export declare namespace CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry {
6
+ type Raw = "US" | "AF" | "AL" | "DZ" | "AD" | "AO" | "AG" | "AR" | "AM" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BT" | "BO" | "BA" | "BW" | "BR" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CG" | "CD" | "CR" | "CI" | "HR" | "CU" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FJ" | "FI" | "FR" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GT" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "JM" | "JP" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "MK" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "QA" | "RO" | "RU" | "RW" | "KN" | "LC" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SK" | "SI" | "SB" | "SO" | "ZA" | "SS" | "ES" | "LK" | "SD" | "SR" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "TV" | "UG" | "UA" | "AE" | "GB" | "UY" | "UZ" | "VU" | "VE" | "VN" | "YE" | "ZM" | "ZW";
7
+ }