@galaxy-io/filament-ts 0.1.0

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 (577) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +192 -0
  3. package/dist/BaseClient.d.ts +57 -0
  4. package/dist/BaseClient.js +44 -0
  5. package/dist/Client.d.ts +47 -0
  6. package/dist/Client.js +70 -0
  7. package/dist/api/index.d.ts +2 -0
  8. package/dist/api/index.js +2 -0
  9. package/dist/api/resources/auth/client/Client.d.ts +126 -0
  10. package/dist/api/resources/auth/client/Client.js +365 -0
  11. package/dist/api/resources/auth/client/index.d.ts +1 -0
  12. package/dist/api/resources/auth/client/index.js +1 -0
  13. package/dist/api/resources/auth/client/requests/AuthV1AcceptInviteRequest.d.ts +14 -0
  14. package/dist/api/resources/auth/client/requests/AuthV1AcceptInviteRequest.js +2 -0
  15. package/dist/api/resources/auth/client/requests/AuthV1GetTokenRequest.d.ts +15 -0
  16. package/dist/api/resources/auth/client/requests/AuthV1GetTokenRequest.js +2 -0
  17. package/dist/api/resources/auth/client/requests/AuthV1LoginRequest.d.ts +13 -0
  18. package/dist/api/resources/auth/client/requests/AuthV1LoginRequest.js +2 -0
  19. package/dist/api/resources/auth/client/requests/AuthV1RegisterRequest.d.ts +16 -0
  20. package/dist/api/resources/auth/client/requests/AuthV1RegisterRequest.js +2 -0
  21. package/dist/api/resources/auth/client/requests/GetConfigAuthRequest.d.ts +15 -0
  22. package/dist/api/resources/auth/client/requests/GetConfigAuthRequest.js +2 -0
  23. package/dist/api/resources/auth/client/requests/GetSessionAuthRequest.d.ts +15 -0
  24. package/dist/api/resources/auth/client/requests/GetSessionAuthRequest.js +2 -0
  25. package/dist/api/resources/auth/client/requests/LogoutAuthRequest.d.ts +15 -0
  26. package/dist/api/resources/auth/client/requests/LogoutAuthRequest.js +2 -0
  27. package/dist/api/resources/auth/client/requests/index.d.ts +7 -0
  28. package/dist/api/resources/auth/client/requests/index.js +1 -0
  29. package/dist/api/resources/auth/exports.d.ts +2 -0
  30. package/dist/api/resources/auth/exports.js +3 -0
  31. package/dist/api/resources/auth/index.d.ts +1 -0
  32. package/dist/api/resources/auth/index.js +1 -0
  33. package/dist/api/resources/connection/client/Client.d.ts +85 -0
  34. package/dist/api/resources/connection/client/Client.js +275 -0
  35. package/dist/api/resources/connection/client/index.d.ts +1 -0
  36. package/dist/api/resources/connection/client/index.js +1 -0
  37. package/dist/api/resources/connection/client/requests/IngestionV1CreateConnectionRequest.d.ts +16 -0
  38. package/dist/api/resources/connection/client/requests/IngestionV1CreateConnectionRequest.js +2 -0
  39. package/dist/api/resources/connection/client/requests/IngestionV1DeleteConnectionRequest.d.ts +12 -0
  40. package/dist/api/resources/connection/client/requests/IngestionV1DeleteConnectionRequest.js +2 -0
  41. package/dist/api/resources/connection/client/requests/IngestionV1GetConnectionRequest.d.ts +12 -0
  42. package/dist/api/resources/connection/client/requests/IngestionV1GetConnectionRequest.js +2 -0
  43. package/dist/api/resources/connection/client/requests/IngestionV1ListConnectionsRequest.d.ts +16 -0
  44. package/dist/api/resources/connection/client/requests/IngestionV1ListConnectionsRequest.js +2 -0
  45. package/dist/api/resources/connection/client/requests/IngestionV1UpdateConnectionRequest.d.ts +12 -0
  46. package/dist/api/resources/connection/client/requests/IngestionV1UpdateConnectionRequest.js +2 -0
  47. package/dist/api/resources/connection/client/requests/index.d.ts +5 -0
  48. package/dist/api/resources/connection/client/requests/index.js +1 -0
  49. package/dist/api/resources/connection/exports.d.ts +2 -0
  50. package/dist/api/resources/connection/exports.js +3 -0
  51. package/dist/api/resources/connection/index.d.ts +1 -0
  52. package/dist/api/resources/connection/index.js +1 -0
  53. package/dist/api/resources/connector/client/Client.d.ts +87 -0
  54. package/dist/api/resources/connector/client/Client.js +277 -0
  55. package/dist/api/resources/connector/client/index.d.ts +1 -0
  56. package/dist/api/resources/connector/client/index.js +1 -0
  57. package/dist/api/resources/connector/client/requests/IngestionV1DiscoverResourcesRequest.d.ts +15 -0
  58. package/dist/api/resources/connector/client/requests/IngestionV1DiscoverResourcesRequest.js +2 -0
  59. package/dist/api/resources/connector/client/requests/IngestionV1GetConnectorRequest.d.ts +13 -0
  60. package/dist/api/resources/connector/client/requests/IngestionV1GetConnectorRequest.js +2 -0
  61. package/dist/api/resources/connector/client/requests/IngestionV1GetResourceColumnsRequest.d.ts +15 -0
  62. package/dist/api/resources/connector/client/requests/IngestionV1GetResourceColumnsRequest.js +2 -0
  63. package/dist/api/resources/connector/client/requests/IngestionV1ListConnectorsRequest.d.ts +15 -0
  64. package/dist/api/resources/connector/client/requests/IngestionV1ListConnectorsRequest.js +2 -0
  65. package/dist/api/resources/connector/client/requests/IngestionV1ValidateConfigRequest.d.ts +15 -0
  66. package/dist/api/resources/connector/client/requests/IngestionV1ValidateConfigRequest.js +2 -0
  67. package/dist/api/resources/connector/client/requests/index.d.ts +5 -0
  68. package/dist/api/resources/connector/client/requests/index.js +1 -0
  69. package/dist/api/resources/connector/exports.d.ts +2 -0
  70. package/dist/api/resources/connector/exports.js +3 -0
  71. package/dist/api/resources/connector/index.d.ts +1 -0
  72. package/dist/api/resources/connector/index.js +1 -0
  73. package/dist/api/resources/index.d.ts +16 -0
  74. package/dist/api/resources/index.js +16 -0
  75. package/dist/api/resources/member/client/Client.d.ts +74 -0
  76. package/dist/api/resources/member/client/Client.js +214 -0
  77. package/dist/api/resources/member/client/index.d.ts +1 -0
  78. package/dist/api/resources/member/client/index.js +1 -0
  79. package/dist/api/resources/member/client/requests/AuthV1InviteMemberRequest.d.ts +15 -0
  80. package/dist/api/resources/member/client/requests/AuthV1InviteMemberRequest.js +2 -0
  81. package/dist/api/resources/member/client/requests/AuthV1RemoveMemberRequest.d.ts +12 -0
  82. package/dist/api/resources/member/client/requests/AuthV1RemoveMemberRequest.js +2 -0
  83. package/dist/api/resources/member/client/requests/AuthV1SetMemberRoleRequest.d.ts +13 -0
  84. package/dist/api/resources/member/client/requests/AuthV1SetMemberRoleRequest.js +2 -0
  85. package/dist/api/resources/member/client/requests/ListMemberRequest.d.ts +15 -0
  86. package/dist/api/resources/member/client/requests/ListMemberRequest.js +2 -0
  87. package/dist/api/resources/member/client/requests/index.d.ts +4 -0
  88. package/dist/api/resources/member/client/requests/index.js +1 -0
  89. package/dist/api/resources/member/exports.d.ts +2 -0
  90. package/dist/api/resources/member/exports.js +3 -0
  91. package/dist/api/resources/member/index.d.ts +1 -0
  92. package/dist/api/resources/member/index.js +1 -0
  93. package/dist/api/resources/metrics/client/Client.d.ts +41 -0
  94. package/dist/api/resources/metrics/client/Client.js +117 -0
  95. package/dist/api/resources/metrics/client/index.d.ts +1 -0
  96. package/dist/api/resources/metrics/client/index.js +1 -0
  97. package/dist/api/resources/metrics/client/requests/MetricsV1QueryAggregateRequest.d.ts +19 -0
  98. package/dist/api/resources/metrics/client/requests/MetricsV1QueryAggregateRequest.js +2 -0
  99. package/dist/api/resources/metrics/client/requests/MetricsV1QueryTimeseriesRequest.d.ts +29 -0
  100. package/dist/api/resources/metrics/client/requests/MetricsV1QueryTimeseriesRequest.js +2 -0
  101. package/dist/api/resources/metrics/client/requests/index.d.ts +2 -0
  102. package/dist/api/resources/metrics/client/requests/index.js +1 -0
  103. package/dist/api/resources/metrics/exports.d.ts +2 -0
  104. package/dist/api/resources/metrics/exports.js +3 -0
  105. package/dist/api/resources/metrics/index.d.ts +1 -0
  106. package/dist/api/resources/metrics/index.js +1 -0
  107. package/dist/api/resources/pipeline/client/Client.d.ts +126 -0
  108. package/dist/api/resources/pipeline/client/Client.js +398 -0
  109. package/dist/api/resources/pipeline/client/index.d.ts +1 -0
  110. package/dist/api/resources/pipeline/client/index.js +1 -0
  111. package/dist/api/resources/pipeline/client/requests/IngestionV1CreatePipelineRequest.d.ts +21 -0
  112. package/dist/api/resources/pipeline/client/requests/IngestionV1CreatePipelineRequest.js +2 -0
  113. package/dist/api/resources/pipeline/client/requests/IngestionV1DeletePipelineRequest.d.ts +12 -0
  114. package/dist/api/resources/pipeline/client/requests/IngestionV1DeletePipelineRequest.js +2 -0
  115. package/dist/api/resources/pipeline/client/requests/IngestionV1GetPipelineRequest.d.ts +15 -0
  116. package/dist/api/resources/pipeline/client/requests/IngestionV1GetPipelineRequest.js +2 -0
  117. package/dist/api/resources/pipeline/client/requests/IngestionV1ListPipelinesRequest.d.ts +18 -0
  118. package/dist/api/resources/pipeline/client/requests/IngestionV1ListPipelinesRequest.js +2 -0
  119. package/dist/api/resources/pipeline/client/requests/IngestionV1RunPipelineRequest.d.ts +29 -0
  120. package/dist/api/resources/pipeline/client/requests/IngestionV1RunPipelineRequest.js +2 -0
  121. package/dist/api/resources/pipeline/client/requests/IngestionV1UpdatePipelineRequest.d.ts +17 -0
  122. package/dist/api/resources/pipeline/client/requests/IngestionV1UpdatePipelineRequest.js +2 -0
  123. package/dist/api/resources/pipeline/client/requests/IngestionV1ValidatePipelineRequest.d.ts +14 -0
  124. package/dist/api/resources/pipeline/client/requests/IngestionV1ValidatePipelineRequest.js +2 -0
  125. package/dist/api/resources/pipeline/client/requests/index.d.ts +7 -0
  126. package/dist/api/resources/pipeline/client/requests/index.js +1 -0
  127. package/dist/api/resources/pipeline/exports.d.ts +3 -0
  128. package/dist/api/resources/pipeline/exports.js +4 -0
  129. package/dist/api/resources/pipeline/index.d.ts +2 -0
  130. package/dist/api/resources/pipeline/index.js +2 -0
  131. package/dist/api/resources/pipeline/resources/index.d.ts +6 -0
  132. package/dist/api/resources/pipeline/resources/index.js +6 -0
  133. package/dist/api/resources/pipeline/resources/notifier/client/Client.d.ts +71 -0
  134. package/dist/api/resources/pipeline/resources/notifier/client/Client.js +223 -0
  135. package/dist/api/resources/pipeline/resources/notifier/client/index.d.ts +1 -0
  136. package/dist/api/resources/pipeline/resources/notifier/client/index.js +1 -0
  137. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1CreatePipelineNotifierRequest.d.ts +13 -0
  138. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1CreatePipelineNotifierRequest.js +2 -0
  139. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1DeletePipelineNotifierRequest.d.ts +13 -0
  140. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1DeletePipelineNotifierRequest.js +2 -0
  141. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1ListPipelineNotifiersRequest.d.ts +12 -0
  142. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1ListPipelineNotifiersRequest.js +2 -0
  143. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1UpdatePipelineNotifierRequest.d.ts +14 -0
  144. package/dist/api/resources/pipeline/resources/notifier/client/requests/IngestionV1UpdatePipelineNotifierRequest.js +2 -0
  145. package/dist/api/resources/pipeline/resources/notifier/client/requests/index.d.ts +4 -0
  146. package/dist/api/resources/pipeline/resources/notifier/client/requests/index.js +1 -0
  147. package/dist/api/resources/pipeline/resources/notifier/exports.d.ts +2 -0
  148. package/dist/api/resources/pipeline/resources/notifier/exports.js +3 -0
  149. package/dist/api/resources/pipeline/resources/notifier/index.d.ts +1 -0
  150. package/dist/api/resources/pipeline/resources/notifier/index.js +1 -0
  151. package/dist/api/resources/pipeline/resources/schedule/client/Client.d.ts +45 -0
  152. package/dist/api/resources/pipeline/resources/schedule/client/Client.js +121 -0
  153. package/dist/api/resources/pipeline/resources/schedule/client/index.d.ts +1 -0
  154. package/dist/api/resources/pipeline/resources/schedule/client/index.js +1 -0
  155. package/dist/api/resources/pipeline/resources/schedule/client/requests/IngestionV1CreatePipelineScheduleRequest.d.ts +13 -0
  156. package/dist/api/resources/pipeline/resources/schedule/client/requests/IngestionV1CreatePipelineScheduleRequest.js +2 -0
  157. package/dist/api/resources/pipeline/resources/schedule/client/requests/IngestionV1UpdatePipelineScheduleRequest.d.ts +13 -0
  158. package/dist/api/resources/pipeline/resources/schedule/client/requests/IngestionV1UpdatePipelineScheduleRequest.js +2 -0
  159. package/dist/api/resources/pipeline/resources/schedule/client/requests/index.d.ts +2 -0
  160. package/dist/api/resources/pipeline/resources/schedule/client/requests/index.js +1 -0
  161. package/dist/api/resources/pipeline/resources/schedule/exports.d.ts +2 -0
  162. package/dist/api/resources/pipeline/resources/schedule/exports.js +3 -0
  163. package/dist/api/resources/pipeline/resources/schedule/index.d.ts +1 -0
  164. package/dist/api/resources/pipeline/resources/schedule/index.js +1 -0
  165. package/dist/api/resources/pipeline/resources/version/client/Client.d.ts +55 -0
  166. package/dist/api/resources/pipeline/resources/version/client/Client.js +169 -0
  167. package/dist/api/resources/pipeline/resources/version/client/index.d.ts +1 -0
  168. package/dist/api/resources/pipeline/resources/version/client/index.js +1 -0
  169. package/dist/api/resources/pipeline/resources/version/client/requests/IngestionV1CreatePipelineVersionRequest.d.ts +13 -0
  170. package/dist/api/resources/pipeline/resources/version/client/requests/IngestionV1CreatePipelineVersionRequest.js +2 -0
  171. package/dist/api/resources/pipeline/resources/version/client/requests/IngestionV1GetPipelineVersionRequest.d.ts +13 -0
  172. package/dist/api/resources/pipeline/resources/version/client/requests/IngestionV1GetPipelineVersionRequest.js +2 -0
  173. package/dist/api/resources/pipeline/resources/version/client/requests/IngestionV1ListPipelineVersionsRequest.d.ts +14 -0
  174. package/dist/api/resources/pipeline/resources/version/client/requests/IngestionV1ListPipelineVersionsRequest.js +2 -0
  175. package/dist/api/resources/pipeline/resources/version/client/requests/index.d.ts +3 -0
  176. package/dist/api/resources/pipeline/resources/version/client/requests/index.js +1 -0
  177. package/dist/api/resources/pipeline/resources/version/exports.d.ts +2 -0
  178. package/dist/api/resources/pipeline/resources/version/exports.js +3 -0
  179. package/dist/api/resources/pipeline/resources/version/index.d.ts +1 -0
  180. package/dist/api/resources/pipeline/resources/version/index.js +1 -0
  181. package/dist/api/resources/run/client/Client.d.ts +55 -0
  182. package/dist/api/resources/run/client/Client.js +163 -0
  183. package/dist/api/resources/run/client/index.d.ts +1 -0
  184. package/dist/api/resources/run/client/index.js +1 -0
  185. package/dist/api/resources/run/client/requests/IngestionV1GetRunRequest.d.ts +12 -0
  186. package/dist/api/resources/run/client/requests/IngestionV1GetRunRequest.js +2 -0
  187. package/dist/api/resources/run/client/requests/IngestionV1ListRunsRequest.d.ts +23 -0
  188. package/dist/api/resources/run/client/requests/IngestionV1ListRunsRequest.js +2 -0
  189. package/dist/api/resources/run/client/requests/IngestionV1SignalRunRequest.d.ts +18 -0
  190. package/dist/api/resources/run/client/requests/IngestionV1SignalRunRequest.js +2 -0
  191. package/dist/api/resources/run/client/requests/index.d.ts +3 -0
  192. package/dist/api/resources/run/client/requests/index.js +1 -0
  193. package/dist/api/resources/run/exports.d.ts +2 -0
  194. package/dist/api/resources/run/exports.js +3 -0
  195. package/dist/api/resources/run/index.d.ts +1 -0
  196. package/dist/api/resources/run/index.js +1 -0
  197. package/dist/api/resources/serviceAccount/client/Client.d.ts +75 -0
  198. package/dist/api/resources/serviceAccount/client/Client.js +227 -0
  199. package/dist/api/resources/serviceAccount/client/index.d.ts +1 -0
  200. package/dist/api/resources/serviceAccount/client/index.js +1 -0
  201. package/dist/api/resources/serviceAccount/client/requests/AuthV1CreateServiceAccountRequest.d.ts +14 -0
  202. package/dist/api/resources/serviceAccount/client/requests/AuthV1CreateServiceAccountRequest.js +2 -0
  203. package/dist/api/resources/serviceAccount/client/requests/AuthV1RemoveServiceAccountRequest.d.ts +12 -0
  204. package/dist/api/resources/serviceAccount/client/requests/AuthV1RemoveServiceAccountRequest.js +2 -0
  205. package/dist/api/resources/serviceAccount/client/requests/AuthV1RotateServiceAccountSecretRequest.d.ts +12 -0
  206. package/dist/api/resources/serviceAccount/client/requests/AuthV1RotateServiceAccountSecretRequest.js +2 -0
  207. package/dist/api/resources/serviceAccount/client/requests/ListServiceAccountRequest.d.ts +15 -0
  208. package/dist/api/resources/serviceAccount/client/requests/ListServiceAccountRequest.js +2 -0
  209. package/dist/api/resources/serviceAccount/client/requests/index.d.ts +4 -0
  210. package/dist/api/resources/serviceAccount/client/requests/index.js +1 -0
  211. package/dist/api/resources/serviceAccount/exports.d.ts +2 -0
  212. package/dist/api/resources/serviceAccount/exports.js +3 -0
  213. package/dist/api/resources/serviceAccount/index.d.ts +1 -0
  214. package/dist/api/resources/serviceAccount/index.js +1 -0
  215. package/dist/api/types/AuthV1AcceptInviteResponse.d.ts +1 -0
  216. package/dist/api/types/AuthV1AcceptInviteResponse.js +2 -0
  217. package/dist/api/types/AuthV1CreateServiceAccountResponse.d.ts +9 -0
  218. package/dist/api/types/AuthV1CreateServiceAccountResponse.js +2 -0
  219. package/dist/api/types/AuthV1GetAuthConfigRequest.d.ts +1 -0
  220. package/dist/api/types/AuthV1GetAuthConfigRequest.js +2 -0
  221. package/dist/api/types/AuthV1GetAuthConfigResponse.d.ts +14 -0
  222. package/dist/api/types/AuthV1GetAuthConfigResponse.js +2 -0
  223. package/dist/api/types/AuthV1GetSessionRequest.d.ts +5 -0
  224. package/dist/api/types/AuthV1GetSessionRequest.js +2 -0
  225. package/dist/api/types/AuthV1GetSessionResponse.d.ts +6 -0
  226. package/dist/api/types/AuthV1GetSessionResponse.js +2 -0
  227. package/dist/api/types/AuthV1GetTokenResponse.d.ts +8 -0
  228. package/dist/api/types/AuthV1GetTokenResponse.js +2 -0
  229. package/dist/api/types/AuthV1InviteMemberResponse.d.ts +8 -0
  230. package/dist/api/types/AuthV1InviteMemberResponse.js +2 -0
  231. package/dist/api/types/AuthV1ListMembersRequest.d.ts +1 -0
  232. package/dist/api/types/AuthV1ListMembersRequest.js +2 -0
  233. package/dist/api/types/AuthV1ListMembersResponse.d.ts +9 -0
  234. package/dist/api/types/AuthV1ListMembersResponse.js +2 -0
  235. package/dist/api/types/AuthV1ListServiceAccountsRequest.d.ts +1 -0
  236. package/dist/api/types/AuthV1ListServiceAccountsRequest.js +2 -0
  237. package/dist/api/types/AuthV1ListServiceAccountsResponse.d.ts +5 -0
  238. package/dist/api/types/AuthV1ListServiceAccountsResponse.js +2 -0
  239. package/dist/api/types/AuthV1LoginResponse.d.ts +1 -0
  240. package/dist/api/types/AuthV1LoginResponse.js +2 -0
  241. package/dist/api/types/AuthV1LogoutRequest.d.ts +4 -0
  242. package/dist/api/types/AuthV1LogoutRequest.js +2 -0
  243. package/dist/api/types/AuthV1LogoutResponse.d.ts +1 -0
  244. package/dist/api/types/AuthV1LogoutResponse.js +2 -0
  245. package/dist/api/types/AuthV1Member.d.ts +10 -0
  246. package/dist/api/types/AuthV1Member.js +2 -0
  247. package/dist/api/types/AuthV1RegisterResponse.d.ts +3 -0
  248. package/dist/api/types/AuthV1RegisterResponse.js +2 -0
  249. package/dist/api/types/AuthV1RemoveMemberResponse.d.ts +1 -0
  250. package/dist/api/types/AuthV1RemoveMemberResponse.js +2 -0
  251. package/dist/api/types/AuthV1RemoveServiceAccountResponse.d.ts +1 -0
  252. package/dist/api/types/AuthV1RemoveServiceAccountResponse.js +2 -0
  253. package/dist/api/types/AuthV1Role.d.ts +11 -0
  254. package/dist/api/types/AuthV1Role.js +11 -0
  255. package/dist/api/types/AuthV1RotateServiceAccountSecretResponse.d.ts +8 -0
  256. package/dist/api/types/AuthV1RotateServiceAccountSecretResponse.js +2 -0
  257. package/dist/api/types/AuthV1ServiceAccount.d.ts +12 -0
  258. package/dist/api/types/AuthV1ServiceAccount.js +2 -0
  259. package/dist/api/types/AuthV1SetMemberRoleResponse.d.ts +1 -0
  260. package/dist/api/types/AuthV1SetMemberRoleResponse.js +2 -0
  261. package/dist/api/types/ConnectError.d.ts +36 -0
  262. package/dist/api/types/ConnectError.js +23 -0
  263. package/dist/api/types/ConnectErrorDetailsAny.d.ts +13 -0
  264. package/dist/api/types/ConnectErrorDetailsAny.js +2 -0
  265. package/dist/api/types/ConnectProtocolVersion.d.ts +5 -0
  266. package/dist/api/types/ConnectProtocolVersion.js +5 -0
  267. package/dist/api/types/ConnectTimeoutHeader.d.ts +4 -0
  268. package/dist/api/types/ConnectTimeoutHeader.js +2 -0
  269. package/dist/api/types/GoogleProtobufListValue.d.ts +5 -0
  270. package/dist/api/types/GoogleProtobufListValue.js +2 -0
  271. package/dist/api/types/GoogleProtobufNullValue.d.ts +10 -0
  272. package/dist/api/types/GoogleProtobufNullValue.js +10 -0
  273. package/dist/api/types/GoogleProtobufStruct.d.ts +5 -0
  274. package/dist/api/types/GoogleProtobufStruct.js +2 -0
  275. package/dist/api/types/GoogleProtobufValue.d.ts +4 -0
  276. package/dist/api/types/GoogleProtobufValue.js +2 -0
  277. package/dist/api/types/IngestionV1CandidateStatus.d.ts +8 -0
  278. package/dist/api/types/IngestionV1CandidateStatus.js +8 -0
  279. package/dist/api/types/IngestionV1CandidateValue.d.ts +9 -0
  280. package/dist/api/types/IngestionV1CandidateValue.js +2 -0
  281. package/dist/api/types/IngestionV1ConfigField.d.ts +22 -0
  282. package/dist/api/types/IngestionV1ConfigField.js +2 -0
  283. package/dist/api/types/IngestionV1ConfigSchema.d.ts +7 -0
  284. package/dist/api/types/IngestionV1ConfigSchema.js +2 -0
  285. package/dist/api/types/IngestionV1Connection.d.ts +36 -0
  286. package/dist/api/types/IngestionV1Connection.js +2 -0
  287. package/dist/api/types/IngestionV1ConnectorKind.d.ts +7 -0
  288. package/dist/api/types/IngestionV1ConnectorKind.js +7 -0
  289. package/dist/api/types/IngestionV1ConnectorMaturity.d.ts +7 -0
  290. package/dist/api/types/IngestionV1ConnectorMaturity.js +7 -0
  291. package/dist/api/types/IngestionV1ConnectorSpec.d.ts +18 -0
  292. package/dist/api/types/IngestionV1ConnectorSpec.js +2 -0
  293. package/dist/api/types/IngestionV1CreateConnectionResponse.d.ts +4 -0
  294. package/dist/api/types/IngestionV1CreateConnectionResponse.js +2 -0
  295. package/dist/api/types/IngestionV1CreatePipelineNotifierResponse.d.ts +4 -0
  296. package/dist/api/types/IngestionV1CreatePipelineNotifierResponse.js +2 -0
  297. package/dist/api/types/IngestionV1CreatePipelineResponse.d.ts +5 -0
  298. package/dist/api/types/IngestionV1CreatePipelineResponse.js +2 -0
  299. package/dist/api/types/IngestionV1CreatePipelineScheduleResponse.d.ts +4 -0
  300. package/dist/api/types/IngestionV1CreatePipelineScheduleResponse.js +2 -0
  301. package/dist/api/types/IngestionV1CreatePipelineVersionResponse.d.ts +4 -0
  302. package/dist/api/types/IngestionV1CreatePipelineVersionResponse.js +2 -0
  303. package/dist/api/types/IngestionV1DeleteConnectionResponse.d.ts +1 -0
  304. package/dist/api/types/IngestionV1DeleteConnectionResponse.js +2 -0
  305. package/dist/api/types/IngestionV1DeletePipelineNotifierResponse.d.ts +1 -0
  306. package/dist/api/types/IngestionV1DeletePipelineNotifierResponse.js +2 -0
  307. package/dist/api/types/IngestionV1DeletePipelineResponse.d.ts +1 -0
  308. package/dist/api/types/IngestionV1DeletePipelineResponse.js +2 -0
  309. package/dist/api/types/IngestionV1DiscoverResourcesResponse.d.ts +4 -0
  310. package/dist/api/types/IngestionV1DiscoverResourcesResponse.js +2 -0
  311. package/dist/api/types/IngestionV1EdgeValidation.d.ts +20 -0
  312. package/dist/api/types/IngestionV1EdgeValidation.js +2 -0
  313. package/dist/api/types/IngestionV1EnumOption.d.ts +7 -0
  314. package/dist/api/types/IngestionV1EnumOption.js +2 -0
  315. package/dist/api/types/IngestionV1ExecutionDesiredState.d.ts +8 -0
  316. package/dist/api/types/IngestionV1ExecutionDesiredState.js +8 -0
  317. package/dist/api/types/IngestionV1ExecutionMode.d.ts +10 -0
  318. package/dist/api/types/IngestionV1ExecutionMode.js +10 -0
  319. package/dist/api/types/IngestionV1ExecutionObservedState.d.ts +16 -0
  320. package/dist/api/types/IngestionV1ExecutionObservedState.js +16 -0
  321. package/dist/api/types/IngestionV1ExecutionStatus.d.ts +17 -0
  322. package/dist/api/types/IngestionV1ExecutionStatus.js +2 -0
  323. package/dist/api/types/IngestionV1FieldCondition.d.ts +4 -0
  324. package/dist/api/types/IngestionV1FieldCondition.js +2 -0
  325. package/dist/api/types/IngestionV1FieldScope.d.ts +6 -0
  326. package/dist/api/types/IngestionV1FieldScope.js +6 -0
  327. package/dist/api/types/IngestionV1FieldType.d.ts +13 -0
  328. package/dist/api/types/IngestionV1FieldType.js +13 -0
  329. package/dist/api/types/IngestionV1GetConnectionResponse.d.ts +4 -0
  330. package/dist/api/types/IngestionV1GetConnectionResponse.js +2 -0
  331. package/dist/api/types/IngestionV1GetConnectorResponse.d.ts +4 -0
  332. package/dist/api/types/IngestionV1GetConnectorResponse.js +2 -0
  333. package/dist/api/types/IngestionV1GetPipelineResponse.d.ts +4 -0
  334. package/dist/api/types/IngestionV1GetPipelineResponse.js +2 -0
  335. package/dist/api/types/IngestionV1GetPipelineVersionResponse.d.ts +4 -0
  336. package/dist/api/types/IngestionV1GetPipelineVersionResponse.js +2 -0
  337. package/dist/api/types/IngestionV1GetResourceColumnsResponse.d.ts +4 -0
  338. package/dist/api/types/IngestionV1GetResourceColumnsResponse.js +2 -0
  339. package/dist/api/types/IngestionV1GetRunResponse.d.ts +4 -0
  340. package/dist/api/types/IngestionV1GetRunResponse.js +2 -0
  341. package/dist/api/types/IngestionV1ListConnectionsResponse.d.ts +5 -0
  342. package/dist/api/types/IngestionV1ListConnectionsResponse.js +2 -0
  343. package/dist/api/types/IngestionV1ListConnectorsResponse.d.ts +5 -0
  344. package/dist/api/types/IngestionV1ListConnectorsResponse.js +2 -0
  345. package/dist/api/types/IngestionV1ListPipelineNotifiersResponse.d.ts +4 -0
  346. package/dist/api/types/IngestionV1ListPipelineNotifiersResponse.js +2 -0
  347. package/dist/api/types/IngestionV1ListPipelineVersionsResponse.d.ts +5 -0
  348. package/dist/api/types/IngestionV1ListPipelineVersionsResponse.js +2 -0
  349. package/dist/api/types/IngestionV1ListPipelinesResponse.d.ts +5 -0
  350. package/dist/api/types/IngestionV1ListPipelinesResponse.js +2 -0
  351. package/dist/api/types/IngestionV1ListRunsResponse.d.ts +5 -0
  352. package/dist/api/types/IngestionV1ListRunsResponse.js +2 -0
  353. package/dist/api/types/IngestionV1NotificationType.d.ts +9 -0
  354. package/dist/api/types/IngestionV1NotificationType.js +9 -0
  355. package/dist/api/types/IngestionV1Notifier.d.ts +23 -0
  356. package/dist/api/types/IngestionV1Notifier.js +2 -0
  357. package/dist/api/types/IngestionV1NotifierEvent.d.ts +14 -0
  358. package/dist/api/types/IngestionV1NotifierEvent.js +14 -0
  359. package/dist/api/types/IngestionV1NotifierInput.d.ts +16 -0
  360. package/dist/api/types/IngestionV1NotifierInput.js +2 -0
  361. package/dist/api/types/IngestionV1PaginationRequest.d.ts +10 -0
  362. package/dist/api/types/IngestionV1PaginationRequest.js +2 -0
  363. package/dist/api/types/IngestionV1PaginationResponse.d.ts +10 -0
  364. package/dist/api/types/IngestionV1PaginationResponse.js +2 -0
  365. package/dist/api/types/IngestionV1Pipeline.d.ts +28 -0
  366. package/dist/api/types/IngestionV1Pipeline.js +2 -0
  367. package/dist/api/types/IngestionV1PipelineEdge.d.ts +25 -0
  368. package/dist/api/types/IngestionV1PipelineEdge.js +2 -0
  369. package/dist/api/types/IngestionV1PipelineEdgeRun.d.ts +8 -0
  370. package/dist/api/types/IngestionV1PipelineEdgeRun.js +2 -0
  371. package/dist/api/types/IngestionV1PipelineGraph.d.ts +5 -0
  372. package/dist/api/types/IngestionV1PipelineGraph.js +2 -0
  373. package/dist/api/types/IngestionV1PipelineNode.d.ts +17 -0
  374. package/dist/api/types/IngestionV1PipelineNode.js +2 -0
  375. package/dist/api/types/IngestionV1PipelineSchedule.d.ts +11 -0
  376. package/dist/api/types/IngestionV1PipelineSchedule.js +2 -0
  377. package/dist/api/types/IngestionV1PipelineScheduleConfig.d.ts +7 -0
  378. package/dist/api/types/IngestionV1PipelineScheduleConfig.js +2 -0
  379. package/dist/api/types/IngestionV1PipelineScheduleOverlapPolicy.d.ts +10 -0
  380. package/dist/api/types/IngestionV1PipelineScheduleOverlapPolicy.js +10 -0
  381. package/dist/api/types/IngestionV1PipelineVersion.d.ts +11 -0
  382. package/dist/api/types/IngestionV1PipelineVersion.js +2 -0
  383. package/dist/api/types/IngestionV1RatePolicy.d.ts +7 -0
  384. package/dist/api/types/IngestionV1RatePolicy.js +2 -0
  385. package/dist/api/types/IngestionV1ReadMode.d.ts +7 -0
  386. package/dist/api/types/IngestionV1ReadMode.js +7 -0
  387. package/dist/api/types/IngestionV1ReplicationMode.d.ts +11 -0
  388. package/dist/api/types/IngestionV1ReplicationMode.js +11 -0
  389. package/dist/api/types/IngestionV1Requirement.d.ts +16 -0
  390. package/dist/api/types/IngestionV1Requirement.js +2 -0
  391. package/dist/api/types/IngestionV1RequirementKind.d.ts +6 -0
  392. package/dist/api/types/IngestionV1RequirementKind.js +6 -0
  393. package/dist/api/types/IngestionV1Resource.d.ts +8 -0
  394. package/dist/api/types/IngestionV1Resource.js +2 -0
  395. package/dist/api/types/IngestionV1ResourceColumn.d.ts +13 -0
  396. package/dist/api/types/IngestionV1ResourceColumn.js +2 -0
  397. package/dist/api/types/IngestionV1ResourceColumns.d.ts +5 -0
  398. package/dist/api/types/IngestionV1ResourceColumns.js +2 -0
  399. package/dist/api/types/IngestionV1ResourceCursorConfig.d.ts +5 -0
  400. package/dist/api/types/IngestionV1ResourceCursorConfig.js +2 -0
  401. package/dist/api/types/IngestionV1ResourceValidation.d.ts +11 -0
  402. package/dist/api/types/IngestionV1ResourceValidation.js +2 -0
  403. package/dist/api/types/IngestionV1RunEvent.d.ts +16 -0
  404. package/dist/api/types/IngestionV1RunEvent.js +2 -0
  405. package/dist/api/types/IngestionV1RunEventFields.d.ts +18 -0
  406. package/dist/api/types/IngestionV1RunEventFields.js +2 -0
  407. package/dist/api/types/IngestionV1RunInfo.d.ts +34 -0
  408. package/dist/api/types/IngestionV1RunInfo.js +2 -0
  409. package/dist/api/types/IngestionV1RunOptions.d.ts +18 -0
  410. package/dist/api/types/IngestionV1RunOptions.js +2 -0
  411. package/dist/api/types/IngestionV1RunPipelineResponse.d.ts +4 -0
  412. package/dist/api/types/IngestionV1RunPipelineResponse.js +2 -0
  413. package/dist/api/types/IngestionV1RunResourceState.d.ts +11 -0
  414. package/dist/api/types/IngestionV1RunResourceState.js +2 -0
  415. package/dist/api/types/IngestionV1RunSignal.d.ts +9 -0
  416. package/dist/api/types/IngestionV1RunSignal.js +9 -0
  417. package/dist/api/types/IngestionV1RunSnapshot.d.ts +6 -0
  418. package/dist/api/types/IngestionV1RunSnapshot.js +2 -0
  419. package/dist/api/types/IngestionV1RunStatus.d.ts +13 -0
  420. package/dist/api/types/IngestionV1RunStatus.js +13 -0
  421. package/dist/api/types/IngestionV1SignalRunResponse.d.ts +8 -0
  422. package/dist/api/types/IngestionV1SignalRunResponse.js +2 -0
  423. package/dist/api/types/IngestionV1SortBy.d.ts +7 -0
  424. package/dist/api/types/IngestionV1SortBy.js +7 -0
  425. package/dist/api/types/IngestionV1SortOrder.d.ts +6 -0
  426. package/dist/api/types/IngestionV1SortOrder.js +6 -0
  427. package/dist/api/types/IngestionV1SortingRequest.d.ts +5 -0
  428. package/dist/api/types/IngestionV1SortingRequest.js +2 -0
  429. package/dist/api/types/IngestionV1TailRunRequest.d.ts +8 -0
  430. package/dist/api/types/IngestionV1TailRunRequest.js +2 -0
  431. package/dist/api/types/IngestionV1TailRunResponse.d.ts +4 -0
  432. package/dist/api/types/IngestionV1TailRunResponse.js +2 -0
  433. package/dist/api/types/IngestionV1UpdateConnectionResponse.d.ts +4 -0
  434. package/dist/api/types/IngestionV1UpdateConnectionResponse.js +2 -0
  435. package/dist/api/types/IngestionV1UpdatePipelineNotifierResponse.d.ts +4 -0
  436. package/dist/api/types/IngestionV1UpdatePipelineNotifierResponse.js +2 -0
  437. package/dist/api/types/IngestionV1UpdatePipelineResponse.d.ts +4 -0
  438. package/dist/api/types/IngestionV1UpdatePipelineResponse.js +2 -0
  439. package/dist/api/types/IngestionV1UpdatePipelineScheduleResponse.d.ts +4 -0
  440. package/dist/api/types/IngestionV1UpdatePipelineScheduleResponse.js +2 -0
  441. package/dist/api/types/IngestionV1ValidateConfigResponse.d.ts +5 -0
  442. package/dist/api/types/IngestionV1ValidateConfigResponse.js +2 -0
  443. package/dist/api/types/IngestionV1ValidatePipelineResponse.d.ts +7 -0
  444. package/dist/api/types/IngestionV1ValidatePipelineResponse.js +2 -0
  445. package/dist/api/types/IngestionV1ValidationError.d.ts +4 -0
  446. package/dist/api/types/IngestionV1ValidationError.js +2 -0
  447. package/dist/api/types/IngestionV1WorkerConfiguration.d.ts +12 -0
  448. package/dist/api/types/IngestionV1WorkerConfiguration.js +2 -0
  449. package/dist/api/types/IngestionV1WorkerResources.d.ts +10 -0
  450. package/dist/api/types/IngestionV1WorkerResources.js +2 -0
  451. package/dist/api/types/IngestionV1WorkerToleration.d.ts +11 -0
  452. package/dist/api/types/IngestionV1WorkerToleration.js +2 -0
  453. package/dist/api/types/IngestionV1WriteMode.d.ts +12 -0
  454. package/dist/api/types/IngestionV1WriteMode.js +12 -0
  455. package/dist/api/types/MetricsV1AggregateRow.d.ts +7 -0
  456. package/dist/api/types/MetricsV1AggregateRow.js +2 -0
  457. package/dist/api/types/MetricsV1Metric.d.ts +18 -0
  458. package/dist/api/types/MetricsV1Metric.js +18 -0
  459. package/dist/api/types/MetricsV1MetricDimension.d.ts +8 -0
  460. package/dist/api/types/MetricsV1MetricDimension.js +8 -0
  461. package/dist/api/types/MetricsV1MetricFilter.d.ts +9 -0
  462. package/dist/api/types/MetricsV1MetricFilter.js +2 -0
  463. package/dist/api/types/MetricsV1MetricGranularity.d.ts +7 -0
  464. package/dist/api/types/MetricsV1MetricGranularity.js +7 -0
  465. package/dist/api/types/MetricsV1QueryAggregateResponse.d.ts +4 -0
  466. package/dist/api/types/MetricsV1QueryAggregateResponse.js +2 -0
  467. package/dist/api/types/MetricsV1QueryTimeseriesResponse.d.ts +4 -0
  468. package/dist/api/types/MetricsV1QueryTimeseriesResponse.js +2 -0
  469. package/dist/api/types/MetricsV1Timeseries.d.ts +12 -0
  470. package/dist/api/types/MetricsV1Timeseries.js +2 -0
  471. package/dist/api/types/MetricsV1TimeseriesPoint.d.ts +7 -0
  472. package/dist/api/types/MetricsV1TimeseriesPoint.js +2 -0
  473. package/dist/api/types/index.d.ts +129 -0
  474. package/dist/api/types/index.js +129 -0
  475. package/dist/auth/OAuthAuthProvider.d.ts +45 -0
  476. package/dist/auth/OAuthAuthProvider.js +124 -0
  477. package/dist/auth/index.d.ts +1 -0
  478. package/dist/auth/index.js +1 -0
  479. package/dist/core/auth/AuthProvider.d.ts +8 -0
  480. package/dist/core/auth/AuthProvider.js +6 -0
  481. package/dist/core/auth/AuthRequest.d.ts +9 -0
  482. package/dist/core/auth/AuthRequest.js +1 -0
  483. package/dist/core/auth/BasicAuth.d.ts +8 -0
  484. package/dist/core/auth/BasicAuth.js +29 -0
  485. package/dist/core/auth/BearerToken.d.ts +7 -0
  486. package/dist/core/auth/BearerToken.js +13 -0
  487. package/dist/core/auth/NoOpAuthProvider.d.ts +5 -0
  488. package/dist/core/auth/NoOpAuthProvider.js +5 -0
  489. package/dist/core/auth/index.d.ts +5 -0
  490. package/dist/core/auth/index.js +4 -0
  491. package/dist/core/base64.d.ts +2 -0
  492. package/dist/core/base64.js +22 -0
  493. package/dist/core/exports.d.ts +1 -0
  494. package/dist/core/exports.js +1 -0
  495. package/dist/core/fetcher/APIResponse.d.ts +20 -0
  496. package/dist/core/fetcher/APIResponse.js +1 -0
  497. package/dist/core/fetcher/BinaryResponse.d.ts +19 -0
  498. package/dist/core/fetcher/BinaryResponse.js +14 -0
  499. package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
  500. package/dist/core/fetcher/EndpointMetadata.js +1 -0
  501. package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
  502. package/dist/core/fetcher/EndpointSupplier.js +10 -0
  503. package/dist/core/fetcher/Fetcher.d.ts +56 -0
  504. package/dist/core/fetcher/Fetcher.js +223 -0
  505. package/dist/core/fetcher/Headers.d.ts +2 -0
  506. package/dist/core/fetcher/Headers.js +83 -0
  507. package/dist/core/fetcher/HttpResponsePromise.d.ts +58 -0
  508. package/dist/core/fetcher/HttpResponsePromise.js +90 -0
  509. package/dist/core/fetcher/RawResponse.d.ts +29 -0
  510. package/dist/core/fetcher/RawResponse.js +40 -0
  511. package/dist/core/fetcher/Supplier.d.ts +4 -0
  512. package/dist/core/fetcher/Supplier.js +10 -0
  513. package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
  514. package/dist/core/fetcher/createRequestUrl.js +5 -0
  515. package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
  516. package/dist/core/fetcher/getErrorResponseBody.js +30 -0
  517. package/dist/core/fetcher/getFetchFn.d.ts +1 -0
  518. package/dist/core/fetcher/getFetchFn.js +3 -0
  519. package/dist/core/fetcher/getHeader.d.ts +1 -0
  520. package/dist/core/fetcher/getHeader.js +8 -0
  521. package/dist/core/fetcher/getRequestBody.d.ts +7 -0
  522. package/dist/core/fetcher/getRequestBody.js +13 -0
  523. package/dist/core/fetcher/getResponseBody.d.ts +1 -0
  524. package/dist/core/fetcher/getResponseBody.js +66 -0
  525. package/dist/core/fetcher/index.d.ts +13 -0
  526. package/dist/core/fetcher/index.js +7 -0
  527. package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
  528. package/dist/core/fetcher/makePassthroughRequest.js +141 -0
  529. package/dist/core/fetcher/makeRequest.d.ts +6 -0
  530. package/dist/core/fetcher/makeRequest.js +53 -0
  531. package/dist/core/fetcher/redactUrl.d.ts +2 -0
  532. package/dist/core/fetcher/redactUrl.js +84 -0
  533. package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
  534. package/dist/core/fetcher/requestWithRetries.js +56 -0
  535. package/dist/core/fetcher/signals.d.ts +5 -0
  536. package/dist/core/fetcher/signals.js +28 -0
  537. package/dist/core/headers.d.ts +2 -0
  538. package/dist/core/headers.js +27 -0
  539. package/dist/core/index.d.ts +6 -0
  540. package/dist/core/index.js +6 -0
  541. package/dist/core/json.d.ts +15 -0
  542. package/dist/core/json.js +19 -0
  543. package/dist/core/logging/exports.d.ts +18 -0
  544. package/dist/core/logging/exports.js +9 -0
  545. package/dist/core/logging/index.d.ts +1 -0
  546. package/dist/core/logging/index.js +1 -0
  547. package/dist/core/logging/logger.d.ts +126 -0
  548. package/dist/core/logging/logger.js +140 -0
  549. package/dist/core/requestBody.d.ts +12 -0
  550. package/dist/core/requestBody.js +23 -0
  551. package/dist/core/runtime/index.d.ts +1 -0
  552. package/dist/core/runtime/index.js +1 -0
  553. package/dist/core/runtime/runtime.d.ts +28 -0
  554. package/dist/core/runtime/runtime.js +171 -0
  555. package/dist/core/url/QueryStringBuilder.d.ts +47 -0
  556. package/dist/core/url/QueryStringBuilder.js +78 -0
  557. package/dist/core/url/encodePathParam.d.ts +1 -0
  558. package/dist/core/url/encodePathParam.js +18 -0
  559. package/dist/core/url/index.d.ts +4 -0
  560. package/dist/core/url/index.js +4 -0
  561. package/dist/core/url/join.d.ts +1 -0
  562. package/dist/core/url/join.js +65 -0
  563. package/dist/core/url/qs.d.ts +7 -0
  564. package/dist/core/url/qs.js +76 -0
  565. package/dist/errors/FilamentError.d.ts +15 -0
  566. package/dist/errors/FilamentError.js +38 -0
  567. package/dist/errors/FilamentTimeoutError.d.ts +6 -0
  568. package/dist/errors/FilamentTimeoutError.js +15 -0
  569. package/dist/errors/handleNonStatusCodeError.d.ts +2 -0
  570. package/dist/errors/handleNonStatusCodeError.js +32 -0
  571. package/dist/errors/index.d.ts +2 -0
  572. package/dist/errors/index.js +2 -0
  573. package/dist/exports.d.ts +1 -0
  574. package/dist/exports.js +1 -0
  575. package/dist/index.d.ts +5 -0
  576. package/dist/index.js +4 -0
  577. package/package.json +38 -0
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026- Intergalactic Data Labs, Inc.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,192 @@
1
+ # Filament TypeScript SDK
2
+
3
+ Create connections, discover resources, build pipelines, and run them from TypeScript or JavaScript.
4
+
5
+ - **Package:** `@galaxy-io/filament-ts`
6
+ - **Import:** `import { FilamentClient } from "@galaxy-io/filament-ts"`
7
+ - **Node:** 18+, or any runtime with `fetch`
8
+ - **Module format:** ES modules with bundled type declarations
9
+
10
+ ## Installation
11
+
12
+ ~~~sh
13
+ npm install @galaxy-io/filament-ts
14
+ ~~~
15
+
16
+ ## Connect to Filament
17
+
18
+ ~~~ts
19
+ import { FilamentClient } from "@galaxy-io/filament-ts";
20
+
21
+ const filament = new FilamentClient({
22
+ environment: process.env.FILAMENT_URL ?? "http://localhost:8080",
23
+ auth: false,
24
+ });
25
+
26
+ const { connectors } = await filament.connector.list({});
27
+ for (const connector of connectors ?? []) {
28
+ console.log(connector.name);
29
+ }
30
+ ~~~
31
+
32
+ This connects to a server with authentication disabled. See
33
+ [Authentication](#authentication) for a deployed server.
34
+
35
+ Request timeouts are set with `timeoutInSeconds`, and retries with `maxRetries`,
36
+ either on the client or per call. The client retries twice by default; pass
37
+ `maxRetries: 0` on calls that must not repeat.
38
+
39
+ ## Authentication
40
+
41
+ When the server runs with an identity provider, the SDK authenticates as a
42
+ service account. Create one on the Members page of the web app, or with
43
+ `filament.serviceAccount.create(...)` while signed in as an admin. Both return a
44
+ client id and a client secret; the secret is shown once.
45
+
46
+ Pass them to the client. It mints an access token through the server and mints
47
+ again as the token nears expiry, so nothing about the identity provider reaches
48
+ your code:
49
+
50
+ ~~~ts
51
+ const filament = new FilamentClient({
52
+ environment: process.env.FILAMENT_URL ?? "http://localhost:8080",
53
+ clientId: process.env.FILAMENT_CLIENT_ID!,
54
+ clientSecret: process.env.FILAMENT_CLIENT_SECRET!,
55
+ });
56
+ ~~~
57
+
58
+ A token minted elsewhere still works as `token`. For a local server with
59
+ authentication disabled, pass `auth: false` instead; the client refuses to
60
+ construct without one of the three.
61
+
62
+ ## Create and run a pipeline
63
+
64
+ A **connector** is an available integration, such as `sample` or `stdout`.
65
+ A **connection** is a configured instance you create using that connector.
66
+
67
+ The workflow is:
68
+
69
+ 1. Create source and sink connections.
70
+ 2. Discover the source's resources and select which ones to include.
71
+ 3. Create a pipeline and save its graph.
72
+ 4. Submit a run.
73
+
74
+ This complete example routes five rows from each selected sample resource to
75
+ stdout. It requires a running Filament deployment with a working execution backend.
76
+
77
+ ~~~ts
78
+ import { randomUUID } from "node:crypto";
79
+ import { FilamentClient } from "@galaxy-io/filament-ts";
80
+
81
+ const filament = new FilamentClient({
82
+ environment: process.env.FILAMENT_URL ?? "http://localhost:8080",
83
+ auth: false,
84
+ });
85
+ const name = `sample-to-stdout-${randomUUID().slice(0, 8)}`;
86
+
87
+ const { connection: source } = await filament.connection.create({
88
+ name: `${name}-source`,
89
+ kind: "CONNECTOR_KIND_SOURCE",
90
+ connector: "sample",
91
+ });
92
+
93
+ const { connection: sink } = await filament.connection.create({
94
+ name: `${name}-sink`,
95
+ kind: "CONNECTOR_KIND_SINK",
96
+ connector: "stdout",
97
+ });
98
+
99
+ const { resources } = await filament.connector.discoverResources({
100
+ connectionId: source!.id,
101
+ });
102
+
103
+ // Select every available resource, or set this to ["users"].
104
+ const selectedResources = (resources ?? [])
105
+ .filter((resource) => resource.isSelectable)
106
+ .map((resource) => resource.name!);
107
+
108
+ const { pipeline } = await filament.pipeline.create({ name });
109
+
110
+ await filament.pipeline.version.create({
111
+ pipelineId: pipeline!.id,
112
+ graph: {
113
+ nodes: [
114
+ {
115
+ id: "source",
116
+ kind: "CONNECTOR_KIND_SOURCE",
117
+ connectionId: source!.id,
118
+ config: { rows: 5 },
119
+ },
120
+ {
121
+ id: "sink",
122
+ kind: "CONNECTOR_KIND_SINK",
123
+ connectionId: sink!.id,
124
+ },
125
+ ],
126
+ edges: selectedResources.map((resource) => ({
127
+ fromNode: "source",
128
+ toNode: "sink",
129
+ resource,
130
+ })),
131
+ },
132
+ });
133
+
134
+ const submitted = await filament.pipeline.run({ pipelineId: pipeline!.id });
135
+
136
+ console.log("Pipeline:", pipeline!.id);
137
+ for (const edgeRun of submitted.edgeRuns ?? []) {
138
+ console.log("Run:", edgeRun.run?.id, edgeRun.run?.status);
139
+ }
140
+ ~~~
141
+
142
+ `pipeline.create(...)` creates the pipeline's metadata.
143
+ `pipeline.version.create(...)` saves its graph; the backend assigns the version
144
+ automatically. Both steps are required before the first run.
145
+
146
+ The sample source discovers `users` and `orders`. To route all resources without
147
+ enumerating them, save one edge with `resource` omitted. You still supply the source
148
+ and sink nodes.
149
+
150
+ Submitting a run returns its ID and initial status. It does not wait for completion.
151
+ Inspect a run with `filament.run.get({ runId })`, or open the pipeline in the UI.
152
+ The stdout sink writes rows to the worker's logs.
153
+
154
+ ## API groups
155
+
156
+ | Group | Examples |
157
+ | --- | --- |
158
+ | `connector` | `list`, `get`, `discoverResources`, `validateConfig` |
159
+ | `connection` | `create`, `get`, `list`, `update`, `delete` |
160
+ | `pipeline` | `create`, `get`, `list`, `update`, `validate`, `run` |
161
+ | `pipeline.version` | `create`, `get`, `list` |
162
+ | `pipeline.schedule` | `create`, `update` |
163
+ | `pipeline.notifier` | `create`, `list`, `update`, `delete` |
164
+ | `run` | `get`, `list`, `signal` |
165
+ | `metrics` | `queryTimeseries`, `queryAggregate` |
166
+ | `auth` | `getConfig`, `getSession`, `login`, `logout` |
167
+ | `member` | `list`, `invite`, `setRole`, `remove` |
168
+ | `serviceAccount` | `create`, `list`, `rotateSecret`, `remove` |
169
+
170
+ The SDK covers unary API methods. Streaming `TailRun` is not included.
171
+
172
+ ## Responses
173
+
174
+ Methods return typed responses. For example, `pipeline.create(...)` resolves to an
175
+ object whose `pipeline` property holds the created pipeline.
176
+
177
+ Fields omitted by the server are `undefined`, including lists. Use
178
+ `response.pipelines ?? []` when iterating. Protobuf 64-bit integer fields, such as
179
+ timestamps and record counts, can be decimal strings; use `Number(value)` or
180
+ `BigInt(value)` when needed.
181
+
182
+ Errors are thrown as `FilamentError`, with `statusCode` and the server's message.
183
+ Timeouts throw `FilamentTimeoutError`.
184
+
185
+ ## Regenerating
186
+
187
+ The client under `src/` is generated by Fern from the server's OpenAPI specification.
188
+ From the repository root:
189
+
190
+ ~~~sh
191
+ just sdks
192
+ ~~~
@@ -0,0 +1,57 @@
1
+ import { OAuthAuthProvider } from "./auth/OAuthAuthProvider.js";
2
+ import * as core from "./core/index.js";
3
+ export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | OAuthAuthProvider.AuthOptions;
4
+ export type BaseClientOptions = {
5
+ environment: core.Supplier<string>;
6
+ /** Specify a custom URL to connect the client to. */
7
+ baseUrl?: core.Supplier<string>;
8
+ /** Override the Connect-Protocol-Version header */
9
+ connectProtocolVersion?: "1";
10
+ /** Additional headers to include in requests. */
11
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
12
+ /** The default maximum time to wait for a response in seconds. */
13
+ timeoutInSeconds?: number;
14
+ /** The default number of times to retry the request. Defaults to 2. */
15
+ maxRetries?: number;
16
+ /** Provide a custom fetch implementation. Useful for platforms that don't have a built-in fetch or need a custom implementation. */
17
+ fetch?: typeof fetch;
18
+ /** Configure logging for the client. */
19
+ logging?: core.logging.LogConfig | core.logging.Logger;
20
+ /** Default options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
21
+ stream?: {
22
+ reconnectionEnabled?: boolean;
23
+ maxReconnectionAttempts?: number;
24
+ };
25
+ /** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
26
+ auth?: AuthOption;
27
+ } & OAuthAuthProvider.AuthOptions;
28
+ export interface BaseRequestOptions {
29
+ /** The maximum time to wait for a response in seconds. */
30
+ timeoutInSeconds?: number;
31
+ /** The number of times to retry the request. Defaults to 2. */
32
+ maxRetries?: number;
33
+ /** A hook to abort the request. */
34
+ abortSignal?: AbortSignal;
35
+ /** Override the Connect-Protocol-Version header */
36
+ connectProtocolVersion?: "1";
37
+ /** Additional query string parameters to include in the request. */
38
+ queryParams?: Record<string, unknown>;
39
+ /** A dictionary containing additional parameters to spread into the request's body. */
40
+ additionalBodyParameters?: Record<string, unknown>;
41
+ /** Additional headers to include in the request. */
42
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
43
+ /** Options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
44
+ stream?: {
45
+ reconnectionEnabled?: boolean;
46
+ maxReconnectionAttempts?: number;
47
+ };
48
+ }
49
+ export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
50
+ logging: core.logging.Logger;
51
+ authProvider?: core.AuthProvider;
52
+ };
53
+ export type NormalizedClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions> = NormalizedClientOptions<T> & {
54
+ authProvider: core.AuthProvider;
55
+ };
56
+ export declare function normalizeClientOptions<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptions<T>;
57
+ export declare function normalizeClientOptionsWithAuth<T extends BaseClientOptions = BaseClientOptions>(options: T): NormalizedClientOptionsWithAuth<T>;
@@ -0,0 +1,44 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import { OAuthAuthProvider } from "./auth/OAuthAuthProvider.js";
3
+ import { mergeHeaders } from "./core/headers.js";
4
+ import * as core from "./core/index.js";
5
+ export function normalizeClientOptions(options) {
6
+ const headers = mergeHeaders({
7
+ "X-Fern-Language": "JavaScript",
8
+ "X-Fern-Runtime": core.RUNTIME.type,
9
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
10
+ "Connect-Protocol-Version": options?.connectProtocolVersion ?? "1",
11
+ }, options?.headers);
12
+ return {
13
+ ...options,
14
+ logging: core.logging.createLogger(options?.logging),
15
+ headers,
16
+ };
17
+ }
18
+ export function normalizeClientOptionsWithAuth(options) {
19
+ const normalized = normalizeClientOptions(options);
20
+ if (options.auth === false) {
21
+ normalized.authProvider = new core.NoOpAuthProvider();
22
+ return normalized;
23
+ }
24
+ if (options.auth != null) {
25
+ if (typeof options.auth === "function") {
26
+ normalized.authProvider = { getAuthRequest: options.auth };
27
+ return normalized;
28
+ }
29
+ if (core.isAuthProvider(options.auth)) {
30
+ normalized.authProvider = options.auth;
31
+ return normalized;
32
+ }
33
+ Object.assign(normalized, options.auth);
34
+ }
35
+ const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
36
+ normalized.authProvider ??= OAuthAuthProvider.createInstance(normalizedWithNoOpAuthProvider);
37
+ return normalized;
38
+ }
39
+ function withNoOpAuthProvider(options) {
40
+ return {
41
+ ...options,
42
+ authProvider: new core.NoOpAuthProvider(),
43
+ };
44
+ }
@@ -0,0 +1,47 @@
1
+ import { AuthClient } from "./api/resources/auth/client/Client.js";
2
+ import { ConnectionClient } from "./api/resources/connection/client/Client.js";
3
+ import { ConnectorClient } from "./api/resources/connector/client/Client.js";
4
+ import { MemberClient } from "./api/resources/member/client/Client.js";
5
+ import { MetricsClient } from "./api/resources/metrics/client/Client.js";
6
+ import { PipelineClient } from "./api/resources/pipeline/client/Client.js";
7
+ import { RunClient } from "./api/resources/run/client/Client.js";
8
+ import { ServiceAccountClient } from "./api/resources/serviceAccount/client/Client.js";
9
+ import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
10
+ import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
11
+ import * as core from "./core/index.js";
12
+ export declare namespace FilamentClient {
13
+ type Options = BaseClientOptions;
14
+ interface RequestOptions extends BaseRequestOptions {
15
+ }
16
+ }
17
+ export declare class FilamentClient {
18
+ protected readonly _options: NormalizedClientOptionsWithAuth<FilamentClient.Options>;
19
+ protected _auth: AuthClient | undefined;
20
+ protected _serviceAccount: ServiceAccountClient | undefined;
21
+ protected _member: MemberClient | undefined;
22
+ protected _connection: ConnectionClient | undefined;
23
+ protected _pipeline: PipelineClient | undefined;
24
+ protected _connector: ConnectorClient | undefined;
25
+ protected _run: RunClient | undefined;
26
+ protected _metrics: MetricsClient | undefined;
27
+ constructor(options: FilamentClient.Options);
28
+ get auth(): AuthClient;
29
+ get serviceAccount(): ServiceAccountClient;
30
+ get member(): MemberClient;
31
+ get connection(): ConnectionClient;
32
+ get pipeline(): PipelineClient;
33
+ get connector(): ConnectorClient;
34
+ get run(): RunClient;
35
+ get metrics(): MetricsClient;
36
+ /**
37
+ * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
38
+ * This is useful for making requests to endpoints not yet supported in the SDK.
39
+ * The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
40
+ *
41
+ * @param {Request | string | URL} input - The URL, path, or Request object.
42
+ * @param {RequestInit} init - Standard fetch RequestInit options.
43
+ * @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
44
+ * @returns {Promise<Response>} A standard Response object.
45
+ */
46
+ fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise<Response>;
47
+ }
package/dist/Client.js ADDED
@@ -0,0 +1,70 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import { AuthClient } from "./api/resources/auth/client/Client.js";
3
+ import { ConnectionClient } from "./api/resources/connection/client/Client.js";
4
+ import { ConnectorClient } from "./api/resources/connector/client/Client.js";
5
+ import { MemberClient } from "./api/resources/member/client/Client.js";
6
+ import { MetricsClient } from "./api/resources/metrics/client/Client.js";
7
+ import { PipelineClient } from "./api/resources/pipeline/client/Client.js";
8
+ import { RunClient } from "./api/resources/run/client/Client.js";
9
+ import { ServiceAccountClient } from "./api/resources/serviceAccount/client/Client.js";
10
+ import { normalizeClientOptionsWithAuth } from "./BaseClient.js";
11
+ import * as core from "./core/index.js";
12
+ export class FilamentClient {
13
+ _options;
14
+ _auth;
15
+ _serviceAccount;
16
+ _member;
17
+ _connection;
18
+ _pipeline;
19
+ _connector;
20
+ _run;
21
+ _metrics;
22
+ constructor(options) {
23
+ this._options = normalizeClientOptionsWithAuth(options);
24
+ }
25
+ get auth() {
26
+ return (this._auth ??= new AuthClient(this._options));
27
+ }
28
+ get serviceAccount() {
29
+ return (this._serviceAccount ??= new ServiceAccountClient(this._options));
30
+ }
31
+ get member() {
32
+ return (this._member ??= new MemberClient(this._options));
33
+ }
34
+ get connection() {
35
+ return (this._connection ??= new ConnectionClient(this._options));
36
+ }
37
+ get pipeline() {
38
+ return (this._pipeline ??= new PipelineClient(this._options));
39
+ }
40
+ get connector() {
41
+ return (this._connector ??= new ConnectorClient(this._options));
42
+ }
43
+ get run() {
44
+ return (this._run ??= new RunClient(this._options));
45
+ }
46
+ get metrics() {
47
+ return (this._metrics ??= new MetricsClient(this._options));
48
+ }
49
+ /**
50
+ * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
51
+ * This is useful for making requests to endpoints not yet supported in the SDK.
52
+ * The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL.
53
+ *
54
+ * @param {Request | string | URL} input - The URL, path, or Request object.
55
+ * @param {RequestInit} init - Standard fetch RequestInit options.
56
+ * @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal).
57
+ * @returns {Promise<Response>} A standard Response object.
58
+ */
59
+ async fetch(input, init, requestOptions) {
60
+ return core.makePassthroughRequest(input, init, {
61
+ baseUrl: this._options.baseUrl ?? this._options.environment,
62
+ headers: this._options.headers,
63
+ timeoutInSeconds: this._options.timeoutInSeconds,
64
+ maxRetries: this._options.maxRetries,
65
+ fetch: this._options.fetch,
66
+ logging: this._options.logging,
67
+ getAuthHeaders: async () => (await this._options.authProvider.getAuthRequest()).headers,
68
+ }, requestOptions);
69
+ }
70
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./resources/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,2 @@
1
+ export * from "./resources/index.js";
2
+ export * from "./types/index.js";