polytomic 25.9.3 → 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 (117) hide show
  1. package/BaseClient.d.ts +15 -0
  2. package/BaseClient.js +17 -2
  3. package/api/errors/BadGatewayError.d.ts +1 -0
  4. package/api/errors/BadGatewayError.js +1 -1
  5. package/api/errors/BadRequestError.d.ts +1 -0
  6. package/api/errors/BadRequestError.js +1 -1
  7. package/api/errors/ConflictError.d.ts +1 -0
  8. package/api/errors/ConflictError.js +1 -1
  9. package/api/errors/ForbiddenError.d.ts +1 -0
  10. package/api/errors/ForbiddenError.js +1 -1
  11. package/api/errors/GatewayTimeoutError.d.ts +1 -0
  12. package/api/errors/GatewayTimeoutError.js +1 -1
  13. package/api/errors/InternalServerError.d.ts +1 -0
  14. package/api/errors/InternalServerError.js +1 -1
  15. package/api/errors/NotFoundError.d.ts +1 -0
  16. package/api/errors/NotFoundError.js +1 -1
  17. package/api/errors/RequestTimeoutError.d.ts +1 -0
  18. package/api/errors/RequestTimeoutError.js +1 -1
  19. package/api/errors/ServiceUnavailableError.d.ts +1 -0
  20. package/api/errors/ServiceUnavailableError.js +1 -1
  21. package/api/errors/TooManyRequestsError.d.ts +1 -0
  22. package/api/errors/TooManyRequestsError.js +1 -1
  23. package/api/errors/UnauthorizedError.d.ts +1 -0
  24. package/api/errors/UnauthorizedError.js +1 -1
  25. package/api/errors/UnprocessableEntityError.d.ts +1 -0
  26. package/api/errors/UnprocessableEntityError.js +1 -1
  27. package/api/resources/bulkSync/client/Client.d.ts +22 -0
  28. package/api/resources/bulkSync/client/Client.js +27 -4
  29. package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +4 -0
  30. package/api/resources/bulkSync/resources/errorHandling/client/Client.js +6 -1
  31. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +18 -0
  32. package/api/resources/bulkSync/resources/executions/client/Client.js +18 -0
  33. package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +10 -0
  34. package/api/resources/bulkSync/resources/schedules/client/Client.js +13 -2
  35. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +10 -0
  36. package/api/resources/bulkSync/resources/schemas/client/Client.js +13 -2
  37. package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +1 -1
  38. package/api/resources/connections/client/Client.d.ts +26 -0
  39. package/api/resources/connections/client/Client.js +32 -5
  40. package/api/resources/connections/resources/proxy/client/Client.d.ts +8 -0
  41. package/api/resources/connections/resources/proxy/client/Client.js +11 -2
  42. package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +6 -0
  43. package/api/resources/connections/resources/sharedConnections/client/Client.js +8 -1
  44. package/api/resources/entities/client/Client.d.ts +4 -0
  45. package/api/resources/entities/client/Client.js +4 -0
  46. package/api/resources/events/client/Client.d.ts +5 -0
  47. package/api/resources/events/client/Client.js +5 -0
  48. package/api/resources/harbors/client/Client.d.ts +67 -64
  49. package/api/resources/harbors/client/Client.js +77 -73
  50. package/api/resources/identity/client/Client.d.ts +2 -0
  51. package/api/resources/identity/client/Client.js +2 -0
  52. package/api/resources/jobs/client/Client.d.ts +2 -0
  53. package/api/resources/jobs/client/Client.js +2 -0
  54. package/api/resources/modelSync/client/Client.d.ts +24 -0
  55. package/api/resources/modelSync/client/Client.js +29 -4
  56. package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
  57. package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +1 -1
  58. package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +4 -0
  59. package/api/resources/modelSync/resources/errorHandling/client/Client.js +6 -1
  60. package/api/resources/modelSync/resources/executions/client/Client.d.ts +14 -0
  61. package/api/resources/modelSync/resources/executions/client/Client.js +14 -0
  62. package/api/resources/modelSync/resources/targets/client/Client.d.ts +6 -0
  63. package/api/resources/modelSync/resources/targets/client/Client.js +6 -0
  64. package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +1 -1
  65. package/api/resources/models/client/Client.d.ts +18 -0
  66. package/api/resources/models/client/Client.js +23 -4
  67. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +1 -1
  68. package/api/resources/notifications/client/Client.d.ts +4 -0
  69. package/api/resources/notifications/client/Client.js +6 -1
  70. package/api/resources/organization/client/Client.d.ts +16 -0
  71. package/api/resources/organization/client/Client.js +20 -3
  72. package/api/resources/permissions/resources/policies/client/Client.d.ts +10 -0
  73. package/api/resources/permissions/resources/policies/client/Client.js +13 -2
  74. package/api/resources/permissions/resources/roles/client/Client.d.ts +10 -0
  75. package/api/resources/permissions/resources/roles/client/Client.js +13 -2
  76. package/api/resources/queryRunner/client/Client.d.ts +4 -0
  77. package/api/resources/queryRunner/client/Client.js +6 -1
  78. package/api/resources/recordViewLinks/client/Client.d.ts +4 -4
  79. package/api/resources/recordViewLinks/client/Client.js +6 -5
  80. package/api/resources/schemas/client/Client.d.ts +18 -0
  81. package/api/resources/schemas/client/Client.js +22 -3
  82. package/api/resources/temporaryCredentials/client/Client.d.ts +2 -2
  83. package/api/resources/temporaryCredentials/client/Client.js +4 -3
  84. package/api/resources/users/client/Client.d.ts +22 -0
  85. package/api/resources/users/client/Client.js +27 -4
  86. package/api/resources/webhooks/client/Client.d.ts +14 -0
  87. package/api/resources/webhooks/client/Client.js +17 -2
  88. package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +1 -1
  89. package/api/types/ConnectionProxyResponse.d.ts +1 -1
  90. package/api/types/HarborPipelineStatusResponse.d.ts +1 -1
  91. package/api/types/HarborSourceMappingResponse.d.ts +1 -1
  92. package/api/types/SyncSourceMetaResponse.d.ts +1 -1
  93. package/core/auth/AuthProvider.d.ts +1 -0
  94. package/core/auth/AuthProvider.js +7 -0
  95. package/core/auth/index.d.ts +1 -1
  96. package/core/auth/index.js +3 -1
  97. package/core/fetcher/Fetcher.js +9 -92
  98. package/core/fetcher/getResponseBody.js +11 -0
  99. package/core/fetcher/makePassthroughRequest.js +26 -4
  100. package/core/fetcher/redactUrl.d.ts +2 -0
  101. package/core/fetcher/redactUrl.js +88 -0
  102. package/core/fetcher/requestWithRetries.js +4 -1
  103. package/core/fetcher/signals.js +9 -1
  104. package/core/requestBody.d.ts +12 -0
  105. package/core/requestBody.js +26 -0
  106. package/core/runtime/index.d.ts +1 -1
  107. package/core/runtime/index.js +2 -1
  108. package/core/runtime/runtime.d.ts +19 -0
  109. package/core/runtime/runtime.js +74 -2
  110. package/core/url/qs.js +2 -2
  111. package/errors/PolytomicError.d.ts +1 -0
  112. package/errors/PolytomicError.js +5 -1
  113. package/errors/PolytomicTimeoutError.d.ts +2 -2
  114. package/errors/PolytomicTimeoutError.js +40 -6
  115. package/package.json +2 -2
  116. package/version.d.ts +1 -1
  117. package/version.js +1 -1
@@ -58,6 +58,7 @@ exports.HarborsClient = void 0;
58
58
  const BaseClient_1 = require("../../../../BaseClient");
59
59
  const core = __importStar(require("../../../../core"));
60
60
  const headers_1 = require("../../../../core/headers");
61
+ const requestBody_1 = require("../../../../core/requestBody");
61
62
  const environments = __importStar(require("../../../../environments"));
62
63
  const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
63
64
  const errors = __importStar(require("../../../../errors/index"));
@@ -67,13 +68,14 @@ class HarborsClient {
67
68
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
68
69
  }
69
70
  /**
70
- * @beta This endpoint is in pre-release and may change.
71
- *
72
71
  * Lists profile-authorized connections and capabilities for the current Harbor credential.
73
72
  *
74
73
  * @param {Polytomic.HarborsListAuthorizedConnectionsRequest} request
75
74
  * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
76
75
  *
76
+ * @throws {@link errors.PolytomicError}
77
+ * @throws {@link errors.PolytomicTimeoutError}
78
+ *
77
79
  * @example
78
80
  * await client.harbors.listAuthorizedConnections({
79
81
  * limit: 1,
@@ -129,14 +131,15 @@ class HarborsClient {
129
131
  });
130
132
  }
131
133
  /**
132
- * @beta This endpoint is in pre-release and may change.
133
- *
134
134
  * Lists one bounded page of schema resources authorized by the current Harbor profile.
135
135
  *
136
136
  * @param {string} connection_id
137
137
  * @param {Polytomic.HarborsListAuthorizedSchemasRequest} request
138
138
  * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
139
139
  *
140
+ * @throws {@link errors.PolytomicError}
141
+ * @throws {@link errors.PolytomicTimeoutError}
142
+ *
140
143
  * @example
141
144
  * await client.harbors.listAuthorizedSchemas("248df4b7-aa70-47b8-a036-33ac447e668d", {
142
145
  * limit: 1,
@@ -189,8 +192,6 @@ class HarborsClient {
189
192
  });
190
193
  }
191
194
  /**
192
- * @beta This endpoint is in pre-release and may change.
193
- *
194
195
  * Returns one schema resource authorized by the current Harbor profile.
195
196
  *
196
197
  * @param {string} connection_id
@@ -198,6 +199,9 @@ class HarborsClient {
198
199
  * @param {Polytomic.HarborsGetAuthorizedSchemaRequest} request
199
200
  * @param {HarborsClient.RequestOptions} requestOptions - Request-specific configuration.
200
201
  *
202
+ * @throws {@link errors.PolytomicError}
203
+ * @throws {@link errors.PolytomicTimeoutError}
204
+ *
201
205
  * @example
202
206
  * await client.harbors.getAuthorizedSchema("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id")
203
207
  */
@@ -242,8 +246,6 @@ class HarborsClient {
242
246
  });
243
247
  }
244
248
  /**
245
- * @beta This endpoint is in pre-release and may change.
246
- *
247
249
  * Registers a service-attested MCP transport session for a scoped Harbor credential.
248
250
  *
249
251
  * @param {Polytomic.RegisterHarborSessionRequest} request
@@ -251,6 +253,8 @@ class HarborsClient {
251
253
  *
252
254
  * @throws {@link Polytomic.ForbiddenError}
253
255
  * @throws {@link Polytomic.ServiceUnavailableError}
256
+ * @throws {@link errors.PolytomicError}
257
+ * @throws {@link errors.PolytomicTimeoutError}
254
258
  *
255
259
  * @example
256
260
  * await client.harbors.registerSession()
@@ -279,7 +283,7 @@ class HarborsClient {
279
283
  contentType: "application/json",
280
284
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
281
285
  requestType: "json",
282
- body: _body,
286
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
283
287
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
284
288
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
285
289
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -310,8 +314,6 @@ class HarborsClient {
310
314
  });
311
315
  }
312
316
  /**
313
- * @beta This endpoint is in pre-release and may change.
314
- *
315
317
  * Closes a service-attested Harbor MCP transport session.
316
318
  *
317
319
  * @param {string} session_id
@@ -320,6 +322,8 @@ class HarborsClient {
320
322
  *
321
323
  * @throws {@link Polytomic.ForbiddenError}
322
324
  * @throws {@link Polytomic.ServiceUnavailableError}
325
+ * @throws {@link errors.PolytomicError}
326
+ * @throws {@link errors.PolytomicTimeoutError}
323
327
  *
324
328
  * @example
325
329
  * await client.harbors.closeSession("248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -374,8 +378,6 @@ class HarborsClient {
374
378
  });
375
379
  }
376
380
  /**
377
- * @beta This endpoint is in pre-release and may change.
378
- *
379
381
  * Lists Harbors in the caller's current organization.
380
382
  *
381
383
  * Returns Harbors in creation order. Use `pagination.next_page_token` to continue when more results are available.
@@ -386,6 +388,8 @@ class HarborsClient {
386
388
  * @throws {@link Polytomic.ForbiddenError}
387
389
  * @throws {@link Polytomic.UnprocessableEntityError}
388
390
  * @throws {@link Polytomic.InternalServerError}
391
+ * @throws {@link errors.PolytomicError}
392
+ * @throws {@link errors.PolytomicTimeoutError}
389
393
  *
390
394
  * @example
391
395
  * await client.harbors.list({
@@ -446,8 +450,6 @@ class HarborsClient {
446
450
  });
447
451
  }
448
452
  /**
449
- * @beta This endpoint is in pre-release and may change.
450
- *
451
453
  * Creates a managed or customer-managed Harbor in the caller's current organization.
452
454
  *
453
455
  * `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.
@@ -461,6 +463,8 @@ class HarborsClient {
461
463
  * @throws {@link Polytomic.ConflictError}
462
464
  * @throws {@link Polytomic.UnprocessableEntityError}
463
465
  * @throws {@link Polytomic.InternalServerError}
466
+ * @throws {@link errors.PolytomicError}
467
+ * @throws {@link errors.PolytomicTimeoutError}
464
468
  *
465
469
  * @example
466
470
  * await client.harbors.create({
@@ -486,7 +490,7 @@ class HarborsClient {
486
490
  contentType: "application/json",
487
491
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
488
492
  requestType: "json",
489
- body: request,
493
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
490
494
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
491
495
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
492
496
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -518,8 +522,6 @@ class HarborsClient {
518
522
  });
519
523
  }
520
524
  /**
521
- * @beta This endpoint is in pre-release and may change.
522
- *
523
525
  * Returns one Harbor by its first-class Harbor ID.
524
526
  *
525
527
  * The response exposes the backing Connection ID but not the internal profile used to authorize Harbor credentials.
@@ -530,6 +532,8 @@ class HarborsClient {
530
532
  * @throws {@link Polytomic.ForbiddenError}
531
533
  * @throws {@link Polytomic.NotFoundError}
532
534
  * @throws {@link Polytomic.InternalServerError}
535
+ * @throws {@link errors.PolytomicError}
536
+ * @throws {@link errors.PolytomicTimeoutError}
533
537
  *
534
538
  * @example
535
539
  * await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -578,8 +582,6 @@ class HarborsClient {
578
582
  });
579
583
  }
580
584
  /**
581
- * @beta This endpoint is in pre-release and may change.
582
- *
583
585
  * Updates a Harbor's name and description.
584
586
  *
585
587
  * This operation does not change `backing_mode` or `backing_connection_id`.
@@ -593,6 +595,8 @@ class HarborsClient {
593
595
  * @throws {@link Polytomic.ConflictError}
594
596
  * @throws {@link Polytomic.UnprocessableEntityError}
595
597
  * @throws {@link Polytomic.InternalServerError}
598
+ * @throws {@link errors.PolytomicError}
599
+ * @throws {@link errors.PolytomicTimeoutError}
596
600
  *
597
601
  * @example
598
602
  * await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -617,7 +621,7 @@ class HarborsClient {
617
621
  contentType: "application/json",
618
622
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
619
623
  requestType: "json",
620
- body: request,
624
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
621
625
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
622
626
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
623
627
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -651,8 +655,6 @@ class HarborsClient {
651
655
  });
652
656
  }
653
657
  /**
654
- * @beta This endpoint is in pre-release and may change.
655
- *
656
658
  * Deletes a Harbor and revokes its credentials.
657
659
  *
658
660
  * > 🚧 Harbor deletion
@@ -666,6 +668,8 @@ class HarborsClient {
666
668
  * @throws {@link Polytomic.NotFoundError}
667
669
  * @throws {@link Polytomic.ConflictError}
668
670
  * @throws {@link Polytomic.InternalServerError}
671
+ * @throws {@link errors.PolytomicError}
672
+ * @throws {@link errors.PolytomicTimeoutError}
669
673
  *
670
674
  * @example
671
675
  * await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -717,8 +721,6 @@ class HarborsClient {
717
721
  });
718
722
  }
719
723
  /**
720
- * @beta This endpoint is in pre-release and may change.
721
- *
722
724
  * Lists context document metadata for a Harbor without returning document content.
723
725
  *
724
726
  * Collection items include the current published `version` number and omit
@@ -735,6 +737,8 @@ class HarborsClient {
735
737
  * @throws {@link Polytomic.NotFoundError}
736
738
  * @throws {@link Polytomic.UnprocessableEntityError}
737
739
  * @throws {@link Polytomic.InternalServerError}
740
+ * @throws {@link errors.PolytomicError}
741
+ * @throws {@link errors.PolytomicTimeoutError}
738
742
  *
739
743
  * @example
740
744
  * await client.harbors.listContexts("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -799,8 +803,6 @@ class HarborsClient {
799
803
  });
800
804
  }
801
805
  /**
802
- * @beta This endpoint is in pre-release and may change.
803
- *
804
806
  * Creates and attaches a context document to a Harbor.
805
807
  *
806
808
  * The new document belongs only to this Harbor. Context documents cannot be attached to multiple Harbors.
@@ -813,6 +815,8 @@ class HarborsClient {
813
815
  * @throws {@link Polytomic.NotFoundError}
814
816
  * @throws {@link Polytomic.UnprocessableEntityError}
815
817
  * @throws {@link Polytomic.InternalServerError}
818
+ * @throws {@link errors.PolytomicError}
819
+ * @throws {@link errors.PolytomicTimeoutError}
816
820
  *
817
821
  * @example
818
822
  * await client.harbors.createContext("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -838,7 +842,7 @@ class HarborsClient {
838
842
  contentType: "application/json",
839
843
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
840
844
  requestType: "json",
841
- body: request,
845
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
842
846
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
843
847
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
844
848
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -870,8 +874,6 @@ class HarborsClient {
870
874
  });
871
875
  }
872
876
  /**
873
- * @beta This endpoint is in pre-release and may change.
874
- *
875
877
  * Lists mutable Harbor context drafts without returning document content.
876
878
  *
877
879
  * The collection includes drafts for published context documents and initial drafts
@@ -890,6 +892,8 @@ class HarborsClient {
890
892
  * @throws {@link Polytomic.NotFoundError}
891
893
  * @throws {@link Polytomic.UnprocessableEntityError}
892
894
  * @throws {@link Polytomic.InternalServerError}
895
+ * @throws {@link errors.PolytomicError}
896
+ * @throws {@link errors.PolytomicTimeoutError}
893
897
  *
894
898
  * @example
895
899
  * await client.harbors.listContextDrafts("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -955,8 +959,6 @@ class HarborsClient {
955
959
  });
956
960
  }
957
961
  /**
958
- * @beta This endpoint is in pre-release and may change.
959
- *
960
962
  * Creates an unpublished context document with its initial mutable draft.
961
963
  *
962
964
  * Creates a stable context identity and its initial mutable draft without publishing
@@ -976,6 +978,8 @@ class HarborsClient {
976
978
  * @throws {@link Polytomic.NotFoundError}
977
979
  * @throws {@link Polytomic.UnprocessableEntityError}
978
980
  * @throws {@link Polytomic.InternalServerError}
981
+ * @throws {@link errors.PolytomicError}
982
+ * @throws {@link errors.PolytomicTimeoutError}
979
983
  *
980
984
  * @example
981
985
  * await client.harbors.createContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -1001,7 +1005,7 @@ class HarborsClient {
1001
1005
  contentType: "application/json",
1002
1006
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1003
1007
  requestType: "json",
1004
- body: request,
1008
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1005
1009
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
1006
1010
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
1007
1011
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1033,8 +1037,6 @@ class HarborsClient {
1033
1037
  });
1034
1038
  }
1035
1039
  /**
1036
- * @beta This endpoint is in pre-release and may change.
1037
- *
1038
1040
  * Returns one complete Harbor context document.
1039
1041
  *
1040
1042
  * The response includes the current published `version` number and complete
@@ -1051,6 +1053,8 @@ class HarborsClient {
1051
1053
  * @throws {@link Polytomic.ForbiddenError}
1052
1054
  * @throws {@link Polytomic.NotFoundError}
1053
1055
  * @throws {@link Polytomic.InternalServerError}
1056
+ * @throws {@link errors.PolytomicError}
1057
+ * @throws {@link errors.PolytomicTimeoutError}
1054
1058
  *
1055
1059
  * @example
1056
1060
  * await client.harbors.getContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1102,8 +1106,6 @@ class HarborsClient {
1102
1106
  });
1103
1107
  }
1104
1108
  /**
1105
- * @beta This endpoint is in pre-release and may change.
1106
- *
1107
1109
  * Replaces one Harbor context document.
1108
1110
  *
1109
1111
  * Each successful request publishes the next immutable version. You can omit
@@ -1120,6 +1122,8 @@ class HarborsClient {
1120
1122
  * @throws {@link Polytomic.NotFoundError}
1121
1123
  * @throws {@link Polytomic.UnprocessableEntityError}
1122
1124
  * @throws {@link Polytomic.InternalServerError}
1125
+ * @throws {@link errors.PolytomicError}
1126
+ * @throws {@link errors.PolytomicTimeoutError}
1123
1127
  *
1124
1128
  * @example
1125
1129
  * await client.harbors.updateContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -1148,7 +1152,7 @@ class HarborsClient {
1148
1152
  contentType: "application/json",
1149
1153
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1150
1154
  requestType: "json",
1151
- body: _body,
1155
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1152
1156
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
1153
1157
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
1154
1158
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1180,8 +1184,6 @@ class HarborsClient {
1180
1184
  });
1181
1185
  }
1182
1186
  /**
1183
- * @beta This endpoint is in pre-release and may change.
1184
- *
1185
1187
  * Deletes one context document from a Harbor.
1186
1188
  *
1187
1189
  * Deleting a context document does not affect the Harbor or its other context documents.
@@ -1194,6 +1196,8 @@ class HarborsClient {
1194
1196
  * @throws {@link Polytomic.ForbiddenError}
1195
1197
  * @throws {@link Polytomic.NotFoundError}
1196
1198
  * @throws {@link Polytomic.InternalServerError}
1199
+ * @throws {@link errors.PolytomicError}
1200
+ * @throws {@link errors.PolytomicTimeoutError}
1197
1201
  *
1198
1202
  * @example
1199
1203
  * await client.harbors.deleteContext("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1249,8 +1253,6 @@ class HarborsClient {
1249
1253
  });
1250
1254
  }
1251
1255
  /**
1252
- * @beta This endpoint is in pre-release and may change.
1253
- *
1254
1256
  * Returns the mutable draft for a Harbor context document.
1255
1257
  *
1256
1258
  * Drafts are available only through the draft endpoints. `base_revision_id`
@@ -1266,6 +1268,8 @@ class HarborsClient {
1266
1268
  * @throws {@link Polytomic.ForbiddenError}
1267
1269
  * @throws {@link Polytomic.NotFoundError}
1268
1270
  * @throws {@link Polytomic.InternalServerError}
1271
+ * @throws {@link errors.PolytomicError}
1272
+ * @throws {@link errors.PolytomicTimeoutError}
1269
1273
  *
1270
1274
  * @example
1271
1275
  * await client.harbors.getContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1317,8 +1321,6 @@ class HarborsClient {
1317
1321
  });
1318
1322
  }
1319
1323
  /**
1320
- * @beta This endpoint is in pre-release and may change.
1321
- *
1322
1324
  * Creates or completely replaces the mutable draft for a Harbor context document.
1323
1325
  *
1324
1326
  * The request supplies the complete draft payload. If a draft already exists,
@@ -1340,6 +1342,8 @@ class HarborsClient {
1340
1342
  * @throws {@link Polytomic.NotFoundError}
1341
1343
  * @throws {@link Polytomic.UnprocessableEntityError}
1342
1344
  * @throws {@link Polytomic.InternalServerError}
1345
+ * @throws {@link errors.PolytomicError}
1346
+ * @throws {@link errors.PolytomicTimeoutError}
1343
1347
  *
1344
1348
  * @example
1345
1349
  * await client.harbors.saveContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -1368,7 +1372,7 @@ class HarborsClient {
1368
1372
  contentType: "application/json",
1369
1373
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1370
1374
  requestType: "json",
1371
- body: _body,
1375
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1372
1376
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
1373
1377
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
1374
1378
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1400,8 +1404,6 @@ class HarborsClient {
1400
1404
  });
1401
1405
  }
1402
1406
  /**
1403
- * @beta This endpoint is in pre-release and may change.
1404
- *
1405
1407
  * Discards the mutable draft for a Harbor context document.
1406
1408
  *
1407
1409
  * Discarding a draft does not change the current published version or its
@@ -1416,6 +1418,8 @@ class HarborsClient {
1416
1418
  * @throws {@link Polytomic.ForbiddenError}
1417
1419
  * @throws {@link Polytomic.NotFoundError}
1418
1420
  * @throws {@link Polytomic.InternalServerError}
1421
+ * @throws {@link errors.PolytomicError}
1422
+ * @throws {@link errors.PolytomicTimeoutError}
1419
1423
  *
1420
1424
  * @example
1421
1425
  * await client.harbors.deleteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1471,8 +1475,6 @@ class HarborsClient {
1471
1475
  });
1472
1476
  }
1473
1477
  /**
1474
- * @beta This endpoint is in pre-release and may change.
1475
- *
1476
1478
  * Promotes the draft to the next immutable published context version.
1477
1479
  *
1478
1480
  * Promotion publishes the draft's exact title, description, content, and optional
@@ -1492,6 +1494,8 @@ class HarborsClient {
1492
1494
  * @throws {@link Polytomic.NotFoundError}
1493
1495
  * @throws {@link Polytomic.ConflictError}
1494
1496
  * @throws {@link Polytomic.InternalServerError}
1497
+ * @throws {@link errors.PolytomicError}
1498
+ * @throws {@link errors.PolytomicTimeoutError}
1495
1499
  *
1496
1500
  * @example
1497
1501
  * await client.harbors.promoteContextDraft("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1549,8 +1553,6 @@ class HarborsClient {
1549
1553
  });
1550
1554
  }
1551
1555
  /**
1552
- * @beta This endpoint is in pre-release and may change.
1553
- *
1554
1556
  * Lists immutable published versions of a Harbor context document without returning content.
1555
1557
  *
1556
1558
  * Versions are ordered from newest to oldest. Collection items omit `content`,
@@ -1575,6 +1577,8 @@ class HarborsClient {
1575
1577
  * @throws {@link Polytomic.NotFoundError}
1576
1578
  * @throws {@link Polytomic.UnprocessableEntityError}
1577
1579
  * @throws {@link Polytomic.InternalServerError}
1580
+ * @throws {@link errors.PolytomicError}
1581
+ * @throws {@link errors.PolytomicTimeoutError}
1578
1582
  *
1579
1583
  * @example
1580
1584
  * await client.harbors.listContextVersions("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -1642,8 +1646,6 @@ class HarborsClient {
1642
1646
  });
1643
1647
  }
1644
1648
  /**
1645
- * @beta This endpoint is in pre-release and may change.
1646
- *
1647
1649
  * Returns one immutable published version of a Harbor context document.
1648
1650
  *
1649
1651
  * The response includes the complete title, description, and plain-text
@@ -1661,6 +1663,8 @@ class HarborsClient {
1661
1663
  * @throws {@link Polytomic.ForbiddenError}
1662
1664
  * @throws {@link Polytomic.NotFoundError}
1663
1665
  * @throws {@link Polytomic.InternalServerError}
1666
+ * @throws {@link errors.PolytomicError}
1667
+ * @throws {@link errors.PolytomicTimeoutError}
1664
1668
  *
1665
1669
  * @example
1666
1670
  * await client.harbors.getContextVersion("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1715,8 +1719,6 @@ class HarborsClient {
1715
1719
  });
1716
1720
  }
1717
1721
  /**
1718
- * @beta This endpoint is in pre-release and may change.
1719
- *
1720
1722
  * Lists active masked credentials for a Harbor.
1721
1723
  *
1722
1724
  * Each item contains a masked `key_hint`. Polytomic never returns a credential plaintext after creation.
@@ -1729,6 +1731,8 @@ class HarborsClient {
1729
1731
  * @throws {@link Polytomic.NotFoundError}
1730
1732
  * @throws {@link Polytomic.UnprocessableEntityError}
1731
1733
  * @throws {@link Polytomic.InternalServerError}
1734
+ * @throws {@link errors.PolytomicError}
1735
+ * @throws {@link errors.PolytomicTimeoutError}
1732
1736
  *
1733
1737
  * @example
1734
1738
  * await client.harbors.listKeys("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -1791,8 +1795,6 @@ class HarborsClient {
1791
1795
  });
1792
1796
  }
1793
1797
  /**
1794
- * @beta This endpoint is in pre-release and may change.
1795
- *
1796
1798
  * Generates a new Harbor credential and returns its plaintext value once.
1797
1799
  *
1798
1800
  * Store the returned `value` securely. Polytomic returns it only in this response.
@@ -1803,6 +1805,8 @@ class HarborsClient {
1803
1805
  * @throws {@link Polytomic.ForbiddenError}
1804
1806
  * @throws {@link Polytomic.NotFoundError}
1805
1807
  * @throws {@link Polytomic.InternalServerError}
1808
+ * @throws {@link errors.PolytomicError}
1809
+ * @throws {@link errors.PolytomicTimeoutError}
1806
1810
  *
1807
1811
  * @example
1808
1812
  * await client.harbors.createKey("248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1852,8 +1856,6 @@ class HarborsClient {
1852
1856
  });
1853
1857
  }
1854
1858
  /**
1855
- * @beta This endpoint is in pre-release and may change.
1856
- *
1857
1859
  * Revokes one Harbor credential by its credential ID.
1858
1860
  *
1859
1861
  * Revocation affects only the selected credential. Other active Harbor credentials remain valid.
@@ -1865,6 +1867,8 @@ class HarborsClient {
1865
1867
  * @throws {@link Polytomic.ForbiddenError}
1866
1868
  * @throws {@link Polytomic.NotFoundError}
1867
1869
  * @throws {@link Polytomic.InternalServerError}
1870
+ * @throws {@link errors.PolytomicError}
1871
+ * @throws {@link errors.PolytomicTimeoutError}
1868
1872
  *
1869
1873
  * @example
1870
1874
  * await client.harbors.deleteKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1914,8 +1918,6 @@ class HarborsClient {
1914
1918
  });
1915
1919
  }
1916
1920
  /**
1917
- * @beta This endpoint is in pre-release and may change.
1918
- *
1919
1921
  * Resolves documented source table and field identities to the names a Harbor's backing Connection accepts.
1920
1922
  *
1921
1923
  * @param {string} harbor_id - Unique identifier of the Harbor.
@@ -1926,6 +1928,8 @@ class HarborsClient {
1926
1928
  * @throws {@link Polytomic.NotFoundError}
1927
1929
  * @throws {@link Polytomic.UnprocessableEntityError}
1928
1930
  * @throws {@link Polytomic.InternalServerError}
1931
+ * @throws {@link errors.PolytomicError}
1932
+ * @throws {@link errors.PolytomicTimeoutError}
1929
1933
  *
1930
1934
  * @example
1931
1935
  * await client.harbors.resolveSourceMappings("248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -1948,7 +1952,7 @@ class HarborsClient {
1948
1952
  contentType: "application/json",
1949
1953
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1950
1954
  requestType: "json",
1951
- body: request,
1955
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1952
1956
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
1953
1957
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
1954
1958
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1983,8 +1987,6 @@ class HarborsClient {
1983
1987
  });
1984
1988
  }
1985
1989
  /**
1986
- * @beta This endpoint is in pre-release and may change.
1987
- *
1988
1990
  * Returns raw Polytomic refresh evidence for datasets written to a Harbor.
1989
1991
  *
1990
1992
  * Each pipeline corresponds to a bulk sync or model sync that writes at least one
@@ -2025,6 +2027,8 @@ class HarborsClient {
2025
2027
  * @throws {@link Polytomic.ForbiddenError}
2026
2028
  * @throws {@link Polytomic.NotFoundError}
2027
2029
  * @throws {@link Polytomic.InternalServerError}
2030
+ * @throws {@link errors.PolytomicError}
2031
+ * @throws {@link errors.PolytomicTimeoutError}
2028
2032
  *
2029
2033
  * @example
2030
2034
  * await client.harbors.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -2073,8 +2077,6 @@ class HarborsClient {
2073
2077
  });
2074
2078
  }
2075
2079
  /**
2076
- * @beta This endpoint is in pre-release and may change.
2077
- *
2078
2080
  * Lists Harbor-only users assigned to a Harbor.
2079
2081
  *
2080
2082
  * The response contains only Harbor-only users currently assigned to this Harbor.
@@ -2087,6 +2089,8 @@ class HarborsClient {
2087
2089
  * @throws {@link Polytomic.NotFoundError}
2088
2090
  * @throws {@link Polytomic.UnprocessableEntityError}
2089
2091
  * @throws {@link Polytomic.InternalServerError}
2092
+ * @throws {@link errors.PolytomicError}
2093
+ * @throws {@link errors.PolytomicTimeoutError}
2090
2094
  *
2091
2095
  * @example
2092
2096
  * await client.harbors.listUsers("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -2149,8 +2153,6 @@ class HarborsClient {
2149
2153
  });
2150
2154
  }
2151
2155
  /**
2152
- * @beta This endpoint is in pre-release and may change.
2153
- *
2154
2156
  * Invites and assigns a new Harbor-only user.
2155
2157
  *
2156
2158
  * The invited account is restricted to assigned Harbors and does not receive regular Polytomic application access.
@@ -2164,6 +2166,8 @@ class HarborsClient {
2164
2166
  * @throws {@link Polytomic.ConflictError}
2165
2167
  * @throws {@link Polytomic.UnprocessableEntityError}
2166
2168
  * @throws {@link Polytomic.InternalServerError}
2169
+ * @throws {@link errors.PolytomicError}
2170
+ * @throws {@link errors.PolytomicTimeoutError}
2167
2171
  *
2168
2172
  * @example
2169
2173
  * await client.harbors.inviteUser("248df4b7-aa70-47b8-a036-33ac447e668d", {
@@ -2188,7 +2192,7 @@ class HarborsClient {
2188
2192
  contentType: "application/json",
2189
2193
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
2190
2194
  requestType: "json",
2191
- body: request,
2195
+ body: (0, requestBody_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
2192
2196
  timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
2193
2197
  maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
2194
2198
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -2222,8 +2226,6 @@ class HarborsClient {
2222
2226
  });
2223
2227
  }
2224
2228
  /**
2225
- * @beta This endpoint is in pre-release and may change.
2226
- *
2227
2229
  * Assigns an existing Harbor-only user to a Harbor.
2228
2230
  *
2229
2231
  * The assignment is idempotent. Regular Polytomic users cannot be assigned because they already have application access to Harbors.
@@ -2236,6 +2238,8 @@ class HarborsClient {
2236
2238
  * @throws {@link Polytomic.NotFoundError}
2237
2239
  * @throws {@link Polytomic.UnprocessableEntityError}
2238
2240
  * @throws {@link Polytomic.InternalServerError}
2241
+ * @throws {@link errors.PolytomicError}
2242
+ * @throws {@link errors.PolytomicTimeoutError}
2239
2243
  *
2240
2244
  * @example
2241
2245
  * await client.harbors.assignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -2287,8 +2291,6 @@ class HarborsClient {
2287
2291
  });
2288
2292
  }
2289
2293
  /**
2290
- * @beta This endpoint is in pre-release and may change.
2291
- *
2292
2294
  * Removes a Harbor assignment without deleting the user.
2293
2295
  *
2294
2296
  * This removes only the Harbor assignment. The organization user remains available and may retain assignments to other Harbors.
@@ -2301,6 +2303,8 @@ class HarborsClient {
2301
2303
  * @throws {@link Polytomic.NotFoundError}
2302
2304
  * @throws {@link Polytomic.UnprocessableEntityError}
2303
2305
  * @throws {@link Polytomic.InternalServerError}
2306
+ * @throws {@link errors.PolytomicError}
2307
+ * @throws {@link errors.PolytomicTimeoutError}
2304
2308
  *
2305
2309
  * @example
2306
2310
  * await client.harbors.unassignUser("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
@@ -27,6 +27,8 @@ export declare class IdentityClient {
27
27
  *
28
28
  * @throws {@link Polytomic.UnauthorizedError}
29
29
  * @throws {@link Polytomic.InternalServerError}
30
+ * @throws {@link errors.PolytomicError}
31
+ * @throws {@link errors.PolytomicTimeoutError}
30
32
  *
31
33
  * @example
32
34
  * await client.identity.get()
@@ -72,6 +72,8 @@ class IdentityClient {
72
72
  *
73
73
  * @throws {@link Polytomic.UnauthorizedError}
74
74
  * @throws {@link Polytomic.InternalServerError}
75
+ * @throws {@link errors.PolytomicError}
76
+ * @throws {@link errors.PolytomicTimeoutError}
75
77
  *
76
78
  * @example
77
79
  * await client.identity.get()
@@ -30,6 +30,8 @@ export declare class JobsClient {
30
30
  * @throws {@link Polytomic.BadRequestError}
31
31
  * @throws {@link Polytomic.NotFoundError}
32
32
  * @throws {@link Polytomic.InternalServerError}
33
+ * @throws {@link errors.PolytomicError}
34
+ * @throws {@link errors.PolytomicTimeoutError}
33
35
  *
34
36
  * @example
35
37
  * await client.jobs.get("createmodel", "248df4b7-aa70-47b8-a036-33ac447e668d")