@rivetkit/engine-api-full 2.3.30 → 3.0.0-preview.2
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/dist/browser/cjs/index.js +322 -1077
- package/dist/browser/cjs/serialization.js +93 -379
- package/dist/browser/esm/index.js +322 -1077
- package/dist/browser/esm/serialization.js +93 -379
- package/dist/node/cjs/index.js +322 -1077
- package/dist/node/cjs/serialization.js +103 -421
- package/dist/node/esm/index.js +322 -1077
- package/dist/node/esm/serialization.js +93 -379
- package/package.json +2 -1
- package/types/Client.d.ts +7 -91
- package/types/api/client/requests/ActorsCreateRequest.d.ts +3 -7
- package/types/api/client/requests/ActorsDeleteRequest.d.ts +1 -1
- package/types/api/client/requests/ActorsGetOrCreateRequest.d.ts +4 -8
- package/types/api/client/requests/ActorsGetRequest.d.ts +3 -0
- package/types/api/client/requests/ActorsListNamesRequest.d.ts +1 -1
- package/types/api/client/requests/ActorsListRequest.d.ts +2 -5
- package/types/api/client/requests/ActorsRescheduleRequest.d.ts +1 -5
- package/types/api/client/requests/ActorsSleepRequest.d.ts +1 -5
- package/types/api/client/requests/index.d.ts +1 -6
- package/types/api/resources/authTokens/client/Client.d.ts +0 -20
- package/types/api/resources/authTokens/client/index.d.ts +1 -0
- package/types/api/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +5 -1
- package/types/api/resources/index.d.ts +2 -5
- package/types/api/resources/namespaces/client/Client.d.ts +0 -1
- package/types/api/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +0 -2
- package/types/api/resources/namespaces/client/requests/NamespacesListRequest.d.ts +0 -6
- package/types/api/resources/pools/client/Client.d.ts +57 -0
- package/types/api/resources/pools/client/requests/PoolsDeleteRequest.d.ts +3 -0
- package/types/api/resources/pools/client/requests/PoolsGetRequest.d.ts +3 -0
- package/types/api/resources/{runners/client/requests/RunnersListNamesRequest.d.ts → pools/client/requests/PoolsListNodesRequest.d.ts} +2 -2
- package/types/api/resources/{envoys/client/requests/EnvoysListRequest.d.ts → pools/client/requests/PoolsListRequest.d.ts} +2 -4
- package/types/api/resources/pools/client/requests/PoolsUpsertRequest.d.ts +8 -0
- package/types/api/resources/pools/client/requests/index.d.ts +5 -0
- package/types/api/types/Actor.d.ts +21 -27
- package/types/api/types/ActorName.d.ts +1 -3
- package/types/api/types/ActorsCreateResponse.d.ts +2 -3
- package/types/api/types/ActorsDeleteResponse.d.ts +1 -4
- package/types/api/types/ActorsGetOrCreateResponse.d.ts +1 -3
- package/types/api/types/ActorsGetResponse.d.ts +4 -0
- package/types/api/types/ActorsListNamesResponse.d.ts +1 -4
- package/types/api/types/ActorsListResponse.d.ts +1 -4
- package/types/api/types/ActorsRescheduleResponse.d.ts +1 -4
- package/types/api/types/ActorsSleepResponse.d.ts +1 -4
- package/types/api/types/AuthOperationKind.d.ts +0 -10
- package/types/api/types/AuthResourceKind.d.ts +1 -0
- package/types/api/types/AuthTargetScope.d.ts +4 -0
- package/types/api/types/AuthTokenCreateResponse.d.ts +5 -5
- package/types/api/types/AuthTokenGrant.d.ts +4 -6
- package/types/api/types/AuthTokenInspectResponse.d.ts +9 -7
- package/types/api/types/Datacenter.d.ts +1 -5
- package/types/api/types/DatacentersListResponse.d.ts +1 -5
- package/types/api/types/ErrorResponse.d.ts +10 -0
- package/types/api/types/MetadataGetResponse.d.ts +8 -12
- package/types/api/types/Namespace.d.ts +3 -7
- package/types/api/types/NamespaceListResponse.d.ts +1 -4
- package/types/api/types/NamespacesCreateResponse.d.ts +0 -3
- package/types/api/types/Node.d.ts +18 -0
- package/types/api/types/Pagination.d.ts +2 -4
- package/types/api/types/Pool.d.ts +14 -0
- package/types/api/types/PoolResponse.d.ts +4 -0
- package/types/api/types/PoolsDeleteResponse.d.ts +1 -0
- package/types/api/types/PoolsListNodesResponse.d.ts +5 -0
- package/types/api/types/PoolsListResponse.d.ts +5 -0
- package/types/api/types/RivetId.d.ts +0 -3
- package/types/api/types/index.d.ts +10 -38
- package/types/serialization/client/requests/ActorsCreateRequest.d.ts +1 -4
- package/types/serialization/client/requests/ActorsGetOrCreateRequest.d.ts +2 -5
- package/types/serialization/client/requests/index.d.ts +0 -2
- package/types/serialization/resources/index.d.ts +0 -2
- package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +0 -1
- package/types/serialization/types/Actor.d.ts +10 -17
- package/types/serialization/types/ActorName.d.ts +0 -3
- package/types/serialization/types/ActorsCreateResponse.d.ts +1 -3
- package/types/serialization/types/ActorsDeleteResponse.d.ts +1 -4
- package/types/serialization/types/ActorsGetOrCreateResponse.d.ts +0 -3
- package/types/serialization/types/ActorsGetResponse.d.ts +10 -0
- package/types/serialization/types/ActorsListNamesResponse.d.ts +0 -5
- package/types/serialization/types/ActorsListResponse.d.ts +1 -4
- package/types/serialization/types/ActorsRescheduleResponse.d.ts +1 -4
- package/types/serialization/types/ActorsSleepResponse.d.ts +1 -4
- package/types/serialization/types/AuthOperationKind.d.ts +0 -3
- package/types/serialization/types/AuthResourceKind.d.ts +7 -0
- package/types/serialization/types/AuthTargetScope.d.ts +10 -0
- package/types/serialization/types/AuthTokenCreateResponse.d.ts +2 -5
- package/types/serialization/types/AuthTokenGrant.d.ts +5 -8
- package/types/serialization/types/AuthTokenInspectResponse.d.ts +4 -8
- package/types/serialization/types/Datacenter.d.ts +0 -5
- package/types/serialization/types/DatacentersListResponse.d.ts +1 -6
- package/types/serialization/types/ErrorResponse.d.ts +12 -0
- package/types/serialization/types/MetadataGetResponse.d.ts +4 -12
- package/types/serialization/types/Namespace.d.ts +1 -7
- package/types/serialization/types/NamespaceListResponse.d.ts +1 -4
- package/types/serialization/types/NamespacesCreateResponse.d.ts +0 -3
- package/types/serialization/types/Node.d.ts +16 -0
- package/types/serialization/types/Pagination.d.ts +1 -4
- package/types/serialization/types/Pool.d.ts +14 -0
- package/types/serialization/types/PoolResponse.d.ts +10 -0
- package/types/serialization/types/PoolsDeleteResponse.d.ts +7 -0
- package/types/serialization/types/PoolsListNodesResponse.d.ts +12 -0
- package/types/serialization/types/PoolsListResponse.d.ts +12 -0
- package/types/serialization/types/RivetId.d.ts +0 -3
- package/types/serialization/types/index.d.ts +10 -38
- package/types/api/client/requests/ActorsKvGetRequest.d.ts +0 -12
- package/types/api/client/requests/RunnerConfigsDeleteRequest.d.ts +0 -12
- package/types/api/client/requests/RunnerConfigsListRequest.d.ts +0 -21
- package/types/api/client/requests/RunnerConfigsRefreshMetadataRequest.d.ts +0 -17
- package/types/api/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +0 -15
- package/types/api/client/requests/RunnerConfigsUpsertRequestBody.d.ts +0 -17
- package/types/api/resources/envoys/client/Client.d.ts +0 -39
- package/types/api/resources/envoys/client/requests/index.d.ts +0 -1
- package/types/api/resources/health/client/Client.d.ts +0 -36
- package/types/api/resources/health/client/index.d.ts +0 -1
- package/types/api/resources/health/index.d.ts +0 -1
- package/types/api/resources/runners/client/Client.d.ts +0 -54
- package/types/api/resources/runners/client/index.d.ts +0 -1
- package/types/api/resources/runners/client/requests/RunnersListRequest.d.ts +0 -22
- package/types/api/resources/runners/client/requests/index.d.ts +0 -2
- package/types/api/resources/runners/index.d.ts +0 -1
- package/types/api/types/ActorsKvGetResponse.d.ts +0 -7
- package/types/api/types/ActorsRescheduleRequestBody.d.ts +0 -4
- package/types/api/types/ActorsSleepRequestBody.d.ts +0 -4
- package/types/api/types/AuthTokenResource.d.ts +0 -13
- package/types/api/types/AuthTokenTargetScope.d.ts +0 -5
- package/types/api/types/AuthTokenTargetScopeId.d.ts +0 -7
- package/types/api/types/CrashPolicy.d.ts +0 -9
- package/types/api/types/DatacenterHealth.d.ts +0 -12
- package/types/api/types/Envoy.d.ts +0 -18
- package/types/api/types/EnvoysListResponse.d.ts +0 -8
- package/types/api/types/HealthFanoutResponse.d.ts +0 -7
- package/types/api/types/HealthResponse.d.ts +0 -8
- package/types/api/types/HealthStatus.d.ts +0 -8
- package/types/api/types/Runner.d.ts +0 -21
- package/types/api/types/RunnerConfig.d.ts +0 -11
- package/types/api/types/RunnerConfigKind.d.ts +0 -5
- package/types/api/types/RunnerConfigKindNormal.d.ts +0 -7
- package/types/api/types/RunnerConfigKindNormalNormal.d.ts +0 -12
- package/types/api/types/RunnerConfigKindServerless.d.ts +0 -7
- package/types/api/types/RunnerConfigKindServerlessServerless.d.ts +0 -29
- package/types/api/types/RunnerConfigNormal.d.ts +0 -12
- package/types/api/types/RunnerConfigResponse.d.ts +0 -8
- package/types/api/types/RunnerConfigServerless.d.ts +0 -29
- package/types/api/types/RunnerConfigVariant.d.ts +0 -8
- package/types/api/types/RunnerConfigsDeleteResponse.d.ts +0 -4
- package/types/api/types/RunnerConfigsListResponse.d.ts +0 -8
- package/types/api/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +0 -7
- package/types/api/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +0 -4
- package/types/api/types/RunnerConfigsRefreshMetadataResponse.d.ts +0 -4
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +0 -5
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +0 -7
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +0 -7
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +0 -7
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +0 -6
- package/types/api/types/RunnerConfigsServerlessMetadataError.d.ts +0 -16
- package/types/api/types/RunnerConfigsUpsertResponse.d.ts +0 -6
- package/types/api/types/RunnersListNamesResponse.d.ts +0 -8
- package/types/api/types/RunnersListResponse.d.ts +0 -8
- package/types/serialization/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +0 -13
- package/types/serialization/client/requests/RunnerConfigsUpsertRequestBody.d.ts +0 -13
- package/types/serialization/resources/authTokens/client/index.d.ts +0 -1
- package/types/serialization/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +0 -16
- package/types/serialization/resources/authTokens/client/requests/index.d.ts +0 -1
- package/types/serialization/resources/authTokens/index.d.ts +0 -1
- package/types/serialization/types/ActorsKvGetResponse.d.ts +0 -13
- package/types/serialization/types/ActorsRescheduleRequestBody.d.ts +0 -10
- package/types/serialization/types/ActorsSleepRequestBody.d.ts +0 -10
- package/types/serialization/types/AuthTokenResource.d.ts +0 -10
- package/types/serialization/types/AuthTokenTargetScope.d.ts +0 -11
- package/types/serialization/types/AuthTokenTargetScopeId.d.ts +0 -13
- package/types/serialization/types/CrashPolicy.d.ts +0 -10
- package/types/serialization/types/DatacenterHealth.d.ts +0 -19
- package/types/serialization/types/Envoy.d.ts +0 -24
- package/types/serialization/types/EnvoysListResponse.d.ts +0 -15
- package/types/serialization/types/HealthFanoutResponse.d.ts +0 -13
- package/types/serialization/types/HealthResponse.d.ts +0 -14
- package/types/serialization/types/HealthStatus.d.ts +0 -10
- package/types/serialization/types/Runner.d.ts +0 -27
- package/types/serialization/types/RunnerConfig.d.ts +0 -17
- package/types/serialization/types/RunnerConfigKind.d.ts +0 -12
- package/types/serialization/types/RunnerConfigKindNormal.d.ts +0 -13
- package/types/serialization/types/RunnerConfigKindNormalNormal.d.ts +0 -15
- package/types/serialization/types/RunnerConfigKindServerless.d.ts +0 -13
- package/types/serialization/types/RunnerConfigKindServerlessServerless.d.ts +0 -25
- package/types/serialization/types/RunnerConfigNormal.d.ts +0 -15
- package/types/serialization/types/RunnerConfigResponse.d.ts +0 -14
- package/types/serialization/types/RunnerConfigServerless.d.ts +0 -25
- package/types/serialization/types/RunnerConfigVariant.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsDeleteResponse.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsListResponse.d.ts +0 -15
- package/types/serialization/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsRefreshMetadataResponse.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +0 -12
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +0 -12
- package/types/serialization/types/RunnerConfigsServerlessMetadataError.d.ts +0 -14
- package/types/serialization/types/RunnerConfigsUpsertResponse.d.ts +0 -12
- package/types/serialization/types/RunnersListNamesResponse.d.ts +0 -14
- package/types/serialization/types/RunnersListResponse.d.ts +0 -15
- /package/types/api/resources/{envoys → pools}/client/index.d.ts +0 -0
- /package/types/api/resources/{envoys → pools}/index.d.ts +0 -0
|
@@ -1,11 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
export type AuthOperationKind = "read" | "update" | "list" | "create" | "delete";
|
|
5
|
-
export declare const AuthOperationKind: {
|
|
6
|
-
readonly Read: "read";
|
|
7
|
-
readonly Update: "update";
|
|
8
|
-
readonly List: "list";
|
|
9
|
-
readonly Create: "create";
|
|
10
|
-
readonly Delete: "delete";
|
|
11
|
-
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AuthResourceKind = "namespace" | "actor" | "node" | "pool" | "datacenter" | "actor_gateway" | "actor_kv";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
export interface AuthTokenCreateResponse {
|
|
5
|
-
|
|
6
|
-
issuedTs: number;
|
|
2
|
+
/** The signed JWT. */
|
|
7
3
|
token: string;
|
|
4
|
+
/** When the token was issued, in Unix milliseconds. */
|
|
5
|
+
issuedTs: number;
|
|
6
|
+
/** When the token expires, in Unix milliseconds. */
|
|
7
|
+
expiresTs: number;
|
|
8
8
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as Rivet from "../index";
|
|
5
2
|
export interface AuthTokenGrant {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
target
|
|
3
|
+
resource: Rivet.AuthResourceKind;
|
|
4
|
+
target: Rivet.AuthTargetScope;
|
|
5
|
+
/** Operations the grant allows on the target. */
|
|
6
|
+
operations: (Rivet.AuthOperationKind)[];
|
|
9
7
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as Rivet from "../index";
|
|
5
2
|
export interface AuthTokenInspectResponse {
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/** Name of the namespace the token is scoped to. */
|
|
4
|
+
namespace: string;
|
|
5
|
+
/** Subject attached to the token, or `null`. */
|
|
6
|
+
subject: string | null;
|
|
7
|
+
/** Access the token carries. */
|
|
8
|
+
grants: (Rivet.AuthTokenGrant)[];
|
|
9
|
+
/** When the token was issued, in Unix milliseconds. */
|
|
8
10
|
issuedTs: number;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
/** When the token expires, in Unix milliseconds. */
|
|
12
|
+
expiresTs: number;
|
|
11
13
|
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as Rivet from "../index";
|
|
5
2
|
export interface DatacentersListResponse {
|
|
6
|
-
datacenters: Rivet.Datacenter[];
|
|
7
|
-
pagination: Rivet.Pagination;
|
|
3
|
+
datacenters: (Rivet.Datacenter)[];
|
|
8
4
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ErrorResponse {
|
|
2
|
+
/** Error group, for example `actor`. */
|
|
3
|
+
group: string;
|
|
4
|
+
/** Error code within the group, for example `not_found`. */
|
|
5
|
+
code: string;
|
|
6
|
+
/** Human-readable error message. */
|
|
7
|
+
message: string;
|
|
8
|
+
/** Extra details. Only present on some errors raised while authenticating or authorizing the request. */
|
|
9
|
+
metadata?: unknown;
|
|
10
|
+
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
1
|
+
import * as Rivet from "../index";
|
|
4
2
|
export interface MetadataGetResponse {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
envoyProtocolVersion: number;
|
|
9
|
-
epoxyProtocolVersion: number;
|
|
10
|
-
gitSha: string;
|
|
11
|
-
runtime: string;
|
|
12
|
-
rustcHost: string;
|
|
13
|
-
rustcVersion: string;
|
|
3
|
+
/** Always `engine`. */
|
|
4
|
+
runtime: "engine";
|
|
5
|
+
/** Version of the control plane. */
|
|
14
6
|
version: string;
|
|
7
|
+
/** Version of the protocol nodes use to connect to the control plane. */
|
|
8
|
+
envoyProtocolVersion: number;
|
|
9
|
+
/** Actor names the default namespace's connected nodes accept. Only present for requests made with the admin token. */
|
|
10
|
+
actorNames?: Record<string, Rivet.ActorName>;
|
|
15
11
|
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
1
|
export interface Namespace {
|
|
6
|
-
|
|
7
|
-
displayName: string;
|
|
2
|
+
/** Namespace name. */
|
|
8
3
|
name: string;
|
|
9
|
-
|
|
4
|
+
/** When the namespace was created, in Unix milliseconds. */
|
|
5
|
+
createTs: number;
|
|
10
6
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface Node {
|
|
2
|
+
/** Node key, unique within the pool. */
|
|
3
|
+
key: string;
|
|
4
|
+
/** Name of the node pool. */
|
|
5
|
+
pool: string;
|
|
6
|
+
/** Name of the namespace. */
|
|
7
|
+
namespace: string;
|
|
8
|
+
/** Datacenter name. */
|
|
9
|
+
datacenter: string;
|
|
10
|
+
/** When the node connected, in Unix milliseconds. */
|
|
11
|
+
createTs: number;
|
|
12
|
+
/** When the node last sent a heartbeat, in Unix milliseconds. */
|
|
13
|
+
lastPingTs: number;
|
|
14
|
+
/** Whether the node is connected. */
|
|
15
|
+
connected: boolean;
|
|
16
|
+
/** Whether the node is shutting down. */
|
|
17
|
+
stopping: boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface Pool {
|
|
2
|
+
/** Name of the node pool. */
|
|
3
|
+
name: string;
|
|
4
|
+
/** Drain nodes running an older version when a newer version connects. */
|
|
5
|
+
drainOnVersionUpgrade: boolean;
|
|
6
|
+
/** Seconds to wait before evicting actors from a draining node. */
|
|
7
|
+
actorEvictionDelay: number;
|
|
8
|
+
/** Seconds over which actors are evicted from a draining node. */
|
|
9
|
+
actorEvictionPeriod: number;
|
|
10
|
+
/** Rate at which actors are evicted from a draining node. Must be finite and greater than 0. */
|
|
11
|
+
actorEvictionRate: number;
|
|
12
|
+
/** Opaque JSON stored with the pool, or `null` when unset. */
|
|
13
|
+
metadata: unknown;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PoolsDeleteResponse = Record<string, never>;
|
|
@@ -3,57 +3,29 @@ export * from "./ActorName";
|
|
|
3
3
|
export * from "./ActorsCreateResponse";
|
|
4
4
|
export * from "./ActorsDeleteResponse";
|
|
5
5
|
export * from "./ActorsGetOrCreateResponse";
|
|
6
|
-
export * from "./
|
|
6
|
+
export * from "./ActorsGetResponse";
|
|
7
7
|
export * from "./ActorsListNamesResponse";
|
|
8
8
|
export * from "./ActorsListResponse";
|
|
9
|
-
export * from "./ActorsRescheduleRequestBody";
|
|
10
9
|
export * from "./ActorsRescheduleResponse";
|
|
11
|
-
export * from "./ActorsSleepRequestBody";
|
|
12
10
|
export * from "./ActorsSleepResponse";
|
|
13
11
|
export * from "./AuthOperationKind";
|
|
12
|
+
export * from "./AuthResourceKind";
|
|
13
|
+
export * from "./AuthTargetScope";
|
|
14
14
|
export * from "./AuthTokenCreateResponse";
|
|
15
15
|
export * from "./AuthTokenGrant";
|
|
16
16
|
export * from "./AuthTokenInspectResponse";
|
|
17
|
-
export * from "./AuthTokenResource";
|
|
18
|
-
export * from "./AuthTokenTargetScopeId";
|
|
19
|
-
export * from "./AuthTokenTargetScope";
|
|
20
|
-
export * from "./CrashPolicy";
|
|
21
17
|
export * from "./Datacenter";
|
|
22
|
-
export * from "./DatacenterHealth";
|
|
23
18
|
export * from "./DatacentersListResponse";
|
|
24
|
-
export * from "./
|
|
25
|
-
export * from "./EnvoysListResponse";
|
|
26
|
-
export * from "./HealthFanoutResponse";
|
|
27
|
-
export * from "./HealthResponse";
|
|
28
|
-
export * from "./HealthStatus";
|
|
19
|
+
export * from "./ErrorResponse";
|
|
29
20
|
export * from "./MetadataGetResponse";
|
|
30
21
|
export * from "./Namespace";
|
|
31
22
|
export * from "./NamespaceListResponse";
|
|
32
23
|
export * from "./NamespacesCreateResponse";
|
|
24
|
+
export * from "./Node";
|
|
33
25
|
export * from "./Pagination";
|
|
26
|
+
export * from "./Pool";
|
|
27
|
+
export * from "./PoolResponse";
|
|
28
|
+
export * from "./PoolsDeleteResponse";
|
|
29
|
+
export * from "./PoolsListNodesResponse";
|
|
30
|
+
export * from "./PoolsListResponse";
|
|
34
31
|
export * from "./RivetId";
|
|
35
|
-
export * from "./Runner";
|
|
36
|
-
export * from "./RunnerConfigNormal";
|
|
37
|
-
export * from "./RunnerConfigServerless";
|
|
38
|
-
export * from "./RunnerConfig";
|
|
39
|
-
export * from "./RunnerConfigKindNormalNormal";
|
|
40
|
-
export * from "./RunnerConfigKindNormal";
|
|
41
|
-
export * from "./RunnerConfigKindServerlessServerless";
|
|
42
|
-
export * from "./RunnerConfigKindServerless";
|
|
43
|
-
export * from "./RunnerConfigKind";
|
|
44
|
-
export * from "./RunnerConfigResponse";
|
|
45
|
-
export * from "./RunnerConfigVariant";
|
|
46
|
-
export * from "./RunnerConfigsDeleteResponse";
|
|
47
|
-
export * from "./RunnerConfigsListResponse";
|
|
48
|
-
export * from "./RunnerConfigsListResponseRunnerConfigsValue";
|
|
49
|
-
export * from "./RunnerConfigsRefreshMetadataRequestBody";
|
|
50
|
-
export * from "./RunnerConfigsRefreshMetadataResponse";
|
|
51
|
-
export * from "./RunnerConfigsServerlessHealthCheckResponseSuccessSuccess";
|
|
52
|
-
export * from "./RunnerConfigsServerlessHealthCheckResponseSuccess";
|
|
53
|
-
export * from "./RunnerConfigsServerlessHealthCheckResponseFailureFailure";
|
|
54
|
-
export * from "./RunnerConfigsServerlessHealthCheckResponseFailure";
|
|
55
|
-
export * from "./RunnerConfigsServerlessHealthCheckResponse";
|
|
56
|
-
export * from "./RunnerConfigsServerlessMetadataError";
|
|
57
|
-
export * from "./RunnerConfigsUpsertResponse";
|
|
58
|
-
export * from "./RunnersListNamesResponse";
|
|
59
|
-
export * from "./RunnersListResponse";
|
|
@@ -4,15 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../index";
|
|
5
5
|
import * as Rivet from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
|
-
import { CrashPolicy } from "../../types/CrashPolicy";
|
|
8
7
|
export declare const ActorsCreateRequest: core.serialization.Schema<serializers.ActorsCreateRequest.Raw, Omit<Rivet.ActorsCreateRequest, "namespace">>;
|
|
9
8
|
export declare namespace ActorsCreateRequest {
|
|
10
9
|
interface Raw {
|
|
11
|
-
crash_policy: CrashPolicy.Raw;
|
|
12
|
-
datacenter?: string | null;
|
|
13
10
|
input?: string | null;
|
|
14
11
|
key?: string | null;
|
|
15
12
|
name: string;
|
|
16
|
-
|
|
13
|
+
pool?: string | null;
|
|
17
14
|
}
|
|
18
15
|
}
|
|
@@ -4,15 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../index";
|
|
5
5
|
import * as Rivet from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
|
-
import { CrashPolicy } from "../../types/CrashPolicy";
|
|
8
7
|
export declare const ActorsGetOrCreateRequest: core.serialization.Schema<serializers.ActorsGetOrCreateRequest.Raw, Omit<Rivet.ActorsGetOrCreateRequest, "namespace">>;
|
|
9
8
|
export declare namespace ActorsGetOrCreateRequest {
|
|
10
9
|
interface Raw {
|
|
11
|
-
crash_policy: CrashPolicy.Raw;
|
|
12
|
-
datacenter?: string | null;
|
|
13
10
|
input?: string | null;
|
|
14
|
-
key
|
|
11
|
+
key?: string | null;
|
|
15
12
|
name: string;
|
|
16
|
-
|
|
13
|
+
pool?: string | null;
|
|
17
14
|
}
|
|
18
15
|
}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
1
|
export { ActorsCreateRequest } from "./ActorsCreateRequest";
|
|
2
2
|
export { ActorsGetOrCreateRequest } from "./ActorsGetOrCreateRequest";
|
|
3
|
-
export { RunnerConfigsServerlessHealthCheckRequest } from "./RunnerConfigsServerlessHealthCheckRequest";
|
|
4
|
-
export { RunnerConfigsUpsertRequestBody } from "./RunnerConfigsUpsertRequestBody";
|
package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
export declare const NamespacesCreateRequest: core.serialization.Schema<serializers.NamespacesCreateRequest.Raw, Rivet.NamespacesCreateRequest>;
|
|
8
8
|
export declare namespace NamespacesCreateRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
display_name: string;
|
|
11
10
|
name: string;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
import { RivetId } from "./RivetId";
|
|
8
|
-
import { CrashPolicy } from "./CrashPolicy";
|
|
9
5
|
export declare const Actor: core.serialization.ObjectSchema<serializers.Actor.Raw, Rivet.Actor>;
|
|
10
6
|
export declare namespace Actor {
|
|
11
7
|
interface Raw {
|
|
12
8
|
actor_id: RivetId.Raw;
|
|
13
|
-
connectable_ts?: number | null;
|
|
14
|
-
crash_policy: CrashPolicy.Raw;
|
|
15
|
-
create_ts: number;
|
|
16
|
-
datacenter: string;
|
|
17
|
-
destroy_ts?: number | null;
|
|
18
|
-
error?: Record<string, unknown> | null;
|
|
19
|
-
key?: string | null;
|
|
20
9
|
name: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
key: string;
|
|
11
|
+
namespace: string;
|
|
12
|
+
pool: string;
|
|
13
|
+
create_ts: number;
|
|
14
|
+
start_ts: number | null;
|
|
15
|
+
pending_allocation_ts: number | null;
|
|
16
|
+
connectable_ts: number | null;
|
|
17
|
+
sleep_ts: number | null;
|
|
18
|
+
reschedule_ts: number | null;
|
|
19
|
+
destroy_ts: number | null;
|
|
27
20
|
}
|
|
28
21
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
@@ -9,5 +6,6 @@ export declare const ActorsCreateResponse: core.serialization.ObjectSchema<seria
|
|
|
9
6
|
export declare namespace ActorsCreateResponse {
|
|
10
7
|
interface Raw {
|
|
11
8
|
actor: Actor.Raw;
|
|
9
|
+
created: boolean;
|
|
12
10
|
}
|
|
13
11
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
export declare const ActorsDeleteResponse: core.serialization.Schema<serializers.ActorsDeleteResponse.Raw, Rivet.ActorsDeleteResponse>;
|
|
8
5
|
export declare namespace ActorsDeleteResponse {
|
|
9
|
-
type Raw = Record<string,
|
|
6
|
+
type Raw = Record<string, never>;
|
|
10
7
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as Rivet from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { Actor } from "./Actor";
|
|
5
|
+
export declare const ActorsGetResponse: core.serialization.ObjectSchema<serializers.ActorsGetResponse.Raw, Rivet.ActorsGetResponse>;
|
|
6
|
+
export declare namespace ActorsGetResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
actor: Actor.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
import { ActorName } from "./ActorName";
|
|
8
|
-
import { Pagination } from "./Pagination";
|
|
9
5
|
export declare const ActorsListNamesResponse: core.serialization.ObjectSchema<serializers.ActorsListNamesResponse.Raw, Rivet.ActorsListNamesResponse>;
|
|
10
6
|
export declare namespace ActorsListNamesResponse {
|
|
11
7
|
interface Raw {
|
|
12
8
|
names: Record<string, ActorName.Raw>;
|
|
13
|
-
pagination: Pagination.Raw;
|
|
14
9
|
}
|
|
15
10
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
@@ -9,7 +6,7 @@ import { Pagination } from "./Pagination";
|
|
|
9
6
|
export declare const ActorsListResponse: core.serialization.ObjectSchema<serializers.ActorsListResponse.Raw, Rivet.ActorsListResponse>;
|
|
10
7
|
export declare namespace ActorsListResponse {
|
|
11
8
|
interface Raw {
|
|
12
|
-
actors: Actor.Raw[];
|
|
9
|
+
actors: (Actor.Raw)[];
|
|
13
10
|
pagination: Pagination.Raw;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
export declare const ActorsRescheduleResponse: core.serialization.Schema<serializers.ActorsRescheduleResponse.Raw, Rivet.ActorsRescheduleResponse>;
|
|
8
5
|
export declare namespace ActorsRescheduleResponse {
|
|
9
|
-
type Raw = Record<string,
|
|
6
|
+
type Raw = Record<string, never>;
|
|
10
7
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
export declare const ActorsSleepResponse: core.serialization.Schema<serializers.ActorsSleepResponse.Raw, Rivet.ActorsSleepResponse>;
|
|
8
5
|
export declare namespace ActorsSleepResponse {
|
|
9
|
-
type Raw = Record<string,
|
|
6
|
+
type Raw = Record<string, never>;
|
|
10
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as Rivet from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const AuthResourceKind: core.serialization.Schema<serializers.AuthResourceKind.Raw, Rivet.AuthResourceKind>;
|
|
5
|
+
export declare namespace AuthResourceKind {
|
|
6
|
+
type Raw = "namespace" | "actor" | "node" | "pool" | "datacenter" | "actor_gateway" | "actor_kv";
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as Rivet from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { RivetId } from "./RivetId";
|
|
5
|
+
export declare const AuthTargetScope: core.serialization.Schema<serializers.AuthTargetScope.Raw, Rivet.AuthTargetScope>;
|
|
6
|
+
export declare namespace AuthTargetScope {
|
|
7
|
+
type Raw = "any" | {
|
|
8
|
+
id: RivetId.Raw;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
export declare const AuthTokenCreateResponse: core.serialization.ObjectSchema<serializers.AuthTokenCreateResponse.Raw, Rivet.AuthTokenCreateResponse>;
|
|
8
5
|
export declare namespace AuthTokenCreateResponse {
|
|
9
6
|
interface Raw {
|
|
10
|
-
expires_ts: number;
|
|
11
|
-
issued_ts: number;
|
|
12
7
|
token: string;
|
|
8
|
+
issued_ts: number;
|
|
9
|
+
expires_ts: number;
|
|
13
10
|
}
|
|
14
11
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
import { AuthOperationKind } from "./AuthOperationKind";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { AuthResourceKind } from "./AuthResourceKind";
|
|
6
|
+
import { AuthTargetScope } from "./AuthTargetScope";
|
|
10
7
|
export declare const AuthTokenGrant: core.serialization.ObjectSchema<serializers.AuthTokenGrant.Raw, Rivet.AuthTokenGrant>;
|
|
11
8
|
export declare namespace AuthTokenGrant {
|
|
12
9
|
interface Raw {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
resource: AuthResourceKind.Raw;
|
|
11
|
+
target: AuthTargetScope.Raw;
|
|
12
|
+
operations: (AuthOperationKind.Raw)[];
|
|
16
13
|
}
|
|
17
14
|
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
import { AuthTokenGrant } from "./AuthTokenGrant";
|
|
8
|
-
import { RivetId } from "./RivetId";
|
|
9
5
|
export declare const AuthTokenInspectResponse: core.serialization.ObjectSchema<serializers.AuthTokenInspectResponse.Raw, Rivet.AuthTokenInspectResponse>;
|
|
10
6
|
export declare namespace AuthTokenInspectResponse {
|
|
11
7
|
interface Raw {
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
namespace: string;
|
|
9
|
+
subject: string | null;
|
|
10
|
+
grants: (AuthTokenGrant.Raw)[];
|
|
14
11
|
issued_ts: number;
|
|
15
|
-
|
|
16
|
-
subject?: string | null;
|
|
12
|
+
expires_ts: number;
|
|
17
13
|
}
|
|
18
14
|
}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
1
|
import * as serializers from "../index";
|
|
5
2
|
import * as Rivet from "../../api/index";
|
|
6
3
|
import * as core from "../../core";
|
|
7
4
|
export declare const Datacenter: core.serialization.ObjectSchema<serializers.Datacenter.Raw, Rivet.Datacenter>;
|
|
8
5
|
export declare namespace Datacenter {
|
|
9
6
|
interface Raw {
|
|
10
|
-
label: number;
|
|
11
7
|
name: string;
|
|
12
|
-
url: string;
|
|
13
8
|
}
|
|
14
9
|
}
|