@darwinso/sdk 0.1.0 → 0.1.1

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 (2288) hide show
  1. package/README.md +299 -13
  2. package/dist/cjs/BaseClient.d.ts +54 -0
  3. package/dist/cjs/BaseClient.js +77 -0
  4. package/dist/cjs/Client.d.ts +101 -0
  5. package/dist/cjs/Client.js +208 -0
  6. package/dist/cjs/api/errors/BadRequestError.d.ts +6 -0
  7. package/dist/cjs/api/errors/BadRequestError.js +54 -0
  8. package/dist/cjs/api/errors/ForbiddenError.d.ts +6 -0
  9. package/dist/cjs/api/errors/ForbiddenError.js +54 -0
  10. package/dist/cjs/api/errors/NotFoundError.d.ts +6 -0
  11. package/dist/cjs/api/errors/NotFoundError.js +54 -0
  12. package/dist/cjs/api/errors/TooManyRequestsError.d.ts +6 -0
  13. package/dist/cjs/api/errors/TooManyRequestsError.js +54 -0
  14. package/dist/cjs/api/errors/UnauthorizedError.d.ts +6 -0
  15. package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
  16. package/dist/cjs/api/errors/index.d.ts +5 -0
  17. package/dist/cjs/api/errors/index.js +21 -0
  18. package/dist/cjs/api/index.d.ts +3 -0
  19. package/dist/cjs/api/index.js +19 -0
  20. package/dist/cjs/api/resources/account/client/Client.d.ts +33 -0
  21. package/dist/cjs/api/resources/account/client/Client.js +120 -0
  22. package/dist/cjs/api/resources/account/client/index.js +2 -0
  23. package/dist/cjs/api/resources/account/exports.d.ts +2 -0
  24. package/dist/cjs/api/resources/account/exports.js +21 -0
  25. package/dist/cjs/api/resources/account/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/account/index.js +17 -0
  27. package/dist/cjs/api/resources/ais/client/Client.d.ts +413 -0
  28. package/dist/cjs/api/resources/ais/client/Client.js +1385 -0
  29. package/dist/cjs/api/resources/ais/client/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/ais/client/index.js +17 -0
  31. package/dist/cjs/api/resources/ais/client/requests/BeginAiAssetUploadRequest.d.ts +37 -0
  32. package/dist/cjs/api/resources/ais/client/requests/BeginAiAssetUploadRequest.js +19 -0
  33. package/dist/cjs/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.d.ts +11 -0
  34. package/dist/cjs/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.js +3 -0
  35. package/dist/cjs/api/resources/ais/client/requests/CreateAccessPolicyRequest.d.ts +16 -0
  36. package/dist/cjs/api/resources/ais/client/requests/CreateAccessPolicyRequest.js +3 -0
  37. package/dist/cjs/api/resources/ais/client/requests/CreateAiAssetRequest.d.ts +35 -0
  38. package/dist/cjs/api/resources/ais/client/requests/CreateAiAssetRequest.js +20 -0
  39. package/dist/cjs/api/resources/ais/client/requests/CreateAiInvitationRequest.d.ts +19 -0
  40. package/dist/cjs/api/resources/ais/client/requests/CreateAiInvitationRequest.js +11 -0
  41. package/dist/cjs/api/resources/ais/client/requests/CreateAiRequest.d.ts +26 -0
  42. package/dist/cjs/api/resources/ais/client/requests/CreateAiRequest.js +10 -0
  43. package/dist/cjs/api/resources/ais/client/requests/DeleteAiAssetRequest.d.ts +11 -0
  44. package/dist/cjs/api/resources/ais/client/requests/DeleteAiAssetRequest.js +3 -0
  45. package/dist/cjs/api/resources/ais/client/requests/GetAiRequest.d.ts +9 -0
  46. package/dist/cjs/api/resources/ais/client/requests/GetAiRequest.js +3 -0
  47. package/dist/cjs/api/resources/ais/client/requests/ListAccessPoliciesRequest.d.ts +9 -0
  48. package/dist/cjs/api/resources/ais/client/requests/ListAccessPoliciesRequest.js +3 -0
  49. package/dist/cjs/api/resources/ais/client/requests/ListAiActivityRequest.d.ts +11 -0
  50. package/dist/cjs/api/resources/ais/client/requests/ListAiActivityRequest.js +3 -0
  51. package/dist/cjs/api/resources/ais/client/requests/ListAiAssetsRequest.d.ts +9 -0
  52. package/dist/cjs/api/resources/ais/client/requests/ListAiAssetsRequest.js +3 -0
  53. package/dist/cjs/api/resources/ais/client/requests/ListAiInvitationsRequest.d.ts +9 -0
  54. package/dist/cjs/api/resources/ais/client/requests/ListAiInvitationsRequest.js +3 -0
  55. package/dist/cjs/api/resources/ais/client/requests/ListAiMembersRequest.d.ts +9 -0
  56. package/dist/cjs/api/resources/ais/client/requests/ListAiMembersRequest.js +3 -0
  57. package/dist/cjs/api/resources/ais/client/requests/RemoveAiMemberRequest.d.ts +11 -0
  58. package/dist/cjs/api/resources/ais/client/requests/RemoveAiMemberRequest.js +3 -0
  59. package/dist/cjs/api/resources/ais/client/requests/RevokeAiInvitationRequest.d.ts +11 -0
  60. package/dist/cjs/api/resources/ais/client/requests/RevokeAiInvitationRequest.js +3 -0
  61. package/dist/cjs/api/resources/ais/client/requests/UpdateAccessPolicyRequest.d.ts +16 -0
  62. package/dist/cjs/api/resources/ais/client/requests/UpdateAccessPolicyRequest.js +3 -0
  63. package/dist/cjs/api/resources/ais/client/requests/UpdateAiAssetRequest.d.ts +22 -0
  64. package/dist/cjs/api/resources/ais/client/requests/UpdateAiAssetRequest.js +11 -0
  65. package/dist/cjs/api/resources/ais/client/requests/UpdateAiMemberRequest.d.ts +20 -0
  66. package/dist/cjs/api/resources/ais/client/requests/UpdateAiMemberRequest.js +11 -0
  67. package/dist/cjs/api/resources/ais/client/requests/UpdateAiRequest.d.ts +21 -0
  68. package/dist/cjs/api/resources/ais/client/requests/UpdateAiRequest.js +3 -0
  69. package/dist/cjs/api/resources/ais/client/requests/index.d.ts +19 -0
  70. package/dist/cjs/api/resources/ais/client/requests/index.js +15 -0
  71. package/dist/cjs/api/resources/ais/exports.d.ts +2 -0
  72. package/dist/cjs/api/resources/ais/exports.js +21 -0
  73. package/dist/cjs/api/resources/ais/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/ais/index.js +18 -0
  75. package/dist/cjs/api/resources/ais/types/CompleteAiAssetUploadResponse.d.ts +4 -0
  76. package/dist/cjs/api/resources/ais/types/CompleteAiAssetUploadResponse.js +3 -0
  77. package/dist/cjs/api/resources/ais/types/CreateAccessPolicyResponse.d.ts +4 -0
  78. package/dist/cjs/api/resources/ais/types/CreateAccessPolicyResponse.js +3 -0
  79. package/dist/cjs/api/resources/ais/types/CreateAiAssetResponse.d.ts +4 -0
  80. package/dist/cjs/api/resources/ais/types/CreateAiAssetResponse.js +3 -0
  81. package/dist/cjs/api/resources/ais/types/CreateAiInvitationResponse.d.ts +4 -0
  82. package/dist/cjs/api/resources/ais/types/CreateAiInvitationResponse.js +3 -0
  83. package/dist/cjs/api/resources/ais/types/CreateAiResponse.d.ts +4 -0
  84. package/dist/cjs/api/resources/ais/types/CreateAiResponse.js +3 -0
  85. package/dist/cjs/api/resources/ais/types/DeleteAiAssetResponse.d.ts +4 -0
  86. package/dist/cjs/api/resources/ais/types/DeleteAiAssetResponse.js +3 -0
  87. package/dist/cjs/api/resources/ais/types/GetAiResponse.d.ts +4 -0
  88. package/dist/cjs/api/resources/ais/types/GetAiResponse.js +3 -0
  89. package/dist/cjs/api/resources/ais/types/ListAIsResponse.d.ts +4 -0
  90. package/dist/cjs/api/resources/ais/types/ListAIsResponse.js +3 -0
  91. package/dist/cjs/api/resources/ais/types/ListAccessPoliciesResponse.d.ts +4 -0
  92. package/dist/cjs/api/resources/ais/types/ListAccessPoliciesResponse.js +3 -0
  93. package/dist/cjs/api/resources/ais/types/ListAiAssetsResponse.d.ts +4 -0
  94. package/dist/cjs/api/resources/ais/types/ListAiAssetsResponse.js +3 -0
  95. package/dist/cjs/api/resources/ais/types/ListAiInvitationsResponse.d.ts +4 -0
  96. package/dist/cjs/api/resources/ais/types/ListAiInvitationsResponse.js +3 -0
  97. package/dist/cjs/api/resources/ais/types/ListAiMembersResponse.d.ts +4 -0
  98. package/dist/cjs/api/resources/ais/types/ListAiMembersResponse.js +3 -0
  99. package/dist/cjs/api/resources/ais/types/ListSkillCatalogResponse.d.ts +4 -0
  100. package/dist/cjs/api/resources/ais/types/ListSkillCatalogResponse.js +3 -0
  101. package/dist/cjs/api/resources/ais/types/RemoveAiMemberResponse.d.ts +4 -0
  102. package/dist/cjs/api/resources/ais/types/RemoveAiMemberResponse.js +3 -0
  103. package/dist/cjs/api/resources/ais/types/RevokeAiInvitationResponse.d.ts +4 -0
  104. package/dist/cjs/api/resources/ais/types/RevokeAiInvitationResponse.js +3 -0
  105. package/dist/cjs/api/resources/ais/types/UpdateAccessPolicyResponse.d.ts +4 -0
  106. package/dist/cjs/api/resources/ais/types/UpdateAccessPolicyResponse.js +3 -0
  107. package/dist/cjs/api/resources/ais/types/UpdateAiAssetResponse.d.ts +4 -0
  108. package/dist/cjs/api/resources/ais/types/UpdateAiAssetResponse.js +3 -0
  109. package/dist/cjs/api/resources/ais/types/UpdateAiMemberResponse.d.ts +4 -0
  110. package/dist/cjs/api/resources/ais/types/UpdateAiMemberResponse.js +3 -0
  111. package/dist/cjs/api/resources/ais/types/UpdateAiResponse.d.ts +4 -0
  112. package/dist/cjs/api/resources/ais/types/UpdateAiResponse.js +3 -0
  113. package/dist/cjs/api/resources/ais/types/index.d.ts +19 -0
  114. package/dist/cjs/api/resources/ais/types/index.js +35 -0
  115. package/dist/cjs/api/resources/applications/client/Client.d.ts +317 -0
  116. package/dist/cjs/api/resources/applications/client/Client.js +1063 -0
  117. package/dist/cjs/api/resources/applications/client/index.d.ts +1 -0
  118. package/dist/cjs/api/resources/applications/client/index.js +17 -0
  119. package/dist/cjs/api/resources/applications/client/requests/ArchiveApplicationRequest.d.ts +9 -0
  120. package/dist/cjs/api/resources/applications/client/requests/ArchiveApplicationRequest.js +3 -0
  121. package/dist/cjs/api/resources/applications/client/requests/CreateApplicationRequest.d.ts +30 -0
  122. package/dist/cjs/api/resources/applications/client/requests/CreateApplicationRequest.js +16 -0
  123. package/dist/cjs/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.d.ts +31 -0
  124. package/dist/cjs/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.js +16 -0
  125. package/dist/cjs/api/resources/applications/client/requests/CreateServiceAccountRequest.d.ts +54 -0
  126. package/dist/cjs/api/resources/applications/client/requests/CreateServiceAccountRequest.js +45 -0
  127. package/dist/cjs/api/resources/applications/client/requests/FundApplicationWalletRequest.d.ts +18 -0
  128. package/dist/cjs/api/resources/applications/client/requests/FundApplicationWalletRequest.js +3 -0
  129. package/dist/cjs/api/resources/applications/client/requests/GetApplicationRequest.d.ts +9 -0
  130. package/dist/cjs/api/resources/applications/client/requests/GetApplicationRequest.js +3 -0
  131. package/dist/cjs/api/resources/applications/client/requests/GetApplicationWalletRequest.d.ts +9 -0
  132. package/dist/cjs/api/resources/applications/client/requests/GetApplicationWalletRequest.js +3 -0
  133. package/dist/cjs/api/resources/applications/client/requests/LinkApplicationAiRequest.d.ts +16 -0
  134. package/dist/cjs/api/resources/applications/client/requests/LinkApplicationAiRequest.js +3 -0
  135. package/dist/cjs/api/resources/applications/client/requests/ListApplicationAIsRequest.d.ts +9 -0
  136. package/dist/cjs/api/resources/applications/client/requests/ListApplicationAIsRequest.js +3 -0
  137. package/dist/cjs/api/resources/applications/client/requests/ListEnrollmentLinksRequest.d.ts +9 -0
  138. package/dist/cjs/api/resources/applications/client/requests/ListEnrollmentLinksRequest.js +3 -0
  139. package/dist/cjs/api/resources/applications/client/requests/ListServiceAccountsRequest.d.ts +9 -0
  140. package/dist/cjs/api/resources/applications/client/requests/ListServiceAccountsRequest.js +3 -0
  141. package/dist/cjs/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.d.ts +11 -0
  142. package/dist/cjs/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.js +3 -0
  143. package/dist/cjs/api/resources/applications/client/requests/RevokeServiceAccountRequest.d.ts +11 -0
  144. package/dist/cjs/api/resources/applications/client/requests/RevokeServiceAccountRequest.js +3 -0
  145. package/dist/cjs/api/resources/applications/client/requests/UnlinkApplicationAiRequest.d.ts +11 -0
  146. package/dist/cjs/api/resources/applications/client/requests/UnlinkApplicationAiRequest.js +3 -0
  147. package/dist/cjs/api/resources/applications/client/requests/UpdateApplicationRequest.d.ts +31 -0
  148. package/dist/cjs/api/resources/applications/client/requests/UpdateApplicationRequest.js +16 -0
  149. package/dist/cjs/api/resources/applications/client/requests/index.d.ts +15 -0
  150. package/dist/cjs/api/resources/applications/client/requests/index.js +11 -0
  151. package/dist/cjs/api/resources/applications/exports.d.ts +2 -0
  152. package/dist/cjs/api/resources/applications/exports.js +21 -0
  153. package/dist/cjs/api/resources/applications/index.d.ts +2 -0
  154. package/dist/cjs/api/resources/applications/index.js +18 -0
  155. package/dist/cjs/api/resources/applications/types/ArchiveApplicationResponse.d.ts +4 -0
  156. package/dist/cjs/api/resources/applications/types/ArchiveApplicationResponse.js +3 -0
  157. package/dist/cjs/api/resources/applications/types/CreateApplicationResponse.d.ts +4 -0
  158. package/dist/cjs/api/resources/applications/types/CreateApplicationResponse.js +3 -0
  159. package/dist/cjs/api/resources/applications/types/CreateEnrollmentLinkResponse.d.ts +4 -0
  160. package/dist/cjs/api/resources/applications/types/CreateEnrollmentLinkResponse.js +3 -0
  161. package/dist/cjs/api/resources/applications/types/CreateServiceAccountResponse.d.ts +4 -0
  162. package/dist/cjs/api/resources/applications/types/CreateServiceAccountResponse.js +3 -0
  163. package/dist/cjs/api/resources/applications/types/FundApplicationWalletResponse.d.ts +4 -0
  164. package/dist/cjs/api/resources/applications/types/FundApplicationWalletResponse.js +3 -0
  165. package/dist/cjs/api/resources/applications/types/GetApplicationResponse.d.ts +4 -0
  166. package/dist/cjs/api/resources/applications/types/GetApplicationResponse.js +3 -0
  167. package/dist/cjs/api/resources/applications/types/GetApplicationWalletResponse.d.ts +4 -0
  168. package/dist/cjs/api/resources/applications/types/GetApplicationWalletResponse.js +3 -0
  169. package/dist/cjs/api/resources/applications/types/LinkApplicationAiResponse.d.ts +4 -0
  170. package/dist/cjs/api/resources/applications/types/LinkApplicationAiResponse.js +3 -0
  171. package/dist/cjs/api/resources/applications/types/ListApplicationAIsResponse.d.ts +4 -0
  172. package/dist/cjs/api/resources/applications/types/ListApplicationAIsResponse.js +3 -0
  173. package/dist/cjs/api/resources/applications/types/ListApplicationsResponse.d.ts +4 -0
  174. package/dist/cjs/api/resources/applications/types/ListApplicationsResponse.js +3 -0
  175. package/dist/cjs/api/resources/applications/types/ListEnrollmentLinksResponse.d.ts +4 -0
  176. package/dist/cjs/api/resources/applications/types/ListEnrollmentLinksResponse.js +3 -0
  177. package/dist/cjs/api/resources/applications/types/ListServiceAccountsResponse.d.ts +4 -0
  178. package/dist/cjs/api/resources/applications/types/ListServiceAccountsResponse.js +3 -0
  179. package/dist/cjs/api/resources/applications/types/RevokeEnrollmentLinkResponse.d.ts +4 -0
  180. package/dist/cjs/api/resources/applications/types/RevokeEnrollmentLinkResponse.js +3 -0
  181. package/dist/cjs/api/resources/applications/types/RevokeServiceAccountResponse.d.ts +4 -0
  182. package/dist/cjs/api/resources/applications/types/RevokeServiceAccountResponse.js +3 -0
  183. package/dist/cjs/api/resources/applications/types/UnlinkApplicationAiResponse.d.ts +4 -0
  184. package/dist/cjs/api/resources/applications/types/UnlinkApplicationAiResponse.js +3 -0
  185. package/dist/cjs/api/resources/applications/types/UpdateApplicationResponse.d.ts +4 -0
  186. package/dist/cjs/api/resources/applications/types/UpdateApplicationResponse.js +3 -0
  187. package/dist/cjs/api/resources/applications/types/index.d.ts +16 -0
  188. package/dist/cjs/api/resources/applications/types/index.js +32 -0
  189. package/dist/cjs/api/resources/billing/client/Client.d.ts +184 -0
  190. package/dist/cjs/api/resources/billing/client/Client.js +598 -0
  191. package/dist/cjs/api/resources/billing/client/index.d.ts +1 -0
  192. package/dist/cjs/api/resources/billing/client/index.js +17 -0
  193. package/dist/cjs/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.d.ts +12 -0
  194. package/dist/cjs/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.js +3 -0
  195. package/dist/cjs/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.d.ts +9 -0
  196. package/dist/cjs/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.js +3 -0
  197. package/dist/cjs/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.d.ts +17 -0
  198. package/dist/cjs/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.js +3 -0
  199. package/dist/cjs/api/resources/billing/client/requests/GetAiBillingSummaryRequest.d.ts +10 -0
  200. package/dist/cjs/api/resources/billing/client/requests/GetAiBillingSummaryRequest.js +3 -0
  201. package/dist/cjs/api/resources/billing/client/requests/ListAiBillingActivityRequest.d.ts +11 -0
  202. package/dist/cjs/api/resources/billing/client/requests/ListAiBillingActivityRequest.js +3 -0
  203. package/dist/cjs/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.d.ts +14 -0
  204. package/dist/cjs/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.js +3 -0
  205. package/dist/cjs/api/resources/billing/client/requests/UpdateMoneySettingsRequest.d.ts +20 -0
  206. package/dist/cjs/api/resources/billing/client/requests/UpdateMoneySettingsRequest.js +11 -0
  207. package/dist/cjs/api/resources/billing/client/requests/WalletTopupRequest.d.ts +15 -0
  208. package/dist/cjs/api/resources/billing/client/requests/WalletTopupRequest.js +3 -0
  209. package/dist/cjs/api/resources/billing/client/requests/index.d.ts +8 -0
  210. package/dist/cjs/api/resources/billing/client/requests/index.js +5 -0
  211. package/dist/cjs/api/resources/billing/exports.d.ts +2 -0
  212. package/dist/cjs/api/resources/billing/exports.js +21 -0
  213. package/dist/cjs/api/resources/billing/index.d.ts +1 -0
  214. package/dist/cjs/api/resources/billing/index.js +17 -0
  215. package/dist/cjs/api/resources/connections/client/Client.d.ts +118 -0
  216. package/dist/cjs/api/resources/connections/client/Client.js +398 -0
  217. package/dist/cjs/api/resources/connections/client/index.d.ts +1 -0
  218. package/dist/cjs/api/resources/connections/client/index.js +17 -0
  219. package/dist/cjs/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.d.ts +11 -0
  220. package/dist/cjs/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.js +3 -0
  221. package/dist/cjs/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.d.ts +13 -0
  222. package/dist/cjs/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.js +3 -0
  223. package/dist/cjs/api/resources/connections/client/requests/DisableConnectionGrantRequest.d.ts +13 -0
  224. package/dist/cjs/api/resources/connections/client/requests/DisableConnectionGrantRequest.js +3 -0
  225. package/dist/cjs/api/resources/connections/client/requests/ListAiConnectionsRequest.d.ts +9 -0
  226. package/dist/cjs/api/resources/connections/client/requests/ListAiConnectionsRequest.js +3 -0
  227. package/dist/cjs/api/resources/connections/client/requests/RemoveAiConnectionRequest.d.ts +11 -0
  228. package/dist/cjs/api/resources/connections/client/requests/RemoveAiConnectionRequest.js +3 -0
  229. package/dist/cjs/api/resources/connections/client/requests/index.d.ts +5 -0
  230. package/dist/cjs/api/resources/connections/client/requests/index.js +2 -0
  231. package/dist/cjs/api/resources/connections/exports.d.ts +2 -0
  232. package/dist/cjs/api/resources/connections/exports.js +21 -0
  233. package/dist/cjs/api/resources/connections/index.d.ts +2 -0
  234. package/dist/cjs/api/resources/connections/index.js +18 -0
  235. package/dist/cjs/api/resources/connections/types/ListAiConnectionsResponse.d.ts +4 -0
  236. package/dist/cjs/api/resources/connections/types/ListAiConnectionsResponse.js +3 -0
  237. package/dist/cjs/api/resources/connections/types/index.d.ts +1 -0
  238. package/dist/cjs/api/resources/connections/types/index.js +17 -0
  239. package/dist/cjs/api/resources/conversations/client/Client.d.ts +125 -0
  240. package/dist/cjs/api/resources/conversations/client/Client.js +457 -0
  241. package/dist/cjs/api/resources/conversations/client/index.d.ts +1 -0
  242. package/dist/cjs/api/resources/conversations/client/index.js +17 -0
  243. package/dist/cjs/api/resources/conversations/client/requests/CreateAiConversationRequest.d.ts +9 -0
  244. package/dist/cjs/api/resources/conversations/client/requests/CreateAiConversationRequest.js +3 -0
  245. package/dist/cjs/api/resources/conversations/client/requests/CreateAiMessageRequest.d.ts +11 -0
  246. package/dist/cjs/api/resources/conversations/client/requests/CreateAiMessageRequest.js +3 -0
  247. package/dist/cjs/api/resources/conversations/client/requests/CreateConversationMessageRequest.d.ts +12 -0
  248. package/dist/cjs/api/resources/conversations/client/requests/CreateConversationMessageRequest.js +3 -0
  249. package/dist/cjs/api/resources/conversations/client/requests/GetConversationRequest.d.ts +11 -0
  250. package/dist/cjs/api/resources/conversations/client/requests/GetConversationRequest.js +3 -0
  251. package/dist/cjs/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.d.ts +10 -0
  252. package/dist/cjs/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.js +3 -0
  253. package/dist/cjs/api/resources/conversations/client/requests/ListAiConversationsRequest.d.ts +9 -0
  254. package/dist/cjs/api/resources/conversations/client/requests/ListAiConversationsRequest.js +3 -0
  255. package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +6 -0
  256. package/dist/cjs/api/resources/conversations/client/requests/index.js +2 -0
  257. package/dist/cjs/api/resources/conversations/exports.d.ts +2 -0
  258. package/dist/cjs/api/resources/conversations/exports.js +21 -0
  259. package/dist/cjs/api/resources/conversations/index.d.ts +2 -0
  260. package/dist/cjs/api/resources/conversations/index.js +18 -0
  261. package/dist/cjs/api/resources/conversations/types/ListAiConversationsResponse.d.ts +4 -0
  262. package/dist/cjs/api/resources/conversations/types/ListAiConversationsResponse.js +3 -0
  263. package/dist/cjs/api/resources/conversations/types/index.d.ts +1 -0
  264. package/dist/cjs/api/resources/conversations/types/index.js +17 -0
  265. package/dist/cjs/api/resources/deals/client/Client.d.ts +130 -0
  266. package/dist/cjs/api/resources/deals/client/Client.js +455 -0
  267. package/dist/cjs/api/resources/deals/client/index.d.ts +1 -0
  268. package/dist/cjs/api/resources/deals/client/index.js +17 -0
  269. package/dist/cjs/api/resources/deals/client/requests/CreateDealRequest.d.ts +37 -0
  270. package/dist/cjs/api/resources/deals/client/requests/CreateDealRequest.js +16 -0
  271. package/dist/cjs/api/resources/deals/client/requests/DealActionRequest.d.ts +20 -0
  272. package/dist/cjs/api/resources/deals/client/requests/DealActionRequest.js +13 -0
  273. package/dist/cjs/api/resources/deals/client/requests/GetDealRequest.d.ts +9 -0
  274. package/dist/cjs/api/resources/deals/client/requests/GetDealRequest.js +3 -0
  275. package/dist/cjs/api/resources/deals/client/requests/ListDealPaymentsRequest.d.ts +9 -0
  276. package/dist/cjs/api/resources/deals/client/requests/ListDealPaymentsRequest.js +3 -0
  277. package/dist/cjs/api/resources/deals/client/requests/ListDealsRequest.d.ts +8 -0
  278. package/dist/cjs/api/resources/deals/client/requests/ListDealsRequest.js +3 -0
  279. package/dist/cjs/api/resources/deals/client/requests/UpdateDealRequest.d.ts +15 -0
  280. package/dist/cjs/api/resources/deals/client/requests/UpdateDealRequest.js +3 -0
  281. package/dist/cjs/api/resources/deals/client/requests/index.d.ts +6 -0
  282. package/dist/cjs/api/resources/deals/client/requests/index.js +7 -0
  283. package/dist/cjs/api/resources/deals/exports.d.ts +2 -0
  284. package/dist/cjs/api/resources/deals/exports.js +21 -0
  285. package/dist/cjs/api/resources/deals/index.d.ts +2 -0
  286. package/dist/cjs/api/resources/deals/index.js +18 -0
  287. package/dist/cjs/api/resources/deals/types/ActOnDealResponse.d.ts +4 -0
  288. package/dist/cjs/api/resources/deals/types/ActOnDealResponse.js +3 -0
  289. package/dist/cjs/api/resources/deals/types/CreateDealResponse.d.ts +4 -0
  290. package/dist/cjs/api/resources/deals/types/CreateDealResponse.js +3 -0
  291. package/dist/cjs/api/resources/deals/types/GetDealResponse.d.ts +4 -0
  292. package/dist/cjs/api/resources/deals/types/GetDealResponse.js +3 -0
  293. package/dist/cjs/api/resources/deals/types/ListDealPaymentsResponse.d.ts +4 -0
  294. package/dist/cjs/api/resources/deals/types/ListDealPaymentsResponse.js +3 -0
  295. package/dist/cjs/api/resources/deals/types/ListDealsResponse.d.ts +4 -0
  296. package/dist/cjs/api/resources/deals/types/ListDealsResponse.js +3 -0
  297. package/dist/cjs/api/resources/deals/types/UpdateDealResponse.d.ts +4 -0
  298. package/dist/cjs/api/resources/deals/types/UpdateDealResponse.js +3 -0
  299. package/dist/cjs/api/resources/deals/types/index.d.ts +6 -0
  300. package/dist/cjs/api/resources/deals/types/index.js +22 -0
  301. package/dist/cjs/api/resources/deployment/client/Client.d.ts +56 -0
  302. package/dist/cjs/api/resources/deployment/client/Client.js +204 -0
  303. package/dist/cjs/api/resources/deployment/client/index.d.ts +1 -0
  304. package/dist/cjs/api/resources/deployment/client/index.js +17 -0
  305. package/dist/cjs/api/resources/deployment/client/requests/CreateAiDeploymentRequest.d.ts +24 -0
  306. package/dist/cjs/api/resources/deployment/client/requests/CreateAiDeploymentRequest.js +12 -0
  307. package/dist/cjs/api/resources/deployment/client/requests/GetAiDeploymentRequest.d.ts +9 -0
  308. package/dist/cjs/api/resources/deployment/client/requests/GetAiDeploymentRequest.js +3 -0
  309. package/dist/cjs/api/resources/deployment/client/requests/index.d.ts +2 -0
  310. package/dist/cjs/api/resources/deployment/client/requests/index.js +5 -0
  311. package/dist/cjs/api/resources/deployment/exports.d.ts +2 -0
  312. package/dist/cjs/api/resources/deployment/exports.js +21 -0
  313. package/dist/cjs/api/resources/deployment/index.d.ts +2 -0
  314. package/dist/cjs/api/resources/deployment/index.js +18 -0
  315. package/dist/cjs/api/resources/deployment/types/CreateAiDeploymentRequestResponse.d.ts +4 -0
  316. package/dist/cjs/api/resources/deployment/types/CreateAiDeploymentRequestResponse.js +3 -0
  317. package/dist/cjs/api/resources/deployment/types/GetAiDeploymentResponse.d.ts +4 -0
  318. package/dist/cjs/api/resources/deployment/types/GetAiDeploymentResponse.js +3 -0
  319. package/dist/cjs/api/resources/deployment/types/index.d.ts +2 -0
  320. package/dist/cjs/api/resources/deployment/types/index.js +18 -0
  321. package/dist/cjs/api/resources/enrollment/client/Client.d.ts +56 -0
  322. package/dist/cjs/api/resources/enrollment/client/Client.js +209 -0
  323. package/dist/cjs/api/resources/enrollment/client/index.d.ts +1 -0
  324. package/dist/cjs/api/resources/enrollment/client/index.js +17 -0
  325. package/dist/cjs/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.d.ts +12 -0
  326. package/dist/cjs/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.js +3 -0
  327. package/dist/cjs/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.d.ts +13 -0
  328. package/dist/cjs/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.js +3 -0
  329. package/dist/cjs/api/resources/enrollment/client/requests/index.d.ts +2 -0
  330. package/dist/cjs/api/resources/enrollment/client/requests/index.js +2 -0
  331. package/dist/cjs/api/resources/enrollment/exports.d.ts +2 -0
  332. package/dist/cjs/api/resources/enrollment/exports.js +21 -0
  333. package/dist/cjs/api/resources/enrollment/index.d.ts +1 -0
  334. package/dist/cjs/api/resources/enrollment/index.js +17 -0
  335. package/dist/cjs/api/resources/ephemeralGoals/client/Client.d.ts +104 -0
  336. package/dist/cjs/api/resources/ephemeralGoals/client/Client.js +336 -0
  337. package/dist/cjs/api/resources/ephemeralGoals/client/index.d.ts +1 -0
  338. package/dist/cjs/api/resources/ephemeralGoals/client/index.js +17 -0
  339. package/dist/cjs/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.d.ts +11 -0
  340. package/dist/cjs/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.js +3 -0
  341. package/dist/cjs/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.d.ts +29 -0
  342. package/dist/cjs/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.js +3 -0
  343. package/dist/cjs/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.d.ts +19 -0
  344. package/dist/cjs/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.js +10 -0
  345. package/dist/cjs/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.d.ts +11 -0
  346. package/dist/cjs/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.js +3 -0
  347. package/dist/cjs/api/resources/ephemeralGoals/client/requests/index.d.ts +4 -0
  348. package/dist/cjs/api/resources/ephemeralGoals/client/requests/index.js +5 -0
  349. package/dist/cjs/api/resources/ephemeralGoals/exports.d.ts +2 -0
  350. package/dist/cjs/api/resources/ephemeralGoals/exports.js +21 -0
  351. package/dist/cjs/api/resources/ephemeralGoals/index.d.ts +2 -0
  352. package/dist/cjs/api/resources/ephemeralGoals/index.js +18 -0
  353. package/dist/cjs/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.d.ts +4 -0
  354. package/dist/cjs/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.js +3 -0
  355. package/dist/cjs/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.d.ts +4 -0
  356. package/dist/cjs/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.js +3 -0
  357. package/dist/cjs/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.d.ts +4 -0
  358. package/dist/cjs/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.js +3 -0
  359. package/dist/cjs/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.d.ts +4 -0
  360. package/dist/cjs/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.js +3 -0
  361. package/dist/cjs/api/resources/ephemeralGoals/types/index.d.ts +4 -0
  362. package/dist/cjs/api/resources/ephemeralGoals/types/index.js +20 -0
  363. package/dist/cjs/api/resources/goals/client/Client.d.ts +131 -0
  364. package/dist/cjs/api/resources/goals/client/Client.js +456 -0
  365. package/dist/cjs/api/resources/goals/client/index.d.ts +1 -0
  366. package/dist/cjs/api/resources/goals/client/index.js +17 -0
  367. package/dist/cjs/api/resources/goals/client/requests/ActOnGoalRequest.d.ts +14 -0
  368. package/dist/cjs/api/resources/goals/client/requests/ActOnGoalRequest.js +3 -0
  369. package/dist/cjs/api/resources/goals/client/requests/GetGoalRequest.d.ts +11 -0
  370. package/dist/cjs/api/resources/goals/client/requests/GetGoalRequest.js +3 -0
  371. package/dist/cjs/api/resources/goals/client/requests/ListGoalsRequest.d.ts +11 -0
  372. package/dist/cjs/api/resources/goals/client/requests/ListGoalsRequest.js +3 -0
  373. package/dist/cjs/api/resources/goals/client/requests/RequestGoalPublicationRequest.d.ts +12 -0
  374. package/dist/cjs/api/resources/goals/client/requests/RequestGoalPublicationRequest.js +3 -0
  375. package/dist/cjs/api/resources/goals/client/requests/UpdateGoalBody.d.ts +12 -0
  376. package/dist/cjs/api/resources/goals/client/requests/UpdateGoalBody.js +3 -0
  377. package/dist/cjs/api/resources/goals/client/requests/index.d.ts +5 -0
  378. package/dist/cjs/api/resources/goals/client/requests/index.js +2 -0
  379. package/dist/cjs/api/resources/goals/exports.d.ts +2 -0
  380. package/dist/cjs/api/resources/goals/exports.js +21 -0
  381. package/dist/cjs/api/resources/goals/index.d.ts +2 -0
  382. package/dist/cjs/api/resources/goals/index.js +18 -0
  383. package/dist/cjs/api/resources/goals/types/ActOnGoalResponse.d.ts +4 -0
  384. package/dist/cjs/api/resources/goals/types/ActOnGoalResponse.js +3 -0
  385. package/dist/cjs/api/resources/goals/types/CreateGoalResponse.d.ts +4 -0
  386. package/dist/cjs/api/resources/goals/types/CreateGoalResponse.js +3 -0
  387. package/dist/cjs/api/resources/goals/types/GetGoalResponse.d.ts +4 -0
  388. package/dist/cjs/api/resources/goals/types/GetGoalResponse.js +3 -0
  389. package/dist/cjs/api/resources/goals/types/ListGoalsResponse.d.ts +4 -0
  390. package/dist/cjs/api/resources/goals/types/ListGoalsResponse.js +3 -0
  391. package/dist/cjs/api/resources/goals/types/UpdateGoalResponse.d.ts +4 -0
  392. package/dist/cjs/api/resources/goals/types/UpdateGoalResponse.js +3 -0
  393. package/dist/cjs/api/resources/goals/types/index.d.ts +5 -0
  394. package/dist/cjs/api/resources/goals/types/index.js +21 -0
  395. package/dist/cjs/api/resources/index.d.ts +71 -0
  396. package/dist/cjs/api/resources/index.js +110 -0
  397. package/dist/cjs/api/resources/integrations/client/Client.d.ts +51 -0
  398. package/dist/cjs/api/resources/integrations/client/Client.js +180 -0
  399. package/dist/cjs/api/resources/integrations/client/index.d.ts +1 -0
  400. package/dist/cjs/api/resources/integrations/client/index.js +17 -0
  401. package/dist/cjs/api/resources/integrations/client/requests/GetAiIntegrationsRequest.d.ts +9 -0
  402. package/dist/cjs/api/resources/integrations/client/requests/GetAiIntegrationsRequest.js +3 -0
  403. package/dist/cjs/api/resources/integrations/client/requests/index.d.ts +1 -0
  404. package/dist/cjs/api/resources/integrations/client/requests/index.js +2 -0
  405. package/dist/cjs/api/resources/integrations/exports.d.ts +2 -0
  406. package/dist/cjs/api/resources/integrations/exports.js +21 -0
  407. package/dist/cjs/api/resources/integrations/index.d.ts +1 -0
  408. package/dist/cjs/api/resources/integrations/index.js +17 -0
  409. package/dist/cjs/api/resources/listings/client/Client.d.ts +161 -0
  410. package/dist/cjs/api/resources/listings/client/Client.js +544 -0
  411. package/dist/cjs/api/resources/listings/client/index.d.ts +1 -0
  412. package/dist/cjs/api/resources/listings/client/index.js +17 -0
  413. package/dist/cjs/api/resources/listings/client/requests/ArchiveListingRequest.d.ts +13 -0
  414. package/dist/cjs/api/resources/listings/client/requests/ArchiveListingRequest.js +3 -0
  415. package/dist/cjs/api/resources/listings/client/requests/BatchUpsertListingsRequest.d.ts +15 -0
  416. package/dist/cjs/api/resources/listings/client/requests/BatchUpsertListingsRequest.js +3 -0
  417. package/dist/cjs/api/resources/listings/client/requests/CreateListingBody.d.ts +15 -0
  418. package/dist/cjs/api/resources/listings/client/requests/CreateListingBody.js +3 -0
  419. package/dist/cjs/api/resources/listings/client/requests/CreateListingImportRequest.d.ts +25 -0
  420. package/dist/cjs/api/resources/listings/client/requests/CreateListingImportRequest.js +11 -0
  421. package/dist/cjs/api/resources/listings/client/requests/GetListingRequest.d.ts +11 -0
  422. package/dist/cjs/api/resources/listings/client/requests/GetListingRequest.js +3 -0
  423. package/dist/cjs/api/resources/listings/client/requests/ListListingsRequest.d.ts +16 -0
  424. package/dist/cjs/api/resources/listings/client/requests/ListListingsRequest.js +3 -0
  425. package/dist/cjs/api/resources/listings/client/requests/UpdateListingRequest.d.ts +32 -0
  426. package/dist/cjs/api/resources/listings/client/requests/UpdateListingRequest.js +3 -0
  427. package/dist/cjs/api/resources/listings/client/requests/index.d.ts +7 -0
  428. package/dist/cjs/api/resources/listings/client/requests/index.js +5 -0
  429. package/dist/cjs/api/resources/listings/exports.d.ts +2 -0
  430. package/dist/cjs/api/resources/listings/exports.js +21 -0
  431. package/dist/cjs/api/resources/listings/index.d.ts +2 -0
  432. package/dist/cjs/api/resources/listings/index.js +18 -0
  433. package/dist/cjs/api/resources/listings/types/ArchiveListingResponse.d.ts +4 -0
  434. package/dist/cjs/api/resources/listings/types/ArchiveListingResponse.js +3 -0
  435. package/dist/cjs/api/resources/listings/types/BatchUpsertListingsResponse.d.ts +3 -0
  436. package/dist/cjs/api/resources/listings/types/BatchUpsertListingsResponse.js +3 -0
  437. package/dist/cjs/api/resources/listings/types/CreateListingImportResponse.d.ts +4 -0
  438. package/dist/cjs/api/resources/listings/types/CreateListingImportResponse.js +3 -0
  439. package/dist/cjs/api/resources/listings/types/CreateListingResponse.d.ts +4 -0
  440. package/dist/cjs/api/resources/listings/types/CreateListingResponse.js +3 -0
  441. package/dist/cjs/api/resources/listings/types/GetListingResponse.d.ts +4 -0
  442. package/dist/cjs/api/resources/listings/types/GetListingResponse.js +3 -0
  443. package/dist/cjs/api/resources/listings/types/ListListingsResponse.d.ts +5 -0
  444. package/dist/cjs/api/resources/listings/types/ListListingsResponse.js +3 -0
  445. package/dist/cjs/api/resources/listings/types/UpdateListingResponse.d.ts +4 -0
  446. package/dist/cjs/api/resources/listings/types/UpdateListingResponse.js +3 -0
  447. package/dist/cjs/api/resources/listings/types/index.d.ts +7 -0
  448. package/dist/cjs/api/resources/listings/types/index.js +23 -0
  449. package/dist/cjs/api/resources/network/client/Client.d.ts +56 -0
  450. package/dist/cjs/api/resources/network/client/Client.js +198 -0
  451. package/dist/cjs/api/resources/network/client/index.d.ts +1 -0
  452. package/dist/cjs/api/resources/network/client/index.js +17 -0
  453. package/dist/cjs/api/resources/network/client/requests/BrowseNetworkRequest.d.ts +11 -0
  454. package/dist/cjs/api/resources/network/client/requests/BrowseNetworkRequest.js +3 -0
  455. package/dist/cjs/api/resources/network/client/requests/GetNetworkAiRequest.d.ts +10 -0
  456. package/dist/cjs/api/resources/network/client/requests/GetNetworkAiRequest.js +3 -0
  457. package/dist/cjs/api/resources/network/client/requests/index.d.ts +2 -0
  458. package/dist/cjs/api/resources/network/client/requests/index.js +2 -0
  459. package/dist/cjs/api/resources/network/exports.d.ts +2 -0
  460. package/dist/cjs/api/resources/network/exports.js +21 -0
  461. package/dist/cjs/api/resources/network/index.d.ts +1 -0
  462. package/dist/cjs/api/resources/network/index.js +17 -0
  463. package/dist/cjs/api/resources/notifications/client/Client.d.ts +34 -0
  464. package/dist/cjs/api/resources/notifications/client/Client.js +122 -0
  465. package/dist/cjs/api/resources/notifications/client/index.d.ts +1 -0
  466. package/dist/cjs/api/resources/notifications/client/index.js +17 -0
  467. package/dist/cjs/api/resources/notifications/client/requests/GetAiNotificationsRequest.d.ts +9 -0
  468. package/dist/cjs/api/resources/notifications/client/requests/GetAiNotificationsRequest.js +3 -0
  469. package/dist/cjs/api/resources/notifications/client/requests/index.d.ts +1 -0
  470. package/dist/cjs/api/resources/notifications/client/requests/index.js +2 -0
  471. package/dist/cjs/api/resources/notifications/exports.d.ts +2 -0
  472. package/dist/cjs/api/resources/notifications/exports.js +21 -0
  473. package/dist/cjs/api/resources/notifications/index.d.ts +1 -0
  474. package/dist/cjs/api/resources/notifications/index.js +17 -0
  475. package/dist/cjs/api/resources/outcomes/client/Client.d.ts +72 -0
  476. package/dist/cjs/api/resources/outcomes/client/Client.js +266 -0
  477. package/dist/cjs/api/resources/outcomes/client/index.d.ts +1 -0
  478. package/dist/cjs/api/resources/outcomes/client/index.js +17 -0
  479. package/dist/cjs/api/resources/outcomes/client/requests/GetOutcomeRequest.d.ts +9 -0
  480. package/dist/cjs/api/resources/outcomes/client/requests/GetOutcomeRequest.js +3 -0
  481. package/dist/cjs/api/resources/outcomes/client/requests/ListOutcomesRequest.d.ts +8 -0
  482. package/dist/cjs/api/resources/outcomes/client/requests/ListOutcomesRequest.js +3 -0
  483. package/dist/cjs/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.d.ts +16 -0
  484. package/dist/cjs/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.js +3 -0
  485. package/dist/cjs/api/resources/outcomes/client/requests/index.d.ts +3 -0
  486. package/dist/cjs/api/resources/outcomes/client/requests/index.js +2 -0
  487. package/dist/cjs/api/resources/outcomes/exports.d.ts +2 -0
  488. package/dist/cjs/api/resources/outcomes/exports.js +21 -0
  489. package/dist/cjs/api/resources/outcomes/index.d.ts +2 -0
  490. package/dist/cjs/api/resources/outcomes/index.js +18 -0
  491. package/dist/cjs/api/resources/outcomes/types/GetOutcomeResponse.d.ts +4 -0
  492. package/dist/cjs/api/resources/outcomes/types/GetOutcomeResponse.js +3 -0
  493. package/dist/cjs/api/resources/outcomes/types/ListOutcomesResponse.d.ts +4 -0
  494. package/dist/cjs/api/resources/outcomes/types/ListOutcomesResponse.js +3 -0
  495. package/dist/cjs/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.d.ts +4 -0
  496. package/dist/cjs/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.js +3 -0
  497. package/dist/cjs/api/resources/outcomes/types/index.d.ts +3 -0
  498. package/dist/cjs/api/resources/outcomes/types/index.js +19 -0
  499. package/dist/cjs/api/resources/permissions/client/Client.d.ts +34 -0
  500. package/dist/cjs/api/resources/permissions/client/Client.js +122 -0
  501. package/dist/cjs/api/resources/permissions/client/index.d.ts +1 -0
  502. package/dist/cjs/api/resources/permissions/client/index.js +17 -0
  503. package/dist/cjs/api/resources/permissions/client/requests/GetAiPermissionsRequest.d.ts +9 -0
  504. package/dist/cjs/api/resources/permissions/client/requests/GetAiPermissionsRequest.js +3 -0
  505. package/dist/cjs/api/resources/permissions/client/requests/index.d.ts +1 -0
  506. package/dist/cjs/api/resources/permissions/client/requests/index.js +2 -0
  507. package/dist/cjs/api/resources/permissions/exports.d.ts +2 -0
  508. package/dist/cjs/api/resources/permissions/exports.js +21 -0
  509. package/dist/cjs/api/resources/permissions/index.d.ts +2 -0
  510. package/dist/cjs/api/resources/permissions/index.js +18 -0
  511. package/dist/cjs/api/resources/permissions/types/GetAiPermissionsResponse.d.ts +4 -0
  512. package/dist/cjs/api/resources/permissions/types/GetAiPermissionsResponse.js +3 -0
  513. package/dist/cjs/api/resources/permissions/types/index.d.ts +1 -0
  514. package/dist/cjs/api/resources/permissions/types/index.js +17 -0
  515. package/dist/cjs/api/resources/reputation/client/Client.d.ts +36 -0
  516. package/dist/cjs/api/resources/reputation/client/Client.js +124 -0
  517. package/dist/cjs/api/resources/reputation/client/index.d.ts +1 -0
  518. package/dist/cjs/api/resources/reputation/client/index.js +17 -0
  519. package/dist/cjs/api/resources/reputation/client/requests/GetAiReputationRequest.d.ts +9 -0
  520. package/dist/cjs/api/resources/reputation/client/requests/GetAiReputationRequest.js +3 -0
  521. package/dist/cjs/api/resources/reputation/client/requests/index.d.ts +1 -0
  522. package/dist/cjs/api/resources/reputation/client/requests/index.js +2 -0
  523. package/dist/cjs/api/resources/reputation/exports.d.ts +2 -0
  524. package/dist/cjs/api/resources/reputation/exports.js +21 -0
  525. package/dist/cjs/api/resources/reputation/index.d.ts +2 -0
  526. package/dist/cjs/api/resources/reputation/index.js +18 -0
  527. package/dist/cjs/api/resources/reputation/types/GetAiReputationResponse.d.ts +4 -0
  528. package/dist/cjs/api/resources/reputation/types/GetAiReputationResponse.js +3 -0
  529. package/dist/cjs/api/resources/reputation/types/index.d.ts +1 -0
  530. package/dist/cjs/api/resources/reputation/types/index.js +17 -0
  531. package/dist/cjs/api/resources/requests/client/Client.d.ts +54 -0
  532. package/dist/cjs/api/resources/requests/client/Client.js +207 -0
  533. package/dist/cjs/api/resources/requests/client/index.d.ts +1 -0
  534. package/dist/cjs/api/resources/requests/client/index.js +17 -0
  535. package/dist/cjs/api/resources/requests/client/requests/ListRequestsRequest.d.ts +9 -0
  536. package/dist/cjs/api/resources/requests/client/requests/ListRequestsRequest.js +3 -0
  537. package/dist/cjs/api/resources/requests/client/requests/RequestActionRequest.d.ts +25 -0
  538. package/dist/cjs/api/resources/requests/client/requests/RequestActionRequest.js +11 -0
  539. package/dist/cjs/api/resources/requests/client/requests/index.d.ts +2 -0
  540. package/dist/cjs/api/resources/requests/client/requests/index.js +5 -0
  541. package/dist/cjs/api/resources/requests/exports.d.ts +2 -0
  542. package/dist/cjs/api/resources/requests/exports.js +21 -0
  543. package/dist/cjs/api/resources/requests/index.d.ts +2 -0
  544. package/dist/cjs/api/resources/requests/index.js +18 -0
  545. package/dist/cjs/api/resources/requests/types/ActOnRequestResponse.d.ts +4 -0
  546. package/dist/cjs/api/resources/requests/types/ActOnRequestResponse.js +3 -0
  547. package/dist/cjs/api/resources/requests/types/ListRequestsResponse.d.ts +4 -0
  548. package/dist/cjs/api/resources/requests/types/ListRequestsResponse.js +3 -0
  549. package/dist/cjs/api/resources/requests/types/index.d.ts +2 -0
  550. package/dist/cjs/api/resources/requests/types/index.js +18 -0
  551. package/dist/cjs/api/resources/skills/client/Client.d.ts +91 -0
  552. package/dist/cjs/api/resources/skills/client/Client.js +323 -0
  553. package/dist/cjs/api/resources/skills/client/index.d.ts +1 -0
  554. package/dist/cjs/api/resources/skills/client/index.js +17 -0
  555. package/dist/cjs/api/resources/skills/client/requests/CreateAiSkillRequest.d.ts +32 -0
  556. package/dist/cjs/api/resources/skills/client/requests/CreateAiSkillRequest.js +16 -0
  557. package/dist/cjs/api/resources/skills/client/requests/DeleteAiSkillRequest.d.ts +11 -0
  558. package/dist/cjs/api/resources/skills/client/requests/DeleteAiSkillRequest.js +3 -0
  559. package/dist/cjs/api/resources/skills/client/requests/ListAiSkillsRequest.d.ts +9 -0
  560. package/dist/cjs/api/resources/skills/client/requests/ListAiSkillsRequest.js +3 -0
  561. package/dist/cjs/api/resources/skills/client/requests/UpdateAiSkillRequest.d.ts +33 -0
  562. package/dist/cjs/api/resources/skills/client/requests/UpdateAiSkillRequest.js +16 -0
  563. package/dist/cjs/api/resources/skills/client/requests/index.d.ts +4 -0
  564. package/dist/cjs/api/resources/skills/client/requests/index.js +7 -0
  565. package/dist/cjs/api/resources/skills/exports.d.ts +2 -0
  566. package/dist/cjs/api/resources/skills/exports.js +21 -0
  567. package/dist/cjs/api/resources/skills/index.d.ts +2 -0
  568. package/dist/cjs/api/resources/skills/index.js +18 -0
  569. package/dist/cjs/api/resources/skills/types/CreateAiSkillResponse.d.ts +4 -0
  570. package/dist/cjs/api/resources/skills/types/CreateAiSkillResponse.js +3 -0
  571. package/dist/cjs/api/resources/skills/types/DeleteAiSkillResponse.d.ts +4 -0
  572. package/dist/cjs/api/resources/skills/types/DeleteAiSkillResponse.js +3 -0
  573. package/dist/cjs/api/resources/skills/types/ListAiSkillsResponse.d.ts +4 -0
  574. package/dist/cjs/api/resources/skills/types/ListAiSkillsResponse.js +3 -0
  575. package/dist/cjs/api/resources/skills/types/UpdateAiSkillResponse.d.ts +4 -0
  576. package/dist/cjs/api/resources/skills/types/UpdateAiSkillResponse.js +3 -0
  577. package/dist/cjs/api/resources/skills/types/index.d.ts +4 -0
  578. package/dist/cjs/api/resources/skills/types/index.js +20 -0
  579. package/dist/cjs/api/resources/tasks/client/Client.d.ts +168 -0
  580. package/dist/cjs/api/resources/tasks/client/Client.js +538 -0
  581. package/dist/cjs/api/resources/tasks/client/index.d.ts +1 -0
  582. package/dist/cjs/api/resources/tasks/client/index.js +17 -0
  583. package/dist/cjs/api/resources/tasks/client/requests/ActOnTaskRequest.d.ts +14 -0
  584. package/dist/cjs/api/resources/tasks/client/requests/ActOnTaskRequest.js +3 -0
  585. package/dist/cjs/api/resources/tasks/client/requests/GetTaskRequest.d.ts +11 -0
  586. package/dist/cjs/api/resources/tasks/client/requests/GetTaskRequest.js +3 -0
  587. package/dist/cjs/api/resources/tasks/client/requests/ListTasksRequest.d.ts +11 -0
  588. package/dist/cjs/api/resources/tasks/client/requests/ListTasksRequest.js +3 -0
  589. package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.d.ts +12 -0
  590. package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.js +3 -0
  591. package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationRequest.d.ts +12 -0
  592. package/dist/cjs/api/resources/tasks/client/requests/RequestTaskPublicationRequest.js +3 -0
  593. package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskBody.d.ts +12 -0
  594. package/dist/cjs/api/resources/tasks/client/requests/UpdateTaskBody.js +3 -0
  595. package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +6 -0
  596. package/dist/cjs/api/resources/tasks/client/requests/index.js +2 -0
  597. package/dist/cjs/api/resources/tasks/exports.d.ts +2 -0
  598. package/dist/cjs/api/resources/tasks/exports.js +21 -0
  599. package/dist/cjs/api/resources/tasks/index.d.ts +2 -0
  600. package/dist/cjs/api/resources/tasks/index.js +18 -0
  601. package/dist/cjs/api/resources/tasks/types/ActOnTaskResponse.d.ts +4 -0
  602. package/dist/cjs/api/resources/tasks/types/ActOnTaskResponse.js +3 -0
  603. package/dist/cjs/api/resources/tasks/types/CreateTaskResponse.d.ts +4 -0
  604. package/dist/cjs/api/resources/tasks/types/CreateTaskResponse.js +3 -0
  605. package/dist/cjs/api/resources/tasks/types/GetTaskResponse.d.ts +4 -0
  606. package/dist/cjs/api/resources/tasks/types/GetTaskResponse.js +3 -0
  607. package/dist/cjs/api/resources/tasks/types/ListTasksResponse.d.ts +4 -0
  608. package/dist/cjs/api/resources/tasks/types/ListTasksResponse.js +3 -0
  609. package/dist/cjs/api/resources/tasks/types/UpdateTaskResponse.d.ts +4 -0
  610. package/dist/cjs/api/resources/tasks/types/UpdateTaskResponse.js +3 -0
  611. package/dist/cjs/api/resources/tasks/types/index.d.ts +5 -0
  612. package/dist/cjs/api/resources/tasks/types/index.js +21 -0
  613. package/dist/cjs/api/resources/tools/client/Client.d.ts +51 -0
  614. package/dist/cjs/api/resources/tools/client/Client.js +195 -0
  615. package/dist/cjs/api/resources/tools/client/index.d.ts +1 -0
  616. package/dist/cjs/api/resources/tools/client/index.js +17 -0
  617. package/dist/cjs/api/resources/tools/client/requests/ExecuteToolRequest.js +3 -0
  618. package/dist/cjs/api/resources/tools/client/requests/index.d.ts +1 -0
  619. package/dist/cjs/api/resources/tools/client/requests/index.js +2 -0
  620. package/dist/cjs/api/resources/tools/exports.d.ts +2 -0
  621. package/dist/cjs/api/resources/tools/exports.js +21 -0
  622. package/dist/cjs/api/resources/tools/index.d.ts +2 -0
  623. package/dist/cjs/api/resources/tools/index.js +18 -0
  624. package/dist/cjs/api/resources/tools/types/ListToolsResponse.d.ts +4 -0
  625. package/dist/cjs/api/resources/tools/types/ListToolsResponse.js +3 -0
  626. package/dist/cjs/api/resources/tools/types/index.d.ts +1 -0
  627. package/dist/cjs/api/resources/tools/types/index.js +17 -0
  628. package/dist/cjs/api/resources/transactions/client/Client.d.ts +93 -0
  629. package/dist/cjs/api/resources/transactions/client/Client.js +336 -0
  630. package/dist/cjs/api/resources/transactions/client/index.d.ts +1 -0
  631. package/dist/cjs/api/resources/transactions/client/index.js +17 -0
  632. package/dist/cjs/api/resources/transactions/client/requests/CreateDealTransactionRequest.d.ts +12 -0
  633. package/dist/cjs/api/resources/transactions/client/requests/CreateDealTransactionRequest.js +3 -0
  634. package/dist/cjs/api/resources/transactions/client/requests/GetTransactionRequest.d.ts +11 -0
  635. package/dist/cjs/api/resources/transactions/client/requests/GetTransactionRequest.js +3 -0
  636. package/dist/cjs/api/resources/transactions/client/requests/ListTransactionsRequest.d.ts +8 -0
  637. package/dist/cjs/api/resources/transactions/client/requests/ListTransactionsRequest.js +3 -0
  638. package/dist/cjs/api/resources/transactions/client/requests/TransactionActionRequest.d.ts +23 -0
  639. package/dist/cjs/api/resources/transactions/client/requests/TransactionActionRequest.js +11 -0
  640. package/dist/cjs/api/resources/transactions/client/requests/index.d.ts +4 -0
  641. package/dist/cjs/api/resources/transactions/client/requests/index.js +5 -0
  642. package/dist/cjs/api/resources/transactions/exports.d.ts +2 -0
  643. package/dist/cjs/api/resources/transactions/exports.js +21 -0
  644. package/dist/cjs/api/resources/transactions/index.d.ts +2 -0
  645. package/dist/cjs/api/resources/transactions/index.js +18 -0
  646. package/dist/cjs/api/resources/transactions/types/ActOnTransactionResponse.d.ts +4 -0
  647. package/dist/cjs/api/resources/transactions/types/ActOnTransactionResponse.js +3 -0
  648. package/dist/cjs/api/resources/transactions/types/GetTransactionResponse.d.ts +4 -0
  649. package/dist/cjs/api/resources/transactions/types/GetTransactionResponse.js +3 -0
  650. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponse.d.ts +4 -0
  651. package/dist/cjs/api/resources/transactions/types/ListTransactionsResponse.js +3 -0
  652. package/dist/cjs/api/resources/transactions/types/index.d.ts +3 -0
  653. package/dist/cjs/api/resources/transactions/types/index.js +19 -0
  654. package/dist/cjs/api/resources/usage/client/Client.d.ts +36 -0
  655. package/dist/cjs/api/resources/usage/client/Client.js +124 -0
  656. package/dist/cjs/api/resources/usage/client/index.d.ts +1 -0
  657. package/dist/cjs/api/resources/usage/client/index.js +17 -0
  658. package/dist/cjs/api/resources/usage/client/requests/GetAiUsageRequest.d.ts +9 -0
  659. package/dist/cjs/api/resources/usage/client/requests/GetAiUsageRequest.js +3 -0
  660. package/dist/cjs/api/resources/usage/client/requests/index.d.ts +1 -0
  661. package/dist/cjs/api/resources/usage/client/requests/index.js +2 -0
  662. package/dist/cjs/api/resources/usage/exports.d.ts +2 -0
  663. package/dist/cjs/api/resources/usage/exports.js +21 -0
  664. package/dist/cjs/api/resources/usage/index.d.ts +2 -0
  665. package/dist/cjs/api/resources/usage/index.js +18 -0
  666. package/dist/cjs/api/resources/usage/types/GetAiUsageResponse.d.ts +4 -0
  667. package/dist/cjs/api/resources/usage/types/GetAiUsageResponse.js +3 -0
  668. package/dist/cjs/api/resources/usage/types/index.d.ts +1 -0
  669. package/dist/cjs/api/resources/usage/types/index.js +17 -0
  670. package/dist/cjs/api/resources/verification/client/Client.d.ts +34 -0
  671. package/dist/cjs/api/resources/verification/client/Client.js +122 -0
  672. package/dist/cjs/api/resources/verification/client/index.d.ts +1 -0
  673. package/dist/cjs/api/resources/verification/client/index.js +17 -0
  674. package/dist/cjs/api/resources/verification/client/requests/GetAiVerificationRequest.d.ts +9 -0
  675. package/dist/cjs/api/resources/verification/client/requests/GetAiVerificationRequest.js +3 -0
  676. package/dist/cjs/api/resources/verification/client/requests/index.d.ts +1 -0
  677. package/dist/cjs/api/resources/verification/client/requests/index.js +2 -0
  678. package/dist/cjs/api/resources/verification/exports.d.ts +2 -0
  679. package/dist/cjs/api/resources/verification/exports.js +21 -0
  680. package/dist/cjs/api/resources/verification/index.d.ts +2 -0
  681. package/dist/cjs/api/resources/verification/index.js +18 -0
  682. package/dist/cjs/api/resources/verification/types/GetAiVerificationResponse.d.ts +4 -0
  683. package/dist/cjs/api/resources/verification/types/GetAiVerificationResponse.js +3 -0
  684. package/dist/cjs/api/resources/verification/types/index.d.ts +1 -0
  685. package/dist/cjs/api/resources/verification/types/index.js +17 -0
  686. package/dist/cjs/api/resources/webhooks/client/Client.d.ts +112 -0
  687. package/dist/cjs/api/resources/webhooks/client/Client.js +390 -0
  688. package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
  689. package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
  690. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.d.ts +34 -0
  691. package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequest.js +25 -0
  692. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.d.ts +12 -0
  693. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.js +3 -0
  694. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +9 -0
  695. package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.js +3 -0
  696. package/dist/cjs/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.d.ts +13 -0
  697. package/dist/cjs/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.js +3 -0
  698. package/dist/cjs/api/resources/webhooks/client/requests/RevokeWebhookRequest.d.ts +11 -0
  699. package/dist/cjs/api/resources/webhooks/client/requests/RevokeWebhookRequest.js +3 -0
  700. package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +5 -0
  701. package/dist/cjs/api/resources/webhooks/client/requests/index.js +5 -0
  702. package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
  703. package/dist/cjs/api/resources/webhooks/exports.js +21 -0
  704. package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
  705. package/dist/cjs/api/resources/webhooks/index.js +18 -0
  706. package/dist/cjs/api/resources/webhooks/types/CreateWebhookResponse.d.ts +4 -0
  707. package/dist/cjs/api/resources/webhooks/types/CreateWebhookResponse.js +3 -0
  708. package/dist/cjs/api/resources/webhooks/types/ListWebhookDeliveriesResponse.d.ts +4 -0
  709. package/dist/cjs/api/resources/webhooks/types/ListWebhookDeliveriesResponse.js +3 -0
  710. package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.d.ts +4 -0
  711. package/dist/cjs/api/resources/webhooks/types/ListWebhooksResponse.js +3 -0
  712. package/dist/cjs/api/resources/webhooks/types/RetryWebhookDeliveryResponse.d.ts +4 -0
  713. package/dist/cjs/api/resources/webhooks/types/RetryWebhookDeliveryResponse.js +3 -0
  714. package/dist/cjs/api/resources/webhooks/types/RevokeWebhookResponse.d.ts +4 -0
  715. package/dist/cjs/api/resources/webhooks/types/RevokeWebhookResponse.js +3 -0
  716. package/dist/cjs/api/resources/webhooks/types/index.d.ts +5 -0
  717. package/dist/cjs/api/resources/webhooks/types/index.js +21 -0
  718. package/dist/cjs/api/types/AccessPolicy.d.ts +22 -0
  719. package/dist/cjs/api/types/AccessPolicy.js +11 -0
  720. package/dist/cjs/api/types/AccessPolicyRule.d.ts +14 -0
  721. package/dist/cjs/api/types/AccessPolicyRule.js +3 -0
  722. package/dist/cjs/api/types/Account.d.ts +11 -0
  723. package/dist/cjs/api/types/Account.js +3 -0
  724. package/dist/cjs/api/types/Ai.d.ts +31 -0
  725. package/dist/cjs/api/types/Ai.js +16 -0
  726. package/dist/cjs/api/types/AiActivity.d.ts +11 -0
  727. package/dist/cjs/api/types/AiActivity.js +3 -0
  728. package/dist/cjs/api/types/AiActivityPage.d.ts +5 -0
  729. package/dist/cjs/api/types/AiActivityPage.js +3 -0
  730. package/dist/cjs/api/types/AiAsset.d.ts +33 -0
  731. package/dist/cjs/api/types/AiAsset.js +20 -0
  732. package/dist/cjs/api/types/AiAssetUpload.d.ts +19 -0
  733. package/dist/cjs/api/types/AiAssetUpload.js +13 -0
  734. package/dist/cjs/api/types/AiBillingAccount.d.ts +13 -0
  735. package/dist/cjs/api/types/AiBillingAccount.js +12 -0
  736. package/dist/cjs/api/types/AiBillingActivityPage.d.ts +20 -0
  737. package/dist/cjs/api/types/AiBillingActivityPage.js +3 -0
  738. package/dist/cjs/api/types/AiBillingSummary.d.ts +24 -0
  739. package/dist/cjs/api/types/AiBillingSummary.js +10 -0
  740. package/dist/cjs/api/types/AiDeployment.d.ts +15 -0
  741. package/dist/cjs/api/types/AiDeployment.js +12 -0
  742. package/dist/cjs/api/types/AiDeploymentRequest.d.ts +17 -0
  743. package/dist/cjs/api/types/AiDeploymentRequest.js +12 -0
  744. package/dist/cjs/api/types/AiInvitation.d.ts +15 -0
  745. package/dist/cjs/api/types/AiInvitation.js +11 -0
  746. package/dist/cjs/api/types/AiMember.d.ts +21 -0
  747. package/dist/cjs/api/types/AiMember.js +12 -0
  748. package/dist/cjs/api/types/AiNotifications.d.ts +4 -0
  749. package/dist/cjs/api/types/AiNotifications.js +3 -0
  750. package/dist/cjs/api/types/AiPermissions.d.ts +15 -0
  751. package/dist/cjs/api/types/AiPermissions.js +12 -0
  752. package/dist/cjs/api/types/AiReputation.d.ts +22 -0
  753. package/dist/cjs/api/types/AiReputation.js +13 -0
  754. package/dist/cjs/api/types/AiSkill.d.ts +33 -0
  755. package/dist/cjs/api/types/AiSkill.js +16 -0
  756. package/dist/cjs/api/types/AiSkillCatalogEntry.d.ts +30 -0
  757. package/dist/cjs/api/types/AiSkillCatalogEntry.js +24 -0
  758. package/dist/cjs/api/types/AiUsage.d.ts +22 -0
  759. package/dist/cjs/api/types/AiUsage.js +13 -0
  760. package/dist/cjs/api/types/AiVerification.d.ts +5 -0
  761. package/dist/cjs/api/types/AiVerification.js +3 -0
  762. package/dist/cjs/api/types/AiWalletBalance.d.ts +15 -0
  763. package/dist/cjs/api/types/AiWalletBalance.js +3 -0
  764. package/dist/cjs/api/types/Application.d.ts +41 -0
  765. package/dist/cjs/api/types/Application.js +20 -0
  766. package/dist/cjs/api/types/ApplicationAiLink.d.ts +41 -0
  767. package/dist/cjs/api/types/ApplicationAiLink.js +18 -0
  768. package/dist/cjs/api/types/ApplicationWallet.d.ts +10 -0
  769. package/dist/cjs/api/types/ApplicationWallet.js +3 -0
  770. package/dist/cjs/api/types/Approval.d.ts +26 -0
  771. package/dist/cjs/api/types/Approval.js +13 -0
  772. package/dist/cjs/api/types/ApprovalResult.d.ts +5 -0
  773. package/dist/cjs/api/types/ApprovalResult.js +3 -0
  774. package/dist/cjs/api/types/AutoTopupSettings.d.ts +5 -0
  775. package/dist/cjs/api/types/AutoTopupSettings.js +3 -0
  776. package/dist/cjs/api/types/Connection.d.ts +4 -0
  777. package/dist/cjs/api/types/Connection.js +3 -0
  778. package/dist/cjs/api/types/ConnectionAuthorizationCompletion.d.ts +5 -0
  779. package/dist/cjs/api/types/ConnectionAuthorizationCompletion.js +3 -0
  780. package/dist/cjs/api/types/ConnectionAuthorizationSession.d.ts +1 -0
  781. package/dist/cjs/api/types/ConnectionAuthorizationSession.js +3 -0
  782. package/dist/cjs/api/types/ConnectionGrantDisableResult.d.ts +3 -0
  783. package/dist/cjs/api/types/ConnectionGrantDisableResult.js +3 -0
  784. package/dist/cjs/api/types/ConnectionRemovalResult.d.ts +4 -0
  785. package/dist/cjs/api/types/ConnectionRemovalResult.js +3 -0
  786. package/dist/cjs/api/types/ConversationMessage.d.ts +16 -0
  787. package/dist/cjs/api/types/ConversationMessage.js +11 -0
  788. package/dist/cjs/api/types/ConversationPage.d.ts +6 -0
  789. package/dist/cjs/api/types/ConversationPage.js +3 -0
  790. package/dist/cjs/api/types/ConversationSummary.d.ts +21 -0
  791. package/dist/cjs/api/types/ConversationSummary.js +13 -0
  792. package/dist/cjs/api/types/ConversationTurn.d.ts +5 -0
  793. package/dist/cjs/api/types/ConversationTurn.js +3 -0
  794. package/dist/cjs/api/types/CreateGoalRequest.d.ts +31 -0
  795. package/dist/cjs/api/types/CreateGoalRequest.js +17 -0
  796. package/dist/cjs/api/types/CreateListingRequest.d.ts +21 -0
  797. package/dist/cjs/api/types/CreateListingRequest.js +3 -0
  798. package/dist/cjs/api/types/CreateTaskRequest.d.ts +2 -0
  799. package/dist/cjs/api/types/CreateTaskRequest.js +3 -0
  800. package/dist/cjs/api/types/CreatedEnrollmentLink.d.ts +6 -0
  801. package/dist/cjs/api/types/CreatedEnrollmentLink.js +3 -0
  802. package/dist/cjs/api/types/CreatedServiceAccount.d.ts +5 -0
  803. package/dist/cjs/api/types/CreatedServiceAccount.js +3 -0
  804. package/dist/cjs/api/types/CreatedWebhook.d.ts +5 -0
  805. package/dist/cjs/api/types/CreatedWebhook.js +3 -0
  806. package/dist/cjs/api/types/Deal.d.ts +46 -0
  807. package/dist/cjs/api/types/Deal.js +23 -0
  808. package/dist/cjs/api/types/DeletedResource.d.ts +10 -0
  809. package/dist/cjs/api/types/DeletedResource.js +10 -0
  810. package/dist/cjs/api/types/EnrollmentBatch.d.ts +20 -0
  811. package/dist/cjs/api/types/EnrollmentBatch.js +13 -0
  812. package/dist/cjs/api/types/EnrollmentBatchItem.d.ts +18 -0
  813. package/dist/cjs/api/types/EnrollmentBatchItem.js +13 -0
  814. package/dist/cjs/api/types/EnrollmentBatchResult.d.ts +11 -0
  815. package/dist/cjs/api/types/EnrollmentBatchResult.js +3 -0
  816. package/dist/cjs/api/types/EnrollmentLink.d.ts +30 -0
  817. package/dist/cjs/api/types/EnrollmentLink.js +16 -0
  818. package/dist/cjs/api/types/EphemeralGoal.d.ts +38 -0
  819. package/dist/cjs/api/types/EphemeralGoal.js +21 -0
  820. package/dist/cjs/api/types/Error_.js +3 -0
  821. package/dist/cjs/api/types/FeeRate.d.ts +4 -0
  822. package/dist/cjs/api/types/FeeRate.js +3 -0
  823. package/dist/cjs/api/types/Goal.d.ts +51 -0
  824. package/dist/cjs/api/types/Goal.js +27 -0
  825. package/dist/cjs/api/types/GoalActionRequest.d.ts +13 -0
  826. package/dist/cjs/api/types/GoalActionRequest.js +13 -0
  827. package/dist/cjs/api/types/IntegrationCatalog.d.ts +1 -0
  828. package/dist/cjs/api/types/IntegrationCatalog.js +3 -0
  829. package/dist/cjs/api/types/Integrations.d.ts +11 -0
  830. package/dist/cjs/api/types/Integrations.js +3 -0
  831. package/dist/cjs/api/types/Listing.d.ts +26 -0
  832. package/dist/cjs/api/types/Listing.js +3 -0
  833. package/dist/cjs/api/types/ListingImport.d.ts +30 -0
  834. package/dist/cjs/api/types/ListingImport.js +21 -0
  835. package/dist/cjs/api/types/ListingPricing.d.ts +21 -0
  836. package/dist/cjs/api/types/ListingPricing.js +16 -0
  837. package/dist/cjs/api/types/ListingSelection.d.ts +5 -0
  838. package/dist/cjs/api/types/ListingSelection.js +3 -0
  839. package/dist/cjs/api/types/ListingStatus.d.ts +7 -0
  840. package/dist/cjs/api/types/ListingStatus.js +10 -0
  841. package/dist/cjs/api/types/ListingType.d.ts +10 -0
  842. package/dist/cjs/api/types/ListingType.js +13 -0
  843. package/dist/cjs/api/types/ListingVariant.d.ts +13 -0
  844. package/dist/cjs/api/types/ListingVariant.js +3 -0
  845. package/dist/cjs/api/types/ListingVisibility.d.ts +5 -0
  846. package/dist/cjs/api/types/ListingVisibility.js +8 -0
  847. package/dist/cjs/api/types/NetworkAiCard.d.ts +24 -0
  848. package/dist/cjs/api/types/NetworkAiCard.js +3 -0
  849. package/dist/cjs/api/types/NetworkAiProfile.d.ts +23 -0
  850. package/dist/cjs/api/types/NetworkAiProfile.js +13 -0
  851. package/dist/cjs/api/types/NetworkAiResult.d.ts +13 -0
  852. package/dist/cjs/api/types/NetworkAiResult.js +3 -0
  853. package/dist/cjs/api/types/NetworkBrowseResult.d.ts +16 -0
  854. package/dist/cjs/api/types/NetworkBrowseResult.js +3 -0
  855. package/dist/cjs/api/types/NetworkCategory.d.ts +12 -0
  856. package/dist/cjs/api/types/NetworkCategory.js +15 -0
  857. package/dist/cjs/api/types/NetworkListing.d.ts +17 -0
  858. package/dist/cjs/api/types/NetworkListing.js +3 -0
  859. package/dist/cjs/api/types/Outcome.d.ts +17 -0
  860. package/dist/cjs/api/types/Outcome.js +3 -0
  861. package/dist/cjs/api/types/OutcomeEvidence.d.ts +47 -0
  862. package/dist/cjs/api/types/OutcomeEvidence.js +29 -0
  863. package/dist/cjs/api/types/Payment.d.ts +19 -0
  864. package/dist/cjs/api/types/Payment.js +3 -0
  865. package/dist/cjs/api/types/PaymentIntentClientDetails.d.ts +4 -0
  866. package/dist/cjs/api/types/PaymentIntentClientDetails.js +3 -0
  867. package/dist/cjs/api/types/Payout.d.ts +9 -0
  868. package/dist/cjs/api/types/Payout.js +3 -0
  869. package/dist/cjs/api/types/PayoutSetup.d.ts +3 -0
  870. package/dist/cjs/api/types/PayoutSetup.js +3 -0
  871. package/dist/cjs/api/types/PublicationRequest.d.ts +5 -0
  872. package/dist/cjs/api/types/PublicationRequest.js +3 -0
  873. package/dist/cjs/api/types/PublicationRequestResult.d.ts +5 -0
  874. package/dist/cjs/api/types/PublicationRequestResult.js +3 -0
  875. package/dist/cjs/api/types/Request.d.ts +40 -0
  876. package/dist/cjs/api/types/Request.js +19 -0
  877. package/dist/cjs/api/types/ServiceAccount.d.ts +60 -0
  878. package/dist/cjs/api/types/ServiceAccount.js +49 -0
  879. package/dist/cjs/api/types/Task.d.ts +5 -0
  880. package/dist/cjs/api/types/Task.js +3 -0
  881. package/dist/cjs/api/types/TaskActionRequest.d.ts +2 -0
  882. package/dist/cjs/api/types/TaskActionRequest.js +3 -0
  883. package/dist/cjs/api/types/Tool.d.ts +30 -0
  884. package/dist/cjs/api/types/Tool.js +25 -0
  885. package/dist/cjs/api/types/ToolExecution.d.ts +5 -0
  886. package/dist/cjs/api/types/ToolExecution.js +3 -0
  887. package/dist/cjs/api/types/Transaction.d.ts +40 -0
  888. package/dist/cjs/api/types/Transaction.js +11 -0
  889. package/dist/cjs/api/types/TransactionFundingResult.d.ts +15 -0
  890. package/dist/cjs/api/types/TransactionFundingResult.js +11 -0
  891. package/dist/cjs/api/types/UpdateGoalRequest.d.ts +32 -0
  892. package/dist/cjs/api/types/UpdateGoalRequest.js +20 -0
  893. package/dist/cjs/api/types/UpdateTaskRequest.d.ts +2 -0
  894. package/dist/cjs/api/types/UpdateTaskRequest.js +3 -0
  895. package/dist/cjs/api/types/Visibility.d.ts +6 -0
  896. package/dist/cjs/api/types/Visibility.js +9 -0
  897. package/dist/cjs/api/types/WalletTopupIntent.d.ts +13 -0
  898. package/dist/cjs/api/types/WalletTopupIntent.js +10 -0
  899. package/dist/cjs/api/types/WalletWithdrawal.d.ts +23 -0
  900. package/dist/cjs/api/types/WalletWithdrawal.js +17 -0
  901. package/dist/cjs/api/types/Webhook.d.ts +20 -0
  902. package/dist/cjs/api/types/Webhook.js +11 -0
  903. package/dist/cjs/api/types/WebhookDelivery.d.ts +23 -0
  904. package/dist/cjs/api/types/WebhookDelivery.js +13 -0
  905. package/dist/cjs/api/types/WithdrawalQuote.d.ts +20 -0
  906. package/dist/cjs/api/types/WithdrawalQuote.js +14 -0
  907. package/dist/cjs/api/types/WithdrawalRequest.d.ts +11 -0
  908. package/dist/cjs/api/types/WithdrawalRequest.js +11 -0
  909. package/dist/cjs/api/types/WorkMode.d.ts +7 -0
  910. package/dist/cjs/api/types/WorkMode.js +10 -0
  911. package/dist/cjs/api/types/index.d.ts +97 -0
  912. package/dist/cjs/api/types/index.js +113 -0
  913. package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
  914. package/dist/cjs/auth/BearerAuthProvider.js +79 -0
  915. package/dist/cjs/auth/index.d.ts +1 -0
  916. package/dist/cjs/auth/index.js +5 -0
  917. package/dist/cjs/core/auth/AuthProvider.d.ts +8 -0
  918. package/dist/cjs/core/auth/AuthProvider.js +9 -0
  919. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  920. package/dist/cjs/core/auth/BasicAuth.js +33 -0
  921. package/dist/cjs/core/auth/BearerToken.js +16 -0
  922. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  923. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  924. package/dist/cjs/core/auth/index.d.ts +5 -0
  925. package/dist/cjs/core/auth/index.js +11 -0
  926. package/dist/cjs/core/base64.js +26 -0
  927. package/dist/cjs/core/exports.d.ts +1 -0
  928. package/dist/cjs/core/exports.js +17 -0
  929. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  930. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  931. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  932. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  933. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  934. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  935. package/dist/cjs/core/fetcher/Fetcher.d.ts +56 -0
  936. package/dist/cjs/core/fetcher/Fetcher.js +244 -0
  937. package/dist/cjs/core/fetcher/Headers.js +84 -0
  938. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  939. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  940. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  941. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  942. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  943. package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
  944. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  945. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  946. package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
  947. package/dist/cjs/core/fetcher/getResponseBody.js +80 -0
  948. package/dist/cjs/core/fetcher/index.d.ts +13 -0
  949. package/dist/cjs/core/fetcher/index.js +19 -0
  950. package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
  951. package/dist/cjs/core/fetcher/makePassthroughRequest.js +157 -0
  952. package/dist/cjs/core/fetcher/makeRequest.js +61 -0
  953. package/dist/cjs/core/fetcher/redactUrl.js +88 -0
  954. package/dist/cjs/core/fetcher/requestWithRetries.js +70 -0
  955. package/dist/cjs/core/fetcher/signals.js +32 -0
  956. package/dist/cjs/core/headers.js +31 -0
  957. package/dist/cjs/core/index.d.ts +6 -0
  958. package/dist/cjs/core/index.js +45 -0
  959. package/dist/cjs/core/json.js +24 -0
  960. package/dist/cjs/core/logging/exports.d.ts +18 -0
  961. package/dist/cjs/core/logging/exports.js +45 -0
  962. package/dist/cjs/core/logging/index.d.ts +1 -0
  963. package/dist/cjs/core/logging/index.js +17 -0
  964. package/dist/cjs/core/logging/logger.js +144 -0
  965. package/dist/cjs/core/requestBody.js +26 -0
  966. package/dist/cjs/core/runtime/index.d.ts +1 -0
  967. package/dist/cjs/core/runtime/index.js +6 -0
  968. package/dist/cjs/core/runtime/runtime.js +176 -0
  969. package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
  970. package/dist/cjs/core/url/encodePathParam.js +21 -0
  971. package/dist/cjs/core/url/index.d.ts +4 -0
  972. package/dist/cjs/core/url/index.js +11 -0
  973. package/dist/cjs/core/url/join.js +68 -0
  974. package/dist/cjs/core/url/qs.js +76 -0
  975. package/dist/cjs/environments.js +7 -0
  976. package/dist/cjs/errors/DarwinError.d.ts +15 -0
  977. package/dist/cjs/errors/DarwinError.js +39 -0
  978. package/dist/cjs/errors/DarwinTimeoutError.d.ts +6 -0
  979. package/dist/cjs/errors/DarwinTimeoutError.js +52 -0
  980. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  981. package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
  982. package/dist/cjs/errors/index.d.ts +2 -0
  983. package/dist/cjs/errors/index.js +7 -0
  984. package/dist/cjs/exports.d.ts +1 -0
  985. package/dist/cjs/exports.js +17 -0
  986. package/dist/cjs/index.d.ts +6 -0
  987. package/dist/cjs/index.js +48 -0
  988. package/dist/cjs/version.d.ts +1 -0
  989. package/dist/cjs/version.js +4 -0
  990. package/dist/esm/BaseClient.mjs +40 -0
  991. package/dist/esm/Client.d.mts +101 -0
  992. package/dist/esm/Client.mjs +171 -0
  993. package/dist/esm/api/errors/TooManyRequestsError.d.mts +6 -0
  994. package/dist/esm/api/errors/TooManyRequestsError.mjs +17 -0
  995. package/dist/esm/api/errors/index.d.mts +5 -0
  996. package/dist/esm/api/errors/index.mjs +5 -0
  997. package/dist/esm/api/resources/account/client/Client.d.mts +33 -0
  998. package/dist/esm/api/resources/account/client/Client.mjs +83 -0
  999. package/dist/esm/api/resources/account/exports.d.mts +2 -0
  1000. package/dist/esm/api/resources/account/exports.mjs +3 -0
  1001. package/dist/esm/api/resources/ais/client/Client.d.mts +413 -0
  1002. package/dist/esm/api/resources/ais/client/Client.mjs +1348 -0
  1003. package/dist/esm/api/resources/ais/client/requests/BeginAiAssetUploadRequest.d.mts +37 -0
  1004. package/dist/esm/api/resources/ais/client/requests/BeginAiAssetUploadRequest.mjs +16 -0
  1005. package/dist/esm/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.d.mts +11 -0
  1006. package/dist/esm/api/resources/ais/client/requests/CreateAccessPolicyRequest.d.mts +16 -0
  1007. package/dist/esm/api/resources/ais/client/requests/CreateAiAssetRequest.d.mts +35 -0
  1008. package/dist/esm/api/resources/ais/client/requests/CreateAiAssetRequest.mjs +17 -0
  1009. package/dist/esm/api/resources/ais/client/requests/CreateAiInvitationRequest.d.mts +19 -0
  1010. package/dist/esm/api/resources/ais/client/requests/CreateAiInvitationRequest.mjs +8 -0
  1011. package/dist/esm/api/resources/ais/client/requests/CreateAiRequest.d.mts +26 -0
  1012. package/dist/esm/api/resources/ais/client/requests/CreateAiRequest.mjs +7 -0
  1013. package/dist/esm/api/resources/ais/client/requests/DeleteAiAssetRequest.d.mts +11 -0
  1014. package/dist/esm/api/resources/ais/client/requests/GetAiRequest.d.mts +9 -0
  1015. package/dist/esm/api/resources/ais/client/requests/ListAccessPoliciesRequest.d.mts +9 -0
  1016. package/dist/esm/api/resources/ais/client/requests/ListAiActivityRequest.d.mts +11 -0
  1017. package/dist/esm/api/resources/ais/client/requests/ListAiAssetsRequest.d.mts +9 -0
  1018. package/dist/esm/api/resources/ais/client/requests/ListAiInvitationsRequest.d.mts +9 -0
  1019. package/dist/esm/api/resources/ais/client/requests/ListAiMembersRequest.d.mts +9 -0
  1020. package/dist/esm/api/resources/ais/client/requests/RemoveAiMemberRequest.d.mts +11 -0
  1021. package/dist/esm/api/resources/ais/client/requests/RevokeAiInvitationRequest.d.mts +11 -0
  1022. package/dist/esm/api/resources/ais/client/requests/UpdateAccessPolicyRequest.d.mts +16 -0
  1023. package/dist/esm/api/resources/ais/client/requests/UpdateAiAssetRequest.d.mts +22 -0
  1024. package/dist/esm/api/resources/ais/client/requests/UpdateAiAssetRequest.mjs +8 -0
  1025. package/dist/esm/api/resources/ais/client/requests/UpdateAiMemberRequest.d.mts +20 -0
  1026. package/dist/esm/api/resources/ais/client/requests/UpdateAiMemberRequest.mjs +8 -0
  1027. package/dist/esm/api/resources/ais/client/requests/UpdateAiRequest.d.mts +21 -0
  1028. package/dist/esm/api/resources/ais/client/requests/UpdateAiRequest.mjs +2 -0
  1029. package/dist/esm/api/resources/ais/client/requests/index.d.mts +19 -0
  1030. package/dist/esm/api/resources/ais/client/requests/index.mjs +6 -0
  1031. package/dist/esm/api/resources/ais/exports.d.mts +2 -0
  1032. package/dist/esm/api/resources/ais/exports.mjs +3 -0
  1033. package/dist/esm/api/resources/ais/types/CompleteAiAssetUploadResponse.d.mts +4 -0
  1034. package/dist/esm/api/resources/ais/types/CompleteAiAssetUploadResponse.mjs +2 -0
  1035. package/dist/esm/api/resources/ais/types/CreateAccessPolicyResponse.d.mts +4 -0
  1036. package/dist/esm/api/resources/ais/types/CreateAccessPolicyResponse.mjs +2 -0
  1037. package/dist/esm/api/resources/ais/types/CreateAiAssetResponse.d.mts +4 -0
  1038. package/dist/esm/api/resources/ais/types/CreateAiAssetResponse.mjs +2 -0
  1039. package/dist/esm/api/resources/ais/types/CreateAiInvitationResponse.d.mts +4 -0
  1040. package/dist/esm/api/resources/ais/types/CreateAiInvitationResponse.mjs +2 -0
  1041. package/dist/esm/api/resources/ais/types/CreateAiResponse.d.mts +4 -0
  1042. package/dist/esm/api/resources/ais/types/CreateAiResponse.mjs +2 -0
  1043. package/dist/esm/api/resources/ais/types/DeleteAiAssetResponse.d.mts +4 -0
  1044. package/dist/esm/api/resources/ais/types/DeleteAiAssetResponse.mjs +2 -0
  1045. package/dist/esm/api/resources/ais/types/GetAiResponse.d.mts +4 -0
  1046. package/dist/esm/api/resources/ais/types/GetAiResponse.mjs +2 -0
  1047. package/dist/esm/api/resources/ais/types/ListAIsResponse.d.mts +4 -0
  1048. package/dist/esm/api/resources/ais/types/ListAIsResponse.mjs +2 -0
  1049. package/dist/esm/api/resources/ais/types/ListAccessPoliciesResponse.d.mts +4 -0
  1050. package/dist/esm/api/resources/ais/types/ListAccessPoliciesResponse.mjs +2 -0
  1051. package/dist/esm/api/resources/ais/types/ListAiAssetsResponse.d.mts +4 -0
  1052. package/dist/esm/api/resources/ais/types/ListAiAssetsResponse.mjs +2 -0
  1053. package/dist/esm/api/resources/ais/types/ListAiInvitationsResponse.d.mts +4 -0
  1054. package/dist/esm/api/resources/ais/types/ListAiInvitationsResponse.mjs +2 -0
  1055. package/dist/esm/api/resources/ais/types/ListAiMembersResponse.d.mts +4 -0
  1056. package/dist/esm/api/resources/ais/types/ListAiMembersResponse.mjs +2 -0
  1057. package/dist/esm/api/resources/ais/types/ListSkillCatalogResponse.d.mts +4 -0
  1058. package/dist/esm/api/resources/ais/types/ListSkillCatalogResponse.mjs +2 -0
  1059. package/dist/esm/api/resources/ais/types/RemoveAiMemberResponse.d.mts +4 -0
  1060. package/dist/esm/api/resources/ais/types/RemoveAiMemberResponse.mjs +2 -0
  1061. package/dist/esm/api/resources/ais/types/RevokeAiInvitationResponse.d.mts +4 -0
  1062. package/dist/esm/api/resources/ais/types/RevokeAiInvitationResponse.mjs +2 -0
  1063. package/dist/esm/api/resources/ais/types/UpdateAccessPolicyResponse.d.mts +4 -0
  1064. package/dist/esm/api/resources/ais/types/UpdateAccessPolicyResponse.mjs +2 -0
  1065. package/dist/esm/api/resources/ais/types/UpdateAiAssetResponse.d.mts +4 -0
  1066. package/dist/esm/api/resources/ais/types/UpdateAiAssetResponse.mjs +2 -0
  1067. package/dist/esm/api/resources/ais/types/UpdateAiMemberResponse.d.mts +4 -0
  1068. package/dist/esm/api/resources/ais/types/UpdateAiMemberResponse.mjs +2 -0
  1069. package/dist/esm/api/resources/ais/types/UpdateAiResponse.d.mts +4 -0
  1070. package/dist/esm/api/resources/ais/types/UpdateAiResponse.mjs +2 -0
  1071. package/dist/esm/api/resources/ais/types/index.d.mts +19 -0
  1072. package/dist/esm/api/resources/ais/types/index.mjs +19 -0
  1073. package/dist/esm/api/resources/applications/client/Client.d.mts +317 -0
  1074. package/dist/esm/api/resources/applications/client/Client.mjs +1026 -0
  1075. package/dist/esm/api/resources/applications/client/requests/ArchiveApplicationRequest.d.mts +9 -0
  1076. package/dist/esm/api/resources/applications/client/requests/ArchiveApplicationRequest.mjs +2 -0
  1077. package/dist/esm/api/resources/applications/client/requests/CreateApplicationRequest.d.mts +30 -0
  1078. package/dist/esm/api/resources/applications/client/requests/CreateApplicationRequest.mjs +13 -0
  1079. package/dist/esm/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.d.mts +31 -0
  1080. package/dist/esm/api/resources/applications/client/requests/CreateEnrollmentLinkRequest.mjs +13 -0
  1081. package/dist/esm/api/resources/applications/client/requests/CreateServiceAccountRequest.d.mts +54 -0
  1082. package/dist/esm/api/resources/applications/client/requests/CreateServiceAccountRequest.mjs +42 -0
  1083. package/dist/esm/api/resources/applications/client/requests/FundApplicationWalletRequest.d.mts +18 -0
  1084. package/dist/esm/api/resources/applications/client/requests/FundApplicationWalletRequest.mjs +2 -0
  1085. package/dist/esm/api/resources/applications/client/requests/GetApplicationRequest.d.mts +9 -0
  1086. package/dist/esm/api/resources/applications/client/requests/GetApplicationRequest.mjs +2 -0
  1087. package/dist/esm/api/resources/applications/client/requests/GetApplicationWalletRequest.d.mts +9 -0
  1088. package/dist/esm/api/resources/applications/client/requests/GetApplicationWalletRequest.mjs +2 -0
  1089. package/dist/esm/api/resources/applications/client/requests/LinkApplicationAiRequest.d.mts +16 -0
  1090. package/dist/esm/api/resources/applications/client/requests/LinkApplicationAiRequest.mjs +2 -0
  1091. package/dist/esm/api/resources/applications/client/requests/ListApplicationAIsRequest.d.mts +9 -0
  1092. package/dist/esm/api/resources/applications/client/requests/ListApplicationAIsRequest.mjs +2 -0
  1093. package/dist/esm/api/resources/applications/client/requests/ListEnrollmentLinksRequest.d.mts +9 -0
  1094. package/dist/esm/api/resources/applications/client/requests/ListEnrollmentLinksRequest.mjs +2 -0
  1095. package/dist/esm/api/resources/applications/client/requests/ListServiceAccountsRequest.d.mts +9 -0
  1096. package/dist/esm/api/resources/applications/client/requests/ListServiceAccountsRequest.mjs +2 -0
  1097. package/dist/esm/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.d.mts +11 -0
  1098. package/dist/esm/api/resources/applications/client/requests/RevokeEnrollmentLinkRequest.mjs +2 -0
  1099. package/dist/esm/api/resources/applications/client/requests/RevokeServiceAccountRequest.d.mts +11 -0
  1100. package/dist/esm/api/resources/applications/client/requests/RevokeServiceAccountRequest.mjs +2 -0
  1101. package/dist/esm/api/resources/applications/client/requests/UnlinkApplicationAiRequest.d.mts +11 -0
  1102. package/dist/esm/api/resources/applications/client/requests/UnlinkApplicationAiRequest.mjs +2 -0
  1103. package/dist/esm/api/resources/applications/client/requests/UpdateApplicationRequest.d.mts +31 -0
  1104. package/dist/esm/api/resources/applications/client/requests/UpdateApplicationRequest.mjs +13 -0
  1105. package/dist/esm/api/resources/applications/client/requests/index.d.mts +15 -0
  1106. package/dist/esm/api/resources/applications/client/requests/index.mjs +4 -0
  1107. package/dist/esm/api/resources/applications/exports.d.mts +2 -0
  1108. package/dist/esm/api/resources/applications/exports.mjs +3 -0
  1109. package/dist/esm/api/resources/applications/types/ArchiveApplicationResponse.d.mts +4 -0
  1110. package/dist/esm/api/resources/applications/types/ArchiveApplicationResponse.mjs +2 -0
  1111. package/dist/esm/api/resources/applications/types/CreateApplicationResponse.d.mts +4 -0
  1112. package/dist/esm/api/resources/applications/types/CreateApplicationResponse.mjs +2 -0
  1113. package/dist/esm/api/resources/applications/types/CreateEnrollmentLinkResponse.d.mts +4 -0
  1114. package/dist/esm/api/resources/applications/types/CreateEnrollmentLinkResponse.mjs +2 -0
  1115. package/dist/esm/api/resources/applications/types/CreateServiceAccountResponse.d.mts +4 -0
  1116. package/dist/esm/api/resources/applications/types/CreateServiceAccountResponse.mjs +2 -0
  1117. package/dist/esm/api/resources/applications/types/FundApplicationWalletResponse.d.mts +4 -0
  1118. package/dist/esm/api/resources/applications/types/FundApplicationWalletResponse.mjs +2 -0
  1119. package/dist/esm/api/resources/applications/types/GetApplicationResponse.d.mts +4 -0
  1120. package/dist/esm/api/resources/applications/types/GetApplicationResponse.mjs +2 -0
  1121. package/dist/esm/api/resources/applications/types/GetApplicationWalletResponse.d.mts +4 -0
  1122. package/dist/esm/api/resources/applications/types/GetApplicationWalletResponse.mjs +2 -0
  1123. package/dist/esm/api/resources/applications/types/LinkApplicationAiResponse.d.mts +4 -0
  1124. package/dist/esm/api/resources/applications/types/LinkApplicationAiResponse.mjs +2 -0
  1125. package/dist/esm/api/resources/applications/types/ListApplicationAIsResponse.d.mts +4 -0
  1126. package/dist/esm/api/resources/applications/types/ListApplicationAIsResponse.mjs +2 -0
  1127. package/dist/esm/api/resources/applications/types/ListApplicationsResponse.d.mts +4 -0
  1128. package/dist/esm/api/resources/applications/types/ListApplicationsResponse.mjs +2 -0
  1129. package/dist/esm/api/resources/applications/types/ListEnrollmentLinksResponse.d.mts +4 -0
  1130. package/dist/esm/api/resources/applications/types/ListEnrollmentLinksResponse.mjs +2 -0
  1131. package/dist/esm/api/resources/applications/types/ListServiceAccountsResponse.d.mts +4 -0
  1132. package/dist/esm/api/resources/applications/types/ListServiceAccountsResponse.mjs +2 -0
  1133. package/dist/esm/api/resources/applications/types/RevokeEnrollmentLinkResponse.d.mts +4 -0
  1134. package/dist/esm/api/resources/applications/types/RevokeEnrollmentLinkResponse.mjs +2 -0
  1135. package/dist/esm/api/resources/applications/types/RevokeServiceAccountResponse.d.mts +4 -0
  1136. package/dist/esm/api/resources/applications/types/RevokeServiceAccountResponse.mjs +2 -0
  1137. package/dist/esm/api/resources/applications/types/UnlinkApplicationAiResponse.d.mts +4 -0
  1138. package/dist/esm/api/resources/applications/types/UnlinkApplicationAiResponse.mjs +2 -0
  1139. package/dist/esm/api/resources/applications/types/UpdateApplicationResponse.d.mts +4 -0
  1140. package/dist/esm/api/resources/applications/types/UpdateApplicationResponse.mjs +2 -0
  1141. package/dist/esm/api/resources/applications/types/index.d.mts +16 -0
  1142. package/dist/esm/api/resources/applications/types/index.mjs +16 -0
  1143. package/dist/esm/api/resources/billing/client/Client.d.mts +184 -0
  1144. package/dist/esm/api/resources/billing/client/Client.mjs +561 -0
  1145. package/dist/esm/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.d.mts +12 -0
  1146. package/dist/esm/api/resources/billing/client/requests/CreateAiPaymentMethodSetupRequest.mjs +2 -0
  1147. package/dist/esm/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.d.mts +9 -0
  1148. package/dist/esm/api/resources/billing/client/requests/CreateAiPayoutMethodSetupRequest.mjs +2 -0
  1149. package/dist/esm/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.d.mts +17 -0
  1150. package/dist/esm/api/resources/billing/client/requests/CreateAiWalletWithdrawalRequest.mjs +2 -0
  1151. package/dist/esm/api/resources/billing/client/requests/GetAiBillingSummaryRequest.d.mts +10 -0
  1152. package/dist/esm/api/resources/billing/client/requests/GetAiBillingSummaryRequest.mjs +2 -0
  1153. package/dist/esm/api/resources/billing/client/requests/ListAiBillingActivityRequest.d.mts +11 -0
  1154. package/dist/esm/api/resources/billing/client/requests/ListAiBillingActivityRequest.mjs +2 -0
  1155. package/dist/esm/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.d.mts +14 -0
  1156. package/dist/esm/api/resources/billing/client/requests/QuoteAiWalletWithdrawalRequest.mjs +2 -0
  1157. package/dist/esm/api/resources/billing/client/requests/UpdateMoneySettingsRequest.d.mts +20 -0
  1158. package/dist/esm/api/resources/billing/client/requests/UpdateMoneySettingsRequest.mjs +8 -0
  1159. package/dist/esm/api/resources/billing/client/requests/WalletTopupRequest.d.mts +15 -0
  1160. package/dist/esm/api/resources/billing/client/requests/WalletTopupRequest.mjs +2 -0
  1161. package/dist/esm/api/resources/billing/client/requests/index.d.mts +8 -0
  1162. package/dist/esm/api/resources/billing/client/requests/index.mjs +1 -0
  1163. package/dist/esm/api/resources/billing/exports.d.mts +2 -0
  1164. package/dist/esm/api/resources/billing/exports.mjs +3 -0
  1165. package/dist/esm/api/resources/connections/client/Client.d.mts +118 -0
  1166. package/dist/esm/api/resources/connections/client/Client.mjs +361 -0
  1167. package/dist/esm/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.d.mts +11 -0
  1168. package/dist/esm/api/resources/connections/client/requests/CompleteConnectionAuthorizationRequest.mjs +2 -0
  1169. package/dist/esm/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.d.mts +13 -0
  1170. package/dist/esm/api/resources/connections/client/requests/CreateConnectionAuthorizationRequest.mjs +2 -0
  1171. package/dist/esm/api/resources/connections/client/requests/DisableConnectionGrantRequest.d.mts +13 -0
  1172. package/dist/esm/api/resources/connections/client/requests/DisableConnectionGrantRequest.mjs +2 -0
  1173. package/dist/esm/api/resources/connections/client/requests/ListAiConnectionsRequest.d.mts +9 -0
  1174. package/dist/esm/api/resources/connections/client/requests/ListAiConnectionsRequest.mjs +2 -0
  1175. package/dist/esm/api/resources/connections/client/requests/RemoveAiConnectionRequest.d.mts +11 -0
  1176. package/dist/esm/api/resources/connections/client/requests/RemoveAiConnectionRequest.mjs +2 -0
  1177. package/dist/esm/api/resources/connections/client/requests/index.d.mts +5 -0
  1178. package/dist/esm/api/resources/connections/exports.d.mts +2 -0
  1179. package/dist/esm/api/resources/connections/exports.mjs +3 -0
  1180. package/dist/esm/api/resources/connections/types/ListAiConnectionsResponse.d.mts +4 -0
  1181. package/dist/esm/api/resources/connections/types/ListAiConnectionsResponse.mjs +2 -0
  1182. package/dist/esm/api/resources/connections/types/index.d.mts +1 -0
  1183. package/dist/esm/api/resources/connections/types/index.mjs +1 -0
  1184. package/dist/esm/api/resources/conversations/client/Client.d.mts +125 -0
  1185. package/dist/esm/api/resources/conversations/client/Client.mjs +420 -0
  1186. package/dist/esm/api/resources/conversations/client/index.d.mts +1 -0
  1187. package/dist/esm/api/resources/conversations/client/index.mjs +1 -0
  1188. package/dist/esm/api/resources/conversations/client/requests/CreateAiConversationRequest.d.mts +9 -0
  1189. package/dist/esm/api/resources/conversations/client/requests/CreateAiConversationRequest.mjs +2 -0
  1190. package/dist/esm/api/resources/conversations/client/requests/CreateAiMessageRequest.d.mts +11 -0
  1191. package/dist/esm/api/resources/conversations/client/requests/CreateAiMessageRequest.mjs +2 -0
  1192. package/dist/esm/api/resources/conversations/client/requests/CreateConversationMessageRequest.d.mts +12 -0
  1193. package/dist/esm/api/resources/conversations/client/requests/CreateConversationMessageRequest.mjs +2 -0
  1194. package/dist/esm/api/resources/conversations/client/requests/GetConversationRequest.d.mts +11 -0
  1195. package/dist/esm/api/resources/conversations/client/requests/GetConversationRequest.mjs +2 -0
  1196. package/dist/esm/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.d.mts +10 -0
  1197. package/dist/esm/api/resources/conversations/client/requests/GetSelectedAiConversationRequest.mjs +2 -0
  1198. package/dist/esm/api/resources/conversations/client/requests/ListAiConversationsRequest.d.mts +9 -0
  1199. package/dist/esm/api/resources/conversations/client/requests/ListAiConversationsRequest.mjs +2 -0
  1200. package/dist/esm/api/resources/conversations/client/requests/index.d.mts +6 -0
  1201. package/dist/esm/api/resources/conversations/exports.d.mts +2 -0
  1202. package/dist/esm/api/resources/conversations/exports.mjs +3 -0
  1203. package/dist/esm/api/resources/conversations/index.d.mts +2 -0
  1204. package/dist/esm/api/resources/conversations/index.mjs +2 -0
  1205. package/dist/esm/api/resources/conversations/types/ListAiConversationsResponse.d.mts +4 -0
  1206. package/dist/esm/api/resources/conversations/types/ListAiConversationsResponse.mjs +2 -0
  1207. package/dist/esm/api/resources/conversations/types/index.d.mts +1 -0
  1208. package/dist/esm/api/resources/conversations/types/index.mjs +1 -0
  1209. package/dist/esm/api/resources/deals/client/Client.d.mts +130 -0
  1210. package/dist/esm/api/resources/deals/client/Client.mjs +418 -0
  1211. package/dist/esm/api/resources/deals/client/index.d.mts +1 -0
  1212. package/dist/esm/api/resources/deals/client/index.mjs +1 -0
  1213. package/dist/esm/api/resources/deals/client/requests/CreateDealRequest.d.mts +37 -0
  1214. package/dist/esm/api/resources/deals/client/requests/CreateDealRequest.mjs +13 -0
  1215. package/dist/esm/api/resources/deals/client/requests/DealActionRequest.d.mts +20 -0
  1216. package/dist/esm/api/resources/deals/client/requests/DealActionRequest.mjs +10 -0
  1217. package/dist/esm/api/resources/deals/client/requests/GetDealRequest.d.mts +9 -0
  1218. package/dist/esm/api/resources/deals/client/requests/GetDealRequest.mjs +2 -0
  1219. package/dist/esm/api/resources/deals/client/requests/ListDealPaymentsRequest.d.mts +9 -0
  1220. package/dist/esm/api/resources/deals/client/requests/ListDealPaymentsRequest.mjs +2 -0
  1221. package/dist/esm/api/resources/deals/client/requests/ListDealsRequest.d.mts +8 -0
  1222. package/dist/esm/api/resources/deals/client/requests/ListDealsRequest.mjs +2 -0
  1223. package/dist/esm/api/resources/deals/client/requests/UpdateDealRequest.d.mts +15 -0
  1224. package/dist/esm/api/resources/deals/client/requests/UpdateDealRequest.mjs +2 -0
  1225. package/dist/esm/api/resources/deals/client/requests/index.d.mts +6 -0
  1226. package/dist/esm/api/resources/deals/client/requests/index.mjs +2 -0
  1227. package/dist/esm/api/resources/deals/exports.d.mts +2 -0
  1228. package/dist/esm/api/resources/deals/exports.mjs +3 -0
  1229. package/dist/esm/api/resources/deals/index.d.mts +2 -0
  1230. package/dist/esm/api/resources/deals/index.mjs +2 -0
  1231. package/dist/esm/api/resources/deals/types/ActOnDealResponse.d.mts +4 -0
  1232. package/dist/esm/api/resources/deals/types/ActOnDealResponse.mjs +2 -0
  1233. package/dist/esm/api/resources/deals/types/CreateDealResponse.d.mts +4 -0
  1234. package/dist/esm/api/resources/deals/types/CreateDealResponse.mjs +2 -0
  1235. package/dist/esm/api/resources/deals/types/GetDealResponse.d.mts +4 -0
  1236. package/dist/esm/api/resources/deals/types/GetDealResponse.mjs +2 -0
  1237. package/dist/esm/api/resources/deals/types/ListDealPaymentsResponse.d.mts +4 -0
  1238. package/dist/esm/api/resources/deals/types/ListDealPaymentsResponse.mjs +2 -0
  1239. package/dist/esm/api/resources/deals/types/ListDealsResponse.d.mts +4 -0
  1240. package/dist/esm/api/resources/deals/types/ListDealsResponse.mjs +2 -0
  1241. package/dist/esm/api/resources/deals/types/UpdateDealResponse.d.mts +4 -0
  1242. package/dist/esm/api/resources/deals/types/UpdateDealResponse.mjs +2 -0
  1243. package/dist/esm/api/resources/deals/types/index.d.mts +6 -0
  1244. package/dist/esm/api/resources/deals/types/index.mjs +6 -0
  1245. package/dist/esm/api/resources/deployment/client/Client.d.mts +56 -0
  1246. package/dist/esm/api/resources/deployment/client/Client.mjs +167 -0
  1247. package/dist/esm/api/resources/deployment/client/index.d.mts +1 -0
  1248. package/dist/esm/api/resources/deployment/client/index.mjs +1 -0
  1249. package/dist/esm/api/resources/deployment/client/requests/CreateAiDeploymentRequest.d.mts +24 -0
  1250. package/dist/esm/api/resources/deployment/client/requests/CreateAiDeploymentRequest.mjs +9 -0
  1251. package/dist/esm/api/resources/deployment/client/requests/GetAiDeploymentRequest.d.mts +9 -0
  1252. package/dist/esm/api/resources/deployment/client/requests/GetAiDeploymentRequest.mjs +2 -0
  1253. package/dist/esm/api/resources/deployment/client/requests/index.d.mts +2 -0
  1254. package/dist/esm/api/resources/deployment/client/requests/index.mjs +1 -0
  1255. package/dist/esm/api/resources/deployment/exports.d.mts +2 -0
  1256. package/dist/esm/api/resources/deployment/exports.mjs +3 -0
  1257. package/dist/esm/api/resources/deployment/index.d.mts +2 -0
  1258. package/dist/esm/api/resources/deployment/index.mjs +2 -0
  1259. package/dist/esm/api/resources/deployment/types/CreateAiDeploymentRequestResponse.d.mts +4 -0
  1260. package/dist/esm/api/resources/deployment/types/CreateAiDeploymentRequestResponse.mjs +2 -0
  1261. package/dist/esm/api/resources/deployment/types/GetAiDeploymentResponse.d.mts +4 -0
  1262. package/dist/esm/api/resources/deployment/types/GetAiDeploymentResponse.mjs +2 -0
  1263. package/dist/esm/api/resources/deployment/types/index.d.mts +2 -0
  1264. package/dist/esm/api/resources/deployment/types/index.mjs +2 -0
  1265. package/dist/esm/api/resources/enrollment/client/Client.d.mts +56 -0
  1266. package/dist/esm/api/resources/enrollment/client/Client.mjs +172 -0
  1267. package/dist/esm/api/resources/enrollment/client/index.d.mts +1 -0
  1268. package/dist/esm/api/resources/enrollment/client/index.mjs +1 -0
  1269. package/dist/esm/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.d.mts +12 -0
  1270. package/dist/esm/api/resources/enrollment/client/requests/CreateEnrollmentBatchRequest.mjs +2 -0
  1271. package/dist/esm/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.d.mts +13 -0
  1272. package/dist/esm/api/resources/enrollment/client/requests/GetEnrollmentBatchRequest.mjs +2 -0
  1273. package/dist/esm/api/resources/enrollment/client/requests/index.d.mts +2 -0
  1274. package/dist/esm/api/resources/enrollment/exports.d.mts +2 -0
  1275. package/dist/esm/api/resources/enrollment/exports.mjs +3 -0
  1276. package/dist/esm/api/resources/enrollment/index.d.mts +1 -0
  1277. package/dist/esm/api/resources/enrollment/index.mjs +1 -0
  1278. package/dist/esm/api/resources/ephemeralGoals/client/Client.d.mts +104 -0
  1279. package/dist/esm/api/resources/ephemeralGoals/client/Client.mjs +299 -0
  1280. package/dist/esm/api/resources/ephemeralGoals/client/index.d.mts +1 -0
  1281. package/dist/esm/api/resources/ephemeralGoals/client/index.mjs +1 -0
  1282. package/dist/esm/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.d.mts +11 -0
  1283. package/dist/esm/api/resources/ephemeralGoals/client/requests/CastEphemeralGoalRequest.mjs +2 -0
  1284. package/dist/esm/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.d.mts +29 -0
  1285. package/dist/esm/api/resources/ephemeralGoals/client/requests/CreateEphemeralGoalRequest.mjs +2 -0
  1286. package/dist/esm/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.d.mts +19 -0
  1287. package/dist/esm/api/resources/ephemeralGoals/client/requests/EphemeralGoalActionRequest.mjs +7 -0
  1288. package/dist/esm/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.d.mts +11 -0
  1289. package/dist/esm/api/resources/ephemeralGoals/client/requests/GetEphemeralGoalRequest.mjs +2 -0
  1290. package/dist/esm/api/resources/ephemeralGoals/client/requests/index.d.mts +4 -0
  1291. package/dist/esm/api/resources/ephemeralGoals/client/requests/index.mjs +1 -0
  1292. package/dist/esm/api/resources/ephemeralGoals/exports.d.mts +2 -0
  1293. package/dist/esm/api/resources/ephemeralGoals/exports.mjs +3 -0
  1294. package/dist/esm/api/resources/ephemeralGoals/index.d.mts +2 -0
  1295. package/dist/esm/api/resources/ephemeralGoals/index.mjs +2 -0
  1296. package/dist/esm/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.d.mts +4 -0
  1297. package/dist/esm/api/resources/ephemeralGoals/types/ActOnEphemeralGoalResponse.mjs +2 -0
  1298. package/dist/esm/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.d.mts +4 -0
  1299. package/dist/esm/api/resources/ephemeralGoals/types/CastEphemeralGoalResponse.mjs +2 -0
  1300. package/dist/esm/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.d.mts +4 -0
  1301. package/dist/esm/api/resources/ephemeralGoals/types/CreateEphemeralGoalResponse.mjs +2 -0
  1302. package/dist/esm/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.d.mts +4 -0
  1303. package/dist/esm/api/resources/ephemeralGoals/types/GetEphemeralGoalResponse.mjs +2 -0
  1304. package/dist/esm/api/resources/ephemeralGoals/types/index.d.mts +4 -0
  1305. package/dist/esm/api/resources/ephemeralGoals/types/index.mjs +4 -0
  1306. package/dist/esm/api/resources/goals/client/Client.d.mts +131 -0
  1307. package/dist/esm/api/resources/goals/client/Client.mjs +419 -0
  1308. package/dist/esm/api/resources/goals/client/index.d.mts +1 -0
  1309. package/dist/esm/api/resources/goals/client/index.mjs +1 -0
  1310. package/dist/esm/api/resources/goals/client/requests/ActOnGoalRequest.d.mts +14 -0
  1311. package/dist/esm/api/resources/goals/client/requests/ActOnGoalRequest.mjs +2 -0
  1312. package/dist/esm/api/resources/goals/client/requests/GetGoalRequest.d.mts +11 -0
  1313. package/dist/esm/api/resources/goals/client/requests/GetGoalRequest.mjs +2 -0
  1314. package/dist/esm/api/resources/goals/client/requests/ListGoalsRequest.d.mts +11 -0
  1315. package/dist/esm/api/resources/goals/client/requests/ListGoalsRequest.mjs +2 -0
  1316. package/dist/esm/api/resources/goals/client/requests/RequestGoalPublicationRequest.d.mts +12 -0
  1317. package/dist/esm/api/resources/goals/client/requests/RequestGoalPublicationRequest.mjs +2 -0
  1318. package/dist/esm/api/resources/goals/client/requests/UpdateGoalBody.d.mts +12 -0
  1319. package/dist/esm/api/resources/goals/client/requests/UpdateGoalBody.mjs +2 -0
  1320. package/dist/esm/api/resources/goals/client/requests/index.d.mts +5 -0
  1321. package/dist/esm/api/resources/goals/index.d.mts +2 -0
  1322. package/dist/esm/api/resources/goals/index.mjs +2 -0
  1323. package/dist/esm/api/resources/goals/types/ActOnGoalResponse.d.mts +4 -0
  1324. package/dist/esm/api/resources/goals/types/ActOnGoalResponse.mjs +2 -0
  1325. package/dist/esm/api/resources/goals/types/CreateGoalResponse.d.mts +4 -0
  1326. package/dist/esm/api/resources/goals/types/CreateGoalResponse.mjs +2 -0
  1327. package/dist/esm/api/resources/goals/types/GetGoalResponse.d.mts +4 -0
  1328. package/dist/esm/api/resources/goals/types/GetGoalResponse.mjs +2 -0
  1329. package/dist/esm/api/resources/goals/types/ListGoalsResponse.mjs +2 -0
  1330. package/dist/esm/api/resources/goals/types/UpdateGoalResponse.d.mts +4 -0
  1331. package/dist/esm/api/resources/goals/types/UpdateGoalResponse.mjs +2 -0
  1332. package/dist/esm/api/resources/goals/types/index.d.mts +5 -0
  1333. package/dist/esm/api/resources/goals/types/index.mjs +5 -0
  1334. package/dist/esm/api/resources/index.d.mts +71 -0
  1335. package/dist/esm/api/resources/index.mjs +71 -0
  1336. package/dist/esm/api/resources/integrations/client/Client.d.mts +51 -0
  1337. package/dist/esm/api/resources/integrations/client/Client.mjs +143 -0
  1338. package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
  1339. package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
  1340. package/dist/esm/api/resources/integrations/client/requests/GetAiIntegrationsRequest.d.mts +9 -0
  1341. package/dist/esm/api/resources/integrations/client/requests/GetAiIntegrationsRequest.mjs +2 -0
  1342. package/dist/esm/api/resources/integrations/client/requests/index.d.mts +1 -0
  1343. package/dist/esm/api/resources/integrations/index.d.mts +1 -0
  1344. package/dist/esm/api/resources/integrations/index.mjs +1 -0
  1345. package/dist/esm/api/resources/listings/client/Client.d.mts +161 -0
  1346. package/dist/esm/api/resources/listings/client/Client.mjs +507 -0
  1347. package/dist/esm/api/resources/listings/client/index.d.mts +1 -0
  1348. package/dist/esm/api/resources/listings/client/index.mjs +1 -0
  1349. package/dist/esm/api/resources/listings/client/requests/ArchiveListingRequest.d.mts +13 -0
  1350. package/dist/esm/api/resources/listings/client/requests/ArchiveListingRequest.mjs +2 -0
  1351. package/dist/esm/api/resources/listings/client/requests/BatchUpsertListingsRequest.d.mts +15 -0
  1352. package/dist/esm/api/resources/listings/client/requests/BatchUpsertListingsRequest.mjs +2 -0
  1353. package/dist/esm/api/resources/listings/client/requests/CreateListingBody.d.mts +15 -0
  1354. package/dist/esm/api/resources/listings/client/requests/CreateListingBody.mjs +2 -0
  1355. package/dist/esm/api/resources/listings/client/requests/CreateListingImportRequest.d.mts +25 -0
  1356. package/dist/esm/api/resources/listings/client/requests/CreateListingImportRequest.mjs +8 -0
  1357. package/dist/esm/api/resources/listings/client/requests/GetListingRequest.d.mts +11 -0
  1358. package/dist/esm/api/resources/listings/client/requests/GetListingRequest.mjs +2 -0
  1359. package/dist/esm/api/resources/listings/client/requests/ListListingsRequest.d.mts +16 -0
  1360. package/dist/esm/api/resources/listings/client/requests/ListListingsRequest.mjs +2 -0
  1361. package/dist/esm/api/resources/listings/client/requests/UpdateListingRequest.d.mts +32 -0
  1362. package/dist/esm/api/resources/listings/client/requests/UpdateListingRequest.mjs +2 -0
  1363. package/dist/esm/api/resources/listings/client/requests/index.d.mts +7 -0
  1364. package/dist/esm/api/resources/listings/client/requests/index.mjs +1 -0
  1365. package/dist/esm/api/resources/listings/exports.d.mts +2 -0
  1366. package/dist/esm/api/resources/listings/exports.mjs +3 -0
  1367. package/dist/esm/api/resources/listings/index.d.mts +2 -0
  1368. package/dist/esm/api/resources/listings/index.mjs +2 -0
  1369. package/dist/esm/api/resources/listings/types/ArchiveListingResponse.d.mts +4 -0
  1370. package/dist/esm/api/resources/listings/types/ArchiveListingResponse.mjs +2 -0
  1371. package/dist/esm/api/resources/listings/types/BatchUpsertListingsResponse.d.mts +3 -0
  1372. package/dist/esm/api/resources/listings/types/BatchUpsertListingsResponse.mjs +2 -0
  1373. package/dist/esm/api/resources/listings/types/CreateListingImportResponse.d.mts +4 -0
  1374. package/dist/esm/api/resources/listings/types/CreateListingImportResponse.mjs +2 -0
  1375. package/dist/esm/api/resources/listings/types/CreateListingResponse.d.mts +4 -0
  1376. package/dist/esm/api/resources/listings/types/CreateListingResponse.mjs +2 -0
  1377. package/dist/esm/api/resources/listings/types/GetListingResponse.d.mts +4 -0
  1378. package/dist/esm/api/resources/listings/types/GetListingResponse.mjs +2 -0
  1379. package/dist/esm/api/resources/listings/types/ListListingsResponse.d.mts +5 -0
  1380. package/dist/esm/api/resources/listings/types/ListListingsResponse.mjs +2 -0
  1381. package/dist/esm/api/resources/listings/types/UpdateListingResponse.d.mts +4 -0
  1382. package/dist/esm/api/resources/listings/types/UpdateListingResponse.mjs +2 -0
  1383. package/dist/esm/api/resources/listings/types/index.d.mts +7 -0
  1384. package/dist/esm/api/resources/listings/types/index.mjs +7 -0
  1385. package/dist/esm/api/resources/network/client/Client.d.mts +56 -0
  1386. package/dist/esm/api/resources/network/client/Client.mjs +161 -0
  1387. package/dist/esm/api/resources/network/client/index.d.mts +1 -0
  1388. package/dist/esm/api/resources/network/client/index.mjs +1 -0
  1389. package/dist/esm/api/resources/network/client/requests/BrowseNetworkRequest.d.mts +11 -0
  1390. package/dist/esm/api/resources/network/client/requests/BrowseNetworkRequest.mjs +2 -0
  1391. package/dist/esm/api/resources/network/client/requests/GetNetworkAiRequest.d.mts +10 -0
  1392. package/dist/esm/api/resources/network/client/requests/GetNetworkAiRequest.mjs +2 -0
  1393. package/dist/esm/api/resources/network/client/requests/index.d.mts +2 -0
  1394. package/dist/esm/api/resources/network/client/requests/index.mjs +1 -0
  1395. package/dist/esm/api/resources/network/exports.d.mts +2 -0
  1396. package/dist/esm/api/resources/network/exports.mjs +3 -0
  1397. package/dist/esm/api/resources/network/index.d.mts +1 -0
  1398. package/dist/esm/api/resources/network/index.mjs +1 -0
  1399. package/dist/esm/api/resources/notifications/client/Client.d.mts +34 -0
  1400. package/dist/esm/api/resources/notifications/client/Client.mjs +85 -0
  1401. package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
  1402. package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
  1403. package/dist/esm/api/resources/notifications/client/requests/GetAiNotificationsRequest.d.mts +9 -0
  1404. package/dist/esm/api/resources/notifications/client/requests/GetAiNotificationsRequest.mjs +2 -0
  1405. package/dist/esm/api/resources/notifications/client/requests/index.d.mts +1 -0
  1406. package/dist/esm/api/resources/notifications/client/requests/index.mjs +1 -0
  1407. package/dist/esm/api/resources/notifications/exports.d.mts +2 -0
  1408. package/dist/esm/api/resources/notifications/exports.mjs +3 -0
  1409. package/dist/esm/api/resources/notifications/index.d.mts +1 -0
  1410. package/dist/esm/api/resources/notifications/index.mjs +1 -0
  1411. package/dist/esm/api/resources/outcomes/client/Client.d.mts +72 -0
  1412. package/dist/esm/api/resources/outcomes/client/Client.mjs +229 -0
  1413. package/dist/esm/api/resources/outcomes/client/index.d.mts +1 -0
  1414. package/dist/esm/api/resources/outcomes/client/index.mjs +1 -0
  1415. package/dist/esm/api/resources/outcomes/client/requests/GetOutcomeRequest.d.mts +9 -0
  1416. package/dist/esm/api/resources/outcomes/client/requests/GetOutcomeRequest.mjs +2 -0
  1417. package/dist/esm/api/resources/outcomes/client/requests/ListOutcomesRequest.d.mts +8 -0
  1418. package/dist/esm/api/resources/outcomes/client/requests/ListOutcomesRequest.mjs +2 -0
  1419. package/dist/esm/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.d.mts +16 -0
  1420. package/dist/esm/api/resources/outcomes/client/requests/SubmitOutcomeEvidenceRequest.mjs +2 -0
  1421. package/dist/esm/api/resources/outcomes/client/requests/index.d.mts +3 -0
  1422. package/dist/esm/api/resources/outcomes/client/requests/index.mjs +1 -0
  1423. package/dist/esm/api/resources/outcomes/exports.d.mts +2 -0
  1424. package/dist/esm/api/resources/outcomes/exports.mjs +3 -0
  1425. package/dist/esm/api/resources/outcomes/index.d.mts +2 -0
  1426. package/dist/esm/api/resources/outcomes/index.mjs +2 -0
  1427. package/dist/esm/api/resources/outcomes/types/GetOutcomeResponse.d.mts +4 -0
  1428. package/dist/esm/api/resources/outcomes/types/GetOutcomeResponse.mjs +2 -0
  1429. package/dist/esm/api/resources/outcomes/types/ListOutcomesResponse.d.mts +4 -0
  1430. package/dist/esm/api/resources/outcomes/types/ListOutcomesResponse.mjs +2 -0
  1431. package/dist/esm/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.d.mts +4 -0
  1432. package/dist/esm/api/resources/outcomes/types/SubmitOutcomeEvidenceResponse.mjs +2 -0
  1433. package/dist/esm/api/resources/outcomes/types/index.d.mts +3 -0
  1434. package/dist/esm/api/resources/outcomes/types/index.mjs +3 -0
  1435. package/dist/esm/api/resources/permissions/client/Client.d.mts +34 -0
  1436. package/dist/esm/api/resources/permissions/client/Client.mjs +85 -0
  1437. package/dist/esm/api/resources/permissions/client/index.d.mts +1 -0
  1438. package/dist/esm/api/resources/permissions/client/index.mjs +1 -0
  1439. package/dist/esm/api/resources/permissions/client/requests/GetAiPermissionsRequest.d.mts +9 -0
  1440. package/dist/esm/api/resources/permissions/client/requests/GetAiPermissionsRequest.mjs +2 -0
  1441. package/dist/esm/api/resources/permissions/client/requests/index.d.mts +1 -0
  1442. package/dist/esm/api/resources/permissions/client/requests/index.mjs +1 -0
  1443. package/dist/esm/api/resources/permissions/exports.d.mts +2 -0
  1444. package/dist/esm/api/resources/permissions/exports.mjs +3 -0
  1445. package/dist/esm/api/resources/permissions/index.d.mts +2 -0
  1446. package/dist/esm/api/resources/permissions/index.mjs +2 -0
  1447. package/dist/esm/api/resources/permissions/types/GetAiPermissionsResponse.d.mts +4 -0
  1448. package/dist/esm/api/resources/permissions/types/GetAiPermissionsResponse.mjs +2 -0
  1449. package/dist/esm/api/resources/permissions/types/index.d.mts +1 -0
  1450. package/dist/esm/api/resources/permissions/types/index.mjs +1 -0
  1451. package/dist/esm/api/resources/reputation/client/Client.d.mts +36 -0
  1452. package/dist/esm/api/resources/reputation/client/Client.mjs +87 -0
  1453. package/dist/esm/api/resources/reputation/client/index.d.mts +1 -0
  1454. package/dist/esm/api/resources/reputation/client/index.mjs +1 -0
  1455. package/dist/esm/api/resources/reputation/client/requests/GetAiReputationRequest.d.mts +9 -0
  1456. package/dist/esm/api/resources/reputation/client/requests/GetAiReputationRequest.mjs +2 -0
  1457. package/dist/esm/api/resources/reputation/client/requests/index.d.mts +1 -0
  1458. package/dist/esm/api/resources/reputation/client/requests/index.mjs +1 -0
  1459. package/dist/esm/api/resources/reputation/exports.d.mts +2 -0
  1460. package/dist/esm/api/resources/reputation/exports.mjs +3 -0
  1461. package/dist/esm/api/resources/reputation/index.d.mts +2 -0
  1462. package/dist/esm/api/resources/reputation/index.mjs +2 -0
  1463. package/dist/esm/api/resources/reputation/types/GetAiReputationResponse.d.mts +4 -0
  1464. package/dist/esm/api/resources/reputation/types/GetAiReputationResponse.mjs +2 -0
  1465. package/dist/esm/api/resources/reputation/types/index.d.mts +1 -0
  1466. package/dist/esm/api/resources/reputation/types/index.mjs +1 -0
  1467. package/dist/esm/api/resources/requests/client/Client.d.mts +54 -0
  1468. package/dist/esm/api/resources/requests/client/Client.mjs +170 -0
  1469. package/dist/esm/api/resources/requests/client/index.d.mts +1 -0
  1470. package/dist/esm/api/resources/requests/client/index.mjs +1 -0
  1471. package/dist/esm/api/resources/requests/client/requests/ListRequestsRequest.d.mts +9 -0
  1472. package/dist/esm/api/resources/requests/client/requests/ListRequestsRequest.mjs +2 -0
  1473. package/dist/esm/api/resources/requests/client/requests/RequestActionRequest.d.mts +25 -0
  1474. package/dist/esm/api/resources/requests/client/requests/RequestActionRequest.mjs +8 -0
  1475. package/dist/esm/api/resources/requests/client/requests/index.d.mts +2 -0
  1476. package/dist/esm/api/resources/requests/client/requests/index.mjs +1 -0
  1477. package/dist/esm/api/resources/requests/exports.d.mts +2 -0
  1478. package/dist/esm/api/resources/requests/exports.mjs +3 -0
  1479. package/dist/esm/api/resources/requests/index.d.mts +2 -0
  1480. package/dist/esm/api/resources/requests/index.mjs +2 -0
  1481. package/dist/esm/api/resources/requests/types/ActOnRequestResponse.d.mts +4 -0
  1482. package/dist/esm/api/resources/requests/types/ActOnRequestResponse.mjs +2 -0
  1483. package/dist/esm/api/resources/requests/types/ListRequestsResponse.d.mts +4 -0
  1484. package/dist/esm/api/resources/requests/types/ListRequestsResponse.mjs +2 -0
  1485. package/dist/esm/api/resources/requests/types/index.d.mts +2 -0
  1486. package/dist/esm/api/resources/requests/types/index.mjs +2 -0
  1487. package/dist/esm/api/resources/skills/client/Client.d.mts +91 -0
  1488. package/dist/esm/api/resources/skills/client/Client.mjs +286 -0
  1489. package/dist/esm/api/resources/skills/client/index.d.mts +1 -0
  1490. package/dist/esm/api/resources/skills/client/index.mjs +1 -0
  1491. package/dist/esm/api/resources/skills/client/requests/CreateAiSkillRequest.d.mts +32 -0
  1492. package/dist/esm/api/resources/skills/client/requests/CreateAiSkillRequest.mjs +13 -0
  1493. package/dist/esm/api/resources/skills/client/requests/DeleteAiSkillRequest.d.mts +11 -0
  1494. package/dist/esm/api/resources/skills/client/requests/DeleteAiSkillRequest.mjs +2 -0
  1495. package/dist/esm/api/resources/skills/client/requests/ListAiSkillsRequest.d.mts +9 -0
  1496. package/dist/esm/api/resources/skills/client/requests/ListAiSkillsRequest.mjs +2 -0
  1497. package/dist/esm/api/resources/skills/client/requests/UpdateAiSkillRequest.d.mts +33 -0
  1498. package/dist/esm/api/resources/skills/client/requests/UpdateAiSkillRequest.mjs +13 -0
  1499. package/dist/esm/api/resources/skills/client/requests/index.d.mts +4 -0
  1500. package/dist/esm/api/resources/skills/client/requests/index.mjs +2 -0
  1501. package/dist/esm/api/resources/skills/exports.d.mts +2 -0
  1502. package/dist/esm/api/resources/skills/exports.mjs +3 -0
  1503. package/dist/esm/api/resources/skills/index.d.mts +2 -0
  1504. package/dist/esm/api/resources/skills/index.mjs +2 -0
  1505. package/dist/esm/api/resources/skills/types/CreateAiSkillResponse.d.mts +4 -0
  1506. package/dist/esm/api/resources/skills/types/CreateAiSkillResponse.mjs +2 -0
  1507. package/dist/esm/api/resources/skills/types/DeleteAiSkillResponse.d.mts +4 -0
  1508. package/dist/esm/api/resources/skills/types/DeleteAiSkillResponse.mjs +2 -0
  1509. package/dist/esm/api/resources/skills/types/ListAiSkillsResponse.d.mts +4 -0
  1510. package/dist/esm/api/resources/skills/types/ListAiSkillsResponse.mjs +2 -0
  1511. package/dist/esm/api/resources/skills/types/UpdateAiSkillResponse.d.mts +4 -0
  1512. package/dist/esm/api/resources/skills/types/UpdateAiSkillResponse.mjs +2 -0
  1513. package/dist/esm/api/resources/skills/types/index.d.mts +4 -0
  1514. package/dist/esm/api/resources/skills/types/index.mjs +4 -0
  1515. package/dist/esm/api/resources/tasks/client/Client.d.mts +168 -0
  1516. package/dist/esm/api/resources/tasks/client/Client.mjs +501 -0
  1517. package/dist/esm/api/resources/tasks/client/index.d.mts +1 -0
  1518. package/dist/esm/api/resources/tasks/client/index.mjs +1 -0
  1519. package/dist/esm/api/resources/tasks/client/requests/ActOnTaskRequest.d.mts +14 -0
  1520. package/dist/esm/api/resources/tasks/client/requests/ActOnTaskRequest.mjs +2 -0
  1521. package/dist/esm/api/resources/tasks/client/requests/GetTaskRequest.d.mts +11 -0
  1522. package/dist/esm/api/resources/tasks/client/requests/GetTaskRequest.mjs +2 -0
  1523. package/dist/esm/api/resources/tasks/client/requests/ListTasksRequest.d.mts +11 -0
  1524. package/dist/esm/api/resources/tasks/client/requests/ListTasksRequest.mjs +2 -0
  1525. package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.d.mts +12 -0
  1526. package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationApprovalRequest.mjs +2 -0
  1527. package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationRequest.d.mts +12 -0
  1528. package/dist/esm/api/resources/tasks/client/requests/RequestTaskPublicationRequest.mjs +2 -0
  1529. package/dist/esm/api/resources/tasks/client/requests/UpdateTaskBody.d.mts +12 -0
  1530. package/dist/esm/api/resources/tasks/client/requests/UpdateTaskBody.mjs +2 -0
  1531. package/dist/esm/api/resources/tasks/client/requests/index.d.mts +6 -0
  1532. package/dist/esm/api/resources/tasks/client/requests/index.mjs +1 -0
  1533. package/dist/esm/api/resources/tasks/exports.d.mts +2 -0
  1534. package/dist/esm/api/resources/tasks/exports.mjs +3 -0
  1535. package/dist/esm/api/resources/tasks/index.d.mts +2 -0
  1536. package/dist/esm/api/resources/tasks/index.mjs +2 -0
  1537. package/dist/esm/api/resources/tasks/types/ActOnTaskResponse.d.mts +4 -0
  1538. package/dist/esm/api/resources/tasks/types/ActOnTaskResponse.mjs +2 -0
  1539. package/dist/esm/api/resources/tasks/types/CreateTaskResponse.d.mts +4 -0
  1540. package/dist/esm/api/resources/tasks/types/CreateTaskResponse.mjs +2 -0
  1541. package/dist/esm/api/resources/tasks/types/GetTaskResponse.d.mts +4 -0
  1542. package/dist/esm/api/resources/tasks/types/GetTaskResponse.mjs +2 -0
  1543. package/dist/esm/api/resources/tasks/types/ListTasksResponse.d.mts +4 -0
  1544. package/dist/esm/api/resources/tasks/types/ListTasksResponse.mjs +2 -0
  1545. package/dist/esm/api/resources/tasks/types/UpdateTaskResponse.d.mts +4 -0
  1546. package/dist/esm/api/resources/tasks/types/UpdateTaskResponse.mjs +2 -0
  1547. package/dist/esm/api/resources/tasks/types/index.d.mts +5 -0
  1548. package/dist/esm/api/resources/tasks/types/index.mjs +5 -0
  1549. package/dist/esm/api/resources/tools/client/Client.d.mts +51 -0
  1550. package/dist/esm/api/resources/tools/client/Client.mjs +158 -0
  1551. package/dist/esm/api/resources/tools/client/index.d.mts +1 -0
  1552. package/dist/esm/api/resources/tools/client/index.mjs +1 -0
  1553. package/dist/esm/api/resources/tools/client/requests/ExecuteToolRequest.d.mts +10 -0
  1554. package/dist/esm/api/resources/tools/client/requests/ExecuteToolRequest.mjs +2 -0
  1555. package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -0
  1556. package/dist/esm/api/resources/tools/index.d.mts +2 -0
  1557. package/dist/esm/api/resources/tools/index.mjs +2 -0
  1558. package/dist/esm/api/resources/tools/types/ListToolsResponse.mjs +2 -0
  1559. package/dist/esm/api/resources/transactions/client/Client.d.mts +93 -0
  1560. package/dist/esm/api/resources/transactions/client/Client.mjs +299 -0
  1561. package/dist/esm/api/resources/transactions/client/index.d.mts +1 -0
  1562. package/dist/esm/api/resources/transactions/client/index.mjs +1 -0
  1563. package/dist/esm/api/resources/transactions/client/requests/CreateDealTransactionRequest.d.mts +12 -0
  1564. package/dist/esm/api/resources/transactions/client/requests/CreateDealTransactionRequest.mjs +2 -0
  1565. package/dist/esm/api/resources/transactions/client/requests/GetTransactionRequest.d.mts +11 -0
  1566. package/dist/esm/api/resources/transactions/client/requests/GetTransactionRequest.mjs +2 -0
  1567. package/dist/esm/api/resources/transactions/client/requests/ListTransactionsRequest.d.mts +8 -0
  1568. package/dist/esm/api/resources/transactions/client/requests/ListTransactionsRequest.mjs +2 -0
  1569. package/dist/esm/api/resources/transactions/client/requests/TransactionActionRequest.d.mts +23 -0
  1570. package/dist/esm/api/resources/transactions/client/requests/TransactionActionRequest.mjs +8 -0
  1571. package/dist/esm/api/resources/transactions/client/requests/index.d.mts +4 -0
  1572. package/dist/esm/api/resources/transactions/client/requests/index.mjs +1 -0
  1573. package/dist/esm/api/resources/transactions/exports.d.mts +2 -0
  1574. package/dist/esm/api/resources/transactions/exports.mjs +3 -0
  1575. package/dist/esm/api/resources/transactions/index.d.mts +2 -0
  1576. package/dist/esm/api/resources/transactions/index.mjs +2 -0
  1577. package/dist/esm/api/resources/transactions/types/ActOnTransactionResponse.d.mts +4 -0
  1578. package/dist/esm/api/resources/transactions/types/ActOnTransactionResponse.mjs +2 -0
  1579. package/dist/esm/api/resources/transactions/types/GetTransactionResponse.d.mts +4 -0
  1580. package/dist/esm/api/resources/transactions/types/GetTransactionResponse.mjs +2 -0
  1581. package/dist/esm/api/resources/transactions/types/ListTransactionsResponse.d.mts +4 -0
  1582. package/dist/esm/api/resources/transactions/types/ListTransactionsResponse.mjs +2 -0
  1583. package/dist/esm/api/resources/transactions/types/index.d.mts +3 -0
  1584. package/dist/esm/api/resources/transactions/types/index.mjs +3 -0
  1585. package/dist/esm/api/resources/usage/client/Client.d.mts +36 -0
  1586. package/dist/esm/api/resources/usage/client/Client.mjs +87 -0
  1587. package/dist/esm/api/resources/usage/client/index.d.mts +1 -0
  1588. package/dist/esm/api/resources/usage/client/index.mjs +1 -0
  1589. package/dist/esm/api/resources/usage/client/requests/GetAiUsageRequest.d.mts +9 -0
  1590. package/dist/esm/api/resources/usage/client/requests/GetAiUsageRequest.mjs +2 -0
  1591. package/dist/esm/api/resources/usage/client/requests/index.d.mts +1 -0
  1592. package/dist/esm/api/resources/usage/client/requests/index.mjs +1 -0
  1593. package/dist/esm/api/resources/usage/exports.d.mts +2 -0
  1594. package/dist/esm/api/resources/usage/exports.mjs +3 -0
  1595. package/dist/esm/api/resources/usage/index.d.mts +2 -0
  1596. package/dist/esm/api/resources/usage/index.mjs +2 -0
  1597. package/dist/esm/api/resources/usage/types/GetAiUsageResponse.d.mts +4 -0
  1598. package/dist/esm/api/resources/usage/types/GetAiUsageResponse.mjs +2 -0
  1599. package/dist/esm/api/resources/usage/types/index.d.mts +1 -0
  1600. package/dist/esm/api/resources/usage/types/index.mjs +1 -0
  1601. package/dist/esm/api/resources/verification/client/Client.d.mts +34 -0
  1602. package/dist/esm/api/resources/verification/client/Client.mjs +85 -0
  1603. package/dist/esm/api/resources/verification/client/index.d.mts +1 -0
  1604. package/dist/esm/api/resources/verification/client/index.mjs +1 -0
  1605. package/dist/esm/api/resources/verification/client/requests/GetAiVerificationRequest.d.mts +9 -0
  1606. package/dist/esm/api/resources/verification/client/requests/GetAiVerificationRequest.mjs +2 -0
  1607. package/dist/esm/api/resources/verification/client/requests/index.d.mts +1 -0
  1608. package/dist/esm/api/resources/verification/client/requests/index.mjs +1 -0
  1609. package/dist/esm/api/resources/verification/exports.d.mts +2 -0
  1610. package/dist/esm/api/resources/verification/exports.mjs +3 -0
  1611. package/dist/esm/api/resources/verification/index.d.mts +2 -0
  1612. package/dist/esm/api/resources/verification/index.mjs +2 -0
  1613. package/dist/esm/api/resources/verification/types/GetAiVerificationResponse.d.mts +4 -0
  1614. package/dist/esm/api/resources/verification/types/GetAiVerificationResponse.mjs +2 -0
  1615. package/dist/esm/api/resources/verification/types/index.d.mts +1 -0
  1616. package/dist/esm/api/resources/verification/types/index.mjs +1 -0
  1617. package/dist/esm/api/resources/webhooks/client/Client.d.mts +112 -0
  1618. package/dist/esm/api/resources/webhooks/client/Client.mjs +353 -0
  1619. package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
  1620. package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
  1621. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.d.mts +34 -0
  1622. package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequest.mjs +22 -0
  1623. package/dist/esm/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.d.mts +12 -0
  1624. package/dist/esm/api/resources/webhooks/client/requests/ListWebhookDeliveriesRequest.mjs +2 -0
  1625. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.d.mts +9 -0
  1626. package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.mjs +2 -0
  1627. package/dist/esm/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.d.mts +13 -0
  1628. package/dist/esm/api/resources/webhooks/client/requests/RetryWebhookDeliveryRequest.mjs +2 -0
  1629. package/dist/esm/api/resources/webhooks/client/requests/RevokeWebhookRequest.d.mts +11 -0
  1630. package/dist/esm/api/resources/webhooks/client/requests/RevokeWebhookRequest.mjs +2 -0
  1631. package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +5 -0
  1632. package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
  1633. package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
  1634. package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
  1635. package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
  1636. package/dist/esm/api/resources/webhooks/index.mjs +2 -0
  1637. package/dist/esm/api/resources/webhooks/types/CreateWebhookResponse.d.mts +4 -0
  1638. package/dist/esm/api/resources/webhooks/types/CreateWebhookResponse.mjs +2 -0
  1639. package/dist/esm/api/resources/webhooks/types/ListWebhookDeliveriesResponse.d.mts +4 -0
  1640. package/dist/esm/api/resources/webhooks/types/ListWebhookDeliveriesResponse.mjs +2 -0
  1641. package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.d.mts +4 -0
  1642. package/dist/esm/api/resources/webhooks/types/ListWebhooksResponse.mjs +2 -0
  1643. package/dist/esm/api/resources/webhooks/types/RetryWebhookDeliveryResponse.d.mts +4 -0
  1644. package/dist/esm/api/resources/webhooks/types/RetryWebhookDeliveryResponse.mjs +2 -0
  1645. package/dist/esm/api/resources/webhooks/types/RevokeWebhookResponse.d.mts +4 -0
  1646. package/dist/esm/api/resources/webhooks/types/RevokeWebhookResponse.mjs +2 -0
  1647. package/dist/esm/api/resources/webhooks/types/index.d.mts +5 -0
  1648. package/dist/esm/api/resources/webhooks/types/index.mjs +5 -0
  1649. package/dist/esm/api/types/AccessPolicy.d.mts +22 -0
  1650. package/dist/esm/api/types/AccessPolicy.mjs +8 -0
  1651. package/dist/esm/api/types/AccessPolicyRule.d.mts +14 -0
  1652. package/dist/esm/api/types/AccessPolicyRule.mjs +2 -0
  1653. package/dist/esm/api/types/Account.d.mts +11 -0
  1654. package/dist/esm/api/types/Account.mjs +2 -0
  1655. package/dist/esm/api/types/Ai.d.mts +31 -0
  1656. package/dist/esm/api/types/Ai.mjs +13 -0
  1657. package/dist/esm/api/types/AiActivity.d.mts +11 -0
  1658. package/dist/esm/api/types/AiActivity.mjs +2 -0
  1659. package/dist/esm/api/types/AiActivityPage.d.mts +5 -0
  1660. package/dist/esm/api/types/AiActivityPage.mjs +2 -0
  1661. package/dist/esm/api/types/AiAsset.d.mts +33 -0
  1662. package/dist/esm/api/types/AiAsset.mjs +17 -0
  1663. package/dist/esm/api/types/AiAssetUpload.d.mts +19 -0
  1664. package/dist/esm/api/types/AiAssetUpload.mjs +10 -0
  1665. package/dist/esm/api/types/AiBillingAccount.d.mts +13 -0
  1666. package/dist/esm/api/types/AiBillingAccount.mjs +9 -0
  1667. package/dist/esm/api/types/AiBillingActivityPage.d.mts +20 -0
  1668. package/dist/esm/api/types/AiBillingActivityPage.mjs +2 -0
  1669. package/dist/esm/api/types/AiBillingSummary.d.mts +24 -0
  1670. package/dist/esm/api/types/AiBillingSummary.mjs +7 -0
  1671. package/dist/esm/api/types/AiDeployment.d.mts +15 -0
  1672. package/dist/esm/api/types/AiDeployment.mjs +9 -0
  1673. package/dist/esm/api/types/AiDeploymentRequest.d.mts +17 -0
  1674. package/dist/esm/api/types/AiDeploymentRequest.mjs +9 -0
  1675. package/dist/esm/api/types/AiInvitation.d.mts +15 -0
  1676. package/dist/esm/api/types/AiInvitation.mjs +8 -0
  1677. package/dist/esm/api/types/AiMember.d.mts +21 -0
  1678. package/dist/esm/api/types/AiMember.mjs +9 -0
  1679. package/dist/esm/api/types/AiNotifications.d.mts +4 -0
  1680. package/dist/esm/api/types/AiNotifications.mjs +2 -0
  1681. package/dist/esm/api/types/AiPermissions.d.mts +15 -0
  1682. package/dist/esm/api/types/AiPermissions.mjs +9 -0
  1683. package/dist/esm/api/types/AiReputation.d.mts +22 -0
  1684. package/dist/esm/api/types/AiReputation.mjs +10 -0
  1685. package/dist/esm/api/types/AiSkill.d.mts +33 -0
  1686. package/dist/esm/api/types/AiSkill.mjs +13 -0
  1687. package/dist/esm/api/types/AiSkillCatalogEntry.d.mts +30 -0
  1688. package/dist/esm/api/types/AiSkillCatalogEntry.mjs +21 -0
  1689. package/dist/esm/api/types/AiUsage.d.mts +22 -0
  1690. package/dist/esm/api/types/AiUsage.mjs +10 -0
  1691. package/dist/esm/api/types/AiVerification.d.mts +5 -0
  1692. package/dist/esm/api/types/AiVerification.mjs +2 -0
  1693. package/dist/esm/api/types/AiWalletBalance.d.mts +15 -0
  1694. package/dist/esm/api/types/AiWalletBalance.mjs +2 -0
  1695. package/dist/esm/api/types/Application.d.mts +41 -0
  1696. package/dist/esm/api/types/Application.mjs +17 -0
  1697. package/dist/esm/api/types/ApplicationAiLink.d.mts +41 -0
  1698. package/dist/esm/api/types/ApplicationAiLink.mjs +15 -0
  1699. package/dist/esm/api/types/ApplicationWallet.d.mts +10 -0
  1700. package/dist/esm/api/types/ApplicationWallet.mjs +2 -0
  1701. package/dist/esm/api/types/Approval.d.mts +26 -0
  1702. package/dist/esm/api/types/Approval.mjs +10 -0
  1703. package/dist/esm/api/types/ApprovalResult.d.mts +5 -0
  1704. package/dist/esm/api/types/ApprovalResult.mjs +2 -0
  1705. package/dist/esm/api/types/AutoTopupSettings.d.mts +5 -0
  1706. package/dist/esm/api/types/AutoTopupSettings.mjs +2 -0
  1707. package/dist/esm/api/types/Connection.d.mts +4 -0
  1708. package/dist/esm/api/types/Connection.mjs +2 -0
  1709. package/dist/esm/api/types/ConnectionAuthorizationCompletion.d.mts +5 -0
  1710. package/dist/esm/api/types/ConnectionAuthorizationCompletion.mjs +2 -0
  1711. package/dist/esm/api/types/ConnectionAuthorizationSession.d.mts +1 -0
  1712. package/dist/esm/api/types/ConnectionAuthorizationSession.mjs +2 -0
  1713. package/dist/esm/api/types/ConnectionGrantDisableResult.d.mts +3 -0
  1714. package/dist/esm/api/types/ConnectionGrantDisableResult.mjs +2 -0
  1715. package/dist/esm/api/types/ConnectionRemovalResult.d.mts +4 -0
  1716. package/dist/esm/api/types/ConnectionRemovalResult.mjs +2 -0
  1717. package/dist/esm/api/types/ConversationMessage.d.mts +16 -0
  1718. package/dist/esm/api/types/ConversationMessage.mjs +8 -0
  1719. package/dist/esm/api/types/ConversationPage.d.mts +6 -0
  1720. package/dist/esm/api/types/ConversationPage.mjs +2 -0
  1721. package/dist/esm/api/types/ConversationSummary.d.mts +21 -0
  1722. package/dist/esm/api/types/ConversationSummary.mjs +10 -0
  1723. package/dist/esm/api/types/ConversationTurn.d.mts +5 -0
  1724. package/dist/esm/api/types/ConversationTurn.mjs +2 -0
  1725. package/dist/esm/api/types/CreateGoalRequest.d.mts +31 -0
  1726. package/dist/esm/api/types/CreateGoalRequest.mjs +14 -0
  1727. package/dist/esm/api/types/CreateListingRequest.d.mts +21 -0
  1728. package/dist/esm/api/types/CreateListingRequest.mjs +2 -0
  1729. package/dist/esm/api/types/CreateTaskRequest.d.mts +2 -0
  1730. package/dist/esm/api/types/CreateTaskRequest.mjs +2 -0
  1731. package/dist/esm/api/types/CreatedEnrollmentLink.d.mts +6 -0
  1732. package/dist/esm/api/types/CreatedEnrollmentLink.mjs +2 -0
  1733. package/dist/esm/api/types/CreatedServiceAccount.d.mts +5 -0
  1734. package/dist/esm/api/types/CreatedServiceAccount.mjs +2 -0
  1735. package/dist/esm/api/types/CreatedWebhook.d.mts +5 -0
  1736. package/dist/esm/api/types/CreatedWebhook.mjs +2 -0
  1737. package/dist/esm/api/types/Deal.d.mts +46 -0
  1738. package/dist/esm/api/types/Deal.mjs +20 -0
  1739. package/dist/esm/api/types/DeletedResource.d.mts +10 -0
  1740. package/dist/esm/api/types/DeletedResource.mjs +7 -0
  1741. package/dist/esm/api/types/EnrollmentBatch.d.mts +20 -0
  1742. package/dist/esm/api/types/EnrollmentBatch.mjs +10 -0
  1743. package/dist/esm/api/types/EnrollmentBatchItem.d.mts +18 -0
  1744. package/dist/esm/api/types/EnrollmentBatchItem.mjs +10 -0
  1745. package/dist/esm/api/types/EnrollmentBatchResult.d.mts +11 -0
  1746. package/dist/esm/api/types/EnrollmentBatchResult.mjs +2 -0
  1747. package/dist/esm/api/types/EnrollmentLink.d.mts +30 -0
  1748. package/dist/esm/api/types/EnrollmentLink.mjs +13 -0
  1749. package/dist/esm/api/types/EphemeralGoal.d.mts +38 -0
  1750. package/dist/esm/api/types/EphemeralGoal.mjs +18 -0
  1751. package/dist/esm/api/types/Error_.d.mts +8 -0
  1752. package/dist/esm/api/types/Error_.mjs +2 -0
  1753. package/dist/esm/api/types/FeeRate.d.mts +4 -0
  1754. package/dist/esm/api/types/FeeRate.mjs +2 -0
  1755. package/dist/esm/api/types/Goal.d.mts +51 -0
  1756. package/dist/esm/api/types/Goal.mjs +24 -0
  1757. package/dist/esm/api/types/GoalActionRequest.d.mts +13 -0
  1758. package/dist/esm/api/types/GoalActionRequest.mjs +10 -0
  1759. package/dist/esm/api/types/IntegrationCatalog.d.mts +1 -0
  1760. package/dist/esm/api/types/IntegrationCatalog.mjs +2 -0
  1761. package/dist/esm/api/types/Integrations.d.mts +11 -0
  1762. package/dist/esm/api/types/Integrations.mjs +2 -0
  1763. package/dist/esm/api/types/Listing.d.mts +26 -0
  1764. package/dist/esm/api/types/Listing.mjs +2 -0
  1765. package/dist/esm/api/types/ListingImport.d.mts +30 -0
  1766. package/dist/esm/api/types/ListingImport.mjs +18 -0
  1767. package/dist/esm/api/types/ListingPricing.d.mts +21 -0
  1768. package/dist/esm/api/types/ListingPricing.mjs +13 -0
  1769. package/dist/esm/api/types/ListingSelection.d.mts +5 -0
  1770. package/dist/esm/api/types/ListingSelection.mjs +2 -0
  1771. package/dist/esm/api/types/ListingStatus.d.mts +7 -0
  1772. package/dist/esm/api/types/ListingStatus.mjs +7 -0
  1773. package/dist/esm/api/types/ListingType.d.mts +10 -0
  1774. package/dist/esm/api/types/ListingType.mjs +10 -0
  1775. package/dist/esm/api/types/ListingVariant.d.mts +13 -0
  1776. package/dist/esm/api/types/ListingVariant.mjs +2 -0
  1777. package/dist/esm/api/types/ListingVisibility.d.mts +5 -0
  1778. package/dist/esm/api/types/ListingVisibility.mjs +5 -0
  1779. package/dist/esm/api/types/NetworkAiCard.d.mts +24 -0
  1780. package/dist/esm/api/types/NetworkAiCard.mjs +2 -0
  1781. package/dist/esm/api/types/NetworkAiProfile.d.mts +23 -0
  1782. package/dist/esm/api/types/NetworkAiProfile.mjs +10 -0
  1783. package/dist/esm/api/types/NetworkAiResult.d.mts +13 -0
  1784. package/dist/esm/api/types/NetworkAiResult.mjs +2 -0
  1785. package/dist/esm/api/types/NetworkBrowseResult.d.mts +16 -0
  1786. package/dist/esm/api/types/NetworkBrowseResult.mjs +2 -0
  1787. package/dist/esm/api/types/NetworkCategory.d.mts +12 -0
  1788. package/dist/esm/api/types/NetworkCategory.mjs +12 -0
  1789. package/dist/esm/api/types/NetworkListing.d.mts +17 -0
  1790. package/dist/esm/api/types/NetworkListing.mjs +2 -0
  1791. package/dist/esm/api/types/Outcome.d.mts +17 -0
  1792. package/dist/esm/api/types/Outcome.mjs +2 -0
  1793. package/dist/esm/api/types/OutcomeEvidence.d.mts +47 -0
  1794. package/dist/esm/api/types/OutcomeEvidence.mjs +26 -0
  1795. package/dist/esm/api/types/Payment.d.mts +19 -0
  1796. package/dist/esm/api/types/Payment.mjs +2 -0
  1797. package/dist/esm/api/types/PaymentIntentClientDetails.d.mts +4 -0
  1798. package/dist/esm/api/types/PaymentIntentClientDetails.mjs +2 -0
  1799. package/dist/esm/api/types/Payout.d.mts +9 -0
  1800. package/dist/esm/api/types/Payout.mjs +2 -0
  1801. package/dist/esm/api/types/PayoutSetup.d.mts +3 -0
  1802. package/dist/esm/api/types/PayoutSetup.mjs +2 -0
  1803. package/dist/esm/api/types/PublicationRequest.d.mts +5 -0
  1804. package/dist/esm/api/types/PublicationRequest.mjs +2 -0
  1805. package/dist/esm/api/types/PublicationRequestResult.d.mts +5 -0
  1806. package/dist/esm/api/types/PublicationRequestResult.mjs +2 -0
  1807. package/dist/esm/api/types/Request.d.mts +40 -0
  1808. package/dist/esm/api/types/Request.mjs +16 -0
  1809. package/dist/esm/api/types/ServiceAccount.d.mts +60 -0
  1810. package/dist/esm/api/types/ServiceAccount.mjs +46 -0
  1811. package/dist/esm/api/types/Task.d.mts +5 -0
  1812. package/dist/esm/api/types/Task.mjs +2 -0
  1813. package/dist/esm/api/types/TaskActionRequest.d.mts +2 -0
  1814. package/dist/esm/api/types/TaskActionRequest.mjs +2 -0
  1815. package/dist/esm/api/types/Tool.d.mts +30 -0
  1816. package/dist/esm/api/types/Tool.mjs +22 -0
  1817. package/dist/esm/api/types/ToolExecution.d.mts +5 -0
  1818. package/dist/esm/api/types/ToolExecution.mjs +2 -0
  1819. package/dist/esm/api/types/Transaction.d.mts +40 -0
  1820. package/dist/esm/api/types/Transaction.mjs +8 -0
  1821. package/dist/esm/api/types/TransactionFundingResult.d.mts +15 -0
  1822. package/dist/esm/api/types/TransactionFundingResult.mjs +8 -0
  1823. package/dist/esm/api/types/UpdateGoalRequest.d.mts +32 -0
  1824. package/dist/esm/api/types/UpdateGoalRequest.mjs +17 -0
  1825. package/dist/esm/api/types/UpdateTaskRequest.d.mts +2 -0
  1826. package/dist/esm/api/types/UpdateTaskRequest.mjs +2 -0
  1827. package/dist/esm/api/types/Visibility.d.mts +6 -0
  1828. package/dist/esm/api/types/Visibility.mjs +6 -0
  1829. package/dist/esm/api/types/WalletTopupIntent.d.mts +13 -0
  1830. package/dist/esm/api/types/WalletTopupIntent.mjs +7 -0
  1831. package/dist/esm/api/types/WalletWithdrawal.d.mts +23 -0
  1832. package/dist/esm/api/types/WalletWithdrawal.mjs +14 -0
  1833. package/dist/esm/api/types/Webhook.d.mts +20 -0
  1834. package/dist/esm/api/types/Webhook.mjs +8 -0
  1835. package/dist/esm/api/types/WebhookDelivery.d.mts +23 -0
  1836. package/dist/esm/api/types/WebhookDelivery.mjs +10 -0
  1837. package/dist/esm/api/types/WithdrawalQuote.d.mts +20 -0
  1838. package/dist/esm/api/types/WithdrawalQuote.mjs +11 -0
  1839. package/dist/esm/api/types/WithdrawalRequest.d.mts +11 -0
  1840. package/dist/esm/api/types/WithdrawalRequest.mjs +8 -0
  1841. package/dist/esm/api/types/WorkMode.d.mts +7 -0
  1842. package/dist/esm/api/types/WorkMode.mjs +7 -0
  1843. package/dist/esm/api/types/index.d.mts +97 -0
  1844. package/dist/esm/api/types/index.mjs +97 -0
  1845. package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
  1846. package/dist/esm/auth/BearerAuthProvider.mjs +42 -0
  1847. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  1848. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  1849. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  1850. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  1851. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  1852. package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
  1853. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  1854. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  1855. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  1856. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  1857. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  1858. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -0
  1859. package/dist/esm/core/fetcher/signals.d.mts +5 -0
  1860. package/dist/esm/core/headers.d.mts +2 -0
  1861. package/dist/esm/core/json.d.mts +15 -0
  1862. package/dist/esm/core/logging/logger.d.mts +126 -0
  1863. package/dist/esm/core/requestBody.d.mts +12 -0
  1864. package/dist/esm/core/runtime/runtime.d.mts +28 -0
  1865. package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
  1866. package/dist/esm/core/url/qs.d.mts +7 -0
  1867. package/dist/esm/environments.d.mts +4 -0
  1868. package/dist/esm/version.d.mts +1 -0
  1869. package/dist/esm/version.mjs +1 -0
  1870. package/package.json +358 -41
  1871. package/reference.md +6779 -0
  1872. package/LICENSE +0 -21
  1873. package/generated/cjs/BaseClient.d.ts +0 -64
  1874. package/generated/cjs/BaseClient.js +0 -100
  1875. package/generated/cjs/Client.d.ts +0 -42
  1876. package/generated/cjs/Client.js +0 -161
  1877. package/generated/cjs/api/errors/BadRequestError.d.ts +0 -7
  1878. package/generated/cjs/api/errors/BadRequestError.js +0 -72
  1879. package/generated/cjs/api/errors/ForbiddenError.d.ts +0 -7
  1880. package/generated/cjs/api/errors/ForbiddenError.js +0 -72
  1881. package/generated/cjs/api/errors/NotFoundError.d.ts +0 -7
  1882. package/generated/cjs/api/errors/NotFoundError.js +0 -72
  1883. package/generated/cjs/api/errors/UnauthorizedError.d.ts +0 -7
  1884. package/generated/cjs/api/errors/UnauthorizedError.js +0 -72
  1885. package/generated/cjs/api/errors/index.d.ts +0 -4
  1886. package/generated/cjs/api/errors/index.js +0 -32
  1887. package/generated/cjs/api/index.d.ts +0 -3
  1888. package/generated/cjs/api/index.js +0 -31
  1889. package/generated/cjs/api/resources/agent/client/Client.d.ts +0 -58
  1890. package/generated/cjs/api/resources/agent/client/Client.js +0 -299
  1891. package/generated/cjs/api/resources/agent/client/index.d.ts +0 -1
  1892. package/generated/cjs/api/resources/agent/client/index.js +0 -29
  1893. package/generated/cjs/api/resources/agent/client/requests/CreateAgentMessageRequest.d.ts +0 -11
  1894. package/generated/cjs/api/resources/agent/client/requests/CreateAgentMessageRequest.js +0 -3
  1895. package/generated/cjs/api/resources/agent/client/requests/GetConversationRequest.d.ts +0 -8
  1896. package/generated/cjs/api/resources/agent/client/requests/GetConversationRequest.js +0 -3
  1897. package/generated/cjs/api/resources/agent/client/requests/index.d.ts +0 -2
  1898. package/generated/cjs/api/resources/agent/client/requests/index.js +0 -2
  1899. package/generated/cjs/api/resources/agent/exports.d.ts +0 -2
  1900. package/generated/cjs/api/resources/agent/exports.js +0 -38
  1901. package/generated/cjs/api/resources/agent/index.d.ts +0 -1
  1902. package/generated/cjs/api/resources/agent/index.js +0 -29
  1903. package/generated/cjs/api/resources/approvals/client/Client.d.ts +0 -55
  1904. package/generated/cjs/api/resources/approvals/client/Client.js +0 -308
  1905. package/generated/cjs/api/resources/approvals/client/index.d.ts +0 -1
  1906. package/generated/cjs/api/resources/approvals/client/index.js +0 -29
  1907. package/generated/cjs/api/resources/approvals/client/requests/ApprovalDecisionRequest.d.ts +0 -19
  1908. package/generated/cjs/api/resources/approvals/client/requests/ApprovalDecisionRequest.js +0 -11
  1909. package/generated/cjs/api/resources/approvals/client/requests/ListApprovalsRequest.d.ts +0 -7
  1910. package/generated/cjs/api/resources/approvals/client/requests/ListApprovalsRequest.js +0 -3
  1911. package/generated/cjs/api/resources/approvals/client/requests/index.d.ts +0 -2
  1912. package/generated/cjs/api/resources/approvals/client/requests/index.js +0 -10
  1913. package/generated/cjs/api/resources/approvals/exports.d.ts +0 -2
  1914. package/generated/cjs/api/resources/approvals/exports.js +0 -38
  1915. package/generated/cjs/api/resources/approvals/index.d.ts +0 -2
  1916. package/generated/cjs/api/resources/approvals/index.js +0 -30
  1917. package/generated/cjs/api/resources/approvals/types/ListApprovalsResponse.d.ts +0 -5
  1918. package/generated/cjs/api/resources/approvals/types/ListApprovalsResponse.js +0 -3
  1919. package/generated/cjs/api/resources/approvals/types/index.d.ts +0 -1
  1920. package/generated/cjs/api/resources/approvals/types/index.js +0 -29
  1921. package/generated/cjs/api/resources/goals/client/Client.d.ts +0 -71
  1922. package/generated/cjs/api/resources/goals/client/Client.js +0 -383
  1923. package/generated/cjs/api/resources/goals/client/index.d.ts +0 -1
  1924. package/generated/cjs/api/resources/goals/client/index.js +0 -29
  1925. package/generated/cjs/api/resources/goals/client/requests/CreateGoalRequest.d.ts +0 -21
  1926. package/generated/cjs/api/resources/goals/client/requests/CreateGoalRequest.js +0 -13
  1927. package/generated/cjs/api/resources/goals/client/requests/GetGoalRequest.d.ts +0 -9
  1928. package/generated/cjs/api/resources/goals/client/requests/GetGoalRequest.js +0 -3
  1929. package/generated/cjs/api/resources/goals/client/requests/index.d.ts +0 -2
  1930. package/generated/cjs/api/resources/goals/client/requests/index.js +0 -10
  1931. package/generated/cjs/api/resources/goals/exports.d.ts +0 -2
  1932. package/generated/cjs/api/resources/goals/exports.js +0 -38
  1933. package/generated/cjs/api/resources/goals/index.d.ts +0 -2
  1934. package/generated/cjs/api/resources/goals/index.js +0 -30
  1935. package/generated/cjs/api/resources/goals/types/ListGoalsResponse.d.ts +0 -5
  1936. package/generated/cjs/api/resources/goals/types/ListGoalsResponse.js +0 -3
  1937. package/generated/cjs/api/resources/goals/types/index.d.ts +0 -1
  1938. package/generated/cjs/api/resources/goals/types/index.js +0 -29
  1939. package/generated/cjs/api/resources/index.d.ts +0 -12
  1940. package/generated/cjs/api/resources/index.js +0 -72
  1941. package/generated/cjs/api/resources/integrations/client/Client.d.ts +0 -31
  1942. package/generated/cjs/api/resources/integrations/client/Client.js +0 -190
  1943. package/generated/cjs/api/resources/integrations/client/index.js +0 -2
  1944. package/generated/cjs/api/resources/integrations/exports.d.ts +0 -2
  1945. package/generated/cjs/api/resources/integrations/exports.js +0 -38
  1946. package/generated/cjs/api/resources/integrations/index.d.ts +0 -1
  1947. package/generated/cjs/api/resources/integrations/index.js +0 -29
  1948. package/generated/cjs/api/resources/tools/client/Client.d.ts +0 -54
  1949. package/generated/cjs/api/resources/tools/client/Client.js +0 -305
  1950. package/generated/cjs/api/resources/tools/client/index.d.ts +0 -1
  1951. package/generated/cjs/api/resources/tools/client/index.js +0 -29
  1952. package/generated/cjs/api/resources/tools/client/requests/ExecuteToolRequest.d.ts +0 -10
  1953. package/generated/cjs/api/resources/tools/client/requests/ExecuteToolRequest.js +0 -3
  1954. package/generated/cjs/api/resources/tools/client/requests/index.d.ts +0 -1
  1955. package/generated/cjs/api/resources/tools/client/requests/index.js +0 -2
  1956. package/generated/cjs/api/resources/tools/exports.d.ts +0 -2
  1957. package/generated/cjs/api/resources/tools/exports.js +0 -38
  1958. package/generated/cjs/api/resources/tools/index.d.ts +0 -2
  1959. package/generated/cjs/api/resources/tools/index.js +0 -30
  1960. package/generated/cjs/api/resources/tools/types/ListToolsResponse.d.ts +0 -5
  1961. package/generated/cjs/api/resources/tools/types/ListToolsResponse.js +0 -3
  1962. package/generated/cjs/api/resources/tools/types/index.d.ts +0 -1
  1963. package/generated/cjs/api/resources/tools/types/index.js +0 -29
  1964. package/generated/cjs/api/types/Approval.d.ts +0 -1
  1965. package/generated/cjs/api/types/Approval.js +0 -3
  1966. package/generated/cjs/api/types/Error_.d.ts +0 -8
  1967. package/generated/cjs/api/types/Error_.js +0 -3
  1968. package/generated/cjs/api/types/ExecuteToolResponse.d.ts +0 -5
  1969. package/generated/cjs/api/types/ExecuteToolResponse.js +0 -3
  1970. package/generated/cjs/api/types/Goal.d.ts +0 -1
  1971. package/generated/cjs/api/types/Goal.js +0 -3
  1972. package/generated/cjs/api/types/Tool.d.ts +0 -16
  1973. package/generated/cjs/api/types/Tool.js +0 -12
  1974. package/generated/cjs/api/types/index.d.ts +0 -5
  1975. package/generated/cjs/api/types/index.js +0 -33
  1976. package/generated/cjs/auth/BearerAuthProvider.d.ts +0 -19
  1977. package/generated/cjs/auth/BearerAuthProvider.js +0 -119
  1978. package/generated/cjs/auth/index.d.ts +0 -1
  1979. package/generated/cjs/auth/index.js +0 -10
  1980. package/generated/cjs/core/auth/AuthProvider.d.ts +0 -7
  1981. package/generated/cjs/core/auth/AuthProvider.js +0 -11
  1982. package/generated/cjs/core/auth/AuthRequest.d.ts +0 -9
  1983. package/generated/cjs/core/auth/AuthRequest.js +0 -2
  1984. package/generated/cjs/core/auth/BasicAuth.d.ts +0 -8
  1985. package/generated/cjs/core/auth/BasicAuth.js +0 -33
  1986. package/generated/cjs/core/auth/BearerToken.d.ts +0 -7
  1987. package/generated/cjs/core/auth/BearerToken.js +0 -16
  1988. package/generated/cjs/core/auth/NoOpAuthProvider.d.ts +0 -6
  1989. package/generated/cjs/core/auth/NoOpAuthProvider.js +0 -9
  1990. package/generated/cjs/core/auth/index.d.ts +0 -5
  1991. package/generated/cjs/core/auth/index.js +0 -31
  1992. package/generated/cjs/core/base64.js +0 -26
  1993. package/generated/cjs/core/exports.d.ts +0 -1
  1994. package/generated/cjs/core/exports.js +0 -29
  1995. package/generated/cjs/core/fetcher/APIResponse.d.ts +0 -21
  1996. package/generated/cjs/core/fetcher/APIResponse.js +0 -2
  1997. package/generated/cjs/core/fetcher/BinaryResponse.d.ts +0 -19
  1998. package/generated/cjs/core/fetcher/BinaryResponse.js +0 -17
  1999. package/generated/cjs/core/fetcher/EndpointMetadata.d.ts +0 -13
  2000. package/generated/cjs/core/fetcher/EndpointMetadata.js +0 -2
  2001. package/generated/cjs/core/fetcher/EndpointSupplier.d.ts +0 -14
  2002. package/generated/cjs/core/fetcher/EndpointSupplier.js +0 -44
  2003. package/generated/cjs/core/fetcher/Fetcher.d.ts +0 -57
  2004. package/generated/cjs/core/fetcher/Fetcher.js +0 -280
  2005. package/generated/cjs/core/fetcher/Headers.js +0 -79
  2006. package/generated/cjs/core/fetcher/HttpResponsePromise.d.ts +0 -72
  2007. package/generated/cjs/core/fetcher/HttpResponsePromise.js +0 -125
  2008. package/generated/cjs/core/fetcher/RawResponse.d.ts +0 -32
  2009. package/generated/cjs/core/fetcher/RawResponse.js +0 -44
  2010. package/generated/cjs/core/fetcher/Supplier.d.ts +0 -4
  2011. package/generated/cjs/core/fetcher/Supplier.js +0 -44
  2012. package/generated/cjs/core/fetcher/createRequestUrl.js +0 -8
  2013. package/generated/cjs/core/fetcher/getErrorResponseBody.js +0 -70
  2014. package/generated/cjs/core/fetcher/getFetchFn.js +0 -39
  2015. package/generated/cjs/core/fetcher/getHeader.js +0 -11
  2016. package/generated/cjs/core/fetcher/getRequestBody.d.ts +0 -7
  2017. package/generated/cjs/core/fetcher/getRequestBody.js +0 -48
  2018. package/generated/cjs/core/fetcher/getResponseBody.js +0 -101
  2019. package/generated/cjs/core/fetcher/index.d.ts +0 -13
  2020. package/generated/cjs/core/fetcher/index.js +0 -73
  2021. package/generated/cjs/core/fetcher/makePassthroughRequest.d.ts +0 -55
  2022. package/generated/cjs/core/fetcher/makePassthroughRequest.js +0 -217
  2023. package/generated/cjs/core/fetcher/makeRequest.d.ts +0 -17
  2024. package/generated/cjs/core/fetcher/makeRequest.js +0 -106
  2025. package/generated/cjs/core/fetcher/redactUrl.js +0 -89
  2026. package/generated/cjs/core/fetcher/requestWithRetries.js +0 -91
  2027. package/generated/cjs/core/fetcher/signals.d.ts +0 -5
  2028. package/generated/cjs/core/fetcher/signals.js +0 -36
  2029. package/generated/cjs/core/headers.d.ts +0 -6
  2030. package/generated/cjs/core/headers.js +0 -30
  2031. package/generated/cjs/core/index.d.ts +0 -6
  2032. package/generated/cjs/core/index.js +0 -66
  2033. package/generated/cjs/core/json.d.ts +0 -22
  2034. package/generated/cjs/core/json.js +0 -24
  2035. package/generated/cjs/core/logging/exports.d.ts +0 -19
  2036. package/generated/cjs/core/logging/exports.js +0 -63
  2037. package/generated/cjs/core/logging/index.d.ts +0 -1
  2038. package/generated/cjs/core/logging/index.js +0 -29
  2039. package/generated/cjs/core/logging/logger.d.ts +0 -126
  2040. package/generated/cjs/core/logging/logger.js +0 -144
  2041. package/generated/cjs/core/requestBody.d.ts +0 -15
  2042. package/generated/cjs/core/requestBody.js +0 -26
  2043. package/generated/cjs/core/runtime/index.d.ts +0 -1
  2044. package/generated/cjs/core/runtime/index.js +0 -16
  2045. package/generated/cjs/core/runtime/runtime.d.ts +0 -28
  2046. package/generated/cjs/core/runtime/runtime.js +0 -188
  2047. package/generated/cjs/core/url/QueryStringBuilder.d.ts +0 -51
  2048. package/generated/cjs/core/url/QueryStringBuilder.js +0 -88
  2049. package/generated/cjs/core/url/encodePathParam.js +0 -21
  2050. package/generated/cjs/core/url/index.d.ts +0 -4
  2051. package/generated/cjs/core/url/index.js +0 -31
  2052. package/generated/cjs/core/url/join.js +0 -66
  2053. package/generated/cjs/core/url/qs.d.ts +0 -7
  2054. package/generated/cjs/core/url/qs.js +0 -72
  2055. package/generated/cjs/environments.d.ts +0 -4
  2056. package/generated/cjs/environments.js +0 -7
  2057. package/generated/cjs/errors/DarwinError.d.ts +0 -22
  2058. package/generated/cjs/errors/DarwinError.js +0 -44
  2059. package/generated/cjs/errors/DarwinTimeoutError.d.ts +0 -10
  2060. package/generated/cjs/errors/DarwinTimeoutError.js +0 -70
  2061. package/generated/cjs/errors/handleNonStatusCodeError.d.ts +0 -8
  2062. package/generated/cjs/errors/handleNonStatusCodeError.js +0 -86
  2063. package/generated/cjs/errors/index.d.ts +0 -2
  2064. package/generated/cjs/errors/index.js +0 -17
  2065. package/generated/cjs/exports.d.ts +0 -1
  2066. package/generated/cjs/exports.js +0 -29
  2067. package/generated/cjs/index.d.ts +0 -6
  2068. package/generated/cjs/index.js +0 -94
  2069. package/generated/esm/BaseClient.mjs +0 -37
  2070. package/generated/esm/Client.d.mts +0 -38
  2071. package/generated/esm/Client.mjs +0 -66
  2072. package/generated/esm/api/errors/index.d.mts +0 -4
  2073. package/generated/esm/api/errors/index.mjs +0 -4
  2074. package/generated/esm/api/resources/agent/client/Client.d.mts +0 -52
  2075. package/generated/esm/api/resources/agent/client/Client.mjs +0 -152
  2076. package/generated/esm/api/resources/agent/client/requests/CreateAgentMessageRequest.d.mts +0 -11
  2077. package/generated/esm/api/resources/agent/client/requests/GetConversationRequest.d.mts +0 -8
  2078. package/generated/esm/api/resources/agent/client/requests/index.d.mts +0 -2
  2079. package/generated/esm/api/resources/agent/exports.d.mts +0 -2
  2080. package/generated/esm/api/resources/agent/exports.mjs +0 -3
  2081. package/generated/esm/api/resources/approvals/client/Client.d.mts +0 -49
  2082. package/generated/esm/api/resources/approvals/client/Client.mjs +0 -160
  2083. package/generated/esm/api/resources/approvals/client/requests/ApprovalDecisionRequest.d.mts +0 -19
  2084. package/generated/esm/api/resources/approvals/client/requests/ApprovalDecisionRequest.mjs +0 -8
  2085. package/generated/esm/api/resources/approvals/client/requests/ListApprovalsRequest.d.mts +0 -7
  2086. package/generated/esm/api/resources/approvals/client/requests/index.d.mts +0 -2
  2087. package/generated/esm/api/resources/approvals/client/requests/index.mjs +0 -1
  2088. package/generated/esm/api/resources/approvals/exports.d.mts +0 -2
  2089. package/generated/esm/api/resources/approvals/exports.mjs +0 -3
  2090. package/generated/esm/api/resources/approvals/types/ListApprovalsResponse.d.mts +0 -4
  2091. package/generated/esm/api/resources/approvals/types/index.d.mts +0 -1
  2092. package/generated/esm/api/resources/approvals/types/index.mjs +0 -1
  2093. package/generated/esm/api/resources/goals/client/Client.d.mts +0 -65
  2094. package/generated/esm/api/resources/goals/client/Client.mjs +0 -198
  2095. package/generated/esm/api/resources/goals/client/requests/CreateGoalRequest.d.mts +0 -21
  2096. package/generated/esm/api/resources/goals/client/requests/CreateGoalRequest.mjs +0 -10
  2097. package/generated/esm/api/resources/goals/client/requests/GetGoalRequest.d.mts +0 -9
  2098. package/generated/esm/api/resources/goals/client/requests/index.d.mts +0 -2
  2099. package/generated/esm/api/resources/goals/client/requests/index.mjs +0 -1
  2100. package/generated/esm/api/resources/goals/types/index.d.mts +0 -1
  2101. package/generated/esm/api/resources/goals/types/index.mjs +0 -1
  2102. package/generated/esm/api/resources/index.d.mts +0 -12
  2103. package/generated/esm/api/resources/index.mjs +0 -12
  2104. package/generated/esm/api/resources/integrations/client/Client.d.mts +0 -29
  2105. package/generated/esm/api/resources/integrations/client/Client.mjs +0 -78
  2106. package/generated/esm/api/resources/tools/client/Client.d.mts +0 -51
  2107. package/generated/esm/api/resources/tools/client/Client.mjs +0 -154
  2108. package/generated/esm/api/types/Approval.d.mts +0 -1
  2109. package/generated/esm/api/types/ExecuteToolResponse.d.mts +0 -5
  2110. package/generated/esm/api/types/Goal.d.mts +0 -1
  2111. package/generated/esm/api/types/Tool.d.mts +0 -16
  2112. package/generated/esm/api/types/Tool.mjs +0 -9
  2113. package/generated/esm/api/types/index.d.mts +0 -5
  2114. package/generated/esm/api/types/index.mjs +0 -5
  2115. package/generated/esm/auth/BearerAuthProvider.d.mts +0 -20
  2116. package/generated/esm/auth/BearerAuthProvider.mjs +0 -42
  2117. /package/{generated/cjs/api/resources/integrations → dist/cjs/api/resources/account}/client/index.d.ts +0 -0
  2118. /package/{generated/esm/api/resources/tools/client/requests/ExecuteToolRequest.d.mts → dist/cjs/api/resources/tools/client/requests/ExecuteToolRequest.d.ts} +0 -0
  2119. /package/{generated/esm/api/types/Error_.d.mts → dist/cjs/api/types/Error_.d.ts} +0 -0
  2120. /package/{generated/esm/core/auth/AuthRequest.d.mts → dist/cjs/core/auth/AuthRequest.d.ts} +0 -0
  2121. /package/{generated/esm/core/auth/BasicAuth.d.mts → dist/cjs/core/auth/BasicAuth.d.ts} +0 -0
  2122. /package/{generated/esm/core/auth/BearerToken.d.mts → dist/cjs/core/auth/BearerToken.d.ts} +0 -0
  2123. /package/{generated → dist}/cjs/core/base64.d.ts +0 -0
  2124. /package/{generated/esm/core/fetcher/BinaryResponse.d.mts → dist/cjs/core/fetcher/BinaryResponse.d.ts} +0 -0
  2125. /package/{generated/esm/core/fetcher/EndpointMetadata.d.mts → dist/cjs/core/fetcher/EndpointMetadata.d.ts} +0 -0
  2126. /package/{generated → dist}/cjs/core/fetcher/Headers.d.ts +0 -0
  2127. /package/{generated/esm/core/fetcher/RawResponse.d.mts → dist/cjs/core/fetcher/RawResponse.d.ts} +0 -0
  2128. /package/{generated/esm/core/fetcher/Supplier.d.mts → dist/cjs/core/fetcher/Supplier.d.ts} +0 -0
  2129. /package/{generated → dist}/cjs/core/fetcher/createRequestUrl.d.ts +0 -0
  2130. /package/{generated → dist}/cjs/core/fetcher/getErrorResponseBody.d.ts +0 -0
  2131. /package/{generated → dist}/cjs/core/fetcher/getFetchFn.d.ts +0 -0
  2132. /package/{generated → dist}/cjs/core/fetcher/getHeader.d.ts +0 -0
  2133. /package/{generated/esm/core/fetcher/getRequestBody.d.mts → dist/cjs/core/fetcher/getRequestBody.d.ts} +0 -0
  2134. /package/{generated → dist}/cjs/core/fetcher/getResponseBody.d.ts +0 -0
  2135. /package/{generated/esm/core/fetcher/makeRequest.d.mts → dist/cjs/core/fetcher/makeRequest.d.ts} +0 -0
  2136. /package/{generated → dist}/cjs/core/fetcher/redactUrl.d.ts +0 -0
  2137. /package/{generated → dist}/cjs/core/fetcher/requestWithRetries.d.ts +0 -0
  2138. /package/{generated/esm/core/fetcher/signals.d.mts → dist/cjs/core/fetcher/signals.d.ts} +0 -0
  2139. /package/{generated/esm/core/headers.d.mts → dist/cjs/core/headers.d.ts} +0 -0
  2140. /package/{generated/esm/core/json.d.mts → dist/cjs/core/json.d.ts} +0 -0
  2141. /package/{generated/esm/core/logging/logger.d.mts → dist/cjs/core/logging/logger.d.ts} +0 -0
  2142. /package/{generated/esm/core/requestBody.d.mts → dist/cjs/core/requestBody.d.ts} +0 -0
  2143. /package/{generated/esm/core/runtime/runtime.d.mts → dist/cjs/core/runtime/runtime.d.ts} +0 -0
  2144. /package/{generated/esm/core/url/QueryStringBuilder.d.mts → dist/cjs/core/url/QueryStringBuilder.d.ts} +0 -0
  2145. /package/{generated → dist}/cjs/core/url/encodePathParam.d.ts +0 -0
  2146. /package/{generated → dist}/cjs/core/url/join.d.ts +0 -0
  2147. /package/{generated/esm/core/url/qs.d.mts → dist/cjs/core/url/qs.d.ts} +0 -0
  2148. /package/{generated/esm/environments.d.mts → dist/cjs/environments.d.ts} +0 -0
  2149. /package/{generated → dist}/esm/BaseClient.d.mts +0 -0
  2150. /package/{generated → dist}/esm/api/errors/BadRequestError.d.mts +0 -0
  2151. /package/{generated → dist}/esm/api/errors/BadRequestError.mjs +0 -0
  2152. /package/{generated → dist}/esm/api/errors/ForbiddenError.d.mts +0 -0
  2153. /package/{generated → dist}/esm/api/errors/ForbiddenError.mjs +0 -0
  2154. /package/{generated → dist}/esm/api/errors/NotFoundError.d.mts +0 -0
  2155. /package/{generated → dist}/esm/api/errors/NotFoundError.mjs +0 -0
  2156. /package/{generated → dist}/esm/api/errors/UnauthorizedError.d.mts +0 -0
  2157. /package/{generated → dist}/esm/api/errors/UnauthorizedError.mjs +0 -0
  2158. /package/{generated → dist}/esm/api/index.d.mts +0 -0
  2159. /package/{generated → dist}/esm/api/index.mjs +0 -0
  2160. /package/{generated/esm/api/resources/integrations → dist/esm/api/resources/account}/client/index.d.mts +0 -0
  2161. /package/{generated/esm/api/resources/agent/client/requests → dist/esm/api/resources/account/client}/index.mjs +0 -0
  2162. /package/{generated/esm/api/resources/agent → dist/esm/api/resources/account}/index.d.mts +0 -0
  2163. /package/{generated/esm/api/resources/agent → dist/esm/api/resources/account}/index.mjs +0 -0
  2164. /package/{generated/esm/api/resources/agent → dist/esm/api/resources/ais}/client/index.d.mts +0 -0
  2165. /package/{generated/esm/api/resources/agent → dist/esm/api/resources/ais}/client/index.mjs +0 -0
  2166. /package/{generated/esm/api/resources/agent/client/requests/CreateAgentMessageRequest.mjs → dist/esm/api/resources/ais/client/requests/CompleteAiAssetUploadRequest.mjs} +0 -0
  2167. /package/{generated/esm/api/resources/agent/client/requests/GetConversationRequest.mjs → dist/esm/api/resources/ais/client/requests/CreateAccessPolicyRequest.mjs} +0 -0
  2168. /package/{generated/esm/api/resources/approvals/client/requests/ListApprovalsRequest.mjs → dist/esm/api/resources/ais/client/requests/DeleteAiAssetRequest.mjs} +0 -0
  2169. /package/{generated/esm/api/resources/approvals/types/ListApprovalsResponse.mjs → dist/esm/api/resources/ais/client/requests/GetAiRequest.mjs} +0 -0
  2170. /package/{generated/esm/api/resources/goals/client/requests/GetGoalRequest.mjs → dist/esm/api/resources/ais/client/requests/ListAccessPoliciesRequest.mjs} +0 -0
  2171. /package/{generated/esm/api/resources/goals/types/ListGoalsResponse.mjs → dist/esm/api/resources/ais/client/requests/ListAiActivityRequest.mjs} +0 -0
  2172. /package/{generated/esm/api/resources/tools/client/requests/ExecuteToolRequest.mjs → dist/esm/api/resources/ais/client/requests/ListAiAssetsRequest.mjs} +0 -0
  2173. /package/{generated/esm/api/resources/tools/types/ListToolsResponse.mjs → dist/esm/api/resources/ais/client/requests/ListAiInvitationsRequest.mjs} +0 -0
  2174. /package/{generated/esm/api/types/Approval.mjs → dist/esm/api/resources/ais/client/requests/ListAiMembersRequest.mjs} +0 -0
  2175. /package/{generated/esm/api/types/Error_.mjs → dist/esm/api/resources/ais/client/requests/RemoveAiMemberRequest.mjs} +0 -0
  2176. /package/{generated/esm/api/types/ExecuteToolResponse.mjs → dist/esm/api/resources/ais/client/requests/RevokeAiInvitationRequest.mjs} +0 -0
  2177. /package/{generated/esm/api/types/Goal.mjs → dist/esm/api/resources/ais/client/requests/UpdateAccessPolicyRequest.mjs} +0 -0
  2178. /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/ais}/index.d.mts +0 -0
  2179. /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/ais}/index.mjs +0 -0
  2180. /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/applications}/client/index.d.mts +0 -0
  2181. /package/{generated/esm/api/resources/approvals → dist/esm/api/resources/applications}/client/index.mjs +0 -0
  2182. /package/{generated/esm/api/resources/goals → dist/esm/api/resources/applications}/index.d.mts +0 -0
  2183. /package/{generated/esm/api/resources/goals → dist/esm/api/resources/applications}/index.mjs +0 -0
  2184. /package/{generated/esm/api/resources/goals → dist/esm/api/resources/billing}/client/index.d.mts +0 -0
  2185. /package/{generated/esm/api/resources/goals → dist/esm/api/resources/billing}/client/index.mjs +0 -0
  2186. /package/{generated/esm/api/resources/integrations → dist/esm/api/resources/billing}/index.d.mts +0 -0
  2187. /package/{generated/esm/api/resources/integrations → dist/esm/api/resources/billing}/index.mjs +0 -0
  2188. /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/client/index.d.mts +0 -0
  2189. /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/client/index.mjs +0 -0
  2190. /package/{generated/esm/api/resources/integrations/client → dist/esm/api/resources/connections/client/requests}/index.mjs +0 -0
  2191. /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/index.d.mts +0 -0
  2192. /package/{generated/esm/api/resources/tools → dist/esm/api/resources/connections}/index.mjs +0 -0
  2193. /package/{generated/esm/api/resources/tools → dist/esm/api/resources/conversations}/client/requests/index.mjs +0 -0
  2194. /package/{generated/esm/core/auth/AuthRequest.mjs → dist/esm/api/resources/enrollment/client/requests/index.mjs} +0 -0
  2195. /package/{generated/esm/core/fetcher/APIResponse.mjs → dist/esm/api/resources/goals/client/requests/index.mjs} +0 -0
  2196. /package/{generated → dist}/esm/api/resources/goals/exports.d.mts +0 -0
  2197. /package/{generated → dist}/esm/api/resources/goals/exports.mjs +0 -0
  2198. /package/{generated → dist}/esm/api/resources/goals/types/ListGoalsResponse.d.mts +0 -0
  2199. /package/{generated/esm/core/fetcher/EndpointMetadata.mjs → dist/esm/api/resources/integrations/client/requests/index.mjs} +0 -0
  2200. /package/{generated → dist}/esm/api/resources/integrations/exports.d.mts +0 -0
  2201. /package/{generated → dist}/esm/api/resources/integrations/exports.mjs +0 -0
  2202. /package/{generated → dist}/esm/api/resources/tools/client/requests/index.d.mts +0 -0
  2203. /package/{generated → dist}/esm/api/resources/tools/exports.d.mts +0 -0
  2204. /package/{generated → dist}/esm/api/resources/tools/exports.mjs +0 -0
  2205. /package/{generated → dist}/esm/api/resources/tools/types/ListToolsResponse.d.mts +0 -0
  2206. /package/{generated → dist}/esm/api/resources/tools/types/index.d.mts +0 -0
  2207. /package/{generated → dist}/esm/api/resources/tools/types/index.mjs +0 -0
  2208. /package/{generated → dist}/esm/auth/index.d.mts +0 -0
  2209. /package/{generated → dist}/esm/auth/index.mjs +0 -0
  2210. /package/{generated → dist}/esm/core/auth/AuthProvider.d.mts +0 -0
  2211. /package/{generated → dist}/esm/core/auth/AuthProvider.mjs +0 -0
  2212. /package/{generated → dist}/esm/core/auth/BasicAuth.mjs +0 -0
  2213. /package/{generated → dist}/esm/core/auth/BearerToken.mjs +0 -0
  2214. /package/{generated → dist}/esm/core/auth/NoOpAuthProvider.d.mts +0 -0
  2215. /package/{generated → dist}/esm/core/auth/NoOpAuthProvider.mjs +0 -0
  2216. /package/{generated → dist}/esm/core/auth/index.d.mts +0 -0
  2217. /package/{generated → dist}/esm/core/auth/index.mjs +0 -0
  2218. /package/{generated → dist}/esm/core/base64.d.mts +0 -0
  2219. /package/{generated → dist}/esm/core/base64.mjs +0 -0
  2220. /package/{generated → dist}/esm/core/exports.d.mts +0 -0
  2221. /package/{generated → dist}/esm/core/exports.mjs +0 -0
  2222. /package/{generated → dist}/esm/core/fetcher/APIResponse.d.mts +0 -0
  2223. /package/{generated → dist}/esm/core/fetcher/BinaryResponse.mjs +0 -0
  2224. /package/{generated → dist}/esm/core/fetcher/EndpointSupplier.d.mts +0 -0
  2225. /package/{generated → dist}/esm/core/fetcher/EndpointSupplier.mjs +0 -0
  2226. /package/{generated → dist}/esm/core/fetcher/Fetcher.d.mts +0 -0
  2227. /package/{generated → dist}/esm/core/fetcher/Fetcher.mjs +0 -0
  2228. /package/{generated → dist}/esm/core/fetcher/Headers.d.mts +0 -0
  2229. /package/{generated → dist}/esm/core/fetcher/Headers.mjs +0 -0
  2230. /package/{generated → dist}/esm/core/fetcher/HttpResponsePromise.d.mts +0 -0
  2231. /package/{generated → dist}/esm/core/fetcher/HttpResponsePromise.mjs +0 -0
  2232. /package/{generated → dist}/esm/core/fetcher/RawResponse.mjs +0 -0
  2233. /package/{generated → dist}/esm/core/fetcher/Supplier.mjs +0 -0
  2234. /package/{generated → dist}/esm/core/fetcher/createRequestUrl.d.mts +0 -0
  2235. /package/{generated → dist}/esm/core/fetcher/createRequestUrl.mjs +0 -0
  2236. /package/{generated → dist}/esm/core/fetcher/getErrorResponseBody.d.mts +0 -0
  2237. /package/{generated → dist}/esm/core/fetcher/getErrorResponseBody.mjs +0 -0
  2238. /package/{generated → dist}/esm/core/fetcher/getFetchFn.d.mts +0 -0
  2239. /package/{generated → dist}/esm/core/fetcher/getFetchFn.mjs +0 -0
  2240. /package/{generated → dist}/esm/core/fetcher/getHeader.d.mts +0 -0
  2241. /package/{generated → dist}/esm/core/fetcher/getHeader.mjs +0 -0
  2242. /package/{generated → dist}/esm/core/fetcher/getRequestBody.mjs +0 -0
  2243. /package/{generated → dist}/esm/core/fetcher/getResponseBody.d.mts +0 -0
  2244. /package/{generated → dist}/esm/core/fetcher/getResponseBody.mjs +0 -0
  2245. /package/{generated → dist}/esm/core/fetcher/index.d.mts +0 -0
  2246. /package/{generated → dist}/esm/core/fetcher/index.mjs +0 -0
  2247. /package/{generated → dist}/esm/core/fetcher/makePassthroughRequest.d.mts +0 -0
  2248. /package/{generated → dist}/esm/core/fetcher/makePassthroughRequest.mjs +0 -0
  2249. /package/{generated → dist}/esm/core/fetcher/makeRequest.mjs +0 -0
  2250. /package/{generated → dist}/esm/core/fetcher/redactUrl.d.mts +0 -0
  2251. /package/{generated → dist}/esm/core/fetcher/redactUrl.mjs +0 -0
  2252. /package/{generated → dist}/esm/core/fetcher/requestWithRetries.d.mts +0 -0
  2253. /package/{generated → dist}/esm/core/fetcher/requestWithRetries.mjs +0 -0
  2254. /package/{generated → dist}/esm/core/fetcher/signals.mjs +0 -0
  2255. /package/{generated → dist}/esm/core/headers.mjs +0 -0
  2256. /package/{generated → dist}/esm/core/index.d.mts +0 -0
  2257. /package/{generated → dist}/esm/core/index.mjs +0 -0
  2258. /package/{generated → dist}/esm/core/json.mjs +0 -0
  2259. /package/{generated → dist}/esm/core/logging/exports.d.mts +0 -0
  2260. /package/{generated → dist}/esm/core/logging/exports.mjs +0 -0
  2261. /package/{generated → dist}/esm/core/logging/index.d.mts +0 -0
  2262. /package/{generated → dist}/esm/core/logging/index.mjs +0 -0
  2263. /package/{generated → dist}/esm/core/logging/logger.mjs +0 -0
  2264. /package/{generated → dist}/esm/core/requestBody.mjs +0 -0
  2265. /package/{generated → dist}/esm/core/runtime/index.d.mts +0 -0
  2266. /package/{generated → dist}/esm/core/runtime/index.mjs +0 -0
  2267. /package/{generated → dist}/esm/core/runtime/runtime.mjs +0 -0
  2268. /package/{generated → dist}/esm/core/url/QueryStringBuilder.mjs +0 -0
  2269. /package/{generated → dist}/esm/core/url/encodePathParam.d.mts +0 -0
  2270. /package/{generated → dist}/esm/core/url/encodePathParam.mjs +0 -0
  2271. /package/{generated → dist}/esm/core/url/index.d.mts +0 -0
  2272. /package/{generated → dist}/esm/core/url/index.mjs +0 -0
  2273. /package/{generated → dist}/esm/core/url/join.d.mts +0 -0
  2274. /package/{generated → dist}/esm/core/url/join.mjs +0 -0
  2275. /package/{generated → dist}/esm/core/url/qs.mjs +0 -0
  2276. /package/{generated → dist}/esm/environments.mjs +0 -0
  2277. /package/{generated → dist}/esm/errors/DarwinError.d.mts +0 -0
  2278. /package/{generated → dist}/esm/errors/DarwinError.mjs +0 -0
  2279. /package/{generated → dist}/esm/errors/DarwinTimeoutError.d.mts +0 -0
  2280. /package/{generated → dist}/esm/errors/DarwinTimeoutError.mjs +0 -0
  2281. /package/{generated → dist}/esm/errors/handleNonStatusCodeError.d.mts +0 -0
  2282. /package/{generated → dist}/esm/errors/handleNonStatusCodeError.mjs +0 -0
  2283. /package/{generated → dist}/esm/errors/index.d.mts +0 -0
  2284. /package/{generated → dist}/esm/errors/index.mjs +0 -0
  2285. /package/{generated → dist}/esm/exports.d.mts +0 -0
  2286. /package/{generated → dist}/esm/exports.mjs +0 -0
  2287. /package/{generated → dist}/esm/index.d.mts +0 -0
  2288. /package/{generated → dist}/esm/index.mjs +0 -0
@@ -0,0 +1,1063 @@
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
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
+ };
56
+ Object.defineProperty(exports, "__esModule", { value: true });
57
+ exports.ApplicationsClient = void 0;
58
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
59
+ const headers_js_1 = require("../../../../core/headers.js");
60
+ const core = __importStar(require("../../../../core/index.js"));
61
+ const requestBody_js_1 = require("../../../../core/requestBody.js");
62
+ const environments = __importStar(require("../../../../environments.js"));
63
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
64
+ const errors = __importStar(require("../../../../errors/index.js"));
65
+ const Darwin = __importStar(require("../../../index.js"));
66
+ /**
67
+ * Manage external applications, linked AIs, service accounts, and wallets.
68
+ */
69
+ class ApplicationsClient {
70
+ constructor(options) {
71
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
72
+ }
73
+ /**
74
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
75
+ *
76
+ * @throws {@link Darwin.BadRequestError}
77
+ * @throws {@link Darwin.UnauthorizedError}
78
+ * @throws {@link Darwin.ForbiddenError}
79
+ * @throws {@link Darwin.NotFoundError}
80
+ * @throws {@link errors.DarwinError}
81
+ * @throws {@link errors.DarwinTimeoutError}
82
+ *
83
+ * @example
84
+ * await client.applications.listApplications()
85
+ */
86
+ listApplications(requestOptions) {
87
+ return core.HttpResponsePromise.fromPromise(this.__listApplications(requestOptions));
88
+ }
89
+ __listApplications(requestOptions) {
90
+ return __awaiter(this, void 0, void 0, function* () {
91
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
92
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
93
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
94
+ const _response = yield core.fetcher({
95
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, "applications"),
96
+ method: "GET",
97
+ headers: _headers,
98
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
99
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
100
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
101
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
102
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
103
+ logging: this._options.logging,
104
+ });
105
+ if (_response.ok) {
106
+ return { data: _response.body, rawResponse: _response.rawResponse };
107
+ }
108
+ if (_response.error.reason === "status-code") {
109
+ switch (_response.error.statusCode) {
110
+ case 400:
111
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
112
+ case 401:
113
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
114
+ case 403:
115
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
116
+ case 404:
117
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
118
+ default:
119
+ throw new errors.DarwinError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.body,
122
+ rawResponse: _response.rawResponse,
123
+ });
124
+ }
125
+ }
126
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/applications");
127
+ });
128
+ }
129
+ /**
130
+ * @param {Darwin.CreateApplicationRequest} request
131
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
132
+ *
133
+ * @throws {@link Darwin.BadRequestError}
134
+ * @throws {@link Darwin.UnauthorizedError}
135
+ * @throws {@link Darwin.ForbiddenError}
136
+ * @throws {@link Darwin.NotFoundError}
137
+ * @throws {@link errors.DarwinError}
138
+ * @throws {@link errors.DarwinTimeoutError}
139
+ *
140
+ * @example
141
+ * await client.applications.createApplication({
142
+ * name: "name"
143
+ * })
144
+ */
145
+ createApplication(request, requestOptions) {
146
+ return core.HttpResponsePromise.fromPromise(this.__createApplication(request, requestOptions));
147
+ }
148
+ __createApplication(request, requestOptions) {
149
+ return __awaiter(this, void 0, void 0, function* () {
150
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
151
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
152
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
153
+ const _response = yield core.fetcher({
154
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, "applications"),
155
+ method: "POST",
156
+ headers: _headers,
157
+ contentType: "application/json",
158
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
159
+ requestType: "json",
160
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
161
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
162
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
163
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
164
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
165
+ logging: this._options.logging,
166
+ });
167
+ if (_response.ok) {
168
+ return { data: _response.body, rawResponse: _response.rawResponse };
169
+ }
170
+ if (_response.error.reason === "status-code") {
171
+ switch (_response.error.statusCode) {
172
+ case 400:
173
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
174
+ case 401:
175
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
176
+ case 403:
177
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
178
+ case 404:
179
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
180
+ default:
181
+ throw new errors.DarwinError({
182
+ statusCode: _response.error.statusCode,
183
+ body: _response.error.body,
184
+ rawResponse: _response.rawResponse,
185
+ });
186
+ }
187
+ }
188
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/applications");
189
+ });
190
+ }
191
+ /**
192
+ * @param {Darwin.GetApplicationRequest} request
193
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
194
+ *
195
+ * @throws {@link Darwin.BadRequestError}
196
+ * @throws {@link Darwin.UnauthorizedError}
197
+ * @throws {@link Darwin.ForbiddenError}
198
+ * @throws {@link Darwin.NotFoundError}
199
+ * @throws {@link errors.DarwinError}
200
+ * @throws {@link errors.DarwinTimeoutError}
201
+ *
202
+ * @example
203
+ * await client.applications.getApplication({
204
+ * applicationId: "applicationId"
205
+ * })
206
+ */
207
+ getApplication(request, requestOptions) {
208
+ return core.HttpResponsePromise.fromPromise(this.__getApplication(request, requestOptions));
209
+ }
210
+ __getApplication(request, requestOptions) {
211
+ return __awaiter(this, void 0, void 0, function* () {
212
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
213
+ const { applicationId } = request;
214
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
215
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
216
+ const _response = yield core.fetcher({
217
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}`),
218
+ method: "GET",
219
+ headers: _headers,
220
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
221
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
222
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
223
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
224
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
225
+ logging: this._options.logging,
226
+ });
227
+ if (_response.ok) {
228
+ return { data: _response.body, rawResponse: _response.rawResponse };
229
+ }
230
+ if (_response.error.reason === "status-code") {
231
+ switch (_response.error.statusCode) {
232
+ case 400:
233
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
234
+ case 401:
235
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
236
+ case 403:
237
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
238
+ case 404:
239
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
240
+ default:
241
+ throw new errors.DarwinError({
242
+ statusCode: _response.error.statusCode,
243
+ body: _response.error.body,
244
+ rawResponse: _response.rawResponse,
245
+ });
246
+ }
247
+ }
248
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/applications/{applicationId}");
249
+ });
250
+ }
251
+ /**
252
+ * Disables OAuth and revokes active enrollment links, service accounts, webhooks, and AI links.
253
+ *
254
+ * @param {Darwin.ArchiveApplicationRequest} request
255
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
256
+ *
257
+ * @throws {@link Darwin.BadRequestError}
258
+ * @throws {@link Darwin.UnauthorizedError}
259
+ * @throws {@link Darwin.ForbiddenError}
260
+ * @throws {@link Darwin.NotFoundError}
261
+ * @throws {@link errors.DarwinError}
262
+ * @throws {@link errors.DarwinTimeoutError}
263
+ *
264
+ * @example
265
+ * await client.applications.archiveApplication({
266
+ * applicationId: "applicationId"
267
+ * })
268
+ */
269
+ archiveApplication(request, requestOptions) {
270
+ return core.HttpResponsePromise.fromPromise(this.__archiveApplication(request, requestOptions));
271
+ }
272
+ __archiveApplication(request, requestOptions) {
273
+ return __awaiter(this, void 0, void 0, function* () {
274
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
275
+ const { applicationId } = request;
276
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
277
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
278
+ const _response = yield core.fetcher({
279
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}`),
280
+ method: "DELETE",
281
+ headers: _headers,
282
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
283
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
284
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
285
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
286
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
287
+ logging: this._options.logging,
288
+ });
289
+ if (_response.ok) {
290
+ return { data: _response.body, rawResponse: _response.rawResponse };
291
+ }
292
+ if (_response.error.reason === "status-code") {
293
+ switch (_response.error.statusCode) {
294
+ case 400:
295
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
296
+ case 401:
297
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
298
+ case 403:
299
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
300
+ case 404:
301
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
302
+ default:
303
+ throw new errors.DarwinError({
304
+ statusCode: _response.error.statusCode,
305
+ body: _response.error.body,
306
+ rawResponse: _response.rawResponse,
307
+ });
308
+ }
309
+ }
310
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/applications/{applicationId}");
311
+ });
312
+ }
313
+ /**
314
+ * @param {Darwin.UpdateApplicationRequest} request
315
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
316
+ *
317
+ * @throws {@link Darwin.BadRequestError}
318
+ * @throws {@link Darwin.UnauthorizedError}
319
+ * @throws {@link Darwin.ForbiddenError}
320
+ * @throws {@link Darwin.NotFoundError}
321
+ * @throws {@link errors.DarwinError}
322
+ * @throws {@link errors.DarwinTimeoutError}
323
+ *
324
+ * @example
325
+ * await client.applications.updateApplication({
326
+ * applicationId: "applicationId"
327
+ * })
328
+ */
329
+ updateApplication(request, requestOptions) {
330
+ return core.HttpResponsePromise.fromPromise(this.__updateApplication(request, requestOptions));
331
+ }
332
+ __updateApplication(request, requestOptions) {
333
+ return __awaiter(this, void 0, void 0, function* () {
334
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
335
+ const { applicationId } = request, _body = __rest(request, ["applicationId"]);
336
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
337
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
338
+ const _response = yield core.fetcher({
339
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}`),
340
+ method: "PATCH",
341
+ headers: _headers,
342
+ contentType: "application/json",
343
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
344
+ requestType: "json",
345
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
346
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
347
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
348
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
349
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
350
+ logging: this._options.logging,
351
+ });
352
+ if (_response.ok) {
353
+ return { data: _response.body, rawResponse: _response.rawResponse };
354
+ }
355
+ if (_response.error.reason === "status-code") {
356
+ switch (_response.error.statusCode) {
357
+ case 400:
358
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
359
+ case 401:
360
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
361
+ case 403:
362
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
363
+ case 404:
364
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
365
+ default:
366
+ throw new errors.DarwinError({
367
+ statusCode: _response.error.statusCode,
368
+ body: _response.error.body,
369
+ rawResponse: _response.rawResponse,
370
+ });
371
+ }
372
+ }
373
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/applications/{applicationId}");
374
+ });
375
+ }
376
+ /**
377
+ * @param {Darwin.ListApplicationAIsRequest} request
378
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
379
+ *
380
+ * @throws {@link Darwin.BadRequestError}
381
+ * @throws {@link Darwin.UnauthorizedError}
382
+ * @throws {@link Darwin.ForbiddenError}
383
+ * @throws {@link Darwin.NotFoundError}
384
+ * @throws {@link errors.DarwinError}
385
+ * @throws {@link errors.DarwinTimeoutError}
386
+ *
387
+ * @example
388
+ * await client.applications.listApplicationAIs({
389
+ * applicationId: "applicationId"
390
+ * })
391
+ */
392
+ listApplicationAIs(request, requestOptions) {
393
+ return core.HttpResponsePromise.fromPromise(this.__listApplicationAIs(request, requestOptions));
394
+ }
395
+ __listApplicationAIs(request, requestOptions) {
396
+ return __awaiter(this, void 0, void 0, function* () {
397
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
398
+ const { applicationId } = request;
399
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
400
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
401
+ const _response = yield core.fetcher({
402
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/ais`),
403
+ method: "GET",
404
+ headers: _headers,
405
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
406
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
407
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
408
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
409
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
410
+ logging: this._options.logging,
411
+ });
412
+ if (_response.ok) {
413
+ return { data: _response.body, rawResponse: _response.rawResponse };
414
+ }
415
+ if (_response.error.reason === "status-code") {
416
+ switch (_response.error.statusCode) {
417
+ case 400:
418
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
419
+ case 401:
420
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
421
+ case 403:
422
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
423
+ case 404:
424
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
425
+ default:
426
+ throw new errors.DarwinError({
427
+ statusCode: _response.error.statusCode,
428
+ body: _response.error.body,
429
+ rawResponse: _response.rawResponse,
430
+ });
431
+ }
432
+ }
433
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/applications/{applicationId}/ais");
434
+ });
435
+ }
436
+ /**
437
+ * @param {Darwin.LinkApplicationAiRequest} request
438
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
439
+ *
440
+ * @throws {@link Darwin.BadRequestError}
441
+ * @throws {@link Darwin.UnauthorizedError}
442
+ * @throws {@link Darwin.ForbiddenError}
443
+ * @throws {@link Darwin.NotFoundError}
444
+ * @throws {@link errors.DarwinError}
445
+ * @throws {@link errors.DarwinTimeoutError}
446
+ *
447
+ * @example
448
+ * await client.applications.linkApplicationAi({
449
+ * applicationId: "applicationId",
450
+ * aiId: "aiId"
451
+ * })
452
+ */
453
+ linkApplicationAi(request, requestOptions) {
454
+ return core.HttpResponsePromise.fromPromise(this.__linkApplicationAi(request, requestOptions));
455
+ }
456
+ __linkApplicationAi(request, requestOptions) {
457
+ return __awaiter(this, void 0, void 0, function* () {
458
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
459
+ const { applicationId } = request, _body = __rest(request, ["applicationId"]);
460
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
461
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
462
+ const _response = yield core.fetcher({
463
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/ais`),
464
+ method: "POST",
465
+ headers: _headers,
466
+ contentType: "application/json",
467
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
468
+ requestType: "json",
469
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
470
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
471
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
472
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
473
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
474
+ logging: this._options.logging,
475
+ });
476
+ if (_response.ok) {
477
+ return { data: _response.body, rawResponse: _response.rawResponse };
478
+ }
479
+ if (_response.error.reason === "status-code") {
480
+ switch (_response.error.statusCode) {
481
+ case 400:
482
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
483
+ case 401:
484
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
485
+ case 403:
486
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
487
+ case 404:
488
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
489
+ default:
490
+ throw new errors.DarwinError({
491
+ statusCode: _response.error.statusCode,
492
+ body: _response.error.body,
493
+ rawResponse: _response.rawResponse,
494
+ });
495
+ }
496
+ }
497
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/applications/{applicationId}/ais");
498
+ });
499
+ }
500
+ /**
501
+ * @param {Darwin.UnlinkApplicationAiRequest} request
502
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
503
+ *
504
+ * @throws {@link Darwin.BadRequestError}
505
+ * @throws {@link Darwin.UnauthorizedError}
506
+ * @throws {@link Darwin.ForbiddenError}
507
+ * @throws {@link Darwin.NotFoundError}
508
+ * @throws {@link errors.DarwinError}
509
+ * @throws {@link errors.DarwinTimeoutError}
510
+ *
511
+ * @example
512
+ * await client.applications.unlinkApplicationAi({
513
+ * applicationId: "applicationId",
514
+ * aiId: "aiId"
515
+ * })
516
+ */
517
+ unlinkApplicationAi(request, requestOptions) {
518
+ return core.HttpResponsePromise.fromPromise(this.__unlinkApplicationAi(request, requestOptions));
519
+ }
520
+ __unlinkApplicationAi(request, requestOptions) {
521
+ return __awaiter(this, void 0, void 0, function* () {
522
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
523
+ const { applicationId, aiId } = request;
524
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
525
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
526
+ const _response = yield core.fetcher({
527
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/ais/${core.url.encodePathParam(aiId)}`),
528
+ method: "DELETE",
529
+ headers: _headers,
530
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
531
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
532
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
533
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
534
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
535
+ logging: this._options.logging,
536
+ });
537
+ if (_response.ok) {
538
+ return { data: _response.body, rawResponse: _response.rawResponse };
539
+ }
540
+ if (_response.error.reason === "status-code") {
541
+ switch (_response.error.statusCode) {
542
+ case 400:
543
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
544
+ case 401:
545
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
546
+ case 403:
547
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
548
+ case 404:
549
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
550
+ default:
551
+ throw new errors.DarwinError({
552
+ statusCode: _response.error.statusCode,
553
+ body: _response.error.body,
554
+ rawResponse: _response.rawResponse,
555
+ });
556
+ }
557
+ }
558
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/applications/{applicationId}/ais/{aiId}");
559
+ });
560
+ }
561
+ /**
562
+ * @param {Darwin.ListEnrollmentLinksRequest} request
563
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
564
+ *
565
+ * @throws {@link Darwin.BadRequestError}
566
+ * @throws {@link Darwin.UnauthorizedError}
567
+ * @throws {@link Darwin.ForbiddenError}
568
+ * @throws {@link Darwin.NotFoundError}
569
+ * @throws {@link errors.DarwinError}
570
+ * @throws {@link errors.DarwinTimeoutError}
571
+ *
572
+ * @example
573
+ * await client.applications.listEnrollmentLinks({
574
+ * applicationId: "applicationId"
575
+ * })
576
+ */
577
+ listEnrollmentLinks(request, requestOptions) {
578
+ return core.HttpResponsePromise.fromPromise(this.__listEnrollmentLinks(request, requestOptions));
579
+ }
580
+ __listEnrollmentLinks(request, requestOptions) {
581
+ return __awaiter(this, void 0, void 0, function* () {
582
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
583
+ const { applicationId } = request;
584
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
585
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
586
+ const _response = yield core.fetcher({
587
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/enrollment-links`),
588
+ method: "GET",
589
+ headers: _headers,
590
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
591
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
592
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
593
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
594
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
595
+ logging: this._options.logging,
596
+ });
597
+ if (_response.ok) {
598
+ return { data: _response.body, rawResponse: _response.rawResponse };
599
+ }
600
+ if (_response.error.reason === "status-code") {
601
+ switch (_response.error.statusCode) {
602
+ case 400:
603
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
604
+ case 401:
605
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
606
+ case 403:
607
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
608
+ case 404:
609
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
610
+ default:
611
+ throw new errors.DarwinError({
612
+ statusCode: _response.error.statusCode,
613
+ body: _response.error.body,
614
+ rawResponse: _response.rawResponse,
615
+ });
616
+ }
617
+ }
618
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/applications/{applicationId}/enrollment-links");
619
+ });
620
+ }
621
+ /**
622
+ * @param {Darwin.CreateEnrollmentLinkRequest} request
623
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
624
+ *
625
+ * @throws {@link Darwin.BadRequestError}
626
+ * @throws {@link Darwin.UnauthorizedError}
627
+ * @throws {@link Darwin.ForbiddenError}
628
+ * @throws {@link Darwin.NotFoundError}
629
+ * @throws {@link errors.DarwinError}
630
+ * @throws {@link errors.DarwinTimeoutError}
631
+ *
632
+ * @example
633
+ * await client.applications.createEnrollmentLink({
634
+ * applicationId: "applicationId",
635
+ * name: "name"
636
+ * })
637
+ */
638
+ createEnrollmentLink(request, requestOptions) {
639
+ return core.HttpResponsePromise.fromPromise(this.__createEnrollmentLink(request, requestOptions));
640
+ }
641
+ __createEnrollmentLink(request, requestOptions) {
642
+ return __awaiter(this, void 0, void 0, function* () {
643
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
644
+ const { applicationId } = request, _body = __rest(request, ["applicationId"]);
645
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
646
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
647
+ const _response = yield core.fetcher({
648
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/enrollment-links`),
649
+ method: "POST",
650
+ headers: _headers,
651
+ contentType: "application/json",
652
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
653
+ requestType: "json",
654
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
655
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
656
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
657
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
658
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
659
+ logging: this._options.logging,
660
+ });
661
+ if (_response.ok) {
662
+ return { data: _response.body, rawResponse: _response.rawResponse };
663
+ }
664
+ if (_response.error.reason === "status-code") {
665
+ switch (_response.error.statusCode) {
666
+ case 400:
667
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
668
+ case 401:
669
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
670
+ case 403:
671
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
672
+ case 404:
673
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
674
+ default:
675
+ throw new errors.DarwinError({
676
+ statusCode: _response.error.statusCode,
677
+ body: _response.error.body,
678
+ rawResponse: _response.rawResponse,
679
+ });
680
+ }
681
+ }
682
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/applications/{applicationId}/enrollment-links");
683
+ });
684
+ }
685
+ /**
686
+ * @param {Darwin.RevokeEnrollmentLinkRequest} request
687
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
688
+ *
689
+ * @throws {@link Darwin.BadRequestError}
690
+ * @throws {@link Darwin.UnauthorizedError}
691
+ * @throws {@link Darwin.ForbiddenError}
692
+ * @throws {@link Darwin.NotFoundError}
693
+ * @throws {@link errors.DarwinError}
694
+ * @throws {@link errors.DarwinTimeoutError}
695
+ *
696
+ * @example
697
+ * await client.applications.revokeEnrollmentLink({
698
+ * applicationId: "applicationId",
699
+ * enrollmentLinkId: "enrollmentLinkId"
700
+ * })
701
+ */
702
+ revokeEnrollmentLink(request, requestOptions) {
703
+ return core.HttpResponsePromise.fromPromise(this.__revokeEnrollmentLink(request, requestOptions));
704
+ }
705
+ __revokeEnrollmentLink(request, requestOptions) {
706
+ return __awaiter(this, void 0, void 0, function* () {
707
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
708
+ const { applicationId, enrollmentLinkId } = request;
709
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
710
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
711
+ const _response = yield core.fetcher({
712
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/enrollment-links/${core.url.encodePathParam(enrollmentLinkId)}`),
713
+ method: "DELETE",
714
+ headers: _headers,
715
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
716
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
717
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
718
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
719
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
720
+ logging: this._options.logging,
721
+ });
722
+ if (_response.ok) {
723
+ return { data: _response.body, rawResponse: _response.rawResponse };
724
+ }
725
+ if (_response.error.reason === "status-code") {
726
+ switch (_response.error.statusCode) {
727
+ case 400:
728
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
729
+ case 401:
730
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
731
+ case 403:
732
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
733
+ case 404:
734
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
735
+ default:
736
+ throw new errors.DarwinError({
737
+ statusCode: _response.error.statusCode,
738
+ body: _response.error.body,
739
+ rawResponse: _response.rawResponse,
740
+ });
741
+ }
742
+ }
743
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/applications/{applicationId}/enrollment-links/{enrollmentLinkId}");
744
+ });
745
+ }
746
+ /**
747
+ * Application owners can inspect available and reserved funds. Service accounts cannot fund or withdraw.
748
+ *
749
+ * @param {Darwin.GetApplicationWalletRequest} request
750
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
751
+ *
752
+ * @throws {@link Darwin.BadRequestError}
753
+ * @throws {@link Darwin.UnauthorizedError}
754
+ * @throws {@link Darwin.ForbiddenError}
755
+ * @throws {@link Darwin.NotFoundError}
756
+ * @throws {@link errors.DarwinError}
757
+ * @throws {@link errors.DarwinTimeoutError}
758
+ *
759
+ * @example
760
+ * await client.applications.getApplicationWallet({
761
+ * applicationId: "applicationId"
762
+ * })
763
+ */
764
+ getApplicationWallet(request, requestOptions) {
765
+ return core.HttpResponsePromise.fromPromise(this.__getApplicationWallet(request, requestOptions));
766
+ }
767
+ __getApplicationWallet(request, requestOptions) {
768
+ return __awaiter(this, void 0, void 0, function* () {
769
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
770
+ const { applicationId } = request;
771
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
772
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
773
+ const _response = yield core.fetcher({
774
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/wallet`),
775
+ method: "GET",
776
+ headers: _headers,
777
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
778
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
779
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
780
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
781
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
782
+ logging: this._options.logging,
783
+ });
784
+ if (_response.ok) {
785
+ return { data: _response.body, rawResponse: _response.rawResponse };
786
+ }
787
+ if (_response.error.reason === "status-code") {
788
+ switch (_response.error.statusCode) {
789
+ case 400:
790
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
791
+ case 401:
792
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
793
+ case 403:
794
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
795
+ case 404:
796
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
797
+ default:
798
+ throw new errors.DarwinError({
799
+ statusCode: _response.error.statusCode,
800
+ body: _response.error.body,
801
+ rawResponse: _response.rawResponse,
802
+ });
803
+ }
804
+ }
805
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/applications/{applicationId}/wallet");
806
+ });
807
+ }
808
+ /**
809
+ * Owner credentials only. Transfers funds from an explicitly selected Darwin AI wallet.
810
+ *
811
+ * @param {Darwin.FundApplicationWalletRequest} request
812
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
813
+ *
814
+ * @throws {@link Darwin.BadRequestError}
815
+ * @throws {@link Darwin.UnauthorizedError}
816
+ * @throws {@link Darwin.ForbiddenError}
817
+ * @throws {@link Darwin.NotFoundError}
818
+ * @throws {@link errors.DarwinError}
819
+ * @throws {@link errors.DarwinTimeoutError}
820
+ *
821
+ * @example
822
+ * await client.applications.fundApplicationWallet({
823
+ * "Idempotency-Key": "Idempotency-Key",
824
+ * applicationId: "applicationId",
825
+ * aiId: "aiId",
826
+ * amountMinor: 1,
827
+ * currency: "currency"
828
+ * })
829
+ */
830
+ fundApplicationWallet(request, requestOptions) {
831
+ return core.HttpResponsePromise.fromPromise(this.__fundApplicationWallet(request, requestOptions));
832
+ }
833
+ __fundApplicationWallet(request, requestOptions) {
834
+ return __awaiter(this, void 0, void 0, function* () {
835
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
836
+ const { applicationId, "Idempotency-Key": idempotencyKey } = request, _body = __rest(request, ["applicationId", "Idempotency-Key"]);
837
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
838
+ 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)({ "Idempotency-Key": idempotencyKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
839
+ const _response = yield core.fetcher({
840
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/wallet/transfers`),
841
+ method: "POST",
842
+ headers: _headers,
843
+ contentType: "application/json",
844
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
845
+ requestType: "json",
846
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
847
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
848
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
849
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
850
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
851
+ logging: this._options.logging,
852
+ });
853
+ if (_response.ok) {
854
+ return { data: _response.body, rawResponse: _response.rawResponse };
855
+ }
856
+ if (_response.error.reason === "status-code") {
857
+ switch (_response.error.statusCode) {
858
+ case 400:
859
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
860
+ case 401:
861
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
862
+ case 403:
863
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
864
+ case 404:
865
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
866
+ default:
867
+ throw new errors.DarwinError({
868
+ statusCode: _response.error.statusCode,
869
+ body: _response.error.body,
870
+ rawResponse: _response.rawResponse,
871
+ });
872
+ }
873
+ }
874
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/applications/{applicationId}/wallet/transfers");
875
+ });
876
+ }
877
+ /**
878
+ * @param {Darwin.ListServiceAccountsRequest} request
879
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
880
+ *
881
+ * @throws {@link Darwin.BadRequestError}
882
+ * @throws {@link Darwin.UnauthorizedError}
883
+ * @throws {@link Darwin.ForbiddenError}
884
+ * @throws {@link Darwin.NotFoundError}
885
+ * @throws {@link errors.DarwinError}
886
+ * @throws {@link errors.DarwinTimeoutError}
887
+ *
888
+ * @example
889
+ * await client.applications.listServiceAccounts({
890
+ * applicationId: "applicationId"
891
+ * })
892
+ */
893
+ listServiceAccounts(request, requestOptions) {
894
+ return core.HttpResponsePromise.fromPromise(this.__listServiceAccounts(request, requestOptions));
895
+ }
896
+ __listServiceAccounts(request, requestOptions) {
897
+ return __awaiter(this, void 0, void 0, function* () {
898
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
899
+ const { applicationId } = request;
900
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
901
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
902
+ const _response = yield core.fetcher({
903
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/service-accounts`),
904
+ method: "GET",
905
+ headers: _headers,
906
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
907
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
908
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
909
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
910
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
911
+ logging: this._options.logging,
912
+ });
913
+ if (_response.ok) {
914
+ return { data: _response.body, rawResponse: _response.rawResponse };
915
+ }
916
+ if (_response.error.reason === "status-code") {
917
+ switch (_response.error.statusCode) {
918
+ case 400:
919
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
920
+ case 401:
921
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
922
+ case 403:
923
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
924
+ case 404:
925
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
926
+ default:
927
+ throw new errors.DarwinError({
928
+ statusCode: _response.error.statusCode,
929
+ body: _response.error.body,
930
+ rawResponse: _response.rawResponse,
931
+ });
932
+ }
933
+ }
934
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/applications/{applicationId}/service-accounts");
935
+ });
936
+ }
937
+ /**
938
+ * @param {Darwin.CreateServiceAccountRequest} request
939
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
940
+ *
941
+ * @throws {@link Darwin.BadRequestError}
942
+ * @throws {@link Darwin.UnauthorizedError}
943
+ * @throws {@link Darwin.ForbiddenError}
944
+ * @throws {@link Darwin.NotFoundError}
945
+ * @throws {@link errors.DarwinError}
946
+ * @throws {@link errors.DarwinTimeoutError}
947
+ *
948
+ * @example
949
+ * await client.applications.createServiceAccount({
950
+ * applicationId: "applicationId",
951
+ * name: "name"
952
+ * })
953
+ */
954
+ createServiceAccount(request, requestOptions) {
955
+ return core.HttpResponsePromise.fromPromise(this.__createServiceAccount(request, requestOptions));
956
+ }
957
+ __createServiceAccount(request, requestOptions) {
958
+ return __awaiter(this, void 0, void 0, function* () {
959
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
960
+ const { applicationId } = request, _body = __rest(request, ["applicationId"]);
961
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
962
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
963
+ const _response = yield core.fetcher({
964
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/service-accounts`),
965
+ method: "POST",
966
+ headers: _headers,
967
+ contentType: "application/json",
968
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
969
+ requestType: "json",
970
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
971
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
972
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
973
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
974
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
975
+ logging: this._options.logging,
976
+ });
977
+ if (_response.ok) {
978
+ return { data: _response.body, rawResponse: _response.rawResponse };
979
+ }
980
+ if (_response.error.reason === "status-code") {
981
+ switch (_response.error.statusCode) {
982
+ case 400:
983
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
984
+ case 401:
985
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
986
+ case 403:
987
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
988
+ case 404:
989
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
990
+ default:
991
+ throw new errors.DarwinError({
992
+ statusCode: _response.error.statusCode,
993
+ body: _response.error.body,
994
+ rawResponse: _response.rawResponse,
995
+ });
996
+ }
997
+ }
998
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/applications/{applicationId}/service-accounts");
999
+ });
1000
+ }
1001
+ /**
1002
+ * @param {Darwin.RevokeServiceAccountRequest} request
1003
+ * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
1004
+ *
1005
+ * @throws {@link Darwin.BadRequestError}
1006
+ * @throws {@link Darwin.UnauthorizedError}
1007
+ * @throws {@link Darwin.ForbiddenError}
1008
+ * @throws {@link Darwin.NotFoundError}
1009
+ * @throws {@link errors.DarwinError}
1010
+ * @throws {@link errors.DarwinTimeoutError}
1011
+ *
1012
+ * @example
1013
+ * await client.applications.revokeServiceAccount({
1014
+ * applicationId: "applicationId",
1015
+ * serviceAccountId: "serviceAccountId"
1016
+ * })
1017
+ */
1018
+ revokeServiceAccount(request, requestOptions) {
1019
+ return core.HttpResponsePromise.fromPromise(this.__revokeServiceAccount(request, requestOptions));
1020
+ }
1021
+ __revokeServiceAccount(request, requestOptions) {
1022
+ return __awaiter(this, void 0, void 0, function* () {
1023
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1024
+ const { applicationId, serviceAccountId } = request;
1025
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
1026
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1027
+ const _response = yield core.fetcher({
1028
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.DarwinEnvironment.Production, `applications/${core.url.encodePathParam(applicationId)}/service-accounts/${core.url.encodePathParam(serviceAccountId)}`),
1029
+ method: "DELETE",
1030
+ headers: _headers,
1031
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1032
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
1033
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
1034
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1035
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
1036
+ logging: this._options.logging,
1037
+ });
1038
+ if (_response.ok) {
1039
+ return { data: _response.body, rawResponse: _response.rawResponse };
1040
+ }
1041
+ if (_response.error.reason === "status-code") {
1042
+ switch (_response.error.statusCode) {
1043
+ case 400:
1044
+ throw new Darwin.BadRequestError(_response.error.body, _response.rawResponse);
1045
+ case 401:
1046
+ throw new Darwin.UnauthorizedError(_response.error.body, _response.rawResponse);
1047
+ case 403:
1048
+ throw new Darwin.ForbiddenError(_response.error.body, _response.rawResponse);
1049
+ case 404:
1050
+ throw new Darwin.NotFoundError(_response.error.body, _response.rawResponse);
1051
+ default:
1052
+ throw new errors.DarwinError({
1053
+ statusCode: _response.error.statusCode,
1054
+ body: _response.error.body,
1055
+ rawResponse: _response.rawResponse,
1056
+ });
1057
+ }
1058
+ }
1059
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/applications/{applicationId}/service-accounts/{serviceAccountId}");
1060
+ });
1061
+ }
1062
+ }
1063
+ exports.ApplicationsClient = ApplicationsClient;