@naturalpay/sdk 1.6.57 → 1.6.59

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 (242) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.ts +1 -1
  3. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +9 -0
  4. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +9 -0
  5. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.ts +1 -1
  6. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  7. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js +50 -0
  8. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +1 -1
  9. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  10. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js +50 -0
  11. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +1 -1
  12. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.ts +47 -0
  13. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js +50 -0
  14. package/dist/cjs/api/resources/agents/types/index.d.ts +3 -0
  15. package/dist/cjs/api/resources/agents/types/index.js +3 -0
  16. package/dist/cjs/api/resources/apiKeys/client/requests/NewApiKeyParams.d.ts +1 -1
  17. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +11 -0
  18. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +11 -0
  19. package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -1
  20. package/dist/cjs/api/resources/customers/client/Client.js +1 -1
  21. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -1
  22. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +9 -0
  23. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +9 -0
  24. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +1 -1
  25. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  26. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js +50 -0
  27. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.ts +1 -1
  28. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.ts +47 -0
  29. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.js +50 -0
  30. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +1 -1
  31. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.ts +47 -0
  32. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.js +50 -0
  33. package/dist/cjs/api/resources/customers/types/index.d.ts +3 -0
  34. package/dist/cjs/api/resources/customers/types/index.js +3 -0
  35. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.ts +1 -1
  36. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +9 -0
  37. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +9 -0
  38. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  39. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  40. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  41. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  42. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  43. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +9 -0
  44. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +9 -0
  45. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  46. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -1
  47. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +47 -0
  48. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +50 -0
  49. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -1
  50. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +47 -0
  51. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +50 -0
  52. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +9 -0
  53. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -0
  54. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +1 -1
  55. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  56. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js +50 -0
  57. package/dist/cjs/api/resources/simulations/types/index.d.ts +3 -0
  58. package/dist/cjs/api/resources/simulations/types/index.js +3 -0
  59. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  60. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +9 -0
  61. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.ts +2 -1
  62. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.js +2 -1
  63. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  64. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js +84 -0
  65. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +2 -1
  66. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.js +2 -1
  67. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  68. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js +84 -0
  69. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +2 -1
  70. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.js +2 -1
  71. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.ts +7 -0
  72. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js +84 -0
  73. package/dist/cjs/serialization/resources/agents/types/index.d.ts +3 -0
  74. package/dist/cjs/serialization/resources/agents/types/index.js +3 -0
  75. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  76. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +11 -0
  77. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
  78. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +9 -0
  79. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +2 -1
  80. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.js +2 -1
  81. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  82. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js +84 -0
  83. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.ts +2 -1
  84. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.js +2 -1
  85. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.ts +7 -0
  86. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.js +84 -0
  87. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +2 -1
  88. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.js +2 -1
  89. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.ts +7 -0
  90. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.js +84 -0
  91. package/dist/cjs/serialization/resources/customers/types/index.d.ts +3 -0
  92. package/dist/cjs/serialization/resources/customers/types/index.js +3 -0
  93. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  94. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +9 -0
  95. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  96. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  97. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  98. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  99. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  100. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +9 -0
  101. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  102. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +9 -0
  103. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -1
  104. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.js +2 -1
  105. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +7 -0
  106. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +84 -0
  107. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -1
  108. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.js +2 -1
  109. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +7 -0
  110. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +84 -0
  111. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
  112. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +9 -0
  113. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +2 -1
  114. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.js +2 -1
  115. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  116. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js +84 -0
  117. package/dist/cjs/serialization/resources/simulations/types/index.d.ts +3 -0
  118. package/dist/cjs/serialization/resources/simulations/types/index.js +3 -0
  119. package/dist/cjs/version.d.ts +1 -1
  120. package/dist/cjs/version.js +1 -1
  121. package/dist/esm/BaseClient.mjs +2 -2
  122. package/dist/esm/api/resources/agents/client/requests/CreateCustomerAgentsRequest.d.mts +1 -1
  123. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +9 -0
  124. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +9 -0
  125. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts +1 -1
  126. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  127. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs +47 -0
  128. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +1 -1
  129. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  130. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs +47 -0
  131. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +1 -1
  132. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.mts +47 -0
  133. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs +47 -0
  134. package/dist/esm/api/resources/agents/types/index.d.mts +3 -0
  135. package/dist/esm/api/resources/agents/types/index.mjs +3 -0
  136. package/dist/esm/api/resources/apiKeys/client/requests/NewApiKeyParams.d.mts +1 -1
  137. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +11 -0
  138. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +11 -0
  139. package/dist/esm/api/resources/customers/client/Client.d.mts +1 -1
  140. package/dist/esm/api/resources/customers/client/Client.mjs +1 -1
  141. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -1
  142. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +9 -0
  143. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +9 -0
  144. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +1 -1
  145. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  146. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.mjs +47 -0
  147. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.mts +1 -1
  148. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.mts +47 -0
  149. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.mjs +47 -0
  150. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +1 -1
  151. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.mts +47 -0
  152. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.mjs +47 -0
  153. package/dist/esm/api/resources/customers/types/index.d.mts +3 -0
  154. package/dist/esm/api/resources/customers/types/index.mjs +3 -0
  155. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItem.d.mts +1 -1
  156. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +9 -0
  157. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +9 -0
  158. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  159. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  160. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  161. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  162. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  163. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  164. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +9 -0
  165. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  166. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -1
  167. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +47 -0
  168. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +47 -0
  169. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -1
  170. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +47 -0
  171. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +47 -0
  172. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +9 -0
  173. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -0
  174. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +1 -1
  175. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  176. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs +47 -0
  177. package/dist/esm/api/resources/simulations/types/index.d.mts +3 -0
  178. package/dist/esm/api/resources/simulations/types/index.mjs +3 -0
  179. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  180. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +9 -0
  181. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts +2 -1
  182. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.mjs +2 -1
  183. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  184. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs +48 -0
  185. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +2 -1
  186. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.mjs +2 -1
  187. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  188. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs +48 -0
  189. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +2 -1
  190. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.mjs +2 -1
  191. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.mts +7 -0
  192. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs +48 -0
  193. package/dist/esm/serialization/resources/agents/types/index.d.mts +3 -0
  194. package/dist/esm/serialization/resources/agents/types/index.mjs +3 -0
  195. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  196. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +11 -0
  197. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
  198. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +9 -0
  199. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +2 -1
  200. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.mjs +2 -1
  201. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  202. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.mjs +48 -0
  203. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.mts +2 -1
  204. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.mjs +2 -1
  205. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.mts +7 -0
  206. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.mjs +48 -0
  207. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +2 -1
  208. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.mjs +2 -1
  209. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.mts +7 -0
  210. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.mjs +48 -0
  211. package/dist/esm/serialization/resources/customers/types/index.d.mts +3 -0
  212. package/dist/esm/serialization/resources/customers/types/index.mjs +3 -0
  213. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  214. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +9 -0
  215. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  216. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  217. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  218. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  219. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  220. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  221. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  222. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +9 -0
  223. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -1
  224. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs +2 -1
  225. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +7 -0
  226. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +48 -0
  227. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -1
  228. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs +2 -1
  229. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +7 -0
  230. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +48 -0
  231. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
  232. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +9 -0
  233. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +2 -1
  234. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.mjs +2 -1
  235. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  236. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs +48 -0
  237. package/dist/esm/serialization/resources/simulations/types/index.d.mts +3 -0
  238. package/dist/esm/serialization/resources/simulations/types/index.mjs +3 -0
  239. package/dist/esm/version.d.mts +1 -1
  240. package/dist/esm/version.mjs +1 -1
  241. package/package.json +1 -1
  242. package/reference.md +1 -1
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem: core.serialization.Schema<serializers.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.Raw, Natural.RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem>;
5
5
  export declare namespace RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem {
6
- type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
6
+ type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
7
7
  }
@@ -33,6 +33,15 @@ export const RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermis
33
33
  "enrollment.read",
34
34
  "cards.read",
35
35
  "saved_cards.use",
36
+ "externalParties.create",
37
+ "externalParties.read",
38
+ "externalAccounts.create",
39
+ "paymentIntents.create",
40
+ "paymentIntents.read",
41
+ "cardPayments.read",
42
+ "voiceSessions.read",
43
+ "voiceSessions.create",
44
+ "savedCards.use",
36
45
  "paymentRequests.read",
37
46
  "paymentRequests.create",
38
47
  "externalAccounts.read",
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.mjs";
4
4
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
5
5
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
6
6
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesLimits } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
7
+ import { AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
7
8
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesStatus } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
8
9
  export declare const AcceptCustomerInvitationSimulationsResponseDataAttributes: core.serialization.ObjectSchema<serializers.AcceptCustomerInvitationSimulationsResponseDataAttributes.Raw, Natural.AcceptCustomerInvitationSimulationsResponseDataAttributes>;
9
10
  export declare namespace AcceptCustomerInvitationSimulationsResponseDataAttributes {
@@ -13,7 +14,7 @@ export declare namespace AcceptCustomerInvitationSimulationsResponseDataAttribut
13
14
  phone?: string | null;
14
15
  url: string;
15
16
  agentName: string;
16
- permissions: string[];
17
+ permissions: AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.Raw[];
17
18
  limits?: AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.Raw | null;
18
19
  status: AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.Raw;
19
20
  effectiveStatus: AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.Raw;
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
4
4
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
5
5
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesLimits } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
6
+ import { AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
6
7
  import { AcceptCustomerInvitationSimulationsResponseDataAttributesStatus } from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
7
8
  export const AcceptCustomerInvitationSimulationsResponseDataAttributes = core.serialization.object({
8
9
  developerName: core.serialization.string(),
@@ -10,7 +11,7 @@ export const AcceptCustomerInvitationSimulationsResponseDataAttributes = core.se
10
11
  phone: core.serialization.string().nullable(),
11
12
  url: core.serialization.string(),
12
13
  agentName: core.serialization.string(),
13
- permissions: core.serialization.list(core.serialization.string()),
14
+ permissions: core.serialization.list(AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem),
14
15
  limits: AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.nullable(),
15
16
  status: AcceptCustomerInvitationSimulationsResponseDataAttributesStatus,
16
17
  effectiveStatus: AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus,
@@ -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 AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem: core.serialization.Schema<serializers.AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.Raw, Natural.AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem>;
5
+ export declare namespace AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem {
6
+ type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
7
+ }
@@ -0,0 +1,48 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = core.serialization.enum_([
4
+ "disputes.read",
5
+ "disputes.create",
6
+ "payments.read",
7
+ "payments.create",
8
+ "external_parties.read",
9
+ "external_parties.create",
10
+ "direct.read",
11
+ "direct.create",
12
+ "external_accounts.create",
13
+ "wallets.read",
14
+ "wallets.balance",
15
+ "wallets.create",
16
+ "wallets.update",
17
+ "wallets.fund",
18
+ "wallets.deposit",
19
+ "wallets.transfer",
20
+ "wallets.withdraw",
21
+ "party.read",
22
+ "party.update",
23
+ "payment_intents.create",
24
+ "payment_intents.read",
25
+ "card_payments.read",
26
+ "refunds.read",
27
+ "refunds.create",
28
+ "voice_sessions.read",
29
+ "voice_sessions.create",
30
+ "chargebacks.read",
31
+ "chargebacks.respond",
32
+ "mandates.read",
33
+ "enrollment.read",
34
+ "cards.read",
35
+ "saved_cards.use",
36
+ "externalParties.create",
37
+ "externalParties.read",
38
+ "externalAccounts.create",
39
+ "paymentIntents.create",
40
+ "paymentIntents.read",
41
+ "cardPayments.read",
42
+ "voiceSessions.read",
43
+ "voiceSessions.create",
44
+ "savedCards.use",
45
+ "paymentRequests.read",
46
+ "paymentRequests.create",
47
+ "externalAccounts.read",
48
+ ]);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.mjs";
4
4
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
5
5
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
6
6
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesLimits } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
7
+ import { DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
7
8
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesStatus } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
8
9
  export declare const DeclineCustomerInvitationSimulationsResponseDataAttributes: core.serialization.ObjectSchema<serializers.DeclineCustomerInvitationSimulationsResponseDataAttributes.Raw, Natural.DeclineCustomerInvitationSimulationsResponseDataAttributes>;
9
10
  export declare namespace DeclineCustomerInvitationSimulationsResponseDataAttributes {
@@ -13,7 +14,7 @@ export declare namespace DeclineCustomerInvitationSimulationsResponseDataAttribu
13
14
  phone?: string | null;
14
15
  url: string;
15
16
  agentName: string;
16
- permissions: string[];
17
+ permissions: DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.Raw[];
17
18
  limits?: DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.Raw | null;
18
19
  status: DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.Raw;
19
20
  effectiveStatus: DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.Raw;
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
4
4
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
5
5
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesLimits } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
6
+ import { DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
6
7
  import { DeclineCustomerInvitationSimulationsResponseDataAttributesStatus } from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
7
8
  export const DeclineCustomerInvitationSimulationsResponseDataAttributes = core.serialization.object({
8
9
  developerName: core.serialization.string(),
@@ -10,7 +11,7 @@ export const DeclineCustomerInvitationSimulationsResponseDataAttributes = core.s
10
11
  phone: core.serialization.string().nullable(),
11
12
  url: core.serialization.string(),
12
13
  agentName: core.serialization.string(),
13
- permissions: core.serialization.list(core.serialization.string()),
14
+ permissions: core.serialization.list(DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem),
14
15
  limits: DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.nullable(),
15
16
  status: DeclineCustomerInvitationSimulationsResponseDataAttributesStatus,
16
17
  effectiveStatus: DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus,
@@ -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 DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem: core.serialization.Schema<serializers.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.Raw, Natural.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem>;
5
+ export declare namespace DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem {
6
+ type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
7
+ }
@@ -0,0 +1,48 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = core.serialization.enum_([
4
+ "disputes.read",
5
+ "disputes.create",
6
+ "payments.read",
7
+ "payments.create",
8
+ "external_parties.read",
9
+ "external_parties.create",
10
+ "direct.read",
11
+ "direct.create",
12
+ "external_accounts.create",
13
+ "wallets.read",
14
+ "wallets.balance",
15
+ "wallets.create",
16
+ "wallets.update",
17
+ "wallets.fund",
18
+ "wallets.deposit",
19
+ "wallets.transfer",
20
+ "wallets.withdraw",
21
+ "party.read",
22
+ "party.update",
23
+ "payment_intents.create",
24
+ "payment_intents.read",
25
+ "card_payments.read",
26
+ "refunds.read",
27
+ "refunds.create",
28
+ "voice_sessions.read",
29
+ "voice_sessions.create",
30
+ "chargebacks.read",
31
+ "chargebacks.respond",
32
+ "mandates.read",
33
+ "enrollment.read",
34
+ "cards.read",
35
+ "saved_cards.use",
36
+ "externalParties.create",
37
+ "externalParties.read",
38
+ "externalAccounts.create",
39
+ "paymentIntents.create",
40
+ "paymentIntents.read",
41
+ "cardPayments.read",
42
+ "voiceSessions.read",
43
+ "voiceSessions.create",
44
+ "savedCards.use",
45
+ "paymentRequests.read",
46
+ "paymentRequests.create",
47
+ "externalAccounts.read",
48
+ ]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  export declare const InviteCustomerSimulationsRequestPermissionsZeroItem: core.serialization.Schema<serializers.InviteCustomerSimulationsRequestPermissionsZeroItem.Raw, Natural.InviteCustomerSimulationsRequestPermissionsZeroItem>;
5
5
  export declare namespace InviteCustomerSimulationsRequestPermissionsZeroItem {
6
- type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use";
6
+ type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use";
7
7
  }
@@ -32,4 +32,13 @@ export const InviteCustomerSimulationsRequestPermissionsZeroItem = core.serializ
32
32
  "enrollment.read",
33
33
  "cards.read",
34
34
  "saved_cards.use",
35
+ "externalParties.create",
36
+ "externalParties.read",
37
+ "externalAccounts.create",
38
+ "paymentIntents.create",
39
+ "paymentIntents.read",
40
+ "cardPayments.read",
41
+ "voiceSessions.read",
42
+ "voiceSessions.create",
43
+ "savedCards.use",
35
44
  ]);
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.mjs";
4
4
  import { InviteCustomerSimulationsResponseDataItemAttributesCancelReason } from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.mjs";
5
5
  import { InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus } from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.mjs";
6
6
  import { InviteCustomerSimulationsResponseDataItemAttributesLimits } from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.mjs";
7
+ import { InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem } from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs";
7
8
  import { InviteCustomerSimulationsResponseDataItemAttributesStatus } from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.mjs";
8
9
  export declare const InviteCustomerSimulationsResponseDataItemAttributes: core.serialization.ObjectSchema<serializers.InviteCustomerSimulationsResponseDataItemAttributes.Raw, Natural.InviteCustomerSimulationsResponseDataItemAttributes>;
9
10
  export declare namespace InviteCustomerSimulationsResponseDataItemAttributes {
@@ -13,7 +14,7 @@ export declare namespace InviteCustomerSimulationsResponseDataItemAttributes {
13
14
  phone?: string | null;
14
15
  url: string;
15
16
  agentName: string;
16
- permissions: string[];
17
+ permissions: InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.Raw[];
17
18
  limits?: InviteCustomerSimulationsResponseDataItemAttributesLimits.Raw | null;
18
19
  status: InviteCustomerSimulationsResponseDataItemAttributesStatus.Raw;
19
20
  effectiveStatus: InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.Raw;
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.mjs";
3
3
  import { InviteCustomerSimulationsResponseDataItemAttributesCancelReason } from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.mjs";
4
4
  import { InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus } from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.mjs";
5
5
  import { InviteCustomerSimulationsResponseDataItemAttributesLimits } from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.mjs";
6
+ import { InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem } from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs";
6
7
  import { InviteCustomerSimulationsResponseDataItemAttributesStatus } from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.mjs";
7
8
  export const InviteCustomerSimulationsResponseDataItemAttributes = core.serialization.object({
8
9
  developerName: core.serialization.string(),
@@ -10,7 +11,7 @@ export const InviteCustomerSimulationsResponseDataItemAttributes = core.serializ
10
11
  phone: core.serialization.string().nullable(),
11
12
  url: core.serialization.string(),
12
13
  agentName: core.serialization.string(),
13
- permissions: core.serialization.list(core.serialization.string()),
14
+ permissions: core.serialization.list(InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem),
14
15
  limits: InviteCustomerSimulationsResponseDataItemAttributesLimits.nullable(),
15
16
  status: InviteCustomerSimulationsResponseDataItemAttributesStatus,
16
17
  effectiveStatus: InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus,
@@ -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 InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem: core.serialization.Schema<serializers.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.Raw, Natural.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem>;
5
+ export declare namespace InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem {
6
+ type Raw = "disputes.read" | "disputes.create" | "payments.read" | "payments.create" | "external_parties.read" | "external_parties.create" | "direct.read" | "direct.create" | "external_accounts.create" | "wallets.read" | "wallets.balance" | "wallets.create" | "wallets.update" | "wallets.fund" | "wallets.deposit" | "wallets.transfer" | "wallets.withdraw" | "party.read" | "party.update" | "payment_intents.create" | "payment_intents.read" | "card_payments.read" | "refunds.read" | "refunds.create" | "voice_sessions.read" | "voice_sessions.create" | "chargebacks.read" | "chargebacks.respond" | "mandates.read" | "enrollment.read" | "cards.read" | "saved_cards.use" | "externalParties.create" | "externalParties.read" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.use" | "paymentRequests.read" | "paymentRequests.create" | "externalAccounts.read";
7
+ }
@@ -0,0 +1,48 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ export const InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = core.serialization.enum_([
4
+ "disputes.read",
5
+ "disputes.create",
6
+ "payments.read",
7
+ "payments.create",
8
+ "external_parties.read",
9
+ "external_parties.create",
10
+ "direct.read",
11
+ "direct.create",
12
+ "external_accounts.create",
13
+ "wallets.read",
14
+ "wallets.balance",
15
+ "wallets.create",
16
+ "wallets.update",
17
+ "wallets.fund",
18
+ "wallets.deposit",
19
+ "wallets.transfer",
20
+ "wallets.withdraw",
21
+ "party.read",
22
+ "party.update",
23
+ "payment_intents.create",
24
+ "payment_intents.read",
25
+ "card_payments.read",
26
+ "refunds.read",
27
+ "refunds.create",
28
+ "voice_sessions.read",
29
+ "voice_sessions.create",
30
+ "chargebacks.read",
31
+ "chargebacks.respond",
32
+ "mandates.read",
33
+ "enrollment.read",
34
+ "cards.read",
35
+ "saved_cards.use",
36
+ "externalParties.create",
37
+ "externalParties.read",
38
+ "externalAccounts.create",
39
+ "paymentIntents.create",
40
+ "paymentIntents.read",
41
+ "cardPayments.read",
42
+ "voiceSessions.read",
43
+ "voiceSessions.create",
44
+ "savedCards.use",
45
+ "paymentRequests.read",
46
+ "paymentRequests.create",
47
+ "externalAccounts.read",
48
+ ]);
@@ -4,6 +4,7 @@ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs";
4
4
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
5
5
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
6
6
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
7
+ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
7
8
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
8
9
  export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationships.mjs";
9
10
  export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
@@ -55,6 +56,7 @@ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs"
55
56
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
56
57
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
57
58
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
59
+ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
58
60
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
59
61
  export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationships.mjs";
60
62
  export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
@@ -206,6 +208,7 @@ export * from "./InviteCustomerSimulationsResponseDataItemAttributes.mjs";
206
208
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.mjs";
207
209
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.mjs";
208
210
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.mjs";
211
+ export * from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs";
209
212
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.mjs";
210
213
  export * from "./InviteCustomerSimulationsResponseDataItemRelationships.mjs";
211
214
  export * from "./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.mjs";
@@ -4,6 +4,7 @@ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs";
4
4
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
5
5
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
6
6
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
7
+ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
7
8
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
8
9
  export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationships.mjs";
9
10
  export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
@@ -55,6 +56,7 @@ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs"
55
56
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.mjs";
56
57
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.mjs";
57
58
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.mjs";
59
+ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs";
58
60
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.mjs";
59
61
  export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationships.mjs";
60
62
  export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.mjs";
@@ -206,6 +208,7 @@ export * from "./InviteCustomerSimulationsResponseDataItemAttributes.mjs";
206
208
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.mjs";
207
209
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.mjs";
208
210
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.mjs";
211
+ export * from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs";
209
212
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.mjs";
210
213
  export * from "./InviteCustomerSimulationsResponseDataItemRelationships.mjs";
211
214
  export * from "./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.57";
1
+ export declare const SDK_VERSION = "1.6.59";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.6.57";
1
+ export const SDK_VERSION = "1.6.59";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalpay/sdk",
3
- "version": "1.6.57",
3
+ "version": "1.6.59",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -986,7 +986,7 @@ await client.customers.createInvitations({
986
986
  value: "ops@bistroroma.com"
987
987
  }],
988
988
  agents: [{
989
- permissions: ["payments.read", "payments.create", "external_accounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
989
+ permissions: ["payments.read", "payments.create", "externalAccounts.create", "wallets.balance", "wallets.update", "party.read", "party.update"],
990
990
  agentId: "agt_019cd1798d637a4da75dce386343931d",
991
991
  limits: {
992
992
  perTransaction: 100000