@naturalpay/sdk 1.6.58 → 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 (197) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  3. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -1
  4. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.ts +1 -1
  5. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  6. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js +50 -0
  7. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +1 -1
  8. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  9. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js +50 -0
  10. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +1 -1
  11. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.ts +47 -0
  12. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js +50 -0
  13. package/dist/cjs/api/resources/agents/types/index.d.ts +3 -0
  14. package/dist/cjs/api/resources/agents/types/index.js +3 -0
  15. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  16. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -1
  17. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
  18. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +1 -1
  19. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +1 -1
  20. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  21. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js +50 -0
  22. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.ts +1 -1
  23. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.ts +47 -0
  24. package/dist/cjs/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.js +50 -0
  25. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +1 -1
  26. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.ts +47 -0
  27. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.js +50 -0
  28. package/dist/cjs/api/resources/customers/types/index.d.ts +3 -0
  29. package/dist/cjs/api/resources/customers/types/index.js +3 -0
  30. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  31. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -1
  32. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -1
  33. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +47 -0
  34. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +50 -0
  35. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -1
  36. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +47 -0
  37. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +50 -0
  38. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
  39. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +1 -1
  40. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +1 -1
  41. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.ts +47 -0
  42. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js +50 -0
  43. package/dist/cjs/api/resources/simulations/types/index.d.ts +3 -0
  44. package/dist/cjs/api/resources/simulations/types/index.js +3 -0
  45. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  46. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +1 -1
  47. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.ts +2 -1
  48. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.js +2 -1
  49. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  50. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.js +84 -0
  51. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +2 -1
  52. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.js +2 -1
  53. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  54. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.js +84 -0
  55. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +2 -1
  56. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.js +2 -1
  57. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.ts +7 -0
  58. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.js +84 -0
  59. package/dist/cjs/serialization/resources/agents/types/index.d.ts +3 -0
  60. package/dist/cjs/serialization/resources/agents/types/index.js +3 -0
  61. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  62. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +1 -1
  63. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.ts +1 -1
  64. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.js +1 -1
  65. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +2 -1
  66. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.js +2 -1
  67. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  68. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.js +84 -0
  69. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.ts +2 -1
  70. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.js +2 -1
  71. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.ts +7 -0
  72. package/dist/cjs/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.js +84 -0
  73. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +2 -1
  74. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.js +2 -1
  75. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.ts +7 -0
  76. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.js +84 -0
  77. package/dist/cjs/serialization/resources/customers/types/index.d.ts +3 -0
  78. package/dist/cjs/serialization/resources/customers/types/index.js +3 -0
  79. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  80. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +1 -1
  81. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -1
  82. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.js +2 -1
  83. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +7 -0
  84. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +84 -0
  85. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -1
  86. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.js +2 -1
  87. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.ts +7 -0
  88. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js +84 -0
  89. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.ts +1 -1
  90. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.js +1 -1
  91. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +2 -1
  92. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.js +2 -1
  93. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.ts +7 -0
  94. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js +84 -0
  95. package/dist/cjs/serialization/resources/simulations/types/index.d.ts +3 -0
  96. package/dist/cjs/serialization/resources/simulations/types/index.js +3 -0
  97. package/dist/cjs/version.d.ts +1 -1
  98. package/dist/cjs/version.js +1 -1
  99. package/dist/esm/BaseClient.mjs +2 -2
  100. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  101. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -1
  102. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts +1 -1
  103. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  104. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs +47 -0
  105. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +1 -1
  106. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  107. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs +47 -0
  108. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +1 -1
  109. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.mts +47 -0
  110. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs +47 -0
  111. package/dist/esm/api/resources/agents/types/index.d.mts +3 -0
  112. package/dist/esm/api/resources/agents/types/index.mjs +3 -0
  113. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  114. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -1
  115. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
  116. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +1 -1
  117. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +1 -1
  118. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  119. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.mjs +47 -0
  120. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.mts +1 -1
  121. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.mts +47 -0
  122. package/dist/esm/api/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.mjs +47 -0
  123. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +1 -1
  124. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.mts +47 -0
  125. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.mjs +47 -0
  126. package/dist/esm/api/resources/customers/types/index.d.mts +3 -0
  127. package/dist/esm/api/resources/customers/types/index.mjs +3 -0
  128. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  129. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -1
  130. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -1
  131. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +47 -0
  132. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +47 -0
  133. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -1
  134. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +47 -0
  135. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +47 -0
  136. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
  137. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +1 -1
  138. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +1 -1
  139. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.mts +47 -0
  140. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs +47 -0
  141. package/dist/esm/api/resources/simulations/types/index.d.mts +3 -0
  142. package/dist/esm/api/resources/simulations/types/index.mjs +3 -0
  143. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  144. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +1 -1
  145. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.d.mts +2 -1
  146. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributes.mjs +2 -1
  147. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  148. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsResponseDataItemAttributesPermissionsItem.mjs +48 -0
  149. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +2 -1
  150. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.mjs +2 -1
  151. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  152. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributesPermissionsItem.mjs +48 -0
  153. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +2 -1
  154. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.mjs +2 -1
  155. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.d.mts +7 -0
  156. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributesPermissionsItem.mjs +48 -0
  157. package/dist/esm/serialization/resources/agents/types/index.d.mts +3 -0
  158. package/dist/esm/serialization/resources/agents/types/index.mjs +3 -0
  159. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  160. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +1 -1
  161. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.d.mts +1 -1
  162. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsZeroItem.mjs +1 -1
  163. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +2 -1
  164. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.mjs +2 -1
  165. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  166. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributesPermissionsItem.mjs +48 -0
  167. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.d.mts +2 -1
  168. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItem.mjs +2 -1
  169. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.d.mts +7 -0
  170. package/dist/esm/serialization/resources/customers/types/ListInvitationsCustomersResponseDataItemAttributesAgentInvitationsItemPermissionsItem.mjs +48 -0
  171. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +2 -1
  172. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.mjs +2 -1
  173. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.d.mts +7 -0
  174. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributesPermissionsItem.mjs +48 -0
  175. package/dist/esm/serialization/resources/customers/types/index.d.mts +3 -0
  176. package/dist/esm/serialization/resources/customers/types/index.mjs +3 -0
  177. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  178. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +1 -1
  179. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -1
  180. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs +2 -1
  181. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +7 -0
  182. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +48 -0
  183. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -1
  184. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs +2 -1
  185. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.d.mts +7 -0
  186. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.mjs +48 -0
  187. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.d.mts +1 -1
  188. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsZeroItem.mjs +1 -1
  189. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +2 -1
  190. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.mjs +2 -1
  191. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.d.mts +7 -0
  192. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.mjs +48 -0
  193. package/dist/esm/serialization/resources/simulations/types/index.d.mts +3 -0
  194. package/dist/esm/serialization/resources/simulations/types/index.mjs +3 -0
  195. package/dist/esm/version.d.mts +1 -1
  196. package/dist/esm/version.mjs +1 -1
  197. package/package.json +1 -1
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem = core.serialization.enum_([
40
+ "disputes.read",
41
+ "disputes.create",
42
+ "payments.read",
43
+ "payments.create",
44
+ "external_parties.read",
45
+ "external_parties.create",
46
+ "direct.read",
47
+ "direct.create",
48
+ "external_accounts.create",
49
+ "wallets.read",
50
+ "wallets.balance",
51
+ "wallets.create",
52
+ "wallets.update",
53
+ "wallets.fund",
54
+ "wallets.deposit",
55
+ "wallets.transfer",
56
+ "wallets.withdraw",
57
+ "party.read",
58
+ "party.update",
59
+ "payment_intents.create",
60
+ "payment_intents.read",
61
+ "card_payments.read",
62
+ "refunds.read",
63
+ "refunds.create",
64
+ "voice_sessions.read",
65
+ "voice_sessions.create",
66
+ "chargebacks.read",
67
+ "chargebacks.respond",
68
+ "mandates.read",
69
+ "enrollment.read",
70
+ "cards.read",
71
+ "saved_cards.use",
72
+ "externalParties.create",
73
+ "externalParties.read",
74
+ "externalAccounts.create",
75
+ "paymentIntents.create",
76
+ "paymentIntents.read",
77
+ "cardPayments.read",
78
+ "voiceSessions.read",
79
+ "voiceSessions.create",
80
+ "savedCards.use",
81
+ "paymentRequests.read",
82
+ "paymentRequests.create",
83
+ "externalAccounts.read",
84
+ ]);
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const 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" | "externalParties.read" | "externalParties.create" | "externalAccounts.create" | "paymentIntents.create" | "paymentIntents.read" | "cardPayments.read" | "voiceSessions.read" | "voiceSessions.create" | "savedCards.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
  }
@@ -68,8 +68,8 @@ exports.InviteCustomerSimulationsRequestPermissionsZeroItem = core.serialization
68
68
  "enrollment.read",
69
69
  "cards.read",
70
70
  "saved_cards.use",
71
- "externalParties.read",
72
71
  "externalParties.create",
72
+ "externalParties.read",
73
73
  "externalAccounts.create",
74
74
  "paymentIntents.create",
75
75
  "paymentIntents.read",
@@ -4,6 +4,7 @@ import type * as serializers from "../../../index.js";
4
4
  import { InviteCustomerSimulationsResponseDataItemAttributesCancelReason } from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.js";
5
5
  import { InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus } from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.js";
6
6
  import { InviteCustomerSimulationsResponseDataItemAttributesLimits } from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.js";
7
+ import { InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem } from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js";
7
8
  import { InviteCustomerSimulationsResponseDataItemAttributesStatus } from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.js";
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;
@@ -39,6 +39,7 @@ const core = __importStar(require("../../../../core/index.js"));
39
39
  const InviteCustomerSimulationsResponseDataItemAttributesCancelReason_js_1 = require("./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.js");
40
40
  const InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus_js_1 = require("./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.js");
41
41
  const InviteCustomerSimulationsResponseDataItemAttributesLimits_js_1 = require("./InviteCustomerSimulationsResponseDataItemAttributesLimits.js");
42
+ const InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem_js_1 = require("./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js");
42
43
  const InviteCustomerSimulationsResponseDataItemAttributesStatus_js_1 = require("./InviteCustomerSimulationsResponseDataItemAttributesStatus.js");
43
44
  exports.InviteCustomerSimulationsResponseDataItemAttributes = core.serialization.object({
44
45
  developerName: core.serialization.string(),
@@ -46,7 +47,7 @@ exports.InviteCustomerSimulationsResponseDataItemAttributes = core.serialization
46
47
  phone: core.serialization.string().nullable(),
47
48
  url: core.serialization.string(),
48
49
  agentName: core.serialization.string(),
49
- permissions: core.serialization.list(core.serialization.string()),
50
+ permissions: core.serialization.list(InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem_js_1.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem),
50
51
  limits: InviteCustomerSimulationsResponseDataItemAttributesLimits_js_1.InviteCustomerSimulationsResponseDataItemAttributesLimits.nullable(),
51
52
  status: InviteCustomerSimulationsResponseDataItemAttributesStatus_js_1.InviteCustomerSimulationsResponseDataItemAttributesStatus,
52
53
  effectiveStatus: InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus_js_1.InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus,
@@ -0,0 +1,7 @@
1
+ import type * as Natural from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const 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,84 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem = core.serialization.enum_([
40
+ "disputes.read",
41
+ "disputes.create",
42
+ "payments.read",
43
+ "payments.create",
44
+ "external_parties.read",
45
+ "external_parties.create",
46
+ "direct.read",
47
+ "direct.create",
48
+ "external_accounts.create",
49
+ "wallets.read",
50
+ "wallets.balance",
51
+ "wallets.create",
52
+ "wallets.update",
53
+ "wallets.fund",
54
+ "wallets.deposit",
55
+ "wallets.transfer",
56
+ "wallets.withdraw",
57
+ "party.read",
58
+ "party.update",
59
+ "payment_intents.create",
60
+ "payment_intents.read",
61
+ "card_payments.read",
62
+ "refunds.read",
63
+ "refunds.create",
64
+ "voice_sessions.read",
65
+ "voice_sessions.create",
66
+ "chargebacks.read",
67
+ "chargebacks.respond",
68
+ "mandates.read",
69
+ "enrollment.read",
70
+ "cards.read",
71
+ "saved_cards.use",
72
+ "externalParties.create",
73
+ "externalParties.read",
74
+ "externalAccounts.create",
75
+ "paymentIntents.create",
76
+ "paymentIntents.read",
77
+ "cardPayments.read",
78
+ "voiceSessions.read",
79
+ "voiceSessions.create",
80
+ "savedCards.use",
81
+ "paymentRequests.read",
82
+ "paymentRequests.create",
83
+ "externalAccounts.read",
84
+ ]);
@@ -4,6 +4,7 @@ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributes.js";
4
4
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.js";
5
5
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js";
6
6
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.js";
7
+ export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js";
7
8
  export * from "./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.js";
8
9
  export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationships.js";
9
10
  export * from "./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.js";
@@ -55,6 +56,7 @@ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributes.js";
55
56
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.js";
56
57
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js";
57
58
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.js";
59
+ export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js";
58
60
  export * from "./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.js";
59
61
  export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationships.js";
60
62
  export * from "./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.js";
@@ -206,6 +208,7 @@ export * from "./InviteCustomerSimulationsResponseDataItemAttributes.js";
206
208
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.js";
207
209
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.js";
208
210
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesLimits.js";
211
+ export * from "./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js";
209
212
  export * from "./InviteCustomerSimulationsResponseDataItemAttributesStatus.js";
210
213
  export * from "./InviteCustomerSimulationsResponseDataItemRelationships.js";
211
214
  export * from "./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.js";
@@ -20,6 +20,7 @@ __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttribute
20
20
  __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesCancelReason.js"), exports);
21
21
  __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js"), exports);
22
22
  __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesLimits.js"), exports);
23
+ __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js"), exports);
23
24
  __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataAttributesStatus.js"), exports);
24
25
  __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataRelationships.js"), exports);
25
26
  __exportStar(require("./AcceptCustomerInvitationSimulationsResponseDataRelationshipsAgent.js"), exports);
@@ -71,6 +72,7 @@ __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttribut
71
72
  __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesCancelReason.js"), exports);
72
73
  __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesEffectiveStatus.js"), exports);
73
74
  __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesLimits.js"), exports);
75
+ __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesPermissionsItem.js"), exports);
74
76
  __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataAttributesStatus.js"), exports);
75
77
  __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataRelationships.js"), exports);
76
78
  __exportStar(require("./DeclineCustomerInvitationSimulationsResponseDataRelationshipsAgent.js"), exports);
@@ -222,6 +224,7 @@ __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributes.js")
222
224
  __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesCancelReason.js"), exports);
223
225
  __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesEffectiveStatus.js"), exports);
224
226
  __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesLimits.js"), exports);
227
+ __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesPermissionsItem.js"), exports);
225
228
  __exportStar(require("./InviteCustomerSimulationsResponseDataItemAttributesStatus.js"), exports);
226
229
  __exportStar(require("./InviteCustomerSimulationsResponseDataItemRelationships.js"), exports);
227
230
  __exportStar(require("./InviteCustomerSimulationsResponseDataItemRelationshipsAgent.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.6.58";
1
+ export declare const SDK_VERSION = "1.6.59";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.6.58";
4
+ exports.SDK_VERSION = "1.6.59";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@naturalpay/sdk",
9
- "X-Fern-SDK-Version": "1.6.58",
10
- "User-Agent": "@naturalpay/sdk/1.6.58",
9
+ "X-Fern-SDK-Version": "1.6.59",
10
+ "User-Agent": "@naturalpay/sdk/1.6.59",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
@@ -30,8 +30,8 @@ export declare const CreateCustomerAgentsRequestPermissionsItem: {
30
30
  readonly EnrollmentRead: "enrollment.read";
31
31
  readonly CardsRead: "cards.read";
32
32
  readonly SavedCardsUse: "saved_cards.use";
33
- readonly ModernExternalPartiesRead: "externalParties.read";
34
33
  readonly ModernExternalPartiesCreate: "externalParties.create";
34
+ readonly ModernExternalPartiesRead: "externalParties.read";
35
35
  readonly ModernExternalAccountsCreate: "externalAccounts.create";
36
36
  readonly ModernPaymentIntentsCreate: "paymentIntents.create";
37
37
  readonly ModernPaymentIntentsRead: "paymentIntents.read";
@@ -31,8 +31,8 @@ export const CreateCustomerAgentsRequestPermissionsItem = {
31
31
  EnrollmentRead: "enrollment.read",
32
32
  CardsRead: "cards.read",
33
33
  SavedCardsUse: "saved_cards.use",
34
- ModernExternalPartiesRead: "externalParties.read",
35
34
  ModernExternalPartiesCreate: "externalParties.create",
35
+ ModernExternalPartiesRead: "externalParties.read",
36
36
  ModernExternalAccountsCreate: "externalAccounts.create",
37
37
  ModernPaymentIntentsCreate: "paymentIntents.create",
38
38
  ModernPaymentIntentsRead: "paymentIntents.read",
@@ -10,7 +10,7 @@ export interface CreateCustomerAgentsResponseDataItemAttributes {
10
10
  /** Current invitation status */
11
11
  status: Natural.CreateCustomerAgentsResponseDataItemAttributesStatus;
12
12
  /** Permissions requested for this agent invitation */
13
- permissions: string[];
13
+ permissions: Natural.CreateCustomerAgentsResponseDataItemAttributesPermissionsItem[];
14
14
  /** Requested per-agent customer limits */
15
15
  limits: Natural.CreateCustomerAgentsResponseDataItemAttributesLimits | null;
16
16
  /** Metadata visible to anyone who can read the resource. */
@@ -0,0 +1,47 @@
1
+ export declare const CreateCustomerAgentsResponseDataItemAttributesPermissionsItem: {
2
+ readonly DisputesRead: "disputes.read";
3
+ readonly DisputesCreate: "disputes.create";
4
+ readonly PaymentsRead: "payments.read";
5
+ readonly PaymentsCreate: "payments.create";
6
+ readonly ExternalPartiesRead: "external_parties.read";
7
+ readonly ExternalPartiesCreate: "external_parties.create";
8
+ readonly DirectRead: "direct.read";
9
+ readonly DirectCreate: "direct.create";
10
+ readonly ExternalAccountsCreate: "external_accounts.create";
11
+ readonly WalletsRead: "wallets.read";
12
+ readonly WalletsBalance: "wallets.balance";
13
+ readonly WalletsCreate: "wallets.create";
14
+ readonly WalletsUpdate: "wallets.update";
15
+ readonly WalletsFund: "wallets.fund";
16
+ readonly WalletsDeposit: "wallets.deposit";
17
+ readonly WalletsTransfer: "wallets.transfer";
18
+ readonly WalletsWithdraw: "wallets.withdraw";
19
+ readonly PartyRead: "party.read";
20
+ readonly PartyUpdate: "party.update";
21
+ readonly PaymentIntentsCreate: "payment_intents.create";
22
+ readonly PaymentIntentsRead: "payment_intents.read";
23
+ readonly CardPaymentsRead: "card_payments.read";
24
+ readonly RefundsRead: "refunds.read";
25
+ readonly RefundsCreate: "refunds.create";
26
+ readonly VoiceSessionsRead: "voice_sessions.read";
27
+ readonly VoiceSessionsCreate: "voice_sessions.create";
28
+ readonly ChargebacksRead: "chargebacks.read";
29
+ readonly ChargebacksRespond: "chargebacks.respond";
30
+ readonly MandatesRead: "mandates.read";
31
+ readonly EnrollmentRead: "enrollment.read";
32
+ readonly CardsRead: "cards.read";
33
+ readonly SavedCardsUse: "saved_cards.use";
34
+ readonly ModernExternalPartiesCreate: "externalParties.create";
35
+ readonly ModernExternalPartiesRead: "externalParties.read";
36
+ readonly ModernExternalAccountsCreate: "externalAccounts.create";
37
+ readonly ModernPaymentIntentsCreate: "paymentIntents.create";
38
+ readonly ModernPaymentIntentsRead: "paymentIntents.read";
39
+ readonly ModernCardPaymentsRead: "cardPayments.read";
40
+ readonly ModernVoiceSessionsRead: "voiceSessions.read";
41
+ readonly ModernVoiceSessionsCreate: "voiceSessions.create";
42
+ readonly ModernSavedCardsUse: "savedCards.use";
43
+ readonly PaymentRequestsRead: "paymentRequests.read";
44
+ readonly PaymentRequestsCreate: "paymentRequests.create";
45
+ readonly ExternalAccountsRead: "externalAccounts.read";
46
+ };
47
+ export type CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = (typeof CreateCustomerAgentsResponseDataItemAttributesPermissionsItem)[keyof typeof CreateCustomerAgentsResponseDataItemAttributesPermissionsItem];
@@ -0,0 +1,47 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const CreateCustomerAgentsResponseDataItemAttributesPermissionsItem = {
3
+ DisputesRead: "disputes.read",
4
+ DisputesCreate: "disputes.create",
5
+ PaymentsRead: "payments.read",
6
+ PaymentsCreate: "payments.create",
7
+ ExternalPartiesRead: "external_parties.read",
8
+ ExternalPartiesCreate: "external_parties.create",
9
+ DirectRead: "direct.read",
10
+ DirectCreate: "direct.create",
11
+ ExternalAccountsCreate: "external_accounts.create",
12
+ WalletsRead: "wallets.read",
13
+ WalletsBalance: "wallets.balance",
14
+ WalletsCreate: "wallets.create",
15
+ WalletsUpdate: "wallets.update",
16
+ WalletsFund: "wallets.fund",
17
+ WalletsDeposit: "wallets.deposit",
18
+ WalletsTransfer: "wallets.transfer",
19
+ WalletsWithdraw: "wallets.withdraw",
20
+ PartyRead: "party.read",
21
+ PartyUpdate: "party.update",
22
+ PaymentIntentsCreate: "payment_intents.create",
23
+ PaymentIntentsRead: "payment_intents.read",
24
+ CardPaymentsRead: "card_payments.read",
25
+ RefundsRead: "refunds.read",
26
+ RefundsCreate: "refunds.create",
27
+ VoiceSessionsRead: "voice_sessions.read",
28
+ VoiceSessionsCreate: "voice_sessions.create",
29
+ ChargebacksRead: "chargebacks.read",
30
+ ChargebacksRespond: "chargebacks.respond",
31
+ MandatesRead: "mandates.read",
32
+ EnrollmentRead: "enrollment.read",
33
+ CardsRead: "cards.read",
34
+ SavedCardsUse: "saved_cards.use",
35
+ ModernExternalPartiesCreate: "externalParties.create",
36
+ ModernExternalPartiesRead: "externalParties.read",
37
+ ModernExternalAccountsCreate: "externalAccounts.create",
38
+ ModernPaymentIntentsCreate: "paymentIntents.create",
39
+ ModernPaymentIntentsRead: "paymentIntents.read",
40
+ ModernCardPaymentsRead: "cardPayments.read",
41
+ ModernVoiceSessionsRead: "voiceSessions.read",
42
+ ModernVoiceSessionsCreate: "voiceSessions.create",
43
+ ModernSavedCardsUse: "savedCards.use",
44
+ PaymentRequestsRead: "paymentRequests.read",
45
+ PaymentRequestsCreate: "paymentRequests.create",
46
+ ExternalAccountsRead: "externalAccounts.read",
47
+ };
@@ -14,7 +14,7 @@ export interface ListInvitationsAgentsResponseDataItemAttributes {
14
14
  /** Agent name. */
15
15
  agentName: string;
16
16
  /** Permissions granted on accept. */
17
- permissions: string[];
17
+ permissions: Natural.ListInvitationsAgentsResponseDataItemAttributesPermissionsItem[];
18
18
  /** Transaction limits. */
19
19
  limits: Natural.ListInvitationsAgentsResponseDataItemAttributesLimits | null;
20
20
  /** Invitation status. */
@@ -0,0 +1,47 @@
1
+ export declare const ListInvitationsAgentsResponseDataItemAttributesPermissionsItem: {
2
+ readonly DisputesRead: "disputes.read";
3
+ readonly DisputesCreate: "disputes.create";
4
+ readonly PaymentsRead: "payments.read";
5
+ readonly PaymentsCreate: "payments.create";
6
+ readonly ExternalPartiesRead: "external_parties.read";
7
+ readonly ExternalPartiesCreate: "external_parties.create";
8
+ readonly DirectRead: "direct.read";
9
+ readonly DirectCreate: "direct.create";
10
+ readonly ExternalAccountsCreate: "external_accounts.create";
11
+ readonly WalletsRead: "wallets.read";
12
+ readonly WalletsBalance: "wallets.balance";
13
+ readonly WalletsCreate: "wallets.create";
14
+ readonly WalletsUpdate: "wallets.update";
15
+ readonly WalletsFund: "wallets.fund";
16
+ readonly WalletsDeposit: "wallets.deposit";
17
+ readonly WalletsTransfer: "wallets.transfer";
18
+ readonly WalletsWithdraw: "wallets.withdraw";
19
+ readonly PartyRead: "party.read";
20
+ readonly PartyUpdate: "party.update";
21
+ readonly PaymentIntentsCreate: "payment_intents.create";
22
+ readonly PaymentIntentsRead: "payment_intents.read";
23
+ readonly CardPaymentsRead: "card_payments.read";
24
+ readonly RefundsRead: "refunds.read";
25
+ readonly RefundsCreate: "refunds.create";
26
+ readonly VoiceSessionsRead: "voice_sessions.read";
27
+ readonly VoiceSessionsCreate: "voice_sessions.create";
28
+ readonly ChargebacksRead: "chargebacks.read";
29
+ readonly ChargebacksRespond: "chargebacks.respond";
30
+ readonly MandatesRead: "mandates.read";
31
+ readonly EnrollmentRead: "enrollment.read";
32
+ readonly CardsRead: "cards.read";
33
+ readonly SavedCardsUse: "saved_cards.use";
34
+ readonly ModernExternalPartiesCreate: "externalParties.create";
35
+ readonly ModernExternalPartiesRead: "externalParties.read";
36
+ readonly ModernExternalAccountsCreate: "externalAccounts.create";
37
+ readonly ModernPaymentIntentsCreate: "paymentIntents.create";
38
+ readonly ModernPaymentIntentsRead: "paymentIntents.read";
39
+ readonly ModernCardPaymentsRead: "cardPayments.read";
40
+ readonly ModernVoiceSessionsRead: "voiceSessions.read";
41
+ readonly ModernVoiceSessionsCreate: "voiceSessions.create";
42
+ readonly ModernSavedCardsUse: "savedCards.use";
43
+ readonly PaymentRequestsRead: "paymentRequests.read";
44
+ readonly PaymentRequestsCreate: "paymentRequests.create";
45
+ readonly ExternalAccountsRead: "externalAccounts.read";
46
+ };
47
+ export type ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = (typeof ListInvitationsAgentsResponseDataItemAttributesPermissionsItem)[keyof typeof ListInvitationsAgentsResponseDataItemAttributesPermissionsItem];
@@ -0,0 +1,47 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const ListInvitationsAgentsResponseDataItemAttributesPermissionsItem = {
3
+ DisputesRead: "disputes.read",
4
+ DisputesCreate: "disputes.create",
5
+ PaymentsRead: "payments.read",
6
+ PaymentsCreate: "payments.create",
7
+ ExternalPartiesRead: "external_parties.read",
8
+ ExternalPartiesCreate: "external_parties.create",
9
+ DirectRead: "direct.read",
10
+ DirectCreate: "direct.create",
11
+ ExternalAccountsCreate: "external_accounts.create",
12
+ WalletsRead: "wallets.read",
13
+ WalletsBalance: "wallets.balance",
14
+ WalletsCreate: "wallets.create",
15
+ WalletsUpdate: "wallets.update",
16
+ WalletsFund: "wallets.fund",
17
+ WalletsDeposit: "wallets.deposit",
18
+ WalletsTransfer: "wallets.transfer",
19
+ WalletsWithdraw: "wallets.withdraw",
20
+ PartyRead: "party.read",
21
+ PartyUpdate: "party.update",
22
+ PaymentIntentsCreate: "payment_intents.create",
23
+ PaymentIntentsRead: "payment_intents.read",
24
+ CardPaymentsRead: "card_payments.read",
25
+ RefundsRead: "refunds.read",
26
+ RefundsCreate: "refunds.create",
27
+ VoiceSessionsRead: "voice_sessions.read",
28
+ VoiceSessionsCreate: "voice_sessions.create",
29
+ ChargebacksRead: "chargebacks.read",
30
+ ChargebacksRespond: "chargebacks.respond",
31
+ MandatesRead: "mandates.read",
32
+ EnrollmentRead: "enrollment.read",
33
+ CardsRead: "cards.read",
34
+ SavedCardsUse: "saved_cards.use",
35
+ ModernExternalPartiesCreate: "externalParties.create",
36
+ ModernExternalPartiesRead: "externalParties.read",
37
+ ModernExternalAccountsCreate: "externalAccounts.create",
38
+ ModernPaymentIntentsCreate: "paymentIntents.create",
39
+ ModernPaymentIntentsRead: "paymentIntents.read",
40
+ ModernCardPaymentsRead: "cardPayments.read",
41
+ ModernVoiceSessionsRead: "voiceSessions.read",
42
+ ModernVoiceSessionsCreate: "voiceSessions.create",
43
+ ModernSavedCardsUse: "savedCards.use",
44
+ PaymentRequestsRead: "paymentRequests.read",
45
+ PaymentRequestsCreate: "paymentRequests.create",
46
+ ExternalAccountsRead: "externalAccounts.read",
47
+ };
@@ -14,7 +14,7 @@ export interface RevokeInvitationAgentsResponseDataAttributes {
14
14
  /** Agent name. */
15
15
  agentName: string;
16
16
  /** Permissions granted on accept. */
17
- permissions: string[];
17
+ permissions: Natural.RevokeInvitationAgentsResponseDataAttributesPermissionsItem[];
18
18
  /** Transaction limits. */
19
19
  limits: Natural.RevokeInvitationAgentsResponseDataAttributesLimits | null;
20
20
  /** Invitation status. */
@@ -0,0 +1,47 @@
1
+ export declare const RevokeInvitationAgentsResponseDataAttributesPermissionsItem: {
2
+ readonly DisputesRead: "disputes.read";
3
+ readonly DisputesCreate: "disputes.create";
4
+ readonly PaymentsRead: "payments.read";
5
+ readonly PaymentsCreate: "payments.create";
6
+ readonly ExternalPartiesRead: "external_parties.read";
7
+ readonly ExternalPartiesCreate: "external_parties.create";
8
+ readonly DirectRead: "direct.read";
9
+ readonly DirectCreate: "direct.create";
10
+ readonly ExternalAccountsCreate: "external_accounts.create";
11
+ readonly WalletsRead: "wallets.read";
12
+ readonly WalletsBalance: "wallets.balance";
13
+ readonly WalletsCreate: "wallets.create";
14
+ readonly WalletsUpdate: "wallets.update";
15
+ readonly WalletsFund: "wallets.fund";
16
+ readonly WalletsDeposit: "wallets.deposit";
17
+ readonly WalletsTransfer: "wallets.transfer";
18
+ readonly WalletsWithdraw: "wallets.withdraw";
19
+ readonly PartyRead: "party.read";
20
+ readonly PartyUpdate: "party.update";
21
+ readonly PaymentIntentsCreate: "payment_intents.create";
22
+ readonly PaymentIntentsRead: "payment_intents.read";
23
+ readonly CardPaymentsRead: "card_payments.read";
24
+ readonly RefundsRead: "refunds.read";
25
+ readonly RefundsCreate: "refunds.create";
26
+ readonly VoiceSessionsRead: "voice_sessions.read";
27
+ readonly VoiceSessionsCreate: "voice_sessions.create";
28
+ readonly ChargebacksRead: "chargebacks.read";
29
+ readonly ChargebacksRespond: "chargebacks.respond";
30
+ readonly MandatesRead: "mandates.read";
31
+ readonly EnrollmentRead: "enrollment.read";
32
+ readonly CardsRead: "cards.read";
33
+ readonly SavedCardsUse: "saved_cards.use";
34
+ readonly ModernExternalPartiesCreate: "externalParties.create";
35
+ readonly ModernExternalPartiesRead: "externalParties.read";
36
+ readonly ModernExternalAccountsCreate: "externalAccounts.create";
37
+ readonly ModernPaymentIntentsCreate: "paymentIntents.create";
38
+ readonly ModernPaymentIntentsRead: "paymentIntents.read";
39
+ readonly ModernCardPaymentsRead: "cardPayments.read";
40
+ readonly ModernVoiceSessionsRead: "voiceSessions.read";
41
+ readonly ModernVoiceSessionsCreate: "voiceSessions.create";
42
+ readonly ModernSavedCardsUse: "savedCards.use";
43
+ readonly PaymentRequestsRead: "paymentRequests.read";
44
+ readonly PaymentRequestsCreate: "paymentRequests.create";
45
+ readonly ExternalAccountsRead: "externalAccounts.read";
46
+ };
47
+ export type RevokeInvitationAgentsResponseDataAttributesPermissionsItem = (typeof RevokeInvitationAgentsResponseDataAttributesPermissionsItem)[keyof typeof RevokeInvitationAgentsResponseDataAttributesPermissionsItem];