polytomic 25.9.8 → 25.9.10

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 (141) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +21 -16
  4. package/api/resources/bulkSync/client/Client.d.ts +2 -0
  5. package/api/resources/bulkSync/client/Client.js +6 -0
  6. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +2 -0
  7. package/api/resources/connections/client/Client.d.ts +42 -0
  8. package/api/resources/connections/client/Client.js +42 -0
  9. package/api/resources/connections/resources/proxy/client/Client.d.ts +13 -0
  10. package/api/resources/connections/resources/proxy/client/Client.js +13 -0
  11. package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +42 -0
  12. package/api/resources/connections/resources/sharedConnections/client/Client.js +42 -0
  13. package/api/resources/harbors/client/Client.d.ts +38 -0
  14. package/api/resources/harbors/client/Client.js +94 -0
  15. package/api/resources/harbors/client/requests/RunHarborQueryRequest.d.ts +12 -0
  16. package/api/resources/harbors/client/requests/RunHarborQueryRequest.js +3 -0
  17. package/api/resources/harbors/client/requests/index.d.ts +1 -0
  18. package/api/resources/harbors/exports.d.ts +1 -0
  19. package/api/resources/harbors/exports.js +1 -0
  20. package/api/resources/harbors/index.d.ts +1 -0
  21. package/api/resources/harbors/index.js +1 -0
  22. package/api/resources/harbors/resources/actions/client/Client.d.ts +345 -0
  23. package/api/resources/harbors/resources/actions/client/Client.js +652 -0
  24. package/api/resources/harbors/resources/actions/client/index.d.ts +1 -0
  25. package/api/resources/harbors/resources/actions/client/index.js +17 -0
  26. package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +15 -0
  27. package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.js +3 -0
  28. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +8 -0
  29. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.js +3 -0
  30. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +17 -0
  31. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.js +3 -0
  32. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +12 -0
  33. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.js +3 -0
  34. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +23 -0
  35. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.js +3 -0
  36. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +24 -0
  37. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.js +3 -0
  38. package/api/resources/harbors/resources/actions/client/requests/index.d.ts +6 -0
  39. package/api/resources/harbors/resources/actions/client/requests/index.js +2 -0
  40. package/api/resources/harbors/resources/actions/exports.d.ts +2 -0
  41. package/api/resources/harbors/resources/actions/exports.js +21 -0
  42. package/api/resources/harbors/resources/actions/index.d.ts +1 -0
  43. package/api/resources/harbors/resources/actions/index.js +17 -0
  44. package/api/resources/harbors/resources/index.d.ts +2 -0
  45. package/api/resources/harbors/resources/index.js +41 -0
  46. package/api/resources/identity/client/Client.d.ts +1 -0
  47. package/api/resources/identity/client/Client.js +3 -0
  48. package/api/resources/index.d.ts +2 -0
  49. package/api/resources/index.js +3 -1
  50. package/api/resources/operations/client/Client.d.ts +102 -0
  51. package/api/resources/operations/client/Client.js +233 -0
  52. package/api/resources/operations/client/index.d.ts +1 -0
  53. package/api/resources/operations/client/index.js +17 -0
  54. package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +14 -0
  55. package/api/resources/operations/client/requests/SearchOperationsRequest.js +3 -0
  56. package/api/resources/operations/client/requests/index.d.ts +1 -0
  57. package/api/resources/operations/client/requests/index.js +2 -0
  58. package/api/resources/operations/exports.d.ts +2 -0
  59. package/api/resources/operations/exports.js +21 -0
  60. package/api/resources/operations/index.d.ts +1 -0
  61. package/api/resources/operations/index.js +17 -0
  62. package/api/resources/queryRunner/client/Client.d.ts +5 -3
  63. package/api/resources/queryRunner/client/Client.js +5 -3
  64. package/api/resources/temporaryCredentials/client/Client.d.ts +6 -6
  65. package/api/resources/temporaryCredentials/client/Client.js +6 -6
  66. package/api/resources/webhooks/client/Client.d.ts +32 -0
  67. package/api/resources/webhooks/client/Client.js +89 -0
  68. package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.d.ts +21 -0
  69. package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.js +3 -0
  70. package/api/resources/webhooks/client/requests/index.d.ts +1 -0
  71. package/api/types/ActionLookup.d.ts +4 -0
  72. package/api/types/ActionLookup.js +3 -0
  73. package/api/types/BulkSchema.d.ts +4 -0
  74. package/api/types/BulkSchemaListItem.d.ts +4 -0
  75. package/api/types/BulkSyncDest.d.ts +2 -0
  76. package/api/types/BulkSyncTargetMode.d.ts +1 -0
  77. package/api/types/BulkSyncTargetMode.js +1 -0
  78. package/api/types/CompletionValue.d.ts +6 -0
  79. package/api/types/CompletionValue.js +3 -0
  80. package/api/types/ConnectionProxyApi.d.ts +10 -0
  81. package/api/types/ConnectionProxyApi.js +3 -0
  82. package/api/types/ConnectionProxyCall.d.ts +3 -1
  83. package/api/types/ConnectionProxyInfoResponse.d.ts +2 -0
  84. package/api/types/ConnectionResponseSchema.d.ts +15 -0
  85. package/api/types/FieldConfiguration.d.ts +2 -0
  86. package/api/types/HarborActionCapability.d.ts +12 -0
  87. package/api/types/HarborActionCapability.js +3 -0
  88. package/api/types/HarborActionDescribeEnvelope.d.ts +4 -0
  89. package/api/types/HarborActionDescribeEnvelope.js +3 -0
  90. package/api/types/HarborActionExecutionEnvelope.d.ts +4 -0
  91. package/api/types/HarborActionExecutionEnvelope.js +3 -0
  92. package/api/types/HarborActionExecutionResponse.d.ts +28 -0
  93. package/api/types/HarborActionExecutionResponse.js +13 -0
  94. package/api/types/HarborActionField.d.ts +14 -0
  95. package/api/types/HarborActionField.js +3 -0
  96. package/api/types/HarborActionListEnvelope.d.ts +10 -0
  97. package/api/types/HarborActionListEnvelope.js +3 -0
  98. package/api/types/HarborActionLookupEnvelope.d.ts +4 -0
  99. package/api/types/HarborActionLookupEnvelope.js +3 -0
  100. package/api/types/HarborActionPreparation.d.ts +4 -0
  101. package/api/types/HarborActionPreparation.js +3 -0
  102. package/api/types/HarborActionPreparationEnvelope.d.ts +4 -0
  103. package/api/types/HarborActionPreparationEnvelope.js +3 -0
  104. package/api/types/HarborActionSummary.d.ts +7 -0
  105. package/api/types/HarborActionSummary.js +3 -0
  106. package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +7 -0
  107. package/api/types/IdentityCredentialHarborSchema.d.ts +2 -0
  108. package/api/types/OperationMatch.d.ts +16 -0
  109. package/api/types/OperationMatch.js +3 -0
  110. package/api/types/OperationSearchAvailabilityEnvelope.d.ts +11 -0
  111. package/api/types/OperationSearchAvailabilityEnvelope.js +3 -0
  112. package/api/types/OperationSearchRateLimit.d.ts +15 -0
  113. package/api/types/OperationSearchRateLimit.js +13 -0
  114. package/api/types/OperationSearchResult.d.ts +9 -0
  115. package/api/types/OperationSearchResult.js +3 -0
  116. package/api/types/PickValue.d.ts +2 -0
  117. package/api/types/SchemaConfiguration.d.ts +4 -0
  118. package/api/types/SchemaOperationIdempotency.d.ts +5 -0
  119. package/api/types/SchemaOperationIdempotency.js +3 -0
  120. package/api/types/SchemaRecord.d.ts +1 -0
  121. package/api/types/SchemaRecord.js +3 -0
  122. package/api/types/SearchOperationsEnvelope.d.ts +4 -0
  123. package/api/types/SearchOperationsEnvelope.js +3 -0
  124. package/api/types/SearchOperationsResponse.d.ts +7 -0
  125. package/api/types/SearchOperationsResponse.js +3 -0
  126. package/api/types/TargetField.d.ts +2 -0
  127. package/api/types/TemporaryCredentialSubject.d.ts +7 -7
  128. package/api/types/TemporaryCredentialSubject.js +3 -3
  129. package/api/types/TimeDuration.d.ts +1 -0
  130. package/api/types/TimeDuration.js +3 -0
  131. package/api/types/Webhook.d.ts +2 -0
  132. package/api/types/WebhookDeliveriesEnvelope.d.ts +5 -0
  133. package/api/types/WebhookDeliveriesEnvelope.js +3 -0
  134. package/api/types/WebhookDelivery.d.ts +13 -0
  135. package/api/types/WebhookDelivery.js +3 -0
  136. package/api/types/index.d.ts +24 -0
  137. package/api/types/index.js +24 -0
  138. package/package.json +1 -1
  139. package/reference.md +1156 -41
  140. package/version.d.ts +1 -1
  141. package/version.js +1 -1
@@ -1,10 +1,14 @@
1
1
  export interface BulkSchemaListItem {
2
2
  /** Per-schema cutoff. Records older than this timestamp are excluded from sync runs. */
3
3
  data_cutoff_timestamp?: string | undefined;
4
+ /** Name of the companion history table. Present only when history is enabled on a destination that supports it. */
5
+ destination_history_output_name?: string | undefined;
4
6
  /** When true, the sync ignores any configured data_cutoff_timestamp and syncs the full history of this schema. */
5
7
  disable_data_cutoff?: boolean | undefined;
6
8
  /** Whether this schema is included in sync runs. */
7
9
  enabled?: boolean | undefined;
10
+ /** Whether a companion history table is maintained beside this schema's output, recording every version observed on successive runs. */
11
+ history_enabled?: boolean | undefined;
8
12
  /** Source-side schema identifier (e.g. object name for SaaS sources, schema.table for databases). */
9
13
  id?: string | undefined;
10
14
  /** Effective name of the object written to the destination after any configured naming rules are applied. */
@@ -4,4 +4,6 @@ export interface BulkSyncDest {
4
4
  modes?: Polytomic.SupportedBulkMode[] | undefined;
5
5
  /** Resync modes supported by this destination (refetch, resync, rebuild). */
6
6
  supported_resync_modes?: Polytomic.BulkResyncMode[] | undefined;
7
+ /** True if this destination can maintain a companion history table per schema (history_enabled) in replicate mode. */
8
+ supports_history_mode?: boolean | undefined;
7
9
  }
@@ -1,5 +1,6 @@
1
1
  export declare const BulkSyncTargetMode: {
2
2
  readonly Snapshot: "snapshot";
3
3
  readonly Replicate: "replicate";
4
+ readonly Append: "append";
4
5
  };
5
6
  export type BulkSyncTargetMode = (typeof BulkSyncTargetMode)[keyof typeof BulkSyncTargetMode];
@@ -5,4 +5,5 @@ exports.BulkSyncTargetMode = void 0;
5
5
  exports.BulkSyncTargetMode = {
6
6
  Snapshot: "snapshot",
7
7
  Replicate: "replicate",
8
+ Append: "append",
8
9
  };
@@ -0,0 +1,6 @@
1
+ export interface CompletionValue {
2
+ depends_on?: Record<string, string> | undefined;
3
+ label?: string | undefined;
4
+ path?: string | undefined;
5
+ value?: unknown | 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,10 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface ConnectionProxyApi {
3
+ /** True for the API used when request.api is omitted. */
4
+ default?: boolean | undefined;
5
+ /** What this API is for. */
6
+ description?: string | undefined;
7
+ inheritedBase?: Polytomic.ConnectionProxyInheritedBase | undefined;
8
+ /** Identifier to pass as request.api to call this API. */
9
+ name?: string | undefined;
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 });
@@ -1,5 +1,7 @@
1
1
  export interface ConnectionProxyCall {
2
- /** Request body. May be a string, a JSON object, or null. */
2
+ /** Name of the upstream API to call, for connections that expose more than one (see apis in the proxy info response). Defaults to the connection's default API. */
3
+ api?: string | undefined;
4
+ /** Request body. May be a string, a JSON object, a JSON array, or null. */
3
5
  body?: unknown | undefined;
4
6
  /** Additional request headers to send upstream. Headers listed in the connection's blockedRequestHeaders are rejected, and inherited auth headers cannot be overridden. */
5
7
  headers?: Record<string, string> | undefined;
@@ -1,5 +1,7 @@
1
1
  import type * as Polytomic from "../index";
2
2
  export interface ConnectionProxyInfoResponse {
3
+ /** Upstream APIs this connection exposes through the proxy, when there is more than one. Select one by passing its name as request.api; requests without request.api use the default. */
4
+ apis?: Polytomic.ConnectionProxyApi[] | undefined;
3
5
  /** Connection backend identifier (e.g. hubspot, salesforce). */
4
6
  backendType?: string | undefined;
5
7
  /** Unique identifier of the connection the proxy contract applies to. */
@@ -11,6 +11,8 @@ export interface ConnectionResponseSchema {
11
11
  /** For shared connections, the ID of the parent connection. */
12
12
  parent_connection_id?: string | undefined;
13
13
  policies?: string[] | undefined;
14
+ /** Observed connection-wide rate limiting, independent of connection health. Null when any required lookup is unavailable. Shared connections combine their own marker with their root connection's marker. */
15
+ rate_limit?: ConnectionResponseSchema.RateLimit | undefined;
14
16
  saved?: boolean | undefined;
15
17
  status?: string | undefined;
16
18
  status_error?: string | undefined;
@@ -18,3 +20,16 @@ export interface ConnectionResponseSchema {
18
20
  updated_at?: string | undefined;
19
21
  updated_by?: Polytomic.OutputActor | undefined;
20
22
  }
23
+ export declare namespace ConnectionResponseSchema {
24
+ /**
25
+ * Observed connection-wide rate limiting, independent of connection health. Null when any required lookup is unavailable. Shared connections combine their own marker with their root connection's marker.
26
+ */
27
+ interface RateLimit {
28
+ /** Whether Polytomic has an unexpired connection-wide rate-limit marker. False means no active observed limit, not guaranteed upstream capacity. */
29
+ currently_limited?: boolean | undefined;
30
+ /** Marker expiry unless extended. Not a promised provider reset or exact retry time. Null when no active marker exists. */
31
+ expires_at?: string | undefined;
32
+ /** Start of the continuous rate-limited period. Null when no active marker exists. */
33
+ limited_since?: string | undefined;
34
+ }
35
+ }
@@ -4,4 +4,6 @@ export interface FieldConfiguration {
4
4
  id?: string | undefined;
5
5
  /** Whether the field should be obfuscated. */
6
6
  obfuscate?: boolean | undefined;
7
+ /** User-specified override for the destination field name. Omit to keep the current value; send an empty string to clear it. */
8
+ user_output_name?: string | undefined;
7
9
  }
@@ -0,0 +1,12 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionCapability {
3
+ description?: string | undefined;
4
+ effect?: string | undefined;
5
+ idempotency?: Polytomic.SchemaOperationIdempotency | undefined;
6
+ input_fields?: Polytomic.HarborActionField[] | undefined;
7
+ lookup_fields?: Polytomic.HarborActionField[] | undefined;
8
+ name?: string | undefined;
9
+ operation_id?: string | undefined;
10
+ output_fields?: Polytomic.HarborActionField[] | undefined;
11
+ schema_id?: string | undefined;
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,4 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionDescribeEnvelope {
3
+ data?: Polytomic.HarborActionCapability | 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,4 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionExecutionEnvelope {
3
+ data?: Polytomic.HarborActionExecutionResponse | 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,28 @@
1
+ export interface HarborActionExecutionResponse {
2
+ connection_id?: string | undefined;
3
+ /** Original credential attribution, including when another credential submits a duplicate. */
4
+ credential_id?: string | undefined;
5
+ deadline_at?: string | undefined;
6
+ execution_id?: string | undefined;
7
+ failure_category?: string | undefined;
8
+ /** Submitted field names only, never their values. */
9
+ field_ids?: string[] | undefined;
10
+ finished_at?: string | undefined;
11
+ lookup_field_id?: string | undefined;
12
+ operation_id?: string | undefined;
13
+ /** True when receipt persistence was interrupted or uncertain. Inspect status; this response does not confirm durable acceptance or completion. */
14
+ recovery_required?: boolean | undefined;
15
+ schema_id?: string | undefined;
16
+ started_at?: string | undefined;
17
+ status?: HarborActionExecutionResponse.Status | undefined;
18
+ status_path?: string | undefined;
19
+ }
20
+ export declare namespace HarborActionExecutionResponse {
21
+ const Status: {
22
+ readonly Executing: "executing";
23
+ readonly Succeeded: "succeeded";
24
+ readonly Failed: "failed";
25
+ readonly Unknown: "unknown";
26
+ };
27
+ type Status = (typeof Status)[keyof typeof Status];
28
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.HarborActionExecutionResponse = void 0;
5
+ var HarborActionExecutionResponse;
6
+ (function (HarborActionExecutionResponse) {
7
+ HarborActionExecutionResponse.Status = {
8
+ Executing: "executing",
9
+ Succeeded: "succeeded",
10
+ Failed: "failed",
11
+ Unknown: "unknown",
12
+ };
13
+ })(HarborActionExecutionResponse || (exports.HarborActionExecutionResponse = HarborActionExecutionResponse = {}));
@@ -0,0 +1,14 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionField {
3
+ definition?: Polytomic.TypesDefinition | undefined;
4
+ description?: string | undefined;
5
+ id?: string | undefined;
6
+ max_bytes?: number | undefined;
7
+ name?: string | undefined;
8
+ non_blank?: boolean | undefined;
9
+ nullable?: boolean | undefined;
10
+ pattern?: string | undefined;
11
+ required?: boolean | undefined;
12
+ type?: Polytomic.UtilFieldType | undefined;
13
+ values?: Polytomic.CompletionValue[] | undefined;
14
+ }
@@ -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
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionListEnvelope {
3
+ data?: Polytomic.HarborActionSummary[] | undefined;
4
+ pagination?: HarborActionListEnvelope.Pagination | undefined;
5
+ }
6
+ export declare namespace HarborActionListEnvelope {
7
+ interface Pagination {
8
+ next_page_token?: string | undefined;
9
+ }
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,4 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionLookupEnvelope {
3
+ data?: Polytomic.SchemaRecord | 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,4 @@
1
+ export interface HarborActionPreparation {
2
+ execution_id?: string | undefined;
3
+ expires_at?: string | 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,4 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface HarborActionPreparationEnvelope {
3
+ data?: Polytomic.HarborActionPreparation | 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,7 @@
1
+ export interface HarborActionSummary {
2
+ connection_id?: string | undefined;
3
+ connection_name?: string | undefined;
4
+ operation_id?: string | undefined;
5
+ schema_id?: string | undefined;
6
+ unavailable?: boolean | 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 });
@@ -1,4 +1,10 @@
1
1
  export interface HarboractivityapiHarborActivityMetadata {
2
+ action_enabled?: boolean | undefined;
3
+ action_field_ids?: string[] | undefined;
4
+ action_id?: string | undefined;
5
+ action_lookup_field_id?: string | undefined;
6
+ action_lookup_field_ids?: string[] | undefined;
7
+ action_request_id?: string | undefined;
2
8
  attempt_number?: number | undefined;
3
9
  category?: string | undefined;
4
10
  client_name?: string | undefined;
@@ -11,6 +17,7 @@ export interface HarboractivityapiHarborActivityMetadata {
11
17
  error_category?: string | undefined;
12
18
  execution_duration_ms?: number | undefined;
13
19
  external_run_id?: string | undefined;
20
+ failure_code?: string | undefined;
14
21
  /** Number of fields returned by a query. Raw field names are not returned. */
15
22
  field_count?: number | undefined;
16
23
  has_next_page?: boolean | undefined;
@@ -1,4 +1,6 @@
1
1
  export interface IdentityCredentialHarborSchema {
2
+ /** Whether the organization has the Harbor actions feature enabled. Controls action tool visibility in new MCP sessions; does not grant permission or indicate that an action is configured. */
3
+ actions_enabled?: boolean | undefined;
2
4
  /** Organization-provided summary of the Harbor. */
3
5
  description?: string | undefined;
4
6
  /** Immutable Harbor ID. */
@@ -0,0 +1,16 @@
1
+ export interface OperationMatch {
2
+ /** Authentication audience declared by the operation; a match does not grant access. */
3
+ authAudience?: string | undefined;
4
+ /** Stable METHOD and path identifier. */
5
+ id?: string | undefined;
6
+ /** HTTP method of the operation. */
7
+ method?: string | undefined;
8
+ /** JSON pointer into the public OpenAPI paths object. */
9
+ openapiPointer?: string | undefined;
10
+ /** Templated public API path. */
11
+ path?: string | undefined;
12
+ /** Relative probability of selection as the single best operation for this query, not an independent relevance score. */
13
+ selectionProbability?: number | undefined;
14
+ /** Short description of the operation. */
15
+ summary?: string | undefined;
16
+ }
@@ -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 OperationSearchAvailabilityEnvelope {
3
+ data?: OperationSearchAvailabilityEnvelope.Data | undefined;
4
+ }
5
+ export declare namespace OperationSearchAvailabilityEnvelope {
6
+ interface Data {
7
+ /** Whether operation search is configured on this API deployment. */
8
+ enabled: boolean;
9
+ rate_limited?: Polytomic.OperationSearchRateLimit | undefined;
10
+ }
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,15 @@
1
+ export interface OperationSearchRateLimit {
2
+ /** The exhausted question budget. */
3
+ reason: OperationSearchRateLimit.Reason;
4
+ /** UTC time when this exhausted budget resets. */
5
+ reset_at: string;
6
+ }
7
+ export declare namespace OperationSearchRateLimit {
8
+ /** The exhausted question budget. */
9
+ const Reason: {
10
+ readonly OrganizationMinuteLimit: "organization.minute.limit";
11
+ readonly OrganizationDailyLimit: "organization.daily.limit";
12
+ readonly GlobalMinuteLimit: "global.minute.limit";
13
+ };
14
+ type Reason = (typeof Reason)[keyof typeof Reason];
15
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.OperationSearchRateLimit = void 0;
5
+ var OperationSearchRateLimit;
6
+ (function (OperationSearchRateLimit) {
7
+ /** The exhausted question budget. */
8
+ OperationSearchRateLimit.Reason = {
9
+ OrganizationMinuteLimit: "organization.minute.limit",
10
+ OrganizationDailyLimit: "organization.daily.limit",
11
+ GlobalMinuteLimit: "global.minute.limit",
12
+ };
13
+ })(OperationSearchRateLimit || (exports.OperationSearchRateLimit = OperationSearchRateLimit = {}));
@@ -0,0 +1,9 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface OperationSearchResult {
3
+ /** Operations ranked by probability of being the single best choice for this task; empty when no match wins. */
4
+ matches?: Polytomic.OperationMatch[] | undefined;
5
+ /** Relative probability that none of the documented operations is the best choice. */
6
+ noMatchProbability?: number | undefined;
7
+ /** The trimmed input task. */
8
+ query?: string | undefined;
9
+ }
@@ -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,9 +7,13 @@ 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;
15
+ /** User-specified override for the destination object name. Omit to keep the current value; send an empty string to clear it. */
16
+ user_output_name?: string | undefined;
13
17
  }
14
18
  export declare namespace SchemaConfiguration {
15
19
  type Fields = Fields.Item[];
@@ -0,0 +1,5 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface SchemaOperationIdempotency {
3
+ retention_ns?: Polytomic.TimeDuration | undefined;
4
+ scope?: string | 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 @@
1
+ export type SchemaRecord = Record<string, unknown>;
@@ -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 SearchOperationsEnvelope {
3
+ data?: Polytomic.SearchOperationsResponse | 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,7 @@
1
+ import type * as Polytomic from "../index";
2
+ export interface SearchOperationsResponse {
3
+ /** Ranked results in the same order as the input queries. */
4
+ results?: Polytomic.OperationSearchResult[] | undefined;
5
+ /** SHA-256 digest of the OpenAPI-derived operation catalog source. */
6
+ sourceSha256?: string | 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 });
@@ -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
  }
@@ -1,26 +1,26 @@
1
1
  export interface TemporaryCredentialSubject {
2
- /** Authority mode for a user credential. Defaults to user. Profile subjects do not accept this field. */
2
+ /** Target Harbor for a Harbor credential. */
3
+ harbor_id?: string | undefined;
4
+ /** Authority mode for a user credential. Defaults to user. Harbor subjects do not accept this field. */
3
5
  mode?: TemporaryCredentialSubject.Mode | undefined;
4
6
  /** Target organization for broker-issued credentials. Omit when the caller's organization determines the target. */
5
7
  organization_id?: string | undefined;
6
- /** Target Agent Data profile for a profile credential. */
7
- profile_id?: string | undefined;
8
- /** Authority subject type. Use user for current user authority or profile for an Agent Data profile. */
8
+ /** Authority subject type. Use user for current user authority or harbor for a Harbor. */
9
9
  type: TemporaryCredentialSubject.Type;
10
10
  /** Target user for broker-issued user credentials. Omit for user self-issuance. */
11
11
  user_id?: string | undefined;
12
12
  }
13
13
  export declare namespace TemporaryCredentialSubject {
14
- /** Authority mode for a user credential. Defaults to user. Profile subjects do not accept this field. */
14
+ /** Authority mode for a user credential. Defaults to user. Harbor subjects do not accept this field. */
15
15
  const Mode: {
16
16
  readonly User: "user";
17
17
  readonly ReadOnly: "read_only";
18
18
  };
19
19
  type Mode = (typeof Mode)[keyof typeof Mode];
20
- /** Authority subject type. Use user for current user authority or profile for an Agent Data profile. */
20
+ /** Authority subject type. Use user for current user authority or harbor for a Harbor. */
21
21
  const Type: {
22
22
  readonly User: "user";
23
- readonly Profile: "profile";
23
+ readonly Harbor: "harbor";
24
24
  };
25
25
  type Type = (typeof Type)[keyof typeof Type];
26
26
  }
@@ -4,14 +4,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.TemporaryCredentialSubject = void 0;
5
5
  var TemporaryCredentialSubject;
6
6
  (function (TemporaryCredentialSubject) {
7
- /** Authority mode for a user credential. Defaults to user. Profile subjects do not accept this field. */
7
+ /** Authority mode for a user credential. Defaults to user. Harbor subjects do not accept this field. */
8
8
  TemporaryCredentialSubject.Mode = {
9
9
  User: "user",
10
10
  ReadOnly: "read_only",
11
11
  };
12
- /** Authority subject type. Use user for current user authority or profile for an Agent Data profile. */
12
+ /** Authority subject type. Use user for current user authority or harbor for a Harbor. */
13
13
  TemporaryCredentialSubject.Type = {
14
14
  User: "user",
15
- Profile: "profile",
15
+ Harbor: "harbor",
16
16
  };
17
17
  })(TemporaryCredentialSubject || (exports.TemporaryCredentialSubject = TemporaryCredentialSubject = {}));
@@ -0,0 +1 @@
1
+ export type TimeDuration = number;
@@ -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 Webhook {
2
2
  created_at?: string | undefined;
3
3
  disabled?: boolean | undefined;
4
+ disabled_at?: string | undefined;
5
+ disabled_reason?: string | undefined;
4
6
  endpoint?: string | undefined;
5
7
  id?: string | undefined;
6
8
  organization_id?: string | undefined;
@@ -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 });