@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
+ import * as core from "../../../../core/index.mjs";
3
+ export const CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship = core.serialization.enum_([
4
+ "US",
5
+ "AF",
6
+ "AL",
7
+ "DZ",
8
+ "AD",
9
+ "AO",
10
+ "AG",
11
+ "AR",
12
+ "AM",
13
+ "AU",
14
+ "AT",
15
+ "AZ",
16
+ "BS",
17
+ "BH",
18
+ "BD",
19
+ "BB",
20
+ "BY",
21
+ "BE",
22
+ "BZ",
23
+ "BJ",
24
+ "BT",
25
+ "BO",
26
+ "BA",
27
+ "BW",
28
+ "BR",
29
+ "BN",
30
+ "BG",
31
+ "BF",
32
+ "BI",
33
+ "CV",
34
+ "KH",
35
+ "CM",
36
+ "CA",
37
+ "CF",
38
+ "TD",
39
+ "CL",
40
+ "CN",
41
+ "CO",
42
+ "KM",
43
+ "CG",
44
+ "CD",
45
+ "CR",
46
+ "CI",
47
+ "HR",
48
+ "CU",
49
+ "CY",
50
+ "CZ",
51
+ "DK",
52
+ "DJ",
53
+ "DM",
54
+ "DO",
55
+ "EC",
56
+ "EG",
57
+ "SV",
58
+ "GQ",
59
+ "ER",
60
+ "EE",
61
+ "SZ",
62
+ "ET",
63
+ "FJ",
64
+ "FI",
65
+ "FR",
66
+ "GA",
67
+ "GM",
68
+ "GE",
69
+ "DE",
70
+ "GH",
71
+ "GR",
72
+ "GD",
73
+ "GT",
74
+ "GN",
75
+ "GW",
76
+ "GY",
77
+ "HT",
78
+ "VA",
79
+ "HN",
80
+ "HU",
81
+ "IS",
82
+ "IN",
83
+ "ID",
84
+ "IR",
85
+ "IQ",
86
+ "IE",
87
+ "IL",
88
+ "IT",
89
+ "JM",
90
+ "JP",
91
+ "JO",
92
+ "KZ",
93
+ "KE",
94
+ "KI",
95
+ "KP",
96
+ "KR",
97
+ "KW",
98
+ "KG",
99
+ "LA",
100
+ "LV",
101
+ "LB",
102
+ "LS",
103
+ "LR",
104
+ "LY",
105
+ "LI",
106
+ "LT",
107
+ "LU",
108
+ "MG",
109
+ "MW",
110
+ "MY",
111
+ "MV",
112
+ "ML",
113
+ "MT",
114
+ "MH",
115
+ "MR",
116
+ "MU",
117
+ "MX",
118
+ "FM",
119
+ "MD",
120
+ "MC",
121
+ "MN",
122
+ "ME",
123
+ "MA",
124
+ "MZ",
125
+ "MM",
126
+ "NA",
127
+ "NR",
128
+ "NP",
129
+ "NL",
130
+ "NZ",
131
+ "NI",
132
+ "NE",
133
+ "NG",
134
+ "MK",
135
+ "NO",
136
+ "OM",
137
+ "PK",
138
+ "PW",
139
+ "PS",
140
+ "PA",
141
+ "PG",
142
+ "PY",
143
+ "PE",
144
+ "PH",
145
+ "PL",
146
+ "PT",
147
+ "QA",
148
+ "RO",
149
+ "RU",
150
+ "RW",
151
+ "KN",
152
+ "LC",
153
+ "VC",
154
+ "WS",
155
+ "SM",
156
+ "ST",
157
+ "SA",
158
+ "SN",
159
+ "RS",
160
+ "SC",
161
+ "SL",
162
+ "SG",
163
+ "SK",
164
+ "SI",
165
+ "SB",
166
+ "SO",
167
+ "ZA",
168
+ "SS",
169
+ "ES",
170
+ "LK",
171
+ "SD",
172
+ "SR",
173
+ "SE",
174
+ "CH",
175
+ "SY",
176
+ "TW",
177
+ "TJ",
178
+ "TZ",
179
+ "TH",
180
+ "TL",
181
+ "TG",
182
+ "TO",
183
+ "TT",
184
+ "TN",
185
+ "TR",
186
+ "TM",
187
+ "TV",
188
+ "UG",
189
+ "UA",
190
+ "AE",
191
+ "GB",
192
+ "UY",
193
+ "UZ",
194
+ "VU",
195
+ "VE",
196
+ "VN",
197
+ "YE",
198
+ "ZM",
199
+ "ZW",
200
+ ]);
@@ -1,6 +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
5
  export declare const CustomerInvitationAddress: core.serialization.ObjectSchema<serializers.CustomerInvitationAddress.Raw, Natural.CustomerInvitationAddress>;
5
6
  export declare namespace CustomerInvitationAddress {
6
7
  interface Raw {
@@ -9,6 +10,6 @@ export declare namespace CustomerInvitationAddress {
9
10
  city?: string | null;
10
11
  subdivision?: string | null;
11
12
  postalCode?: string | null;
12
- country?: string | null;
13
+ country?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.Raw | null;
13
14
  }
14
15
  }
@@ -1,10 +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
4
  export const CustomerInvitationAddress = core.serialization.object({
4
5
  streetLine1: core.serialization.string().optional(),
5
6
  streetLine2: core.serialization.string().optional(),
6
7
  city: core.serialization.string().optional(),
7
8
  subdivision: core.serialization.string().optional(),
8
9
  postalCode: core.serialization.string().optional(),
9
- country: core.serialization.string().optional(),
10
+ country: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAddressCountry.optional(),
10
11
  });
@@ -2,6 +2,7 @@ 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
4
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
5
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
5
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
6
7
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
7
8
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
@@ -16,7 +17,7 @@ export declare namespace CustomerInvitationBeneficialOwner {
16
17
  address?: CustomerInvitationAddress.Raw | null;
17
18
  ownershipPercentage?: number | null;
18
19
  title?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.Raw | null;
19
- countryOfCitizenship?: string | null;
20
+ countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.Raw | null;
20
21
  employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.Raw | null;
21
22
  annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.Raw | null;
22
23
  }
@@ -1,6 +1,7 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.mjs";
4
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.mjs";
4
5
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.mjs";
5
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.mjs";
6
7
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
@@ -13,7 +14,7 @@ export const CustomerInvitationBeneficialOwner = core.serialization.object({
13
14
  address: CustomerInvitationAddress.optional(),
14
15
  ownershipPercentage: core.serialization.number().optional(),
15
16
  title: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemTitle.optional(),
16
- countryOfCitizenship: core.serialization.string().optional(),
17
+ countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemCountryOfCitizenship.optional(),
17
18
  employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemEmploymentStatus.optional(),
18
19
  annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailBeneficialOwnersItemAnnualIncome.optional(),
19
20
  });
@@ -2,14 +2,13 @@ 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
4
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
5
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
5
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
6
7
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
7
8
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
8
- import { CustomerInvitationRepresentative } from "./CustomerInvitationRepresentative.mjs";
9
9
  export declare const CustomerInvitationBusiness: core.serialization.ObjectSchema<serializers.CustomerInvitationBusiness.Raw, Natural.CustomerInvitationBusiness>;
10
10
  export declare namespace CustomerInvitationBusiness {
11
11
  interface Raw {
12
- representative?: CustomerInvitationRepresentative.Raw | null;
13
12
  legalName?: string | null;
14
13
  displayName?: string | null;
15
14
  website?: string | null;
@@ -22,6 +21,6 @@ export declare namespace CustomerInvitationBusiness {
22
21
  registeredAddress?: CustomerInvitationAddress.Raw | null;
23
22
  physicalAddress?: CustomerInvitationAddress.Raw | null;
24
23
  sourceOfFunds?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.Raw[] | null;
25
- countriesOfOperations?: string[] | null;
24
+ countriesOfOperations?: CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.Raw[] | null;
26
25
  }
27
26
  }
@@ -1,12 +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
3
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessBusinessType.mjs";
4
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem.mjs";
4
5
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem.mjs";
5
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation } from "./CreateInvitationsCustomersRequestRecipientsItemEmailBusinessStateOfIncorporation.mjs";
6
7
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
7
- import { CustomerInvitationRepresentative } from "./CustomerInvitationRepresentative.mjs";
8
8
  export const CustomerInvitationBusiness = core.serialization.object({
9
- representative: CustomerInvitationRepresentative.optional(),
10
9
  legalName: core.serialization.string().optional(),
11
10
  displayName: core.serialization.string().optional(),
12
11
  website: core.serialization.string().optional(),
@@ -21,5 +20,7 @@ export const CustomerInvitationBusiness = core.serialization.object({
21
20
  sourceOfFunds: core.serialization
22
21
  .list(CreateInvitationsCustomersRequestRecipientsItemEmailBusinessSourceOfFundsItem)
23
22
  .optional(),
24
- countriesOfOperations: core.serialization.list(core.serialization.string()).optional(),
23
+ countriesOfOperations: core.serialization
24
+ .list(CreateInvitationsCustomersRequestRecipientsItemEmailBusinessCountriesOfOperationsItem)
25
+ .optional(),
25
26
  });
@@ -2,18 +2,15 @@ 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
4
  import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.mjs";
5
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs";
5
6
  import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.mjs";
6
7
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
7
8
  export declare const CustomerInvitationIndividual: core.serialization.ObjectSchema<serializers.CustomerInvitationIndividual.Raw, Natural.CustomerInvitationIndividual>;
8
9
  export declare namespace CustomerInvitationIndividual {
9
10
  interface Raw {
10
- firstName?: string | null;
11
- lastName?: string | null;
12
- email?: string | null;
13
- phone?: string | null;
14
11
  dateOfBirth?: string | null;
15
12
  address?: CustomerInvitationAddress.Raw | null;
16
- countryOfCitizenship?: string | null;
13
+ countryOfCitizenship?: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.Raw | null;
17
14
  employmentStatus?: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.Raw | null;
18
15
  annualIncome?: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.Raw | null;
19
16
  }
@@ -1,16 +1,13 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.mjs";
4
+ import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.mjs";
4
5
  import { CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus } from "./CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.mjs";
5
6
  import { CustomerInvitationAddress } from "./CustomerInvitationAddress.mjs";
6
7
  export const CustomerInvitationIndividual = core.serialization.object({
7
- firstName: core.serialization.string().optional(),
8
- lastName: core.serialization.string().optional(),
9
- email: core.serialization.string().optional(),
10
- phone: core.serialization.string().optional(),
11
8
  dateOfBirth: core.serialization.string().optional(),
12
9
  address: CustomerInvitationAddress.optional(),
13
- countryOfCitizenship: core.serialization.string().optional(),
10
+ countryOfCitizenship: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualCountryOfCitizenship.optional(),
14
11
  employmentStatus: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualEmploymentStatus.optional(),
15
12
  annualIncome: CreateInvitationsCustomersRequestRecipientsItemEmailIndividualAnnualIncome.optional(),
16
13
  });
@@ -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";
@@ -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";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.5";
1
+ export declare const SDK_VERSION = "1.2.7";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.2.5";
1
+ export const SDK_VERSION = "1.2.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
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
+ },
952
+ beneficialOwners: [{
953
+ firstName: "Morgan",
954
+ lastName: "Lee",
955
+ email: "morgan.lee@acme.com",
956
+ phone: "+14155550176",
957
+ dateOfBirth: "1985-09-02",
958
+ address: {
959
+ streetLine1: "128 Alamo Square",
960
+ city: "San Francisco",
961
+ subdivision: "CA",
962
+ postalCode: "94117",
963
+ country: "US"
964
+ },
965
+ ownershipPercentage: 60,
966
+ title: "ceo",
967
+ countryOfCitizenship: "US",
968
+ employmentStatus: "employed"
969
+ }]
921
970
  }],
922
971
  agents: [{
923
972
  agentId: "agt_3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
@@ -927,6 +976,7 @@ await client.customers.createInvitations({
927
976
  }
928
977
  }],
929
978
  expiresAt: new Date("2026-01-12T10:15:00.000Z"),
979
+ message: "We use Natural to let our agents help manage payments for your business.",
930
980
  tags: {
931
981
  "campaign": "q3_reactivation"
932
982
  }
@@ -5890,6 +5940,7 @@ Create a test customer and a pending invitation for each agent you name
5890
5940
  await client.simulations.inviteCustomer({
5891
5941
  idempotencyKey: "Idempotency-Key",
5892
5942
  agentIds: ["agt_550e8400e29b41d4a716446655440000"],
5943
+ permissions: ["wallets.create", "wallets.deposit", "wallets.withdraw", "wallets.transfer"],
5893
5944
  type: "ORG"
5894
5945
  });
5895
5946
 
@@ -1,6 +0,0 @@
1
- export interface CustomerInvitationRepresentative {
2
- firstName?: string;
3
- lastName?: string;
4
- email?: string;
5
- phone?: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- import type * as Natural from "../../../../api/index.js";
2
- import * as core from "../../../../core/index.js";
3
- import type * as serializers from "../../../index.js";
4
- export declare const CustomerInvitationRepresentative: core.serialization.ObjectSchema<serializers.CustomerInvitationRepresentative.Raw, Natural.CustomerInvitationRepresentative>;
5
- export declare namespace CustomerInvitationRepresentative {
6
- interface Raw {
7
- firstName?: string | null;
8
- lastName?: string | null;
9
- email?: string | null;
10
- phone?: string | null;
11
- }
12
- }
@@ -1,6 +0,0 @@
1
- export interface CustomerInvitationRepresentative {
2
- firstName?: string;
3
- lastName?: string;
4
- email?: string;
5
- phone?: string;
6
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,12 +0,0 @@
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 CustomerInvitationRepresentative: core.serialization.ObjectSchema<serializers.CustomerInvitationRepresentative.Raw, Natural.CustomerInvitationRepresentative>;
5
- export declare namespace CustomerInvitationRepresentative {
6
- interface Raw {
7
- firstName?: string | null;
8
- lastName?: string | null;
9
- email?: string | null;
10
- phone?: string | null;
11
- }
12
- }