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.
- package/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +21 -16
- package/api/resources/bulkSync/client/Client.d.ts +2 -0
- package/api/resources/bulkSync/client/Client.js +6 -0
- package/api/resources/connections/client/Client.d.ts +42 -0
- package/api/resources/connections/client/Client.js +42 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +42 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.js +42 -0
- package/api/resources/harbors/client/Client.d.ts +3 -0
- package/api/resources/harbors/client/Client.js +5 -0
- package/api/resources/harbors/exports.d.ts +1 -0
- package/api/resources/harbors/exports.js +1 -0
- package/api/resources/harbors/index.d.ts +1 -0
- package/api/resources/harbors/index.js +1 -0
- package/api/resources/harbors/resources/actions/client/Client.d.ts +345 -0
- package/api/resources/harbors/resources/actions/client/Client.js +652 -0
- package/api/resources/harbors/resources/actions/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/actions/client/index.js +17 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +15 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.js +3 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +8 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.js +3 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +17 -0
- package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.js +3 -0
- package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +12 -0
- package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.js +3 -0
- package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +23 -0
- package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.js +3 -0
- package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +24 -0
- package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.js +3 -0
- package/api/resources/harbors/resources/actions/client/requests/index.d.ts +6 -0
- package/api/resources/harbors/resources/actions/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/actions/exports.d.ts +2 -0
- package/api/resources/harbors/resources/actions/exports.js +21 -0
- package/api/resources/harbors/resources/actions/index.d.ts +1 -0
- package/api/resources/harbors/resources/actions/index.js +17 -0
- package/api/resources/harbors/resources/index.d.ts +2 -0
- package/api/resources/harbors/resources/index.js +41 -0
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/operations/client/Client.d.ts +102 -0
- package/api/resources/operations/client/Client.js +233 -0
- package/api/resources/operations/client/index.d.ts +1 -0
- package/api/resources/operations/client/index.js +17 -0
- package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +14 -0
- package/api/resources/operations/client/requests/SearchOperationsRequest.js +3 -0
- package/api/resources/operations/client/requests/index.d.ts +1 -0
- package/api/resources/operations/client/requests/index.js +2 -0
- package/api/resources/operations/exports.d.ts +2 -0
- package/api/resources/operations/exports.js +21 -0
- package/api/resources/operations/index.d.ts +1 -0
- package/api/resources/operations/index.js +17 -0
- package/api/resources/temporaryCredentials/client/Client.d.ts +6 -6
- package/api/resources/temporaryCredentials/client/Client.js +6 -6
- package/api/types/ActionLookup.d.ts +4 -0
- package/api/types/ActionLookup.js +3 -0
- package/api/types/CompletionValue.d.ts +5 -0
- package/api/types/CompletionValue.js +3 -0
- package/api/types/ConnectionResponseSchema.d.ts +15 -0
- package/api/types/FieldConfiguration.d.ts +2 -0
- package/api/types/HarborActionCapability.d.ts +12 -0
- package/api/types/HarborActionCapability.js +3 -0
- package/api/types/HarborActionDescribeEnvelope.d.ts +4 -0
- package/api/types/HarborActionDescribeEnvelope.js +3 -0
- package/api/types/HarborActionExecutionEnvelope.d.ts +4 -0
- package/api/types/HarborActionExecutionEnvelope.js +3 -0
- package/api/types/HarborActionExecutionResponse.d.ts +28 -0
- package/api/types/HarborActionExecutionResponse.js +13 -0
- package/api/types/HarborActionField.d.ts +14 -0
- package/api/types/HarborActionField.js +3 -0
- package/api/types/HarborActionListEnvelope.d.ts +10 -0
- package/api/types/HarborActionListEnvelope.js +3 -0
- package/api/types/HarborActionLookupEnvelope.d.ts +4 -0
- package/api/types/HarborActionLookupEnvelope.js +3 -0
- package/api/types/HarborActionPreparation.d.ts +4 -0
- package/api/types/HarborActionPreparation.js +3 -0
- package/api/types/HarborActionPreparationEnvelope.d.ts +4 -0
- package/api/types/HarborActionPreparationEnvelope.js +3 -0
- package/api/types/HarborActionSummary.d.ts +7 -0
- package/api/types/HarborActionSummary.js +3 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +7 -0
- package/api/types/IdentityCredentialHarborSchema.d.ts +2 -0
- package/api/types/OperationMatch.d.ts +16 -0
- package/api/types/OperationMatch.js +3 -0
- package/api/types/OperationSearchAvailabilityEnvelope.d.ts +11 -0
- package/api/types/OperationSearchAvailabilityEnvelope.js +3 -0
- package/api/types/OperationSearchRateLimit.d.ts +15 -0
- package/api/types/OperationSearchRateLimit.js +13 -0
- package/api/types/OperationSearchResult.d.ts +9 -0
- package/api/types/OperationSearchResult.js +3 -0
- package/api/types/SchemaConfiguration.d.ts +2 -0
- package/api/types/SchemaOperationIdempotency.d.ts +5 -0
- package/api/types/SchemaOperationIdempotency.js +3 -0
- package/api/types/SchemaRecord.d.ts +1 -0
- package/api/types/SchemaRecord.js +3 -0
- package/api/types/SearchOperationsEnvelope.d.ts +4 -0
- package/api/types/SearchOperationsEnvelope.js +3 -0
- package/api/types/SearchOperationsResponse.d.ts +7 -0
- package/api/types/SearchOperationsResponse.js +3 -0
- package/api/types/TemporaryCredentialSubject.d.ts +7 -7
- package/api/types/TemporaryCredentialSubject.js +3 -3
- package/api/types/TimeDuration.d.ts +1 -0
- package/api/types/TimeDuration.js +3 -0
- package/api/types/Webhook.d.ts +2 -0
- package/api/types/index.d.ts +21 -0
- package/api/types/index.js +21 -0
- package/package.json +1 -1
- package/reference.md +938 -6
- package/version.d.ts +1 -1
- 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 @@
|
|
|
1
|
+
export type { SearchOperationsRequest } from "./SearchOperationsRequest";
|
|
@@ -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
|
|
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;
|
|
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 `
|
|
37
|
-
* credential uses the
|
|
38
|
-
* changes take effect immediately
|
|
39
|
-
*
|
|
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
|
|
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;
|
|
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 `
|
|
81
|
-
* credential uses the
|
|
82
|
-
* changes take effect immediately
|
|
83
|
-
*
|
|
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
|
|
@@ -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,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,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
|
+
}
|
|
@@ -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,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,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
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
export type SchemaRecord = Record<string, unknown>;
|
|
@@ -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
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export interface TemporaryCredentialSubject {
|
|
2
|
-
/**
|
|
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
|
-
/**
|
|
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.
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
12
|
+
/** Authority subject type. Use user for current user authority or harbor for a Harbor. */
|
|
13
13
|
TemporaryCredentialSubject.Type = {
|
|
14
14
|
User: "user",
|
|
15
|
-
|
|
15
|
+
Harbor: "harbor",
|
|
16
16
|
};
|
|
17
17
|
})(TemporaryCredentialSubject || (exports.TemporaryCredentialSubject = TemporaryCredentialSubject = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TimeDuration = number;
|