polytomic 25.9.7 → 25.9.9

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 (123) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +21 -16
  4. package/api/resources/bulkSync/client/Client.d.ts +2 -0
  5. package/api/resources/bulkSync/client/Client.js +6 -0
  6. package/api/resources/connections/client/Client.d.ts +42 -0
  7. package/api/resources/connections/client/Client.js +42 -0
  8. package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +42 -0
  9. package/api/resources/connections/resources/sharedConnections/client/Client.js +42 -0
  10. package/api/resources/harbors/client/Client.d.ts +3 -0
  11. package/api/resources/harbors/client/Client.js +5 -0
  12. package/api/resources/harbors/exports.d.ts +1 -0
  13. package/api/resources/harbors/exports.js +1 -0
  14. package/api/resources/harbors/index.d.ts +1 -0
  15. package/api/resources/harbors/index.js +1 -0
  16. package/api/resources/harbors/resources/actions/client/Client.d.ts +345 -0
  17. package/api/resources/harbors/resources/actions/client/Client.js +652 -0
  18. package/api/resources/harbors/resources/actions/client/index.d.ts +1 -0
  19. package/api/resources/harbors/resources/actions/client/index.js +17 -0
  20. package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +15 -0
  21. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +8 -0
  22. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.js +3 -0
  23. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +17 -0
  24. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.js +3 -0
  25. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +12 -0
  26. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.js +3 -0
  27. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +23 -0
  28. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.js +3 -0
  29. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +24 -0
  30. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.js +3 -0
  31. package/api/resources/harbors/resources/actions/client/requests/index.d.ts +6 -0
  32. package/api/resources/harbors/resources/actions/client/requests/index.js +2 -0
  33. package/api/resources/harbors/resources/actions/exports.d.ts +2 -0
  34. package/api/resources/harbors/resources/actions/exports.js +21 -0
  35. package/api/resources/harbors/resources/actions/index.d.ts +1 -0
  36. package/api/resources/harbors/resources/actions/index.js +17 -0
  37. package/api/resources/harbors/resources/index.d.ts +2 -0
  38. package/api/resources/harbors/resources/index.js +41 -0
  39. package/api/resources/index.d.ts +2 -0
  40. package/api/resources/index.js +3 -1
  41. package/api/resources/modelSync/client/Client.d.ts +2 -2
  42. package/api/resources/modelSync/client/Client.js +1 -1
  43. package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +13 -0
  44. package/api/resources/modelSync/client/requests/StartModelSyncRequest.js +3 -0
  45. package/api/resources/modelSync/client/requests/index.d.ts +1 -1
  46. package/api/resources/operations/client/Client.d.ts +102 -0
  47. package/api/resources/operations/client/Client.js +233 -0
  48. package/api/resources/operations/client/index.d.ts +1 -0
  49. package/api/resources/operations/client/index.js +17 -0
  50. package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +14 -0
  51. package/api/resources/operations/client/requests/SearchOperationsRequest.js +3 -0
  52. package/api/resources/operations/client/requests/index.d.ts +1 -0
  53. package/api/resources/operations/client/requests/index.js +2 -0
  54. package/api/resources/operations/exports.d.ts +2 -0
  55. package/api/resources/operations/exports.js +21 -0
  56. package/api/resources/operations/index.d.ts +1 -0
  57. package/api/resources/operations/index.js +17 -0
  58. package/api/resources/organization/client/Client.d.ts +1 -1
  59. package/api/resources/organization/client/Client.js +1 -1
  60. package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +2 -0
  61. package/api/resources/temporaryCredentials/client/Client.d.ts +6 -6
  62. package/api/resources/temporaryCredentials/client/Client.js +6 -6
  63. package/api/types/ActionLookup.d.ts +4 -0
  64. package/api/types/ActionLookup.js +3 -0
  65. package/api/types/CompletionValue.d.ts +5 -0
  66. package/api/types/CompletionValue.js +3 -0
  67. package/api/types/ConnectionResponseSchema.d.ts +15 -0
  68. package/api/types/FieldConfiguration.d.ts +2 -0
  69. package/api/types/HarborActionCapability.d.ts +12 -0
  70. package/api/types/HarborActionCapability.js +3 -0
  71. package/api/types/HarborActionDescribeEnvelope.d.ts +4 -0
  72. package/api/types/HarborActionDescribeEnvelope.js +3 -0
  73. package/api/types/HarborActionExecutionEnvelope.d.ts +4 -0
  74. package/api/types/HarborActionExecutionEnvelope.js +3 -0
  75. package/api/types/HarborActionExecutionResponse.d.ts +28 -0
  76. package/api/types/HarborActionExecutionResponse.js +13 -0
  77. package/api/types/HarborActionField.d.ts +14 -0
  78. package/api/types/HarborActionField.js +3 -0
  79. package/api/types/HarborActionListEnvelope.d.ts +10 -0
  80. package/api/types/HarborActionListEnvelope.js +3 -0
  81. package/api/types/HarborActionLookupEnvelope.d.ts +4 -0
  82. package/api/types/HarborActionLookupEnvelope.js +3 -0
  83. package/api/types/HarborActionPreparation.d.ts +4 -0
  84. package/api/types/HarborActionPreparation.js +3 -0
  85. package/api/types/HarborActionPreparationEnvelope.d.ts +4 -0
  86. package/api/types/HarborActionPreparationEnvelope.js +3 -0
  87. package/api/types/HarborActionSummary.d.ts +7 -0
  88. package/api/types/HarborActionSummary.js +3 -0
  89. package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +7 -0
  90. package/api/types/IdentityCredentialHarborSchema.d.ts +2 -0
  91. package/api/types/ModelSyncSourceIdentity.d.ts +6 -0
  92. package/api/types/ModelSyncSourceIdentity.js +3 -0
  93. package/api/types/OperationMatch.d.ts +16 -0
  94. package/api/types/OperationMatch.js +3 -0
  95. package/api/types/OperationSearchAvailabilityEnvelope.d.ts +11 -0
  96. package/api/types/OperationSearchAvailabilityEnvelope.js +3 -0
  97. package/api/types/OperationSearchRateLimit.d.ts +15 -0
  98. package/api/types/OperationSearchRateLimit.js +13 -0
  99. package/api/types/OperationSearchResult.d.ts +9 -0
  100. package/api/types/OperationSearchResult.js +3 -0
  101. package/api/types/RecordLoggingSettingsResponse.d.ts +2 -0
  102. package/api/types/SchemaConfiguration.d.ts +2 -0
  103. package/api/types/SchemaOperationIdempotency.d.ts +5 -0
  104. package/api/types/SchemaOperationIdempotency.js +3 -0
  105. package/api/types/SchemaRecord.d.ts +1 -0
  106. package/api/types/SchemaRecord.js +3 -0
  107. package/api/types/SearchOperationsEnvelope.d.ts +4 -0
  108. package/api/types/SearchOperationsEnvelope.js +3 -0
  109. package/api/types/SearchOperationsResponse.d.ts +7 -0
  110. package/api/types/SearchOperationsResponse.js +3 -0
  111. package/api/types/TemporaryCredentialSubject.d.ts +7 -7
  112. package/api/types/TemporaryCredentialSubject.js +3 -3
  113. package/api/types/TimeDuration.d.ts +1 -0
  114. package/api/types/TimeDuration.js +3 -0
  115. package/api/types/Webhook.d.ts +2 -0
  116. package/api/types/index.d.ts +22 -0
  117. package/api/types/index.js +22 -0
  118. package/package.json +1 -1
  119. package/reference.md +940 -8
  120. package/version.d.ts +1 -1
  121. package/version.js +1 -1
  122. package/api/resources/modelSync/client/requests/StartSyncRequest.d.ts +0 -9
  123. /package/api/resources/{modelSync/client/requests/StartSyncRequest.js → harbors/resources/actions/client/requests/ActionsDescribeRequest.js} +0 -0
package/BaseClient.js CHANGED
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "polytomic",
47
- "X-Fern-SDK-Version": "25.9.7",
48
- "User-Agent": "polytomic/25.9.7",
47
+ "X-Fern-SDK-Version": "25.9.9",
48
+ "User-Agent": "polytomic/25.9.9",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  "X-Polytomic-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-09-18",
package/Client.d.ts CHANGED
@@ -9,6 +9,7 @@ import { JobsClient } from "./api/resources/jobs/client/Client";
9
9
  import { ModelSyncClient } from "./api/resources/modelSync/client/Client";
10
10
  import { ModelsClient } from "./api/resources/models/client/Client";
11
11
  import { NotificationsClient } from "./api/resources/notifications/client/Client";
12
+ import { OperationsClient } from "./api/resources/operations/client/Client";
12
13
  import { OrganizationClient } from "./api/resources/organization/client/Client";
13
14
  import { PermissionsClient } from "./api/resources/permissions/client/Client";
14
15
  import { QueryRunnerClient } from "./api/resources/queryRunner/client/Client";
@@ -39,6 +40,7 @@ export declare class PolytomicClient {
39
40
  protected _jobs: JobsClient | undefined;
40
41
  protected _identity: IdentityClient | undefined;
41
42
  protected _notifications: NotificationsClient | undefined;
43
+ protected _operations: OperationsClient | undefined;
42
44
  protected _organization: OrganizationClient | undefined;
43
45
  protected _activity: ActivityClient | undefined;
44
46
  protected _users: UsersClient | undefined;
@@ -59,6 +61,7 @@ export declare class PolytomicClient {
59
61
  get jobs(): JobsClient;
60
62
  get identity(): IdentityClient;
61
63
  get notifications(): NotificationsClient;
64
+ get operations(): OperationsClient;
62
65
  get organization(): OrganizationClient;
63
66
  get activity(): ActivityClient;
64
67
  get users(): UsersClient;
package/Client.js CHANGED
@@ -55,14 +55,15 @@ const Client_8 = require("./api/resources/jobs/client/Client");
55
55
  const Client_9 = require("./api/resources/modelSync/client/Client");
56
56
  const Client_10 = require("./api/resources/models/client/Client");
57
57
  const Client_11 = require("./api/resources/notifications/client/Client");
58
- const Client_12 = require("./api/resources/organization/client/Client");
59
- const Client_13 = require("./api/resources/permissions/client/Client");
60
- const Client_14 = require("./api/resources/queryRunner/client/Client");
61
- const Client_15 = require("./api/resources/recordViewLinks/client/Client");
62
- const Client_16 = require("./api/resources/schemas/client/Client");
63
- const Client_17 = require("./api/resources/temporaryCredentials/client/Client");
64
- const Client_18 = require("./api/resources/users/client/Client");
65
- const Client_19 = require("./api/resources/webhooks/client/Client");
58
+ const Client_12 = require("./api/resources/operations/client/Client");
59
+ const Client_13 = require("./api/resources/organization/client/Client");
60
+ const Client_14 = require("./api/resources/permissions/client/Client");
61
+ const Client_15 = require("./api/resources/queryRunner/client/Client");
62
+ const Client_16 = require("./api/resources/recordViewLinks/client/Client");
63
+ const Client_17 = require("./api/resources/schemas/client/Client");
64
+ const Client_18 = require("./api/resources/temporaryCredentials/client/Client");
65
+ const Client_19 = require("./api/resources/users/client/Client");
66
+ const Client_20 = require("./api/resources/webhooks/client/Client");
66
67
  const BaseClient_1 = require("./BaseClient");
67
68
  const core = __importStar(require("./core"));
68
69
  class PolytomicClient {
@@ -79,11 +80,11 @@ class PolytomicClient {
79
80
  }
80
81
  get queryRunner() {
81
82
  var _a;
82
- return ((_a = this._queryRunner) !== null && _a !== void 0 ? _a : (this._queryRunner = new Client_14.QueryRunnerClient(this._options)));
83
+ return ((_a = this._queryRunner) !== null && _a !== void 0 ? _a : (this._queryRunner = new Client_15.QueryRunnerClient(this._options)));
83
84
  }
84
85
  get schemas() {
85
86
  var _a;
86
- return ((_a = this._schemas) !== null && _a !== void 0 ? _a : (this._schemas = new Client_16.SchemasClient(this._options)));
87
+ return ((_a = this._schemas) !== null && _a !== void 0 ? _a : (this._schemas = new Client_17.SchemasClient(this._options)));
87
88
  }
88
89
  get models() {
89
90
  var _a;
@@ -117,9 +118,13 @@ class PolytomicClient {
117
118
  var _a;
118
119
  return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_11.NotificationsClient(this._options)));
119
120
  }
121
+ get operations() {
122
+ var _a;
123
+ return ((_a = this._operations) !== null && _a !== void 0 ? _a : (this._operations = new Client_12.OperationsClient(this._options)));
124
+ }
120
125
  get organization() {
121
126
  var _a;
122
- return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new Client_12.OrganizationClient(this._options)));
127
+ return ((_a = this._organization) !== null && _a !== void 0 ? _a : (this._organization = new Client_13.OrganizationClient(this._options)));
123
128
  }
124
129
  get activity() {
125
130
  var _a;
@@ -127,23 +132,23 @@ class PolytomicClient {
127
132
  }
128
133
  get users() {
129
134
  var _a;
130
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_18.UsersClient(this._options)));
135
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_19.UsersClient(this._options)));
131
136
  }
132
137
  get recordViewLinks() {
133
138
  var _a;
134
- return ((_a = this._recordViewLinks) !== null && _a !== void 0 ? _a : (this._recordViewLinks = new Client_15.RecordViewLinksClient(this._options)));
139
+ return ((_a = this._recordViewLinks) !== null && _a !== void 0 ? _a : (this._recordViewLinks = new Client_16.RecordViewLinksClient(this._options)));
135
140
  }
136
141
  get temporaryCredentials() {
137
142
  var _a;
138
- return ((_a = this._temporaryCredentials) !== null && _a !== void 0 ? _a : (this._temporaryCredentials = new Client_17.TemporaryCredentialsClient(this._options)));
143
+ return ((_a = this._temporaryCredentials) !== null && _a !== void 0 ? _a : (this._temporaryCredentials = new Client_18.TemporaryCredentialsClient(this._options)));
139
144
  }
140
145
  get webhooks() {
141
146
  var _a;
142
- return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_19.WebhooksClient(this._options)));
147
+ return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_20.WebhooksClient(this._options)));
143
148
  }
144
149
  get permissions() {
145
150
  var _a;
146
- return ((_a = this._permissions) !== null && _a !== void 0 ? _a : (this._permissions = new Client_13.PermissionsClient(this._options)));
151
+ return ((_a = this._permissions) !== null && _a !== void 0 ? _a : (this._permissions = new Client_14.PermissionsClient(this._options)));
147
152
  }
148
153
  /**
149
154
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -192,6 +192,7 @@ export declare class BulkSyncClient {
192
192
  * @throws {@link Polytomic.BadRequestError}
193
193
  * @throws {@link Polytomic.ForbiddenError}
194
194
  * @throws {@link Polytomic.NotFoundError}
195
+ * @throws {@link Polytomic.ConflictError}
195
196
  * @throws {@link Polytomic.InternalServerError}
196
197
  * @throws {@link errors.PolytomicError}
197
198
  * @throws {@link errors.PolytomicTimeoutError}
@@ -255,6 +256,7 @@ export declare class BulkSyncClient {
255
256
  *
256
257
  * @throws {@link Polytomic.ForbiddenError}
257
258
  * @throws {@link Polytomic.NotFoundError}
259
+ * @throws {@link Polytomic.ConflictError}
258
260
  * @throws {@link Polytomic.InternalServerError}
259
261
  * @throws {@link errors.PolytomicError}
260
262
  * @throws {@link errors.PolytomicTimeoutError}
@@ -381,6 +381,7 @@ class BulkSyncClient {
381
381
  * @throws {@link Polytomic.BadRequestError}
382
382
  * @throws {@link Polytomic.ForbiddenError}
383
383
  * @throws {@link Polytomic.NotFoundError}
384
+ * @throws {@link Polytomic.ConflictError}
384
385
  * @throws {@link Polytomic.InternalServerError}
385
386
  * @throws {@link errors.PolytomicError}
386
387
  * @throws {@link errors.PolytomicTimeoutError}
@@ -434,6 +435,8 @@ class BulkSyncClient {
434
435
  throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
435
436
  case 404:
436
437
  throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
438
+ case 409:
439
+ throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
437
440
  case 500:
438
441
  throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
439
442
  default:
@@ -541,6 +544,7 @@ class BulkSyncClient {
541
544
  *
542
545
  * @throws {@link Polytomic.ForbiddenError}
543
546
  * @throws {@link Polytomic.NotFoundError}
547
+ * @throws {@link Polytomic.ConflictError}
544
548
  * @throws {@link Polytomic.InternalServerError}
545
549
  * @throws {@link errors.PolytomicError}
546
550
  * @throws {@link errors.PolytomicTimeoutError}
@@ -584,6 +588,8 @@ class BulkSyncClient {
584
588
  throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
585
589
  case 404:
586
590
  throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
591
+ case 409:
592
+ throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
587
593
  case 500:
588
594
  throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
589
595
  default:
@@ -102,6 +102,27 @@ export declare class ConnectionsClient {
102
102
  * [`POST /api/connections/{id}/schemas/refresh`](../../api-reference/schemas/refresh)
103
103
  * followed by [`GET /api/connections/{id}/schemas/status`](../../api-reference/schemas/get-status).
104
104
  *
105
+ * ## Observed rate limits
106
+ *
107
+ * You can use `rate_limit` to inspect observed rate limiting separately from
108
+ * Connection health. A Connection can be healthy while Polytomic has an active
109
+ * rate-limit marker. Shared Connections combine observations recorded for their
110
+ * own ID and their root Connection. Observations recorded only for another shared
111
+ * copy are not included.
112
+ *
113
+ * When these observed periods overlap or touch, `limited_since` reflects the start
114
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
115
+ * period separated from the active period by a gap does not extend that start.
116
+ *
117
+ * > ⚠️ Observation, not a capacity guarantee
118
+ * >
119
+ * > An active marker does not mean every endpoint or sync is blocked. No active
120
+ * > marker does not guarantee that the upstream service has capacity. The marker
121
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
122
+ *
123
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
124
+ * `status` or `status_error`, and the Connection response is still returned.
125
+ *
105
126
  * @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
106
127
  *
107
128
  * @throws {@link Polytomic.InternalServerError}
@@ -248,6 +269,27 @@ export declare class ConnectionsClient {
248
269
  * track progress via
249
270
  * [`GET /api/connections/{id}/schemas/status`](../../../api-reference/schemas/get-status).
250
271
  *
272
+ * ## Observed rate limits
273
+ *
274
+ * You can use `rate_limit` to inspect observed rate limiting separately from
275
+ * Connection health. A Connection can be healthy while Polytomic has an active
276
+ * rate-limit marker. Shared Connections combine observations recorded for their
277
+ * own ID and their root Connection. Observations recorded only for another shared
278
+ * copy are not included.
279
+ *
280
+ * When these observed periods overlap or touch, `limited_since` reflects the start
281
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
282
+ * period separated from the active period by a gap does not extend that start.
283
+ *
284
+ * > ⚠️ Observation, not a capacity guarantee
285
+ * >
286
+ * > An active marker does not mean every endpoint or sync is blocked. No active
287
+ * > marker does not guarantee that the upstream service has capacity. The marker
288
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
289
+ *
290
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
291
+ * `status` or `status_error`, and the Connection response is still returned.
292
+ *
251
293
  * @param {string} id
252
294
  * @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
253
295
  *
@@ -276,6 +276,27 @@ class ConnectionsClient {
276
276
  * [`POST /api/connections/{id}/schemas/refresh`](../../api-reference/schemas/refresh)
277
277
  * followed by [`GET /api/connections/{id}/schemas/status`](../../api-reference/schemas/get-status).
278
278
  *
279
+ * ## Observed rate limits
280
+ *
281
+ * You can use `rate_limit` to inspect observed rate limiting separately from
282
+ * Connection health. A Connection can be healthy while Polytomic has an active
283
+ * rate-limit marker. Shared Connections combine observations recorded for their
284
+ * own ID and their root Connection. Observations recorded only for another shared
285
+ * copy are not included.
286
+ *
287
+ * When these observed periods overlap or touch, `limited_since` reflects the start
288
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
289
+ * period separated from the active period by a gap does not extend that start.
290
+ *
291
+ * > ⚠️ Observation, not a capacity guarantee
292
+ * >
293
+ * > An active marker does not mean every endpoint or sync is blocked. No active
294
+ * > marker does not guarantee that the upstream service has capacity. The marker
295
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
296
+ *
297
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
298
+ * `status` or `status_error`, and the Connection response is still returned.
299
+ *
279
300
  * @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
280
301
  *
281
302
  * @throws {@link Polytomic.InternalServerError}
@@ -652,6 +673,27 @@ class ConnectionsClient {
652
673
  * track progress via
653
674
  * [`GET /api/connections/{id}/schemas/status`](../../../api-reference/schemas/get-status).
654
675
  *
676
+ * ## Observed rate limits
677
+ *
678
+ * You can use `rate_limit` to inspect observed rate limiting separately from
679
+ * Connection health. A Connection can be healthy while Polytomic has an active
680
+ * rate-limit marker. Shared Connections combine observations recorded for their
681
+ * own ID and their root Connection. Observations recorded only for another shared
682
+ * copy are not included.
683
+ *
684
+ * When these observed periods overlap or touch, `limited_since` reflects the start
685
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
686
+ * period separated from the active period by a gap does not extend that start.
687
+ *
688
+ * > ⚠️ Observation, not a capacity guarantee
689
+ * >
690
+ * > An active marker does not mean every endpoint or sync is blocked. No active
691
+ * > marker does not guarantee that the upstream service has capacity. The marker
692
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
693
+ *
694
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
695
+ * `status` or `status_error`, and the Connection response is still returned.
696
+ *
655
697
  * @param {string} id
656
698
  * @param {ConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
657
699
  *
@@ -23,6 +23,27 @@ export declare class SharedConnectionsClient {
23
23
  * [`POST /api/organizations/{org_id}/connections/{connection_id}/share`](../../../../api-reference/connections/create-shared-connection)
24
24
  * for the v5 partner-scoped flow.
25
25
  *
26
+ * ## Observed rate limits
27
+ *
28
+ * You can use `rate_limit` to inspect observed rate limiting separately from
29
+ * Connection health. A Connection can be healthy while Polytomic has an active
30
+ * rate-limit marker. Shared Connections combine observations recorded for their
31
+ * own ID and their root Connection. Observations recorded only for another shared
32
+ * copy are not included.
33
+ *
34
+ * When these observed periods overlap or touch, `limited_since` reflects the start
35
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
36
+ * period separated from the active period by a gap does not extend that start.
37
+ *
38
+ * > ⚠️ Observation, not a capacity guarantee
39
+ * >
40
+ * > An active marker does not mean every endpoint or sync is blocked. No active
41
+ * > marker does not guarantee that the upstream service has capacity. The marker
42
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
43
+ *
44
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
45
+ * `status` or `status_error`, and the Connection response is still returned.
46
+ *
26
47
  * @param {string} id - Unique identifier of the parent connection whose shared copies should be listed.
27
48
  * @param {SharedConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
28
49
  *
@@ -49,6 +70,27 @@ export declare class SharedConnectionsClient {
49
70
  * the partner owner organization and the caller needs to audit which child
50
71
  * organizations already have a shared copy.
51
72
  *
73
+ * ## Observed rate limits
74
+ *
75
+ * You can use `rate_limit` to inspect observed rate limiting separately from
76
+ * Connection health. A Connection can be healthy while Polytomic has an active
77
+ * rate-limit marker. Shared Connections combine observations recorded for their
78
+ * own ID and their root Connection. Observations recorded only for another shared
79
+ * copy are not included.
80
+ *
81
+ * When these observed periods overlap or touch, `limited_since` reflects the start
82
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
83
+ * period separated from the active period by a gap does not extend that start.
84
+ *
85
+ * > ⚠️ Observation, not a capacity guarantee
86
+ * >
87
+ * > An active marker does not mean every endpoint or sync is blocked. No active
88
+ * > marker does not guarantee that the upstream service has capacity. The marker
89
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
90
+ *
91
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
92
+ * `status` or `status_error`, and the Connection response is still returned.
93
+ *
52
94
  * @param {string} org_id - Unique identifier of the organization that owns the parent connection.
53
95
  * @param {string} connection_id - Unique identifier of the parent connection whose shared copies should be listed.
54
96
  * @param {SharedConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -67,6 +67,27 @@ class SharedConnectionsClient {
67
67
  * [`POST /api/organizations/{org_id}/connections/{connection_id}/share`](../../../../api-reference/connections/create-shared-connection)
68
68
  * for the v5 partner-scoped flow.
69
69
  *
70
+ * ## Observed rate limits
71
+ *
72
+ * You can use `rate_limit` to inspect observed rate limiting separately from
73
+ * Connection health. A Connection can be healthy while Polytomic has an active
74
+ * rate-limit marker. Shared Connections combine observations recorded for their
75
+ * own ID and their root Connection. Observations recorded only for another shared
76
+ * copy are not included.
77
+ *
78
+ * When these observed periods overlap or touch, `limited_since` reflects the start
79
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
80
+ * period separated from the active period by a gap does not extend that start.
81
+ *
82
+ * > ⚠️ Observation, not a capacity guarantee
83
+ * >
84
+ * > An active marker does not mean every endpoint or sync is blocked. No active
85
+ * > marker does not guarantee that the upstream service has capacity. The marker
86
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
87
+ *
88
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
89
+ * `status` or `status_error`, and the Connection response is still returned.
90
+ *
70
91
  * @param {string} id - Unique identifier of the parent connection whose shared copies should be listed.
71
92
  * @param {SharedConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
72
93
  *
@@ -139,6 +160,27 @@ class SharedConnectionsClient {
139
160
  * the partner owner organization and the caller needs to audit which child
140
161
  * organizations already have a shared copy.
141
162
  *
163
+ * ## Observed rate limits
164
+ *
165
+ * You can use `rate_limit` to inspect observed rate limiting separately from
166
+ * Connection health. A Connection can be healthy while Polytomic has an active
167
+ * rate-limit marker. Shared Connections combine observations recorded for their
168
+ * own ID and their root Connection. Observations recorded only for another shared
169
+ * copy are not included.
170
+ *
171
+ * When these observed periods overlap or touch, `limited_since` reflects the start
172
+ * of the continuous period and `expires_at` reflects its latest expiry. An expired
173
+ * period separated from the active period by a gap does not extend that start.
174
+ *
175
+ * > ⚠️ Observation, not a capacity guarantee
176
+ * >
177
+ * > An active marker does not mean every endpoint or sync is blocked. No active
178
+ * > marker does not guarantee that the upstream service has capacity. The marker
179
+ * > expiry can be extended and is not a promised provider reset or exact retry time.
180
+ *
181
+ * If any required lookup is unavailable, `rate_limit` is `null`. This does not change
182
+ * `status` or `status_error`, and the Connection response is still returned.
183
+ *
142
184
  * @param {string} org_id - Unique identifier of the organization that owns the parent connection.
143
185
  * @param {string} connection_id - Unique identifier of the parent connection whose shared copies should be listed.
144
186
  * @param {SharedConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOption
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
3
3
  import * as core from "../../../../core";
4
4
  import * as Polytomic from "../../../index";
5
+ import { ActionsClient } from "../resources/actions/client/Client";
5
6
  export declare namespace HarborsClient {
6
7
  type Options = BaseClientOptions;
7
8
  interface RequestOptions extends BaseRequestOptions {
@@ -11,7 +12,9 @@ export declare namespace HarborsClient {
11
12
  }
12
13
  export declare class HarborsClient {
13
14
  protected readonly _options: NormalizedClientOptionsWithAuth<HarborsClient.Options>;
15
+ protected _actions: ActionsClient | undefined;
14
16
  constructor(options?: HarborsClient.Options);
17
+ get actions(): ActionsClient;
15
18
  /**
16
19
  * Lists profile-authorized connections and capabilities for the current Harbor credential.
17
20
  *
@@ -63,10 +63,15 @@ const environments = __importStar(require("../../../../environments"));
63
63
  const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
64
64
  const errors = __importStar(require("../../../../errors/index"));
65
65
  const Polytomic = __importStar(require("../../../index"));
66
+ const Client_1 = require("../resources/actions/client/Client");
66
67
  class HarborsClient {
67
68
  constructor(options = {}) {
68
69
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
69
70
  }
71
+ get actions() {
72
+ var _a;
73
+ return ((_a = this._actions) !== null && _a !== void 0 ? _a : (this._actions = new Client_1.ActionsClient(this._options)));
74
+ }
70
75
  /**
71
76
  * Lists profile-authorized connections and capabilities for the current Harbor credential.
72
77
  *
@@ -1,2 +1,3 @@
1
1
  export { HarborsClient } from "./client/Client";
2
2
  export * from "./client/index";
3
+ export * from "./resources/index";
@@ -19,3 +19,4 @@ exports.HarborsClient = void 0;
19
19
  var Client_1 = require("./client/Client");
20
20
  Object.defineProperty(exports, "HarborsClient", { enumerable: true, get: function () { return Client_1.HarborsClient; } });
21
21
  __exportStar(require("./client/index"), exports);
22
+ __exportStar(require("./resources/index"), exports);
@@ -1 +1,2 @@
1
1
  export * from "./client";
2
+ export * from "./resources";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
+ __exportStar(require("./resources"), exports);