polytomic 25.9.2 → 25.9.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 (484) hide show
  1. package/BaseClient.d.ts +15 -0
  2. package/BaseClient.js +17 -2
  3. package/Client.d.ts +9 -0
  4. package/Client.js +37 -22
  5. package/api/errors/BadGatewayError.d.ts +1 -0
  6. package/api/errors/BadGatewayError.js +1 -1
  7. package/api/errors/BadRequestError.d.ts +1 -0
  8. package/api/errors/BadRequestError.js +1 -1
  9. package/api/errors/ConflictError.d.ts +1 -0
  10. package/api/errors/ConflictError.js +1 -1
  11. package/api/errors/ForbiddenError.d.ts +1 -0
  12. package/api/errors/ForbiddenError.js +1 -1
  13. package/api/errors/GatewayTimeoutError.d.ts +1 -0
  14. package/api/errors/GatewayTimeoutError.js +1 -1
  15. package/api/errors/InternalServerError.d.ts +1 -0
  16. package/api/errors/InternalServerError.js +1 -1
  17. package/api/errors/NotFoundError.d.ts +1 -0
  18. package/api/errors/NotFoundError.js +1 -1
  19. package/api/errors/RequestTimeoutError.d.ts +1 -0
  20. package/api/errors/RequestTimeoutError.js +1 -1
  21. package/api/errors/ServiceUnavailableError.d.ts +7 -0
  22. package/api/errors/ServiceUnavailableError.js +54 -0
  23. package/api/errors/TooManyRequestsError.d.ts +1 -0
  24. package/api/errors/TooManyRequestsError.js +1 -1
  25. package/api/errors/UnauthorizedError.d.ts +1 -0
  26. package/api/errors/UnauthorizedError.js +1 -1
  27. package/api/errors/UnprocessableEntityError.d.ts +1 -0
  28. package/api/errors/UnprocessableEntityError.js +1 -1
  29. package/api/errors/index.d.ts +1 -0
  30. package/api/errors/index.js +1 -0
  31. package/api/resources/bulkSync/client/Client.d.ts +25 -0
  32. package/api/resources/bulkSync/client/Client.js +38 -10
  33. package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +1 -1
  34. package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +51 -0
  35. package/api/resources/bulkSync/resources/errorHandling/client/Client.js +190 -0
  36. package/api/resources/bulkSync/resources/errorHandling/client/index.d.ts +1 -0
  37. package/api/resources/bulkSync/resources/errorHandling/client/index.js +17 -0
  38. package/api/resources/bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.d.ts +8 -0
  39. package/api/resources/bulkSync/resources/errorHandling/client/requests/index.d.ts +1 -0
  40. package/api/resources/bulkSync/resources/errorHandling/client/requests/index.js +2 -0
  41. package/api/resources/bulkSync/resources/errorHandling/exports.d.ts +2 -0
  42. package/api/resources/bulkSync/resources/errorHandling/exports.js +21 -0
  43. package/api/resources/bulkSync/resources/errorHandling/index.d.ts +1 -0
  44. package/api/resources/bulkSync/resources/errorHandling/index.js +17 -0
  45. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +41 -2
  46. package/api/resources/bulkSync/resources/executions/client/Client.js +97 -2
  47. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +16 -0
  48. package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  49. package/api/resources/bulkSync/resources/index.d.ts +2 -0
  50. package/api/resources/bulkSync/resources/index.js +3 -1
  51. package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +10 -0
  52. package/api/resources/bulkSync/resources/schedules/client/Client.js +13 -2
  53. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +10 -0
  54. package/api/resources/bulkSync/resources/schemas/client/Client.js +13 -2
  55. package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +1 -1
  56. package/api/resources/connections/client/Client.d.ts +73 -136
  57. package/api/resources/connections/client/Client.js +131 -350
  58. package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +4 -0
  59. package/api/resources/connections/client/requests/index.d.ts +0 -2
  60. package/api/resources/connections/exports.d.ts +1 -0
  61. package/api/resources/connections/exports.js +1 -0
  62. package/api/resources/connections/index.d.ts +1 -0
  63. package/api/resources/connections/index.js +1 -0
  64. package/api/resources/connections/resources/index.d.ts +4 -0
  65. package/api/resources/connections/resources/index.js +43 -0
  66. package/api/resources/connections/resources/proxy/client/Client.d.ts +161 -0
  67. package/api/resources/connections/resources/proxy/client/Client.js +408 -0
  68. package/api/resources/connections/resources/proxy/client/index.d.ts +1 -0
  69. package/api/resources/connections/resources/proxy/client/index.js +17 -0
  70. package/api/resources/connections/{client → resources/proxy/client}/requests/ExecuteConnectionProxyRequest.d.ts +3 -1
  71. package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +10 -0
  72. package/api/resources/connections/resources/proxy/client/requests/index.d.ts +2 -0
  73. package/api/resources/connections/resources/proxy/client/requests/index.js +2 -0
  74. package/api/resources/connections/resources/proxy/exports.d.ts +2 -0
  75. package/api/resources/connections/resources/proxy/exports.js +21 -0
  76. package/api/resources/connections/resources/proxy/index.d.ts +1 -0
  77. package/api/resources/connections/resources/proxy/index.js +17 -0
  78. package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +89 -0
  79. package/api/resources/connections/resources/sharedConnections/client/Client.js +274 -0
  80. package/api/resources/connections/resources/sharedConnections/client/index.d.ts +1 -0
  81. package/api/resources/connections/resources/sharedConnections/client/index.js +17 -0
  82. package/api/resources/connections/resources/sharedConnections/client/requests/index.d.ts +1 -0
  83. package/api/resources/connections/resources/sharedConnections/client/requests/index.js +2 -0
  84. package/api/resources/connections/resources/sharedConnections/exports.d.ts +2 -0
  85. package/api/resources/connections/resources/sharedConnections/exports.js +21 -0
  86. package/api/resources/connections/resources/sharedConnections/index.d.ts +1 -0
  87. package/api/resources/connections/resources/sharedConnections/index.js +17 -0
  88. package/api/resources/entities/client/Client.d.ts +15 -2
  89. package/api/resources/entities/client/Client.js +15 -2
  90. package/api/resources/events/client/Client.d.ts +5 -0
  91. package/api/resources/events/client/Client.js +5 -0
  92. package/api/resources/harbors/client/Client.d.ts +789 -0
  93. package/api/resources/harbors/client/Client.js +2362 -0
  94. package/api/resources/harbors/client/index.d.ts +1 -0
  95. package/api/resources/harbors/client/index.js +17 -0
  96. package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +17 -0
  97. package/api/resources/harbors/client/requests/CreateHarborContextRequest.d.ts +15 -0
  98. package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +19 -0
  99. package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +12 -0
  100. package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.js +3 -0
  101. package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +8 -0
  102. package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.js +3 -0
  103. package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +8 -0
  104. package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.js +3 -0
  105. package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +8 -0
  106. package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.js +3 -0
  107. package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +8 -0
  108. package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.js +3 -0
  109. package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +8 -0
  110. package/api/resources/harbors/client/requests/HarborsGetContextRequest.js +3 -0
  111. package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +8 -0
  112. package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.js +3 -0
  113. package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.d.ts +13 -0
  114. package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.js +3 -0
  115. package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +13 -0
  116. package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.js +3 -0
  117. package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.d.ts +13 -0
  118. package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.js +3 -0
  119. package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.d.ts +15 -0
  120. package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.js +3 -0
  121. package/api/resources/harbors/client/requests/HarborsListContextsRequest.d.ts +15 -0
  122. package/api/resources/harbors/client/requests/HarborsListContextsRequest.js +3 -0
  123. package/api/resources/harbors/client/requests/HarborsListKeysRequest.d.ts +13 -0
  124. package/api/resources/harbors/client/requests/HarborsListKeysRequest.js +3 -0
  125. package/api/resources/harbors/client/requests/HarborsListRequest.d.ts +13 -0
  126. package/api/resources/harbors/client/requests/HarborsListRequest.js +3 -0
  127. package/api/resources/harbors/client/requests/HarborsListUsersRequest.d.ts +13 -0
  128. package/api/resources/harbors/client/requests/HarborsListUsersRequest.js +3 -0
  129. package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +8 -0
  130. package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.js +3 -0
  131. package/api/resources/harbors/client/requests/InviteHarborUserRequest.d.ts +10 -0
  132. package/api/resources/harbors/client/requests/InviteHarborUserRequest.js +3 -0
  133. package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.d.ts +17 -0
  134. package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.js +3 -0
  135. package/api/resources/harbors/client/requests/ResolveHarborSourceMappingsRequest.d.ts +9 -0
  136. package/api/resources/harbors/client/requests/ResolveHarborSourceMappingsRequest.js +3 -0
  137. package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.d.ts +19 -0
  138. package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.js +3 -0
  139. package/api/resources/harbors/client/requests/SaveHarborContextRequest.d.ts +19 -0
  140. package/api/resources/harbors/client/requests/SaveHarborContextRequest.js +3 -0
  141. package/api/resources/harbors/client/requests/UpdateHarborRequest.d.ts +12 -0
  142. package/api/resources/harbors/client/requests/UpdateHarborRequest.js +3 -0
  143. package/api/resources/harbors/client/requests/index.d.ts +25 -0
  144. package/api/resources/harbors/client/requests/index.js +2 -0
  145. package/api/resources/harbors/exports.d.ts +2 -0
  146. package/api/resources/harbors/exports.js +21 -0
  147. package/api/resources/harbors/index.d.ts +1 -0
  148. package/api/resources/harbors/index.js +17 -0
  149. package/api/resources/identity/client/Client.d.ts +2 -0
  150. package/api/resources/identity/client/Client.js +2 -0
  151. package/api/resources/index.d.ts +6 -0
  152. package/api/resources/index.js +7 -1
  153. package/api/resources/jobs/client/Client.d.ts +3 -1
  154. package/api/resources/jobs/client/Client.js +3 -1
  155. package/api/resources/modelSync/client/Client.d.ts +34 -5
  156. package/api/resources/modelSync/client/Client.js +58 -13
  157. package/api/resources/modelSync/client/requests/{CreateSyncRequest.d.ts → CreateModelSyncV5Request.d.ts} +8 -6
  158. package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.js +3 -0
  159. package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
  160. package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +1 -1
  161. package/api/resources/modelSync/client/requests/{UpdateSyncRequest.d.ts → UpdateModelSyncV5Request.d.ts} +8 -6
  162. package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.js +3 -0
  163. package/api/resources/modelSync/client/requests/index.d.ts +2 -2
  164. package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +51 -0
  165. package/api/resources/modelSync/resources/errorHandling/client/Client.js +184 -0
  166. package/api/resources/modelSync/resources/errorHandling/client/index.d.ts +1 -0
  167. package/api/resources/modelSync/resources/errorHandling/client/index.js +17 -0
  168. package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.d.ts +14 -0
  169. package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.js +3 -0
  170. package/api/resources/modelSync/resources/errorHandling/client/requests/index.d.ts +1 -0
  171. package/api/resources/modelSync/resources/errorHandling/client/requests/index.js +2 -0
  172. package/api/resources/modelSync/resources/errorHandling/exports.d.ts +2 -0
  173. package/api/resources/modelSync/resources/errorHandling/exports.js +21 -0
  174. package/api/resources/modelSync/resources/errorHandling/index.d.ts +1 -0
  175. package/api/resources/modelSync/resources/errorHandling/index.js +17 -0
  176. package/api/resources/modelSync/resources/executions/client/Client.d.ts +35 -4
  177. package/api/resources/modelSync/resources/executions/client/Client.js +74 -4
  178. package/api/resources/modelSync/resources/index.d.ts +2 -0
  179. package/api/resources/modelSync/resources/index.js +3 -1
  180. package/api/resources/modelSync/resources/targets/client/Client.d.ts +46 -5
  181. package/api/resources/modelSync/resources/targets/client/Client.js +65 -12
  182. package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +5 -3
  183. package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.d.ts +10 -0
  184. package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.js +3 -0
  185. package/api/resources/modelSync/resources/targets/client/requests/index.d.ts +1 -0
  186. package/api/resources/models/client/Client.d.ts +18 -0
  187. package/api/resources/models/client/Client.js +23 -4
  188. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +1 -1
  189. package/api/resources/notifications/client/Client.d.ts +4 -0
  190. package/api/resources/notifications/client/Client.js +6 -1
  191. package/api/resources/organization/client/Client.d.ts +49 -0
  192. package/api/resources/organization/client/Client.js +148 -2
  193. package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +12 -0
  194. package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.js +3 -0
  195. package/api/resources/organization/client/requests/index.d.ts +1 -0
  196. package/api/resources/permissions/resources/policies/client/Client.d.ts +10 -0
  197. package/api/resources/permissions/resources/policies/client/Client.js +13 -2
  198. package/api/resources/permissions/resources/roles/client/Client.d.ts +10 -0
  199. package/api/resources/permissions/resources/roles/client/Client.js +13 -2
  200. package/api/resources/queryRunner/client/Client.d.ts +4 -0
  201. package/api/resources/queryRunner/client/Client.js +6 -1
  202. package/api/resources/recordViewLinks/client/Client.d.ts +59 -0
  203. package/api/resources/recordViewLinks/client/Client.js +211 -0
  204. package/api/resources/recordViewLinks/client/index.d.ts +1 -0
  205. package/api/resources/recordViewLinks/client/index.js +17 -0
  206. package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +25 -0
  207. package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.js +3 -0
  208. package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +15 -0
  209. package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.js +3 -0
  210. package/api/resources/recordViewLinks/client/requests/index.d.ts +2 -0
  211. package/api/resources/recordViewLinks/client/requests/index.js +2 -0
  212. package/api/resources/recordViewLinks/exports.d.ts +2 -0
  213. package/api/resources/recordViewLinks/exports.js +21 -0
  214. package/api/resources/recordViewLinks/index.d.ts +1 -0
  215. package/api/resources/recordViewLinks/index.js +17 -0
  216. package/api/resources/schemas/client/Client.d.ts +36 -0
  217. package/api/resources/schemas/client/Client.js +87 -2
  218. package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +16 -0
  219. package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.js +3 -0
  220. package/api/resources/schemas/client/requests/index.d.ts +1 -0
  221. package/api/resources/temporaryCredentials/client/Client.d.ts +79 -0
  222. package/api/resources/temporaryCredentials/client/Client.js +178 -0
  223. package/api/resources/temporaryCredentials/client/index.d.ts +1 -0
  224. package/api/resources/temporaryCredentials/client/index.js +17 -0
  225. package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +16 -0
  226. package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.js +3 -0
  227. package/api/resources/temporaryCredentials/client/requests/index.d.ts +1 -0
  228. package/api/resources/temporaryCredentials/client/requests/index.js +2 -0
  229. package/api/resources/temporaryCredentials/exports.d.ts +2 -0
  230. package/api/resources/temporaryCredentials/exports.js +21 -0
  231. package/api/resources/temporaryCredentials/index.d.ts +1 -0
  232. package/api/resources/temporaryCredentials/index.js +17 -0
  233. package/api/resources/users/client/Client.d.ts +24 -2
  234. package/api/resources/users/client/Client.js +31 -5
  235. package/api/resources/webhooks/client/Client.d.ts +14 -0
  236. package/api/resources/webhooks/client/Client.js +17 -2
  237. package/api/types/BackendConnectionCapabilities.d.ts +1 -0
  238. package/api/types/BulkSyncErrorHandling.d.ts +4 -0
  239. package/api/types/BulkSyncErrorHandling.js +3 -0
  240. package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +4 -0
  241. package/api/types/BulkSyncErrorHandlingEnvelope.js +3 -0
  242. package/api/types/BulkSyncExecution.d.ts +2 -0
  243. package/api/types/BulkSyncSchemaExecution.d.ts +2 -0
  244. package/api/types/BulkSyncSourceCapabilities.d.ts +2 -0
  245. package/api/types/CloseHarborSessionEnvelope.d.ts +9 -0
  246. package/api/types/CloseHarborSessionEnvelope.js +3 -0
  247. package/api/types/ConnectCardResponse.d.ts +2 -2
  248. package/api/types/ConnectSessionResponse.d.ts +22 -0
  249. package/api/types/ConnectSessionResponse.js +3 -0
  250. package/api/types/ConnectSessionResponseEnvelope.d.ts +4 -0
  251. package/api/types/ConnectSessionResponseEnvelope.js +3 -0
  252. package/api/types/ConnectionParameterValue.d.ts +1 -0
  253. package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
  254. package/api/types/ConnectionProxyResponse.d.ts +8 -2
  255. package/api/types/ConnectionProxySettingsEnvelope.d.ts +4 -0
  256. package/api/types/ConnectionProxySettingsEnvelope.js +3 -0
  257. package/api/types/ConnectionProxySettingsResponse.d.ts +12 -0
  258. package/api/types/ConnectionProxySettingsResponse.js +3 -0
  259. package/api/types/ConnectionType.d.ts +1 -0
  260. package/api/types/ConnectionTypeSchema.d.ts +1 -0
  261. package/api/types/ConnectionUsageCategoryStats.d.ts +8 -0
  262. package/api/types/ConnectionUsageCategoryStats.js +3 -0
  263. package/api/types/ConnectionUsageResponse.d.ts +11 -0
  264. package/api/types/ConnectionUsageResponse.js +3 -0
  265. package/api/types/ConnectionUsageSyncStats.d.ts +15 -0
  266. package/api/types/ConnectionUsageSyncStats.js +3 -0
  267. package/api/types/CreateHarborEnvelope.d.ts +4 -0
  268. package/api/types/CreateHarborEnvelope.js +3 -0
  269. package/api/types/CreateHarborResponse.d.ts +5 -0
  270. package/api/types/CreateHarborResponse.js +3 -0
  271. package/api/types/CreateRecordViewLinkEnvelope.d.ts +4 -0
  272. package/api/types/CreateRecordViewLinkEnvelope.js +3 -0
  273. package/api/types/CreateRecordViewLinkResponse.d.ts +10 -0
  274. package/api/types/CreateRecordViewLinkResponse.js +3 -0
  275. package/api/types/CurrentOrgListUsersEnvelope.d.ts +4 -0
  276. package/api/types/CurrentOrgListUsersEnvelope.js +3 -0
  277. package/api/types/CurrentOrgUserEnvelope.d.ts +4 -0
  278. package/api/types/CurrentOrgUserEnvelope.js +3 -0
  279. package/api/types/CurrentOrgUserResponse.d.ts +16 -0
  280. package/api/types/CurrentOrgUserResponse.js +3 -0
  281. package/api/types/DeletedHarborContextDraftEnvelope.d.ts +9 -0
  282. package/api/types/DeletedHarborContextDraftEnvelope.js +3 -0
  283. package/api/types/DeletedHarborContextEnvelope.d.ts +9 -0
  284. package/api/types/DeletedHarborContextEnvelope.js +3 -0
  285. package/api/types/DeletedHarborEnvelope.d.ts +4 -0
  286. package/api/types/DeletedHarborEnvelope.js +3 -0
  287. package/api/types/DeletedHarborResponse.d.ts +4 -0
  288. package/api/types/DeletedHarborResponse.js +3 -0
  289. package/api/types/EntityResponse.d.ts +2 -2
  290. package/api/types/EventingBulkSyncCompletedEvent.d.ts +2 -0
  291. package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +2 -0
  292. package/api/types/EventingBulkSyncFailedEvent.d.ts +2 -0
  293. package/api/types/EventingBulkSyncSchedule.d.ts +4 -0
  294. package/api/types/EventingBulkSyncSchedule.js +3 -0
  295. package/api/types/EventingSyncCompletedEvent.d.ts +3 -0
  296. package/api/types/EventingSyncSchedule.d.ts +3 -0
  297. package/api/types/EventingSyncSchedule.js +3 -0
  298. package/api/types/Filter.d.ts +3 -2
  299. package/api/types/GetConnectionUsageEnvelope.d.ts +4 -0
  300. package/api/types/GetConnectionUsageEnvelope.js +3 -0
  301. package/api/types/GetExecutionResponseSchema.d.ts +2 -0
  302. package/api/types/GetIdentityResponseSchema.d.ts +2 -0
  303. package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +4 -0
  304. package/api/types/GetRecordViewCapabilitiesEnvelope.js +3 -0
  305. package/api/types/HarborApiKeyCreatedResponse.d.ts +10 -0
  306. package/api/types/HarborApiKeyCreatedResponse.js +3 -0
  307. package/api/types/HarborConnectionListEnvelope.d.ts +5 -0
  308. package/api/types/HarborConnectionListEnvelope.js +3 -0
  309. package/api/types/HarborConnectionResponse.d.ts +6 -0
  310. package/api/types/HarborConnectionResponse.js +3 -0
  311. package/api/types/HarborConnectionSchemaEnvelope.d.ts +4 -0
  312. package/api/types/HarborConnectionSchemaEnvelope.js +3 -0
  313. package/api/types/HarborContextDraftEnvelope.d.ts +4 -0
  314. package/api/types/HarborContextDraftEnvelope.js +3 -0
  315. package/api/types/HarborContextDraftListEnvelope.d.ts +5 -0
  316. package/api/types/HarborContextDraftListEnvelope.js +3 -0
  317. package/api/types/HarborContextDraftMetadataResponse.d.ts +26 -0
  318. package/api/types/HarborContextDraftMetadataResponse.js +3 -0
  319. package/api/types/HarborContextDraftResponse.d.ts +28 -0
  320. package/api/types/HarborContextDraftResponse.js +3 -0
  321. package/api/types/HarborContextEnvelope.d.ts +4 -0
  322. package/api/types/HarborContextEnvelope.js +3 -0
  323. package/api/types/HarborContextListEnvelope.d.ts +5 -0
  324. package/api/types/HarborContextListEnvelope.js +3 -0
  325. package/api/types/HarborContextMetadataResponse.d.ts +16 -0
  326. package/api/types/HarborContextMetadataResponse.js +3 -0
  327. package/api/types/HarborContextResponse.d.ts +18 -0
  328. package/api/types/HarborContextResponse.js +3 -0
  329. package/api/types/HarborContextVersionEnvelope.d.ts +4 -0
  330. package/api/types/HarborContextVersionEnvelope.js +3 -0
  331. package/api/types/HarborContextVersionListEnvelope.d.ts +5 -0
  332. package/api/types/HarborContextVersionListEnvelope.js +3 -0
  333. package/api/types/HarborContextVersionMetadataResponse.d.ts +18 -0
  334. package/api/types/HarborContextVersionMetadataResponse.js +3 -0
  335. package/api/types/HarborContextVersionResponse.d.ts +20 -0
  336. package/api/types/HarborContextVersionResponse.js +3 -0
  337. package/api/types/HarborDatasetStatusResponse.d.ts +8 -0
  338. package/api/types/HarborDatasetStatusResponse.js +3 -0
  339. package/api/types/HarborEnvelope.d.ts +4 -0
  340. package/api/types/HarborEnvelope.js +3 -0
  341. package/api/types/HarborKeyEnvelope.d.ts +4 -0
  342. package/api/types/HarborKeyEnvelope.js +3 -0
  343. package/api/types/HarborKeyListEnvelope.d.ts +5 -0
  344. package/api/types/HarborKeyListEnvelope.js +3 -0
  345. package/api/types/HarborKeyResponse.d.ts +16 -0
  346. package/api/types/HarborKeyResponse.js +3 -0
  347. package/api/types/HarborListEnvelope.d.ts +5 -0
  348. package/api/types/HarborListEnvelope.js +3 -0
  349. package/api/types/HarborPipelineStatusResponse.d.ts +21 -0
  350. package/api/types/HarborPipelineStatusResponse.js +12 -0
  351. package/api/types/HarborResponse.d.ts +20 -0
  352. package/api/types/HarborResponse.js +3 -0
  353. package/api/types/HarborSchemaListEnvelope.d.ts +6 -0
  354. package/api/types/HarborSchemaListEnvelope.js +3 -0
  355. package/api/types/HarborSchemaResponse.d.ts +4 -0
  356. package/api/types/HarborSchemaResponse.js +3 -0
  357. package/api/types/HarborSourceMappingResponse.d.ts +8 -0
  358. package/api/types/HarborSourceMappingResponse.js +3 -0
  359. package/api/types/HarborSourceReference.d.ts +8 -0
  360. package/api/types/HarborSourceReference.js +3 -0
  361. package/api/types/HarborStatusEnvelope.d.ts +4 -0
  362. package/api/types/HarborStatusEnvelope.js +3 -0
  363. package/api/types/HarborStatusResponse.d.ts +7 -0
  364. package/api/types/HarborStatusResponse.js +3 -0
  365. package/api/types/HarborStatusScheduleResponse.d.ts +28 -0
  366. package/api/types/HarborStatusScheduleResponse.js +3 -0
  367. package/api/types/HarborUserEnvelope.d.ts +4 -0
  368. package/api/types/HarborUserEnvelope.js +3 -0
  369. package/api/types/HarborUserListEnvelope.d.ts +5 -0
  370. package/api/types/HarborUserListEnvelope.js +3 -0
  371. package/api/types/HarborUserResponse.d.ts +16 -0
  372. package/api/types/HarborUserResponse.js +3 -0
  373. package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +12 -0
  374. package/api/types/IdentityCredentialApiKeyProfileSchema.js +3 -0
  375. package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +5 -0
  376. package/api/types/IdentityCredentialCapabilitiesSchema.js +3 -0
  377. package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +4 -0
  378. package/api/types/IdentityCredentialConnectionCapabilitySchema.js +3 -0
  379. package/api/types/IdentityCredentialHarborSchema.d.ts +10 -0
  380. package/api/types/IdentityCredentialHarborSchema.js +3 -0
  381. package/api/types/IdentityCredentialSchema.d.ts +13 -0
  382. package/api/types/IdentityCredentialSchema.js +3 -0
  383. package/api/types/IdentityFunction.d.ts +2 -0
  384. package/api/types/LogsIndexEntry.d.ts +6 -0
  385. package/api/types/LogsIndexEntry.js +3 -0
  386. package/api/types/LogsIndexResponse.d.ts +9 -0
  387. package/api/types/LogsIndexResponse.js +3 -0
  388. package/api/types/LogsIndexResponseEnvelope.d.ts +4 -0
  389. package/api/types/LogsIndexResponseEnvelope.js +3 -0
  390. package/api/types/Mode.d.ts +6 -0
  391. package/api/types/ModelFilterCondition.d.ts +11 -0
  392. package/api/types/ModelFilterCondition.js +3 -0
  393. package/api/types/ModelFilters.d.ts +10 -0
  394. package/api/types/ModelFilters.js +3 -0
  395. package/api/types/{SyncResponse.d.ts → ModelSyncV5Response.d.ts} +7 -3
  396. package/api/types/ModelSyncV5Response.js +3 -0
  397. package/api/types/ModelSyncV5ResponseEnvelope.d.ts +4 -0
  398. package/api/types/ModelSyncV5ResponseEnvelope.js +3 -0
  399. package/api/types/{Target.d.ts → ModelSyncV5Target.d.ts} +2 -1
  400. package/api/types/ModelSyncV5Target.js +3 -0
  401. package/api/types/OverrideField.d.ts +13 -0
  402. package/api/types/OverrideField.js +3 -0
  403. package/api/types/OverrideFieldInput.d.ts +18 -0
  404. package/api/types/OverrideFieldInput.js +3 -0
  405. package/api/types/RecordLoggingSettingsEnvelope.d.ts +4 -0
  406. package/api/types/RecordLoggingSettingsEnvelope.js +3 -0
  407. package/api/types/RecordLoggingSettingsResponse.d.ts +8 -0
  408. package/api/types/RecordLoggingSettingsResponse.js +3 -0
  409. package/api/types/RecordviewCapabilities.d.ts +12 -0
  410. package/api/types/RecordviewCapabilities.js +3 -0
  411. package/api/types/RegisterHarborSessionEnvelope.d.ts +4 -0
  412. package/api/types/RegisterHarborSessionEnvelope.js +3 -0
  413. package/api/types/RegisterHarborSessionResponse.d.ts +6 -0
  414. package/api/types/RegisterHarborSessionResponse.js +3 -0
  415. package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +12 -0
  416. package/api/types/ResolveHarborSourceMappingsEnvelope.js +3 -0
  417. package/api/types/RevokedHarborKeyEnvelope.d.ts +9 -0
  418. package/api/types/RevokedHarborKeyEnvelope.js +3 -0
  419. package/api/types/SchemaField.d.ts +5 -1
  420. package/api/types/SchemaFieldResponseEnvelope.d.ts +4 -0
  421. package/api/types/SchemaFieldResponseEnvelope.js +3 -0
  422. package/api/types/SyncDestinationProperties.d.ts +15 -0
  423. package/api/types/SyncErrorHandling.d.ts +10 -0
  424. package/api/types/SyncErrorHandling.js +3 -0
  425. package/api/types/SyncErrorHandlingEnvelope.d.ts +4 -0
  426. package/api/types/SyncErrorHandlingEnvelope.js +3 -0
  427. package/api/types/SyncField.d.ts +1 -1
  428. package/api/types/SyncSourceMetaResponse.d.ts +1 -1
  429. package/api/types/TargetCreator.d.ts +1 -1
  430. package/api/types/TargetField.d.ts +15 -0
  431. package/api/types/TargetFilterCondition.d.ts +13 -0
  432. package/api/types/TargetFilterCondition.js +3 -0
  433. package/api/types/TargetFilters.d.ts +10 -0
  434. package/api/types/TargetFilters.js +3 -0
  435. package/api/types/TargetResponse.d.ts +5 -0
  436. package/api/types/TemporaryCredentialResponse.d.ts +10 -0
  437. package/api/types/TemporaryCredentialResponse.js +3 -0
  438. package/api/types/TemporaryCredentialResponseEnvelope.d.ts +4 -0
  439. package/api/types/TemporaryCredentialResponseEnvelope.js +3 -0
  440. package/api/types/TemporaryCredentialSubject.d.ts +26 -0
  441. package/api/types/TemporaryCredentialSubject.js +17 -0
  442. package/api/types/TypesDefinition.d.ts +1 -0
  443. package/api/types/TypesDefinition.js +3 -0
  444. package/api/types/UnassignedHarborUserEnvelope.d.ts +9 -0
  445. package/api/types/UnassignedHarborUserEnvelope.js +3 -0
  446. package/api/types/index.d.ts +91 -4
  447. package/api/types/index.js +91 -4
  448. package/core/auth/AuthProvider.d.ts +1 -0
  449. package/core/auth/AuthProvider.js +7 -0
  450. package/core/auth/index.d.ts +1 -1
  451. package/core/auth/index.js +3 -1
  452. package/core/fetcher/Fetcher.js +9 -92
  453. package/core/fetcher/getResponseBody.js +11 -0
  454. package/core/fetcher/makePassthroughRequest.js +26 -4
  455. package/core/fetcher/redactUrl.d.ts +2 -0
  456. package/core/fetcher/redactUrl.js +88 -0
  457. package/core/fetcher/requestWithRetries.js +4 -1
  458. package/core/fetcher/signals.js +9 -1
  459. package/core/requestBody.d.ts +12 -0
  460. package/core/requestBody.js +26 -0
  461. package/core/runtime/index.d.ts +1 -1
  462. package/core/runtime/index.js +2 -1
  463. package/core/runtime/runtime.d.ts +19 -0
  464. package/core/runtime/runtime.js +74 -2
  465. package/core/url/qs.js +2 -2
  466. package/errors/PolytomicError.d.ts +1 -0
  467. package/errors/PolytomicError.js +5 -1
  468. package/errors/PolytomicTimeoutError.d.ts +2 -2
  469. package/errors/PolytomicTimeoutError.js +40 -6
  470. package/package.json +2 -2
  471. package/reference.md +5034 -1329
  472. package/version.d.ts +1 -1
  473. package/version.js +1 -1
  474. package/api/types/SyncResponseEnvelope.d.ts +0 -4
  475. package/api/types/TargetCreateInput.d.ts +0 -8
  476. /package/api/resources/{connections/client/requests/ExecuteConnectionProxyRequest.js → bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.js} +0 -0
  477. /package/api/resources/{connections/client/requests/PartnerCreateSharedConnectionRequestSchema.js → bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.js} +0 -0
  478. /package/api/resources/{modelSync/client/requests/CreateSyncRequest.js → connections/resources/proxy/client/requests/ExecuteConnectionProxyRequest.js} +0 -0
  479. /package/api/resources/{modelSync/client/requests/UpdateSyncRequest.js → connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.js} +0 -0
  480. /package/api/resources/connections/{client → resources/sharedConnections/client}/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +0 -0
  481. /package/api/{types/SyncResponse.js → resources/connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.js} +0 -0
  482. /package/api/{types/SyncResponseEnvelope.js → resources/harbors/client/requests/CreateHarborContextDraftRequest.js} +0 -0
  483. /package/api/{types/Target.js → resources/harbors/client/requests/CreateHarborContextRequest.js} +0 -0
  484. /package/api/{types/TargetCreateInput.js → resources/harbors/client/requests/CreateHarborRequest.js} +0 -0
@@ -0,0 +1,789 @@
1
+ import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOptions } from "../../../../BaseClient";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
3
+ import * as core from "../../../../core";
4
+ import * as Polytomic from "../../../index";
5
+ export declare namespace HarborsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ interface IdempotentRequestOptions extends RequestOptions, BaseIdempotentRequestOptions {
10
+ }
11
+ }
12
+ export declare class HarborsClient {
13
+ protected readonly _options: NormalizedClientOptionsWithAuth<HarborsClient.Options>;
14
+ constructor(options?: HarborsClient.Options);
15
+ /**
16
+ * Lists profile-authorized connections and capabilities for the current Harbor credential.
17
+ *
18
+ * @param {Polytomic.HarborsListAuthorizedConnectionsRequest} request
19
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
20
+ *
21
+ * @throws {@link errors.PolytomicError}
22
+ * @throws {@link errors.PolytomicTimeoutError}
23
+ *
24
+ * @example
25
+ * await client.harbors.listAuthorizedConnections({
26
+ * limit: 1,
27
+ * page_token: "page_token"
28
+ * })
29
+ */
30
+ listAuthorizedConnections(request?: Polytomic.HarborsListAuthorizedConnectionsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborConnectionListEnvelope>;
31
+ private __listAuthorizedConnections;
32
+ /**
33
+ * Lists one bounded page of schema resources authorized by the current Harbor profile.
34
+ *
35
+ * @param {string} connection_id
36
+ * @param {Polytomic.HarborsListAuthorizedSchemasRequest} request
37
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link errors.PolytomicError}
40
+ * @throws {@link errors.PolytomicTimeoutError}
41
+ *
42
+ * @example
43
+ * await client.harbors.listAuthorizedSchemas("248df4b7-aa70-47b8-a036-33ac447e668d", {
44
+ * limit: 1,
45
+ * page_token: "page_token"
46
+ * })
47
+ */
48
+ listAuthorizedSchemas(connection_id: string, request?: Polytomic.HarborsListAuthorizedSchemasRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborSchemaListEnvelope>;
49
+ private __listAuthorizedSchemas;
50
+ /**
51
+ * Returns one schema resource authorized by the current Harbor profile.
52
+ *
53
+ * @param {string} connection_id
54
+ * @param {string} schema_id
55
+ * @param {Polytomic.HarborsGetAuthorizedSchemaRequest} request
56
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link errors.PolytomicError}
59
+ * @throws {@link errors.PolytomicTimeoutError}
60
+ *
61
+ * @example
62
+ * await client.harbors.getAuthorizedSchema("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
63
+ */
64
+ getAuthorizedSchema(connection_id: string, schema_id: string, request?: Polytomic.HarborsGetAuthorizedSchemaRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborConnectionSchemaEnvelope>;
65
+ private __getAuthorizedSchema;
66
+ /**
67
+ * Registers a service-attested MCP transport session for a scoped Harbor credential.
68
+ *
69
+ * @param {Polytomic.RegisterHarborSessionRequest} request
70
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
71
+ *
72
+ * @throws {@link Polytomic.ForbiddenError}
73
+ * @throws {@link Polytomic.ServiceUnavailableError}
74
+ * @throws {@link errors.PolytomicError}
75
+ * @throws {@link errors.PolytomicTimeoutError}
76
+ *
77
+ * @example
78
+ * await client.harbors.registerSession()
79
+ */
80
+ registerSession(request?: Polytomic.RegisterHarborSessionRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RegisterHarborSessionEnvelope>;
81
+ private __registerSession;
82
+ /**
83
+ * Closes a service-attested Harbor MCP transport session.
84
+ *
85
+ * @param {string} session_id
86
+ * @param {Polytomic.HarborsCloseSessionRequest} request
87
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
88
+ *
89
+ * @throws {@link Polytomic.ForbiddenError}
90
+ * @throws {@link Polytomic.ServiceUnavailableError}
91
+ * @throws {@link errors.PolytomicError}
92
+ * @throws {@link errors.PolytomicTimeoutError}
93
+ *
94
+ * @example
95
+ * await client.harbors.closeSession("248df4b7-aa70-47b8-a036-33ac447e668d")
96
+ */
97
+ closeSession(session_id: string, request?: Polytomic.HarborsCloseSessionRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.CloseHarborSessionEnvelope>;
98
+ private __closeSession;
99
+ /**
100
+ * Lists Harbors in the caller's current organization.
101
+ *
102
+ * Returns Harbors in creation order. Use `pagination.next_page_token` to continue when more results are available.
103
+ *
104
+ * @param {Polytomic.HarborsListRequest} request
105
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
106
+ *
107
+ * @throws {@link Polytomic.ForbiddenError}
108
+ * @throws {@link Polytomic.UnprocessableEntityError}
109
+ * @throws {@link Polytomic.InternalServerError}
110
+ * @throws {@link errors.PolytomicError}
111
+ * @throws {@link errors.PolytomicTimeoutError}
112
+ *
113
+ * @example
114
+ * await client.harbors.list({
115
+ * limit: 50,
116
+ * page_token: "page_token"
117
+ * })
118
+ */
119
+ list(request?: Polytomic.HarborsListRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborListEnvelope>;
120
+ private __list;
121
+ /**
122
+ * Creates a managed or customer-managed Harbor in the caller's current organization.
123
+ *
124
+ * `generate_api_key` defaults to `true`. Polytomic returns a new plaintext credential only in this response. Set it to `false` to create the Harbor without a credential.
125
+ *
126
+ * For `customer_managed`, `backing_connection_id` must identify a queryable Connection that your credential can access.
127
+ *
128
+ * @param {Polytomic.CreateHarborRequest} request
129
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
130
+ *
131
+ * @throws {@link Polytomic.ForbiddenError}
132
+ * @throws {@link Polytomic.ConflictError}
133
+ * @throws {@link Polytomic.UnprocessableEntityError}
134
+ * @throws {@link Polytomic.InternalServerError}
135
+ * @throws {@link errors.PolytomicError}
136
+ * @throws {@link errors.PolytomicTimeoutError}
137
+ *
138
+ * @example
139
+ * await client.harbors.create({
140
+ * backing_mode: "managed",
141
+ * name: "Revenue Operations"
142
+ * })
143
+ */
144
+ create(request: Polytomic.CreateHarborRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.CreateHarborEnvelope>;
145
+ private __create;
146
+ /**
147
+ * Returns one Harbor by its first-class Harbor ID.
148
+ *
149
+ * The response exposes the backing Connection ID but not the internal profile used to authorize Harbor credentials.
150
+ *
151
+ * @param {string} harbor_id - Unique identifier of the Harbor.
152
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
153
+ *
154
+ * @throws {@link Polytomic.ForbiddenError}
155
+ * @throws {@link Polytomic.NotFoundError}
156
+ * @throws {@link Polytomic.InternalServerError}
157
+ * @throws {@link errors.PolytomicError}
158
+ * @throws {@link errors.PolytomicTimeoutError}
159
+ *
160
+ * @example
161
+ * await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d")
162
+ */
163
+ get(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborEnvelope>;
164
+ private __get;
165
+ /**
166
+ * Updates a Harbor's name and description.
167
+ *
168
+ * This operation does not change `backing_mode` or `backing_connection_id`.
169
+ *
170
+ * @param {string} harbor_id - Unique identifier of the Harbor.
171
+ * @param {Polytomic.UpdateHarborRequest} request
172
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
173
+ *
174
+ * @throws {@link Polytomic.ForbiddenError}
175
+ * @throws {@link Polytomic.NotFoundError}
176
+ * @throws {@link Polytomic.ConflictError}
177
+ * @throws {@link Polytomic.UnprocessableEntityError}
178
+ * @throws {@link Polytomic.InternalServerError}
179
+ * @throws {@link errors.PolytomicError}
180
+ * @throws {@link errors.PolytomicTimeoutError}
181
+ *
182
+ * @example
183
+ * await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
184
+ * name: "Revenue Operations"
185
+ * })
186
+ */
187
+ update(harbor_id: string, request: Polytomic.UpdateHarborRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborEnvelope>;
188
+ private __update;
189
+ /**
190
+ * Deletes a Harbor and revokes its credentials.
191
+ *
192
+ * > 🚧 Harbor deletion
193
+ * >
194
+ * > Deleting a Harbor revokes its credentials, context documents, and user assignments. A customer-managed backing Connection remains available. Polytomic deletes a managed backing Connection only when no other resource uses it.
195
+ *
196
+ * @param {string} harbor_id - Unique identifier of the Harbor.
197
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
198
+ *
199
+ * @throws {@link Polytomic.ForbiddenError}
200
+ * @throws {@link Polytomic.NotFoundError}
201
+ * @throws {@link Polytomic.ConflictError}
202
+ * @throws {@link Polytomic.InternalServerError}
203
+ * @throws {@link errors.PolytomicError}
204
+ * @throws {@link errors.PolytomicTimeoutError}
205
+ *
206
+ * @example
207
+ * await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
208
+ */
209
+ delete(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborEnvelope>;
210
+ private __delete;
211
+ /**
212
+ * Lists context document metadata for a Harbor without returning document content.
213
+ *
214
+ * Collection items include the current published `version` number and omit
215
+ * `content`. Use the context item endpoint to retrieve a complete document.
216
+ *
217
+ * A Harbor profile credential can read context only when `harbor_id` identifies
218
+ * its own Harbor.
219
+ *
220
+ * @param {string} harbor_id - Unique identifier of the Harbor.
221
+ * @param {Polytomic.HarborsListContextsRequest} request
222
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
223
+ *
224
+ * @throws {@link Polytomic.ForbiddenError}
225
+ * @throws {@link Polytomic.NotFoundError}
226
+ * @throws {@link Polytomic.UnprocessableEntityError}
227
+ * @throws {@link Polytomic.InternalServerError}
228
+ * @throws {@link errors.PolytomicError}
229
+ * @throws {@link errors.PolytomicTimeoutError}
230
+ *
231
+ * @example
232
+ * await client.harbors.listContexts("248df4b7-aa70-47b8-a036-33ac447e668d", {
233
+ * limit: 50,
234
+ * page_token: "page_token"
235
+ * })
236
+ */
237
+ listContexts(harbor_id: string, request?: Polytomic.HarborsListContextsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextListEnvelope>;
238
+ private __listContexts;
239
+ /**
240
+ * Creates and attaches a context document to a Harbor.
241
+ *
242
+ * The new document belongs only to this Harbor. Context documents cannot be attached to multiple Harbors.
243
+ *
244
+ * @param {string} harbor_id - Unique identifier of the Harbor.
245
+ * @param {Polytomic.CreateHarborContextRequest} request
246
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
247
+ *
248
+ * @throws {@link Polytomic.ForbiddenError}
249
+ * @throws {@link Polytomic.NotFoundError}
250
+ * @throws {@link Polytomic.UnprocessableEntityError}
251
+ * @throws {@link Polytomic.InternalServerError}
252
+ * @throws {@link errors.PolytomicError}
253
+ * @throws {@link errors.PolytomicTimeoutError}
254
+ *
255
+ * @example
256
+ * await client.harbors.createContext("248df4b7-aa70-47b8-a036-33ac447e668d", {
257
+ * content: "Bookings use the contract signed date...",
258
+ * title: "Revenue definitions"
259
+ * })
260
+ */
261
+ createContext(harbor_id: string, request: Polytomic.CreateHarborContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
262
+ private __createContext;
263
+ /**
264
+ * Lists mutable Harbor context drafts without returning document content.
265
+ *
266
+ * The collection includes drafts for published context documents and initial drafts
267
+ * that have not yet been published. Use `context_id` with the draft detail,
268
+ * replacement, promotion, and discard endpoints.
269
+ *
270
+ * Draft metadata does not include `content`. Fetch a selected draft through its
271
+ * detail endpoint to read the complete candidate. Normal context list and detail
272
+ * operations continue to return published content only.
273
+ *
274
+ * @param {string} harbor_id - Unique identifier of the Harbor.
275
+ * @param {Polytomic.HarborsListContextDraftsRequest} request
276
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
277
+ *
278
+ * @throws {@link Polytomic.ForbiddenError}
279
+ * @throws {@link Polytomic.NotFoundError}
280
+ * @throws {@link Polytomic.UnprocessableEntityError}
281
+ * @throws {@link Polytomic.InternalServerError}
282
+ * @throws {@link errors.PolytomicError}
283
+ * @throws {@link errors.PolytomicTimeoutError}
284
+ *
285
+ * @example
286
+ * await client.harbors.listContextDrafts("248df4b7-aa70-47b8-a036-33ac447e668d", {
287
+ * limit: 50,
288
+ * page_token: "page_token"
289
+ * })
290
+ */
291
+ listContextDrafts(harbor_id: string, request?: Polytomic.HarborsListContextDraftsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftListEnvelope>;
292
+ private __listContextDrafts;
293
+ /**
294
+ * Creates an unpublished context document with its initial mutable draft.
295
+ *
296
+ * Creates a stable context identity and its initial mutable draft without publishing
297
+ * content to the Harbor. The response includes `context_id`, which identifies the
298
+ * draft replacement, promotion, and discard routes.
299
+ *
300
+ * The initial draft has a null `base_revision_id`. It remains absent from normal
301
+ * context list/detail, GraphQL, entity lookup, and Harbor MCP reads until promoted.
302
+ * Use the regular context creation endpoint instead when the initial payload should
303
+ * be published immediately.
304
+ *
305
+ * @param {string} harbor_id - Unique identifier of the Harbor.
306
+ * @param {Polytomic.CreateHarborContextDraftRequest} request
307
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
308
+ *
309
+ * @throws {@link Polytomic.ForbiddenError}
310
+ * @throws {@link Polytomic.NotFoundError}
311
+ * @throws {@link Polytomic.UnprocessableEntityError}
312
+ * @throws {@link Polytomic.InternalServerError}
313
+ * @throws {@link errors.PolytomicError}
314
+ * @throws {@link errors.PolytomicTimeoutError}
315
+ *
316
+ * @example
317
+ * await client.harbors.createContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", {
318
+ * content: "Bookings use the contract signed date...",
319
+ * title: "Revenue definitions"
320
+ * })
321
+ */
322
+ createContextDraft(harbor_id: string, request: Polytomic.CreateHarborContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
323
+ private __createContextDraft;
324
+ /**
325
+ * Returns one complete Harbor context document.
326
+ *
327
+ * The response includes the current published `version` number and complete
328
+ * plain-text `content`.
329
+ *
330
+ * A Harbor profile credential can read context only when `harbor_id` identifies
331
+ * its own Harbor.
332
+ *
333
+ * @param {string} harbor_id - Unique identifier of the Harbor.
334
+ * @param {string} context_id - Unique identifier of the context document.
335
+ * @param {Polytomic.HarborsGetContextRequest} request
336
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
337
+ *
338
+ * @throws {@link Polytomic.ForbiddenError}
339
+ * @throws {@link Polytomic.NotFoundError}
340
+ * @throws {@link Polytomic.InternalServerError}
341
+ * @throws {@link errors.PolytomicError}
342
+ * @throws {@link errors.PolytomicTimeoutError}
343
+ *
344
+ * @example
345
+ * await client.harbors.getContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
346
+ */
347
+ getContext(harbor_id: string, context_id: string, request?: Polytomic.HarborsGetContextRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
348
+ private __getContext;
349
+ /**
350
+ * Replaces one Harbor context document.
351
+ *
352
+ * Each successful request publishes the next immutable version. You can omit
353
+ * `change_note`.
354
+ *
355
+ * A direct publication leaves an existing draft unchanged.
356
+ *
357
+ * @param {string} harbor_id - Unique identifier of the Harbor.
358
+ * @param {string} context_id - Unique identifier of the context document.
359
+ * @param {Polytomic.SaveHarborContextRequest} request
360
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
361
+ *
362
+ * @throws {@link Polytomic.ForbiddenError}
363
+ * @throws {@link Polytomic.NotFoundError}
364
+ * @throws {@link Polytomic.UnprocessableEntityError}
365
+ * @throws {@link Polytomic.InternalServerError}
366
+ * @throws {@link errors.PolytomicError}
367
+ * @throws {@link errors.PolytomicTimeoutError}
368
+ *
369
+ * @example
370
+ * await client.harbors.updateContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
371
+ * content: "Bookings use the contract signed date...",
372
+ * title: "Revenue definitions"
373
+ * })
374
+ */
375
+ updateContext(harbor_id: string, context_id: string, request: Polytomic.SaveHarborContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextEnvelope>;
376
+ private __updateContext;
377
+ /**
378
+ * Deletes one context document from a Harbor.
379
+ *
380
+ * Deleting a context document does not affect the Harbor or its other context documents.
381
+ *
382
+ * @param {string} harbor_id - Unique identifier of the Harbor.
383
+ * @param {string} context_id - Unique identifier of the context document.
384
+ * @param {Polytomic.HarborsDeleteContextRequest} request
385
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
386
+ *
387
+ * @throws {@link Polytomic.ForbiddenError}
388
+ * @throws {@link Polytomic.NotFoundError}
389
+ * @throws {@link Polytomic.InternalServerError}
390
+ * @throws {@link errors.PolytomicError}
391
+ * @throws {@link errors.PolytomicTimeoutError}
392
+ *
393
+ * @example
394
+ * await client.harbors.deleteContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
395
+ */
396
+ deleteContext(harbor_id: string, context_id: string, request?: Polytomic.HarborsDeleteContextRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborContextEnvelope>;
397
+ private __deleteContext;
398
+ /**
399
+ * Returns the mutable draft for a Harbor context document.
400
+ *
401
+ * Drafts are available only through the draft endpoints. `base_revision_id`
402
+ * identifies the published revision from which the candidate was created. Normal
403
+ * context reads and Harbor MCP tools continue to return the current published
404
+ * version. Creator and updater IDs are null when their actor type is `system`.
405
+ *
406
+ * @param {string} harbor_id - Unique identifier of the Harbor.
407
+ * @param {string} context_id - Unique identifier of the context document.
408
+ * @param {Polytomic.HarborsGetContextDraftRequest} request
409
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
410
+ *
411
+ * @throws {@link Polytomic.ForbiddenError}
412
+ * @throws {@link Polytomic.NotFoundError}
413
+ * @throws {@link Polytomic.InternalServerError}
414
+ * @throws {@link errors.PolytomicError}
415
+ * @throws {@link errors.PolytomicTimeoutError}
416
+ *
417
+ * @example
418
+ * await client.harbors.getContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
419
+ */
420
+ getContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsGetContextDraftRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
421
+ private __getContextDraft;
422
+ /**
423
+ * Creates or completely replaces the mutable draft for a Harbor context document.
424
+ *
425
+ * The request supplies the complete draft payload. If a draft already exists,
426
+ * this request replaces it while preserving the draft ID, creation metadata, and
427
+ * `base_revision_id`.
428
+ *
429
+ * A new draft for a published document records the current revision as its base.
430
+ * An unpublished document's initial draft keeps a null base when replaced. Saving
431
+ * a draft does not change published content or its `updated_at`. Creator and
432
+ * updater provenance comes from the request actor; system actors have a null actor
433
+ * ID.
434
+ *
435
+ * @param {string} harbor_id - Unique identifier of the Harbor.
436
+ * @param {string} context_id - Unique identifier of the context document.
437
+ * @param {Polytomic.SaveHarborContextDraftRequest} request
438
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
439
+ *
440
+ * @throws {@link Polytomic.ForbiddenError}
441
+ * @throws {@link Polytomic.NotFoundError}
442
+ * @throws {@link Polytomic.UnprocessableEntityError}
443
+ * @throws {@link Polytomic.InternalServerError}
444
+ * @throws {@link errors.PolytomicError}
445
+ * @throws {@link errors.PolytomicTimeoutError}
446
+ *
447
+ * @example
448
+ * await client.harbors.saveContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
449
+ * content: "Bookings use the contract signed date...",
450
+ * title: "Revenue definitions"
451
+ * })
452
+ */
453
+ saveContextDraft(harbor_id: string, context_id: string, request: Polytomic.SaveHarborContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextDraftEnvelope>;
454
+ private __saveContextDraft;
455
+ /**
456
+ * Discards the mutable draft for a Harbor context document.
457
+ *
458
+ * Discarding a draft does not change the current published version or its
459
+ * history. If the draft belongs to a context that has never been published,
460
+ * discarding it also removes the otherwise empty context identity.
461
+ *
462
+ * @param {string} harbor_id - Unique identifier of the Harbor.
463
+ * @param {string} context_id - Unique identifier of the context document.
464
+ * @param {Polytomic.HarborsDeleteContextDraftRequest} request
465
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
466
+ *
467
+ * @throws {@link Polytomic.ForbiddenError}
468
+ * @throws {@link Polytomic.NotFoundError}
469
+ * @throws {@link Polytomic.InternalServerError}
470
+ * @throws {@link errors.PolytomicError}
471
+ * @throws {@link errors.PolytomicTimeoutError}
472
+ *
473
+ * @example
474
+ * await client.harbors.deleteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
475
+ */
476
+ deleteContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsDeleteContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.DeletedHarborContextDraftEnvelope>;
477
+ private __deleteContextDraft;
478
+ /**
479
+ * Promotes the draft to the next immutable published context version.
480
+ *
481
+ * Promotion publishes the draft's exact title, description, content, and optional
482
+ * change note as the next version. An unpublished context's initial draft becomes
483
+ * version 1. The draft is removed after publication.
484
+ *
485
+ * Promotion returns a conflict when the current published revision differs from
486
+ * the draft's `base_revision_id`. The stale draft remains available so an author
487
+ * can compare it with the current version before discarding and recreating it.
488
+ *
489
+ * @param {string} harbor_id - Unique identifier of the Harbor.
490
+ * @param {string} context_id - Unique identifier of the context document.
491
+ * @param {Polytomic.HarborsPromoteContextDraftRequest} request
492
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
493
+ *
494
+ * @throws {@link Polytomic.ForbiddenError}
495
+ * @throws {@link Polytomic.NotFoundError}
496
+ * @throws {@link Polytomic.ConflictError}
497
+ * @throws {@link Polytomic.InternalServerError}
498
+ * @throws {@link errors.PolytomicError}
499
+ * @throws {@link errors.PolytomicTimeoutError}
500
+ *
501
+ * @example
502
+ * await client.harbors.promoteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
503
+ */
504
+ promoteContextDraft(harbor_id: string, context_id: string, request?: Polytomic.HarborsPromoteContextDraftRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionEnvelope>;
505
+ private __promoteContextDraft;
506
+ /**
507
+ * Lists immutable published versions of a Harbor context document without returning content.
508
+ *
509
+ * Versions are ordered from newest to oldest. Collection items omit `content`,
510
+ * and the draft is never included. Pagination tokens continue from the last
511
+ * returned version, so publishing a newer version between requests does not shift
512
+ * or duplicate older results.
513
+ *
514
+ * Published revision IDs are durable artifact identities intended for future
515
+ * Harbor activity and audit records. Publisher IDs are paired with actor types.
516
+ * System publications have `published_by_type: "system"` and a null
517
+ * `published_by` because the system actor has no UUID.
518
+ *
519
+ * A Harbor profile credential can read versions only when `harbor_id` identifies
520
+ * its own Harbor.
521
+ *
522
+ * @param {string} harbor_id - Unique identifier of the Harbor.
523
+ * @param {string} context_id - Unique identifier of the context document.
524
+ * @param {Polytomic.HarborsListContextVersionsRequest} request
525
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
526
+ *
527
+ * @throws {@link Polytomic.ForbiddenError}
528
+ * @throws {@link Polytomic.NotFoundError}
529
+ * @throws {@link Polytomic.UnprocessableEntityError}
530
+ * @throws {@link Polytomic.InternalServerError}
531
+ * @throws {@link errors.PolytomicError}
532
+ * @throws {@link errors.PolytomicTimeoutError}
533
+ *
534
+ * @example
535
+ * await client.harbors.listContextVersions("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
536
+ * limit: 50,
537
+ * page_token: "page_token"
538
+ * })
539
+ */
540
+ listContextVersions(harbor_id: string, context_id: string, request?: Polytomic.HarborsListContextVersionsRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionListEnvelope>;
541
+ private __listContextVersions;
542
+ /**
543
+ * Returns one immutable published version of a Harbor context document.
544
+ *
545
+ * The response includes the complete title, description, and plain-text
546
+ * `content` captured when the version was published.
547
+ *
548
+ * Published versions cannot be changed or deleted. System publications have
549
+ * `published_by_type: "system"` and a null `published_by`.
550
+ *
551
+ * @param {string} harbor_id - Unique identifier of the Harbor.
552
+ * @param {string} context_id - Unique identifier of the context document.
553
+ * @param {string} version_id - Unique identifier of the published context version.
554
+ * @param {Polytomic.HarborsGetContextVersionRequest} request
555
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
556
+ *
557
+ * @throws {@link Polytomic.ForbiddenError}
558
+ * @throws {@link Polytomic.NotFoundError}
559
+ * @throws {@link Polytomic.InternalServerError}
560
+ * @throws {@link errors.PolytomicError}
561
+ * @throws {@link errors.PolytomicTimeoutError}
562
+ *
563
+ * @example
564
+ * await client.harbors.getContextVersion("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
565
+ */
566
+ getContextVersion(harbor_id: string, context_id: string, version_id: string, request?: Polytomic.HarborsGetContextVersionRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborContextVersionEnvelope>;
567
+ private __getContextVersion;
568
+ /**
569
+ * Lists active masked credentials for a Harbor.
570
+ *
571
+ * Each item contains a masked `key_hint`. Polytomic never returns a credential plaintext after creation.
572
+ *
573
+ * @param {string} harbor_id - Unique identifier of the Harbor.
574
+ * @param {Polytomic.HarborsListKeysRequest} request
575
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
576
+ *
577
+ * @throws {@link Polytomic.ForbiddenError}
578
+ * @throws {@link Polytomic.NotFoundError}
579
+ * @throws {@link Polytomic.UnprocessableEntityError}
580
+ * @throws {@link Polytomic.InternalServerError}
581
+ * @throws {@link errors.PolytomicError}
582
+ * @throws {@link errors.PolytomicTimeoutError}
583
+ *
584
+ * @example
585
+ * await client.harbors.listKeys("248df4b7-aa70-47b8-a036-33ac447e668d", {
586
+ * limit: 50,
587
+ * page_token: "page_token"
588
+ * })
589
+ */
590
+ listKeys(harbor_id: string, request?: Polytomic.HarborsListKeysRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborKeyListEnvelope>;
591
+ private __listKeys;
592
+ /**
593
+ * Generates a new Harbor credential and returns its plaintext value once.
594
+ *
595
+ * Store the returned `value` securely. Polytomic returns it only in this response.
596
+ *
597
+ * @param {string} harbor_id - Unique identifier of the Harbor.
598
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
599
+ *
600
+ * @throws {@link Polytomic.ForbiddenError}
601
+ * @throws {@link Polytomic.NotFoundError}
602
+ * @throws {@link Polytomic.InternalServerError}
603
+ * @throws {@link errors.PolytomicError}
604
+ * @throws {@link errors.PolytomicTimeoutError}
605
+ *
606
+ * @example
607
+ * await client.harbors.createKey("248df4b7-aa70-47b8-a036-33ac447e668d")
608
+ */
609
+ createKey(harbor_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborKeyEnvelope>;
610
+ private __createKey;
611
+ /**
612
+ * Revokes one Harbor credential by its credential ID.
613
+ *
614
+ * Revocation affects only the selected credential. Other active Harbor credentials remain valid.
615
+ *
616
+ * @param {string} harbor_id - Unique identifier of the Harbor.
617
+ * @param {string} key_id - Unique identifier of the Harbor credential.
618
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
619
+ *
620
+ * @throws {@link Polytomic.ForbiddenError}
621
+ * @throws {@link Polytomic.NotFoundError}
622
+ * @throws {@link Polytomic.InternalServerError}
623
+ * @throws {@link errors.PolytomicError}
624
+ * @throws {@link errors.PolytomicTimeoutError}
625
+ *
626
+ * @example
627
+ * await client.harbors.deleteKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
628
+ */
629
+ deleteKey(harbor_id: string, key_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.RevokedHarborKeyEnvelope>;
630
+ private __deleteKey;
631
+ /**
632
+ * Resolves documented source table and field identities to the names a Harbor's backing Connection accepts.
633
+ *
634
+ * @param {string} harbor_id - Unique identifier of the Harbor.
635
+ * @param {Polytomic.ResolveHarborSourceMappingsRequest} request
636
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
637
+ *
638
+ * @throws {@link Polytomic.ForbiddenError}
639
+ * @throws {@link Polytomic.NotFoundError}
640
+ * @throws {@link Polytomic.UnprocessableEntityError}
641
+ * @throws {@link Polytomic.InternalServerError}
642
+ * @throws {@link errors.PolytomicError}
643
+ * @throws {@link errors.PolytomicTimeoutError}
644
+ *
645
+ * @example
646
+ * await client.harbors.resolveSourceMappings("248df4b7-aa70-47b8-a036-33ac447e668d")
647
+ */
648
+ resolveSourceMappings(harbor_id: string, request?: Polytomic.ResolveHarborSourceMappingsRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.ResolveHarborSourceMappingsEnvelope>;
649
+ private __resolveSourceMappings;
650
+ /**
651
+ * Returns raw Polytomic refresh evidence for datasets written to a Harbor.
652
+ *
653
+ * Each pipeline corresponds to a bulk sync or model sync that writes at least one
654
+ * dataset to the Harbor's backing Connection. Tables populated outside Polytomic
655
+ * are not included, even when they are queryable through a customer-managed
656
+ * backing Connection.
657
+ *
658
+ * The response groups shared pipeline evidence so schedules and configuration are
659
+ * not repeated for every dataset:
660
+ *
661
+ * - Each entry in `pipelines` identifies the producer through `type` and `id`.
662
+ * Separate pipelines targeting the same physical dataset remain separate
663
+ * entries.
664
+ * - `datasets` is keyed by the effective destination dataset name.
665
+ * `last_success_at` is the start time of the most recent execution in which that
666
+ * dataset completed successfully, including a successful dataset within a bulk
667
+ * execution that completes with errors. The start time is a conservative upper
668
+ * bound because source reads and destination writes happen afterward.
669
+ * - `latest_status` preserves the latest Polytomic execution status. Never-run
670
+ * datasets omit this field.
671
+ * - Pipeline-level `schedules` preserves schedule parameters and selectors. A
672
+ * schedule can be manual, event-driven, advanced, selective, or limited to
673
+ * named source schemas, so callers should not reduce the list to one inferred
674
+ * cadence.
675
+ * - Continuous schedules use the scheduler's persisted next firing. If scheduler
676
+ * state is unavailable, `next_run_at` is omitted rather than recalculated with
677
+ * new jitter.
678
+ * - Paused pipelines remain present with `refresh_enabled` set to `false` and no
679
+ * `next_run_at`.
680
+ *
681
+ * Use absolute timestamps and the raw statuses to apply the maximum acceptable
682
+ * staleness for your task. The endpoint does not classify datasets or the Harbor
683
+ * as healthy, stale, or unhealthy.
684
+ *
685
+ * @param {string} harbor_id - Unique identifier of the Harbor.
686
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
687
+ *
688
+ * @throws {@link Polytomic.ForbiddenError}
689
+ * @throws {@link Polytomic.NotFoundError}
690
+ * @throws {@link Polytomic.InternalServerError}
691
+ * @throws {@link errors.PolytomicError}
692
+ * @throws {@link errors.PolytomicTimeoutError}
693
+ *
694
+ * @example
695
+ * await client.harbors.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d")
696
+ */
697
+ getStatus(harbor_id: string, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborStatusEnvelope>;
698
+ private __getStatus;
699
+ /**
700
+ * Lists Harbor-only users assigned to a Harbor.
701
+ *
702
+ * The response contains only Harbor-only users currently assigned to this Harbor.
703
+ *
704
+ * @param {string} harbor_id - Unique identifier of the Harbor.
705
+ * @param {Polytomic.HarborsListUsersRequest} request
706
+ * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
707
+ *
708
+ * @throws {@link Polytomic.ForbiddenError}
709
+ * @throws {@link Polytomic.NotFoundError}
710
+ * @throws {@link Polytomic.UnprocessableEntityError}
711
+ * @throws {@link Polytomic.InternalServerError}
712
+ * @throws {@link errors.PolytomicError}
713
+ * @throws {@link errors.PolytomicTimeoutError}
714
+ *
715
+ * @example
716
+ * await client.harbors.listUsers("248df4b7-aa70-47b8-a036-33ac447e668d", {
717
+ * limit: 50,
718
+ * page_token: "page_token"
719
+ * })
720
+ */
721
+ listUsers(harbor_id: string, request?: Polytomic.HarborsListUsersRequest, requestOptions?: HarborsClient.RequestOptions): core.HttpResponsePromise<Polytomic.HarborUserListEnvelope>;
722
+ private __listUsers;
723
+ /**
724
+ * Invites and assigns a new Harbor-only user.
725
+ *
726
+ * The invited account is restricted to assigned Harbors and does not receive regular Polytomic application access.
727
+ *
728
+ * @param {string} harbor_id - Unique identifier of the Harbor.
729
+ * @param {Polytomic.InviteHarborUserRequest} request
730
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
731
+ *
732
+ * @throws {@link Polytomic.ForbiddenError}
733
+ * @throws {@link Polytomic.NotFoundError}
734
+ * @throws {@link Polytomic.ConflictError}
735
+ * @throws {@link Polytomic.UnprocessableEntityError}
736
+ * @throws {@link Polytomic.InternalServerError}
737
+ * @throws {@link errors.PolytomicError}
738
+ * @throws {@link errors.PolytomicTimeoutError}
739
+ *
740
+ * @example
741
+ * await client.harbors.inviteUser("248df4b7-aa70-47b8-a036-33ac447e668d", {
742
+ * email: "analyst@example.com"
743
+ * })
744
+ */
745
+ inviteUser(harbor_id: string, request: Polytomic.InviteHarborUserRequest, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborUserEnvelope>;
746
+ private __inviteUser;
747
+ /**
748
+ * Assigns an existing Harbor-only user to a Harbor.
749
+ *
750
+ * The assignment is idempotent. Regular Polytomic users cannot be assigned because they already have application access to Harbors.
751
+ *
752
+ * @param {string} harbor_id - Unique identifier of the Harbor.
753
+ * @param {string} user_id - Unique identifier of the Harbor-only user.
754
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
755
+ *
756
+ * @throws {@link Polytomic.ForbiddenError}
757
+ * @throws {@link Polytomic.NotFoundError}
758
+ * @throws {@link Polytomic.UnprocessableEntityError}
759
+ * @throws {@link Polytomic.InternalServerError}
760
+ * @throws {@link errors.PolytomicError}
761
+ * @throws {@link errors.PolytomicTimeoutError}
762
+ *
763
+ * @example
764
+ * await client.harbors.assignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
765
+ */
766
+ assignUser(harbor_id: string, user_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.HarborUserEnvelope>;
767
+ private __assignUser;
768
+ /**
769
+ * Removes a Harbor assignment without deleting the user.
770
+ *
771
+ * This removes only the Harbor assignment. The organization user remains available and may retain assignments to other Harbors.
772
+ *
773
+ * @param {string} harbor_id - Unique identifier of the Harbor.
774
+ * @param {string} user_id - Unique identifier of the Harbor-only user.
775
+ * @param {HarborsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
776
+ *
777
+ * @throws {@link Polytomic.ForbiddenError}
778
+ * @throws {@link Polytomic.NotFoundError}
779
+ * @throws {@link Polytomic.UnprocessableEntityError}
780
+ * @throws {@link Polytomic.InternalServerError}
781
+ * @throws {@link errors.PolytomicError}
782
+ * @throws {@link errors.PolytomicTimeoutError}
783
+ *
784
+ * @example
785
+ * await client.harbors.unassignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
786
+ */
787
+ unassignUser(harbor_id: string, user_id: string, requestOptions?: HarborsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.UnassignedHarborUserEnvelope>;
788
+ private __unassignUser;
789
+ }