polytomic 25.9.8 → 25.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/BaseClient.js +2 -2
  2. package/Client.d.ts +3 -0
  3. package/Client.js +21 -16
  4. package/api/resources/bulkSync/client/Client.d.ts +2 -0
  5. package/api/resources/bulkSync/client/Client.js +6 -0
  6. package/api/resources/connections/client/Client.d.ts +42 -0
  7. package/api/resources/connections/client/Client.js +42 -0
  8. package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +42 -0
  9. package/api/resources/connections/resources/sharedConnections/client/Client.js +42 -0
  10. package/api/resources/harbors/client/Client.d.ts +3 -0
  11. package/api/resources/harbors/client/Client.js +5 -0
  12. package/api/resources/harbors/exports.d.ts +1 -0
  13. package/api/resources/harbors/exports.js +1 -0
  14. package/api/resources/harbors/index.d.ts +1 -0
  15. package/api/resources/harbors/index.js +1 -0
  16. package/api/resources/harbors/resources/actions/client/Client.d.ts +345 -0
  17. package/api/resources/harbors/resources/actions/client/Client.js +652 -0
  18. package/api/resources/harbors/resources/actions/client/index.d.ts +1 -0
  19. package/api/resources/harbors/resources/actions/client/index.js +17 -0
  20. package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +15 -0
  21. package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.js +3 -0
  22. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +8 -0
  23. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.js +3 -0
  24. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +17 -0
  25. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.js +3 -0
  26. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +12 -0
  27. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.js +3 -0
  28. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +23 -0
  29. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.js +3 -0
  30. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +24 -0
  31. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.js +3 -0
  32. package/api/resources/harbors/resources/actions/client/requests/index.d.ts +6 -0
  33. package/api/resources/harbors/resources/actions/client/requests/index.js +2 -0
  34. package/api/resources/harbors/resources/actions/exports.d.ts +2 -0
  35. package/api/resources/harbors/resources/actions/exports.js +21 -0
  36. package/api/resources/harbors/resources/actions/index.d.ts +1 -0
  37. package/api/resources/harbors/resources/actions/index.js +17 -0
  38. package/api/resources/harbors/resources/index.d.ts +2 -0
  39. package/api/resources/harbors/resources/index.js +41 -0
  40. package/api/resources/index.d.ts +2 -0
  41. package/api/resources/index.js +3 -1
  42. package/api/resources/operations/client/Client.d.ts +102 -0
  43. package/api/resources/operations/client/Client.js +233 -0
  44. package/api/resources/operations/client/index.d.ts +1 -0
  45. package/api/resources/operations/client/index.js +17 -0
  46. package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +14 -0
  47. package/api/resources/operations/client/requests/SearchOperationsRequest.js +3 -0
  48. package/api/resources/operations/client/requests/index.d.ts +1 -0
  49. package/api/resources/operations/client/requests/index.js +2 -0
  50. package/api/resources/operations/exports.d.ts +2 -0
  51. package/api/resources/operations/exports.js +21 -0
  52. package/api/resources/operations/index.d.ts +1 -0
  53. package/api/resources/operations/index.js +17 -0
  54. package/api/resources/temporaryCredentials/client/Client.d.ts +6 -6
  55. package/api/resources/temporaryCredentials/client/Client.js +6 -6
  56. package/api/types/ActionLookup.d.ts +4 -0
  57. package/api/types/ActionLookup.js +3 -0
  58. package/api/types/CompletionValue.d.ts +5 -0
  59. package/api/types/CompletionValue.js +3 -0
  60. package/api/types/ConnectionResponseSchema.d.ts +15 -0
  61. package/api/types/FieldConfiguration.d.ts +2 -0
  62. package/api/types/HarborActionCapability.d.ts +12 -0
  63. package/api/types/HarborActionCapability.js +3 -0
  64. package/api/types/HarborActionDescribeEnvelope.d.ts +4 -0
  65. package/api/types/HarborActionDescribeEnvelope.js +3 -0
  66. package/api/types/HarborActionExecutionEnvelope.d.ts +4 -0
  67. package/api/types/HarborActionExecutionEnvelope.js +3 -0
  68. package/api/types/HarborActionExecutionResponse.d.ts +28 -0
  69. package/api/types/HarborActionExecutionResponse.js +13 -0
  70. package/api/types/HarborActionField.d.ts +14 -0
  71. package/api/types/HarborActionField.js +3 -0
  72. package/api/types/HarborActionListEnvelope.d.ts +10 -0
  73. package/api/types/HarborActionListEnvelope.js +3 -0
  74. package/api/types/HarborActionLookupEnvelope.d.ts +4 -0
  75. package/api/types/HarborActionLookupEnvelope.js +3 -0
  76. package/api/types/HarborActionPreparation.d.ts +4 -0
  77. package/api/types/HarborActionPreparation.js +3 -0
  78. package/api/types/HarborActionPreparationEnvelope.d.ts +4 -0
  79. package/api/types/HarborActionPreparationEnvelope.js +3 -0
  80. package/api/types/HarborActionSummary.d.ts +7 -0
  81. package/api/types/HarborActionSummary.js +3 -0
  82. package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +7 -0
  83. package/api/types/IdentityCredentialHarborSchema.d.ts +2 -0
  84. package/api/types/OperationMatch.d.ts +16 -0
  85. package/api/types/OperationMatch.js +3 -0
  86. package/api/types/OperationSearchAvailabilityEnvelope.d.ts +11 -0
  87. package/api/types/OperationSearchAvailabilityEnvelope.js +3 -0
  88. package/api/types/OperationSearchRateLimit.d.ts +15 -0
  89. package/api/types/OperationSearchRateLimit.js +13 -0
  90. package/api/types/OperationSearchResult.d.ts +9 -0
  91. package/api/types/OperationSearchResult.js +3 -0
  92. package/api/types/SchemaConfiguration.d.ts +2 -0
  93. package/api/types/SchemaOperationIdempotency.d.ts +5 -0
  94. package/api/types/SchemaOperationIdempotency.js +3 -0
  95. package/api/types/SchemaRecord.d.ts +1 -0
  96. package/api/types/SchemaRecord.js +3 -0
  97. package/api/types/SearchOperationsEnvelope.d.ts +4 -0
  98. package/api/types/SearchOperationsEnvelope.js +3 -0
  99. package/api/types/SearchOperationsResponse.d.ts +7 -0
  100. package/api/types/SearchOperationsResponse.js +3 -0
  101. package/api/types/TemporaryCredentialSubject.d.ts +7 -7
  102. package/api/types/TemporaryCredentialSubject.js +3 -3
  103. package/api/types/TimeDuration.d.ts +1 -0
  104. package/api/types/TimeDuration.js +3 -0
  105. package/api/types/Webhook.d.ts +2 -0
  106. package/api/types/index.d.ts +21 -0
  107. package/api/types/index.js +21 -0
  108. package/package.json +1 -1
  109. package/reference.md +938 -6
  110. package/version.d.ts +1 -1
  111. package/version.js +1 -1
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * queries: ["queries"]
5
+ * }
6
+ */
7
+ export interface SearchOperationsRequest {
8
+ /** Maximum operations per task, from 1 to 10; defaults to 5. */
9
+ limit?: number;
10
+ /** Optional nonempty list of unique stable operation IDs to rank; omitted to rank the full catalog. */
11
+ operationIds?: string[];
12
+ /** One to three plain-language tasks to find API operations for. */
13
+ queries: string[];
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 @@
1
+ export type { SearchOperationsRequest } from "./SearchOperationsRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { OperationsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.OperationsClient = void 0;
19
+ var Client_1 = require("./client/Client");
20
+ Object.defineProperty(exports, "OperationsClient", { enumerable: true, get: function () { return Client_1.OperationsClient; } });
21
+ __exportStar(require("./client/index"), exports);
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -13,7 +13,7 @@ export declare class TemporaryCredentialsClient {
13
13
  protected readonly _options: NormalizedClientOptionsWithAuth<TemporaryCredentialsClient.Options>;
14
14
  constructor(options?: TemporaryCredentialsClient.Options);
15
15
  /**
16
- * Issues a non-renewable credential with a bounded lifetime for a user or Agent Data profile.
16
+ * Issues a non-renewable credential with a bounded lifetime for a user or Harbor.
17
17
  *
18
18
  * The response contains the credential secret once. Store it securely and send it
19
19
  * as a Bearer token in the `Authorization` header.
@@ -26,17 +26,17 @@ export declare class TemporaryCredentialsClient {
26
26
  *
27
27
  * Partner callers must provide both `organization_id` and `user_id`. The target
28
28
  * must be an active user in an organization owned by the partner. User subjects
29
- * must be application users; Agent Data portal-only users continue to use profile
29
+ * must be application users; Harbor-only users continue to use Harbor
30
30
  * credentials.
31
31
  *
32
32
  * User credentials resolve the subject's current permissions on every request.
33
33
  * Permission changes take effect immediately, and deleting the user invalidates
34
34
  * the credential.
35
35
  *
36
- * Set `subject.type` to `profile` and provide the Agent Data profile ID. The
37
- * credential uses the profile's current connection access on every request;
38
- * changes take effect immediately, and deleting the profile invalidates the
39
- * credential.
36
+ * Set `subject.type` to `harbor` and provide the Harbor ID in `harbor_id`. The
37
+ * credential uses the Harbor's current connection access on every request;
38
+ * changes take effect immediately. Missing and deleted Harbors cannot be
39
+ * targeted.
40
40
  *
41
41
  * A temporary credential stops authenticating at `expires_at`. It cannot be
42
42
  * refreshed, extended, or used to create another temporary credential. Create a
@@ -57,7 +57,7 @@ class TemporaryCredentialsClient {
57
57
  this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
58
58
  }
59
59
  /**
60
- * Issues a non-renewable credential with a bounded lifetime for a user or Agent Data profile.
60
+ * Issues a non-renewable credential with a bounded lifetime for a user or Harbor.
61
61
  *
62
62
  * The response contains the credential secret once. Store it securely and send it
63
63
  * as a Bearer token in the `Authorization` header.
@@ -70,17 +70,17 @@ class TemporaryCredentialsClient {
70
70
  *
71
71
  * Partner callers must provide both `organization_id` and `user_id`. The target
72
72
  * must be an active user in an organization owned by the partner. User subjects
73
- * must be application users; Agent Data portal-only users continue to use profile
73
+ * must be application users; Harbor-only users continue to use Harbor
74
74
  * credentials.
75
75
  *
76
76
  * User credentials resolve the subject's current permissions on every request.
77
77
  * Permission changes take effect immediately, and deleting the user invalidates
78
78
  * the credential.
79
79
  *
80
- * Set `subject.type` to `profile` and provide the Agent Data profile ID. The
81
- * credential uses the profile's current connection access on every request;
82
- * changes take effect immediately, and deleting the profile invalidates the
83
- * credential.
80
+ * Set `subject.type` to `harbor` and provide the Harbor ID in `harbor_id`. The
81
+ * credential uses the Harbor's current connection access on every request;
82
+ * changes take effect immediately. Missing and deleted Harbors cannot be
83
+ * targeted.
84
84
  *
85
85
  * A temporary credential stops authenticating at `expires_at`. It cannot be
86
86
  * refreshed, extended, or used to create another temporary credential. Create a
@@ -0,0 +1,4 @@
1
+ export interface ActionLookup {
2
+ field_id?: string | undefined;
3
+ value?: unknown | 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,5 @@
1
+ export interface CompletionValue {
2
+ label?: string | undefined;
3
+ path?: string | undefined;
4
+ value?: unknown | 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 });
@@ -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 });
@@ -10,6 +10,8 @@ export interface SchemaConfiguration {
10
10
  id?: string | undefined;
11
11
  partition_key?: string | undefined;
12
12
  tracking_field?: string | undefined;
13
+ /** User-specified override for the destination object name. Omit to keep the current value; send an empty string to clear it. */
14
+ user_output_name?: string | undefined;
13
15
  }
14
16
  export declare namespace SchemaConfiguration {
15
17
  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 });
@@ -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;