polytomic 25.9.10 → 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.
- package/BaseClient.js +2 -2
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +2 -1
- package/api/resources/bulkSync/resources/schemas/client/Client.js +4 -1
- package/api/resources/entities/client/Client.d.ts +78 -8
- package/api/resources/entities/client/Client.js +132 -8
- package/api/resources/entities/client/index.d.ts +1 -1
- package/api/resources/entities/client/index.js +15 -0
- package/api/resources/entities/client/requests/EntitiesSearchRequest.d.ts +13 -0
- package/api/resources/entities/client/requests/EntitiesSearchRequest.js +3 -0
- package/api/resources/entities/client/requests/index.d.ts +1 -0
- package/api/resources/entities/client/requests/index.js +2 -0
- package/api/resources/harbors/client/Client.d.ts +248 -0
- package/api/resources/harbors/client/Client.js +622 -0
- package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.d.ts +16 -0
- package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.d.ts +10 -0
- package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.js +3 -0
- package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.d.ts +11 -0
- package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.js +3 -0
- package/api/resources/harbors/client/requests/index.d.ts +3 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/modelSync/client/Client.d.ts +24 -0
- package/api/resources/modelSync/client/Client.js +24 -0
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +1 -1
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -0
- package/api/types/BulkExecutionStatus.d.ts +1 -0
- package/api/types/BulkExecutionStatus.js +1 -0
- package/api/types/BulkSyncSearchHit.d.ts +14 -0
- package/api/types/BulkSyncSearchHit.js +3 -0
- package/api/types/ConnectionSearchHit.d.ts +9 -0
- package/api/types/ConnectionSearchHit.js +3 -0
- package/api/types/CreateModelRequest.d.ts +1 -0
- package/api/types/EntityResponse.d.ts +1 -1
- package/api/types/HarborActionConfigurationEnvelope.d.ts +5 -0
- package/api/types/HarborActionConfigurationEnvelope.js +3 -0
- package/api/types/HarborActionConfigurationFieldResponse.d.ts +20 -0
- package/api/types/HarborActionConfigurationFieldResponse.js +3 -0
- package/api/types/HarborActionConfigurationIdempotencyResponse.d.ts +6 -0
- package/api/types/HarborActionConfigurationIdempotencyResponse.js +3 -0
- package/api/types/HarborActionConfigurationOperationResponse.d.ts +28 -0
- package/api/types/HarborActionConfigurationOperationResponse.js +12 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +4 -0
- package/api/types/HarborActionConfigurationOperationsEnvelope.js +3 -0
- package/api/types/HarborActionConfigurationResponse.d.ts +13 -0
- package/api/types/HarborActionConfigurationResponse.js +3 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.d.ts +5 -0
- package/api/types/HarborActionConfigurationSchemasEnvelope.js +3 -0
- package/api/types/HarborActionGrantSchema.d.ts +10 -0
- package/api/types/HarborActionGrantSchema.js +3 -0
- package/api/types/HarborActionSchemaResponse.d.ts +8 -0
- package/api/types/HarborActionSchemaResponse.js +3 -0
- package/api/types/HarborActionSourceConnectionResponse.d.ts +8 -0
- package/api/types/HarborActionSourceConnectionResponse.js +3 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.d.ts +4 -0
- package/api/types/HarborActionSourceConnectionsEnvelope.js +3 -0
- package/api/types/IdentityCredentialSchema.d.ts +2 -0
- package/api/types/ModelFieldSearchHit.d.ts +15 -0
- package/api/types/ModelFieldSearchHit.js +3 -0
- package/api/types/ModelSearchHit.d.ts +11 -0
- package/api/types/ModelSearchHit.js +3 -0
- package/api/types/ModelSyncSearchHit.d.ts +12 -0
- package/api/types/ModelSyncSearchHit.js +3 -0
- package/api/types/ModelSyncSourceConnection.d.ts +5 -0
- package/api/types/ModelSyncSourceConnection.js +3 -0
- package/api/types/SearchEnvelope.d.ts +5 -0
- package/api/types/SearchEnvelope.js +3 -0
- package/api/types/SearchMatch.d.ts +7 -0
- package/api/types/SearchMatch.js +3 -0
- package/api/types/SearchMatchAttribute.d.ts +8 -0
- package/api/types/SearchMatchAttribute.js +3 -0
- package/api/types/SearchMatchMapping.d.ts +19 -0
- package/api/types/SearchMatchMapping.js +12 -0
- package/api/types/SearchMatchSchema.d.ts +8 -0
- package/api/types/SearchMatchSchema.js +3 -0
- package/api/types/SearchResultItem.d.ts +19 -0
- package/api/types/SearchResultItem.js +3 -0
- package/api/types/SearchResultLinks.d.ts +8 -0
- package/api/types/SearchResultLinks.js +3 -0
- package/api/types/SearchResultMetadata.d.ts +6 -0
- package/api/types/SearchResultMetadata.js +3 -0
- package/api/types/SyncDestinationProperties.d.ts +2 -0
- package/api/types/index.d.ts +25 -0
- package/api/types/index.js +25 -0
- package/package.json +1 -1
- package/reference.md +752 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -3681,6 +3681,30 @@ returned fields are what can be referenced in sync field mappings.
|
|
|
3681
3681
|
|
|
3682
3682
|
The available source configuration parameters are described by
|
|
3683
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.
|
|
3684
3708
|
</dd>
|
|
3685
3709
|
</dl>
|
|
3686
3710
|
</dd>
|
|
@@ -4531,6 +4555,120 @@ await client.modelSync.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
|
4531
4555
|
</details>
|
|
4532
4556
|
|
|
4533
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
|
+
|
|
4534
4672
|
<details><summary><code>client.entities.<a href="/src/api/resources/entities/client/Client.ts">get</a>(id) -> Polytomic.EntityResponseEnvelope</code></summary>
|
|
4535
4673
|
<dl>
|
|
4536
4674
|
<dd>
|
|
@@ -4572,8 +4710,8 @@ Supported `type` values currently include:
|
|
|
4572
4710
|
- `user`
|
|
4573
4711
|
- `connection`
|
|
4574
4712
|
- `model`
|
|
4575
|
-
- `
|
|
4576
|
-
- `
|
|
4713
|
+
- `model_sync`
|
|
4714
|
+
- `model_sync_execution`
|
|
4577
4715
|
- `bulk_sync`
|
|
4578
4716
|
- `bulk_sync_execution`
|
|
4579
4717
|
- `harbor`
|
|
@@ -4581,8 +4719,8 @@ Supported `type` values currently include:
|
|
|
4581
4719
|
|
|
4582
4720
|
Examples:
|
|
4583
4721
|
|
|
4584
|
-
- A model sync execution resolves to a `
|
|
4585
|
-
relationship.
|
|
4722
|
+
- A model sync execution resolves to a `model_sync_execution` and includes a
|
|
4723
|
+
`sync` relationship.
|
|
4586
4724
|
- A bulk sync execution resolves to a `bulk_sync_execution`, includes a
|
|
4587
4725
|
`bulk_sync` relationship, and may include `context.schema_ids`.
|
|
4588
4726
|
- A Harbor context resolves to a `harbor_context` and includes a `harbor`
|
|
@@ -4679,8 +4817,8 @@ Supported `type` values currently include:
|
|
|
4679
4817
|
- `user`
|
|
4680
4818
|
- `connection`
|
|
4681
4819
|
- `model`
|
|
4682
|
-
- `
|
|
4683
|
-
- `
|
|
4820
|
+
- `model_sync`
|
|
4821
|
+
- `model_sync_execution`
|
|
4684
4822
|
- `bulk_sync`
|
|
4685
4823
|
- `bulk_sync_execution`
|
|
4686
4824
|
- `harbor`
|
|
@@ -4688,8 +4826,8 @@ Supported `type` values currently include:
|
|
|
4688
4826
|
|
|
4689
4827
|
Examples:
|
|
4690
4828
|
|
|
4691
|
-
- A model sync execution resolves to a `
|
|
4692
|
-
relationship.
|
|
4829
|
+
- A model sync execution resolves to a `model_sync_execution` and includes a
|
|
4830
|
+
`sync` relationship.
|
|
4693
4831
|
- A bulk sync execution resolves to a `bulk_sync_execution`, includes a
|
|
4694
4832
|
`bulk_sync` relationship, and may include `context.schema_ids`.
|
|
4695
4833
|
- A Harbor context resolves to a `harbor_context` and includes a `harbor`
|
|
@@ -5593,6 +5731,611 @@ await client.harbors.delete("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
|
5593
5731
|
</dl>
|
|
5594
5732
|
|
|
5595
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.
|
|
5869
|
+
|
|
5870
|
+
</dd>
|
|
5871
|
+
</dl>
|
|
5872
|
+
|
|
5873
|
+
<dl>
|
|
5874
|
+
<dd>
|
|
5875
|
+
|
|
5876
|
+
**requestOptions:** `HarborsClient.IdempotentRequestOptions`
|
|
5877
|
+
|
|
5878
|
+
</dd>
|
|
5879
|
+
</dl>
|
|
5880
|
+
</dd>
|
|
5881
|
+
</dl>
|
|
5882
|
+
|
|
5883
|
+
|
|
5884
|
+
</dd>
|
|
5885
|
+
</dl>
|
|
5886
|
+
</details>
|
|
5887
|
+
|
|
5888
|
+
<details><summary><code>client.harbors.<a href="/src/api/resources/harbors/client/Client.ts">listActionSourceConnections</a>(harbor_id) -> Polytomic.HarborActionSourceConnectionsEnvelope</code></summary>
|
|
5889
|
+
<dl>
|
|
5890
|
+
<dd>
|
|
5891
|
+
|
|
5892
|
+
#### 📝 Description
|
|
5893
|
+
|
|
5894
|
+
<dl>
|
|
5895
|
+
<dd>
|
|
5896
|
+
|
|
5897
|
+
<dl>
|
|
5898
|
+
<dd>
|
|
5899
|
+
|
|
5900
|
+
Lists action-capable source Connections that populate a Harbor.
|
|
5901
|
+
|
|
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.
|
|
5913
|
+
</dd>
|
|
5914
|
+
</dl>
|
|
5915
|
+
</dd>
|
|
5916
|
+
</dl>
|
|
5917
|
+
|
|
5918
|
+
#### 🔌 Usage
|
|
5919
|
+
|
|
5920
|
+
<dl>
|
|
5921
|
+
<dd>
|
|
5922
|
+
|
|
5923
|
+
<dl>
|
|
5924
|
+
<dd>
|
|
5925
|
+
|
|
5926
|
+
```typescript
|
|
5927
|
+
await client.harbors.listActionSourceConnections("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
5928
|
+
|
|
5929
|
+
```
|
|
5930
|
+
</dd>
|
|
5931
|
+
</dl>
|
|
5932
|
+
</dd>
|
|
5933
|
+
</dl>
|
|
5934
|
+
|
|
5935
|
+
#### ⚙️ Parameters
|
|
5936
|
+
|
|
5937
|
+
<dl>
|
|
5938
|
+
<dd>
|
|
5939
|
+
|
|
5940
|
+
<dl>
|
|
5941
|
+
<dd>
|
|
5942
|
+
|
|
5943
|
+
**harbor_id:** `string` — Unique identifier of the Harbor.
|
|
5944
|
+
|
|
5945
|
+
</dd>
|
|
5946
|
+
</dl>
|
|
5947
|
+
|
|
5948
|
+
<dl>
|
|
5949
|
+
<dd>
|
|
5950
|
+
|
|
5951
|
+
**requestOptions:** `HarborsClient.RequestOptions`
|
|
5952
|
+
|
|
5953
|
+
</dd>
|
|
5954
|
+
</dl>
|
|
5955
|
+
</dd>
|
|
5956
|
+
</dl>
|
|
5957
|
+
|
|
5958
|
+
|
|
5959
|
+
</dd>
|
|
5960
|
+
</dl>
|
|
5961
|
+
</details>
|
|
5962
|
+
|
|
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>
|
|
5964
|
+
<dl>
|
|
5965
|
+
<dd>
|
|
5966
|
+
|
|
5967
|
+
#### 📝 Description
|
|
5968
|
+
|
|
5969
|
+
<dl>
|
|
5970
|
+
<dd>
|
|
5971
|
+
|
|
5972
|
+
<dl>
|
|
5973
|
+
<dd>
|
|
5974
|
+
|
|
5975
|
+
Creates or replaces action grants for an eligible Harbor source Connection.
|
|
5976
|
+
|
|
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.
|
|
5981
|
+
|
|
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.
|
|
5985
|
+
|
|
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.
|
|
5998
|
+
</dd>
|
|
5999
|
+
</dl>
|
|
6000
|
+
</dd>
|
|
6001
|
+
</dl>
|
|
6002
|
+
|
|
6003
|
+
#### 🔌 Usage
|
|
6004
|
+
|
|
6005
|
+
<dl>
|
|
6006
|
+
<dd>
|
|
6007
|
+
|
|
6008
|
+
<dl>
|
|
6009
|
+
<dd>
|
|
6010
|
+
|
|
6011
|
+
```typescript
|
|
6012
|
+
await client.harbors.setActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
6013
|
+
|
|
6014
|
+
```
|
|
6015
|
+
</dd>
|
|
6016
|
+
</dl>
|
|
6017
|
+
</dd>
|
|
6018
|
+
</dl>
|
|
6019
|
+
|
|
6020
|
+
#### ⚙️ Parameters
|
|
6021
|
+
|
|
6022
|
+
<dl>
|
|
6023
|
+
<dd>
|
|
6024
|
+
|
|
6025
|
+
<dl>
|
|
6026
|
+
<dd>
|
|
6027
|
+
|
|
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`
|
|
6045
|
+
|
|
6046
|
+
</dd>
|
|
6047
|
+
</dl>
|
|
6048
|
+
|
|
6049
|
+
<dl>
|
|
6050
|
+
<dd>
|
|
6051
|
+
|
|
6052
|
+
**requestOptions:** `HarborsClient.IdempotentRequestOptions`
|
|
6053
|
+
|
|
6054
|
+
</dd>
|
|
6055
|
+
</dl>
|
|
6056
|
+
</dd>
|
|
6057
|
+
</dl>
|
|
6058
|
+
|
|
6059
|
+
|
|
6060
|
+
</dd>
|
|
6061
|
+
</dl>
|
|
6062
|
+
</details>
|
|
6063
|
+
|
|
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>
|
|
6065
|
+
<dl>
|
|
6066
|
+
<dd>
|
|
6067
|
+
|
|
6068
|
+
#### 📝 Description
|
|
6069
|
+
|
|
6070
|
+
<dl>
|
|
6071
|
+
<dd>
|
|
6072
|
+
|
|
6073
|
+
<dl>
|
|
6074
|
+
<dd>
|
|
6075
|
+
|
|
6076
|
+
Removes a Connection's action grants from a Harbor.
|
|
6077
|
+
|
|
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.
|
|
6088
|
+
</dd>
|
|
6089
|
+
</dl>
|
|
6090
|
+
</dd>
|
|
6091
|
+
</dl>
|
|
6092
|
+
|
|
6093
|
+
#### 🔌 Usage
|
|
6094
|
+
|
|
6095
|
+
<dl>
|
|
6096
|
+
<dd>
|
|
6097
|
+
|
|
6098
|
+
<dl>
|
|
6099
|
+
<dd>
|
|
6100
|
+
|
|
6101
|
+
```typescript
|
|
6102
|
+
await client.harbors.removeActionConfiguration("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
6103
|
+
expected_revision: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
6104
|
+
});
|
|
6105
|
+
|
|
6106
|
+
```
|
|
6107
|
+
</dd>
|
|
6108
|
+
</dl>
|
|
6109
|
+
</dd>
|
|
6110
|
+
</dl>
|
|
6111
|
+
|
|
6112
|
+
#### ⚙️ Parameters
|
|
6113
|
+
|
|
6114
|
+
<dl>
|
|
6115
|
+
<dd>
|
|
6116
|
+
|
|
6117
|
+
<dl>
|
|
6118
|
+
<dd>
|
|
6119
|
+
|
|
6120
|
+
**harbor_id:** `string` — Unique identifier of the Harbor.
|
|
6121
|
+
|
|
6122
|
+
</dd>
|
|
6123
|
+
</dl>
|
|
6124
|
+
|
|
6125
|
+
<dl>
|
|
6126
|
+
<dd>
|
|
6127
|
+
|
|
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`
|
|
6145
|
+
|
|
6146
|
+
</dd>
|
|
6147
|
+
</dl>
|
|
6148
|
+
</dd>
|
|
6149
|
+
</dl>
|
|
6150
|
+
|
|
6151
|
+
|
|
6152
|
+
</dd>
|
|
6153
|
+
</dl>
|
|
6154
|
+
</details>
|
|
6155
|
+
|
|
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>
|
|
6157
|
+
<dl>
|
|
6158
|
+
<dd>
|
|
6159
|
+
|
|
6160
|
+
#### 📝 Description
|
|
6161
|
+
|
|
6162
|
+
<dl>
|
|
6163
|
+
<dd>
|
|
6164
|
+
|
|
6165
|
+
<dl>
|
|
6166
|
+
<dd>
|
|
6167
|
+
|
|
6168
|
+
Lists available action schemas for an eligible Harbor source Connection.
|
|
6169
|
+
|
|
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.
|
|
6174
|
+
|
|
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.
|
|
6181
|
+
</dd>
|
|
6182
|
+
</dl>
|
|
6183
|
+
</dd>
|
|
6184
|
+
</dl>
|
|
6185
|
+
|
|
6186
|
+
#### 🔌 Usage
|
|
6187
|
+
|
|
6188
|
+
<dl>
|
|
6189
|
+
<dd>
|
|
6190
|
+
|
|
6191
|
+
<dl>
|
|
6192
|
+
<dd>
|
|
6193
|
+
|
|
6194
|
+
```typescript
|
|
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"
|
|
6199
|
+
});
|
|
6200
|
+
|
|
6201
|
+
```
|
|
6202
|
+
</dd>
|
|
6203
|
+
</dl>
|
|
6204
|
+
</dd>
|
|
6205
|
+
</dl>
|
|
6206
|
+
|
|
6207
|
+
#### ⚙️ Parameters
|
|
6208
|
+
|
|
6209
|
+
<dl>
|
|
6210
|
+
<dd>
|
|
6211
|
+
|
|
6212
|
+
<dl>
|
|
6213
|
+
<dd>
|
|
6214
|
+
|
|
6215
|
+
**harbor_id:** `string` — Unique identifier of the Harbor.
|
|
6216
|
+
|
|
6217
|
+
</dd>
|
|
6218
|
+
</dl>
|
|
6219
|
+
|
|
6220
|
+
<dl>
|
|
6221
|
+
<dd>
|
|
6222
|
+
|
|
6223
|
+
**connection_id:** `string` — Source Connection whose action grants you want to manage.
|
|
6224
|
+
|
|
6225
|
+
</dd>
|
|
6226
|
+
</dl>
|
|
6227
|
+
|
|
6228
|
+
<dl>
|
|
6229
|
+
<dd>
|
|
6230
|
+
|
|
6231
|
+
**request:** `Polytomic.HarborsListActionConfigurationSchemasRequest`
|
|
6232
|
+
|
|
6233
|
+
</dd>
|
|
6234
|
+
</dl>
|
|
6235
|
+
|
|
6236
|
+
<dl>
|
|
6237
|
+
<dd>
|
|
6238
|
+
|
|
6239
|
+
**requestOptions:** `HarborsClient.RequestOptions`
|
|
6240
|
+
|
|
6241
|
+
</dd>
|
|
6242
|
+
</dl>
|
|
6243
|
+
</dd>
|
|
6244
|
+
</dl>
|
|
6245
|
+
|
|
6246
|
+
|
|
6247
|
+
</dd>
|
|
6248
|
+
</dl>
|
|
6249
|
+
</details>
|
|
6250
|
+
|
|
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>
|
|
6252
|
+
<dl>
|
|
6253
|
+
<dd>
|
|
6254
|
+
|
|
6255
|
+
#### 📝 Description
|
|
6256
|
+
|
|
6257
|
+
<dl>
|
|
6258
|
+
<dd>
|
|
6259
|
+
|
|
6260
|
+
<dl>
|
|
6261
|
+
<dd>
|
|
6262
|
+
|
|
6263
|
+
Lists operations and configurable fields for an eligible Harbor action schema.
|
|
6264
|
+
|
|
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.
|
|
6269
|
+
|
|
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.
|
|
6277
|
+
</dd>
|
|
6278
|
+
</dl>
|
|
6279
|
+
</dd>
|
|
6280
|
+
</dl>
|
|
6281
|
+
|
|
6282
|
+
#### 🔌 Usage
|
|
6283
|
+
|
|
6284
|
+
<dl>
|
|
6285
|
+
<dd>
|
|
6286
|
+
|
|
6287
|
+
<dl>
|
|
6288
|
+
<dd>
|
|
6289
|
+
|
|
6290
|
+
```typescript
|
|
6291
|
+
await client.harbors.listActionConfigurationOperations("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id");
|
|
6292
|
+
|
|
6293
|
+
```
|
|
6294
|
+
</dd>
|
|
6295
|
+
</dl>
|
|
6296
|
+
</dd>
|
|
6297
|
+
</dl>
|
|
6298
|
+
|
|
6299
|
+
#### ⚙️ Parameters
|
|
6300
|
+
|
|
6301
|
+
<dl>
|
|
6302
|
+
<dd>
|
|
6303
|
+
|
|
6304
|
+
<dl>
|
|
6305
|
+
<dd>
|
|
6306
|
+
|
|
6307
|
+
**harbor_id:** `string` — Unique identifier of the Harbor.
|
|
6308
|
+
|
|
6309
|
+
</dd>
|
|
6310
|
+
</dl>
|
|
6311
|
+
|
|
6312
|
+
<dl>
|
|
6313
|
+
<dd>
|
|
6314
|
+
|
|
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`
|
|
6332
|
+
|
|
6333
|
+
</dd>
|
|
6334
|
+
</dl>
|
|
6335
|
+
</dd>
|
|
6336
|
+
</dl>
|
|
6337
|
+
|
|
6338
|
+
|
|
5596
6339
|
</dd>
|
|
5597
6340
|
</dl>
|
|
5598
6341
|
</details>
|
|
@@ -12539,7 +13282,7 @@ await client.bulkSync.schemas.update("248df4b7-aa70-47b8-a036-33ac447e668d", "co
|
|
|
12539
13282
|
<dl>
|
|
12540
13283
|
<dd>
|
|
12541
13284
|
|
|
12542
|
-
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.
|
|
12543
13286
|
|
|
12544
13287
|
Cancellation is asynchronous. A successful response means the cancellation
|
|
12545
13288
|
signal for this schema has been queued; the schema's in-flight work continues
|