polytomic 25.9.1 → 25.9.3

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