polytomic 25.9.9 → 25.9.11

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 (119) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +2 -1
  3. package/api/resources/bulkSync/resources/schemas/client/Client.js +4 -1
  4. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +2 -0
  5. package/api/resources/connections/resources/proxy/client/Client.d.ts +13 -0
  6. package/api/resources/connections/resources/proxy/client/Client.js +13 -0
  7. package/api/resources/entities/client/Client.d.ts +78 -8
  8. package/api/resources/entities/client/Client.js +132 -8
  9. package/api/resources/entities/client/index.d.ts +1 -1
  10. package/api/resources/entities/client/index.js +15 -0
  11. package/api/resources/entities/client/requests/EntitiesSearchRequest.d.ts +13 -0
  12. package/api/resources/entities/client/requests/EntitiesSearchRequest.js +3 -0
  13. package/api/resources/entities/client/requests/index.d.ts +1 -0
  14. package/api/resources/entities/client/requests/index.js +2 -0
  15. package/api/resources/harbors/client/Client.d.ts +283 -0
  16. package/api/resources/harbors/client/Client.js +711 -0
  17. package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.d.ts +16 -0
  18. package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.js +3 -0
  19. package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.d.ts +10 -0
  20. package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.js +3 -0
  21. package/api/resources/harbors/client/requests/RunHarborQueryRequest.d.ts +12 -0
  22. package/api/resources/harbors/client/requests/RunHarborQueryRequest.js +3 -0
  23. package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.d.ts +11 -0
  24. package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.js +3 -0
  25. package/api/resources/harbors/client/requests/index.d.ts +4 -0
  26. package/api/resources/identity/client/Client.d.ts +1 -0
  27. package/api/resources/identity/client/Client.js +3 -0
  28. package/api/resources/index.d.ts +1 -0
  29. package/api/resources/index.js +1 -0
  30. package/api/resources/modelSync/client/Client.d.ts +24 -0
  31. package/api/resources/modelSync/client/Client.js +24 -0
  32. package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
  33. package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -0
  34. package/api/resources/queryRunner/client/Client.d.ts +5 -3
  35. package/api/resources/queryRunner/client/Client.js +5 -3
  36. package/api/resources/webhooks/client/Client.d.ts +32 -0
  37. package/api/resources/webhooks/client/Client.js +89 -0
  38. package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.d.ts +21 -0
  39. package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.js +3 -0
  40. package/api/resources/webhooks/client/requests/index.d.ts +1 -0
  41. package/api/types/BulkExecutionStatus.d.ts +1 -0
  42. package/api/types/BulkExecutionStatus.js +1 -0
  43. package/api/types/BulkSchema.d.ts +4 -0
  44. package/api/types/BulkSchemaListItem.d.ts +4 -0
  45. package/api/types/BulkSyncDest.d.ts +2 -0
  46. package/api/types/BulkSyncSearchHit.d.ts +14 -0
  47. package/api/types/BulkSyncSearchHit.js +3 -0
  48. package/api/types/BulkSyncTargetMode.d.ts +1 -0
  49. package/api/types/BulkSyncTargetMode.js +1 -0
  50. package/api/types/CompletionValue.d.ts +1 -0
  51. package/api/types/ConnectionProxyApi.d.ts +10 -0
  52. package/api/types/ConnectionProxyApi.js +3 -0
  53. package/api/types/ConnectionProxyCall.d.ts +3 -1
  54. package/api/types/ConnectionProxyInfoResponse.d.ts +2 -0
  55. package/api/types/ConnectionSearchHit.d.ts +9 -0
  56. package/api/types/ConnectionSearchHit.js +3 -0
  57. package/api/types/CreateModelRequest.d.ts +1 -0
  58. package/api/types/EntityResponse.d.ts +1 -1
  59. package/api/types/HarborActionConfigurationEnvelope.d.ts +5 -0
  60. package/api/types/HarborActionConfigurationEnvelope.js +3 -0
  61. package/api/types/HarborActionConfigurationFieldResponse.d.ts +20 -0
  62. package/api/types/HarborActionConfigurationFieldResponse.js +3 -0
  63. package/api/types/HarborActionConfigurationIdempotencyResponse.d.ts +6 -0
  64. package/api/types/HarborActionConfigurationIdempotencyResponse.js +3 -0
  65. package/api/types/HarborActionConfigurationOperationResponse.d.ts +28 -0
  66. package/api/types/HarborActionConfigurationOperationResponse.js +12 -0
  67. package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +4 -0
  68. package/api/types/HarborActionConfigurationOperationsEnvelope.js +3 -0
  69. package/api/types/HarborActionConfigurationResponse.d.ts +13 -0
  70. package/api/types/HarborActionConfigurationResponse.js +3 -0
  71. package/api/types/HarborActionConfigurationSchemasEnvelope.d.ts +5 -0
  72. package/api/types/HarborActionConfigurationSchemasEnvelope.js +3 -0
  73. package/api/types/HarborActionGrantSchema.d.ts +10 -0
  74. package/api/types/HarborActionGrantSchema.js +3 -0
  75. package/api/types/HarborActionSchemaResponse.d.ts +8 -0
  76. package/api/types/HarborActionSchemaResponse.js +3 -0
  77. package/api/types/HarborActionSourceConnectionResponse.d.ts +8 -0
  78. package/api/types/HarborActionSourceConnectionResponse.js +3 -0
  79. package/api/types/HarborActionSourceConnectionsEnvelope.d.ts +4 -0
  80. package/api/types/HarborActionSourceConnectionsEnvelope.js +3 -0
  81. package/api/types/IdentityCredentialSchema.d.ts +2 -0
  82. package/api/types/ModelFieldSearchHit.d.ts +15 -0
  83. package/api/types/ModelFieldSearchHit.js +3 -0
  84. package/api/types/ModelSearchHit.d.ts +11 -0
  85. package/api/types/ModelSearchHit.js +3 -0
  86. package/api/types/ModelSyncSearchHit.d.ts +12 -0
  87. package/api/types/ModelSyncSearchHit.js +3 -0
  88. package/api/types/ModelSyncSourceConnection.d.ts +5 -0
  89. package/api/types/ModelSyncSourceConnection.js +3 -0
  90. package/api/types/PickValue.d.ts +2 -0
  91. package/api/types/SchemaConfiguration.d.ts +2 -0
  92. package/api/types/SearchEnvelope.d.ts +5 -0
  93. package/api/types/SearchEnvelope.js +3 -0
  94. package/api/types/SearchMatch.d.ts +7 -0
  95. package/api/types/SearchMatch.js +3 -0
  96. package/api/types/SearchMatchAttribute.d.ts +8 -0
  97. package/api/types/SearchMatchAttribute.js +3 -0
  98. package/api/types/SearchMatchMapping.d.ts +19 -0
  99. package/api/types/SearchMatchMapping.js +12 -0
  100. package/api/types/SearchMatchSchema.d.ts +8 -0
  101. package/api/types/SearchMatchSchema.js +3 -0
  102. package/api/types/SearchResultItem.d.ts +19 -0
  103. package/api/types/SearchResultItem.js +3 -0
  104. package/api/types/SearchResultLinks.d.ts +8 -0
  105. package/api/types/SearchResultLinks.js +3 -0
  106. package/api/types/SearchResultMetadata.d.ts +6 -0
  107. package/api/types/SearchResultMetadata.js +3 -0
  108. package/api/types/SyncDestinationProperties.d.ts +2 -0
  109. package/api/types/TargetField.d.ts +2 -0
  110. package/api/types/WebhookDeliveriesEnvelope.d.ts +5 -0
  111. package/api/types/WebhookDeliveriesEnvelope.js +3 -0
  112. package/api/types/WebhookDelivery.d.ts +13 -0
  113. package/api/types/WebhookDelivery.js +3 -0
  114. package/api/types/index.d.ts +28 -0
  115. package/api/types/index.js +28 -0
  116. package/package.json +1 -1
  117. package/reference.md +985 -59
  118. package/version.d.ts +1 -1
  119. package/version.js +1 -1
package/reference.md CHANGED
@@ -1973,9 +1973,11 @@ This endpoint returns immediately with a query task ID. It does not wait for
1973
1973
  the query to finish. Poll [`GET /api/queries/{id}`](../../../../api-reference/query-runner/get-query) until `status`
1974
1974
  reaches `done`, `failed`, or `unknown`. These statuses are terminal.
1975
1975
 
1976
- Only the user who created the query can fetch its results later. Query results
1977
- are stored temporarily and may expire; use the `expires` field from the result
1978
- endpoint to understand how long they will remain available.
1976
+ A Harbor-bound scoped credential can submit freeform SQL only against its
1977
+ Harbor's backing connection, even if its profile allows other connections.
1978
+ Other credentials retain their existing connection access. Query results are
1979
+ stored temporarily and may expire; use the `expires` field from the result
1980
+ endpoint to understand how long they remain available.
1979
1981
  </dd>
1980
1982
  </dl>
1981
1983
  </dd>
@@ -3679,6 +3681,30 @@ returned fields are what can be referenced in sync field mappings.
3679
3681
 
3680
3682
  The available source configuration parameters are described by
3681
3683
  [`GET /api/connections/{id}/modelsync/source`](../../../../../../api-reference/model-sync/get-source).
3684
+
3685
+ ## Query parameter format
3686
+
3687
+ Send each source setting as a bracketed key with a single string value. For
3688
+ example, a source configured with `stream_id: "deals"` uses
3689
+ `params[stream_id]=deals`.
3690
+
3691
+ With Polytomic MCP, pass the bracketed key directly in `query`:
3692
+
3693
+ ```javascript
3694
+ async () => {
3695
+ return polytomic.request({
3696
+ method: "GET",
3697
+ path: "/api/connections/<connection_id>/modelsync/source/fields",
3698
+ query: {"params[stream_id]": "deals"}
3699
+ });
3700
+ }
3701
+ ```
3702
+
3703
+ > ⚠️ Send one value per setting
3704
+ >
3705
+ > Each setting uses only the first value if you repeat its query key. An empty
3706
+ > array suffix, such as `params[stream_id][]=deals`, is rejected with
3707
+ > `400 Bad Request`. Use `params[stream_id]=deals` instead.
3682
3708
  </dd>
3683
3709
  </dl>
3684
3710
  </dd>
@@ -4529,6 +4555,120 @@ await client.modelSync.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d");
4529
4555
  </details>
4530
4556
 
4531
4557
  ## Entities
4558
+ <details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">search</a>({ ...params }) -> Polytomic.SearchEnvelope</code></summary>
4559
+ <dl>
4560
+ <dd>
4561
+
4562
+ #### 📝 Description
4563
+
4564
+ <dl>
4565
+ <dd>
4566
+
4567
+ <dl>
4568
+ <dd>
4569
+
4570
+ Searches models, model fields, model syncs, bulk syncs, and connections in the caller's organization.
4571
+
4572
+ Supply a nonblank `search` term to search all five result categories. Unlike
4573
+ [entity lookup](../../../api-reference/entities/get), this endpoint does not search
4574
+ Organizations, users, executions, Harbors, or Harbor contexts. Model fields are
4575
+ searchable but have no standalone lookup endpoint.
4576
+
4577
+ ## Searchable resources
4578
+
4579
+ - Models: ID, name, and source Connection type.
4580
+ - Model fields: ID, technical name, and label.
4581
+ - Model Syncs: ID, name, source and target Connection types, and saved field and
4582
+ identity mappings. Mappings include source field names and labels, target
4583
+ field IDs, and available target field names.
4584
+ - Bulk Syncs: ID, name, source and target Connection names and types, and enabled
4585
+ schema IDs, display names, and configured output names. Disabled schemas are
4586
+ excluded; enabled schemas remain searchable when the sync is inactive.
4587
+ - Connections: ID and name.
4588
+
4589
+ Search uses cached metadata and does not refresh schemas. Names absent from
4590
+ that metadata are not searchable. Bulk Sync fields, execution state,
4591
+ expressions, filters, and constant values are not searched.
4592
+
4593
+ ## Matching and evidence
4594
+
4595
+ Matching is case-insensitive and uses word prefixes, not fuzzy matching. Every
4596
+ query word must match somewhere within a result. Spaces and punctuation split
4597
+ words: `other emails` matches `other_emails`, but `mail` does not match `email`.
4598
+ Some Model Sync source-type matches require a leading `~`.
4599
+
4600
+ Each resource appears once. Its `matches` explain which attributes matched and
4601
+ which query terms contributed. Mapping and schema attributes carry their
4602
+ respective `mapping` or `schema` context; resource metadata has neither. A name
4603
+ or Connection type match alone does not establish mapping or schema use.
4604
+ Results include canonical `links`, not complete configurations or schema lists.
4605
+
4606
+ ## Limits and completeness
4607
+
4608
+ Results are ordered by category, then name or field label, then ID, not by
4609
+ relevance. `limit` defaults to 50 and accepts 1–100. It limits resource hits,
4610
+ not match evidence. When `metadata.truncated` is `true`, narrow your search or
4611
+ increase the limit. There is no cursor pagination.
4612
+
4613
+ > ⚠️ Incomplete model-field coverage
4614
+ >
4615
+ > Above 40,000 published model fields, `metadata.model_fields_complete` is
4616
+ > `false`: standalone field results cover a subset, not every published field.
4617
+ > Model Sync mapping search is unaffected. Incomplete or truncated results
4618
+ > cannot establish that no other matches exist.
4619
+ </dd>
4620
+ </dl>
4621
+ </dd>
4622
+ </dl>
4623
+
4624
+ #### 🔌 Usage
4625
+
4626
+ <dl>
4627
+ <dd>
4628
+
4629
+ <dl>
4630
+ <dd>
4631
+
4632
+ ```typescript
4633
+ await client.entities.search({
4634
+ search: "email",
4635
+ limit: 50
4636
+ });
4637
+
4638
+ ```
4639
+ </dd>
4640
+ </dl>
4641
+ </dd>
4642
+ </dl>
4643
+
4644
+ #### ⚙️ Parameters
4645
+
4646
+ <dl>
4647
+ <dd>
4648
+
4649
+ <dl>
4650
+ <dd>
4651
+
4652
+ **request:** `Polytomic.EntitiesSearchRequest`
4653
+
4654
+ </dd>
4655
+ </dl>
4656
+
4657
+ <dl>
4658
+ <dd>
4659
+
4660
+ **requestOptions:** `EntitiesClient.RequestOptions`
4661
+
4662
+ </dd>
4663
+ </dl>
4664
+ </dd>
4665
+ </dl>
4666
+
4667
+
4668
+ </dd>
4669
+ </dl>
4670
+ </details>
4671
+
4532
4672
  <details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">get</a>(id) -> Polytomic.EntityResponseEnvelope</code></summary>
4533
4673
  <dl>
4534
4674
  <dd>
@@ -4570,8 +4710,8 @@ Supported `type` values currently include:
4570
4710
  - `user`
4571
4711
  - `connection`
4572
4712
  - `model`
4573
- - `sync`
4574
- - `sync_execution`
4713
+ - `model_sync`
4714
+ - `model_sync_execution`
4575
4715
  - `bulk_sync`
4576
4716
  - `bulk_sync_execution`
4577
4717
  - `harbor`
@@ -4579,8 +4719,8 @@ Supported `type` values currently include:
4579
4719
 
4580
4720
  Examples:
4581
4721
 
4582
- - A model sync execution resolves to a `sync_execution` and includes a `sync`
4583
- relationship.
4722
+ - A model sync execution resolves to a `model_sync_execution` and includes a
4723
+ `sync` relationship.
4584
4724
  - A bulk sync execution resolves to a `bulk_sync_execution`, includes a
4585
4725
  `bulk_sync` relationship, and may include `context.schema_ids`.
4586
4726
  - A Harbor context resolves to a `harbor_context` and includes a `harbor`
@@ -4677,8 +4817,8 @@ Supported `type` values currently include:
4677
4817
  - `user`
4678
4818
  - `connection`
4679
4819
  - `model`
4680
- - `sync`
4681
- - `sync_execution`
4820
+ - `model_sync`
4821
+ - `model_sync_execution`
4682
4822
  - `bulk_sync`
4683
4823
  - `bulk_sync_execution`
4684
4824
  - `harbor`
@@ -4686,8 +4826,8 @@ Supported `type` values currently include:
4686
4826
 
4687
4827
  Examples:
4688
4828
 
4689
- - A model sync execution resolves to a `sync_execution` and includes a `sync`
4690
- relationship.
4829
+ - A model sync execution resolves to a `model_sync_execution` and includes a
4830
+ `sync` relationship.
4691
4831
  - A bulk sync execution resolves to a `bulk_sync_execution`, includes a
4692
4832
  `bulk_sync` relationship, and may include `context.schema_ids`.
4693
4833
  - A Harbor context resolves to a `harbor_context` and includes a `harbor`
@@ -5217,7 +5357,515 @@ await client.harbors.closeSession("248df4b7-aa70-47b8-a036-33ac447e668d");
5217
5357
  <dl>
5218
5358
  <dd>
5219
5359
 
5220
- **request:** `Polytomic.HarborsCloseSessionRequest`
5360
+ **request:** `Polytomic.HarborsCloseSessionRequest`
5361
+
5362
+ </dd>
5363
+ </dl>
5364
+
5365
+ <dl>
5366
+ <dd>
5367
+
5368
+ **requestOptions:** `HarborsClient.IdempotentRequestOptions`
5369
+
5370
+ </dd>
5371
+ </dl>
5372
+ </dd>
5373
+ </dl>
5374
+
5375
+
5376
+ </dd>
5377
+ </dl>
5378
+ </details>
5379
+
5380
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">list</a>({ ...params }) -> Polytomic.HarborListEnvelope</code></summary>
5381
+ <dl>
5382
+ <dd>
5383
+
5384
+ #### 📝 Description
5385
+
5386
+ <dl>
5387
+ <dd>
5388
+
5389
+ <dl>
5390
+ <dd>
5391
+
5392
+ Lists Harbors in the caller's current organization.
5393
+
5394
+ Returns Harbors in creation order. Use `pagination.next_page_token` to continue when more results are available.
5395
+ </dd>
5396
+ </dl>
5397
+ </dd>
5398
+ </dl>
5399
+
5400
+ #### 🔌 Usage
5401
+
5402
+ <dl>
5403
+ <dd>
5404
+
5405
+ <dl>
5406
+ <dd>
5407
+
5408
+ ```typescript
5409
+ await client.harbors.list({
5410
+ limit: 50,
5411
+ page_token: "page_token"
5412
+ });
5413
+
5414
+ ```
5415
+ </dd>
5416
+ </dl>
5417
+ </dd>
5418
+ </dl>
5419
+
5420
+ #### ⚙️ Parameters
5421
+
5422
+ <dl>
5423
+ <dd>
5424
+
5425
+ <dl>
5426
+ <dd>
5427
+
5428
+ **request:** `Polytomic.HarborsListRequest`
5429
+
5430
+ </dd>
5431
+ </dl>
5432
+
5433
+ <dl>
5434
+ <dd>
5435
+
5436
+ **requestOptions:** `HarborsClient.RequestOptions`
5437
+
5438
+ </dd>
5439
+ </dl>
5440
+ </dd>
5441
+ </dl>
5442
+
5443
+
5444
+ </dd>
5445
+ </dl>
5446
+ </details>
5447
+
5448
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">create</a>({ ...params }) -> Polytomic.CreateHarborEnvelope</code></summary>
5449
+ <dl>
5450
+ <dd>
5451
+
5452
+ #### 📝 Description
5453
+
5454
+ <dl>
5455
+ <dd>
5456
+
5457
+ <dl>
5458
+ <dd>
5459
+
5460
+ Creates a managed or customer-managed Harbor in the caller's current organization.
5461
+
5462
+ `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.
5463
+
5464
+ For `customer_managed`, `backing_connection_id` must identify a queryable Connection that your credential can access.
5465
+
5466
+ Managed Harbors return with `status: provisioning` while Polytomic sets up their
5467
+ storage in the background. Poll `GET /api/harbors/{harbor_id}` until the status is
5468
+ `ready` before adding sources or querying data. If provisioning fails, the status
5469
+ is `provisioning_failed` and Polytomic retries automatically.
5470
+ </dd>
5471
+ </dl>
5472
+ </dd>
5473
+ </dl>
5474
+
5475
+ #### 🔌 Usage
5476
+
5477
+ <dl>
5478
+ <dd>
5479
+
5480
+ <dl>
5481
+ <dd>
5482
+
5483
+ ```typescript
5484
+ await client.harbors.create({
5485
+ backing_mode: "managed",
5486
+ name: "Revenue Operations"
5487
+ });
5488
+
5489
+ ```
5490
+ </dd>
5491
+ </dl>
5492
+ </dd>
5493
+ </dl>
5494
+
5495
+ #### ⚙️ Parameters
5496
+
5497
+ <dl>
5498
+ <dd>
5499
+
5500
+ <dl>
5501
+ <dd>
5502
+
5503
+ **request:** `Polytomic.CreateHarborRequest`
5504
+
5505
+ </dd>
5506
+ </dl>
5507
+
5508
+ <dl>
5509
+ <dd>
5510
+
5511
+ **requestOptions:** `HarborsClient.IdempotentRequestOptions`
5512
+
5513
+ </dd>
5514
+ </dl>
5515
+ </dd>
5516
+ </dl>
5517
+
5518
+
5519
+ </dd>
5520
+ </dl>
5521
+ </details>
5522
+
5523
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">get</a>(harbor_id) -> Polytomic.HarborEnvelope</code></summary>
5524
+ <dl>
5525
+ <dd>
5526
+
5527
+ #### 📝 Description
5528
+
5529
+ <dl>
5530
+ <dd>
5531
+
5532
+ <dl>
5533
+ <dd>
5534
+
5535
+ Returns one Harbor by its first-class Harbor ID.
5536
+
5537
+ The response exposes the backing Connection ID but not the internal profile used to authorize Harbor credentials.
5538
+ </dd>
5539
+ </dl>
5540
+ </dd>
5541
+ </dl>
5542
+
5543
+ #### 🔌 Usage
5544
+
5545
+ <dl>
5546
+ <dd>
5547
+
5548
+ <dl>
5549
+ <dd>
5550
+
5551
+ ```typescript
5552
+ await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d");
5553
+
5554
+ ```
5555
+ </dd>
5556
+ </dl>
5557
+ </dd>
5558
+ </dl>
5559
+
5560
+ #### ⚙️ Parameters
5561
+
5562
+ <dl>
5563
+ <dd>
5564
+
5565
+ <dl>
5566
+ <dd>
5567
+
5568
+ **harbor_id:** `string` — Unique identifier of the Harbor.
5569
+
5570
+ </dd>
5571
+ </dl>
5572
+
5573
+ <dl>
5574
+ <dd>
5575
+
5576
+ **requestOptions:** `HarborsClient.RequestOptions`
5577
+
5578
+ </dd>
5579
+ </dl>
5580
+ </dd>
5581
+ </dl>
5582
+
5583
+
5584
+ </dd>
5585
+ </dl>
5586
+ </details>
5587
+
5588
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">update</a>(harbor_id, { ...params }) -> Polytomic.HarborEnvelope</code></summary>
5589
+ <dl>
5590
+ <dd>
5591
+
5592
+ #### 📝 Description
5593
+
5594
+ <dl>
5595
+ <dd>
5596
+
5597
+ <dl>
5598
+ <dd>
5599
+
5600
+ Updates a Harbor's name and description.
5601
+
5602
+ Renaming a managed Harbor also renames its backing Connection. Both names
5603
+ change together; a name conflict returns `409 Conflict` and leaves both
5604
+ unchanged. Renaming a customer-managed Harbor preserves its Connection's name.
5605
+
5606
+ This operation does not change `backing_mode` or `backing_connection_id`.
5607
+ </dd>
5608
+ </dl>
5609
+ </dd>
5610
+ </dl>
5611
+
5612
+ #### 🔌 Usage
5613
+
5614
+ <dl>
5615
+ <dd>
5616
+
5617
+ <dl>
5618
+ <dd>
5619
+
5620
+ ```typescript
5621
+ await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
5622
+ name: "Revenue Operations"
5623
+ });
5624
+
5625
+ ```
5626
+ </dd>
5627
+ </dl>
5628
+ </dd>
5629
+ </dl>
5630
+
5631
+ #### ⚙️ Parameters
5632
+
5633
+ <dl>
5634
+ <dd>
5635
+
5636
+ <dl>
5637
+ <dd>
5638
+
5639
+ **harbor_id:** `string` — Unique identifier of the Harbor.
5640
+
5641
+ </dd>
5642
+ </dl>
5643
+
5644
+ <dl>
5645
+ <dd>
5646
+
5647
+ **request:** `Polytomic.UpdateHarborRequest`
5648
+
5649
+ </dd>
5650
+ </dl>
5651
+
5652
+ <dl>
5653
+ <dd>
5654
+
5655
+ **requestOptions:** `HarborsClient.IdempotentRequestOptions`
5656
+
5657
+ </dd>
5658
+ </dl>
5659
+ </dd>
5660
+ </dl>
5661
+
5662
+
5663
+ </dd>
5664
+ </dl>
5665
+ </details>
5666
+
5667
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">delete</a>(harbor_id) -> Polytomic.DeletedHarborEnvelope</code></summary>
5668
+ <dl>
5669
+ <dd>
5670
+
5671
+ #### 📝 Description
5672
+
5673
+ <dl>
5674
+ <dd>
5675
+
5676
+ <dl>
5677
+ <dd>
5678
+
5679
+ Deletes a Harbor and revokes its credentials.
5680
+
5681
+ > 🚧 Harbor deletion
5682
+ >
5683
+ > 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.
5684
+
5685
+ The response confirms that access has been revoked. Polytomic removes managed
5686
+ storage in the background and retries failed cleanup automatically. You can also
5687
+ delete a Harbor while it is provisioning.
5688
+ </dd>
5689
+ </dl>
5690
+ </dd>
5691
+ </dl>
5692
+
5693
+ #### 🔌 Usage
5694
+
5695
+ <dl>
5696
+ <dd>
5697
+
5698
+ <dl>
5699
+ <dd>
5700
+
5701
+ ```typescript
5702
+ await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d");
5703
+
5704
+ ```
5705
+ </dd>
5706
+ </dl>
5707
+ </dd>
5708
+ </dl>
5709
+
5710
+ #### ⚙️ Parameters
5711
+
5712
+ <dl>
5713
+ <dd>
5714
+
5715
+ <dl>
5716
+ <dd>
5717
+
5718
+ **harbor_id:** `string` — Unique identifier of the Harbor.
5719
+
5720
+ </dd>
5721
+ </dl>
5722
+
5723
+ <dl>
5724
+ <dd>
5725
+
5726
+ **requestOptions:** `HarborsClient.IdempotentRequestOptions`
5727
+
5728
+ </dd>
5729
+ </dl>
5730
+ </dd>
5731
+ </dl>
5732
+
5733
+
5734
+ </dd>
5735
+ </dl>
5736
+ </details>
5737
+
5738
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">getActionConfiguration</a>(harbor_id) -> Polytomic.HarborActionConfigurationEnvelope</code></summary>
5739
+ <dl>
5740
+ <dd>
5741
+
5742
+ #### 📝 Description
5743
+
5744
+ <dl>
5745
+ <dd>
5746
+
5747
+ <dl>
5748
+ <dd>
5749
+
5750
+ Returns configured action grants and revisions for a Harbor.
5751
+
5752
+ You must be an Organization administrator with permission to edit the Harbor.
5753
+ Use a writable API credential, not a Harbor profile credential. Read-only keys
5754
+ are denied because this endpoint requires Harbor edit permission.
5755
+
5756
+ This response includes grants for Connections that no longer populate the
5757
+ Harbor. You can remove those stale grants without reattaching the Connection.
5758
+ Reading configuration does not require the Harbor Actions entitlement.
5759
+
5760
+ Use each Connection's `revision` as `expected_revision` when replacing or
5761
+ removing its grants. Configuration responses contain metadata only, not provider
5762
+ credentials or record values.
5763
+ </dd>
5764
+ </dl>
5765
+ </dd>
5766
+ </dl>
5767
+
5768
+ #### 🔌 Usage
5769
+
5770
+ <dl>
5771
+ <dd>
5772
+
5773
+ <dl>
5774
+ <dd>
5775
+
5776
+ ```typescript
5777
+ await client.harbors.getActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d");
5778
+
5779
+ ```
5780
+ </dd>
5781
+ </dl>
5782
+ </dd>
5783
+ </dl>
5784
+
5785
+ #### ⚙️ Parameters
5786
+
5787
+ <dl>
5788
+ <dd>
5789
+
5790
+ <dl>
5791
+ <dd>
5792
+
5793
+ **harbor_id:** `string` — Unique identifier of the Harbor.
5794
+
5795
+ </dd>
5796
+ </dl>
5797
+
5798
+ <dl>
5799
+ <dd>
5800
+
5801
+ **requestOptions:** `HarborsClient.RequestOptions`
5802
+
5803
+ </dd>
5804
+ </dl>
5805
+ </dd>
5806
+ </dl>
5807
+
5808
+
5809
+ </dd>
5810
+ </dl>
5811
+ </details>
5812
+
5813
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">disableActionConfiguration</a>(harbor_id) -> Polytomic.HarborActionConfigurationEnvelope</code></summary>
5814
+ <dl>
5815
+ <dd>
5816
+
5817
+ #### 📝 Description
5818
+
5819
+ <dl>
5820
+ <dd>
5821
+
5822
+ <dl>
5823
+ <dd>
5824
+
5825
+ Disables all configured actions for a Harbor.
5826
+
5827
+ You must be an Organization administrator with permission to edit the Harbor.
5828
+ Use a normal writable API credential, not a Harbor profile credential. Your
5829
+ Organization must have the Harbor Actions entitlement.
5830
+
5831
+ > 🚧 Disable all actions
5832
+ >
5833
+ > This removes every configured action grant from the Harbor, including grants
5834
+ > for detached Connections. There is no per-Connection revision check.
5835
+
5836
+ The response contains the empty configuration. This request does not delete
5837
+ Connections, syncs, or provider records.
5838
+ </dd>
5839
+ </dl>
5840
+ </dd>
5841
+ </dl>
5842
+
5843
+ #### 🔌 Usage
5844
+
5845
+ <dl>
5846
+ <dd>
5847
+
5848
+ <dl>
5849
+ <dd>
5850
+
5851
+ ```typescript
5852
+ await client.harbors.disableActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d");
5853
+
5854
+ ```
5855
+ </dd>
5856
+ </dl>
5857
+ </dd>
5858
+ </dl>
5859
+
5860
+ #### ⚙️ Parameters
5861
+
5862
+ <dl>
5863
+ <dd>
5864
+
5865
+ <dl>
5866
+ <dd>
5867
+
5868
+ **harbor_id:** `string` — Unique identifier of the Harbor.
5221
5869
 
5222
5870
  </dd>
5223
5871
  </dl>
@@ -5237,7 +5885,7 @@ await client.harbors.closeSession("248df4b7-aa70-47b8-a036-33ac447e668d");
5237
5885
  </dl>
5238
5886
  </details>
5239
5887
 
5240
- <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">list</a>({ ...params }) -> Polytomic.HarborListEnvelope</code></summary>
5888
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">listActionSourceConnections</a>(harbor_id) -> Polytomic.HarborActionSourceConnectionsEnvelope</code></summary>
5241
5889
  <dl>
5242
5890
  <dd>
5243
5891
 
@@ -5249,9 +5897,19 @@ await client.harbors.closeSession("248df4b7-aa70-47b8-a036-33ac447e668d");
5249
5897
  <dl>
5250
5898
  <dd>
5251
5899
 
5252
- Lists Harbors in the caller's current organization.
5900
+ Lists action-capable source Connections that populate a Harbor.
5253
5901
 
5254
- Returns Harbors in creation order. Use `pagination.next_page_token` to continue when more results are available.
5902
+ You must be an Organization administrator with permission to edit the Harbor.
5903
+ Use a writable API credential, not a Harbor profile credential. Read-only keys
5904
+ are denied because this endpoint requires Harbor edit permission. Discovery does
5905
+ not require the Harbor Actions entitlement.
5906
+
5907
+ A Connection is eligible when it supports actions and is a source of a
5908
+ non-deleted Bulk Sync or Model Sync targeting the Harbor's backing Connection.
5909
+ Only saved, non-shared Connections in your Organization that you can query are
5910
+ included. Disabled syncs still establish source membership.
5911
+
5912
+ Discover schemas and operations before choosing the grants to configure.
5255
5913
  </dd>
5256
5914
  </dl>
5257
5915
  </dd>
@@ -5266,10 +5924,7 @@ Returns Harbors in creation order. Use `pagination.next_page_token` to continue
5266
5924
  <dd>
5267
5925
 
5268
5926
  ```typescript
5269
- await client.harbors.list({
5270
- limit: 50,
5271
- page_token: "page_token"
5272
- });
5927
+ await client.harbors.listActionSourceConnections("248df4b7-aa70-47b8-a036-33ac447e668d");
5273
5928
 
5274
5929
  ```
5275
5930
  </dd>
@@ -5285,7 +5940,7 @@ await client.harbors.list({
5285
5940
  <dl>
5286
5941
  <dd>
5287
5942
 
5288
- **request:** `Polytomic.HarborsListRequest`
5943
+ **harbor_id:** `string` — Unique identifier of the Harbor.
5289
5944
 
5290
5945
  </dd>
5291
5946
  </dl>
@@ -5305,7 +5960,7 @@ await client.harbors.list({
5305
5960
  </dl>
5306
5961
  </details>
5307
5962
 
5308
- <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">create</a>({ ...params }) -> Polytomic.CreateHarborEnvelope</code></summary>
5963
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">setActionConfiguration</a>(harbor_id, connection_id, { ...params }) -> Polytomic.HarborActionConfigurationEnvelope</code></summary>
5309
5964
  <dl>
5310
5965
  <dd>
5311
5966
 
@@ -5317,16 +5972,29 @@ await client.harbors.list({
5317
5972
  <dl>
5318
5973
  <dd>
5319
5974
 
5320
- Creates a managed or customer-managed Harbor in the caller's current organization.
5975
+ Creates or replaces action grants for an eligible Harbor source Connection.
5321
5976
 
5322
- `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.
5977
+ You must be an Organization administrator with permission to edit both the
5978
+ Harbor and the source Connection. Use a normal writable API credential, not a
5979
+ Harbor profile credential. Your Organization must have the Harbor Actions
5980
+ entitlement.
5323
5981
 
5324
- For `customer_managed`, `backing_connection_id` must identify a queryable Connection that your credential can access.
5982
+ The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
5983
+ Sync targeting its backing Connection. This requirement applies to new grants
5984
+ and replacements, even when you only remove fields from an existing grant.
5325
5985
 
5326
- Managed Harbors return with `status: provisioning` while Polytomic sets up their
5327
- storage in the background. Poll `GET /api/harbors/{harbor_id}` until the status is
5328
- `ready` before adding sources or querying data. If provisioning fails, the status
5329
- is `provisioning_failed` and Polytomic retries automatically.
5986
+ Submit the complete grant set for this Connection. Omit `expected_revision` to
5987
+ create it, or supply the current revision to replace it. A missing, stale, or
5988
+ unexpected revision returns `409 Conflict`; read configuration again before
5989
+ retrying. Successful replacement creates a new revision.
5990
+
5991
+ For mutating operations, `field_ids` selects input fields and
5992
+ `lookup_field_ids` must be omitted. For read-only operations, `field_ids`
5993
+ selects output fields and `lookup_field_ids` selects allowed lookup fields.
5994
+ Duplicate operations or field IDs are invalid. An empty grant set is invalid;
5995
+ remove the Connection's grants instead.
5996
+
5997
+ This request changes permissions only. It does not execute provider actions.
5330
5998
  </dd>
5331
5999
  </dl>
5332
6000
  </dd>
@@ -5341,10 +6009,7 @@ is `provisioning_failed` and Polytomic retries automatically.
5341
6009
  <dd>
5342
6010
 
5343
6011
  ```typescript
5344
- await client.harbors.create({
5345
- backing_mode: "managed",
5346
- name: "Revenue Operations"
5347
- });
6012
+ await client.harbors.setActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d");
5348
6013
 
5349
6014
  ```
5350
6015
  </dd>
@@ -5360,7 +6025,23 @@ await client.harbors.create({
5360
6025
  <dl>
5361
6026
  <dd>
5362
6027
 
5363
- **request:** `Polytomic.CreateHarborRequest`
6028
+ **harbor_id:** `string` — Unique identifier of the Harbor.
6029
+
6030
+ </dd>
6031
+ </dl>
6032
+
6033
+ <dl>
6034
+ <dd>
6035
+
6036
+ **connection_id:** `string` — Source Connection whose action grants you want to manage.
6037
+
6038
+ </dd>
6039
+ </dl>
6040
+
6041
+ <dl>
6042
+ <dd>
6043
+
6044
+ **request:** `Polytomic.SetHarborActionConfigurationRequest`
5364
6045
 
5365
6046
  </dd>
5366
6047
  </dl>
@@ -5380,7 +6061,7 @@ await client.harbors.create({
5380
6061
  </dl>
5381
6062
  </details>
5382
6063
 
5383
- <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">get</a>(harbor_id) -> Polytomic.HarborEnvelope</code></summary>
6064
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">removeActionConfiguration</a>(harbor_id, connection_id, { ...params }) -> Polytomic.HarborActionConfigurationEnvelope</code></summary>
5384
6065
  <dl>
5385
6066
  <dd>
5386
6067
 
@@ -5392,9 +6073,18 @@ await client.harbors.create({
5392
6073
  <dl>
5393
6074
  <dd>
5394
6075
 
5395
- Returns one Harbor by its first-class Harbor ID.
6076
+ Removes a Connection's action grants from a Harbor.
5396
6077
 
5397
- The response exposes the backing Connection ID but not the internal profile used to authorize Harbor credentials.
6078
+ You must be an Organization administrator with permission to edit the Harbor.
6079
+ Use a normal writable API credential, not a Harbor profile credential. Your
6080
+ Organization must have the Harbor Actions entitlement.
6081
+
6082
+ Supply the current `expected_revision` as a query parameter. A stale revision
6083
+ returns `409 Conflict`; read configuration again before retrying.
6084
+
6085
+ You can remove grants after the Connection stops populating the Harbor, or after
6086
+ the Connection is deleted. The response contains the remaining configured action
6087
+ Connections. This request does not delete the Connection or provider records.
5398
6088
  </dd>
5399
6089
  </dl>
5400
6090
  </dd>
@@ -5409,7 +6099,9 @@ The response exposes the backing Connection ID but not the internal profile used
5409
6099
  <dd>
5410
6100
 
5411
6101
  ```typescript
5412
- await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d");
6102
+ await client.harbors.removeActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
6103
+ expected_revision: "248df4b7-aa70-47b8-a036-33ac447e668d"
6104
+ });
5413
6105
 
5414
6106
  ```
5415
6107
  </dd>
@@ -5433,7 +6125,23 @@ await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d");
5433
6125
  <dl>
5434
6126
  <dd>
5435
6127
 
5436
- **requestOptions:** `HarborsClient.RequestOptions`
6128
+ **connection_id:** `string` — Source Connection whose action grants you want to manage.
6129
+
6130
+ </dd>
6131
+ </dl>
6132
+
6133
+ <dl>
6134
+ <dd>
6135
+
6136
+ **request:** `Polytomic.HarborsRemoveActionConfigurationRequest`
6137
+
6138
+ </dd>
6139
+ </dl>
6140
+
6141
+ <dl>
6142
+ <dd>
6143
+
6144
+ **requestOptions:** `HarborsClient.IdempotentRequestOptions`
5437
6145
 
5438
6146
  </dd>
5439
6147
  </dl>
@@ -5445,7 +6153,7 @@ await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d");
5445
6153
  </dl>
5446
6154
  </details>
5447
6155
 
5448
- <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">update</a>(harbor_id, { ...params }) -> Polytomic.HarborEnvelope</code></summary>
6156
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">listActionConfigurationSchemas</a>(harbor_id, connection_id, { ...params }) -> Polytomic.HarborActionConfigurationSchemasEnvelope</code></summary>
5449
6157
  <dl>
5450
6158
  <dd>
5451
6159
 
@@ -5457,13 +6165,19 @@ await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d");
5457
6165
  <dl>
5458
6166
  <dd>
5459
6167
 
5460
- Updates a Harbor's name and description.
6168
+ Lists available action schemas for an eligible Harbor source Connection.
5461
6169
 
5462
- Renaming a managed Harbor also renames its backing Connection. Both names
5463
- change together; a name conflict returns `409 Conflict` and leaves both
5464
- unchanged. Renaming a customer-managed Harbor preserves its Connection's name.
6170
+ You must be an Organization administrator with permission to edit the Harbor
6171
+ and query the source Connection. Use a writable API credential, not a Harbor
6172
+ profile credential. Read-only keys are denied because this endpoint requires
6173
+ Harbor edit permission. Discovery does not require the Harbor Actions entitlement.
5465
6174
 
5466
- This operation does not change `backing_mode` or `backing_connection_id`.
6175
+ The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
6176
+ Sync targeting its backing Connection. The response lists action schemas, not
6177
+ records. Use the next page token with the same search filter to continue.
6178
+
6179
+ Operation IDs in the catalog are hints. Operation discovery returns the current
6180
+ configurable fields for a schema.
5467
6181
  </dd>
5468
6182
  </dl>
5469
6183
  </dd>
@@ -5478,8 +6192,10 @@ This operation does not change `backing_mode` or `backing_connection_id`.
5478
6192
  <dd>
5479
6193
 
5480
6194
  ```typescript
5481
- await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
5482
- name: "Revenue Operations"
6195
+ await client.harbors.listActionConfigurationSchemas("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
6196
+ search: "search",
6197
+ limit: 1,
6198
+ page_token: "page_token"
5483
6199
  });
5484
6200
 
5485
6201
  ```
@@ -5504,7 +6220,7 @@ await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
5504
6220
  <dl>
5505
6221
  <dd>
5506
6222
 
5507
- **request:** `Polytomic.UpdateHarborRequest`
6223
+ **connection_id:** `string` — Source Connection whose action grants you want to manage.
5508
6224
 
5509
6225
  </dd>
5510
6226
  </dl>
@@ -5512,7 +6228,15 @@ await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
5512
6228
  <dl>
5513
6229
  <dd>
5514
6230
 
5515
- **requestOptions:** `HarborsClient.IdempotentRequestOptions`
6231
+ **request:** `Polytomic.HarborsListActionConfigurationSchemasRequest`
6232
+
6233
+ </dd>
6234
+ </dl>
6235
+
6236
+ <dl>
6237
+ <dd>
6238
+
6239
+ **requestOptions:** `HarborsClient.RequestOptions`
5516
6240
 
5517
6241
  </dd>
5518
6242
  </dl>
@@ -5524,7 +6248,7 @@ await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
5524
6248
  </dl>
5525
6249
  </details>
5526
6250
 
5527
- <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">delete</a>(harbor_id) -> Polytomic.DeletedHarborEnvelope</code></summary>
6251
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">listActionConfigurationOperations</a>(harbor_id, connection_id, schema_id) -> Polytomic.HarborActionConfigurationOperationsEnvelope</code></summary>
5528
6252
  <dl>
5529
6253
  <dd>
5530
6254
 
@@ -5536,15 +6260,20 @@ await client.harbors.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
5536
6260
  <dl>
5537
6261
  <dd>
5538
6262
 
5539
- Deletes a Harbor and revokes its credentials.
6263
+ Lists operations and configurable fields for an eligible Harbor action schema.
5540
6264
 
5541
- > 🚧 Harbor deletion
5542
- >
5543
- > 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.
6265
+ You must be an Organization administrator with permission to edit the Harbor
6266
+ and query the source Connection. Use a writable API credential, not a Harbor
6267
+ profile credential. Read-only keys are denied because this endpoint requires
6268
+ Harbor edit permission. Discovery does not require the Harbor Actions entitlement.
5544
6269
 
5545
- The response confirms that access has been revoked. Polytomic removes managed
5546
- storage in the background and retries failed cleanup automatically. You can also
5547
- delete a Harbor while it is provisioning.
6270
+ The Connection must populate the Harbor through a non-deleted Bulk Sync or Model
6271
+ Sync targeting its backing Connection. This request returns operation metadata,
6272
+ not provider records, and does not execute an action.
6273
+
6274
+ For a mutating operation, choose input field IDs. For a read-only operation,
6275
+ choose output field IDs and at least one lookup field ID. Required input fields
6276
+ must be included in the grant.
5548
6277
  </dd>
5549
6278
  </dl>
5550
6279
  </dd>
@@ -5559,7 +6288,7 @@ delete a Harbor while it is provisioning.
5559
6288
  <dd>
5560
6289
 
5561
6290
  ```typescript
5562
- await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d");
6291
+ await client.harbors.listActionConfigurationOperations("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id");
5563
6292
 
5564
6293
  ```
5565
6294
  </dd>
@@ -5583,7 +6312,23 @@ await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d");
5583
6312
  <dl>
5584
6313
  <dd>
5585
6314
 
5586
- **requestOptions:** `HarborsClient.IdempotentRequestOptions`
6315
+ **connection_id:** `string` — Source Connection whose action grants you want to manage.
6316
+
6317
+ </dd>
6318
+ </dl>
6319
+
6320
+ <dl>
6321
+ <dd>
6322
+
6323
+ **schema_id:** `string` — Exact action schema ID returned by schema discovery.
6324
+
6325
+ </dd>
6326
+ </dl>
6327
+
6328
+ <dl>
6329
+ <dd>
6330
+
6331
+ **requestOptions:** `HarborsClient.RequestOptions`
5587
6332
 
5588
6333
  </dd>
5589
6334
  </dl>
@@ -6913,6 +7658,91 @@ await client.harbors.deleteKey("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7
6913
7658
  </dl>
6914
7659
 
6915
7660
 
7661
+ </dd>
7662
+ </dl>
7663
+ </details>
7664
+
7665
+ <details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">runQuery</a>(harbor_id, { ...params }) -> Polytomic.RunQueryEnvelope</code></summary>
7666
+ <dl>
7667
+ <dd>
7668
+
7669
+ #### 📝 Description
7670
+
7671
+ <dl>
7672
+ <dd>
7673
+
7674
+ <dl>
7675
+ <dd>
7676
+
7677
+ Submits a query against the Harbor backing connection for asynchronous execution.
7678
+
7679
+ Use a scoped credential bound to this Harbor. The query runs only against the
7680
+ Harbor's backing connection; you cannot select another connection on this route.
7681
+ Send a unique `X-Polytomic-Activity-Request-ID` UUID with each submission. The
7682
+ `X-Polytomic-Harbor-Session` header is optional; if you send one, it must be
7683
+ valid for this Harbor.
7684
+
7685
+ The response contains a query ID and an initial `created` status. Poll
7686
+ [`GET /api/queries/{id}`](../../../../api-reference/query-runner/get-query) with that ID
7687
+ until the status is `done`, `failed`, or `unknown`. Follow the result endpoint's
7688
+ pagination links for additional rows. Results are temporary; check `expires`
7689
+ on the completed query.
7690
+ </dd>
7691
+ </dl>
7692
+ </dd>
7693
+ </dl>
7694
+
7695
+ #### 🔌 Usage
7696
+
7697
+ <dl>
7698
+ <dd>
7699
+
7700
+ <dl>
7701
+ <dd>
7702
+
7703
+ ```typescript
7704
+ await client.harbors.runQuery("248df4b7-aa70-47b8-a036-33ac447e668d", {
7705
+ query: "SELECT 1 AS n"
7706
+ });
7707
+
7708
+ ```
7709
+ </dd>
7710
+ </dl>
7711
+ </dd>
7712
+ </dl>
7713
+
7714
+ #### ⚙️ Parameters
7715
+
7716
+ <dl>
7717
+ <dd>
7718
+
7719
+ <dl>
7720
+ <dd>
7721
+
7722
+ **harbor_id:** `string` — Unique identifier of the Harbor whose backing connection runs the query.
7723
+
7724
+ </dd>
7725
+ </dl>
7726
+
7727
+ <dl>
7728
+ <dd>
7729
+
7730
+ **request:** `Polytomic.RunHarborQueryRequest`
7731
+
7732
+ </dd>
7733
+ </dl>
7734
+
7735
+ <dl>
7736
+ <dd>
7737
+
7738
+ **requestOptions:** `HarborsClient.IdempotentRequestOptions`
7739
+
7740
+ </dd>
7741
+ </dl>
7742
+ </dd>
7743
+ </dl>
7744
+
7745
+
6916
7746
  </dd>
6917
7747
  </dl>
6918
7748
  </details>
@@ -10986,6 +11816,89 @@ await client.webhooks.delete("248df4b7-aa70-47b8-a036-33ac447e668d");
10986
11816
  </dl>
10987
11817
 
10988
11818
 
11819
+ </dd>
11820
+ </dl>
11821
+ </details>
11822
+
11823
+ <details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">listDeliveries</a>(id, { ...params }) -> Polytomic.WebhookDeliveriesEnvelope</code></summary>
11824
+ <dl>
11825
+ <dd>
11826
+
11827
+ #### 📝 Description
11828
+
11829
+ <dl>
11830
+ <dd>
11831
+
11832
+ <dl>
11833
+ <dd>
11834
+
11835
+ Lists delivery attempts for a webhook, newest first.
11836
+
11837
+ Use `success`, `event_id`, `start`, and `end` to narrow the results.
11838
+ Results are ordered by attempt time, newest first. Pass the returned
11839
+ `next_page_token` as `page_token` to fetch the next page. An empty token means
11840
+ there are no more results. Response bodies contain content returned by your
11841
+ webhook endpoint. Attempts are listed only while their event is retained.
11842
+ </dd>
11843
+ </dl>
11844
+ </dd>
11845
+ </dl>
11846
+
11847
+ #### 🔌 Usage
11848
+
11849
+ <dl>
11850
+ <dd>
11851
+
11852
+ <dl>
11853
+ <dd>
11854
+
11855
+ ```typescript
11856
+ await client.webhooks.listDeliveries("248df4b7-aa70-47b8-a036-33ac447e668d", {
11857
+ success: true,
11858
+ event_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
11859
+ start: "2024-01-15T09:30:00Z",
11860
+ end: "2024-01-15T09:30:00Z",
11861
+ page_token: "page_token"
11862
+ });
11863
+
11864
+ ```
11865
+ </dd>
11866
+ </dl>
11867
+ </dd>
11868
+ </dl>
11869
+
11870
+ #### ⚙️ Parameters
11871
+
11872
+ <dl>
11873
+ <dd>
11874
+
11875
+ <dl>
11876
+ <dd>
11877
+
11878
+ **id:** `string`
11879
+
11880
+ </dd>
11881
+ </dl>
11882
+
11883
+ <dl>
11884
+ <dd>
11885
+
11886
+ **request:** `Polytomic.WebhooksListDeliveriesRequest`
11887
+
11888
+ </dd>
11889
+ </dl>
11890
+
11891
+ <dl>
11892
+ <dd>
11893
+
11894
+ **requestOptions:** `WebhooksClient.RequestOptions`
11895
+
11896
+ </dd>
11897
+ </dl>
11898
+ </dd>
11899
+ </dl>
11900
+
11901
+
10989
11902
  </dd>
10990
11903
  </dl>
10991
11904
  </details>
@@ -12369,7 +13282,7 @@ await client.bulkSync.schemas.update("248df4b7-aa70-47b8-a036-33ac447e668d", "co
12369
13282
  <dl>
12370
13283
  <dd>
12371
13284
 
12372
- Requests cancellation of any running executions for a specific schema on a bulk sync.
13285
+ Requests cancellation of any running executions for a specific schema on a bulk sync. A schema whose only running work is a backfill returns a conflict.
12373
13286
 
12374
13287
  Cancellation is asynchronous. A successful response means the cancellation
12375
13288
  signal for this schema has been queued; the schema's in-flight work continues
@@ -12850,6 +13763,10 @@ size and rate limits.
12850
13763
 
12851
13764
  ## Important behavior
12852
13765
 
13766
+ - For connections that expose more than one API (listed in `apis` in the proxy
13767
+ info response), set `request.api` to the name of the API to call. Requests
13768
+ without `request.api` go to the default API. `request.api` is rejected for
13769
+ connections that expose a single API.
12853
13770
  - `request.path` must be relative and start with `/`.
12854
13771
  - Use either `request.query` or `request.rawQuery`, not both.
12855
13772
  - Caller-supplied headers are merged with inherited headers, but inherited auth
@@ -12857,6 +13774,9 @@ size and rate limits.
12857
13774
  - The proxy strips a fixed set of request and response headers for safety.
12858
13775
  - Response bodies larger than the configured maximum are truncated, and
12859
13776
  `truncated` is set to `true`.
13777
+ - A `429` means Polytomic's proxy rate limit was reached, or the connection's
13778
+ upstream quota, which the proxy shares with the connection's syncs, is
13779
+ exhausted.
12860
13780
 
12861
13781
  To run a `GET` request asynchronously, set `async` to `true`. The initial
12862
13782
  response returns `status: 202`, `jobId`, `jobStatus`, and `jobUrl`. Poll
@@ -12955,6 +13875,12 @@ when you need to build requests programmatically. The response shows:
12955
13875
  - allowed HTTP methods and body shapes
12956
13876
  - timeout, rate-limit, and payload-size limits
12957
13877
 
13878
+ Some connections reach more than one upstream API, each with its own base URL
13879
+ and quota. For these, the response includes `apis`: one entry per API with its
13880
+ `name`, `description`, whether it is the `default`, and its own
13881
+ `inheritedBase`. The top-level `inheritedBase` describes the default API.
13882
+ Connections with a single API omit `apis`.
13883
+
12958
13884
  Sensitive inherited header and query values are redacted in the response. The
12959
13885
  contract is still useful for discovering which keys are fixed by the
12960
13886
  connection, even though their raw values are not exposed.