polytomic 1.5.0 → 1.8.4

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 (481) hide show
  1. package/Client.d.ts +10 -0
  2. package/Client.js +25 -20
  3. package/api/errors/BadRequestError.d.ts +2 -2
  4. package/api/errors/BadRequestError.js +1 -1
  5. package/api/errors/ForbiddenError.d.ts +2 -2
  6. package/api/errors/ForbiddenError.js +1 -1
  7. package/api/errors/InternalServerError.d.ts +2 -2
  8. package/api/errors/InternalServerError.js +1 -1
  9. package/api/errors/NotFoundError.d.ts +2 -2
  10. package/api/errors/NotFoundError.js +1 -1
  11. package/api/errors/UnauthorizedError.d.ts +2 -2
  12. package/api/errors/UnauthorizedError.js +1 -1
  13. package/api/errors/UnprocessableEntityError.d.ts +2 -2
  14. package/api/errors/UnprocessableEntityError.js +1 -1
  15. package/api/resources/bulkSync/client/Client.d.ts +54 -11
  16. package/api/resources/bulkSync/client/Client.js +106 -40
  17. package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -1
  18. package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -1
  19. package/api/resources/bulkSync/client/requests/index.d.ts +6 -6
  20. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +31 -3
  21. package/api/resources/bulkSync/resources/executions/client/Client.js +106 -10
  22. package/api/resources/bulkSync/resources/executions/client/index.d.ts +1 -1
  23. package/api/resources/bulkSync/resources/executions/client/index.js +15 -0
  24. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.d.ts +24 -0
  25. package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  26. package/api/resources/bulkSync/resources/executions/client/requests/index.js +2 -0
  27. package/api/resources/bulkSync/resources/index.d.ts +1 -0
  28. package/api/resources/bulkSync/resources/index.js +1 -0
  29. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +29 -5
  30. package/api/resources/bulkSync/resources/schemas/client/Client.js +48 -19
  31. package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +1 -1
  32. package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +1 -1
  33. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +2 -1
  34. package/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +3 -3
  35. package/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.d.ts +1 -1
  36. package/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.d.ts +1 -1
  37. package/api/resources/bulkSync/types/index.d.ts +0 -4
  38. package/api/resources/bulkSync/types/index.js +0 -4
  39. package/api/resources/connections/client/Client.d.ts +40 -9
  40. package/api/resources/connections/client/Client.js +78 -30
  41. package/api/resources/connections/client/requests/index.d.ts +4 -4
  42. package/api/resources/events/client/Client.d.ts +15 -3
  43. package/api/resources/events/client/Client.js +19 -8
  44. package/api/resources/events/client/requests/index.d.ts +1 -1
  45. package/api/resources/identity/client/Client.d.ts +11 -2
  46. package/api/resources/identity/client/Client.js +10 -5
  47. package/api/resources/index.d.ts +2 -0
  48. package/api/resources/index.js +3 -1
  49. package/api/resources/jobs/client/Client.d.ts +13 -2
  50. package/api/resources/jobs/client/Client.js +13 -6
  51. package/api/resources/modelSync/client/Client.d.ts +65 -22
  52. package/api/resources/modelSync/client/Client.js +135 -60
  53. package/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +4 -7
  54. package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +1 -1
  55. package/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +4 -7
  56. package/api/resources/modelSync/client/requests/index.d.ts +6 -6
  57. package/api/resources/modelSync/resources/executions/client/Client.d.ts +30 -5
  58. package/api/resources/modelSync/resources/executions/client/Client.js +48 -18
  59. package/api/resources/models/client/Client.d.ts +46 -9
  60. package/api/resources/models/client/Client.js +85 -31
  61. package/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.d.ts +1 -1
  62. package/api/resources/models/client/requests/ModelsCreateRequest.d.ts +1 -1
  63. package/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +1 -1
  64. package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -1
  65. package/api/resources/models/client/requests/index.d.ts +7 -7
  66. package/api/resources/organization/client/Client.d.ts +33 -6
  67. package/api/resources/organization/client/Client.js +55 -20
  68. package/api/resources/organization/client/requests/index.d.ts +2 -2
  69. package/api/resources/permissions/client/Client.d.ts +7 -0
  70. package/api/resources/permissions/resources/policies/client/Client.d.ts +28 -6
  71. package/api/resources/permissions/resources/policies/client/Client.js +50 -20
  72. package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -1
  73. package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -1
  74. package/api/resources/permissions/resources/policies/client/requests/index.d.ts +2 -2
  75. package/api/resources/permissions/resources/roles/client/Client.d.ts +28 -6
  76. package/api/resources/permissions/resources/roles/client/Client.js +50 -20
  77. package/api/resources/permissions/resources/roles/client/requests/index.d.ts +2 -2
  78. package/api/resources/queryRunner/client/Client.d.ts +58 -0
  79. package/api/resources/queryRunner/client/Client.js +223 -0
  80. package/api/resources/queryRunner/client/index.d.ts +1 -0
  81. package/api/resources/queryRunner/client/index.js +17 -0
  82. package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +10 -0
  83. package/api/resources/queryRunner/client/requests/V4RunQueryRequest.d.ts +15 -0
  84. package/api/resources/queryRunner/client/requests/index.d.ts +2 -0
  85. package/api/resources/queryRunner/client/requests/index.js +2 -0
  86. package/api/resources/queryRunner/index.d.ts +1 -0
  87. package/api/resources/queryRunner/index.js +17 -0
  88. package/api/resources/schemas/client/Client.d.ts +26 -5
  89. package/api/resources/schemas/client/Client.js +44 -18
  90. package/api/resources/users/client/Client.d.ts +45 -7
  91. package/api/resources/users/client/Client.js +75 -26
  92. package/api/resources/users/client/requests/index.d.ts +3 -3
  93. package/api/resources/webhooks/client/Client.d.ts +32 -6
  94. package/api/resources/webhooks/client/Client.js +54 -20
  95. package/api/resources/webhooks/client/requests/index.d.ts +2 -2
  96. package/api/types/ActivateSyncEnvelope.d.ts +1 -1
  97. package/api/types/ApiKeyResponseEnvelope.d.ts +1 -1
  98. package/api/types/BulkFilter.d.ts +10 -0
  99. package/api/types/BulkItemizedSchedule.d.ts +1 -1
  100. package/api/types/BulkMultiScheduleConfiguration.d.ts +2 -2
  101. package/api/types/BulkSchedule.d.ts +1 -1
  102. package/api/types/BulkSchema.d.ts +2 -1
  103. package/api/types/BulkSchemaEnvelope.d.ts +1 -1
  104. package/api/types/BulkSyncCanceledEvent.d.ts +11 -0
  105. package/api/types/BulkSyncCompletedEvent.d.ts +12 -0
  106. package/api/types/BulkSyncCompletedWithErrorEvent.d.ts +12 -0
  107. package/api/types/BulkSyncDest.d.ts +1 -1
  108. package/api/types/BulkSyncDestEnvelope.d.ts +1 -1
  109. package/api/types/BulkSyncExecution.d.ts +1 -1
  110. package/api/types/BulkSyncExecutionEnvelope.d.ts +1 -1
  111. package/api/types/BulkSyncExecutionStatus.d.ts +10 -0
  112. package/api/types/BulkSyncFailedEvent.d.ts +12 -0
  113. package/api/types/BulkSyncFailedEvent.js +5 -0
  114. package/api/types/BulkSyncListEnvelope.d.ts +1 -1
  115. package/api/types/BulkSyncResponse.d.ts +1 -1
  116. package/api/types/BulkSyncResponseEnvelope.d.ts +1 -1
  117. package/api/types/BulkSyncRunningEvent.d.ts +11 -0
  118. package/api/types/BulkSyncRunningEvent.js +5 -0
  119. package/api/types/BulkSyncSchemaExecution.d.ts +1 -1
  120. package/api/types/BulkSyncSchemaExecutionStatus.d.ts +15 -0
  121. package/api/types/BulkSyncSchemaExecutionStatus.js +5 -0
  122. package/api/types/BulkSyncSource.d.ts +1 -1
  123. package/api/types/BulkSyncSourceEnvelope.d.ts +1 -1
  124. package/api/types/BulkSyncSourceSchemaEnvelope.d.ts +1 -1
  125. package/api/types/BulkSyncSourceStatusEnvelope.d.ts +1 -1
  126. package/api/types/BulkSyncStatusEnvelope.d.ts +1 -1
  127. package/api/types/BulkSyncStatusResponse.d.ts +1 -1
  128. package/api/types/ConnectCardResponseEnvelope.d.ts +1 -1
  129. package/api/types/ConnectionListResponseEnvelope.d.ts +1 -1
  130. package/api/types/ConnectionMetaResponse.d.ts +1 -1
  131. package/api/types/ConnectionParameterValuesResp.d.ts +1 -1
  132. package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
  133. package/api/types/ConnectionResponseEnvelope.d.ts +1 -1
  134. package/api/types/ConnectionResponseSchema.d.ts +1 -1
  135. package/api/types/ConnectionTypeResponseEnvelope.d.ts +1 -1
  136. package/api/types/CreateConnectionResponseEnvelope.d.ts +1 -1
  137. package/api/types/CreateConnectionResponseSchema.d.ts +1 -1
  138. package/api/types/CreateModelRequest.d.ts +1 -1
  139. package/api/types/Enrichment.d.ts +1 -1
  140. package/api/types/Event.d.ts +2 -1
  141. package/api/types/EventBody.d.ts +5 -0
  142. package/api/types/EventBody.js +5 -0
  143. package/api/types/EventsEnvelope.d.ts +1 -1
  144. package/api/types/ExecutionLogsResponseEnvelope.d.ts +1 -1
  145. package/api/types/FieldConfiguration.js +5 -0
  146. package/api/types/Filter.d.ts +1 -1
  147. package/api/types/GetConnectionMetaEnvelope.d.ts +1 -1
  148. package/api/types/GetExecutionResponseEnvelope.d.ts +1 -1
  149. package/api/types/GetExecutionResponseSchema.d.ts +1 -1
  150. package/api/types/GetIdentityResponseEnvelope.d.ts +1 -1
  151. package/api/types/GetModelSyncSourceMetaEnvelope.d.ts +1 -1
  152. package/api/types/Identity.d.ts +1 -1
  153. package/api/types/JobResponse.d.ts +1 -1
  154. package/api/types/JobResponseEnvelope.d.ts +1 -1
  155. package/api/types/ListBulkSchema.d.ts +1 -1
  156. package/api/types/ListBulkSyncExecutionStatusEnvelope.d.ts +7 -0
  157. package/api/types/ListBulkSyncExecutionStatusEnvelope.js +5 -0
  158. package/api/types/ListBulkSyncExecutionsEnvelope.d.ts +1 -1
  159. package/api/types/ListExecutionResponseEnvelope.d.ts +1 -1
  160. package/api/types/ListModelSyncResponseEnvelope.d.ts +1 -1
  161. package/api/types/ListPoliciesResponseEnvelope.d.ts +1 -1
  162. package/api/types/ListUsersEnvelope.d.ts +1 -1
  163. package/api/types/ModelFieldResponse.d.ts +1 -1
  164. package/api/types/ModelListResponseEnvelope.d.ts +1 -1
  165. package/api/types/ModelRelation.d.ts +1 -1
  166. package/api/types/ModelResponse.d.ts +1 -1
  167. package/api/types/ModelResponseEnvelope.d.ts +1 -1
  168. package/api/types/ModelSample.d.ts +1 -1
  169. package/api/types/ModelSampleResponseEnvelope.d.ts +1 -1
  170. package/api/types/ModelSyncField.d.ts +6 -2
  171. package/api/types/ModelSyncResponse.d.ts +1 -1
  172. package/api/types/ModelSyncResponseEnvelope.d.ts +1 -1
  173. package/api/types/ModelSyncSourceMetaResponse.d.ts +1 -1
  174. package/api/types/OrganizationEnvelope.d.ts +1 -1
  175. package/api/types/OrganizationsEnvelope.d.ts +1 -1
  176. package/api/types/Override.d.ts +1 -1
  177. package/api/types/Pagination.d.ts +9 -0
  178. package/api/types/Pagination.js +5 -0
  179. package/api/types/PolicyResponse.d.ts +1 -1
  180. package/api/types/PolicyResponseEnvelope.d.ts +1 -1
  181. package/api/types/Relation.d.ts +1 -1
  182. package/api/types/RoleListResponseEnvelope.d.ts +1 -1
  183. package/api/types/RoleResponseEnvelope.d.ts +1 -1
  184. package/api/types/Schedule.d.ts +1 -1
  185. package/api/types/ScheduleOptionResponse.d.ts +1 -1
  186. package/api/types/ScheduleOptionResponseEnvelope.d.ts +1 -1
  187. package/api/types/ScheduleScheduleOption.d.ts +1 -1
  188. package/api/types/Schema.d.ts +1 -1
  189. package/api/{resources/bulkSync/types → types}/SchemaConfiguration.d.ts +3 -2
  190. package/api/types/SchemaConfiguration.js +5 -0
  191. package/api/types/SchemaField.d.ts +1 -1
  192. package/api/types/StartModelSyncResponseEnvelope.d.ts +1 -1
  193. package/api/types/StartModelSyncResponseSchema.d.ts +1 -1
  194. package/api/types/SyncCanceledEvent.d.ts +12 -0
  195. package/api/types/SyncCanceledEvent.js +5 -0
  196. package/api/types/SyncCompletedEvent.d.ts +25 -0
  197. package/api/types/SyncCompletedEvent.js +5 -0
  198. package/api/types/SyncCompletedWithErrorsEvent.d.ts +13 -0
  199. package/api/types/SyncCompletedWithErrorsEvent.js +5 -0
  200. package/api/types/SyncDestinationProperties.d.ts +1 -0
  201. package/api/types/SyncFailedEvent.d.ts +11 -0
  202. package/api/types/SyncFailedEvent.js +5 -0
  203. package/api/types/SyncRunningEvent.d.ts +10 -0
  204. package/api/types/SyncRunningEvent.js +5 -0
  205. package/api/types/SyncStatusEnvelope.d.ts +1 -1
  206. package/api/types/SyncStatusResponse.d.ts +1 -1
  207. package/api/types/TargetField.d.ts +1 -1
  208. package/api/types/TargetResponse.d.ts +1 -1
  209. package/api/types/TargetResponseEnvelope.d.ts +1 -1
  210. package/api/types/UserEnvelope.d.ts +1 -1
  211. package/api/types/V2SchemaConfigurationFieldsItem.d.ts +5 -0
  212. package/api/types/V2SchemaConfigurationFieldsItem.js +5 -0
  213. package/api/types/V4QueryResultsEnvelope.d.ts +8 -0
  214. package/api/types/V4QueryResultsEnvelope.js +5 -0
  215. package/api/types/V4RunQueryEnvelope.d.ts +7 -0
  216. package/api/types/V4RunQueryEnvelope.js +5 -0
  217. package/api/types/V4RunQueryResult.d.ts +18 -0
  218. package/api/types/V4RunQueryResult.js +5 -0
  219. package/api/types/WebhookEnvelope.d.ts +1 -1
  220. package/api/types/WebhookListEnvelope.d.ts +1 -1
  221. package/api/types/WorkTaskStatus.d.ts +2 -1
  222. package/api/types/WorkTaskStatus.js +1 -0
  223. package/api/types/index.d.ts +22 -0
  224. package/api/types/index.js +22 -0
  225. package/core/fetcher/Fetcher.d.ts +3 -2
  226. package/core/fetcher/Fetcher.js +130 -19
  227. package/core/runtime/runtime.d.ts +1 -1
  228. package/core/runtime/runtime.js +11 -1
  229. package/dist/Client.d.ts +10 -0
  230. package/dist/Client.js +25 -20
  231. package/dist/api/errors/BadRequestError.d.ts +2 -2
  232. package/dist/api/errors/BadRequestError.js +1 -1
  233. package/dist/api/errors/ForbiddenError.d.ts +2 -2
  234. package/dist/api/errors/ForbiddenError.js +1 -1
  235. package/dist/api/errors/InternalServerError.d.ts +2 -2
  236. package/dist/api/errors/InternalServerError.js +1 -1
  237. package/dist/api/errors/NotFoundError.d.ts +2 -2
  238. package/dist/api/errors/NotFoundError.js +1 -1
  239. package/dist/api/errors/UnauthorizedError.d.ts +2 -2
  240. package/dist/api/errors/UnauthorizedError.js +1 -1
  241. package/dist/api/errors/UnprocessableEntityError.d.ts +2 -2
  242. package/dist/api/errors/UnprocessableEntityError.js +1 -1
  243. package/dist/api/resources/bulkSync/client/Client.d.ts +54 -11
  244. package/dist/api/resources/bulkSync/client/Client.js +106 -40
  245. package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -1
  246. package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -1
  247. package/dist/api/resources/bulkSync/client/requests/index.d.ts +6 -6
  248. package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +31 -3
  249. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +106 -10
  250. package/dist/api/resources/bulkSync/resources/executions/client/index.d.ts +1 -1
  251. package/dist/api/resources/bulkSync/resources/executions/client/index.js +15 -0
  252. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.d.ts +24 -0
  253. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.js +5 -0
  254. package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  255. package/dist/api/resources/bulkSync/resources/executions/client/requests/index.js +2 -0
  256. package/dist/api/resources/bulkSync/resources/index.d.ts +1 -0
  257. package/dist/api/resources/bulkSync/resources/index.js +1 -0
  258. package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +29 -5
  259. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +48 -19
  260. package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +1 -1
  261. package/dist/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +1 -1
  262. package/dist/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +2 -1
  263. package/dist/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +3 -3
  264. package/dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.d.ts +1 -1
  265. package/dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.d.ts +1 -1
  266. package/dist/api/resources/bulkSync/types/index.d.ts +0 -4
  267. package/dist/api/resources/bulkSync/types/index.js +0 -4
  268. package/dist/api/resources/connections/client/Client.d.ts +40 -9
  269. package/dist/api/resources/connections/client/Client.js +78 -30
  270. package/dist/api/resources/connections/client/requests/index.d.ts +4 -4
  271. package/dist/api/resources/events/client/Client.d.ts +15 -3
  272. package/dist/api/resources/events/client/Client.js +19 -8
  273. package/dist/api/resources/events/client/requests/index.d.ts +1 -1
  274. package/dist/api/resources/identity/client/Client.d.ts +11 -2
  275. package/dist/api/resources/identity/client/Client.js +10 -5
  276. package/dist/api/resources/index.d.ts +2 -0
  277. package/dist/api/resources/index.js +3 -1
  278. package/dist/api/resources/jobs/client/Client.d.ts +13 -2
  279. package/dist/api/resources/jobs/client/Client.js +13 -6
  280. package/dist/api/resources/modelSync/client/Client.d.ts +65 -22
  281. package/dist/api/resources/modelSync/client/Client.js +135 -60
  282. package/dist/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +4 -7
  283. package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +1 -1
  284. package/dist/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +4 -7
  285. package/dist/api/resources/modelSync/client/requests/index.d.ts +6 -6
  286. package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +30 -5
  287. package/dist/api/resources/modelSync/resources/executions/client/Client.js +48 -18
  288. package/dist/api/resources/models/client/Client.d.ts +46 -9
  289. package/dist/api/resources/models/client/Client.js +85 -31
  290. package/dist/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.d.ts +1 -1
  291. package/dist/api/resources/models/client/requests/ModelsCreateRequest.d.ts +1 -1
  292. package/dist/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +1 -1
  293. package/dist/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -1
  294. package/dist/api/resources/models/client/requests/index.d.ts +7 -7
  295. package/dist/api/resources/organization/client/Client.d.ts +33 -6
  296. package/dist/api/resources/organization/client/Client.js +55 -20
  297. package/dist/api/resources/organization/client/requests/index.d.ts +2 -2
  298. package/dist/api/resources/permissions/client/Client.d.ts +7 -0
  299. package/dist/api/resources/permissions/resources/policies/client/Client.d.ts +28 -6
  300. package/dist/api/resources/permissions/resources/policies/client/Client.js +50 -20
  301. package/dist/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -1
  302. package/dist/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -1
  303. package/dist/api/resources/permissions/resources/policies/client/requests/index.d.ts +2 -2
  304. package/dist/api/resources/permissions/resources/roles/client/Client.d.ts +28 -6
  305. package/dist/api/resources/permissions/resources/roles/client/Client.js +50 -20
  306. package/dist/api/resources/permissions/resources/roles/client/requests/index.d.ts +2 -2
  307. package/dist/api/resources/queryRunner/client/Client.d.ts +58 -0
  308. package/dist/api/resources/queryRunner/client/Client.js +223 -0
  309. package/dist/api/resources/queryRunner/client/index.d.ts +1 -0
  310. package/dist/api/resources/queryRunner/client/index.js +17 -0
  311. package/dist/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +10 -0
  312. package/dist/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.js +5 -0
  313. package/dist/api/resources/queryRunner/client/requests/V4RunQueryRequest.d.ts +15 -0
  314. package/dist/api/resources/queryRunner/client/requests/V4RunQueryRequest.js +5 -0
  315. package/dist/api/resources/queryRunner/client/requests/index.d.ts +2 -0
  316. package/dist/api/resources/queryRunner/client/requests/index.js +2 -0
  317. package/dist/api/resources/queryRunner/index.d.ts +1 -0
  318. package/dist/api/resources/queryRunner/index.js +17 -0
  319. package/dist/api/resources/schemas/client/Client.d.ts +26 -5
  320. package/dist/api/resources/schemas/client/Client.js +44 -18
  321. package/dist/api/resources/users/client/Client.d.ts +45 -7
  322. package/dist/api/resources/users/client/Client.js +75 -26
  323. package/dist/api/resources/users/client/requests/index.d.ts +3 -3
  324. package/dist/api/resources/webhooks/client/Client.d.ts +32 -6
  325. package/dist/api/resources/webhooks/client/Client.js +54 -20
  326. package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -2
  327. package/dist/api/types/ActivateSyncEnvelope.d.ts +1 -1
  328. package/dist/api/types/ApiKeyResponseEnvelope.d.ts +1 -1
  329. package/dist/api/types/BulkFilter.d.ts +10 -0
  330. package/dist/api/types/BulkFilter.js +5 -0
  331. package/dist/api/types/BulkItemizedSchedule.d.ts +1 -1
  332. package/dist/api/types/BulkMultiScheduleConfiguration.d.ts +2 -2
  333. package/dist/api/types/BulkSchedule.d.ts +1 -1
  334. package/dist/api/types/BulkSchema.d.ts +2 -1
  335. package/dist/api/types/BulkSchemaEnvelope.d.ts +1 -1
  336. package/dist/api/types/BulkSyncCanceledEvent.d.ts +11 -0
  337. package/dist/api/types/BulkSyncCanceledEvent.js +5 -0
  338. package/dist/api/types/BulkSyncCompletedEvent.d.ts +12 -0
  339. package/dist/api/types/BulkSyncCompletedEvent.js +5 -0
  340. package/dist/api/types/BulkSyncCompletedWithErrorEvent.d.ts +12 -0
  341. package/dist/api/types/BulkSyncCompletedWithErrorEvent.js +5 -0
  342. package/dist/api/types/BulkSyncDest.d.ts +1 -1
  343. package/dist/api/types/BulkSyncDestEnvelope.d.ts +1 -1
  344. package/dist/api/types/BulkSyncExecution.d.ts +1 -1
  345. package/dist/api/types/BulkSyncExecutionEnvelope.d.ts +1 -1
  346. package/dist/api/types/BulkSyncExecutionStatus.d.ts +10 -0
  347. package/dist/api/types/BulkSyncExecutionStatus.js +5 -0
  348. package/dist/api/types/BulkSyncFailedEvent.d.ts +12 -0
  349. package/dist/api/types/BulkSyncFailedEvent.js +5 -0
  350. package/dist/api/types/BulkSyncListEnvelope.d.ts +1 -1
  351. package/dist/api/types/BulkSyncResponse.d.ts +1 -1
  352. package/dist/api/types/BulkSyncResponseEnvelope.d.ts +1 -1
  353. package/dist/api/types/BulkSyncRunningEvent.d.ts +11 -0
  354. package/dist/api/types/BulkSyncRunningEvent.js +5 -0
  355. package/dist/api/types/BulkSyncSchemaExecution.d.ts +1 -1
  356. package/dist/api/types/BulkSyncSchemaExecutionStatus.d.ts +15 -0
  357. package/dist/api/types/BulkSyncSchemaExecutionStatus.js +5 -0
  358. package/dist/api/types/BulkSyncSource.d.ts +1 -1
  359. package/dist/api/types/BulkSyncSourceEnvelope.d.ts +1 -1
  360. package/dist/api/types/BulkSyncSourceSchemaEnvelope.d.ts +1 -1
  361. package/dist/api/types/BulkSyncSourceStatusEnvelope.d.ts +1 -1
  362. package/dist/api/types/BulkSyncStatusEnvelope.d.ts +1 -1
  363. package/dist/api/types/BulkSyncStatusResponse.d.ts +1 -1
  364. package/dist/api/types/ConnectCardResponseEnvelope.d.ts +1 -1
  365. package/dist/api/types/ConnectionListResponseEnvelope.d.ts +1 -1
  366. package/dist/api/types/ConnectionMetaResponse.d.ts +1 -1
  367. package/dist/api/types/ConnectionParameterValuesResp.d.ts +1 -1
  368. package/dist/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
  369. package/dist/api/types/ConnectionResponseEnvelope.d.ts +1 -1
  370. package/dist/api/types/ConnectionResponseSchema.d.ts +1 -1
  371. package/dist/api/types/ConnectionTypeResponseEnvelope.d.ts +1 -1
  372. package/dist/api/types/CreateConnectionResponseEnvelope.d.ts +1 -1
  373. package/dist/api/types/CreateConnectionResponseSchema.d.ts +1 -1
  374. package/dist/api/types/CreateModelRequest.d.ts +1 -1
  375. package/dist/api/types/Enrichment.d.ts +1 -1
  376. package/dist/api/types/Event.d.ts +2 -1
  377. package/dist/api/types/EventBody.d.ts +5 -0
  378. package/dist/api/types/EventBody.js +5 -0
  379. package/dist/api/types/EventsEnvelope.d.ts +1 -1
  380. package/dist/api/types/ExecutionLogsResponseEnvelope.d.ts +1 -1
  381. package/dist/api/types/FieldConfiguration.js +5 -0
  382. package/dist/api/types/Filter.d.ts +1 -1
  383. package/dist/api/types/GetConnectionMetaEnvelope.d.ts +1 -1
  384. package/dist/api/types/GetExecutionResponseEnvelope.d.ts +1 -1
  385. package/dist/api/types/GetExecutionResponseSchema.d.ts +1 -1
  386. package/dist/api/types/GetIdentityResponseEnvelope.d.ts +1 -1
  387. package/dist/api/types/GetModelSyncSourceMetaEnvelope.d.ts +1 -1
  388. package/dist/api/types/Identity.d.ts +1 -1
  389. package/dist/api/types/JobResponse.d.ts +1 -1
  390. package/dist/api/types/JobResponseEnvelope.d.ts +1 -1
  391. package/dist/api/types/ListBulkSchema.d.ts +1 -1
  392. package/dist/api/types/ListBulkSyncExecutionStatusEnvelope.d.ts +7 -0
  393. package/dist/api/types/ListBulkSyncExecutionStatusEnvelope.js +5 -0
  394. package/dist/api/types/ListBulkSyncExecutionsEnvelope.d.ts +1 -1
  395. package/dist/api/types/ListExecutionResponseEnvelope.d.ts +1 -1
  396. package/dist/api/types/ListModelSyncResponseEnvelope.d.ts +1 -1
  397. package/dist/api/types/ListPoliciesResponseEnvelope.d.ts +1 -1
  398. package/dist/api/types/ListUsersEnvelope.d.ts +1 -1
  399. package/dist/api/types/ModelFieldResponse.d.ts +1 -1
  400. package/dist/api/types/ModelListResponseEnvelope.d.ts +1 -1
  401. package/dist/api/types/ModelRelation.d.ts +1 -1
  402. package/dist/api/types/ModelResponse.d.ts +1 -1
  403. package/dist/api/types/ModelResponseEnvelope.d.ts +1 -1
  404. package/dist/api/types/ModelSample.d.ts +1 -1
  405. package/dist/api/types/ModelSampleResponseEnvelope.d.ts +1 -1
  406. package/dist/api/types/ModelSyncField.d.ts +6 -2
  407. package/dist/api/types/ModelSyncResponse.d.ts +1 -1
  408. package/dist/api/types/ModelSyncResponseEnvelope.d.ts +1 -1
  409. package/dist/api/types/ModelSyncSourceMetaResponse.d.ts +1 -1
  410. package/dist/api/types/OrganizationEnvelope.d.ts +1 -1
  411. package/dist/api/types/OrganizationsEnvelope.d.ts +1 -1
  412. package/dist/api/types/Override.d.ts +1 -1
  413. package/dist/api/types/Pagination.d.ts +9 -0
  414. package/dist/api/types/Pagination.js +5 -0
  415. package/dist/api/types/PolicyResponse.d.ts +1 -1
  416. package/dist/api/types/PolicyResponseEnvelope.d.ts +1 -1
  417. package/dist/api/types/Relation.d.ts +1 -1
  418. package/dist/api/types/RoleListResponseEnvelope.d.ts +1 -1
  419. package/dist/api/types/RoleResponseEnvelope.d.ts +1 -1
  420. package/dist/api/types/Schedule.d.ts +1 -1
  421. package/dist/api/types/ScheduleOptionResponse.d.ts +1 -1
  422. package/dist/api/types/ScheduleOptionResponseEnvelope.d.ts +1 -1
  423. package/dist/api/types/ScheduleScheduleOption.d.ts +1 -1
  424. package/dist/api/types/Schema.d.ts +1 -1
  425. package/dist/api/{resources/bulkSync/types → types}/SchemaConfiguration.d.ts +3 -2
  426. package/dist/api/types/SchemaConfiguration.js +5 -0
  427. package/dist/api/types/SchemaField.d.ts +1 -1
  428. package/dist/api/types/StartModelSyncResponseEnvelope.d.ts +1 -1
  429. package/dist/api/types/StartModelSyncResponseSchema.d.ts +1 -1
  430. package/dist/api/types/SyncCanceledEvent.d.ts +12 -0
  431. package/dist/api/types/SyncCanceledEvent.js +5 -0
  432. package/dist/api/types/SyncCompletedEvent.d.ts +25 -0
  433. package/dist/api/types/SyncCompletedEvent.js +5 -0
  434. package/dist/api/types/SyncCompletedWithErrorsEvent.d.ts +13 -0
  435. package/dist/api/types/SyncCompletedWithErrorsEvent.js +5 -0
  436. package/dist/api/types/SyncDestinationProperties.d.ts +1 -0
  437. package/dist/api/types/SyncFailedEvent.d.ts +11 -0
  438. package/dist/api/types/SyncFailedEvent.js +5 -0
  439. package/dist/api/types/SyncRunningEvent.d.ts +10 -0
  440. package/dist/api/types/SyncRunningEvent.js +5 -0
  441. package/dist/api/types/SyncStatusEnvelope.d.ts +1 -1
  442. package/dist/api/types/SyncStatusResponse.d.ts +1 -1
  443. package/dist/api/types/TargetField.d.ts +1 -1
  444. package/dist/api/types/TargetResponse.d.ts +1 -1
  445. package/dist/api/types/TargetResponseEnvelope.d.ts +1 -1
  446. package/dist/api/types/UserEnvelope.d.ts +1 -1
  447. package/dist/api/types/V2SchemaConfigurationFieldsItem.d.ts +5 -0
  448. package/dist/api/types/V2SchemaConfigurationFieldsItem.js +5 -0
  449. package/dist/api/types/V4QueryResultsEnvelope.d.ts +8 -0
  450. package/dist/api/types/V4QueryResultsEnvelope.js +5 -0
  451. package/dist/api/types/V4RunQueryEnvelope.d.ts +7 -0
  452. package/dist/api/types/V4RunQueryEnvelope.js +5 -0
  453. package/dist/api/types/V4RunQueryResult.d.ts +18 -0
  454. package/dist/api/types/V4RunQueryResult.js +5 -0
  455. package/dist/api/types/WebhookEnvelope.d.ts +1 -1
  456. package/dist/api/types/WebhookListEnvelope.d.ts +1 -1
  457. package/dist/api/types/WorkTaskStatus.d.ts +2 -1
  458. package/dist/api/types/WorkTaskStatus.js +1 -0
  459. package/dist/api/types/index.d.ts +22 -0
  460. package/dist/api/types/index.js +22 -0
  461. package/dist/core/fetcher/Fetcher.d.ts +3 -2
  462. package/dist/core/fetcher/Fetcher.js +130 -19
  463. package/dist/core/runtime/runtime.d.ts +1 -1
  464. package/dist/core/runtime/runtime.js +11 -1
  465. package/jest.config.js +2 -2
  466. package/package.json +13 -6
  467. package/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem.d.ts +0 -5
  468. package/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem.d.ts +0 -5
  469. package/dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem.d.ts +0 -5
  470. package/dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem.d.ts +0 -5
  471. package/tests/client.test.ts +0 -11
  472. /package/api/resources/bulkSync/{types/FieldConfiguration.js → resources/executions/client/requests/ExecutionsListStatusRequest.js} +0 -0
  473. /package/api/resources/{bulkSync/types/SchemaConfiguration.js → queryRunner/client/requests/QueryRunnerGetQueryRequest.js} +0 -0
  474. /package/api/resources/{bulkSync/types/V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem.js → queryRunner/client/requests/V4RunQueryRequest.js} +0 -0
  475. /package/api/{resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem.js → types/BulkFilter.js} +0 -0
  476. /package/{dist/api/resources/bulkSync/types/FieldConfiguration.js → api/types/BulkSyncCanceledEvent.js} +0 -0
  477. /package/{dist/api/resources/bulkSync/types/SchemaConfiguration.js → api/types/BulkSyncCompletedEvent.js} +0 -0
  478. /package/{dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItemEnabledFieldsItem.js → api/types/BulkSyncCompletedWithErrorEvent.js} +0 -0
  479. /package/{dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem.js → api/types/BulkSyncExecutionStatus.js} +0 -0
  480. /package/api/{resources/bulkSync/types → types}/FieldConfiguration.d.ts +0 -0
  481. /package/dist/api/{resources/bulkSync/types → types}/FieldConfiguration.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ListModelSyncResponseEnvelope {
6
6
  data?: Polytomic.ModelSyncResponse[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ListPoliciesResponseEnvelope {
6
6
  data?: Polytomic.PolicyResponse[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ListUsersEnvelope {
6
6
  data?: Polytomic.User[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelFieldResponse {
6
6
  data?: Polytomic.ModelField[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelListResponseEnvelope {
6
6
  data?: Polytomic.ModelResponse[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelRelation {
6
6
  from?: string;
7
7
  to?: Polytomic.ModelRelationTo;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelResponse {
6
6
  configuration?: Record<string, unknown>;
7
7
  connection_id?: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelResponseEnvelope {
6
6
  data?: Polytomic.ModelResponse;
7
7
  job?: Polytomic.JobResponse;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelSample {
6
6
  records?: Polytomic.V2SampleRecord[];
7
7
  warnings?: string[];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelSampleResponseEnvelope {
6
6
  data?: Polytomic.ModelSample;
7
7
  job?: Polytomic.JobResponse;
@@ -1,11 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelSyncField {
6
+ /** New is set to true if the target field should be created by Polytomic. This is not supported by all backends. */
6
7
  new?: boolean;
8
+ /** Value to set in the target field; if provided, 'source' is ignored. */
7
9
  override_value?: string;
8
- source: Polytomic.Source;
10
+ source?: Polytomic.Source;
11
+ /** Sync mode for the field; defaults to 'updateOrCreate'. If set to 'create', the field will not be synced if it already has a value. This is not supported by all backends. */
9
12
  sync_mode?: string;
13
+ /** Target field ID the source field value will be written to. */
10
14
  target: string;
11
15
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelSyncResponse {
6
6
  active?: boolean;
7
7
  fields?: Polytomic.ModelSyncField[];
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelSyncResponseEnvelope {
6
6
  data?: Polytomic.ModelSyncResponse;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ModelSyncSourceMetaResponse {
6
6
  configuration?: Record<string, Polytomic.ConfigurationValue>;
7
7
  items?: Record<string, Polytomic.SourceMeta | undefined>;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface OrganizationEnvelope {
6
6
  data?: Polytomic.Organization;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface OrganizationsEnvelope {
6
6
  data?: Polytomic.Organization[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  /**
6
6
  * Either `field` or `field_id` must be provided. If `field_id` is provided, `field` is ignored.
7
7
  */
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export interface Pagination {
5
+ /** URL to the next page of results, if available. This may be returned as a host relative path. */
6
+ next?: string;
7
+ /** URL to the previous page of results, if available. This may be returned as a host relative path. */
8
+ previous?: string;
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface PolicyResponse {
6
6
  id?: string;
7
7
  name?: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface PolicyResponseEnvelope {
6
6
  data?: Polytomic.PolicyResponse;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface Relation {
6
6
  from?: string;
7
7
  to?: Polytomic.RelationTo;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface RoleListResponseEnvelope {
6
6
  data?: Polytomic.RoleResponse[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface RoleResponseEnvelope {
6
6
  data?: Polytomic.RoleResponse;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface Schedule {
6
6
  connection_id?: string;
7
7
  day_of_month?: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ScheduleOptionResponse {
6
6
  schedule_options?: Polytomic.ScheduleScheduleOption[];
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ScheduleOptionResponseEnvelope {
6
6
  data?: Polytomic.ScheduleOptionResponse;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface ScheduleScheduleOption {
6
6
  configuration?: Polytomic.JsonschemaForm;
7
7
  description?: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface Schema {
6
6
  fields?: Polytomic.SchemaField[];
7
7
  id?: string;
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "../../..";
4
+ import * as Polytomic from "../index";
5
5
  export interface SchemaConfiguration {
6
6
  /** Whether the schema is enabled for syncing. */
7
7
  enabled?: boolean;
8
- fields?: Polytomic.V2UpdateBulkSyncRequestSchemasItemEnabledFieldsItem[];
8
+ fields?: Polytomic.V2SchemaConfigurationFieldsItem[];
9
+ filters?: Polytomic.BulkFilter[];
9
10
  id?: string;
10
11
  partitionKey?: string;
11
12
  trackingField?: string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface SchemaField {
6
6
  association?: Polytomic.SchemaAssociation;
7
7
  id?: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface StartModelSyncResponseEnvelope {
6
6
  data?: Polytomic.StartModelSyncResponseSchema;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface StartModelSyncResponseSchema {
6
6
  created_at?: string;
7
7
  id?: string;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface SyncCanceledEvent {
6
+ execution_id?: string;
7
+ organization_id?: string;
8
+ status?: Polytomic.ExecutionStatus;
9
+ sync_id?: string;
10
+ sync_name?: string;
11
+ target_connection_id?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface SyncCompletedEvent {
6
+ deleted_records?: string[];
7
+ error_count?: number;
8
+ errored_records?: string[];
9
+ execution_id?: string;
10
+ inserted_count?: number;
11
+ inserted_records?: string[];
12
+ name?: string;
13
+ organization_id?: string;
14
+ record_count?: number;
15
+ status?: Polytomic.ExecutionStatus;
16
+ sync_id?: string;
17
+ target_connection_id?: string;
18
+ total_records?: string[];
19
+ trigger?: string;
20
+ updated_count?: number;
21
+ updated_records?: string[];
22
+ upserted_count?: number;
23
+ warning_count?: number;
24
+ warnings?: string[];
25
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export interface SyncCompletedWithErrorsEvent {
5
+ error?: string;
6
+ execution_id?: string;
7
+ number_of_errors?: number;
8
+ number_of_warnings?: number;
9
+ organization_id?: string;
10
+ sync_id?: string;
11
+ sync_name?: string;
12
+ target_connection_id?: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export interface SyncDestinationProperties {
5
5
  does_not_report_operation_counts?: boolean;
6
+ mappings_not_required?: boolean;
6
7
  new_target_label?: string;
7
8
  optional_target_mappings?: boolean;
8
9
  primary_metadata_object?: string;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export interface SyncFailedEvent {
5
+ error?: string;
6
+ execution_id?: string;
7
+ organization_id?: string;
8
+ sync_id?: string;
9
+ sync_name?: string;
10
+ target_connection_id?: string;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export interface SyncRunningEvent {
5
+ execution_id?: string;
6
+ name?: string;
7
+ organization_id?: string;
8
+ sync_id?: string;
9
+ target_connection_id?: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface SyncStatusEnvelope {
6
6
  data?: Polytomic.SyncStatusResponse;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface SyncStatusResponse {
6
6
  current_execution?: Polytomic.GetExecutionResponseSchema;
7
7
  last_execution?: Polytomic.GetExecutionResponseSchema;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface TargetField {
6
6
  association?: boolean;
7
7
  createable?: boolean;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface TargetResponse {
6
6
  fields?: Polytomic.TargetField[];
7
7
  id?: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface TargetResponseEnvelope {
6
6
  data?: Polytomic.TargetResponse;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface UserEnvelope {
6
6
  data?: Polytomic.User;
7
7
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export declare type V2SchemaConfigurationFieldsItem = string | Polytomic.FieldConfiguration;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4QueryResultsEnvelope {
6
+ data?: Polytomic.V4RunQueryResult;
7
+ links?: Polytomic.Pagination;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4RunQueryEnvelope {
6
+ data?: Polytomic.V4RunQueryResult;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4RunQueryResult {
6
+ /** The number of rows returned by the query. This will not be returned until the query completes. */
7
+ count?: number;
8
+ error?: string;
9
+ /** The time at which the query will expire and be deleted. This will not be returned until the query completes. */
10
+ expires?: string;
11
+ /** The names of the fields returned by the query. This will not be returned until the query completes. */
12
+ fields?: string[];
13
+ /** The ID of the query task. */
14
+ id?: string;
15
+ /** The query results, returned as an array of objects. */
16
+ results?: Record<string, unknown>[];
17
+ status?: Polytomic.WorkTaskStatus;
18
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface WebhookEnvelope {
6
6
  data?: Polytomic.Webhook;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated from our API Definition.
3
3
  */
4
- import * as Polytomic from "..";
4
+ import * as Polytomic from "../index";
5
5
  export interface WebhookListEnvelope {
6
6
  data?: Polytomic.Webhook[];
7
7
  }