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
@@ -0,0 +1,20 @@
1
+ export interface HarborActionConfigurationFieldResponse {
2
+ /** Field description. */
3
+ description?: string | undefined;
4
+ /** Stable configurable field ID. */
5
+ id?: string | undefined;
6
+ /** Maximum input size in bytes, when constrained. */
7
+ max_bytes?: number | undefined;
8
+ /** Field name. */
9
+ name?: string | undefined;
10
+ /** Whether a nonblank value is required. */
11
+ non_blank?: boolean | undefined;
12
+ /** Whether this input field accepts null. */
13
+ nullable?: boolean | undefined;
14
+ /** Validation pattern, when constrained. */
15
+ pattern?: string | undefined;
16
+ /** Whether the operation requires this input field. */
17
+ required?: boolean | undefined;
18
+ /** Scalar field type. */
19
+ type?: string | undefined;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface HarborActionConfigurationIdempotencyResponse {
2
+ /** Provider deduplication window in nanoseconds. */
3
+ retention_ns?: number | undefined;
4
+ /** Provider idempotency scope. */
5
+ scope?: string | undefined;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionConfigurationOperationResponse {
3
+ /** Operation description. */
4
+ description?: string | undefined;
5
+ /** Whether the operation changes records or only reads them. */
6
+ effect?: HarborActionConfigurationOperationResponse.Effect | undefined;
7
+ idempotency?: Polytomic.HarborActionConfigurationIdempotencyResponse | undefined;
8
+ /** Fields you can grant for a mutating operation. */
9
+ input_fields?: Polytomic.HarborActionConfigurationFieldResponse[] | undefined;
10
+ /** Lookup fields supported by this operation. */
11
+ lookup_fields?: Polytomic.HarborActionConfigurationFieldResponse[] | undefined;
12
+ /** Operation name. */
13
+ name?: string | undefined;
14
+ /** Stable operation ID. */
15
+ operation_id?: string | undefined;
16
+ /** Fields you can grant for a read-only operation. */
17
+ output_fields?: Polytomic.HarborActionConfigurationFieldResponse[] | undefined;
18
+ /** Action schema ID. */
19
+ schema_id?: string | undefined;
20
+ }
21
+ export declare namespace HarborActionConfigurationOperationResponse {
22
+ /** Whether the operation changes records or only reads them. */
23
+ const Effect: {
24
+ readonly Mutating: "mutating";
25
+ readonly ReadOnly: "read_only";
26
+ };
27
+ type Effect = (typeof Effect)[keyof typeof Effect];
28
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.HarborActionConfigurationOperationResponse = void 0;
5
+ var HarborActionConfigurationOperationResponse;
6
+ (function (HarborActionConfigurationOperationResponse) {
7
+ /** Whether the operation changes records or only reads them. */
8
+ HarborActionConfigurationOperationResponse.Effect = {
9
+ Mutating: "mutating",
10
+ ReadOnly: "read_only",
11
+ };
12
+ })(HarborActionConfigurationOperationResponse || (exports.HarborActionConfigurationOperationResponse = HarborActionConfigurationOperationResponse = {}));
@@ -0,0 +1,4 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionConfigurationOperationsEnvelope {
3
+ data?: Polytomic.HarborActionConfigurationOperationResponse[] | undefined;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionConfigurationResponse {
3
+ /** Configured source Connection ID, including sources no longer attached to the Harbor. */
4
+ connection_id?: string | undefined;
5
+ /** When these grants were first created. */
6
+ created_at?: string | undefined;
7
+ /** Configured action permissions. */
8
+ grants?: Polytomic.HarborActionGrantSchema[] | undefined;
9
+ /** Revision to supply when replacing or removing these grants. */
10
+ revision?: string | undefined;
11
+ /** When these grants were last replaced. */
12
+ updated_at?: string | undefined;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionConfigurationSchemasEnvelope {
3
+ data?: Polytomic.HarborActionSchemaResponse[] | undefined;
4
+ pagination?: Polytomic.PaginationDetails | undefined;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ export interface HarborActionGrantSchema {
2
+ /** Unique input field IDs for a mutating operation, or output field IDs for a read-only operation. */
3
+ field_ids?: string[] | undefined;
4
+ /** Unique lookup field IDs for a read-only operation. Omit for a mutating operation. */
5
+ lookup_field_ids?: string[] | undefined;
6
+ /** Exact operation ID from operation discovery. */
7
+ operation_id: string;
8
+ /** Exact action schema ID. */
9
+ schema_id: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface HarborActionSchemaResponse {
2
+ /** Stable action schema ID. */
3
+ id?: string | undefined;
4
+ /** Action schema name. */
5
+ name?: string | undefined;
6
+ /** Operation IDs advertised by the schema catalog. Operation discovery supplies the current configurable fields. */
7
+ operations?: string[] | undefined;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface HarborActionSourceConnectionResponse {
2
+ /** Connection backend type. */
3
+ connection_type?: string | undefined;
4
+ /** Eligible source Connection ID. */
5
+ id?: string | undefined;
6
+ /** Connection name. */
7
+ name?: string | undefined;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionSourceConnectionsEnvelope {
3
+ data?: Polytomic.HarborActionSourceConnectionResponse[] | undefined;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  import type * as Polytomic from "../index";
2
2
  export interface IdentityCredentialSchema {
3
3
  api_key_profile?: Polytomic.IdentityCredentialApiKeyProfileSchema | undefined;
4
+ /** Provider expiry of a temporary API key. */
5
+ expires_at?: string | undefined;
4
6
  harbor?: Polytomic.IdentityCredentialHarborSchema | undefined;
5
7
  /** Authentication method used for the request. */
6
8
  method?: string | undefined;
@@ -0,0 +1,15 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface ModelFieldSearchHit {
3
+ field_id: string;
4
+ field_label: string;
5
+ /** Source or technical field name. */
6
+ field_name: string;
7
+ links: Polytomic.SearchResultLinks;
8
+ /** Contributing attributes grouped by saved mapping context, with one group for resource metadata. */
9
+ matches?: Polytomic.SearchMatch[] | undefined;
10
+ model_connection_id: string;
11
+ model_connection_name: string;
12
+ model_connection_type: string;
13
+ model_id: string;
14
+ model_name: string;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface ModelSearchHit {
3
+ links: Polytomic.SearchResultLinks;
4
+ /** Contributing attributes grouped by saved mapping context, with one group for resource metadata. */
5
+ matches?: Polytomic.SearchMatch[] | undefined;
6
+ model_connection_id: string;
7
+ model_connection_name: string;
8
+ model_connection_type: string;
9
+ model_id: string;
10
+ model_name: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface ModelSyncSearchHit {
3
+ links: Polytomic.SearchResultLinks;
4
+ /** Contributing attributes grouped by saved mapping context, with one group for resource metadata. */
5
+ matches?: Polytomic.SearchMatch[] | undefined;
6
+ source_connections: Polytomic.ModelSyncSourceConnection[];
7
+ sync_id: string;
8
+ sync_name: string;
9
+ target_connection_id: string;
10
+ target_connection_name: string;
11
+ target_connection_type: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface ModelSyncSourceConnection {
2
+ connection_id: string;
3
+ connection_name: string;
4
+ connection_type: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,6 @@
1
1
  export interface PickValue {
2
+ /** Field IDs and internal values required for this option to apply. All entries must match. Omitted for independent options. */
3
+ depends_on?: Record<string, string> | undefined;
2
4
  label?: string | undefined;
3
5
  value?: string | undefined;
4
6
  }
@@ -7,6 +7,8 @@ export interface SchemaConfiguration {
7
7
  enabled?: boolean | undefined;
8
8
  fields?: SchemaConfiguration.Fields.Item[] | undefined;
9
9
  filters?: Polytomic.BulkFilter[] | undefined;
10
+ /** Whether a companion history table is maintained beside this schema's output, recording every version observed on successive runs. Requires a replicate-mode sync to a destination reporting supports_history_mode. Omit to keep the current value. */
11
+ history_enabled?: boolean | undefined;
10
12
  id?: string | undefined;
11
13
  partition_key?: string | undefined;
12
14
  tracking_field?: string | undefined;
@@ -0,0 +1,5 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface SearchEnvelope {
3
+ data?: Polytomic.SearchResultItem[] | undefined;
4
+ metadata?: Polytomic.SearchResultMetadata | undefined;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface SearchMatch {
3
+ /** Indexed attributes contributing to this result, with matching query terms. */
4
+ attributes?: Polytomic.SearchMatchAttribute[] | undefined;
5
+ mapping?: Polytomic.SearchMatchMapping | undefined;
6
+ schema?: Polytomic.SearchMatchSchema | undefined;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface SearchMatchAttribute {
2
+ /** Indexed attribute that matched a query term. */
3
+ attribute: string;
4
+ /** Unique normalized query terms matching word prefixes in this value. */
5
+ terms?: string[] | undefined;
6
+ /** Original indexed string, before tokenization and case normalization. */
7
+ value: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ export interface SearchMatchMapping {
2
+ kind: SearchMatchMapping.Kind;
3
+ source_field_id?: string | undefined;
4
+ source_field_label?: string | undefined;
5
+ source_field_name?: string | undefined;
6
+ source_model_id?: string | undefined;
7
+ source_model_name?: string | undefined;
8
+ target_field_id: string;
9
+ /** Target field name from stored schema metadata, when available. */
10
+ target_field_name?: string | undefined;
11
+ }
12
+ export declare namespace SearchMatchMapping {
13
+ const Kind: {
14
+ readonly Field: "field";
15
+ readonly PrimaryIdentity: "primary_identity";
16
+ readonly SecondaryIdentity: "secondary_identity";
17
+ };
18
+ type Kind = (typeof Kind)[keyof typeof Kind];
19
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SearchMatchMapping = void 0;
5
+ var SearchMatchMapping;
6
+ (function (SearchMatchMapping) {
7
+ SearchMatchMapping.Kind = {
8
+ Field: "field",
9
+ PrimaryIdentity: "primary_identity",
10
+ SecondaryIdentity: "secondary_identity",
11
+ };
12
+ })(SearchMatchMapping || (exports.SearchMatchMapping = SearchMatchMapping = {}));
@@ -0,0 +1,8 @@
1
+ export interface SearchMatchSchema {
2
+ /** Configured destination output name, when available. */
3
+ output_name?: string | undefined;
4
+ /** Saved source schema ID. */
5
+ schema_id: string;
6
+ /** Source schema display name from stored metadata, when available. */
7
+ schema_name?: string | undefined;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import type * as Polytomic from "../index";
2
+ export type SearchResultItem = Polytomic.SearchResultItem.Model | Polytomic.SearchResultItem.ModelField | Polytomic.SearchResultItem.ModelSync | Polytomic.SearchResultItem.BulkSync | Polytomic.SearchResultItem.Connection;
3
+ export declare namespace SearchResultItem {
4
+ interface Model extends Polytomic.ModelSearchHit {
5
+ type: "model";
6
+ }
7
+ interface ModelField extends Polytomic.ModelFieldSearchHit {
8
+ type: "model_field";
9
+ }
10
+ interface ModelSync extends Polytomic.ModelSyncSearchHit {
11
+ type: "model_sync";
12
+ }
13
+ interface BulkSync extends Polytomic.BulkSyncSearchHit {
14
+ type: "bulk_sync";
15
+ }
16
+ interface Connection extends Polytomic.ConnectionSearchHit {
17
+ type: "connection";
18
+ }
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export interface SearchResultLinks {
2
+ bulk_sync?: string | undefined;
3
+ connection?: string | undefined;
4
+ model?: string | undefined;
5
+ model_sync?: string | undefined;
6
+ source_connection?: string | undefined;
7
+ target_connection?: string | undefined;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface SearchResultMetadata {
2
+ /** False when the organization's published model-field count exceeds the hydration threshold (40,000). In that case model_field results cover a used-fields subset (unique fields and sync or relationship references), plus enrichment fields, rather than every published field. This flag does not limit saved Model Sync mapping search. */
3
+ model_fields_complete?: boolean | undefined;
4
+ /** True when more matches exist than were returned. Narrow the search term or increase limit (up to its maximum) to see more. */
5
+ truncated?: boolean | undefined;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,8 @@
1
1
  export interface SyncDestinationProperties {
2
2
  /** True if execution reports for this destination will not break record counts out by operation (insert vs. update); typical for upsert-only destinations. */
3
3
  does_not_report_operation_counts?: boolean | undefined;
4
+ /** How this destination can combine more than one identity mapping: 'priority', 'and', or both. Every combination is supported when empty. */
5
+ identity_logics?: string[] | undefined;
4
6
  /** True if a sync may be configured with only a target identity and no field mappings. */
5
7
  mappings_not_required?: boolean | undefined;
6
8
  /** Label to display when prompting for the name of a newly-created target (e.g. "Audience name", "Table name"). */
@@ -30,4 +30,6 @@ export interface TargetField {
30
30
  type?: string | undefined;
31
31
  /** True if this field can be written when updating an existing record. */
32
32
  updateable?: boolean | undefined;
33
+ /** Stored field options as value and label pairs. Use value when configuring mappings. Omitted when no options are available; enumeration fields may still omit options. */
34
+ values?: Polytomic.PickValue[] | undefined;
33
35
  }
@@ -0,0 +1,5 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface WebhookDeliveriesEnvelope {
3
+ data?: Polytomic.WebhookDelivery[] | undefined;
4
+ pagination?: Polytomic.PaginationDetails | undefined;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export interface WebhookDelivery {
2
+ attempted_at?: string | undefined;
3
+ duration_ms?: number | undefined;
4
+ error?: string | undefined;
5
+ error_kind?: string | undefined;
6
+ event_id?: string | undefined;
7
+ event_type?: string | undefined;
8
+ id?: string | undefined;
9
+ /** Response content returned by the webhook endpoint. */
10
+ response_body?: string | undefined;
11
+ status_code?: number | undefined;
12
+ success?: boolean | undefined;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -42,6 +42,7 @@ export * from "./BulkSyncResponseEnvelope";
42
42
  export * from "./BulkSyncScheduleApi";
43
43
  export * from "./BulkSyncSchemaExecution";
44
44
  export * from "./BulkSyncSchemaExecutionStatus";
45
+ export * from "./BulkSyncSearchHit";
45
46
  export * from "./BulkSyncSource";
46
47
  export * from "./BulkSyncSourceCapabilities";
47
48
  export * from "./BulkSyncSourceEnvelope";
@@ -67,6 +68,7 @@ export * from "./ConnectionListResponseEnvelope";
67
68
  export * from "./ConnectionParameterValue";
68
69
  export * from "./ConnectionParameterValuesResp";
69
70
  export * from "./ConnectionParameterValuesResponseEnvelope";
71
+ export * from "./ConnectionProxyApi";
70
72
  export * from "./ConnectionProxyCall";
71
73
  export * from "./ConnectionProxyContract";
72
74
  export * from "./ConnectionProxyInfoResponse";
@@ -79,6 +81,7 @@ export * from "./ConnectionProxySettingsResponse";
79
81
  export * from "./ConnectionProxyStats";
80
82
  export * from "./ConnectionResponseEnvelope";
81
83
  export * from "./ConnectionResponseSchema";
84
+ export * from "./ConnectionSearchHit";
82
85
  export * from "./ConnectionType";
83
86
  export * from "./ConnectionTypeResponseEnvelope";
84
87
  export * from "./ConnectionTypeSchema";
@@ -153,14 +156,25 @@ export * from "./GetRecordViewCapabilitiesEnvelope";
153
156
  export * from "./GetSyncSourceMetaEnvelope";
154
157
  export * from "./GlobalErrorSubscribersResponse";
155
158
  export * from "./HarborActionCapability";
159
+ export * from "./HarborActionConfigurationEnvelope";
160
+ export * from "./HarborActionConfigurationFieldResponse";
161
+ export * from "./HarborActionConfigurationIdempotencyResponse";
162
+ export * from "./HarborActionConfigurationOperationResponse";
163
+ export * from "./HarborActionConfigurationOperationsEnvelope";
164
+ export * from "./HarborActionConfigurationResponse";
165
+ export * from "./HarborActionConfigurationSchemasEnvelope";
156
166
  export * from "./HarborActionDescribeEnvelope";
157
167
  export * from "./HarborActionExecutionEnvelope";
158
168
  export * from "./HarborActionExecutionResponse";
159
169
  export * from "./HarborActionField";
170
+ export * from "./HarborActionGrantSchema";
160
171
  export * from "./HarborActionListEnvelope";
161
172
  export * from "./HarborActionLookupEnvelope";
162
173
  export * from "./HarborActionPreparation";
163
174
  export * from "./HarborActionPreparationEnvelope";
175
+ export * from "./HarborActionSchemaResponse";
176
+ export * from "./HarborActionSourceConnectionResponse";
177
+ export * from "./HarborActionSourceConnectionsEnvelope";
164
178
  export * from "./HarborActionSummary";
165
179
  export * from "./HarborActivityEventEnvelope";
166
180
  export * from "./HarborActivityListEnvelope";
@@ -245,6 +259,7 @@ export * from "./LogsIndexResponseEnvelope";
245
259
  export * from "./Mode";
246
260
  export * from "./ModelField";
247
261
  export * from "./ModelFieldResponse";
262
+ export * from "./ModelFieldSearchHit";
248
263
  export * from "./ModelFilterCondition";
249
264
  export * from "./ModelFilters";
250
265
  export * from "./ModelListResponseEnvelope";
@@ -255,8 +270,11 @@ export * from "./ModelResponse";
255
270
  export * from "./ModelResponseEnvelope";
256
271
  export * from "./ModelSample";
257
272
  export * from "./ModelSampleResponseEnvelope";
273
+ export * from "./ModelSearchHit";
258
274
  export * from "./ModelSyncIdentities";
259
275
  export * from "./ModelSyncProblem";
276
+ export * from "./ModelSyncSearchHit";
277
+ export * from "./ModelSyncSourceConnection";
260
278
  export * from "./ModelSyncSourceIdentity";
261
279
  export * from "./ModelSyncV5Response";
262
280
  export * from "./ModelSyncV5ResponseEnvelope";
@@ -315,8 +333,16 @@ export * from "./SchemaOperationIdempotency";
315
333
  export * from "./SchemaPrimaryKeyOverrideInput";
316
334
  export * from "./SchemaRecord";
317
335
  export * from "./SchemaRecordsResponseEnvelope";
336
+ export * from "./SearchEnvelope";
337
+ export * from "./SearchMatch";
338
+ export * from "./SearchMatchAttribute";
339
+ export * from "./SearchMatchMapping";
340
+ export * from "./SearchMatchSchema";
318
341
  export * from "./SearchOperationsEnvelope";
319
342
  export * from "./SearchOperationsResponse";
343
+ export * from "./SearchResultItem";
344
+ export * from "./SearchResultLinks";
345
+ export * from "./SearchResultMetadata";
320
346
  export * from "./Source";
321
347
  export * from "./SourceMeta";
322
348
  export * from "./StartSyncResponseEnvelope";
@@ -357,6 +383,8 @@ export * from "./UtilEnumValue";
357
383
  export * from "./UtilExecutionStatus";
358
384
  export * from "./UtilFieldType";
359
385
  export * from "./Webhook";
386
+ export * from "./WebhookDeliveriesEnvelope";
387
+ export * from "./WebhookDelivery";
360
388
  export * from "./WebhookEnvelope";
361
389
  export * from "./WebhookListEnvelope";
362
390
  export * from "./WorkTaskStatus";