polytomic 1.18.1 → 25.9.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 (1718) hide show
  1. package/BaseClient.d.ts +46 -0
  2. package/BaseClient.js +64 -0
  3. package/CONTRIBUTING.md +133 -0
  4. package/Client.d.ts +62 -62
  5. package/Client.js +102 -31
  6. package/api/errors/BadGatewayError.d.ts +6 -0
  7. package/api/errors/BadGatewayError.js +54 -0
  8. package/api/errors/BadRequestError.d.ts +3 -5
  9. package/api/errors/BadRequestError.js +25 -12
  10. package/api/errors/ConflictError.d.ts +3 -5
  11. package/api/errors/ConflictError.js +25 -12
  12. package/api/errors/ForbiddenError.d.ts +3 -5
  13. package/api/errors/ForbiddenError.js +25 -12
  14. package/api/errors/GatewayTimeoutError.d.ts +6 -0
  15. package/api/errors/GatewayTimeoutError.js +54 -0
  16. package/api/errors/InternalServerError.d.ts +3 -5
  17. package/api/errors/InternalServerError.js +25 -12
  18. package/api/errors/NotFoundError.d.ts +3 -5
  19. package/api/errors/NotFoundError.js +25 -12
  20. package/api/errors/RequestTimeoutError.d.ts +6 -0
  21. package/api/errors/RequestTimeoutError.js +54 -0
  22. package/api/errors/TooManyRequestsError.d.ts +6 -0
  23. package/api/errors/TooManyRequestsError.js +54 -0
  24. package/api/errors/UnauthorizedError.d.ts +3 -5
  25. package/api/errors/UnauthorizedError.js +25 -12
  26. package/api/errors/UnprocessableEntityError.d.ts +3 -5
  27. package/api/errors/UnprocessableEntityError.js +25 -12
  28. package/api/errors/index.d.ts +8 -4
  29. package/api/errors/index.js +8 -4
  30. package/api/index.d.ts +1 -1
  31. package/api/index.js +1 -1
  32. package/api/resources/bulkSync/client/Client.d.ts +65 -79
  33. package/api/resources/bulkSync/client/Client.js +340 -479
  34. package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +0 -3
  35. package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.js +1 -3
  36. package/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.d.ts +1 -6
  37. package/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.js +1 -3
  38. package/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +1 -6
  39. package/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +1 -3
  40. package/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.d.ts +0 -3
  41. package/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.js +1 -3
  42. package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +25 -12
  43. package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.js +1 -3
  44. package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +2 -7
  45. package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.js +1 -3
  46. package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +25 -12
  47. package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.js +1 -3
  48. package/api/resources/bulkSync/client/requests/index.d.ts +7 -7
  49. package/api/resources/bulkSync/exports.d.ts +3 -0
  50. package/api/resources/bulkSync/exports.js +22 -0
  51. package/api/resources/bulkSync/index.d.ts +0 -1
  52. package/api/resources/bulkSync/index.js +0 -1
  53. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +85 -48
  54. package/api/resources/bulkSync/resources/executions/client/Client.js +364 -287
  55. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +4 -7
  56. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +1 -3
  57. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.d.ts +13 -0
  58. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.js +3 -0
  59. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetSchemaConsoleLogsRequest.d.ts +13 -0
  60. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetSchemaConsoleLogsRequest.js +3 -0
  61. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +4 -15
  62. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.js +1 -3
  63. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.d.ts +5 -13
  64. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.js +1 -3
  65. package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +5 -3
  66. package/api/resources/bulkSync/resources/executions/exports.d.ts +2 -0
  67. package/api/resources/bulkSync/resources/executions/exports.js +21 -0
  68. package/api/resources/bulkSync/resources/index.d.ts +3 -3
  69. package/api/resources/bulkSync/resources/index.js +21 -11
  70. package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +34 -47
  71. package/api/resources/bulkSync/resources/schedules/client/Client.js +160 -226
  72. package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +3 -6
  73. package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.js +1 -3
  74. package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +3 -6
  75. package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.js +1 -3
  76. package/api/resources/bulkSync/resources/schedules/client/requests/index.d.ts +2 -2
  77. package/api/resources/bulkSync/resources/schedules/exports.d.ts +2 -0
  78. package/api/resources/bulkSync/resources/schedules/exports.js +21 -0
  79. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +29 -42
  80. package/api/resources/bulkSync/resources/schemas/client/Client.js +165 -222
  81. package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +2 -7
  82. package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.js +1 -3
  83. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +1 -4
  84. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.js +1 -3
  85. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSyncSchemasRequest.d.ts +9 -0
  86. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSyncSchemasRequest.js +3 -0
  87. package/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +3 -3
  88. package/api/resources/bulkSync/resources/schemas/exports.d.ts +2 -0
  89. package/api/resources/bulkSync/resources/schemas/exports.js +21 -0
  90. package/api/resources/connections/client/Client.d.ts +176 -66
  91. package/api/resources/connections/client/Client.js +639 -505
  92. package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +0 -3
  93. package/api/resources/connections/client/requests/ConnectCardRequest.js +1 -3
  94. package/api/resources/connections/client/requests/ConnectionsRemoveRequest.d.ts +0 -3
  95. package/api/resources/connections/client/requests/ConnectionsRemoveRequest.js +1 -3
  96. package/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +0 -3
  97. package/api/resources/connections/client/requests/CreateConnectionRequestSchema.js +1 -3
  98. package/api/resources/connections/client/requests/ExecuteConnectionProxyRequest.d.ts +13 -0
  99. package/api/resources/connections/client/requests/ExecuteConnectionProxyRequest.js +3 -0
  100. package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +0 -3
  101. package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.js +1 -3
  102. package/api/resources/connections/client/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +12 -0
  103. package/api/resources/connections/client/requests/PartnerCreateSharedConnectionRequestSchema.js +3 -0
  104. package/api/resources/connections/client/requests/TestConnectionRequest.d.ts +0 -3
  105. package/api/resources/connections/client/requests/TestConnectionRequest.js +1 -3
  106. package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +0 -3
  107. package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.js +1 -3
  108. package/api/resources/connections/client/requests/index.d.ts +8 -7
  109. package/api/resources/connections/exports.d.ts +2 -0
  110. package/api/resources/connections/exports.js +21 -0
  111. package/api/resources/entities/client/Client.d.ts +124 -0
  112. package/api/resources/entities/client/Client.js +254 -0
  113. package/api/resources/entities/exports.d.ts +2 -0
  114. package/api/resources/entities/exports.js +21 -0
  115. package/api/resources/events/client/Client.d.ts +18 -32
  116. package/api/resources/events/client/Client.js +88 -124
  117. package/api/resources/events/client/requests/EventsListRequest.d.ts +9 -20
  118. package/api/resources/events/client/requests/EventsListRequest.js +1 -3
  119. package/api/resources/events/client/requests/index.d.ts +1 -1
  120. package/api/resources/events/exports.d.ts +2 -0
  121. package/api/resources/events/exports.js +21 -0
  122. package/api/resources/identity/client/Client.d.ts +11 -25
  123. package/api/resources/identity/client/Client.js +51 -59
  124. package/api/resources/identity/exports.d.ts +2 -0
  125. package/api/resources/identity/exports.js +21 -0
  126. package/api/resources/index.d.ts +15 -15
  127. package/api/resources/index.js +33 -23
  128. package/api/resources/jobs/client/Client.d.ts +13 -28
  129. package/api/resources/jobs/client/Client.js +53 -66
  130. package/api/resources/jobs/exports.d.ts +2 -0
  131. package/api/resources/jobs/exports.js +21 -0
  132. package/api/resources/modelSync/client/Client.d.ts +63 -69
  133. package/api/resources/modelSync/client/Client.js +364 -509
  134. package/api/resources/modelSync/client/requests/CreateSyncRequest.d.ts +45 -0
  135. package/api/resources/modelSync/client/requests/CreateSyncRequest.js +3 -0
  136. package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +2 -7
  137. package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.js +1 -3
  138. package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +2 -7
  139. package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.js +1 -3
  140. package/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +13 -6
  141. package/api/resources/modelSync/client/requests/ModelSyncListRequest.js +1 -3
  142. package/api/resources/modelSync/client/requests/StartSyncRequest.d.ts +9 -0
  143. package/api/resources/modelSync/client/requests/StartSyncRequest.js +3 -0
  144. package/api/resources/modelSync/client/requests/UpdateSyncRequest.d.ts +45 -0
  145. package/api/resources/modelSync/client/requests/UpdateSyncRequest.js +3 -0
  146. package/api/resources/modelSync/client/requests/index.d.ts +6 -6
  147. package/api/resources/modelSync/exports.d.ts +3 -0
  148. package/api/resources/modelSync/exports.js +22 -0
  149. package/api/resources/modelSync/resources/executions/client/Client.d.ts +58 -51
  150. package/api/resources/modelSync/resources/executions/client/Client.js +254 -242
  151. package/api/resources/modelSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.d.ts +13 -0
  152. package/api/resources/modelSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.js +3 -0
  153. package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +0 -3
  154. package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.js +1 -3
  155. package/api/resources/modelSync/resources/executions/client/requests/index.d.ts +2 -2
  156. package/api/resources/modelSync/resources/executions/exports.d.ts +2 -0
  157. package/api/resources/modelSync/resources/executions/exports.js +21 -0
  158. package/api/resources/modelSync/resources/index.d.ts +2 -2
  159. package/api/resources/modelSync/resources/index.js +20 -10
  160. package/api/resources/modelSync/resources/targets/client/Client.d.ts +17 -53
  161. package/api/resources/modelSync/resources/targets/client/Client.js +110 -233
  162. package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +2 -9
  163. package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.js +1 -3
  164. package/api/resources/modelSync/resources/targets/client/requests/index.d.ts +1 -2
  165. package/api/resources/modelSync/resources/targets/exports.d.ts +2 -0
  166. package/api/resources/modelSync/resources/targets/exports.js +21 -0
  167. package/api/resources/models/client/Client.d.ts +49 -54
  168. package/api/resources/models/client/Client.js +308 -399
  169. package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.d.ts +8 -0
  170. package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.js +3 -0
  171. package/api/resources/models/client/requests/ModelsCreateRequest.d.ts +2 -4
  172. package/api/resources/models/client/requests/ModelsCreateRequest.js +1 -3
  173. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +2 -7
  174. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +1 -3
  175. package/api/resources/models/client/requests/ModelsGetRequest.d.ts +3 -4
  176. package/api/resources/models/client/requests/ModelsGetRequest.js +1 -3
  177. package/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +2 -4
  178. package/api/resources/models/client/requests/ModelsPreviewRequest.js +1 -3
  179. package/api/resources/models/client/requests/ModelsRemoveRequest.d.ts +3 -4
  180. package/api/resources/models/client/requests/ModelsRemoveRequest.js +1 -3
  181. package/api/resources/models/client/requests/ModelsSampleRequest.d.ts +3 -4
  182. package/api/resources/models/client/requests/ModelsSampleRequest.js +1 -3
  183. package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -4
  184. package/api/resources/models/client/requests/UpdateModelRequest.js +1 -3
  185. package/api/resources/models/client/requests/index.d.ts +8 -8
  186. package/api/resources/models/exports.d.ts +2 -0
  187. package/api/resources/models/exports.js +21 -0
  188. package/api/resources/notifications/client/Client.d.ts +16 -29
  189. package/api/resources/notifications/client/Client.js +79 -98
  190. package/api/resources/notifications/client/requests/GlobalErrorSubscribersRequest.d.ts +8 -0
  191. package/api/resources/notifications/client/requests/GlobalErrorSubscribersRequest.js +3 -0
  192. package/api/resources/notifications/client/requests/index.d.ts +1 -1
  193. package/api/resources/notifications/exports.d.ts +2 -0
  194. package/api/resources/notifications/exports.js +21 -0
  195. package/api/resources/organization/client/Client.d.ts +67 -54
  196. package/api/resources/organization/client/Client.js +227 -224
  197. package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +0 -3
  198. package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.js +1 -3
  199. package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +0 -3
  200. package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.js +1 -3
  201. package/api/resources/organization/client/requests/index.d.ts +2 -2
  202. package/api/resources/organization/exports.d.ts +2 -0
  203. package/api/resources/organization/exports.js +21 -0
  204. package/api/resources/permissions/client/Client.d.ts +13 -30
  205. package/api/resources/permissions/client/Client.js +9 -10
  206. package/api/resources/permissions/exports.d.ts +3 -0
  207. package/api/resources/permissions/exports.js +22 -0
  208. package/api/resources/permissions/resources/index.d.ts +1 -1
  209. package/api/resources/permissions/resources/index.js +18 -8
  210. package/api/resources/permissions/resources/policies/client/Client.d.ts +24 -37
  211. package/api/resources/permissions/resources/policies/client/Client.js +145 -208
  212. package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -4
  213. package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.js +1 -3
  214. package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -4
  215. package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.js +1 -3
  216. package/api/resources/permissions/resources/policies/client/requests/index.d.ts +2 -2
  217. package/api/resources/permissions/resources/policies/exports.d.ts +2 -0
  218. package/api/resources/permissions/resources/policies/exports.js +21 -0
  219. package/api/resources/permissions/resources/roles/client/Client.d.ts +24 -37
  220. package/api/resources/permissions/resources/roles/client/Client.js +141 -207
  221. package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +0 -3
  222. package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.js +1 -3
  223. package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +0 -3
  224. package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.js +1 -3
  225. package/api/resources/permissions/resources/roles/client/requests/index.d.ts +2 -2
  226. package/api/resources/permissions/resources/roles/exports.d.ts +2 -0
  227. package/api/resources/permissions/resources/roles/exports.js +21 -0
  228. package/api/resources/queryRunner/client/Client.d.ts +20 -31
  229. package/api/resources/queryRunner/client/Client.js +96 -115
  230. package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +4 -7
  231. package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.js +1 -3
  232. package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +10 -0
  233. package/api/resources/queryRunner/client/requests/RunQueryRequest.js +3 -0
  234. package/api/resources/queryRunner/client/requests/index.d.ts +2 -2
  235. package/api/resources/queryRunner/exports.d.ts +2 -0
  236. package/api/resources/queryRunner/exports.js +21 -0
  237. package/api/resources/schemas/client/Client.d.ts +44 -57
  238. package/api/resources/schemas/client/Client.js +240 -340
  239. package/api/resources/schemas/client/requests/SetPrimaryKeysRequest.d.ts +1 -4
  240. package/api/resources/schemas/client/requests/SetPrimaryKeysRequest.js +1 -3
  241. package/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.d.ts +2 -5
  242. package/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.js +1 -3
  243. package/api/resources/schemas/client/requests/index.d.ts +2 -2
  244. package/api/resources/schemas/exports.d.ts +2 -0
  245. package/api/resources/schemas/exports.js +21 -0
  246. package/api/resources/users/client/Client.d.ts +135 -49
  247. package/api/resources/users/client/Client.js +499 -266
  248. package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +0 -3
  249. package/api/resources/users/client/requests/CreateUserRequestSchema.js +1 -3
  250. package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.d.ts +14 -0
  251. package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.js +3 -0
  252. package/api/resources/users/client/requests/CurrentOrgUpdateUserRequestSchema.d.ts +10 -0
  253. package/api/resources/users/client/requests/CurrentOrgUpdateUserRequestSchema.js +3 -0
  254. package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +0 -3
  255. package/api/resources/users/client/requests/UpdateUserRequestSchema.js +1 -3
  256. package/api/resources/users/client/requests/UsersCreateApiKeyRequest.d.ts +1 -6
  257. package/api/resources/users/client/requests/UsersCreateApiKeyRequest.js +1 -3
  258. package/api/resources/users/client/requests/index.d.ts +5 -3
  259. package/api/resources/users/exports.d.ts +2 -0
  260. package/api/resources/users/exports.js +21 -0
  261. package/api/resources/webhooks/client/Client.d.ts +30 -39
  262. package/api/resources/webhooks/client/Client.js +184 -266
  263. package/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +0 -3
  264. package/api/resources/webhooks/client/requests/CreateWebhooksSchema.js +1 -3
  265. package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +0 -3
  266. package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.js +1 -3
  267. package/api/resources/webhooks/client/requests/index.d.ts +2 -2
  268. package/api/resources/webhooks/exports.d.ts +2 -0
  269. package/api/resources/webhooks/exports.js +21 -0
  270. package/api/types/ActivateSyncEnvelope.d.ts +2 -5
  271. package/api/types/ActivateSyncEnvelope.js +1 -3
  272. package/api/types/ActivateSyncInput.d.ts +0 -3
  273. package/api/types/ActivateSyncInput.js +1 -3
  274. package/api/types/ActivateSyncOutput.d.ts +2 -5
  275. package/api/types/ActivateSyncOutput.js +1 -3
  276. package/api/types/ApiError.d.ts +4 -7
  277. package/api/types/ApiError.js +1 -3
  278. package/api/types/ApiKeyResponse.d.ts +1 -4
  279. package/api/types/ApiKeyResponse.js +1 -3
  280. package/api/types/ApiKeyResponseEnvelope.d.ts +2 -5
  281. package/api/types/ApiKeyResponseEnvelope.js +1 -3
  282. package/api/types/BackendConnectionCapabilities.d.ts +0 -3
  283. package/api/types/BackendConnectionCapabilities.js +1 -3
  284. package/api/types/BackendOAuthPrompt.d.ts +3 -6
  285. package/api/types/BackendOAuthPrompt.js +1 -3
  286. package/api/types/BulkBulkSyncSchedule.d.ts +17 -20
  287. package/api/types/BulkBulkSyncSchedule.js +1 -3
  288. package/api/types/BulkDiscover.d.ts +1 -4
  289. package/api/types/BulkDiscover.js +1 -3
  290. package/api/types/BulkExecutionStatus.d.ts +1 -4
  291. package/api/types/BulkExecutionStatus.js +1 -3
  292. package/api/types/BulkFetchMode.d.ts +2 -7
  293. package/api/types/BulkFetchMode.js +2 -3
  294. package/api/types/BulkField.d.ts +5 -8
  295. package/api/types/BulkField.js +1 -3
  296. package/api/types/BulkFilter.d.ts +3 -6
  297. package/api/types/BulkFilter.js +1 -3
  298. package/api/types/BulkNormalizeNames.d.ts +1 -4
  299. package/api/types/BulkNormalizeNames.js +1 -3
  300. package/api/types/BulkOutputDisposition.d.ts +1 -4
  301. package/api/types/BulkOutputDisposition.js +1 -3
  302. package/api/types/BulkResyncMode.d.ts +1 -4
  303. package/api/types/BulkResyncMode.js +1 -3
  304. package/api/types/BulkScheduleSyncMode.d.ts +1 -4
  305. package/api/types/BulkScheduleSyncMode.js +1 -3
  306. package/api/types/BulkSchema.d.ts +11 -14
  307. package/api/types/BulkSchema.js +1 -3
  308. package/api/types/BulkSchemaEnvelope.d.ts +2 -5
  309. package/api/types/BulkSchemaEnvelope.js +1 -3
  310. package/api/types/BulkSchemaExecutionStatus.d.ts +1 -4
  311. package/api/types/BulkSchemaExecutionStatus.js +1 -3
  312. package/api/types/BulkSchemaListItem.d.ts +18 -0
  313. package/api/types/BulkSchemaListItem.js +3 -0
  314. package/api/types/BulkSelectiveMode.d.ts +1 -4
  315. package/api/types/BulkSelectiveMode.js +1 -3
  316. package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +19 -0
  317. package/api/types/BulkSyncAdditionalScheduleRequest.js +3 -0
  318. package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +26 -0
  319. package/api/types/BulkSyncAdditionalScheduleResponse.js +3 -0
  320. package/api/types/BulkSyncDefaultScheduleRequest.d.ts +15 -0
  321. package/api/types/BulkSyncDefaultScheduleRequest.js +3 -0
  322. package/api/types/BulkSyncDefaultScheduleResponse.d.ts +22 -0
  323. package/api/types/BulkSyncDefaultScheduleResponse.js +3 -0
  324. package/api/types/BulkSyncDest.d.ts +4 -7
  325. package/api/types/BulkSyncDest.js +1 -3
  326. package/api/types/BulkSyncDestEnvelope.d.ts +2 -5
  327. package/api/types/BulkSyncDestEnvelope.js +1 -3
  328. package/api/types/BulkSyncExecution.d.ts +18 -21
  329. package/api/types/BulkSyncExecution.js +1 -3
  330. package/api/types/BulkSyncExecutionEnvelope.d.ts +2 -5
  331. package/api/types/BulkSyncExecutionEnvelope.js +1 -3
  332. package/api/types/BulkSyncExecutionLogs.d.ts +6 -0
  333. package/api/types/BulkSyncExecutionLogs.js +3 -0
  334. package/api/types/BulkSyncExecutionLogsEnvelope.d.ts +4 -0
  335. package/api/types/BulkSyncExecutionLogsEnvelope.js +3 -0
  336. package/api/types/BulkSyncExecutionStatus.d.ts +5 -8
  337. package/api/types/BulkSyncExecutionStatus.js +1 -3
  338. package/api/types/BulkSyncIngestionStatus.d.ts +9 -12
  339. package/api/types/BulkSyncIngestionStatus.js +1 -3
  340. package/api/types/BulkSyncListEnvelope.d.ts +2 -5
  341. package/api/types/BulkSyncListEnvelope.js +1 -3
  342. package/api/types/BulkSyncResponse.d.ts +35 -29
  343. package/api/types/BulkSyncResponse.js +1 -3
  344. package/api/types/BulkSyncResponseEnvelope.d.ts +2 -5
  345. package/api/types/BulkSyncResponseEnvelope.js +1 -3
  346. package/api/types/BulkSyncScheduleApi.d.ts +15 -0
  347. package/api/types/BulkSyncScheduleApi.js +3 -0
  348. package/api/types/BulkSyncSchemaExecution.d.ts +12 -15
  349. package/api/types/BulkSyncSchemaExecution.js +1 -3
  350. package/api/types/BulkSyncSchemaExecutionStatus.d.ts +10 -13
  351. package/api/types/BulkSyncSchemaExecutionStatus.js +1 -3
  352. package/api/types/BulkSyncSource.d.ts +4 -7
  353. package/api/types/BulkSyncSource.js +1 -3
  354. package/api/types/BulkSyncSourceCapabilities.d.ts +3 -0
  355. package/api/types/BulkSyncSourceCapabilities.js +3 -0
  356. package/api/types/BulkSyncSourceEnvelope.d.ts +2 -5
  357. package/api/types/BulkSyncSourceEnvelope.js +1 -3
  358. package/api/types/BulkSyncSourceSchemaEnvelope.d.ts +2 -5
  359. package/api/types/BulkSyncSourceSchemaEnvelope.js +1 -3
  360. package/api/types/BulkSyncSourceStatus.d.ts +3 -6
  361. package/api/types/BulkSyncSourceStatus.js +1 -3
  362. package/api/types/BulkSyncSourceStatusEnvelope.d.ts +2 -5
  363. package/api/types/BulkSyncSourceStatusEnvelope.js +1 -3
  364. package/api/types/BulkSyncStatusEnvelope.d.ts +2 -5
  365. package/api/types/BulkSyncStatusEnvelope.js +1 -3
  366. package/api/types/BulkSyncStatusResponse.d.ts +5 -8
  367. package/api/types/BulkSyncStatusResponse.js +1 -3
  368. package/api/types/BulkSyncTargetMode.d.ts +5 -0
  369. package/api/types/BulkSyncTargetMode.js +8 -0
  370. package/api/types/CancelBulkSyncResponse.d.ts +1 -4
  371. package/api/types/CancelBulkSyncResponse.js +1 -3
  372. package/api/types/CancelBulkSyncResponseEnvelope.d.ts +2 -5
  373. package/api/types/CancelBulkSyncResponseEnvelope.js +1 -3
  374. package/api/types/CancelSyncExecutionResponse.d.ts +3 -0
  375. package/api/types/CancelSyncExecutionResponse.js +3 -0
  376. package/api/types/CancelSyncExecutionResponseEnvelope.d.ts +4 -0
  377. package/api/types/CancelSyncExecutionResponseEnvelope.js +3 -0
  378. package/api/types/CancelSyncResponse.d.ts +3 -0
  379. package/api/types/CancelSyncResponse.js +3 -0
  380. package/api/types/CancelSyncResponseEnvelope.d.ts +4 -0
  381. package/api/types/CancelSyncResponseEnvelope.js +3 -0
  382. package/api/types/ConfigurationValue.d.ts +2 -5
  383. package/api/types/ConfigurationValue.js +1 -3
  384. package/api/types/ConnectCardResponse.d.ts +2 -5
  385. package/api/types/ConnectCardResponse.js +1 -3
  386. package/api/types/ConnectCardResponseEnvelope.d.ts +2 -5
  387. package/api/types/ConnectCardResponseEnvelope.js +1 -3
  388. package/api/types/ConnectionForm.d.ts +4 -0
  389. package/api/types/ConnectionForm.js +3 -0
  390. package/api/types/ConnectionListResponseEnvelope.d.ts +2 -5
  391. package/api/types/ConnectionListResponseEnvelope.js +1 -3
  392. package/api/types/ConnectionParameterValue.d.ts +2 -5
  393. package/api/types/ConnectionParameterValue.js +1 -3
  394. package/api/types/ConnectionParameterValuesResp.d.ts +3 -6
  395. package/api/types/ConnectionParameterValuesResp.js +1 -3
  396. package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +2 -5
  397. package/api/types/ConnectionParameterValuesResponseEnvelope.js +1 -3
  398. package/api/types/ConnectionProxyCall.d.ts +14 -0
  399. package/api/types/ConnectionProxyCall.js +3 -0
  400. package/api/types/ConnectionProxyContract.d.ts +26 -0
  401. package/api/types/ConnectionProxyContract.js +3 -0
  402. package/api/types/ConnectionProxyInfoResponse.d.ts +11 -0
  403. package/api/types/ConnectionProxyInfoResponse.js +3 -0
  404. package/api/types/ConnectionProxyInheritedBase.d.ts +9 -0
  405. package/api/types/ConnectionProxyInheritedBase.js +3 -0
  406. package/api/types/ConnectionProxyLockedHeader.d.ts +8 -0
  407. package/api/types/ConnectionProxyLockedHeader.js +3 -0
  408. package/api/types/ConnectionProxyMergeRules.d.ts +6 -0
  409. package/api/types/ConnectionProxyMergeRules.js +3 -0
  410. package/api/types/ConnectionProxyResponse.d.ts +16 -0
  411. package/api/types/ConnectionProxyResponse.js +3 -0
  412. package/api/types/ConnectionProxyStats.d.ts +14 -0
  413. package/api/types/ConnectionProxyStats.js +3 -0
  414. package/api/types/ConnectionResponseEnvelope.d.ts +2 -5
  415. package/api/types/ConnectionResponseEnvelope.js +1 -3
  416. package/api/types/ConnectionResponseSchema.d.ts +16 -19
  417. package/api/types/ConnectionResponseSchema.js +1 -3
  418. package/api/types/ConnectionType.d.ts +9 -12
  419. package/api/types/ConnectionType.js +1 -3
  420. package/api/types/ConnectionTypeResponseEnvelope.d.ts +2 -5
  421. package/api/types/ConnectionTypeResponseEnvelope.js +1 -3
  422. package/api/types/ConnectionTypeSchema.d.ts +4 -7
  423. package/api/types/ConnectionTypeSchema.js +1 -3
  424. package/api/types/CreateConnectionResponseEnvelope.d.ts +2 -5
  425. package/api/types/CreateConnectionResponseEnvelope.js +1 -3
  426. package/api/types/CreateConnectionResponseSchema.d.ts +13 -16
  427. package/api/types/CreateConnectionResponseSchema.js +1 -3
  428. package/api/types/CreateModelRequest.d.ts +10 -13
  429. package/api/types/CreateModelRequest.js +1 -3
  430. package/api/types/CreateSharedConnectionResponseEnvelope.d.ts +4 -0
  431. package/api/types/CreateSharedConnectionResponseEnvelope.js +3 -0
  432. package/api/types/CreateSharedConnectionResponseSchema.d.ts +1 -4
  433. package/api/types/CreateSharedConnectionResponseSchema.js +1 -3
  434. package/api/types/EnricherConfiguration.d.ts +4 -0
  435. package/api/types/EnricherConfiguration.js +3 -0
  436. package/api/types/EnricherMapping.d.ts +4 -0
  437. package/api/types/EnricherMapping.js +3 -0
  438. package/api/types/Enrichment.d.ts +6 -9
  439. package/api/types/Enrichment.js +1 -3
  440. package/api/types/EntityRelationship.d.ts +6 -0
  441. package/api/types/EntityRelationship.js +3 -0
  442. package/api/types/EntityResponse.d.ts +15 -0
  443. package/api/types/EntityResponse.js +3 -0
  444. package/api/types/EntityResponseEnvelope.d.ts +4 -0
  445. package/api/types/EntityResponseEnvelope.js +3 -0
  446. package/api/types/Event.d.ts +6 -9
  447. package/api/types/Event.js +1 -3
  448. package/api/types/EventPayload.d.ts +2 -0
  449. package/api/types/EventPayload.js +3 -0
  450. package/api/types/EventTypesEnvelope.d.ts +1 -4
  451. package/api/types/EventTypesEnvelope.js +1 -3
  452. package/api/types/EventingBulkSyncCanceledEvent.d.ts +8 -0
  453. package/api/types/EventingBulkSyncCanceledEvent.js +3 -0
  454. package/api/types/EventingBulkSyncCompletedEvent.d.ts +9 -0
  455. package/api/types/EventingBulkSyncCompletedEvent.js +3 -0
  456. package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +9 -0
  457. package/api/types/EventingBulkSyncCompletedWithErrorEvent.js +3 -0
  458. package/api/types/EventingBulkSyncFailedEvent.d.ts +10 -0
  459. package/api/types/EventingBulkSyncFailedEvent.js +3 -0
  460. package/api/types/EventingBulkSyncRunningEvent.d.ts +8 -0
  461. package/api/types/EventingBulkSyncRunningEvent.js +3 -0
  462. package/api/types/EventingSyncCanceledEvent.d.ts +9 -0
  463. package/api/types/EventingSyncCanceledEvent.js +3 -0
  464. package/api/types/EventingSyncCompletedEvent.d.ts +22 -0
  465. package/api/types/EventingSyncCompletedEvent.js +3 -0
  466. package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +10 -0
  467. package/api/types/EventingSyncCompletedWithErrorsEvent.js +3 -0
  468. package/api/types/EventingSyncFailedEvent.d.ts +8 -0
  469. package/api/types/EventingSyncFailedEvent.js +3 -0
  470. package/api/types/EventingSyncRunningEvent.d.ts +7 -0
  471. package/api/types/EventingSyncRunningEvent.js +3 -0
  472. package/api/types/EventsEnvelope.d.ts +2 -5
  473. package/api/types/EventsEnvelope.js +1 -3
  474. package/api/types/ExecuteConnectionProxyEnvelope.d.ts +4 -0
  475. package/api/types/ExecuteConnectionProxyEnvelope.js +3 -0
  476. package/api/types/ExecutionConsoleLogEntry.d.ts +7 -0
  477. package/api/types/ExecutionConsoleLogEntry.js +3 -0
  478. package/api/types/ExecutionConsoleLogsResponse.d.ts +5 -0
  479. package/api/types/ExecutionConsoleLogsResponse.js +3 -0
  480. package/api/types/ExecutionConsoleLogsResponseEnvelope.d.ts +4 -0
  481. package/api/types/ExecutionConsoleLogsResponseEnvelope.js +3 -0
  482. package/api/types/ExecutionCounts.d.ts +7 -10
  483. package/api/types/ExecutionCounts.js +1 -3
  484. package/api/types/ExecutionLogResponse.d.ts +2 -5
  485. package/api/types/ExecutionLogResponse.js +1 -3
  486. package/api/types/ExecutionLogType.d.ts +9 -0
  487. package/api/types/ExecutionLogType.js +12 -0
  488. package/api/types/ExecutionLogsResponseEnvelope.d.ts +2 -5
  489. package/api/types/ExecutionLogsResponseEnvelope.js +1 -3
  490. package/api/types/ExportSyncLogsEnvelope.d.ts +5 -0
  491. package/api/types/ExportSyncLogsEnvelope.js +3 -0
  492. package/api/types/ExportSyncLogsResponse.d.ts +4 -0
  493. package/api/types/ExportSyncLogsResponse.js +3 -0
  494. package/api/types/FieldConfiguration.d.ts +3 -6
  495. package/api/types/FieldConfiguration.js +1 -3
  496. package/api/types/Filter.d.ts +6 -9
  497. package/api/types/Filter.js +1 -3
  498. package/api/types/FilterFieldReferenceType.d.ts +1 -4
  499. package/api/types/FilterFieldReferenceType.js +1 -3
  500. package/api/types/FilterFunction.d.ts +1 -4
  501. package/api/types/FilterFunction.js +1 -3
  502. package/api/types/GetConnectionProxyInfoEnvelope.d.ts +4 -0
  503. package/api/types/GetConnectionProxyInfoEnvelope.js +3 -0
  504. package/api/types/GetEnrichmentInputFieldsResponseEnvelope.d.ts +3 -0
  505. package/api/types/GetEnrichmentInputFieldsResponseEnvelope.js +3 -0
  506. package/api/types/GetExecutionResponseEnvelope.d.ts +2 -5
  507. package/api/types/GetExecutionResponseEnvelope.js +1 -3
  508. package/api/types/GetExecutionResponseSchema.d.ts +9 -12
  509. package/api/types/GetExecutionResponseSchema.js +1 -3
  510. package/api/types/GetIdentityResponseEnvelope.d.ts +2 -5
  511. package/api/types/GetIdentityResponseEnvelope.js +1 -3
  512. package/api/types/GetIdentityResponseSchema.d.ts +9 -12
  513. package/api/types/GetIdentityResponseSchema.js +1 -3
  514. package/api/types/GetSyncSourceMetaEnvelope.d.ts +4 -0
  515. package/api/types/GetSyncSourceMetaEnvelope.js +3 -0
  516. package/api/types/GlobalErrorSubscribersResponse.d.ts +4 -0
  517. package/api/types/GlobalErrorSubscribersResponse.js +3 -0
  518. package/api/types/Identity.d.ts +3 -6
  519. package/api/types/Identity.js +1 -3
  520. package/api/types/IdentityFunction.d.ts +2 -5
  521. package/api/types/IdentityFunction.js +1 -3
  522. package/api/types/IngestionStatusLevel.d.ts +2 -7
  523. package/api/types/IngestionStatusLevel.js +2 -3
  524. package/api/types/JobResponse.d.ts +7 -9
  525. package/api/types/JobResponse.js +1 -3
  526. package/api/types/JobResponseEnvelope.d.ts +2 -5
  527. package/api/types/JobResponseEnvelope.js +1 -3
  528. package/api/types/JsonschemaDefinitions.d.ts +2 -5
  529. package/api/types/JsonschemaDefinitions.js +1 -3
  530. package/api/types/JsonschemaForm.d.ts +1 -4
  531. package/api/types/JsonschemaForm.js +1 -3
  532. package/api/types/JsonschemaSchema.d.ts +54 -57
  533. package/api/types/JsonschemaSchema.js +1 -3
  534. package/api/types/LabelLabel.d.ts +1 -4
  535. package/api/types/LabelLabel.js +1 -3
  536. package/api/types/ListBulkSchemaEnvelope.d.ts +4 -0
  537. package/api/types/ListBulkSchemaEnvelope.js +3 -0
  538. package/api/types/ListBulkSyncExecutionsEnvelope.d.ts +3 -6
  539. package/api/types/ListBulkSyncExecutionsEnvelope.js +1 -3
  540. package/api/types/ListBulkSyncExecutionsStatusEnvelope.d.ts +4 -0
  541. package/api/types/ListBulkSyncExecutionsStatusEnvelope.js +3 -0
  542. package/api/types/ListExecutionResponseEnvelope.d.ts +3 -6
  543. package/api/types/ListExecutionResponseEnvelope.js +1 -3
  544. package/api/types/ListPoliciesResponseEnvelope.d.ts +2 -5
  545. package/api/types/ListPoliciesResponseEnvelope.js +1 -3
  546. package/api/types/ListSyncItem.d.ts +32 -0
  547. package/api/types/ListSyncItem.js +3 -0
  548. package/api/types/ListSyncResponseEnvelope.d.ts +5 -0
  549. package/api/types/ListSyncResponseEnvelope.js +3 -0
  550. package/api/types/ListUsersEnvelope.d.ts +2 -5
  551. package/api/types/ListUsersEnvelope.js +1 -3
  552. package/api/types/Mode.d.ts +6 -9
  553. package/api/types/Mode.js +1 -3
  554. package/api/types/ModelField.d.ts +13 -16
  555. package/api/types/ModelField.js +1 -3
  556. package/api/types/ModelFieldResponse.d.ts +2 -5
  557. package/api/types/ModelFieldResponse.js +1 -3
  558. package/api/types/ModelListResponseEnvelope.d.ts +2 -5
  559. package/api/types/ModelListResponseEnvelope.js +1 -3
  560. package/api/types/ModelModelFieldRequest.d.ts +1 -4
  561. package/api/types/ModelModelFieldRequest.js +1 -3
  562. package/api/types/ModelRelation.d.ts +3 -6
  563. package/api/types/ModelRelation.js +1 -3
  564. package/api/types/ModelRelationTo.d.ts +2 -5
  565. package/api/types/ModelRelationTo.js +1 -3
  566. package/api/types/ModelResponse.d.ts +19 -22
  567. package/api/types/ModelResponse.js +1 -3
  568. package/api/types/ModelResponseEnvelope.d.ts +3 -6
  569. package/api/types/ModelResponseEnvelope.js +1 -3
  570. package/api/types/ModelSample.d.ts +3 -6
  571. package/api/types/ModelSample.js +1 -3
  572. package/api/types/ModelSampleResponseEnvelope.d.ts +3 -6
  573. package/api/types/ModelSampleResponseEnvelope.js +1 -3
  574. package/api/types/ModelsyncSyncTargetMode.d.ts +10 -0
  575. package/api/types/ModelsyncSyncTargetMode.js +13 -0
  576. package/api/types/OrderedMapStringGithubComInvopopJsonschemaSchema.d.ts +1 -0
  577. package/api/types/OrderedMapStringGithubComInvopopJsonschemaSchema.js +3 -0
  578. package/api/types/Organization.d.ts +5 -8
  579. package/api/types/Organization.js +1 -3
  580. package/api/types/OrganizationEnvelope.d.ts +2 -5
  581. package/api/types/OrganizationEnvelope.js +1 -3
  582. package/api/types/OrganizationsEnvelope.d.ts +2 -5
  583. package/api/types/OrganizationsEnvelope.js +1 -3
  584. package/api/types/OutputActor.d.ts +3 -6
  585. package/api/types/OutputActor.js +1 -3
  586. package/api/types/Override.d.ts +6 -9
  587. package/api/types/Override.js +1 -3
  588. package/api/types/PaginationDetails.d.ts +1 -4
  589. package/api/types/PaginationDetails.js +1 -3
  590. package/api/types/PickValue.d.ts +2 -5
  591. package/api/types/PickValue.js +1 -3
  592. package/api/types/PolicyAction.d.ts +1 -4
  593. package/api/types/PolicyAction.js +1 -3
  594. package/api/types/PolicyResponse.d.ts +6 -9
  595. package/api/types/PolicyResponse.js +1 -3
  596. package/api/types/PolicyResponseEnvelope.d.ts +2 -5
  597. package/api/types/PolicyResponseEnvelope.js +1 -3
  598. package/api/types/QueryResultsEnvelope.d.ts +5 -0
  599. package/api/types/QueryResultsEnvelope.js +3 -0
  600. package/api/types/Relation.d.ts +3 -6
  601. package/api/types/Relation.js +1 -3
  602. package/api/types/RelationTo.d.ts +2 -5
  603. package/api/types/RelationTo.js +1 -3
  604. package/api/types/RoleListResponseEnvelope.d.ts +2 -5
  605. package/api/types/RoleListResponseEnvelope.js +1 -3
  606. package/api/types/RoleResponse.d.ts +4 -7
  607. package/api/types/RoleResponse.js +1 -3
  608. package/api/types/RoleResponseEnvelope.d.ts +2 -5
  609. package/api/types/RoleResponseEnvelope.js +1 -3
  610. package/api/types/RunAfter.d.ts +2 -5
  611. package/api/types/RunAfter.js +1 -3
  612. package/api/types/RunQueryEnvelope.d.ts +4 -0
  613. package/api/types/RunQueryEnvelope.js +3 -0
  614. package/api/types/RunQueryPagination.d.ts +6 -0
  615. package/api/types/RunQueryPagination.js +3 -0
  616. package/api/types/RunQueryResult.d.ts +16 -0
  617. package/api/types/RunQueryResult.js +3 -0
  618. package/api/types/SampleRecord.d.ts +4 -0
  619. package/api/types/SampleRecord.js +3 -0
  620. package/api/types/Schedule.d.ts +11 -14
  621. package/api/types/Schedule.js +1 -3
  622. package/api/types/ScheduleEnvelope.d.ts +2 -5
  623. package/api/types/ScheduleEnvelope.js +1 -3
  624. package/api/types/ScheduleFrequency.d.ts +1 -4
  625. package/api/types/ScheduleFrequency.js +1 -3
  626. package/api/types/ScheduleOptionResponse.d.ts +2 -5
  627. package/api/types/ScheduleOptionResponse.js +1 -3
  628. package/api/types/ScheduleOptionResponseEnvelope.d.ts +2 -5
  629. package/api/types/ScheduleOptionResponseEnvelope.js +1 -3
  630. package/api/types/ScheduleScheduleOption.d.ts +5 -8
  631. package/api/types/ScheduleScheduleOption.js +1 -3
  632. package/api/types/SchedulesEnvelope.d.ts +2 -5
  633. package/api/types/SchedulesEnvelope.js +1 -3
  634. package/api/types/Schema.d.ts +4 -7
  635. package/api/types/Schema.js +1 -3
  636. package/api/types/SchemaAssociation.d.ts +4 -7
  637. package/api/types/SchemaAssociation.js +1 -3
  638. package/api/types/SchemaConfiguration.d.ts +15 -12
  639. package/api/types/SchemaConfiguration.js +1 -3
  640. package/api/types/SchemaField.d.ts +8 -11
  641. package/api/types/SchemaField.js +1 -3
  642. package/api/types/SchemaIdentityFunction.d.ts +1 -4
  643. package/api/types/SchemaIdentityFunction.js +1 -3
  644. package/api/types/SchemaPrimaryKeyOverrideInput.d.ts +0 -3
  645. package/api/types/SchemaPrimaryKeyOverrideInput.js +1 -3
  646. package/api/types/SchemaRecordsResponseEnvelope.d.ts +1 -4
  647. package/api/types/SchemaRecordsResponseEnvelope.js +1 -3
  648. package/api/types/Source.d.ts +0 -3
  649. package/api/types/Source.js +1 -3
  650. package/api/types/SourceMeta.d.ts +3 -6
  651. package/api/types/SourceMeta.js +1 -3
  652. package/api/types/StartSyncResponseEnvelope.d.ts +4 -0
  653. package/api/types/StartSyncResponseEnvelope.js +3 -0
  654. package/api/types/StartSyncResponseSchema.d.ts +7 -0
  655. package/api/types/StartSyncResponseSchema.js +3 -0
  656. package/api/types/SupportedBulkMode.d.ts +7 -10
  657. package/api/types/SupportedBulkMode.js +1 -3
  658. package/api/types/SupportedMode.d.ts +5 -8
  659. package/api/types/SupportedMode.js +1 -3
  660. package/api/types/SyncDestinationProperties.d.ts +13 -16
  661. package/api/types/SyncDestinationProperties.js +1 -3
  662. package/api/types/SyncField.d.ts +14 -0
  663. package/api/types/SyncField.js +3 -0
  664. package/api/types/SyncResponse.d.ts +27 -0
  665. package/api/types/SyncResponse.js +3 -0
  666. package/api/types/SyncResponseEnvelope.d.ts +4 -0
  667. package/api/types/SyncResponseEnvelope.js +3 -0
  668. package/api/types/SyncSourceMetaResponse.d.ts +9 -0
  669. package/api/types/SyncSourceMetaResponse.js +3 -0
  670. package/api/types/SyncStatusEnvelope.d.ts +2 -5
  671. package/api/types/SyncStatusEnvelope.js +1 -3
  672. package/api/types/SyncStatusResponse.d.ts +4 -7
  673. package/api/types/SyncStatusResponse.js +1 -3
  674. package/api/types/Target.d.ts +6 -9
  675. package/api/types/Target.js +1 -3
  676. package/api/types/TargetCreateInput.d.ts +3 -6
  677. package/api/types/TargetCreateInput.js +1 -3
  678. package/api/types/TargetCreator.d.ts +7 -0
  679. package/api/types/TargetCreator.js +3 -0
  680. package/api/types/TargetField.d.ts +14 -17
  681. package/api/types/TargetField.js +1 -3
  682. package/api/types/TargetObject.d.ts +4 -7
  683. package/api/types/TargetObject.js +1 -3
  684. package/api/types/TargetObjectsResponseEnvelope.d.ts +5 -0
  685. package/api/types/TargetObjectsResponseEnvelope.js +3 -0
  686. package/api/types/TargetPropertyValues.d.ts +11 -0
  687. package/api/types/TargetPropertyValues.js +3 -0
  688. package/api/types/TargetPropertyValuesEnvelope.d.ts +4 -0
  689. package/api/types/TargetPropertyValuesEnvelope.js +3 -0
  690. package/api/types/TargetResponse.d.ts +7 -10
  691. package/api/types/TargetResponse.js +1 -3
  692. package/api/types/TargetResponseEnvelope.d.ts +2 -5
  693. package/api/types/TargetResponseEnvelope.js +1 -3
  694. package/api/types/TypesType.d.ts +1 -4
  695. package/api/types/TypesType.js +1 -3
  696. package/api/types/UpdateBulkField.d.ts +4 -7
  697. package/api/types/UpdateBulkField.js +1 -3
  698. package/api/types/UpdateBulkSyncSchemasEnvelope.d.ts +4 -0
  699. package/api/types/UpdateBulkSyncSchemasEnvelope.js +3 -0
  700. package/api/types/User.d.ts +5 -8
  701. package/api/types/User.js +1 -3
  702. package/api/types/UserEnvelope.d.ts +2 -5
  703. package/api/types/UserEnvelope.js +1 -3
  704. package/api/types/UserFieldRequest.d.ts +12 -0
  705. package/api/types/UserFieldRequest.js +3 -0
  706. package/api/types/UtilEnumValue.d.ts +2 -5
  707. package/api/types/UtilEnumValue.js +1 -3
  708. package/api/types/UtilExecutionStatus.d.ts +14 -0
  709. package/api/types/UtilExecutionStatus.js +17 -0
  710. package/api/types/UtilFieldType.d.ts +1 -4
  711. package/api/types/UtilFieldType.js +1 -3
  712. package/api/types/Webhook.d.ts +6 -9
  713. package/api/types/Webhook.js +1 -3
  714. package/api/types/WebhookEnvelope.d.ts +2 -5
  715. package/api/types/WebhookEnvelope.js +1 -3
  716. package/api/types/WebhookListEnvelope.d.ts +2 -5
  717. package/api/types/WebhookListEnvelope.js +1 -3
  718. package/api/types/WorkTaskStatus.d.ts +1 -4
  719. package/api/types/WorkTaskStatus.js +1 -3
  720. package/api/types/index.d.ts +136 -119
  721. package/api/types/index.js +136 -119
  722. package/auth/BearerAuthProvider.d.ts +20 -0
  723. package/auth/BearerAuthProvider.js +79 -0
  724. package/auth/index.d.ts +1 -0
  725. package/auth/index.js +5 -0
  726. package/core/auth/AuthProvider.d.ts +7 -0
  727. package/core/auth/AuthRequest.d.ts +9 -0
  728. package/core/auth/BasicAuth.d.ts +2 -2
  729. package/core/auth/BasicAuth.js +11 -4
  730. package/core/auth/BearerToken.d.ts +4 -2
  731. package/core/auth/BearerToken.js +7 -6
  732. package/core/auth/NoOpAuthProvider.d.ts +5 -0
  733. package/core/auth/NoOpAuthProvider.js +9 -0
  734. package/core/auth/index.d.ts +3 -0
  735. package/core/auth/index.js +3 -1
  736. package/core/base64.d.ts +2 -0
  737. package/core/base64.js +26 -0
  738. package/core/exports.d.ts +1 -0
  739. package/core/exports.js +17 -0
  740. package/core/fetcher/APIResponse.d.ts +11 -1
  741. package/core/fetcher/BinaryResponse.d.ts +19 -0
  742. package/core/fetcher/BinaryResponse.js +17 -0
  743. package/core/fetcher/EndpointMetadata.d.ts +13 -0
  744. package/core/fetcher/EndpointSupplier.d.ts +12 -0
  745. package/core/fetcher/EndpointSupplier.js +22 -0
  746. package/core/fetcher/Fetcher.d.ts +26 -6
  747. package/core/fetcher/Fetcher.js +251 -193
  748. package/core/fetcher/Headers.d.ts +2 -0
  749. package/core/fetcher/Headers.js +84 -0
  750. package/core/fetcher/HttpResponsePromise.d.ts +58 -0
  751. package/core/fetcher/HttpResponsePromise.js +103 -0
  752. package/core/fetcher/RawResponse.d.ts +29 -0
  753. package/core/fetcher/RawResponse.js +44 -0
  754. package/core/fetcher/Supplier.d.ts +1 -1
  755. package/core/fetcher/createRequestUrl.d.ts +1 -0
  756. package/core/fetcher/createRequestUrl.js +8 -0
  757. package/core/fetcher/getErrorResponseBody.d.ts +1 -0
  758. package/core/fetcher/getErrorResponseBody.js +45 -0
  759. package/core/fetcher/getFetchFn.d.ts +1 -0
  760. package/core/fetcher/getFetchFn.js +17 -0
  761. package/core/fetcher/getHeader.js +1 -2
  762. package/core/fetcher/getRequestBody.d.ts +7 -0
  763. package/core/fetcher/getRequestBody.js +27 -0
  764. package/core/fetcher/getResponseBody.d.ts +1 -0
  765. package/core/fetcher/getResponseBody.js +69 -0
  766. package/core/fetcher/index.d.ts +9 -1
  767. package/core/fetcher/index.js +11 -1
  768. package/core/fetcher/makePassthroughRequest.d.ts +49 -0
  769. package/core/fetcher/makePassthroughRequest.js +135 -0
  770. package/core/fetcher/makeRequest.d.ts +6 -0
  771. package/core/fetcher/makeRequest.js +61 -0
  772. package/core/fetcher/requestWithRetries.d.ts +1 -0
  773. package/core/fetcher/requestWithRetries.js +67 -0
  774. package/core/fetcher/signals.d.ts +5 -0
  775. package/core/fetcher/signals.js +24 -0
  776. package/core/headers.d.ts +2 -0
  777. package/core/headers.js +31 -0
  778. package/core/index.d.ts +4 -1
  779. package/core/index.js +27 -1
  780. package/core/json.d.ts +15 -0
  781. package/core/json.js +24 -0
  782. package/core/logging/exports.d.ts +18 -0
  783. package/core/logging/exports.js +45 -0
  784. package/core/logging/index.d.ts +1 -0
  785. package/core/logging/index.js +17 -0
  786. package/core/logging/logger.d.ts +126 -0
  787. package/core/logging/logger.js +144 -0
  788. package/core/runtime/runtime.d.ts +2 -1
  789. package/core/runtime/runtime.js +58 -46
  790. package/core/url/QueryStringBuilder.d.ts +47 -0
  791. package/core/url/QueryStringBuilder.js +83 -0
  792. package/core/url/encodePathParam.d.ts +1 -0
  793. package/core/url/encodePathParam.js +21 -0
  794. package/core/url/index.d.ts +4 -0
  795. package/core/url/index.js +11 -0
  796. package/core/url/join.d.ts +1 -0
  797. package/core/url/join.js +68 -0
  798. package/core/url/qs.d.ts +7 -0
  799. package/core/url/qs.js +76 -0
  800. package/environments.d.ts +1 -4
  801. package/environments.js +1 -3
  802. package/errors/PolytomicError.d.ts +6 -4
  803. package/errors/PolytomicError.js +14 -11
  804. package/errors/PolytomicTimeoutError.d.ts +4 -4
  805. package/errors/PolytomicTimeoutError.js +11 -6
  806. package/errors/handleNonStatusCodeError.d.ts +2 -0
  807. package/errors/handleNonStatusCodeError.js +68 -0
  808. package/exports.d.ts +1 -0
  809. package/exports.js +17 -0
  810. package/index.d.ts +2 -0
  811. package/index.js +20 -6
  812. package/package.json +34 -26
  813. package/reference.md +9926 -0
  814. package/version.d.ts +1 -0
  815. package/version.js +4 -0
  816. package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +0 -12
  817. package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.js +0 -5
  818. package/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.d.ts +0 -5
  819. package/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.js +0 -5
  820. package/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.d.ts +0 -5
  821. package/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.js +0 -5
  822. package/api/resources/bulkSync/types/index.d.ts +0 -2
  823. package/api/resources/bulkSync/types/index.js +0 -18
  824. package/api/resources/connections/client/requests/ApiRequest.d.ts +0 -13
  825. package/api/resources/connections/client/requests/ApiRequest.js +0 -5
  826. package/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +0 -48
  827. package/api/resources/modelSync/client/requests/CreateModelSyncRequest.js +0 -5
  828. package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +0 -12
  829. package/api/resources/modelSync/client/requests/StartModelSyncRequest.js +0 -5
  830. package/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +0 -48
  831. package/api/resources/modelSync/client/requests/UpdateModelSyncRequest.js +0 -5
  832. package/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.d.ts +0 -13
  833. package/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.js +0 -5
  834. package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.d.ts +0 -17
  835. package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.js +0 -5
  836. package/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.d.ts +0 -11
  837. package/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.js +0 -5
  838. package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +0 -11
  839. package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +0 -5
  840. package/api/resources/queryRunner/client/requests/V4RunQueryRequest.d.ts +0 -15
  841. package/api/resources/queryRunner/client/requests/V4RunQueryRequest.js +0 -5
  842. package/api/types/BulkItemizedSchedule.d.ts +0 -8
  843. package/api/types/BulkItemizedSchedule.js +0 -5
  844. package/api/types/BulkMultiScheduleConfiguration.d.ts +0 -8
  845. package/api/types/BulkMultiScheduleConfiguration.js +0 -5
  846. package/api/types/BulkSchedule.d.ts +0 -13
  847. package/api/types/BulkSchedule.js +0 -5
  848. package/api/types/BulkSyncCanceledEvent.d.ts +0 -11
  849. package/api/types/BulkSyncCanceledEvent.js +0 -5
  850. package/api/types/BulkSyncCompletedEvent.d.ts +0 -12
  851. package/api/types/BulkSyncCompletedEvent.js +0 -5
  852. package/api/types/BulkSyncCompletedWithErrorEvent.d.ts +0 -12
  853. package/api/types/BulkSyncCompletedWithErrorEvent.js +0 -5
  854. package/api/types/BulkSyncFailedEvent.d.ts +0 -13
  855. package/api/types/BulkSyncFailedEvent.js +0 -5
  856. package/api/types/BulkSyncMode.d.ts +0 -11
  857. package/api/types/BulkSyncMode.js +0 -10
  858. package/api/types/BulkSyncRunningEvent.d.ts +0 -11
  859. package/api/types/BulkSyncRunningEvent.js +0 -5
  860. package/api/types/CancelModelSyncResponse.d.ts +0 -6
  861. package/api/types/CancelModelSyncResponse.js +0 -5
  862. package/api/types/CancelModelSyncResponseEnvelope.d.ts +0 -7
  863. package/api/types/CancelModelSyncResponseEnvelope.js +0 -5
  864. package/api/types/ConnectionMeta.d.ts +0 -8
  865. package/api/types/ConnectionMeta.js +0 -5
  866. package/api/types/ConnectionMetaResponse.d.ts +0 -9
  867. package/api/types/ConnectionMetaResponse.js +0 -5
  868. package/api/types/EventBody.d.ts +0 -5
  869. package/api/types/EventBody.js +0 -5
  870. package/api/types/ExecutionStatus.d.ts +0 -17
  871. package/api/types/ExecutionStatus.js +0 -19
  872. package/api/types/GetConnectionMetaEnvelope.d.ts +0 -7
  873. package/api/types/GetConnectionMetaEnvelope.js +0 -5
  874. package/api/types/GetModelSyncSourceMetaEnvelope.d.ts +0 -7
  875. package/api/types/GetModelSyncSourceMetaEnvelope.js +0 -5
  876. package/api/types/ListBulkSchema.d.ts +0 -7
  877. package/api/types/ListBulkSchema.js +0 -5
  878. package/api/types/ListBulkSyncExecutionStatusEnvelope.d.ts +0 -7
  879. package/api/types/ListBulkSyncExecutionStatusEnvelope.js +0 -5
  880. package/api/types/ListModelSyncResponseEnvelope.d.ts +0 -7
  881. package/api/types/ListModelSyncResponseEnvelope.js +0 -5
  882. package/api/types/ModelSyncField.d.ts +0 -17
  883. package/api/types/ModelSyncField.js +0 -5
  884. package/api/types/ModelSyncMode.d.ts +0 -16
  885. package/api/types/ModelSyncMode.js +0 -15
  886. package/api/types/ModelSyncResponse.d.ts +0 -30
  887. package/api/types/ModelSyncResponse.js +0 -5
  888. package/api/types/ModelSyncResponseEnvelope.d.ts +0 -7
  889. package/api/types/ModelSyncResponseEnvelope.js +0 -5
  890. package/api/types/ModelSyncSourceMetaResponse.d.ts +0 -12
  891. package/api/types/ModelSyncSourceMetaResponse.js +0 -5
  892. package/api/types/Pagination.d.ts +0 -9
  893. package/api/types/Pagination.js +0 -5
  894. package/api/types/RestErrResponse.d.ts +0 -13
  895. package/api/types/RestErrResponse.js +0 -5
  896. package/api/types/StartModelSyncResponseEnvelope.d.ts +0 -7
  897. package/api/types/StartModelSyncResponseEnvelope.js +0 -5
  898. package/api/types/StartModelSyncResponseSchema.d.ts +0 -10
  899. package/api/types/StartModelSyncResponseSchema.js +0 -5
  900. package/api/types/SyncCanceledEvent.d.ts +0 -12
  901. package/api/types/SyncCanceledEvent.js +0 -5
  902. package/api/types/SyncCompletedEvent.d.ts +0 -25
  903. package/api/types/SyncCompletedEvent.js +0 -5
  904. package/api/types/SyncCompletedWithErrorsEvent.d.ts +0 -13
  905. package/api/types/SyncCompletedWithErrorsEvent.js +0 -5
  906. package/api/types/SyncFailedEvent.d.ts +0 -11
  907. package/api/types/SyncFailedEvent.js +0 -5
  908. package/api/types/SyncRunningEvent.d.ts +0 -10
  909. package/api/types/SyncRunningEvent.js +0 -5
  910. package/api/types/V2ConnectionForm.d.ts +0 -7
  911. package/api/types/V2ConnectionForm.js +0 -5
  912. package/api/types/V2CreateSharedConnectionResponseEnvelope.d.ts +0 -7
  913. package/api/types/V2CreateSharedConnectionResponseEnvelope.js +0 -5
  914. package/api/types/V2EnricherConfiguration.d.ts +0 -7
  915. package/api/types/V2EnricherConfiguration.js +0 -5
  916. package/api/types/V2EnricherMapping.d.ts +0 -7
  917. package/api/types/V2EnricherMapping.js +0 -5
  918. package/api/types/V2ExecutionLogType.d.ts +0 -12
  919. package/api/types/V2ExecutionLogType.js +0 -14
  920. package/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.d.ts +0 -6
  921. package/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.js +0 -5
  922. package/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.d.ts +0 -4
  923. package/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.js +0 -5
  924. package/api/types/V2SampleRecord.d.ts +0 -7
  925. package/api/types/V2SampleRecord.js +0 -5
  926. package/api/types/V2SchemaConfigurationFieldsItem.d.ts +0 -5
  927. package/api/types/V2SchemaConfigurationFieldsItem.js +0 -5
  928. package/api/types/V3BulkSyncSourceCapabilities.d.ts +0 -6
  929. package/api/types/V3BulkSyncSourceCapabilities.js +0 -5
  930. package/api/types/V4BulkSyncExecutionLogs.d.ts +0 -9
  931. package/api/types/V4BulkSyncExecutionLogs.js +0 -5
  932. package/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +0 -7
  933. package/api/types/V4BulkSyncExecutionLogsEnvelope.js +0 -5
  934. package/api/types/V4BulkSyncScheduleApi.d.ts +0 -18
  935. package/api/types/V4BulkSyncScheduleApi.js +0 -5
  936. package/api/types/V4ExportSyncLogsEnvelope.d.ts +0 -8
  937. package/api/types/V4ExportSyncLogsEnvelope.js +0 -5
  938. package/api/types/V4ExportSyncLogsResponse.d.ts +0 -7
  939. package/api/types/V4ExportSyncLogsResponse.js +0 -5
  940. package/api/types/V4GlobalErrorSubscribersResponse.d.ts +0 -7
  941. package/api/types/V4GlobalErrorSubscribersResponse.js +0 -5
  942. package/api/types/V4QueryResultsEnvelope.d.ts +0 -8
  943. package/api/types/V4QueryResultsEnvelope.js +0 -5
  944. package/api/types/V4RunQueryEnvelope.d.ts +0 -7
  945. package/api/types/V4RunQueryEnvelope.js +0 -5
  946. package/api/types/V4RunQueryResult.d.ts +0 -19
  947. package/api/types/V4RunQueryResult.js +0 -5
  948. package/api/types/V4TargetCreator.d.ts +0 -10
  949. package/api/types/V4TargetCreator.js +0 -5
  950. package/api/types/V4TargetObjectsResponseEnvelope.d.ts +0 -8
  951. package/api/types/V4TargetObjectsResponseEnvelope.js +0 -5
  952. package/api/types/V4TargetPropertyValues.d.ts +0 -14
  953. package/api/types/V4TargetPropertyValues.js +0 -5
  954. package/api/types/V4TargetPropertyValuesEnvelope.d.ts +0 -7
  955. package/api/types/V4TargetPropertyValuesEnvelope.js +0 -5
  956. package/api/types/V4UserFieldRequest.d.ts +0 -14
  957. package/api/types/V4UserFieldRequest.js +0 -5
  958. package/dist/Client.d.ts +0 -68
  959. package/dist/Client.js +0 -82
  960. package/dist/api/errors/BadRequestError.d.ts +0 -8
  961. package/dist/api/errors/BadRequestError.js +0 -41
  962. package/dist/api/errors/ConflictError.d.ts +0 -8
  963. package/dist/api/errors/ConflictError.js +0 -41
  964. package/dist/api/errors/ForbiddenError.d.ts +0 -8
  965. package/dist/api/errors/ForbiddenError.js +0 -41
  966. package/dist/api/errors/InternalServerError.d.ts +0 -8
  967. package/dist/api/errors/InternalServerError.js +0 -41
  968. package/dist/api/errors/NotFoundError.d.ts +0 -8
  969. package/dist/api/errors/NotFoundError.js +0 -41
  970. package/dist/api/errors/UnauthorizedError.d.ts +0 -8
  971. package/dist/api/errors/UnauthorizedError.js +0 -41
  972. package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
  973. package/dist/api/errors/UnprocessableEntityError.js +0 -41
  974. package/dist/api/errors/index.d.ts +0 -7
  975. package/dist/api/errors/index.js +0 -23
  976. package/dist/api/index.d.ts +0 -3
  977. package/dist/api/index.js +0 -19
  978. package/dist/api/resources/bulkSync/client/Client.d.ts +0 -397
  979. package/dist/api/resources/bulkSync/client/Client.js +0 -1068
  980. package/dist/api/resources/bulkSync/client/index.d.ts +0 -1
  981. package/dist/api/resources/bulkSync/client/index.js +0 -17
  982. package/dist/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +0 -12
  983. package/dist/api/resources/bulkSync/client/requests/BulkSyncGetRequest.js +0 -5
  984. package/dist/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.d.ts +0 -15
  985. package/dist/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.js +0 -5
  986. package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +0 -15
  987. package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +0 -5
  988. package/dist/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.d.ts +0 -12
  989. package/dist/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.js +0 -5
  990. package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +0 -43
  991. package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.js +0 -5
  992. package/dist/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +0 -18
  993. package/dist/api/resources/bulkSync/client/requests/StartBulkSyncRequest.js +0 -5
  994. package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +0 -43
  995. package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.js +0 -5
  996. package/dist/api/resources/bulkSync/client/requests/index.d.ts +0 -7
  997. package/dist/api/resources/bulkSync/index.d.ts +0 -3
  998. package/dist/api/resources/bulkSync/index.js +0 -19
  999. package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +0 -182
  1000. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +0 -569
  1001. package/dist/api/resources/bulkSync/resources/executions/client/index.d.ts +0 -1
  1002. package/dist/api/resources/bulkSync/resources/executions/client/index.js +0 -17
  1003. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +0 -13
  1004. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +0 -5
  1005. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +0 -30
  1006. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.js +0 -5
  1007. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.d.ts +0 -24
  1008. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.js +0 -5
  1009. package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +0 -3
  1010. package/dist/api/resources/bulkSync/resources/index.d.ts +0 -6
  1011. package/dist/api/resources/bulkSync/resources/index.js +0 -35
  1012. package/dist/api/resources/bulkSync/resources/schedules/client/Client.d.ts +0 -142
  1013. package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +0 -457
  1014. package/dist/api/resources/bulkSync/resources/schedules/client/index.d.ts +0 -1
  1015. package/dist/api/resources/bulkSync/resources/schedules/client/index.js +0 -17
  1016. package/dist/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +0 -15
  1017. package/dist/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.js +0 -5
  1018. package/dist/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +0 -15
  1019. package/dist/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.js +0 -5
  1020. package/dist/api/resources/bulkSync/resources/schedules/client/requests/index.d.ts +0 -2
  1021. package/dist/api/resources/bulkSync/resources/schedules/index.d.ts +0 -1
  1022. package/dist/api/resources/bulkSync/resources/schedules/index.js +0 -17
  1023. package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +0 -161
  1024. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +0 -472
  1025. package/dist/api/resources/bulkSync/resources/schemas/client/index.d.ts +0 -1
  1026. package/dist/api/resources/bulkSync/resources/schemas/client/index.js +0 -17
  1027. package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +0 -12
  1028. package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.js +0 -5
  1029. package/dist/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +0 -13
  1030. package/dist/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.js +0 -5
  1031. package/dist/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +0 -25
  1032. package/dist/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.js +0 -5
  1033. package/dist/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +0 -3
  1034. package/dist/api/resources/bulkSync/resources/schemas/index.d.ts +0 -1
  1035. package/dist/api/resources/bulkSync/resources/schemas/index.js +0 -17
  1036. package/dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.d.ts +0 -5
  1037. package/dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.js +0 -5
  1038. package/dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.d.ts +0 -5
  1039. package/dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.js +0 -5
  1040. package/dist/api/resources/bulkSync/types/index.d.ts +0 -2
  1041. package/dist/api/resources/bulkSync/types/index.js +0 -18
  1042. package/dist/api/resources/connections/client/Client.d.ts +0 -353
  1043. package/dist/api/resources/connections/client/Client.js +0 -1120
  1044. package/dist/api/resources/connections/client/index.d.ts +0 -1
  1045. package/dist/api/resources/connections/client/index.js +0 -17
  1046. package/dist/api/resources/connections/client/requests/ApiRequest.d.ts +0 -13
  1047. package/dist/api/resources/connections/client/requests/ApiRequest.js +0 -5
  1048. package/dist/api/resources/connections/client/requests/ConnectCardRequest.d.ts +0 -25
  1049. package/dist/api/resources/connections/client/requests/ConnectCardRequest.js +0 -5
  1050. package/dist/api/resources/connections/client/requests/ConnectionsRemoveRequest.d.ts +0 -12
  1051. package/dist/api/resources/connections/client/requests/ConnectionsRemoveRequest.js +0 -5
  1052. package/dist/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +0 -30
  1053. package/dist/api/resources/connections/client/requests/CreateConnectionRequestSchema.js +0 -5
  1054. package/dist/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +0 -15
  1055. package/dist/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.js +0 -5
  1056. package/dist/api/resources/connections/client/requests/TestConnectionRequest.d.ts +0 -24
  1057. package/dist/api/resources/connections/client/requests/TestConnectionRequest.js +0 -5
  1058. package/dist/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +0 -28
  1059. package/dist/api/resources/connections/client/requests/UpdateConnectionRequestSchema.js +0 -5
  1060. package/dist/api/resources/connections/client/requests/index.d.ts +0 -7
  1061. package/dist/api/resources/connections/client/requests/index.js +0 -2
  1062. package/dist/api/resources/connections/index.d.ts +0 -1
  1063. package/dist/api/resources/connections/index.js +0 -17
  1064. package/dist/api/resources/events/client/Client.d.ts +0 -71
  1065. package/dist/api/resources/events/client/Client.js +0 -222
  1066. package/dist/api/resources/events/client/index.d.ts +0 -1
  1067. package/dist/api/resources/events/client/index.js +0 -17
  1068. package/dist/api/resources/events/client/requests/EventsListRequest.d.ts +0 -33
  1069. package/dist/api/resources/events/client/requests/EventsListRequest.js +0 -5
  1070. package/dist/api/resources/events/client/requests/index.d.ts +0 -1
  1071. package/dist/api/resources/events/client/requests/index.js +0 -2
  1072. package/dist/api/resources/events/index.d.ts +0 -1
  1073. package/dist/api/resources/events/index.js +0 -17
  1074. package/dist/api/resources/identity/client/Client.d.ts +0 -50
  1075. package/dist/api/resources/identity/client/Client.js +0 -131
  1076. package/dist/api/resources/identity/client/index.js +0 -2
  1077. package/dist/api/resources/identity/index.d.ts +0 -1
  1078. package/dist/api/resources/identity/index.js +0 -17
  1079. package/dist/api/resources/index.d.ts +0 -26
  1080. package/dist/api/resources/index.js +0 -55
  1081. package/dist/api/resources/jobs/client/Client.d.ts +0 -54
  1082. package/dist/api/resources/jobs/client/Client.js +0 -139
  1083. package/dist/api/resources/jobs/client/index.d.ts +0 -1
  1084. package/dist/api/resources/jobs/client/index.js +0 -2
  1085. package/dist/api/resources/jobs/index.d.ts +0 -1
  1086. package/dist/api/resources/jobs/index.js +0 -17
  1087. package/dist/api/resources/modelSync/client/Client.d.ts +0 -380
  1088. package/dist/api/resources/modelSync/client/Client.js +0 -1121
  1089. package/dist/api/resources/modelSync/client/index.d.ts +0 -1
  1090. package/dist/api/resources/modelSync/client/index.js +0 -17
  1091. package/dist/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +0 -48
  1092. package/dist/api/resources/modelSync/client/requests/CreateModelSyncRequest.js +0 -5
  1093. package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +0 -13
  1094. package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.js +0 -5
  1095. package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +0 -13
  1096. package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.js +0 -5
  1097. package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +0 -16
  1098. package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.js +0 -5
  1099. package/dist/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +0 -12
  1100. package/dist/api/resources/modelSync/client/requests/StartModelSyncRequest.js +0 -5
  1101. package/dist/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +0 -48
  1102. package/dist/api/resources/modelSync/client/requests/UpdateModelSyncRequest.js +0 -5
  1103. package/dist/api/resources/modelSync/client/requests/index.d.ts +0 -6
  1104. package/dist/api/resources/modelSync/client/requests/index.js +0 -2
  1105. package/dist/api/resources/modelSync/index.d.ts +0 -2
  1106. package/dist/api/resources/modelSync/index.js +0 -18
  1107. package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +0 -140
  1108. package/dist/api/resources/modelSync/resources/executions/client/Client.js +0 -458
  1109. package/dist/api/resources/modelSync/resources/executions/client/index.d.ts +0 -1
  1110. package/dist/api/resources/modelSync/resources/executions/client/index.js +0 -17
  1111. package/dist/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +0 -16
  1112. package/dist/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.js +0 -5
  1113. package/dist/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.d.ts +0 -13
  1114. package/dist/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.js +0 -5
  1115. package/dist/api/resources/modelSync/resources/executions/client/requests/index.d.ts +0 -2
  1116. package/dist/api/resources/modelSync/resources/executions/client/requests/index.js +0 -2
  1117. package/dist/api/resources/modelSync/resources/executions/index.d.ts +0 -1
  1118. package/dist/api/resources/modelSync/resources/executions/index.js +0 -17
  1119. package/dist/api/resources/modelSync/resources/index.d.ts +0 -4
  1120. package/dist/api/resources/modelSync/resources/index.js +0 -33
  1121. package/dist/api/resources/modelSync/resources/targets/client/Client.d.ts +0 -160
  1122. package/dist/api/resources/modelSync/resources/targets/client/Client.js +0 -435
  1123. package/dist/api/resources/modelSync/resources/targets/client/index.d.ts +0 -1
  1124. package/dist/api/resources/modelSync/resources/targets/client/index.js +0 -17
  1125. package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +0 -20
  1126. package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.js +0 -5
  1127. package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.d.ts +0 -17
  1128. package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.js +0 -5
  1129. package/dist/api/resources/modelSync/resources/targets/client/requests/index.d.ts +0 -2
  1130. package/dist/api/resources/modelSync/resources/targets/client/requests/index.js +0 -2
  1131. package/dist/api/resources/modelSync/resources/targets/index.d.ts +0 -1
  1132. package/dist/api/resources/modelSync/resources/targets/index.js +0 -17
  1133. package/dist/api/resources/models/client/Client.d.ts +0 -251
  1134. package/dist/api/resources/models/client/Client.js +0 -837
  1135. package/dist/api/resources/models/client/index.d.ts +0 -1
  1136. package/dist/api/resources/models/client/index.js +0 -17
  1137. package/dist/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.d.ts +0 -11
  1138. package/dist/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.js +0 -5
  1139. package/dist/api/resources/models/client/requests/ModelsCreateRequest.d.ts +0 -20
  1140. package/dist/api/resources/models/client/requests/ModelsCreateRequest.js +0 -5
  1141. package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +0 -13
  1142. package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +0 -5
  1143. package/dist/api/resources/models/client/requests/ModelsGetRequest.d.ts +0 -10
  1144. package/dist/api/resources/models/client/requests/ModelsGetRequest.js +0 -5
  1145. package/dist/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +0 -20
  1146. package/dist/api/resources/models/client/requests/ModelsPreviewRequest.js +0 -5
  1147. package/dist/api/resources/models/client/requests/ModelsRemoveRequest.d.ts +0 -10
  1148. package/dist/api/resources/models/client/requests/ModelsRemoveRequest.js +0 -5
  1149. package/dist/api/resources/models/client/requests/ModelsSampleRequest.d.ts +0 -10
  1150. package/dist/api/resources/models/client/requests/ModelsSampleRequest.js +0 -5
  1151. package/dist/api/resources/models/client/requests/UpdateModelRequest.d.ts +0 -31
  1152. package/dist/api/resources/models/client/requests/UpdateModelRequest.js +0 -5
  1153. package/dist/api/resources/models/client/requests/index.d.ts +0 -8
  1154. package/dist/api/resources/models/client/requests/index.js +0 -2
  1155. package/dist/api/resources/models/index.d.ts +0 -1
  1156. package/dist/api/resources/models/index.js +0 -17
  1157. package/dist/api/resources/notifications/client/Client.d.ts +0 -63
  1158. package/dist/api/resources/notifications/client/Client.js +0 -199
  1159. package/dist/api/resources/notifications/client/index.d.ts +0 -1
  1160. package/dist/api/resources/notifications/client/index.js +0 -17
  1161. package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +0 -11
  1162. package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +0 -5
  1163. package/dist/api/resources/notifications/client/requests/index.d.ts +0 -1
  1164. package/dist/api/resources/notifications/client/requests/index.js +0 -2
  1165. package/dist/api/resources/notifications/index.d.ts +0 -1
  1166. package/dist/api/resources/notifications/index.js +0 -17
  1167. package/dist/api/resources/organization/client/Client.d.ts +0 -135
  1168. package/dist/api/resources/organization/client/Client.js +0 -442
  1169. package/dist/api/resources/organization/client/index.d.ts +0 -1
  1170. package/dist/api/resources/organization/client/index.js +0 -17
  1171. package/dist/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +0 -23
  1172. package/dist/api/resources/organization/client/requests/CreateOrganizationRequestSchema.js +0 -5
  1173. package/dist/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +0 -23
  1174. package/dist/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.js +0 -5
  1175. package/dist/api/resources/organization/client/requests/index.d.ts +0 -2
  1176. package/dist/api/resources/organization/client/requests/index.js +0 -2
  1177. package/dist/api/resources/organization/index.d.ts +0 -1
  1178. package/dist/api/resources/organization/index.js +0 -17
  1179. package/dist/api/resources/permissions/client/Client.d.ts +0 -32
  1180. package/dist/api/resources/permissions/client/Client.js +0 -22
  1181. package/dist/api/resources/permissions/client/index.d.ts +0 -1
  1182. package/dist/api/resources/permissions/client/index.js +0 -2
  1183. package/dist/api/resources/permissions/index.d.ts +0 -2
  1184. package/dist/api/resources/permissions/index.js +0 -18
  1185. package/dist/api/resources/permissions/resources/index.d.ts +0 -4
  1186. package/dist/api/resources/permissions/resources/index.js +0 -33
  1187. package/dist/api/resources/permissions/resources/policies/client/Client.d.ts +0 -129
  1188. package/dist/api/resources/permissions/resources/policies/client/Client.js +0 -438
  1189. package/dist/api/resources/permissions/resources/policies/client/index.d.ts +0 -1
  1190. package/dist/api/resources/permissions/resources/policies/client/index.js +0 -17
  1191. package/dist/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +0 -15
  1192. package/dist/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.js +0 -5
  1193. package/dist/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +0 -15
  1194. package/dist/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.js +0 -5
  1195. package/dist/api/resources/permissions/resources/policies/client/requests/index.d.ts +0 -2
  1196. package/dist/api/resources/permissions/resources/policies/client/requests/index.js +0 -2
  1197. package/dist/api/resources/permissions/resources/policies/index.d.ts +0 -1
  1198. package/dist/api/resources/permissions/resources/policies/index.js +0 -17
  1199. package/dist/api/resources/permissions/resources/roles/client/Client.d.ts +0 -133
  1200. package/dist/api/resources/permissions/resources/roles/client/Client.js +0 -440
  1201. package/dist/api/resources/permissions/resources/roles/client/index.d.ts +0 -1
  1202. package/dist/api/resources/permissions/resources/roles/client/index.js +0 -17
  1203. package/dist/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +0 -13
  1204. package/dist/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.js +0 -5
  1205. package/dist/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +0 -13
  1206. package/dist/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.js +0 -5
  1207. package/dist/api/resources/permissions/resources/roles/client/requests/index.d.ts +0 -2
  1208. package/dist/api/resources/permissions/resources/roles/client/requests/index.js +0 -2
  1209. package/dist/api/resources/permissions/resources/roles/index.d.ts +0 -1
  1210. package/dist/api/resources/permissions/resources/roles/index.js +0 -17
  1211. package/dist/api/resources/queryRunner/client/Client.d.ts +0 -82
  1212. package/dist/api/resources/queryRunner/client/Client.js +0 -247
  1213. package/dist/api/resources/queryRunner/client/index.d.ts +0 -1
  1214. package/dist/api/resources/queryRunner/client/index.js +0 -17
  1215. package/dist/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +0 -13
  1216. package/dist/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.js +0 -5
  1217. package/dist/api/resources/queryRunner/client/requests/V4RunQueryRequest.d.ts +0 -15
  1218. package/dist/api/resources/queryRunner/client/requests/V4RunQueryRequest.js +0 -5
  1219. package/dist/api/resources/queryRunner/client/requests/index.d.ts +0 -2
  1220. package/dist/api/resources/queryRunner/client/requests/index.js +0 -2
  1221. package/dist/api/resources/queryRunner/index.d.ts +0 -1
  1222. package/dist/api/resources/queryRunner/index.js +0 -17
  1223. package/dist/api/resources/schemas/client/Client.d.ts +0 -246
  1224. package/dist/api/resources/schemas/client/Client.js +0 -727
  1225. package/dist/api/resources/schemas/client/index.d.ts +0 -1
  1226. package/dist/api/resources/schemas/client/index.js +0 -17
  1227. package/dist/api/resources/schemas/client/requests/SetPrimaryKeysRequest.d.ts +0 -12
  1228. package/dist/api/resources/schemas/client/requests/SetPrimaryKeysRequest.js +0 -5
  1229. package/dist/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.d.ts +0 -12
  1230. package/dist/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.js +0 -5
  1231. package/dist/api/resources/schemas/client/requests/index.d.ts +0 -2
  1232. package/dist/api/resources/schemas/client/requests/index.js +0 -2
  1233. package/dist/api/resources/schemas/index.d.ts +0 -1
  1234. package/dist/api/resources/schemas/index.js +0 -17
  1235. package/dist/api/resources/users/client/Client.d.ts +0 -154
  1236. package/dist/api/resources/users/client/Client.js +0 -525
  1237. package/dist/api/resources/users/client/index.d.ts +0 -1
  1238. package/dist/api/resources/users/client/index.js +0 -17
  1239. package/dist/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +0 -17
  1240. package/dist/api/resources/users/client/requests/CreateUserRequestSchema.js +0 -5
  1241. package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +0 -17
  1242. package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.js +0 -5
  1243. package/dist/api/resources/users/client/requests/UsersCreateApiKeyRequest.d.ts +0 -15
  1244. package/dist/api/resources/users/client/requests/UsersCreateApiKeyRequest.js +0 -5
  1245. package/dist/api/resources/users/client/requests/index.d.ts +0 -3
  1246. package/dist/api/resources/users/client/requests/index.js +0 -2
  1247. package/dist/api/resources/users/index.d.ts +0 -1
  1248. package/dist/api/resources/users/index.js +0 -17
  1249. package/dist/api/resources/webhooks/client/Client.d.ts +0 -191
  1250. package/dist/api/resources/webhooks/client/Client.js +0 -596
  1251. package/dist/api/resources/webhooks/client/index.d.ts +0 -1
  1252. package/dist/api/resources/webhooks/client/index.js +0 -17
  1253. package/dist/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +0 -15
  1254. package/dist/api/resources/webhooks/client/requests/CreateWebhooksSchema.js +0 -5
  1255. package/dist/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +0 -15
  1256. package/dist/api/resources/webhooks/client/requests/UpdateWebhooksSchema.js +0 -5
  1257. package/dist/api/resources/webhooks/client/requests/index.d.ts +0 -2
  1258. package/dist/api/resources/webhooks/client/requests/index.js +0 -2
  1259. package/dist/api/resources/webhooks/index.d.ts +0 -1
  1260. package/dist/api/resources/webhooks/index.js +0 -17
  1261. package/dist/api/types/ActivateSyncEnvelope.d.ts +0 -7
  1262. package/dist/api/types/ActivateSyncEnvelope.js +0 -5
  1263. package/dist/api/types/ActivateSyncInput.d.ts +0 -6
  1264. package/dist/api/types/ActivateSyncInput.js +0 -5
  1265. package/dist/api/types/ActivateSyncOutput.d.ts +0 -7
  1266. package/dist/api/types/ActivateSyncOutput.js +0 -5
  1267. package/dist/api/types/ApiError.d.ts +0 -9
  1268. package/dist/api/types/ApiError.js +0 -5
  1269. package/dist/api/types/ApiKeyResponse.d.ts +0 -7
  1270. package/dist/api/types/ApiKeyResponse.js +0 -5
  1271. package/dist/api/types/ApiKeyResponseEnvelope.d.ts +0 -7
  1272. package/dist/api/types/ApiKeyResponseEnvelope.js +0 -5
  1273. package/dist/api/types/BackendConnectionCapabilities.d.ts +0 -9
  1274. package/dist/api/types/BackendConnectionCapabilities.js +0 -5
  1275. package/dist/api/types/BackendOAuthPrompt.d.ts +0 -8
  1276. package/dist/api/types/BackendOAuthPrompt.js +0 -5
  1277. package/dist/api/types/BulkBulkSyncSchedule.d.ts +0 -23
  1278. package/dist/api/types/BulkBulkSyncSchedule.js +0 -5
  1279. package/dist/api/types/BulkDiscover.d.ts +0 -10
  1280. package/dist/api/types/BulkDiscover.js +0 -12
  1281. package/dist/api/types/BulkExecutionStatus.d.ts +0 -17
  1282. package/dist/api/types/BulkExecutionStatus.js +0 -19
  1283. package/dist/api/types/BulkFetchMode.d.ts +0 -12
  1284. package/dist/api/types/BulkFetchMode.js +0 -11
  1285. package/dist/api/types/BulkField.d.ts +0 -10
  1286. package/dist/api/types/BulkField.js +0 -5
  1287. package/dist/api/types/BulkFilter.d.ts +0 -10
  1288. package/dist/api/types/BulkFilter.js +0 -5
  1289. package/dist/api/types/BulkItemizedSchedule.d.ts +0 -8
  1290. package/dist/api/types/BulkItemizedSchedule.js +0 -5
  1291. package/dist/api/types/BulkMultiScheduleConfiguration.d.ts +0 -8
  1292. package/dist/api/types/BulkMultiScheduleConfiguration.js +0 -5
  1293. package/dist/api/types/BulkNormalizeNames.d.ts +0 -9
  1294. package/dist/api/types/BulkNormalizeNames.js +0 -11
  1295. package/dist/api/types/BulkOutputDisposition.d.ts +0 -9
  1296. package/dist/api/types/BulkOutputDisposition.js +0 -11
  1297. package/dist/api/types/BulkResyncMode.d.ts +0 -9
  1298. package/dist/api/types/BulkResyncMode.js +0 -11
  1299. package/dist/api/types/BulkSchedule.d.ts +0 -13
  1300. package/dist/api/types/BulkSchedule.js +0 -5
  1301. package/dist/api/types/BulkScheduleSyncMode.d.ts +0 -10
  1302. package/dist/api/types/BulkScheduleSyncMode.js +0 -12
  1303. package/dist/api/types/BulkSchema.d.ts +0 -18
  1304. package/dist/api/types/BulkSchema.js +0 -5
  1305. package/dist/api/types/BulkSchemaEnvelope.d.ts +0 -7
  1306. package/dist/api/types/BulkSchemaEnvelope.js +0 -5
  1307. package/dist/api/types/BulkSchemaExecutionStatus.d.ts +0 -15
  1308. package/dist/api/types/BulkSchemaExecutionStatus.js +0 -17
  1309. package/dist/api/types/BulkSelectiveMode.d.ts +0 -9
  1310. package/dist/api/types/BulkSelectiveMode.js +0 -11
  1311. package/dist/api/types/BulkSyncCanceledEvent.d.ts +0 -11
  1312. package/dist/api/types/BulkSyncCanceledEvent.js +0 -5
  1313. package/dist/api/types/BulkSyncCompletedEvent.d.ts +0 -12
  1314. package/dist/api/types/BulkSyncCompletedEvent.js +0 -5
  1315. package/dist/api/types/BulkSyncCompletedWithErrorEvent.d.ts +0 -12
  1316. package/dist/api/types/BulkSyncCompletedWithErrorEvent.js +0 -5
  1317. package/dist/api/types/BulkSyncDest.d.ts +0 -10
  1318. package/dist/api/types/BulkSyncDest.js +0 -5
  1319. package/dist/api/types/BulkSyncDestEnvelope.d.ts +0 -7
  1320. package/dist/api/types/BulkSyncDestEnvelope.js +0 -5
  1321. package/dist/api/types/BulkSyncExecution.d.ts +0 -23
  1322. package/dist/api/types/BulkSyncExecution.js +0 -5
  1323. package/dist/api/types/BulkSyncExecutionEnvelope.d.ts +0 -7
  1324. package/dist/api/types/BulkSyncExecutionEnvelope.js +0 -5
  1325. package/dist/api/types/BulkSyncExecutionStatus.d.ts +0 -13
  1326. package/dist/api/types/BulkSyncExecutionStatus.js +0 -5
  1327. package/dist/api/types/BulkSyncFailedEvent.d.ts +0 -13
  1328. package/dist/api/types/BulkSyncFailedEvent.js +0 -5
  1329. package/dist/api/types/BulkSyncIngestionStatus.d.ts +0 -14
  1330. package/dist/api/types/BulkSyncIngestionStatus.js +0 -5
  1331. package/dist/api/types/BulkSyncListEnvelope.d.ts +0 -7
  1332. package/dist/api/types/BulkSyncListEnvelope.js +0 -5
  1333. package/dist/api/types/BulkSyncMode.d.ts +0 -11
  1334. package/dist/api/types/BulkSyncMode.js +0 -10
  1335. package/dist/api/types/BulkSyncResponse.d.ts +0 -36
  1336. package/dist/api/types/BulkSyncResponse.js +0 -5
  1337. package/dist/api/types/BulkSyncResponseEnvelope.d.ts +0 -7
  1338. package/dist/api/types/BulkSyncResponseEnvelope.js +0 -5
  1339. package/dist/api/types/BulkSyncRunningEvent.d.ts +0 -11
  1340. package/dist/api/types/BulkSyncRunningEvent.js +0 -5
  1341. package/dist/api/types/BulkSyncSchemaExecution.d.ts +0 -17
  1342. package/dist/api/types/BulkSyncSchemaExecution.js +0 -5
  1343. package/dist/api/types/BulkSyncSchemaExecutionStatus.d.ts +0 -23
  1344. package/dist/api/types/BulkSyncSchemaExecutionStatus.js +0 -5
  1345. package/dist/api/types/BulkSyncSource.d.ts +0 -9
  1346. package/dist/api/types/BulkSyncSource.js +0 -5
  1347. package/dist/api/types/BulkSyncSourceEnvelope.d.ts +0 -7
  1348. package/dist/api/types/BulkSyncSourceEnvelope.js +0 -5
  1349. package/dist/api/types/BulkSyncSourceSchemaEnvelope.d.ts +0 -7
  1350. package/dist/api/types/BulkSyncSourceSchemaEnvelope.js +0 -5
  1351. package/dist/api/types/BulkSyncSourceStatus.d.ts +0 -8
  1352. package/dist/api/types/BulkSyncSourceStatus.js +0 -5
  1353. package/dist/api/types/BulkSyncSourceStatusEnvelope.d.ts +0 -7
  1354. package/dist/api/types/BulkSyncSourceStatusEnvelope.js +0 -5
  1355. package/dist/api/types/BulkSyncStatusEnvelope.d.ts +0 -7
  1356. package/dist/api/types/BulkSyncStatusEnvelope.js +0 -5
  1357. package/dist/api/types/BulkSyncStatusResponse.d.ts +0 -10
  1358. package/dist/api/types/BulkSyncStatusResponse.js +0 -5
  1359. package/dist/api/types/CancelBulkSyncResponse.d.ts +0 -6
  1360. package/dist/api/types/CancelBulkSyncResponse.js +0 -5
  1361. package/dist/api/types/CancelBulkSyncResponseEnvelope.d.ts +0 -7
  1362. package/dist/api/types/CancelBulkSyncResponseEnvelope.js +0 -5
  1363. package/dist/api/types/CancelModelSyncResponse.d.ts +0 -6
  1364. package/dist/api/types/CancelModelSyncResponse.js +0 -5
  1365. package/dist/api/types/CancelModelSyncResponseEnvelope.d.ts +0 -7
  1366. package/dist/api/types/CancelModelSyncResponseEnvelope.js +0 -5
  1367. package/dist/api/types/ConfigurationValue.d.ts +0 -7
  1368. package/dist/api/types/ConfigurationValue.js +0 -5
  1369. package/dist/api/types/ConnectCardResponse.d.ts +0 -9
  1370. package/dist/api/types/ConnectCardResponse.js +0 -5
  1371. package/dist/api/types/ConnectCardResponseEnvelope.d.ts +0 -7
  1372. package/dist/api/types/ConnectCardResponseEnvelope.js +0 -5
  1373. package/dist/api/types/ConnectionListResponseEnvelope.d.ts +0 -7
  1374. package/dist/api/types/ConnectionListResponseEnvelope.js +0 -5
  1375. package/dist/api/types/ConnectionMeta.d.ts +0 -8
  1376. package/dist/api/types/ConnectionMeta.js +0 -5
  1377. package/dist/api/types/ConnectionMetaResponse.d.ts +0 -9
  1378. package/dist/api/types/ConnectionMetaResponse.js +0 -5
  1379. package/dist/api/types/ConnectionParameterValue.d.ts +0 -7
  1380. package/dist/api/types/ConnectionParameterValue.js +0 -5
  1381. package/dist/api/types/ConnectionParameterValuesResp.d.ts +0 -8
  1382. package/dist/api/types/ConnectionParameterValuesResp.js +0 -5
  1383. package/dist/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +0 -7
  1384. package/dist/api/types/ConnectionParameterValuesResponseEnvelope.js +0 -5
  1385. package/dist/api/types/ConnectionResponseEnvelope.d.ts +0 -7
  1386. package/dist/api/types/ConnectionResponseEnvelope.js +0 -5
  1387. package/dist/api/types/ConnectionResponseSchema.d.ts +0 -23
  1388. package/dist/api/types/ConnectionResponseSchema.js +0 -5
  1389. package/dist/api/types/ConnectionType.d.ts +0 -15
  1390. package/dist/api/types/ConnectionType.js +0 -5
  1391. package/dist/api/types/ConnectionTypeResponseEnvelope.d.ts +0 -7
  1392. package/dist/api/types/ConnectionTypeResponseEnvelope.js +0 -5
  1393. package/dist/api/types/ConnectionTypeSchema.d.ts +0 -9
  1394. package/dist/api/types/ConnectionTypeSchema.js +0 -5
  1395. package/dist/api/types/CreateConnectionResponseEnvelope.d.ts +0 -7
  1396. package/dist/api/types/CreateConnectionResponseEnvelope.js +0 -5
  1397. package/dist/api/types/CreateConnectionResponseSchema.d.ts +0 -21
  1398. package/dist/api/types/CreateConnectionResponseSchema.js +0 -5
  1399. package/dist/api/types/CreateModelRequest.d.ts +0 -18
  1400. package/dist/api/types/CreateModelRequest.js +0 -5
  1401. package/dist/api/types/CreateSharedConnectionResponseSchema.d.ts +0 -6
  1402. package/dist/api/types/CreateSharedConnectionResponseSchema.js +0 -5
  1403. package/dist/api/types/Enrichment.d.ts +0 -13
  1404. package/dist/api/types/Enrichment.js +0 -5
  1405. package/dist/api/types/Event.d.ts +0 -15
  1406. package/dist/api/types/Event.js +0 -5
  1407. package/dist/api/types/EventBody.d.ts +0 -5
  1408. package/dist/api/types/EventBody.js +0 -5
  1409. package/dist/api/types/EventTypesEnvelope.d.ts +0 -6
  1410. package/dist/api/types/EventTypesEnvelope.js +0 -5
  1411. package/dist/api/types/EventsEnvelope.d.ts +0 -7
  1412. package/dist/api/types/EventsEnvelope.js +0 -5
  1413. package/dist/api/types/ExecutionCounts.d.ts +0 -12
  1414. package/dist/api/types/ExecutionCounts.js +0 -5
  1415. package/dist/api/types/ExecutionLogResponse.d.ts +0 -7
  1416. package/dist/api/types/ExecutionLogResponse.js +0 -5
  1417. package/dist/api/types/ExecutionLogsResponseEnvelope.d.ts +0 -7
  1418. package/dist/api/types/ExecutionLogsResponseEnvelope.js +0 -5
  1419. package/dist/api/types/ExecutionStatus.d.ts +0 -17
  1420. package/dist/api/types/ExecutionStatus.js +0 -19
  1421. package/dist/api/types/FieldConfiguration.d.ts +0 -10
  1422. package/dist/api/types/FieldConfiguration.js +0 -5
  1423. package/dist/api/types/Filter.d.ts +0 -16
  1424. package/dist/api/types/Filter.js +0 -5
  1425. package/dist/api/types/FilterFieldReferenceType.d.ts +0 -8
  1426. package/dist/api/types/FilterFieldReferenceType.js +0 -10
  1427. package/dist/api/types/FilterFunction.d.ts +0 -35
  1428. package/dist/api/types/FilterFunction.js +0 -37
  1429. package/dist/api/types/GetConnectionMetaEnvelope.d.ts +0 -7
  1430. package/dist/api/types/GetConnectionMetaEnvelope.js +0 -5
  1431. package/dist/api/types/GetExecutionResponseEnvelope.d.ts +0 -7
  1432. package/dist/api/types/GetExecutionResponseEnvelope.js +0 -5
  1433. package/dist/api/types/GetExecutionResponseSchema.d.ts +0 -14
  1434. package/dist/api/types/GetExecutionResponseSchema.js +0 -5
  1435. package/dist/api/types/GetIdentityResponseEnvelope.d.ts +0 -7
  1436. package/dist/api/types/GetIdentityResponseEnvelope.js +0 -5
  1437. package/dist/api/types/GetIdentityResponseSchema.d.ts +0 -23
  1438. package/dist/api/types/GetIdentityResponseSchema.js +0 -5
  1439. package/dist/api/types/GetModelSyncSourceMetaEnvelope.d.ts +0 -7
  1440. package/dist/api/types/GetModelSyncSourceMetaEnvelope.js +0 -5
  1441. package/dist/api/types/Identity.d.ts +0 -11
  1442. package/dist/api/types/Identity.js +0 -5
  1443. package/dist/api/types/IdentityFunction.d.ts +0 -7
  1444. package/dist/api/types/IdentityFunction.js +0 -5
  1445. package/dist/api/types/IngestionStatusLevel.d.ts +0 -12
  1446. package/dist/api/types/IngestionStatusLevel.js +0 -11
  1447. package/dist/api/types/JobResponse.d.ts +0 -14
  1448. package/dist/api/types/JobResponse.js +0 -5
  1449. package/dist/api/types/JobResponseEnvelope.d.ts +0 -7
  1450. package/dist/api/types/JobResponseEnvelope.js +0 -5
  1451. package/dist/api/types/JsonschemaDefinitions.d.ts +0 -5
  1452. package/dist/api/types/JsonschemaDefinitions.js +0 -5
  1453. package/dist/api/types/JsonschemaForm.d.ts +0 -4
  1454. package/dist/api/types/JsonschemaForm.js +0 -5
  1455. package/dist/api/types/JsonschemaSchema.d.ts +0 -59
  1456. package/dist/api/types/JsonschemaSchema.js +0 -5
  1457. package/dist/api/types/LabelLabel.d.ts +0 -4
  1458. package/dist/api/types/LabelLabel.js +0 -5
  1459. package/dist/api/types/ListBulkSchema.d.ts +0 -7
  1460. package/dist/api/types/ListBulkSchema.js +0 -5
  1461. package/dist/api/types/ListBulkSyncExecutionStatusEnvelope.d.ts +0 -7
  1462. package/dist/api/types/ListBulkSyncExecutionStatusEnvelope.js +0 -5
  1463. package/dist/api/types/ListBulkSyncExecutionsEnvelope.d.ts +0 -8
  1464. package/dist/api/types/ListBulkSyncExecutionsEnvelope.js +0 -5
  1465. package/dist/api/types/ListExecutionResponseEnvelope.d.ts +0 -8
  1466. package/dist/api/types/ListExecutionResponseEnvelope.js +0 -5
  1467. package/dist/api/types/ListModelSyncResponseEnvelope.d.ts +0 -7
  1468. package/dist/api/types/ListModelSyncResponseEnvelope.js +0 -5
  1469. package/dist/api/types/ListPoliciesResponseEnvelope.d.ts +0 -7
  1470. package/dist/api/types/ListPoliciesResponseEnvelope.js +0 -5
  1471. package/dist/api/types/ListUsersEnvelope.d.ts +0 -7
  1472. package/dist/api/types/ListUsersEnvelope.js +0 -5
  1473. package/dist/api/types/Mode.d.ts +0 -11
  1474. package/dist/api/types/Mode.js +0 -5
  1475. package/dist/api/types/ModelField.d.ts +0 -18
  1476. package/dist/api/types/ModelField.js +0 -5
  1477. package/dist/api/types/ModelFieldResponse.d.ts +0 -7
  1478. package/dist/api/types/ModelFieldResponse.js +0 -5
  1479. package/dist/api/types/ModelListResponseEnvelope.d.ts +0 -7
  1480. package/dist/api/types/ModelListResponseEnvelope.js +0 -5
  1481. package/dist/api/types/ModelModelFieldRequest.d.ts +0 -9
  1482. package/dist/api/types/ModelModelFieldRequest.js +0 -5
  1483. package/dist/api/types/ModelRelation.d.ts +0 -8
  1484. package/dist/api/types/ModelRelation.js +0 -5
  1485. package/dist/api/types/ModelRelationTo.d.ts +0 -7
  1486. package/dist/api/types/ModelRelationTo.js +0 -5
  1487. package/dist/api/types/ModelResponse.d.ts +0 -24
  1488. package/dist/api/types/ModelResponse.js +0 -5
  1489. package/dist/api/types/ModelResponseEnvelope.d.ts +0 -8
  1490. package/dist/api/types/ModelResponseEnvelope.js +0 -5
  1491. package/dist/api/types/ModelSample.d.ts +0 -8
  1492. package/dist/api/types/ModelSample.js +0 -5
  1493. package/dist/api/types/ModelSampleResponseEnvelope.d.ts +0 -8
  1494. package/dist/api/types/ModelSampleResponseEnvelope.js +0 -5
  1495. package/dist/api/types/ModelSyncField.d.ts +0 -17
  1496. package/dist/api/types/ModelSyncField.js +0 -5
  1497. package/dist/api/types/ModelSyncMode.d.ts +0 -16
  1498. package/dist/api/types/ModelSyncMode.js +0 -15
  1499. package/dist/api/types/ModelSyncResponse.d.ts +0 -30
  1500. package/dist/api/types/ModelSyncResponse.js +0 -5
  1501. package/dist/api/types/ModelSyncResponseEnvelope.d.ts +0 -7
  1502. package/dist/api/types/ModelSyncResponseEnvelope.js +0 -5
  1503. package/dist/api/types/ModelSyncSourceMetaResponse.d.ts +0 -12
  1504. package/dist/api/types/ModelSyncSourceMetaResponse.js +0 -5
  1505. package/dist/api/types/Organization.d.ts +0 -15
  1506. package/dist/api/types/Organization.js +0 -5
  1507. package/dist/api/types/OrganizationEnvelope.d.ts +0 -7
  1508. package/dist/api/types/OrganizationEnvelope.js +0 -5
  1509. package/dist/api/types/OrganizationsEnvelope.d.ts +0 -7
  1510. package/dist/api/types/OrganizationsEnvelope.js +0 -5
  1511. package/dist/api/types/OutputActor.d.ts +0 -8
  1512. package/dist/api/types/OutputActor.js +0 -5
  1513. package/dist/api/types/Override.d.ts +0 -15
  1514. package/dist/api/types/Override.js +0 -5
  1515. package/dist/api/types/Pagination.d.ts +0 -9
  1516. package/dist/api/types/Pagination.js +0 -5
  1517. package/dist/api/types/PaginationDetails.d.ts +0 -6
  1518. package/dist/api/types/PaginationDetails.js +0 -5
  1519. package/dist/api/types/PickValue.d.ts +0 -7
  1520. package/dist/api/types/PickValue.js +0 -5
  1521. package/dist/api/types/PolicyAction.d.ts +0 -7
  1522. package/dist/api/types/PolicyAction.js +0 -5
  1523. package/dist/api/types/PolicyResponse.d.ts +0 -11
  1524. package/dist/api/types/PolicyResponse.js +0 -5
  1525. package/dist/api/types/PolicyResponseEnvelope.d.ts +0 -7
  1526. package/dist/api/types/PolicyResponseEnvelope.js +0 -5
  1527. package/dist/api/types/Relation.d.ts +0 -8
  1528. package/dist/api/types/Relation.js +0 -5
  1529. package/dist/api/types/RelationTo.d.ts +0 -7
  1530. package/dist/api/types/RelationTo.js +0 -5
  1531. package/dist/api/types/RestErrResponse.d.ts +0 -13
  1532. package/dist/api/types/RestErrResponse.js +0 -5
  1533. package/dist/api/types/RoleListResponseEnvelope.d.ts +0 -7
  1534. package/dist/api/types/RoleListResponseEnvelope.js +0 -5
  1535. package/dist/api/types/RoleResponse.d.ts +0 -9
  1536. package/dist/api/types/RoleResponse.js +0 -5
  1537. package/dist/api/types/RoleResponseEnvelope.d.ts +0 -7
  1538. package/dist/api/types/RoleResponseEnvelope.js +0 -5
  1539. package/dist/api/types/RunAfter.d.ts +0 -7
  1540. package/dist/api/types/RunAfter.js +0 -5
  1541. package/dist/api/types/Schedule.d.ts +0 -17
  1542. package/dist/api/types/Schedule.js +0 -5
  1543. package/dist/api/types/ScheduleEnvelope.d.ts +0 -7
  1544. package/dist/api/types/ScheduleEnvelope.js +0 -5
  1545. package/dist/api/types/ScheduleFrequency.d.ts +0 -16
  1546. package/dist/api/types/ScheduleFrequency.js +0 -18
  1547. package/dist/api/types/ScheduleOptionResponse.d.ts +0 -7
  1548. package/dist/api/types/ScheduleOptionResponse.js +0 -5
  1549. package/dist/api/types/ScheduleOptionResponseEnvelope.d.ts +0 -7
  1550. package/dist/api/types/ScheduleOptionResponseEnvelope.js +0 -5
  1551. package/dist/api/types/ScheduleScheduleOption.d.ts +0 -10
  1552. package/dist/api/types/ScheduleScheduleOption.js +0 -5
  1553. package/dist/api/types/SchedulesEnvelope.d.ts +0 -7
  1554. package/dist/api/types/SchedulesEnvelope.js +0 -5
  1555. package/dist/api/types/Schema.d.ts +0 -9
  1556. package/dist/api/types/Schema.js +0 -5
  1557. package/dist/api/types/SchemaAssociation.d.ts +0 -9
  1558. package/dist/api/types/SchemaAssociation.js +0 -5
  1559. package/dist/api/types/SchemaConfiguration.d.ts +0 -16
  1560. package/dist/api/types/SchemaConfiguration.js +0 -5
  1561. package/dist/api/types/SchemaField.d.ts +0 -16
  1562. package/dist/api/types/SchemaField.js +0 -5
  1563. package/dist/api/types/SchemaIdentityFunction.d.ts +0 -11
  1564. package/dist/api/types/SchemaIdentityFunction.js +0 -13
  1565. package/dist/api/types/SchemaPrimaryKeyOverrideInput.d.ts +0 -7
  1566. package/dist/api/types/SchemaPrimaryKeyOverrideInput.js +0 -5
  1567. package/dist/api/types/SchemaRecordsResponseEnvelope.d.ts +0 -6
  1568. package/dist/api/types/SchemaRecordsResponseEnvelope.js +0 -5
  1569. package/dist/api/types/Source.d.ts +0 -7
  1570. package/dist/api/types/Source.js +0 -5
  1571. package/dist/api/types/SourceMeta.d.ts +0 -11
  1572. package/dist/api/types/SourceMeta.js +0 -5
  1573. package/dist/api/types/StartModelSyncResponseEnvelope.d.ts +0 -7
  1574. package/dist/api/types/StartModelSyncResponseEnvelope.js +0 -5
  1575. package/dist/api/types/StartModelSyncResponseSchema.d.ts +0 -10
  1576. package/dist/api/types/StartModelSyncResponseSchema.js +0 -5
  1577. package/dist/api/types/SupportedBulkMode.d.ts +0 -12
  1578. package/dist/api/types/SupportedBulkMode.js +0 -5
  1579. package/dist/api/types/SupportedMode.d.ts +0 -13
  1580. package/dist/api/types/SupportedMode.js +0 -5
  1581. package/dist/api/types/SyncCanceledEvent.d.ts +0 -12
  1582. package/dist/api/types/SyncCanceledEvent.js +0 -5
  1583. package/dist/api/types/SyncCompletedEvent.d.ts +0 -25
  1584. package/dist/api/types/SyncCompletedEvent.js +0 -5
  1585. package/dist/api/types/SyncCompletedWithErrorsEvent.d.ts +0 -13
  1586. package/dist/api/types/SyncCompletedWithErrorsEvent.js +0 -5
  1587. package/dist/api/types/SyncDestinationProperties.d.ts +0 -18
  1588. package/dist/api/types/SyncDestinationProperties.js +0 -5
  1589. package/dist/api/types/SyncFailedEvent.d.ts +0 -11
  1590. package/dist/api/types/SyncFailedEvent.js +0 -5
  1591. package/dist/api/types/SyncRunningEvent.d.ts +0 -10
  1592. package/dist/api/types/SyncRunningEvent.js +0 -5
  1593. package/dist/api/types/SyncStatusEnvelope.d.ts +0 -7
  1594. package/dist/api/types/SyncStatusEnvelope.js +0 -5
  1595. package/dist/api/types/SyncStatusResponse.d.ts +0 -9
  1596. package/dist/api/types/SyncStatusResponse.js +0 -5
  1597. package/dist/api/types/Target.d.ts +0 -14
  1598. package/dist/api/types/Target.js +0 -5
  1599. package/dist/api/types/TargetCreateInput.d.ts +0 -11
  1600. package/dist/api/types/TargetCreateInput.js +0 -5
  1601. package/dist/api/types/TargetField.d.ts +0 -19
  1602. package/dist/api/types/TargetField.js +0 -5
  1603. package/dist/api/types/TargetObject.d.ts +0 -12
  1604. package/dist/api/types/TargetObject.js +0 -5
  1605. package/dist/api/types/TargetResponse.d.ts +0 -12
  1606. package/dist/api/types/TargetResponse.js +0 -5
  1607. package/dist/api/types/TargetResponseEnvelope.d.ts +0 -7
  1608. package/dist/api/types/TargetResponseEnvelope.js +0 -5
  1609. package/dist/api/types/TypesType.d.ts +0 -4
  1610. package/dist/api/types/TypesType.js +0 -5
  1611. package/dist/api/types/UpdateBulkField.d.ts +0 -9
  1612. package/dist/api/types/UpdateBulkField.js +0 -5
  1613. package/dist/api/types/User.d.ts +0 -15
  1614. package/dist/api/types/User.js +0 -5
  1615. package/dist/api/types/UserEnvelope.d.ts +0 -7
  1616. package/dist/api/types/UserEnvelope.js +0 -5
  1617. package/dist/api/types/UtilEnumValue.d.ts +0 -7
  1618. package/dist/api/types/UtilEnumValue.js +0 -5
  1619. package/dist/api/types/UtilFieldType.d.ts +0 -14
  1620. package/dist/api/types/UtilFieldType.js +0 -16
  1621. package/dist/api/types/V2ConnectionForm.d.ts +0 -7
  1622. package/dist/api/types/V2ConnectionForm.js +0 -5
  1623. package/dist/api/types/V2CreateSharedConnectionResponseEnvelope.d.ts +0 -7
  1624. package/dist/api/types/V2CreateSharedConnectionResponseEnvelope.js +0 -5
  1625. package/dist/api/types/V2EnricherConfiguration.d.ts +0 -7
  1626. package/dist/api/types/V2EnricherConfiguration.js +0 -5
  1627. package/dist/api/types/V2EnricherMapping.d.ts +0 -7
  1628. package/dist/api/types/V2EnricherMapping.js +0 -5
  1629. package/dist/api/types/V2ExecutionLogType.d.ts +0 -12
  1630. package/dist/api/types/V2ExecutionLogType.js +0 -14
  1631. package/dist/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.d.ts +0 -6
  1632. package/dist/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.js +0 -5
  1633. package/dist/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.d.ts +0 -4
  1634. package/dist/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.js +0 -5
  1635. package/dist/api/types/V2SampleRecord.d.ts +0 -7
  1636. package/dist/api/types/V2SampleRecord.js +0 -5
  1637. package/dist/api/types/V2SchemaConfigurationFieldsItem.d.ts +0 -5
  1638. package/dist/api/types/V2SchemaConfigurationFieldsItem.js +0 -5
  1639. package/dist/api/types/V3BulkSyncSourceCapabilities.d.ts +0 -6
  1640. package/dist/api/types/V3BulkSyncSourceCapabilities.js +0 -5
  1641. package/dist/api/types/V4BulkSyncExecutionLogs.d.ts +0 -9
  1642. package/dist/api/types/V4BulkSyncExecutionLogs.js +0 -5
  1643. package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +0 -7
  1644. package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.js +0 -5
  1645. package/dist/api/types/V4BulkSyncScheduleApi.d.ts +0 -18
  1646. package/dist/api/types/V4BulkSyncScheduleApi.js +0 -5
  1647. package/dist/api/types/V4ExportSyncLogsEnvelope.d.ts +0 -8
  1648. package/dist/api/types/V4ExportSyncLogsEnvelope.js +0 -5
  1649. package/dist/api/types/V4ExportSyncLogsResponse.d.ts +0 -7
  1650. package/dist/api/types/V4ExportSyncLogsResponse.js +0 -5
  1651. package/dist/api/types/V4GlobalErrorSubscribersResponse.d.ts +0 -7
  1652. package/dist/api/types/V4GlobalErrorSubscribersResponse.js +0 -5
  1653. package/dist/api/types/V4QueryResultsEnvelope.d.ts +0 -8
  1654. package/dist/api/types/V4QueryResultsEnvelope.js +0 -5
  1655. package/dist/api/types/V4RunQueryEnvelope.d.ts +0 -7
  1656. package/dist/api/types/V4RunQueryEnvelope.js +0 -5
  1657. package/dist/api/types/V4RunQueryResult.d.ts +0 -19
  1658. package/dist/api/types/V4RunQueryResult.js +0 -5
  1659. package/dist/api/types/V4TargetCreator.d.ts +0 -10
  1660. package/dist/api/types/V4TargetCreator.js +0 -5
  1661. package/dist/api/types/V4TargetObjectsResponseEnvelope.d.ts +0 -8
  1662. package/dist/api/types/V4TargetObjectsResponseEnvelope.js +0 -5
  1663. package/dist/api/types/V4TargetPropertyValues.d.ts +0 -14
  1664. package/dist/api/types/V4TargetPropertyValues.js +0 -5
  1665. package/dist/api/types/V4TargetPropertyValuesEnvelope.d.ts +0 -7
  1666. package/dist/api/types/V4TargetPropertyValuesEnvelope.js +0 -5
  1667. package/dist/api/types/V4UserFieldRequest.d.ts +0 -14
  1668. package/dist/api/types/V4UserFieldRequest.js +0 -5
  1669. package/dist/api/types/Webhook.d.ts +0 -11
  1670. package/dist/api/types/Webhook.js +0 -5
  1671. package/dist/api/types/WebhookEnvelope.d.ts +0 -7
  1672. package/dist/api/types/WebhookEnvelope.js +0 -5
  1673. package/dist/api/types/WebhookListEnvelope.d.ts +0 -7
  1674. package/dist/api/types/WebhookListEnvelope.js +0 -5
  1675. package/dist/api/types/WorkTaskStatus.d.ts +0 -10
  1676. package/dist/api/types/WorkTaskStatus.js +0 -12
  1677. package/dist/api/types/index.d.ts +0 -208
  1678. package/dist/api/types/index.js +0 -224
  1679. package/dist/core/auth/BasicAuth.d.ts +0 -8
  1680. package/dist/core/auth/BasicAuth.js +0 -26
  1681. package/dist/core/auth/BearerToken.d.ts +0 -5
  1682. package/dist/core/auth/BearerToken.js +0 -15
  1683. package/dist/core/auth/index.d.ts +0 -2
  1684. package/dist/core/auth/index.js +0 -7
  1685. package/dist/core/fetcher/APIResponse.d.ts +0 -10
  1686. package/dist/core/fetcher/APIResponse.js +0 -2
  1687. package/dist/core/fetcher/Fetcher.d.ts +0 -36
  1688. package/dist/core/fetcher/Fetcher.js +0 -269
  1689. package/dist/core/fetcher/Supplier.d.ts +0 -4
  1690. package/dist/core/fetcher/Supplier.js +0 -22
  1691. package/dist/core/fetcher/getHeader.d.ts +0 -1
  1692. package/dist/core/fetcher/getHeader.js +0 -12
  1693. package/dist/core/fetcher/index.d.ts +0 -5
  1694. package/dist/core/fetcher/index.js +0 -9
  1695. package/dist/core/index.d.ts +0 -3
  1696. package/dist/core/index.js +0 -19
  1697. package/dist/core/runtime/index.d.ts +0 -1
  1698. package/dist/core/runtime/index.js +0 -5
  1699. package/dist/core/runtime/runtime.d.ts +0 -8
  1700. package/dist/core/runtime/runtime.js +0 -92
  1701. package/dist/environments.d.ts +0 -7
  1702. package/dist/environments.js +0 -9
  1703. package/dist/errors/PolytomicError.d.ts +0 -12
  1704. package/dist/errors/PolytomicError.js +0 -32
  1705. package/dist/errors/PolytomicTimeoutError.d.ts +0 -6
  1706. package/dist/errors/PolytomicTimeoutError.js +0 -13
  1707. package/dist/errors/index.d.ts +0 -2
  1708. package/dist/errors/index.js +0 -7
  1709. package/dist/index.d.ts +0 -4
  1710. package/dist/index.js +0 -34
  1711. package/jest.config.js +0 -5
  1712. /package/{dist/api/resources/identity → api/resources/entities}/client/index.d.ts +0 -0
  1713. /package/{dist/api/resources/bulkSync/client/requests → api/resources/entities/client}/index.js +0 -0
  1714. /package/{dist/api/resources/bulkSync/resources/executions → api/resources/entities}/index.d.ts +0 -0
  1715. /package/{dist/api/resources/bulkSync/resources/executions → api/resources/entities}/index.js +0 -0
  1716. /package/{dist/api/resources/bulkSync/resources/executions/client/requests/index.js → core/auth/AuthProvider.js} +0 -0
  1717. /package/{dist/api/resources/bulkSync/resources/schedules/client/requests/index.js → core/auth/AuthRequest.js} +0 -0
  1718. /package/{dist/api/resources/bulkSync/resources/schemas/client/requests/index.js → core/fetcher/EndpointMetadata.js} +0 -0
@@ -1,1068 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
- return new (P || (P = Promise))(function (resolve, reject) {
31
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
- step((generator = generator.apply(thisArg, _arguments || [])).next());
35
- });
36
- };
37
- var __importDefault = (this && this.__importDefault) || function (mod) {
38
- return (mod && mod.__esModule) ? mod : { "default": mod };
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.BulkSync = void 0;
42
- const environments = __importStar(require("../../../../environments"));
43
- const core = __importStar(require("../../../../core"));
44
- const Polytomic = __importStar(require("../../../index"));
45
- const url_join_1 = __importDefault(require("url-join"));
46
- const errors = __importStar(require("../../../../errors/index"));
47
- const Client_1 = require("../resources/executions/client/Client");
48
- const Client_2 = require("../resources/schemas/client/Client");
49
- const Client_3 = require("../resources/schedules/client/Client");
50
- class BulkSync {
51
- constructor(_options) {
52
- this._options = _options;
53
- }
54
- /**
55
- * Lists bulk syncs in the caller's organization.
56
- *
57
- * Results are returned as a single `data` array. This version of the endpoint
58
- * supports the `active` filter but does not support cursor pagination, `limit`,
59
- * or `page_token` query parameters.
60
- *
61
- * If you need a cursor-paginated bulk sync list, use API version `2025-09-18` or
62
- * later.
63
- *
64
- * > 📘 To retrieve a specific sync, use
65
- * > [`GET /api/bulk/syncs/{id}`](../../../api-reference/bulk-sync/get)
66
- * > instead of filtering the list client-side.
67
- *
68
- * @param {Polytomic.BulkSyncListRequest} request
69
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
70
- *
71
- * @throws {@link Polytomic.UnauthorizedError}
72
- * @throws {@link Polytomic.InternalServerError}
73
- *
74
- * @example
75
- * await client.bulkSync.list({
76
- * active: true
77
- * })
78
- */
79
- list(request = {}, requestOptions) {
80
- var _a;
81
- return __awaiter(this, void 0, void 0, function* () {
82
- const { active } = request;
83
- const _queryParams = {};
84
- if (active != null) {
85
- _queryParams["active"] = active.toString();
86
- }
87
- const _response = yield core.fetcher({
88
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, "api/bulk/syncs"),
89
- method: "GET",
90
- headers: {
91
- Authorization: yield this._getAuthorizationHeader(),
92
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
93
- ? yield core.Supplier.get(this._options.version)
94
- : undefined,
95
- "X-Fern-Language": "JavaScript",
96
- "X-Fern-SDK-Name": "polytomic",
97
- "X-Fern-SDK-Version": "1.18.1",
98
- "X-Fern-Runtime": core.RUNTIME.type,
99
- "X-Fern-Runtime-Version": core.RUNTIME.version,
100
- },
101
- contentType: "application/json",
102
- queryParameters: _queryParams,
103
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
104
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
105
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
106
- });
107
- if (_response.ok) {
108
- return _response.body;
109
- }
110
- if (_response.error.reason === "status-code") {
111
- switch (_response.error.statusCode) {
112
- case 401:
113
- throw new Polytomic.UnauthorizedError(_response.error.body);
114
- case 500:
115
- throw new Polytomic.InternalServerError(_response.error.body);
116
- default:
117
- throw new errors.PolytomicError({
118
- statusCode: _response.error.statusCode,
119
- body: _response.error.body,
120
- });
121
- }
122
- }
123
- switch (_response.error.reason) {
124
- case "non-json":
125
- throw new errors.PolytomicError({
126
- statusCode: _response.error.statusCode,
127
- body: _response.error.rawBody,
128
- });
129
- case "timeout":
130
- throw new errors.PolytomicTimeoutError();
131
- case "unknown":
132
- throw new errors.PolytomicError({
133
- message: _response.error.errorMessage,
134
- });
135
- }
136
- });
137
- }
138
- /**
139
- * Creates a new bulk sync from a source connection to a destination connection.
140
- *
141
- * Bulk syncs are used for the ELT pattern (Extract, Load, and Transform), where you want to sync un-transformed data to your data warehouses, databases, or cloud storage buckets like S3.
142
- *
143
- * All of the functionality described in [the product
144
- * documentation](https://docs.polytomic.com/docs/bulk-syncs) is configurable via
145
- * the API.
146
- *
147
- * Sample code examples:
148
- *
149
- * - [Bulk sync (ELT) from Salesforce to S3](../../../guides/code-examples/bulk-sync-elt-from-salesforce-to-s-3)
150
- * - [Bulk sync (ELT) from Salesforce to Snowflake](../../../guides/code-examples/bulk-sync-elt-from-salesforce-to-snowflake)
151
- * - [Bulk sync (ELT) from HubSpot to PostgreSQL](../../../guides/code-examples/bulk-sync-elt-from-hub-spot-to-postgre-sql)
152
- *
153
- * ## Connection specific configuration
154
- *
155
- * The `destination_configuration` is integration-specific configuration for the
156
- * selected bulk sync destination. This includes settings such as the output schema
157
- * and is required when creating a new sync.
158
- *
159
- * The `source_configuration` is optional. It allows configuration for how
160
- * Polytomic reads data from the source connection. This will not be available for
161
- * integrations that do not support additional configuration.
162
- *
163
- * Consult the [connection configurations](../../../guides/configuring-your-connections/overview)
164
- * to see configurations for particular integrations (for example, [here](../../../guides/configuring-your-connections/connections/postgre-sql#source-1) is the available source configuration for the PostgreSQL bulk sync source).
165
- *
166
- * ## Defaults and selection behavior
167
- *
168
- * If `schemas` is omitted, the sync is created with all available source schemas
169
- * selected. Pass `schemas` explicitly if you want the initial sync to include
170
- * only a subset of tables or objects.
171
- *
172
- * Schedule times are interpreted in UTC.
173
- *
174
- * When omitted, automatic discovery defaults are conservative:
175
- *
176
- * - `automatically_add_new_objects` defaults to not enabling newly discovered
177
- * source objects automatically.
178
- * - `automatically_add_new_fields` defaults to enabling newly discovered fields
179
- * on already selected objects.
180
- * - `normalize_names` defaults to enabled.
181
- *
182
- * @param {Polytomic.CreateBulkSyncRequest} request
183
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
184
- *
185
- * @throws {@link Polytomic.BadRequestError}
186
- * @throws {@link Polytomic.UnauthorizedError}
187
- * @throws {@link Polytomic.ForbiddenError}
188
- * @throws {@link Polytomic.UnprocessableEntityError}
189
- * @throws {@link Polytomic.InternalServerError}
190
- *
191
- * @example
192
- * await client.bulkSync.create({
193
- * destination_configuration: {
194
- * "schema": "my_schema"
195
- * },
196
- * destination_connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
197
- * name: "My Bulk Sync",
198
- * schedule: {
199
- * frequency: Polytomic.ScheduleFrequency.Manual
200
- * },
201
- * source_connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
202
- * })
203
- */
204
- create(request, requestOptions) {
205
- var _a;
206
- return __awaiter(this, void 0, void 0, function* () {
207
- const _response = yield core.fetcher({
208
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, "api/bulk/syncs"),
209
- method: "POST",
210
- headers: {
211
- Authorization: yield this._getAuthorizationHeader(),
212
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
213
- ? yield core.Supplier.get(this._options.version)
214
- : undefined,
215
- "X-Fern-Language": "JavaScript",
216
- "X-Fern-SDK-Name": "polytomic",
217
- "X-Fern-SDK-Version": "1.18.1",
218
- "X-Fern-Runtime": core.RUNTIME.type,
219
- "X-Fern-Runtime-Version": core.RUNTIME.version,
220
- },
221
- contentType: "application/json",
222
- body: request,
223
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
224
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
225
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
226
- });
227
- if (_response.ok) {
228
- return _response.body;
229
- }
230
- if (_response.error.reason === "status-code") {
231
- switch (_response.error.statusCode) {
232
- case 400:
233
- throw new Polytomic.BadRequestError(_response.error.body);
234
- case 401:
235
- throw new Polytomic.UnauthorizedError(_response.error.body);
236
- case 403:
237
- throw new Polytomic.ForbiddenError(_response.error.body);
238
- case 422:
239
- throw new Polytomic.UnprocessableEntityError(_response.error.body);
240
- case 500:
241
- throw new Polytomic.InternalServerError(_response.error.body);
242
- default:
243
- throw new errors.PolytomicError({
244
- statusCode: _response.error.statusCode,
245
- body: _response.error.body,
246
- });
247
- }
248
- }
249
- switch (_response.error.reason) {
250
- case "non-json":
251
- throw new errors.PolytomicError({
252
- statusCode: _response.error.statusCode,
253
- body: _response.error.rawBody,
254
- });
255
- case "timeout":
256
- throw new errors.PolytomicTimeoutError();
257
- case "unknown":
258
- throw new errors.PolytomicError({
259
- message: _response.error.errorMessage,
260
- });
261
- }
262
- });
263
- }
264
- /**
265
- * Returns a single bulk sync by ID.
266
- *
267
- * The response includes the sync's top-level configuration — source, destination,
268
- * schedules, and discovery settings.
269
- *
270
- * - To check whether the sync is running and see the most-recent execution result,
271
- * use [`GET /api/bulk/syncs/{id}/status`](../../../../api-reference/bulk-sync/get-status).
272
- * - To inspect which schemas are selected and how they are configured, use
273
- * [`GET /api/bulk/syncs/{id}/schemas`](../../../../api-reference/bulk-sync/schemas/list).
274
- *
275
- * @param {string} id
276
- * @param {Polytomic.BulkSyncGetRequest} request
277
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
278
- *
279
- * @throws {@link Polytomic.UnauthorizedError}
280
- * @throws {@link Polytomic.NotFoundError}
281
- *
282
- * @example
283
- * await client.bulkSync.get("248df4b7-aa70-47b8-a036-33ac447e668d", {
284
- * refresh_schemas: true
285
- * })
286
- */
287
- get(id, request = {}, requestOptions) {
288
- var _a;
289
- return __awaiter(this, void 0, void 0, function* () {
290
- const { refresh_schemas: refreshSchemas } = request;
291
- const _queryParams = {};
292
- if (refreshSchemas != null) {
293
- _queryParams["refresh_schemas"] = refreshSchemas.toString();
294
- }
295
- const _response = yield core.fetcher({
296
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}`),
297
- method: "GET",
298
- headers: {
299
- Authorization: yield this._getAuthorizationHeader(),
300
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
301
- ? yield core.Supplier.get(this._options.version)
302
- : undefined,
303
- "X-Fern-Language": "JavaScript",
304
- "X-Fern-SDK-Name": "polytomic",
305
- "X-Fern-SDK-Version": "1.18.1",
306
- "X-Fern-Runtime": core.RUNTIME.type,
307
- "X-Fern-Runtime-Version": core.RUNTIME.version,
308
- },
309
- contentType: "application/json",
310
- queryParameters: _queryParams,
311
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
312
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
313
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
314
- });
315
- if (_response.ok) {
316
- return _response.body;
317
- }
318
- if (_response.error.reason === "status-code") {
319
- switch (_response.error.statusCode) {
320
- case 401:
321
- throw new Polytomic.UnauthorizedError(_response.error.body);
322
- case 404:
323
- throw new Polytomic.NotFoundError(_response.error.body);
324
- default:
325
- throw new errors.PolytomicError({
326
- statusCode: _response.error.statusCode,
327
- body: _response.error.body,
328
- });
329
- }
330
- }
331
- switch (_response.error.reason) {
332
- case "non-json":
333
- throw new errors.PolytomicError({
334
- statusCode: _response.error.statusCode,
335
- body: _response.error.rawBody,
336
- });
337
- case "timeout":
338
- throw new errors.PolytomicTimeoutError();
339
- case "unknown":
340
- throw new errors.PolytomicError({
341
- message: _response.error.errorMessage,
342
- });
343
- }
344
- });
345
- }
346
- /**
347
- * Updates an existing bulk sync's top-level configuration.
348
- *
349
- * Updating a bulk sync is a **full replacement** of the sync's top-level
350
- * configuration. Every field in the request body is written to the sync; any
351
- * field you omit is cleared or reset to its default value.
352
- *
353
- * To make a partial change — for example, toggling `active` or swapping a
354
- * schedule — fetch the current sync with
355
- * [`GET /api/bulk/syncs/{id}`](../../../../api-reference/bulk-sync/get),
356
- * modify the fields you want to change, and send the complete object back in
357
- * the update request.
358
- *
359
- * Updates to `active`, `schedules`, and `policies` take effect immediately.
360
- * Changes to source or destination configuration take effect on the sync's
361
- * next execution.
362
- *
363
- * Because omitted fields are reset to their defaults, the discovery and
364
- * naming options behave the same as on create when left out:
365
- *
366
- * - `automatically_add_new_objects` resets to not enabling newly discovered
367
- * source objects automatically.
368
- * - `automatically_add_new_fields` resets to enabling newly discovered
369
- * fields on already selected objects.
370
- * - `normalize_names` resets to enabled.
371
- *
372
- * Send the existing values explicitly if you want to preserve a non-default or
373
- * non-empty setting, including schema and field selections.
374
- *
375
- * > 📘 Updating schemas
376
- * >
377
- * > Schema updates are not performed through this endpoint. Use the
378
- * > [Update Bulk Sync Schemas](../../../../api-reference/bulk-sync/schemas/patch)
379
- * > endpoint to change a subset of schemas, or
380
- * > [Update Bulk Sync Schema](../../../../api-reference/bulk-sync/schemas/update)
381
- * > to replace a single schema's configuration.
382
- *
383
- * @param {string} id
384
- * @param {Polytomic.UpdateBulkSyncRequest} request
385
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
386
- *
387
- * @throws {@link Polytomic.BadRequestError}
388
- * @throws {@link Polytomic.UnauthorizedError}
389
- * @throws {@link Polytomic.ForbiddenError}
390
- * @throws {@link Polytomic.NotFoundError}
391
- * @throws {@link Polytomic.InternalServerError}
392
- *
393
- * @example
394
- * await client.bulkSync.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
395
- * destination_configuration: {
396
- * "schema": "my_schema"
397
- * },
398
- * destination_connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
399
- * name: "My Bulk Sync",
400
- * schedule: {
401
- * frequency: Polytomic.ScheduleFrequency.Manual
402
- * },
403
- * source_connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
404
- * })
405
- */
406
- update(id, request, requestOptions) {
407
- var _a;
408
- return __awaiter(this, void 0, void 0, function* () {
409
- const _response = yield core.fetcher({
410
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}`),
411
- method: "PUT",
412
- headers: {
413
- Authorization: yield this._getAuthorizationHeader(),
414
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
415
- ? yield core.Supplier.get(this._options.version)
416
- : undefined,
417
- "X-Fern-Language": "JavaScript",
418
- "X-Fern-SDK-Name": "polytomic",
419
- "X-Fern-SDK-Version": "1.18.1",
420
- "X-Fern-Runtime": core.RUNTIME.type,
421
- "X-Fern-Runtime-Version": core.RUNTIME.version,
422
- },
423
- contentType: "application/json",
424
- body: request,
425
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
426
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
427
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
428
- });
429
- if (_response.ok) {
430
- return _response.body;
431
- }
432
- if (_response.error.reason === "status-code") {
433
- switch (_response.error.statusCode) {
434
- case 400:
435
- throw new Polytomic.BadRequestError(_response.error.body);
436
- case 401:
437
- throw new Polytomic.UnauthorizedError(_response.error.body);
438
- case 403:
439
- throw new Polytomic.ForbiddenError(_response.error.body);
440
- case 404:
441
- throw new Polytomic.NotFoundError(_response.error.body);
442
- case 500:
443
- throw new Polytomic.InternalServerError(_response.error.body);
444
- default:
445
- throw new errors.PolytomicError({
446
- statusCode: _response.error.statusCode,
447
- body: _response.error.body,
448
- });
449
- }
450
- }
451
- switch (_response.error.reason) {
452
- case "non-json":
453
- throw new errors.PolytomicError({
454
- statusCode: _response.error.statusCode,
455
- body: _response.error.rawBody,
456
- });
457
- case "timeout":
458
- throw new errors.PolytomicTimeoutError();
459
- case "unknown":
460
- throw new errors.PolytomicError({
461
- message: _response.error.errorMessage,
462
- });
463
- }
464
- });
465
- }
466
- /**
467
- * Deletes a bulk sync, cancelling any running executions.
468
- *
469
- * Any execution that is currently running is cancelled before the sync record is
470
- * removed.
471
- *
472
- * > 🚧 All associated schedules, schema configurations, and execution history are
473
- * > deleted along with the sync.
474
- *
475
- * @param {string} id
476
- * @param {Polytomic.BulkSyncRemoveRequest} request
477
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
478
- *
479
- * @throws {@link Polytomic.UnauthorizedError}
480
- * @throws {@link Polytomic.ForbiddenError}
481
- * @throws {@link Polytomic.NotFoundError}
482
- * @throws {@link Polytomic.InternalServerError}
483
- *
484
- * @example
485
- * await client.bulkSync.remove("248df4b7-aa70-47b8-a036-33ac447e668d", {
486
- * refresh_schemas: true
487
- * })
488
- */
489
- remove(id, request = {}, requestOptions) {
490
- var _a;
491
- return __awaiter(this, void 0, void 0, function* () {
492
- const { refresh_schemas: refreshSchemas } = request;
493
- const _queryParams = {};
494
- if (refreshSchemas != null) {
495
- _queryParams["refresh_schemas"] = refreshSchemas.toString();
496
- }
497
- const _response = yield core.fetcher({
498
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}`),
499
- method: "DELETE",
500
- headers: {
501
- Authorization: yield this._getAuthorizationHeader(),
502
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
503
- ? yield core.Supplier.get(this._options.version)
504
- : undefined,
505
- "X-Fern-Language": "JavaScript",
506
- "X-Fern-SDK-Name": "polytomic",
507
- "X-Fern-SDK-Version": "1.18.1",
508
- "X-Fern-Runtime": core.RUNTIME.type,
509
- "X-Fern-Runtime-Version": core.RUNTIME.version,
510
- },
511
- contentType: "application/json",
512
- queryParameters: _queryParams,
513
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
514
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
515
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
516
- });
517
- if (_response.ok) {
518
- return;
519
- }
520
- if (_response.error.reason === "status-code") {
521
- switch (_response.error.statusCode) {
522
- case 401:
523
- throw new Polytomic.UnauthorizedError(_response.error.body);
524
- case 403:
525
- throw new Polytomic.ForbiddenError(_response.error.body);
526
- case 404:
527
- throw new Polytomic.NotFoundError(_response.error.body);
528
- case 500:
529
- throw new Polytomic.InternalServerError(_response.error.body);
530
- default:
531
- throw new errors.PolytomicError({
532
- statusCode: _response.error.statusCode,
533
- body: _response.error.body,
534
- });
535
- }
536
- }
537
- switch (_response.error.reason) {
538
- case "non-json":
539
- throw new errors.PolytomicError({
540
- statusCode: _response.error.statusCode,
541
- body: _response.error.rawBody,
542
- });
543
- case "timeout":
544
- throw new errors.PolytomicTimeoutError();
545
- case "unknown":
546
- throw new errors.PolytomicError({
547
- message: _response.error.errorMessage,
548
- });
549
- }
550
- });
551
- }
552
- /**
553
- * Sets whether a bulk sync is active.
554
- *
555
- * Only active syncs are eligible to execute on their configured schedule.
556
- * Deactivating a sync prevents future scheduled runs and requests cancellation of
557
- * any execution that is currently in progress.
558
- *
559
- * > 📘 To start or stop a running execution directly, use
560
- * > [`POST /api/bulk/syncs/{id}/executions`](../../../../../api-reference/bulk-sync/start)
561
- * > or
562
- * > [`POST /api/bulk/syncs/{id}/cancel`](../../../../../api-reference/bulk-sync/cancel).
563
- *
564
- * @param {string} id
565
- * @param {Polytomic.ActivateSyncInput} request
566
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
567
- *
568
- * @throws {@link Polytomic.UnauthorizedError}
569
- * @throws {@link Polytomic.ForbiddenError}
570
- * @throws {@link Polytomic.NotFoundError}
571
- * @throws {@link Polytomic.InternalServerError}
572
- *
573
- * @example
574
- * await client.bulkSync.activate("248df4b7-aa70-47b8-a036-33ac447e668d", {
575
- * active: true
576
- * })
577
- */
578
- activate(id, request, requestOptions) {
579
- var _a;
580
- return __awaiter(this, void 0, void 0, function* () {
581
- const _response = yield core.fetcher({
582
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}/activate`),
583
- method: "POST",
584
- headers: {
585
- Authorization: yield this._getAuthorizationHeader(),
586
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
587
- ? yield core.Supplier.get(this._options.version)
588
- : undefined,
589
- "X-Fern-Language": "JavaScript",
590
- "X-Fern-SDK-Name": "polytomic",
591
- "X-Fern-SDK-Version": "1.18.1",
592
- "X-Fern-Runtime": core.RUNTIME.type,
593
- "X-Fern-Runtime-Version": core.RUNTIME.version,
594
- },
595
- contentType: "application/json",
596
- body: request,
597
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
598
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
599
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
600
- });
601
- if (_response.ok) {
602
- return _response.body;
603
- }
604
- if (_response.error.reason === "status-code") {
605
- switch (_response.error.statusCode) {
606
- case 401:
607
- throw new Polytomic.UnauthorizedError(_response.error.body);
608
- case 403:
609
- throw new Polytomic.ForbiddenError(_response.error.body);
610
- case 404:
611
- throw new Polytomic.NotFoundError(_response.error.body);
612
- case 500:
613
- throw new Polytomic.InternalServerError(_response.error.body);
614
- default:
615
- throw new errors.PolytomicError({
616
- statusCode: _response.error.statusCode,
617
- body: _response.error.body,
618
- });
619
- }
620
- }
621
- switch (_response.error.reason) {
622
- case "non-json":
623
- throw new errors.PolytomicError({
624
- statusCode: _response.error.statusCode,
625
- body: _response.error.rawBody,
626
- });
627
- case "timeout":
628
- throw new errors.PolytomicTimeoutError();
629
- case "unknown":
630
- throw new errors.PolytomicError({
631
- message: _response.error.errorMessage,
632
- });
633
- }
634
- });
635
- }
636
- /**
637
- * Requests cancellation of any running executions on a bulk sync.
638
- *
639
- * Cancellation is asynchronous. A successful response means the cancellation
640
- * signal has been queued; the running execution continues until the signal is
641
- * processed. Poll `GET /api/bulk/syncs/{id}/status` until the current execution
642
- * reaches a terminal state (`completed`, `canceled`, or `failed`) to confirm
643
- * cancellation has taken effect.
644
- *
645
- * @param {string} id - The active execution of this bulk sync ID will be cancelled.
646
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
647
- *
648
- * @throws {@link Polytomic.UnauthorizedError}
649
- * @throws {@link Polytomic.ForbiddenError}
650
- * @throws {@link Polytomic.NotFoundError}
651
- * @throws {@link Polytomic.InternalServerError}
652
- *
653
- * @example
654
- * await client.bulkSync.cancel("248df4b7-aa70-47b8-a036-33ac447e668d")
655
- */
656
- cancel(id, requestOptions) {
657
- var _a;
658
- return __awaiter(this, void 0, void 0, function* () {
659
- const _response = yield core.fetcher({
660
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}/cancel`),
661
- method: "POST",
662
- headers: {
663
- Authorization: yield this._getAuthorizationHeader(),
664
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
665
- ? yield core.Supplier.get(this._options.version)
666
- : undefined,
667
- "X-Fern-Language": "JavaScript",
668
- "X-Fern-SDK-Name": "polytomic",
669
- "X-Fern-SDK-Version": "1.18.1",
670
- "X-Fern-Runtime": core.RUNTIME.type,
671
- "X-Fern-Runtime-Version": core.RUNTIME.version,
672
- },
673
- contentType: "application/json",
674
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
675
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
676
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
677
- });
678
- if (_response.ok) {
679
- return _response.body;
680
- }
681
- if (_response.error.reason === "status-code") {
682
- switch (_response.error.statusCode) {
683
- case 401:
684
- throw new Polytomic.UnauthorizedError(_response.error.body);
685
- case 403:
686
- throw new Polytomic.ForbiddenError(_response.error.body);
687
- case 404:
688
- throw new Polytomic.NotFoundError(_response.error.body);
689
- case 500:
690
- throw new Polytomic.InternalServerError(_response.error.body);
691
- default:
692
- throw new errors.PolytomicError({
693
- statusCode: _response.error.statusCode,
694
- body: _response.error.body,
695
- });
696
- }
697
- }
698
- switch (_response.error.reason) {
699
- case "non-json":
700
- throw new errors.PolytomicError({
701
- statusCode: _response.error.statusCode,
702
- body: _response.error.rawBody,
703
- });
704
- case "timeout":
705
- throw new errors.PolytomicTimeoutError();
706
- case "unknown":
707
- throw new errors.PolytomicError({
708
- message: _response.error.errorMessage,
709
- });
710
- }
711
- });
712
- }
713
- /**
714
- * Starts a new execution of a bulk sync.
715
- *
716
- * This endpoint returns the execution record immediately after the run is queued
717
- * or started. Use the execution ID with the bulk-sync execution endpoints if you
718
- * need to monitor progress in detail.
719
- *
720
- * ## Execution modes
721
- *
722
- * - Set `test=true` to validate the sync without writing to the destination.
723
- * - Use `resync_mode` for destructive or full-refresh style reruns.
724
- * - `test` and `resync_mode` are mutually exclusive.
725
- *
726
- * The legacy `resync` boolean is no longer accepted on this v5 endpoint. Send
727
- * `resync_mode` instead.
728
- *
729
- * If another execution is already running, the endpoint returns `409 Conflict`.
730
- *
731
- * @param {string} id - Unique identifier of the bulk sync.
732
- * @param {Polytomic.StartBulkSyncRequest} request
733
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
734
- *
735
- * @throws {@link Polytomic.BadRequestError}
736
- * @throws {@link Polytomic.UnauthorizedError}
737
- * @throws {@link Polytomic.ConflictError}
738
- *
739
- * @example
740
- * await client.bulkSync.start("248df4b7-aa70-47b8-a036-33ac447e668d")
741
- */
742
- start(id, request = {}, requestOptions) {
743
- var _a;
744
- return __awaiter(this, void 0, void 0, function* () {
745
- const _response = yield core.fetcher({
746
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}/executions`),
747
- method: "POST",
748
- headers: {
749
- Authorization: yield this._getAuthorizationHeader(),
750
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
751
- ? yield core.Supplier.get(this._options.version)
752
- : undefined,
753
- "X-Fern-Language": "JavaScript",
754
- "X-Fern-SDK-Name": "polytomic",
755
- "X-Fern-SDK-Version": "1.18.1",
756
- "X-Fern-Runtime": core.RUNTIME.type,
757
- "X-Fern-Runtime-Version": core.RUNTIME.version,
758
- },
759
- contentType: "application/json",
760
- body: request,
761
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
762
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
763
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
764
- });
765
- if (_response.ok) {
766
- return _response.body;
767
- }
768
- if (_response.error.reason === "status-code") {
769
- switch (_response.error.statusCode) {
770
- case 400:
771
- throw new Polytomic.BadRequestError(_response.error.body);
772
- case 401:
773
- throw new Polytomic.UnauthorizedError(_response.error.body);
774
- case 409:
775
- throw new Polytomic.ConflictError(_response.error.body);
776
- default:
777
- throw new errors.PolytomicError({
778
- statusCode: _response.error.statusCode,
779
- body: _response.error.body,
780
- });
781
- }
782
- }
783
- switch (_response.error.reason) {
784
- case "non-json":
785
- throw new errors.PolytomicError({
786
- statusCode: _response.error.statusCode,
787
- body: _response.error.rawBody,
788
- });
789
- case "timeout":
790
- throw new errors.PolytomicTimeoutError();
791
- case "unknown":
792
- throw new errors.PolytomicError({
793
- message: _response.error.errorMessage,
794
- });
795
- }
796
- });
797
- }
798
- /**
799
- * Returns the current status of a bulk sync.
800
- *
801
- * The response includes the sync's current active/inactive state together with
802
- * information about the most recent execution — its status, start time, and any
803
- * errors — making this endpoint well-suited for health checks and monitoring
804
- * dashboards.
805
- *
806
- * For the complete execution history, use
807
- * [`GET /api/bulk/syncs/{id}/executions`](../../../../../api-reference/bulk-sync/executions/list).
808
- * For the full details of a specific run, including per-schema breakdowns, use
809
- * [`GET /api/bulk/syncs/{id}/executions/{exec_id}`](../../../../../api-reference/bulk-sync/executions/get).
810
- *
811
- * @param {string} id - Unique identifier of the bulk sync.
812
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
813
- *
814
- * @throws {@link Polytomic.UnauthorizedError}
815
- * @throws {@link Polytomic.NotFoundError}
816
- * @throws {@link Polytomic.InternalServerError}
817
- *
818
- * @example
819
- * await client.bulkSync.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d")
820
- */
821
- getStatus(id, requestOptions) {
822
- var _a;
823
- return __awaiter(this, void 0, void 0, function* () {
824
- const _response = yield core.fetcher({
825
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/bulk/syncs/${encodeURIComponent(id)}/status`),
826
- method: "GET",
827
- headers: {
828
- Authorization: yield this._getAuthorizationHeader(),
829
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
830
- ? yield core.Supplier.get(this._options.version)
831
- : undefined,
832
- "X-Fern-Language": "JavaScript",
833
- "X-Fern-SDK-Name": "polytomic",
834
- "X-Fern-SDK-Version": "1.18.1",
835
- "X-Fern-Runtime": core.RUNTIME.type,
836
- "X-Fern-Runtime-Version": core.RUNTIME.version,
837
- },
838
- contentType: "application/json",
839
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
840
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
841
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
842
- });
843
- if (_response.ok) {
844
- return _response.body;
845
- }
846
- if (_response.error.reason === "status-code") {
847
- switch (_response.error.statusCode) {
848
- case 401:
849
- throw new Polytomic.UnauthorizedError(_response.error.body);
850
- case 404:
851
- throw new Polytomic.NotFoundError(_response.error.body);
852
- case 500:
853
- throw new Polytomic.InternalServerError(_response.error.body);
854
- default:
855
- throw new errors.PolytomicError({
856
- statusCode: _response.error.statusCode,
857
- body: _response.error.body,
858
- });
859
- }
860
- }
861
- switch (_response.error.reason) {
862
- case "non-json":
863
- throw new errors.PolytomicError({
864
- statusCode: _response.error.statusCode,
865
- body: _response.error.rawBody,
866
- });
867
- case "timeout":
868
- throw new errors.PolytomicTimeoutError();
869
- case "unknown":
870
- throw new errors.PolytomicError({
871
- message: _response.error.errorMessage,
872
- });
873
- }
874
- });
875
- }
876
- /**
877
- * Lists the schemas (tables or objects) available on a connection for use as a bulk sync source, optionally including per-schema field details.
878
- *
879
- * The response reflects what the
880
- * connection currently has cached; if the upstream source has changed, trigger
881
- * a refresh first with
882
- * [`POST /api/connections/{id}/schemas/refresh`](../../../../../api-reference/schemas/refresh).
883
- *
884
- * These are the schemas available for selection, not the schemas already
885
- * configured on any particular sync. To inspect schemas on a running sync, use
886
- * [`GET /api/bulk/syncs/{id}/schemas`](../../../../../api-reference/bulk-sync/schemas/list).
887
- *
888
- * Pass `include_fields=true` to receive per-schema field details in a single call.
889
- * Omit it when you only need the schema list, as field enumeration can be slow for
890
- * large sources.
891
- *
892
- * @param {string} id - Unique identifier of the connection.
893
- * @param {Polytomic.BulkSyncGetSourceRequest} request
894
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
895
- *
896
- * @throws {@link Polytomic.BadRequestError}
897
- * @throws {@link Polytomic.UnauthorizedError}
898
- * @throws {@link Polytomic.NotFoundError}
899
- * @throws {@link Polytomic.InternalServerError}
900
- *
901
- * @example
902
- * await client.bulkSync.getSource("248df4b7-aa70-47b8-a036-33ac447e668d", {
903
- * include_fields: true
904
- * })
905
- */
906
- getSource(id, request = {}, requestOptions) {
907
- var _a;
908
- return __awaiter(this, void 0, void 0, function* () {
909
- const { include_fields: includeFields } = request;
910
- const _queryParams = {};
911
- if (includeFields != null) {
912
- _queryParams["include_fields"] = includeFields.toString();
913
- }
914
- const _response = yield core.fetcher({
915
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/connections/${encodeURIComponent(id)}/bulksync/source`),
916
- method: "GET",
917
- headers: {
918
- Authorization: yield this._getAuthorizationHeader(),
919
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
920
- ? yield core.Supplier.get(this._options.version)
921
- : undefined,
922
- "X-Fern-Language": "JavaScript",
923
- "X-Fern-SDK-Name": "polytomic",
924
- "X-Fern-SDK-Version": "1.18.1",
925
- "X-Fern-Runtime": core.RUNTIME.type,
926
- "X-Fern-Runtime-Version": core.RUNTIME.version,
927
- },
928
- contentType: "application/json",
929
- queryParameters: _queryParams,
930
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
931
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
932
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
933
- });
934
- if (_response.ok) {
935
- return _response.body;
936
- }
937
- if (_response.error.reason === "status-code") {
938
- switch (_response.error.statusCode) {
939
- case 400:
940
- throw new Polytomic.BadRequestError(_response.error.body);
941
- case 401:
942
- throw new Polytomic.UnauthorizedError(_response.error.body);
943
- case 404:
944
- throw new Polytomic.NotFoundError(_response.error.body);
945
- case 500:
946
- throw new Polytomic.InternalServerError(_response.error.body);
947
- default:
948
- throw new errors.PolytomicError({
949
- statusCode: _response.error.statusCode,
950
- body: _response.error.body,
951
- });
952
- }
953
- }
954
- switch (_response.error.reason) {
955
- case "non-json":
956
- throw new errors.PolytomicError({
957
- statusCode: _response.error.statusCode,
958
- body: _response.error.rawBody,
959
- });
960
- case "timeout":
961
- throw new errors.PolytomicTimeoutError();
962
- case "unknown":
963
- throw new errors.PolytomicError({
964
- message: _response.error.errorMessage,
965
- });
966
- }
967
- });
968
- }
969
- /**
970
- * Describes the destination configuration schema a connection accepts when used as a bulk sync destination.
971
- *
972
- * The response is a JSON Schema object describing the shape of the
973
- * `destination_configuration` field you must supply when
974
- * [creating](../../../../../api-reference/bulk-sync/create) or
975
- * [updating](../../../../../api-reference/bulk-sync/update) a bulk sync that uses this
976
- * connection as its destination. Required fields vary by connection type.
977
- *
978
- * > 📘 Fetch this endpoint once per connection type rather than once per sync.
979
- * > The configuration schema is the same for all syncs sharing the same
980
- * > destination connection.
981
- *
982
- * @param {string} id
983
- * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
984
- *
985
- * @throws {@link Polytomic.BadRequestError}
986
- * @throws {@link Polytomic.UnauthorizedError}
987
- * @throws {@link Polytomic.ForbiddenError}
988
- * @throws {@link Polytomic.InternalServerError}
989
- *
990
- * @example
991
- * await client.bulkSync.getDestination("248df4b7-aa70-47b8-a036-33ac447e668d")
992
- */
993
- getDestination(id, requestOptions) {
994
- var _a;
995
- return __awaiter(this, void 0, void 0, function* () {
996
- const _response = yield core.fetcher({
997
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/connections/${encodeURIComponent(id)}/bulksync/target`),
998
- method: "GET",
999
- headers: {
1000
- Authorization: yield this._getAuthorizationHeader(),
1001
- "X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
1002
- ? yield core.Supplier.get(this._options.version)
1003
- : undefined,
1004
- "X-Fern-Language": "JavaScript",
1005
- "X-Fern-SDK-Name": "polytomic",
1006
- "X-Fern-SDK-Version": "1.18.1",
1007
- "X-Fern-Runtime": core.RUNTIME.type,
1008
- "X-Fern-Runtime-Version": core.RUNTIME.version,
1009
- },
1010
- contentType: "application/json",
1011
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
1012
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
1013
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1014
- });
1015
- if (_response.ok) {
1016
- return _response.body;
1017
- }
1018
- if (_response.error.reason === "status-code") {
1019
- switch (_response.error.statusCode) {
1020
- case 400:
1021
- throw new Polytomic.BadRequestError(_response.error.body);
1022
- case 401:
1023
- throw new Polytomic.UnauthorizedError(_response.error.body);
1024
- case 403:
1025
- throw new Polytomic.ForbiddenError(_response.error.body);
1026
- case 500:
1027
- throw new Polytomic.InternalServerError(_response.error.body);
1028
- default:
1029
- throw new errors.PolytomicError({
1030
- statusCode: _response.error.statusCode,
1031
- body: _response.error.body,
1032
- });
1033
- }
1034
- }
1035
- switch (_response.error.reason) {
1036
- case "non-json":
1037
- throw new errors.PolytomicError({
1038
- statusCode: _response.error.statusCode,
1039
- body: _response.error.rawBody,
1040
- });
1041
- case "timeout":
1042
- throw new errors.PolytomicTimeoutError();
1043
- case "unknown":
1044
- throw new errors.PolytomicError({
1045
- message: _response.error.errorMessage,
1046
- });
1047
- }
1048
- });
1049
- }
1050
- get executions() {
1051
- var _a;
1052
- return ((_a = this._executions) !== null && _a !== void 0 ? _a : (this._executions = new Client_1.Executions(this._options)));
1053
- }
1054
- get schemas() {
1055
- var _a;
1056
- return ((_a = this._schemas) !== null && _a !== void 0 ? _a : (this._schemas = new Client_2.Schemas(this._options)));
1057
- }
1058
- get schedules() {
1059
- var _a;
1060
- return ((_a = this._schedules) !== null && _a !== void 0 ? _a : (this._schedules = new Client_3.Schedules(this._options)));
1061
- }
1062
- _getAuthorizationHeader() {
1063
- return __awaiter(this, void 0, void 0, function* () {
1064
- return `Bearer ${yield core.Supplier.get(this._options.token)}`;
1065
- });
1066
- }
1067
- }
1068
- exports.BulkSync = BulkSync;