@naturalpay/sdk 1.6.13 → 1.6.14

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 (360) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +6 -0
  3. package/dist/cjs/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +6 -0
  4. package/dist/cjs/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +2 -0
  5. package/dist/cjs/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +2 -0
  6. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +6 -0
  7. package/dist/cjs/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +6 -0
  8. package/dist/cjs/api/resources/customers/client/Client.d.ts +1 -0
  9. package/dist/cjs/api/resources/customers/client/Client.js +1 -0
  10. package/dist/cjs/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +3 -0
  11. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +6 -0
  12. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +6 -0
  13. package/dist/cjs/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +2 -0
  14. package/dist/cjs/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +2 -0
  15. package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +16 -0
  16. package/dist/cjs/api/resources/events/types/GetEventsResponseDataAttributesEventType.js +16 -0
  17. package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.d.ts +16 -0
  18. package/dist/cjs/api/resources/events/types/ListEventsRequestEventType.js +16 -0
  19. package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +16 -0
  20. package/dist/cjs/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +16 -0
  21. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +6 -0
  22. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +6 -0
  23. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
  24. package/dist/cjs/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
  25. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
  26. package/dist/cjs/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
  27. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
  28. package/dist/cjs/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +6 -0
  29. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +6 -0
  30. package/dist/cjs/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
  31. package/dist/cjs/api/resources/parties/client/Client.d.ts +88 -0
  32. package/dist/cjs/api/resources/parties/client/Client.js +315 -0
  33. package/dist/cjs/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.ts +16 -0
  34. package/dist/cjs/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.js +3 -0
  35. package/dist/cjs/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.d.ts +9 -0
  36. package/dist/cjs/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.js +3 -0
  37. package/dist/cjs/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.ts +16 -0
  38. package/dist/cjs/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.js +3 -0
  39. package/dist/cjs/api/resources/parties/client/requests/index.d.ts +3 -0
  40. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.ts +7 -0
  41. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.js +10 -0
  42. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.ts +4 -0
  43. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.js +3 -0
  44. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.ts +6 -0
  45. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.js +3 -0
  46. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.ts +8 -0
  47. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.js +3 -0
  48. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.ts +4 -0
  49. package/dist/cjs/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.js +7 -0
  50. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponse.d.ts +4 -0
  51. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponse.js +3 -0
  52. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.ts +6 -0
  53. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.js +3 -0
  54. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.ts +5 -0
  55. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.js +3 -0
  56. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.ts +4 -0
  57. package/dist/cjs/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.js +7 -0
  58. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.ts +4 -0
  59. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.js +3 -0
  60. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.ts +6 -0
  61. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.js +3 -0
  62. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.ts +5 -0
  63. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.js +3 -0
  64. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.ts +4 -0
  65. package/dist/cjs/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.js +7 -0
  66. package/dist/cjs/api/resources/parties/types/index.d.ts +13 -0
  67. package/dist/cjs/api/resources/parties/types/index.js +13 -0
  68. package/dist/cjs/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +2 -0
  69. package/dist/cjs/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -0
  70. package/dist/cjs/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +2 -0
  71. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +6 -0
  72. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +6 -0
  73. package/dist/cjs/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +2 -0
  74. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +18 -0
  75. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +18 -0
  76. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  77. package/dist/cjs/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  78. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  79. package/dist/cjs/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  80. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  81. package/dist/cjs/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  82. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +18 -0
  83. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +18 -0
  84. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +18 -0
  85. package/dist/cjs/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  86. package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +18 -0
  87. package/dist/cjs/api/resources/webhooks/types/WebhookEnabledEventsItem.js +18 -0
  88. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.ts +1 -1
  89. package/dist/cjs/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.js +6 -0
  90. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.ts +1 -0
  91. package/dist/cjs/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.js +1 -0
  92. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.ts +1 -0
  93. package/dist/cjs/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.js +1 -0
  94. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.ts +1 -1
  95. package/dist/cjs/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.js +6 -0
  96. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.ts +1 -0
  97. package/dist/cjs/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.js +1 -0
  98. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.ts +1 -1
  99. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.js +6 -0
  100. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.ts +1 -0
  101. package/dist/cjs/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.js +1 -0
  102. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.ts +1 -0
  103. package/dist/cjs/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.js +1 -0
  104. package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.ts +1 -1
  105. package/dist/cjs/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.js +16 -0
  106. package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.d.ts +1 -1
  107. package/dist/cjs/serialization/resources/events/types/ListEventsRequestEventType.js +16 -0
  108. package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.ts +1 -1
  109. package/dist/cjs/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.js +16 -0
  110. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.ts +1 -1
  111. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.js +6 -0
  112. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  113. package/dist/cjs/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
  114. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  115. package/dist/cjs/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
  116. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  117. package/dist/cjs/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.js +6 -0
  118. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.ts +1 -1
  119. package/dist/cjs/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.js +6 -0
  120. package/dist/cjs/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.ts +11 -0
  121. package/dist/cjs/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.js +43 -0
  122. package/dist/cjs/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.ts +10 -0
  123. package/dist/cjs/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.js +42 -0
  124. package/dist/cjs/serialization/resources/parties/client/requests/index.d.ts +2 -0
  125. package/dist/cjs/serialization/resources/parties/client/requests/index.js +5 -1
  126. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.ts +7 -0
  127. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.js +39 -0
  128. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.ts +10 -0
  129. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.js +42 -0
  130. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.ts +13 -0
  131. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.js +45 -0
  132. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.ts +11 -0
  133. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.js +43 -0
  134. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.ts +7 -0
  135. package/dist/cjs/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.js +39 -0
  136. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.d.ts +10 -0
  137. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.js +42 -0
  138. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.ts +13 -0
  139. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.js +45 -0
  140. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.ts +10 -0
  141. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.js +42 -0
  142. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.ts +7 -0
  143. package/dist/cjs/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.js +39 -0
  144. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.ts +10 -0
  145. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.js +42 -0
  146. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.ts +13 -0
  147. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.js +45 -0
  148. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.ts +10 -0
  149. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.js +42 -0
  150. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.ts +7 -0
  151. package/dist/cjs/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.js +39 -0
  152. package/dist/cjs/serialization/resources/parties/types/index.d.ts +13 -0
  153. package/dist/cjs/serialization/resources/parties/types/index.js +13 -0
  154. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.ts +1 -0
  155. package/dist/cjs/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.js +1 -0
  156. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -0
  157. package/dist/cjs/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.js +1 -0
  158. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.ts +1 -0
  159. package/dist/cjs/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.js +1 -0
  160. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.ts +1 -1
  161. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.js +6 -0
  162. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.ts +1 -0
  163. package/dist/cjs/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.js +1 -0
  164. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  165. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.js +18 -0
  166. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  167. package/dist/cjs/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  168. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  169. package/dist/cjs/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  170. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  171. package/dist/cjs/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  172. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.ts +1 -1
  173. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.js +18 -0
  174. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.ts +1 -1
  175. package/dist/cjs/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.js +18 -0
  176. package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.ts +1 -1
  177. package/dist/cjs/serialization/resources/webhooks/types/WebhookEnabledEventsItem.js +18 -0
  178. package/dist/cjs/version.d.ts +1 -1
  179. package/dist/cjs/version.js +1 -1
  180. package/dist/esm/BaseClient.mjs +2 -2
  181. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +6 -0
  182. package/dist/esm/api/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +6 -0
  183. package/dist/esm/api/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +2 -0
  184. package/dist/esm/api/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +2 -0
  185. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +6 -0
  186. package/dist/esm/api/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +6 -0
  187. package/dist/esm/api/resources/customers/client/Client.d.mts +1 -0
  188. package/dist/esm/api/resources/customers/client/Client.mjs +1 -0
  189. package/dist/esm/api/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +3 -0
  190. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +6 -0
  191. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +6 -0
  192. package/dist/esm/api/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +2 -0
  193. package/dist/esm/api/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +2 -0
  194. package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +16 -0
  195. package/dist/esm/api/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +16 -0
  196. package/dist/esm/api/resources/events/types/ListEventsRequestEventType.d.mts +16 -0
  197. package/dist/esm/api/resources/events/types/ListEventsRequestEventType.mjs +16 -0
  198. package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +16 -0
  199. package/dist/esm/api/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +16 -0
  200. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +6 -0
  201. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +6 -0
  202. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
  203. package/dist/esm/api/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  204. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
  205. package/dist/esm/api/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  206. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
  207. package/dist/esm/api/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  208. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +6 -0
  209. package/dist/esm/api/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  210. package/dist/esm/api/resources/parties/client/Client.d.mts +88 -0
  211. package/dist/esm/api/resources/parties/client/Client.mjs +315 -0
  212. package/dist/esm/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.mts +16 -0
  213. package/dist/esm/api/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.mjs +2 -0
  214. package/dist/esm/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.d.mts +9 -0
  215. package/dist/esm/api/resources/parties/client/requests/GetBrandingForPartyPartiesRequest.mjs +2 -0
  216. package/dist/esm/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.mts +16 -0
  217. package/dist/esm/api/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.mjs +2 -0
  218. package/dist/esm/api/resources/parties/client/requests/index.d.mts +3 -0
  219. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.mts +7 -0
  220. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.mjs +7 -0
  221. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.mts +4 -0
  222. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.mjs +2 -0
  223. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.mts +6 -0
  224. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.mjs +2 -0
  225. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.mts +8 -0
  226. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs +2 -0
  227. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.mts +4 -0
  228. package/dist/esm/api/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.mjs +4 -0
  229. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponse.d.mts +4 -0
  230. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponse.mjs +2 -0
  231. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.mts +6 -0
  232. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseData.mjs +2 -0
  233. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.mts +5 -0
  234. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.mjs +2 -0
  235. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.mts +4 -0
  236. package/dist/esm/api/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.mjs +4 -0
  237. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.mts +4 -0
  238. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponse.mjs +2 -0
  239. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.mts +6 -0
  240. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.mjs +2 -0
  241. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.mts +5 -0
  242. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.mjs +2 -0
  243. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.mts +4 -0
  244. package/dist/esm/api/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.mjs +4 -0
  245. package/dist/esm/api/resources/parties/types/index.d.mts +13 -0
  246. package/dist/esm/api/resources/parties/types/index.mjs +13 -0
  247. package/dist/esm/api/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +2 -0
  248. package/dist/esm/api/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -0
  249. package/dist/esm/api/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +2 -0
  250. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +6 -0
  251. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +6 -0
  252. package/dist/esm/api/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +2 -0
  253. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +18 -0
  254. package/dist/esm/api/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +18 -0
  255. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  256. package/dist/esm/api/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  257. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  258. package/dist/esm/api/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  259. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  260. package/dist/esm/api/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  261. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +18 -0
  262. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +18 -0
  263. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +18 -0
  264. package/dist/esm/api/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  265. package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +18 -0
  266. package/dist/esm/api/resources/webhooks/types/WebhookEnabledEventsItem.mjs +18 -0
  267. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.d.mts +1 -1
  268. package/dist/esm/serialization/resources/agents/types/CreateCustomerAgentsRequestPermissionsItem.mjs +6 -0
  269. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.d.mts +1 -0
  270. package/dist/esm/serialization/resources/agents/types/ListInvitationsAgentsResponseDataItemAttributes.mjs +1 -0
  271. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.d.mts +1 -0
  272. package/dist/esm/serialization/resources/agents/types/RevokeInvitationAgentsResponseDataAttributes.mjs +1 -0
  273. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.d.mts +1 -1
  274. package/dist/esm/serialization/resources/apiKeys/types/CreateApiKeysRequestScopesItem.mjs +6 -0
  275. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.d.mts +1 -0
  276. package/dist/esm/serialization/resources/customers/client/requests/CreateInvitationsCustomersRequest.mjs +1 -0
  277. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.d.mts +1 -1
  278. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersRequestAgentsItemPermissionsItem.mjs +6 -0
  279. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.d.mts +1 -0
  280. package/dist/esm/serialization/resources/customers/types/CreateInvitationsCustomersResponseDataItemAttributes.mjs +1 -0
  281. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.d.mts +1 -0
  282. package/dist/esm/serialization/resources/customers/types/RevokeInvitationCustomersResponseDataAttributes.mjs +1 -0
  283. package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.d.mts +1 -1
  284. package/dist/esm/serialization/resources/events/types/GetEventsResponseDataAttributesEventType.mjs +16 -0
  285. package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.d.mts +1 -1
  286. package/dist/esm/serialization/resources/events/types/ListEventsRequestEventType.mjs +16 -0
  287. package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.d.mts +1 -1
  288. package/dist/esm/serialization/resources/events/types/ListEventsResponseDataItemAttributesEventType.mjs +16 -0
  289. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.d.mts +1 -1
  290. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksRequestProposedAgentsItemPermissionsItem.mjs +6 -0
  291. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  292. package/dist/esm/serialization/resources/invitationLinks/types/CreateInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  293. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  294. package/dist/esm/serialization/resources/invitationLinks/types/GetInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  295. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  296. package/dist/esm/serialization/resources/invitationLinks/types/ListInvitationLinksResponseDataItemAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  297. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.d.mts +1 -1
  298. package/dist/esm/serialization/resources/invitationLinks/types/RevokeInvitationLinksResponseDataAttributesProposedAgentsItemPermissionsItem.mjs +6 -0
  299. package/dist/esm/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.d.mts +11 -0
  300. package/dist/esm/serialization/resources/parties/client/requests/CreateBrandingPhotoUploadPartiesRequest.mjs +7 -0
  301. package/dist/esm/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.d.mts +10 -0
  302. package/dist/esm/serialization/resources/parties/client/requests/UpdateBrandingForPartyPartiesRequest.mjs +6 -0
  303. package/dist/esm/serialization/resources/parties/client/requests/index.d.mts +2 -0
  304. package/dist/esm/serialization/resources/parties/client/requests/index.mjs +2 -0
  305. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.d.mts +7 -0
  306. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesRequestContentType.mjs +3 -0
  307. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.d.mts +10 -0
  308. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponse.mjs +6 -0
  309. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.d.mts +13 -0
  310. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseData.mjs +9 -0
  311. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.d.mts +11 -0
  312. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataAttributes.mjs +7 -0
  313. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.d.mts +7 -0
  314. package/dist/esm/serialization/resources/parties/types/CreateBrandingPhotoUploadPartiesResponseDataType.mjs +3 -0
  315. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.d.mts +10 -0
  316. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponse.mjs +6 -0
  317. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.d.mts +13 -0
  318. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseData.mjs +9 -0
  319. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.d.mts +10 -0
  320. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataAttributes.mjs +6 -0
  321. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.d.mts +7 -0
  322. package/dist/esm/serialization/resources/parties/types/GetBrandingForPartyPartiesResponseDataType.mjs +3 -0
  323. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.d.mts +10 -0
  324. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponse.mjs +6 -0
  325. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.d.mts +13 -0
  326. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseData.mjs +9 -0
  327. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.d.mts +10 -0
  328. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataAttributes.mjs +6 -0
  329. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.d.mts +7 -0
  330. package/dist/esm/serialization/resources/parties/types/UpdateBrandingForPartyPartiesResponseDataType.mjs +3 -0
  331. package/dist/esm/serialization/resources/parties/types/index.d.mts +13 -0
  332. package/dist/esm/serialization/resources/parties/types/index.mjs +13 -0
  333. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.d.mts +1 -0
  334. package/dist/esm/serialization/resources/simulations/client/requests/InviteCustomerSimulationsRequest.mjs +1 -0
  335. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -0
  336. package/dist/esm/serialization/resources/simulations/types/AcceptCustomerInvitationSimulationsResponseDataAttributes.mjs +1 -0
  337. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.d.mts +1 -0
  338. package/dist/esm/serialization/resources/simulations/types/DeclineCustomerInvitationSimulationsResponseDataAttributes.mjs +1 -0
  339. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.d.mts +1 -1
  340. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsRequestPermissionsItem.mjs +6 -0
  341. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.d.mts +1 -0
  342. package/dist/esm/serialization/resources/simulations/types/InviteCustomerSimulationsResponseDataItemAttributes.mjs +1 -0
  343. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  344. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksRequestEnabledEventsItem.mjs +18 -0
  345. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  346. package/dist/esm/serialization/resources/webhooks/types/CreateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  347. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  348. package/dist/esm/serialization/resources/webhooks/types/GetWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  349. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  350. package/dist/esm/serialization/resources/webhooks/types/RemoveWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  351. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.d.mts +1 -1
  352. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksRequestEnabledEventsItem.mjs +18 -0
  353. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.d.mts +1 -1
  354. package/dist/esm/serialization/resources/webhooks/types/UpdateWebhooksResponseDataAttributesEnabledEventsItem.mjs +18 -0
  355. package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.d.mts +1 -1
  356. package/dist/esm/serialization/resources/webhooks/types/WebhookEnabledEventsItem.mjs +18 -0
  357. package/dist/esm/version.d.mts +1 -1
  358. package/dist/esm/version.mjs +1 -1
  359. package/package.json +1 -1
  360. package/reference.md +200 -0
@@ -42,6 +42,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
42
42
  step((generator = generator.apply(thisArg, _arguments || [])).next());
43
43
  });
44
44
  };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
45
56
  Object.defineProperty(exports, "__esModule", { value: true });
46
57
  exports.PartiesClient = void 0;
47
58
  const BaseClient_js_1 = require("../../../../BaseClient.js");
@@ -460,6 +471,310 @@ class PartiesClient {
460
471
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/parties/{partyId}/compliance");
461
472
  });
462
473
  }
474
+ /**
475
+ * Get branding for your party or a party that has delegated party read permission to you
476
+ *
477
+ * @param {Natural.GetBrandingForPartyPartiesRequest} request
478
+ * @param {PartiesClient.RequestOptions} requestOptions - Request-specific configuration.
479
+ *
480
+ * @throws {@link Natural.BadRequestError}
481
+ * @throws {@link Natural.UnauthorizedError}
482
+ * @throws {@link Natural.ForbiddenError}
483
+ * @throws {@link Natural.NotFoundError}
484
+ * @throws {@link Natural.ConflictError}
485
+ * @throws {@link Natural.UnprocessableEntityError}
486
+ * @throws {@link Natural.PreconditionError}
487
+ * @throws {@link Natural.TooManyRequestsError}
488
+ * @throws {@link Natural.InternalServerError}
489
+ * @throws {@link Natural.NotImplementedError}
490
+ * @throws {@link Natural.BadGatewayError}
491
+ * @throws {@link Natural.ServiceUnavailableError}
492
+ * @throws {@link errors.NaturalError}
493
+ * @throws {@link errors.NaturalTimeoutError}
494
+ *
495
+ * @example
496
+ * await client.parties.getBrandingForParty({
497
+ * partyId: "partyId"
498
+ * })
499
+ */
500
+ getBrandingForParty(request, requestOptions) {
501
+ return core.HttpResponsePromise.fromPromise(this.__getBrandingForParty(request, requestOptions));
502
+ }
503
+ __getBrandingForParty(request, requestOptions) {
504
+ return __awaiter(this, void 0, void 0, function* () {
505
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
506
+ const { partyId } = request;
507
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
508
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Instance-ID": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.instanceId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.instanceId }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
509
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
510
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.NaturalEnvironment.Production, `parties/${core.url.encodePathParam(partyId)}/branding`),
511
+ method: "GET",
512
+ headers: _headers,
513
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
514
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
515
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
516
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
517
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
518
+ logging: this._options.logging,
519
+ });
520
+ if (_response.ok) {
521
+ return {
522
+ data: serializers.GetBrandingForPartyPartiesResponse.parseOrThrow(_response.body, {
523
+ unrecognizedObjectKeys: "passthrough",
524
+ allowUnrecognizedUnionMembers: true,
525
+ allowUnrecognizedEnumValues: true,
526
+ skipValidation: true,
527
+ breadcrumbsPrefix: ["response"],
528
+ }),
529
+ rawResponse: _response.rawResponse,
530
+ };
531
+ }
532
+ if (_response.error.reason === "status-code") {
533
+ switch (_response.error.statusCode) {
534
+ case 400:
535
+ throw new Natural.BadRequestError(_response.error.body, _response.rawResponse);
536
+ case 401:
537
+ throw new Natural.UnauthorizedError(_response.error.body, _response.rawResponse);
538
+ case 403:
539
+ throw new Natural.ForbiddenError(_response.error.body, _response.rawResponse);
540
+ case 404:
541
+ throw new Natural.NotFoundError(_response.error.body, _response.rawResponse);
542
+ case 409:
543
+ throw new Natural.ConflictError(_response.error.body, _response.rawResponse);
544
+ case 422:
545
+ throw new Natural.UnprocessableEntityError(_response.error.body, _response.rawResponse);
546
+ case 428:
547
+ throw new Natural.PreconditionError(_response.error.body, _response.rawResponse);
548
+ case 429:
549
+ throw new Natural.TooManyRequestsError(_response.error.body, _response.rawResponse);
550
+ case 500:
551
+ throw new Natural.InternalServerError(_response.error.body, _response.rawResponse);
552
+ case 501:
553
+ throw new Natural.NotImplementedError(_response.error.body, _response.rawResponse);
554
+ case 502:
555
+ throw new Natural.BadGatewayError(_response.error.body, _response.rawResponse);
556
+ case 503:
557
+ throw new Natural.ServiceUnavailableError(_response.error.body, _response.rawResponse);
558
+ default:
559
+ throw new errors.NaturalError({
560
+ statusCode: _response.error.statusCode,
561
+ body: _response.error.body,
562
+ rawResponse: _response.rawResponse,
563
+ });
564
+ }
565
+ }
566
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/parties/{partyId}/branding");
567
+ });
568
+ }
569
+ /**
570
+ * Update branding for your party or a party that has delegated party update permission to you. Profile photo changes require a business party in Live.
571
+ *
572
+ * @param {Natural.UpdateBrandingForPartyPartiesRequest} request
573
+ * @param {PartiesClient.RequestOptions} requestOptions - Request-specific configuration.
574
+ *
575
+ * @throws {@link Natural.BadRequestError}
576
+ * @throws {@link Natural.UnauthorizedError}
577
+ * @throws {@link Natural.ForbiddenError}
578
+ * @throws {@link Natural.NotFoundError}
579
+ * @throws {@link Natural.ConflictError}
580
+ * @throws {@link Natural.UnprocessableEntityError}
581
+ * @throws {@link Natural.PreconditionError}
582
+ * @throws {@link Natural.TooManyRequestsError}
583
+ * @throws {@link Natural.InternalServerError}
584
+ * @throws {@link Natural.NotImplementedError}
585
+ * @throws {@link Natural.BadGatewayError}
586
+ * @throws {@link Natural.ServiceUnavailableError}
587
+ * @throws {@link errors.NaturalError}
588
+ * @throws {@link errors.NaturalTimeoutError}
589
+ *
590
+ * @example
591
+ * await client.parties.updateBrandingForParty({
592
+ * idempotencyKey: "Idempotency-Key",
593
+ * partyId: "partyId",
594
+ * brandColor: "#2563EB"
595
+ * })
596
+ */
597
+ updateBrandingForParty(request, requestOptions) {
598
+ return core.HttpResponsePromise.fromPromise(this.__updateBrandingForParty(request, requestOptions));
599
+ }
600
+ __updateBrandingForParty(request, requestOptions) {
601
+ return __awaiter(this, void 0, void 0, function* () {
602
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
603
+ const { partyId, idempotencyKey } = request, _body = __rest(request, ["partyId", "idempotencyKey"]);
604
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
605
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
606
+ "Idempotency-Key": idempotencyKey,
607
+ "X-Instance-ID": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.instanceId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.instanceId,
608
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
609
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
610
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.NaturalEnvironment.Production, `parties/${core.url.encodePathParam(partyId)}/branding`),
611
+ method: "PATCH",
612
+ headers: _headers,
613
+ contentType: "application/json",
614
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
615
+ requestType: "json",
616
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.UpdateBrandingForPartyPartiesRequest.jsonOrThrow(_body, {
617
+ unrecognizedObjectKeys: "strip",
618
+ omitUndefined: true,
619
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
620
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
621
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
622
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
623
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
624
+ logging: this._options.logging,
625
+ });
626
+ if (_response.ok) {
627
+ return {
628
+ data: serializers.UpdateBrandingForPartyPartiesResponse.parseOrThrow(_response.body, {
629
+ unrecognizedObjectKeys: "passthrough",
630
+ allowUnrecognizedUnionMembers: true,
631
+ allowUnrecognizedEnumValues: true,
632
+ skipValidation: true,
633
+ breadcrumbsPrefix: ["response"],
634
+ }),
635
+ rawResponse: _response.rawResponse,
636
+ };
637
+ }
638
+ if (_response.error.reason === "status-code") {
639
+ switch (_response.error.statusCode) {
640
+ case 400:
641
+ throw new Natural.BadRequestError(_response.error.body, _response.rawResponse);
642
+ case 401:
643
+ throw new Natural.UnauthorizedError(_response.error.body, _response.rawResponse);
644
+ case 403:
645
+ throw new Natural.ForbiddenError(_response.error.body, _response.rawResponse);
646
+ case 404:
647
+ throw new Natural.NotFoundError(_response.error.body, _response.rawResponse);
648
+ case 409:
649
+ throw new Natural.ConflictError(_response.error.body, _response.rawResponse);
650
+ case 422:
651
+ throw new Natural.UnprocessableEntityError(_response.error.body, _response.rawResponse);
652
+ case 428:
653
+ throw new Natural.PreconditionError(_response.error.body, _response.rawResponse);
654
+ case 429:
655
+ throw new Natural.TooManyRequestsError(_response.error.body, _response.rawResponse);
656
+ case 500:
657
+ throw new Natural.InternalServerError(_response.error.body, _response.rawResponse);
658
+ case 501:
659
+ throw new Natural.NotImplementedError(_response.error.body, _response.rawResponse);
660
+ case 502:
661
+ throw new Natural.BadGatewayError(_response.error.body, _response.rawResponse);
662
+ case 503:
663
+ throw new Natural.ServiceUnavailableError(_response.error.body, _response.rawResponse);
664
+ default:
665
+ throw new errors.NaturalError({
666
+ statusCode: _response.error.statusCode,
667
+ body: _response.error.body,
668
+ rawResponse: _response.rawResponse,
669
+ });
670
+ }
671
+ }
672
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/parties/{partyId}/branding");
673
+ });
674
+ }
675
+ /**
676
+ * Create an upload for a business profile photo in Live using your own or delegated party update permission
677
+ *
678
+ * @param {Natural.CreateBrandingPhotoUploadPartiesRequest} request
679
+ * @param {PartiesClient.RequestOptions} requestOptions - Request-specific configuration.
680
+ *
681
+ * @throws {@link Natural.BadRequestError}
682
+ * @throws {@link Natural.UnauthorizedError}
683
+ * @throws {@link Natural.ForbiddenError}
684
+ * @throws {@link Natural.NotFoundError}
685
+ * @throws {@link Natural.ConflictError}
686
+ * @throws {@link Natural.UnprocessableEntityError}
687
+ * @throws {@link Natural.PreconditionError}
688
+ * @throws {@link Natural.TooManyRequestsError}
689
+ * @throws {@link Natural.InternalServerError}
690
+ * @throws {@link Natural.NotImplementedError}
691
+ * @throws {@link Natural.BadGatewayError}
692
+ * @throws {@link Natural.ServiceUnavailableError}
693
+ * @throws {@link errors.NaturalError}
694
+ * @throws {@link errors.NaturalTimeoutError}
695
+ *
696
+ * @example
697
+ * await client.parties.createBrandingPhotoUpload({
698
+ * partyId: "partyId",
699
+ * contentType: "image/png",
700
+ * sizeBytes: 128000
701
+ * })
702
+ */
703
+ createBrandingPhotoUpload(request, requestOptions) {
704
+ return core.HttpResponsePromise.fromPromise(this.__createBrandingPhotoUpload(request, requestOptions));
705
+ }
706
+ __createBrandingPhotoUpload(request, requestOptions) {
707
+ return __awaiter(this, void 0, void 0, function* () {
708
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
709
+ const { partyId } = request, _body = __rest(request, ["partyId"]);
710
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
711
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Instance-ID": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.instanceId) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.instanceId }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
712
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
713
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.NaturalEnvironment.Production, `parties/${core.url.encodePathParam(partyId)}/branding/photo-uploads`),
714
+ method: "POST",
715
+ headers: _headers,
716
+ contentType: "application/json",
717
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
718
+ requestType: "json",
719
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(serializers.CreateBrandingPhotoUploadPartiesRequest.jsonOrThrow(_body, {
720
+ unrecognizedObjectKeys: "strip",
721
+ omitUndefined: true,
722
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
723
+ timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
724
+ maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
725
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
726
+ fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
727
+ logging: this._options.logging,
728
+ });
729
+ if (_response.ok) {
730
+ return {
731
+ data: serializers.CreateBrandingPhotoUploadPartiesResponse.parseOrThrow(_response.body, {
732
+ unrecognizedObjectKeys: "passthrough",
733
+ allowUnrecognizedUnionMembers: true,
734
+ allowUnrecognizedEnumValues: true,
735
+ skipValidation: true,
736
+ breadcrumbsPrefix: ["response"],
737
+ }),
738
+ rawResponse: _response.rawResponse,
739
+ };
740
+ }
741
+ if (_response.error.reason === "status-code") {
742
+ switch (_response.error.statusCode) {
743
+ case 400:
744
+ throw new Natural.BadRequestError(_response.error.body, _response.rawResponse);
745
+ case 401:
746
+ throw new Natural.UnauthorizedError(_response.error.body, _response.rawResponse);
747
+ case 403:
748
+ throw new Natural.ForbiddenError(_response.error.body, _response.rawResponse);
749
+ case 404:
750
+ throw new Natural.NotFoundError(_response.error.body, _response.rawResponse);
751
+ case 409:
752
+ throw new Natural.ConflictError(_response.error.body, _response.rawResponse);
753
+ case 422:
754
+ throw new Natural.UnprocessableEntityError(_response.error.body, _response.rawResponse);
755
+ case 428:
756
+ throw new Natural.PreconditionError(_response.error.body, _response.rawResponse);
757
+ case 429:
758
+ throw new Natural.TooManyRequestsError(_response.error.body, _response.rawResponse);
759
+ case 500:
760
+ throw new Natural.InternalServerError(_response.error.body, _response.rawResponse);
761
+ case 501:
762
+ throw new Natural.NotImplementedError(_response.error.body, _response.rawResponse);
763
+ case 502:
764
+ throw new Natural.BadGatewayError(_response.error.body, _response.rawResponse);
765
+ case 503:
766
+ throw new Natural.ServiceUnavailableError(_response.error.body, _response.rawResponse);
767
+ default:
768
+ throw new errors.NaturalError({
769
+ statusCode: _response.error.statusCode,
770
+ body: _response.error.body,
771
+ rawResponse: _response.rawResponse,
772
+ });
773
+ }
774
+ }
775
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/parties/{partyId}/branding/photo-uploads");
776
+ });
777
+ }
463
778
  /**
464
779
  * Set your party's handle
465
780
  *
@@ -0,0 +1,16 @@
1
+ import type * as Natural from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * partyId: "partyId",
6
+ * contentType: "image/png",
7
+ * sizeBytes: 128000
8
+ * }
9
+ */
10
+ export interface CreateBrandingPhotoUploadPartiesRequest {
11
+ partyId: string;
12
+ /** Avatar image MIME type */
13
+ contentType: Natural.CreateBrandingPhotoUploadPartiesRequestContentType;
14
+ /** Avatar image size in bytes */
15
+ sizeBytes: number;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * partyId: "partyId"
5
+ * }
6
+ */
7
+ export interface GetBrandingForPartyPartiesRequest {
8
+ partyId: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * idempotencyKey: "Idempotency-Key",
5
+ * partyId: "partyId",
6
+ * brandColor: "#2563EB"
7
+ * }
8
+ */
9
+ export interface UpdateBrandingForPartyPartiesRequest {
10
+ partyId: string;
11
+ /** Unique key for safely retrying a request without creating duplicates. */
12
+ idempotencyKey: string;
13
+ brandColor?: string | null;
14
+ /** Uploaded business photo object key; null removes the photo. Omit to leave unchanged. */
15
+ avatarObjectKey?: string | null;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,9 @@
1
+ export type { CreateBrandingPhotoUploadPartiesRequest } from "./CreateBrandingPhotoUploadPartiesRequest.js";
2
+ export type { GetBrandingForPartyPartiesRequest } from "./GetBrandingForPartyPartiesRequest.js";
1
3
  export type { GetCompliancePartiesRequest } from "./GetCompliancePartiesRequest.js";
2
4
  export type { ListMembersPartiesRequest } from "./ListMembersPartiesRequest.js";
3
5
  export type { RemoveMemberPartiesRequest } from "./RemoveMemberPartiesRequest.js";
4
6
  export type { SetHandlePartiesRequest } from "./SetHandlePartiesRequest.js";
5
7
  export type { SetLimitsPartiesRequest } from "./SetLimitsPartiesRequest.js";
8
+ export type { UpdateBrandingForPartyPartiesRequest } from "./UpdateBrandingForPartyPartiesRequest.js";
6
9
  export type { UpdMyPartyParams } from "./UpdMyPartyParams.js";
@@ -0,0 +1,7 @@
1
+ /** Avatar image MIME type */
2
+ export declare const CreateBrandingPhotoUploadPartiesRequestContentType: {
3
+ readonly ImageJpeg: "image/jpeg";
4
+ readonly ImagePng: "image/png";
5
+ readonly ImageWebp: "image/webp";
6
+ };
7
+ export type CreateBrandingPhotoUploadPartiesRequestContentType = (typeof CreateBrandingPhotoUploadPartiesRequestContentType)[keyof typeof CreateBrandingPhotoUploadPartiesRequestContentType];
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CreateBrandingPhotoUploadPartiesRequestContentType = void 0;
5
+ /** Avatar image MIME type */
6
+ exports.CreateBrandingPhotoUploadPartiesRequestContentType = {
7
+ ImageJpeg: "image/jpeg",
8
+ ImagePng: "image/png",
9
+ ImageWebp: "image/webp",
10
+ };
@@ -0,0 +1,4 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface CreateBrandingPhotoUploadPartiesResponse {
3
+ data: Natural.CreateBrandingPhotoUploadPartiesResponseData;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface CreateBrandingPhotoUploadPartiesResponseData {
3
+ type: Natural.CreateBrandingPhotoUploadPartiesResponseDataType;
4
+ id: string;
5
+ attributes: Natural.CreateBrandingPhotoUploadPartiesResponseDataAttributes;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface CreateBrandingPhotoUploadPartiesResponseDataAttributes {
2
+ /** Presigned S3 POST URL for the avatar upload */
3
+ uploadUrl: string;
4
+ /** Form fields for the presigned S3 POST */
5
+ uploadFields: Record<string, string>;
6
+ /** Opaque avatar object key to pass to completeAvatarUpload */
7
+ objectKey: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export declare const CreateBrandingPhotoUploadPartiesResponseDataType: {
2
+ readonly PartyAvatarUpload: "partyAvatarUpload";
3
+ };
4
+ export type CreateBrandingPhotoUploadPartiesResponseDataType = (typeof CreateBrandingPhotoUploadPartiesResponseDataType)[keyof typeof CreateBrandingPhotoUploadPartiesResponseDataType];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CreateBrandingPhotoUploadPartiesResponseDataType = void 0;
5
+ exports.CreateBrandingPhotoUploadPartiesResponseDataType = {
6
+ PartyAvatarUpload: "partyAvatarUpload",
7
+ };
@@ -0,0 +1,4 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface GetBrandingForPartyPartiesResponse {
3
+ data: Natural.GetBrandingForPartyPartiesResponseData;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface GetBrandingForPartyPartiesResponseData {
3
+ type: Natural.GetBrandingForPartyPartiesResponseDataType;
4
+ id: string;
5
+ attributes: Natural.GetBrandingForPartyPartiesResponseDataAttributes;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface GetBrandingForPartyPartiesResponseDataAttributes {
2
+ brandColor: string | null;
3
+ /** Public business profile photo URL, or null when absent */
4
+ avatarUrl?: string | null;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export declare const GetBrandingForPartyPartiesResponseDataType: {
2
+ readonly PartyBranding: "partyBranding";
3
+ };
4
+ export type GetBrandingForPartyPartiesResponseDataType = (typeof GetBrandingForPartyPartiesResponseDataType)[keyof typeof GetBrandingForPartyPartiesResponseDataType];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.GetBrandingForPartyPartiesResponseDataType = void 0;
5
+ exports.GetBrandingForPartyPartiesResponseDataType = {
6
+ PartyBranding: "partyBranding",
7
+ };
@@ -0,0 +1,4 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface UpdateBrandingForPartyPartiesResponse {
3
+ data: Natural.UpdateBrandingForPartyPartiesResponseData;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import type * as Natural from "../../../index.js";
2
+ export interface UpdateBrandingForPartyPartiesResponseData {
3
+ type: Natural.UpdateBrandingForPartyPartiesResponseDataType;
4
+ id: string;
5
+ attributes: Natural.UpdateBrandingForPartyPartiesResponseDataAttributes;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface UpdateBrandingForPartyPartiesResponseDataAttributes {
2
+ brandColor: string | null;
3
+ /** Public business profile photo URL, or null when absent */
4
+ avatarUrl?: string | null;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export declare const UpdateBrandingForPartyPartiesResponseDataType: {
2
+ readonly PartyBranding: "partyBranding";
3
+ };
4
+ export type UpdateBrandingForPartyPartiesResponseDataType = (typeof UpdateBrandingForPartyPartiesResponseDataType)[keyof typeof UpdateBrandingForPartyPartiesResponseDataType];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.UpdateBrandingForPartyPartiesResponseDataType = void 0;
5
+ exports.UpdateBrandingForPartyPartiesResponseDataType = {
6
+ PartyBranding: "partyBranding",
7
+ };
@@ -1,8 +1,17 @@
1
+ export * from "./CreateBrandingPhotoUploadPartiesRequestContentType.js";
2
+ export * from "./CreateBrandingPhotoUploadPartiesResponse.js";
3
+ export * from "./CreateBrandingPhotoUploadPartiesResponseData.js";
4
+ export * from "./CreateBrandingPhotoUploadPartiesResponseDataAttributes.js";
5
+ export * from "./CreateBrandingPhotoUploadPartiesResponseDataType.js";
1
6
  export * from "./DisableLimitsPartiesResponse.js";
2
7
  export * from "./DisableLimitsPartiesResponseData.js";
3
8
  export * from "./DisableLimitsPartiesResponseDataAttributes.js";
4
9
  export * from "./DisableLimitsPartiesResponseDataAttributesLimits.js";
5
10
  export * from "./DisableLimitsPartiesResponseDataType.js";
11
+ export * from "./GetBrandingForPartyPartiesResponse.js";
12
+ export * from "./GetBrandingForPartyPartiesResponseData.js";
13
+ export * from "./GetBrandingForPartyPartiesResponseDataAttributes.js";
14
+ export * from "./GetBrandingForPartyPartiesResponseDataType.js";
6
15
  export * from "./GetCompliancePartiesResponse.js";
7
16
  export * from "./GetCompliancePartiesResponseData.js";
8
17
  export * from "./GetCompliancePartiesResponseDataAttributes.js";
@@ -45,6 +54,10 @@ export * from "./SetLimitsPartiesResponseData.js";
45
54
  export * from "./SetLimitsPartiesResponseDataAttributes.js";
46
55
  export * from "./SetLimitsPartiesResponseDataAttributesLimits.js";
47
56
  export * from "./SetLimitsPartiesResponseDataType.js";
57
+ export * from "./UpdateBrandingForPartyPartiesResponse.js";
58
+ export * from "./UpdateBrandingForPartyPartiesResponseData.js";
59
+ export * from "./UpdateBrandingForPartyPartiesResponseDataAttributes.js";
60
+ export * from "./UpdateBrandingForPartyPartiesResponseDataType.js";
48
61
  export * from "./UpdatePartiesResponseDataAttributesPersona.js";
49
62
  export * from "./UpdMyParty.js";
50
63
  export * from "./UpdMyPartyAttrs.js";