@rivetkit/engine-api-full 0.0.0-sqlite-sync-3-0-0-release.14341d0 → 0.0.0-sqlite-query-metrics-v2.f5d3605

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 (202) hide show
  1. package/dist/browser/cjs/index.js +1081 -326
  2. package/dist/browser/cjs/serialization.js +379 -93
  3. package/dist/browser/esm/index.js +1081 -326
  4. package/dist/browser/esm/serialization.js +379 -93
  5. package/dist/node/cjs/index.js +1081 -326
  6. package/dist/node/cjs/serialization.js +421 -103
  7. package/dist/node/esm/index.js +1081 -326
  8. package/dist/node/esm/serialization.js +379 -93
  9. package/package.json +1 -2
  10. package/types/Client.d.ts +91 -7
  11. package/types/api/client/requests/ActorsCreateRequest.d.ts +7 -3
  12. package/types/api/client/requests/ActorsDeleteRequest.d.ts +1 -1
  13. package/types/api/client/requests/ActorsGetOrCreateRequest.d.ts +8 -4
  14. package/types/api/client/requests/ActorsKvGetRequest.d.ts +12 -0
  15. package/types/api/client/requests/ActorsListNamesRequest.d.ts +1 -1
  16. package/types/api/client/requests/ActorsListRequest.d.ts +5 -2
  17. package/types/api/client/requests/ActorsRescheduleRequest.d.ts +5 -1
  18. package/types/api/client/requests/ActorsSleepRequest.d.ts +5 -1
  19. package/types/api/client/requests/RunnerConfigsDeleteRequest.d.ts +12 -0
  20. package/types/api/client/requests/RunnerConfigsListRequest.d.ts +21 -0
  21. package/types/api/client/requests/RunnerConfigsRefreshMetadataRequest.d.ts +17 -0
  22. package/types/api/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +15 -0
  23. package/types/api/client/requests/RunnerConfigsUpsertRequestBody.d.ts +17 -0
  24. package/types/api/client/requests/index.d.ts +6 -1
  25. package/types/api/resources/authTokens/client/Client.d.ts +20 -0
  26. package/types/api/resources/authTokens/client/index.d.ts +0 -1
  27. package/types/api/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +1 -5
  28. package/types/api/resources/envoys/client/Client.d.ts +39 -0
  29. package/types/api/resources/{pools/client/requests/PoolsListRequest.d.ts → envoys/client/requests/EnvoysListRequest.d.ts} +4 -2
  30. package/types/api/resources/envoys/client/requests/index.d.ts +1 -0
  31. package/types/api/resources/health/client/Client.d.ts +36 -0
  32. package/types/api/resources/health/client/index.d.ts +1 -0
  33. package/types/api/resources/health/index.d.ts +1 -0
  34. package/types/api/resources/index.d.ts +5 -2
  35. package/types/api/resources/namespaces/client/Client.d.ts +1 -0
  36. package/types/api/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +2 -0
  37. package/types/api/resources/namespaces/client/requests/NamespacesListRequest.d.ts +6 -0
  38. package/types/api/resources/runners/client/Client.d.ts +54 -0
  39. package/types/api/resources/runners/client/index.d.ts +1 -0
  40. package/types/api/resources/{pools/client/requests/PoolsListNodesRequest.d.ts → runners/client/requests/RunnersListNamesRequest.d.ts} +2 -2
  41. package/types/api/resources/runners/client/requests/RunnersListRequest.d.ts +22 -0
  42. package/types/api/resources/runners/client/requests/index.d.ts +2 -0
  43. package/types/api/resources/runners/index.d.ts +1 -0
  44. package/types/api/types/Actor.d.ts +27 -21
  45. package/types/api/types/ActorName.d.ts +3 -1
  46. package/types/api/types/ActorsCreateResponse.d.ts +3 -2
  47. package/types/api/types/ActorsDeleteResponse.d.ts +4 -1
  48. package/types/api/types/ActorsGetOrCreateResponse.d.ts +3 -1
  49. package/types/api/types/ActorsKvGetResponse.d.ts +7 -0
  50. package/types/api/types/ActorsListNamesResponse.d.ts +4 -1
  51. package/types/api/types/ActorsListResponse.d.ts +4 -1
  52. package/types/api/types/ActorsRescheduleRequestBody.d.ts +4 -0
  53. package/types/api/types/ActorsRescheduleResponse.d.ts +4 -1
  54. package/types/api/types/ActorsSleepRequestBody.d.ts +4 -0
  55. package/types/api/types/ActorsSleepResponse.d.ts +4 -1
  56. package/types/api/types/AuthOperationKind.d.ts +10 -0
  57. package/types/api/types/AuthTokenCreateResponse.d.ts +5 -5
  58. package/types/api/types/AuthTokenGrant.d.ts +6 -4
  59. package/types/api/types/AuthTokenInspectResponse.d.ts +7 -9
  60. package/types/api/types/AuthTokenResource.d.ts +13 -0
  61. package/types/api/types/AuthTokenTargetScope.d.ts +5 -0
  62. package/types/api/types/AuthTokenTargetScopeId.d.ts +7 -0
  63. package/types/api/types/CrashPolicy.d.ts +9 -0
  64. package/types/api/types/Datacenter.d.ts +5 -1
  65. package/types/api/types/DatacenterHealth.d.ts +12 -0
  66. package/types/api/types/DatacentersListResponse.d.ts +5 -1
  67. package/types/api/types/Envoy.d.ts +18 -0
  68. package/types/api/types/EnvoysListResponse.d.ts +8 -0
  69. package/types/api/types/HealthFanoutResponse.d.ts +7 -0
  70. package/types/api/types/HealthResponse.d.ts +8 -0
  71. package/types/api/types/HealthStatus.d.ts +8 -0
  72. package/types/api/types/MetadataGetResponse.d.ts +12 -8
  73. package/types/api/types/Namespace.d.ts +7 -3
  74. package/types/api/types/NamespaceListResponse.d.ts +4 -1
  75. package/types/api/types/NamespacesCreateResponse.d.ts +3 -0
  76. package/types/api/types/Pagination.d.ts +4 -2
  77. package/types/api/types/RivetId.d.ts +3 -0
  78. package/types/api/types/Runner.d.ts +21 -0
  79. package/types/api/types/RunnerConfig.d.ts +11 -0
  80. package/types/api/types/RunnerConfigKind.d.ts +5 -0
  81. package/types/api/types/RunnerConfigKindNormal.d.ts +7 -0
  82. package/types/api/types/RunnerConfigKindNormalNormal.d.ts +12 -0
  83. package/types/api/types/RunnerConfigKindServerless.d.ts +7 -0
  84. package/types/api/types/RunnerConfigKindServerlessServerless.d.ts +29 -0
  85. package/types/api/types/RunnerConfigNormal.d.ts +12 -0
  86. package/types/api/types/RunnerConfigResponse.d.ts +8 -0
  87. package/types/api/types/RunnerConfigServerless.d.ts +29 -0
  88. package/types/api/types/RunnerConfigVariant.d.ts +8 -0
  89. package/types/api/types/RunnerConfigsDeleteResponse.d.ts +4 -0
  90. package/types/api/types/RunnerConfigsListResponse.d.ts +8 -0
  91. package/types/api/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +7 -0
  92. package/types/api/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +4 -0
  93. package/types/api/types/RunnerConfigsRefreshMetadataResponse.d.ts +4 -0
  94. package/types/api/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +5 -0
  95. package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +7 -0
  96. package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +7 -0
  97. package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +7 -0
  98. package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +6 -0
  99. package/types/api/types/RunnerConfigsServerlessMetadataError.d.ts +16 -0
  100. package/types/api/types/RunnerConfigsUpsertResponse.d.ts +6 -0
  101. package/types/api/types/RunnersListNamesResponse.d.ts +8 -0
  102. package/types/api/types/RunnersListResponse.d.ts +8 -0
  103. package/types/api/types/index.d.ts +38 -10
  104. package/types/serialization/client/requests/ActorsCreateRequest.d.ts +4 -1
  105. package/types/serialization/client/requests/ActorsGetOrCreateRequest.d.ts +5 -2
  106. package/types/serialization/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +13 -0
  107. package/types/serialization/client/requests/RunnerConfigsUpsertRequestBody.d.ts +13 -0
  108. package/types/serialization/client/requests/index.d.ts +2 -0
  109. package/types/serialization/resources/authTokens/client/index.d.ts +1 -0
  110. package/types/serialization/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +16 -0
  111. package/types/serialization/resources/authTokens/client/requests/index.d.ts +1 -0
  112. package/types/serialization/resources/authTokens/index.d.ts +1 -0
  113. package/types/serialization/resources/index.d.ts +2 -0
  114. package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +1 -0
  115. package/types/serialization/types/Actor.d.ts +17 -10
  116. package/types/serialization/types/ActorName.d.ts +3 -0
  117. package/types/serialization/types/ActorsCreateResponse.d.ts +3 -1
  118. package/types/serialization/types/ActorsDeleteResponse.d.ts +4 -1
  119. package/types/serialization/types/ActorsGetOrCreateResponse.d.ts +3 -0
  120. package/types/serialization/types/ActorsKvGetResponse.d.ts +13 -0
  121. package/types/serialization/types/ActorsListNamesResponse.d.ts +5 -0
  122. package/types/serialization/types/ActorsListResponse.d.ts +4 -1
  123. package/types/serialization/types/ActorsRescheduleRequestBody.d.ts +10 -0
  124. package/types/serialization/types/ActorsRescheduleResponse.d.ts +4 -1
  125. package/types/serialization/types/ActorsSleepRequestBody.d.ts +10 -0
  126. package/types/serialization/types/ActorsSleepResponse.d.ts +4 -1
  127. package/types/serialization/types/AuthOperationKind.d.ts +3 -0
  128. package/types/serialization/types/AuthTokenCreateResponse.d.ts +5 -2
  129. package/types/serialization/types/AuthTokenGrant.d.ts +8 -5
  130. package/types/serialization/types/AuthTokenInspectResponse.d.ts +8 -4
  131. package/types/serialization/types/AuthTokenResource.d.ts +10 -0
  132. package/types/serialization/types/AuthTokenTargetScope.d.ts +11 -0
  133. package/types/serialization/types/AuthTokenTargetScopeId.d.ts +13 -0
  134. package/types/serialization/types/CrashPolicy.d.ts +10 -0
  135. package/types/serialization/types/Datacenter.d.ts +5 -0
  136. package/types/serialization/types/DatacenterHealth.d.ts +19 -0
  137. package/types/serialization/types/DatacentersListResponse.d.ts +6 -1
  138. package/types/serialization/types/Envoy.d.ts +24 -0
  139. package/types/serialization/types/EnvoysListResponse.d.ts +15 -0
  140. package/types/serialization/types/HealthFanoutResponse.d.ts +13 -0
  141. package/types/serialization/types/HealthResponse.d.ts +14 -0
  142. package/types/serialization/types/HealthStatus.d.ts +10 -0
  143. package/types/serialization/types/MetadataGetResponse.d.ts +12 -4
  144. package/types/serialization/types/Namespace.d.ts +7 -1
  145. package/types/serialization/types/NamespaceListResponse.d.ts +4 -1
  146. package/types/serialization/types/NamespacesCreateResponse.d.ts +3 -0
  147. package/types/serialization/types/Pagination.d.ts +4 -1
  148. package/types/serialization/types/RivetId.d.ts +3 -0
  149. package/types/serialization/types/Runner.d.ts +27 -0
  150. package/types/serialization/types/RunnerConfig.d.ts +17 -0
  151. package/types/serialization/types/RunnerConfigKind.d.ts +12 -0
  152. package/types/serialization/types/RunnerConfigKindNormal.d.ts +13 -0
  153. package/types/serialization/types/RunnerConfigKindNormalNormal.d.ts +15 -0
  154. package/types/serialization/types/RunnerConfigKindServerless.d.ts +13 -0
  155. package/types/serialization/types/RunnerConfigKindServerlessServerless.d.ts +25 -0
  156. package/types/serialization/types/RunnerConfigNormal.d.ts +15 -0
  157. package/types/serialization/types/RunnerConfigResponse.d.ts +14 -0
  158. package/types/serialization/types/RunnerConfigServerless.d.ts +25 -0
  159. package/types/serialization/types/RunnerConfigVariant.d.ts +10 -0
  160. package/types/serialization/types/RunnerConfigsDeleteResponse.d.ts +10 -0
  161. package/types/serialization/types/RunnerConfigsListResponse.d.ts +15 -0
  162. package/types/serialization/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +13 -0
  163. package/types/serialization/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +10 -0
  164. package/types/serialization/types/RunnerConfigsRefreshMetadataResponse.d.ts +10 -0
  165. package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +12 -0
  166. package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +13 -0
  167. package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +13 -0
  168. package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +13 -0
  169. package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +12 -0
  170. package/types/serialization/types/RunnerConfigsServerlessMetadataError.d.ts +14 -0
  171. package/types/serialization/types/RunnerConfigsUpsertResponse.d.ts +12 -0
  172. package/types/serialization/types/RunnersListNamesResponse.d.ts +14 -0
  173. package/types/serialization/types/RunnersListResponse.d.ts +15 -0
  174. package/types/serialization/types/index.d.ts +38 -10
  175. package/types/api/client/requests/ActorsGetRequest.d.ts +0 -3
  176. package/types/api/resources/pools/client/Client.d.ts +0 -57
  177. package/types/api/resources/pools/client/requests/PoolsDeleteRequest.d.ts +0 -3
  178. package/types/api/resources/pools/client/requests/PoolsGetRequest.d.ts +0 -3
  179. package/types/api/resources/pools/client/requests/PoolsUpsertRequest.d.ts +0 -8
  180. package/types/api/resources/pools/client/requests/index.d.ts +0 -5
  181. package/types/api/types/ActorsGetResponse.d.ts +0 -4
  182. package/types/api/types/AuthResourceKind.d.ts +0 -1
  183. package/types/api/types/AuthTargetScope.d.ts +0 -4
  184. package/types/api/types/ErrorResponse.d.ts +0 -10
  185. package/types/api/types/Node.d.ts +0 -18
  186. package/types/api/types/Pool.d.ts +0 -14
  187. package/types/api/types/PoolResponse.d.ts +0 -4
  188. package/types/api/types/PoolsDeleteResponse.d.ts +0 -1
  189. package/types/api/types/PoolsListNodesResponse.d.ts +0 -5
  190. package/types/api/types/PoolsListResponse.d.ts +0 -5
  191. package/types/serialization/types/ActorsGetResponse.d.ts +0 -10
  192. package/types/serialization/types/AuthResourceKind.d.ts +0 -7
  193. package/types/serialization/types/AuthTargetScope.d.ts +0 -10
  194. package/types/serialization/types/ErrorResponse.d.ts +0 -12
  195. package/types/serialization/types/Node.d.ts +0 -16
  196. package/types/serialization/types/Pool.d.ts +0 -14
  197. package/types/serialization/types/PoolResponse.d.ts +0 -10
  198. package/types/serialization/types/PoolsDeleteResponse.d.ts +0 -7
  199. package/types/serialization/types/PoolsListNodesResponse.d.ts +0 -12
  200. package/types/serialization/types/PoolsListResponse.d.ts +0 -12
  201. /package/types/api/resources/{pools → envoys}/client/index.d.ts +0 -0
  202. /package/types/api/resources/{pools → envoys}/index.d.ts +0 -0
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnerConfigResponse extends Rivet.RunnerConfig {
6
+ protocolVersion?: number;
7
+ runnerPoolError?: Record<string, unknown>;
8
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RunnerConfigServerless {
5
+ /** Seconds. */
6
+ actorEvictionDelay?: number;
7
+ /** Seconds. */
8
+ actorEvictionPeriod?: number;
9
+ /** Actors per second. */
10
+ actorEvictionRate?: number;
11
+ /** Seconds. */
12
+ drainGracePeriod?: number;
13
+ drainOnVersionUpgrade?: boolean;
14
+ headers?: Record<string, string>;
15
+ maxConcurrentActors?: number;
16
+ /** Deprecated. */
17
+ maxRunners?: number;
18
+ /** Milliseconds between metadata polling. If not set, uses the global default. */
19
+ metadataPollInterval?: number;
20
+ /** Deprecated. */
21
+ minRunners?: number;
22
+ /** Seconds. */
23
+ requestLifespan: number;
24
+ /** Deprecated. */
25
+ runnersMargin?: number;
26
+ /** Deprecated. */
27
+ slotsPerRunner?: number;
28
+ url: string;
29
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type RunnerConfigVariant = "serverless" | "normal";
5
+ export declare const RunnerConfigVariant: {
6
+ readonly Serverless: "serverless";
7
+ readonly Normal: "normal";
8
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type RunnerConfigsDeleteResponse = Record<string, unknown>;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnerConfigsListResponse {
6
+ pagination: Rivet.Pagination;
7
+ runnerConfigs: Record<string, Rivet.RunnerConfigsListResponseRunnerConfigsValue>;
8
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnerConfigsListResponseRunnerConfigsValue {
6
+ datacenters: Record<string, Rivet.RunnerConfigResponse>;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type RunnerConfigsRefreshMetadataRequestBody = Record<string, unknown>;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type RunnerConfigsRefreshMetadataResponse = Record<string, unknown>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export type RunnerConfigsServerlessHealthCheckResponse = Rivet.RunnerConfigsServerlessHealthCheckResponseSuccess | Rivet.RunnerConfigsServerlessHealthCheckResponseFailure;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnerConfigsServerlessHealthCheckResponseFailure {
6
+ failure: Rivet.RunnerConfigsServerlessHealthCheckResponseFailureFailure;
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnerConfigsServerlessHealthCheckResponseFailureFailure {
6
+ error: Rivet.RunnerConfigsServerlessMetadataError;
7
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnerConfigsServerlessHealthCheckResponseSuccess {
6
+ success: Rivet.RunnerConfigsServerlessHealthCheckResponseSuccessSuccess;
7
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RunnerConfigsServerlessHealthCheckResponseSuccessSuccess {
5
+ version: string;
6
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Wire-format envelope for serverless metadata errors.
6
+ *
7
+ * Surfaced to API clients with a stable `{message, details, metadata}` shape
8
+ * regardless of which internal `ServerlessMetadataError` variant produced it.
9
+ * `metadata.kind` discriminates the variant; per-variant fields live alongside
10
+ * `kind`.
11
+ */
12
+ export interface RunnerConfigsServerlessMetadataError {
13
+ details?: string;
14
+ message: string;
15
+ metadata?: unknown;
16
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface RunnerConfigsUpsertResponse {
5
+ endpointConfigChanged: boolean;
6
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnersListNamesResponse {
6
+ names: string[];
7
+ pagination: Rivet.Pagination;
8
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Rivet from "../index";
5
+ export interface RunnersListResponse {
6
+ pagination: Rivet.Pagination;
7
+ runners: Rivet.Runner[];
8
+ }
@@ -3,29 +3,57 @@ export * from "./ActorName";
3
3
  export * from "./ActorsCreateResponse";
4
4
  export * from "./ActorsDeleteResponse";
5
5
  export * from "./ActorsGetOrCreateResponse";
6
- export * from "./ActorsGetResponse";
6
+ export * from "./ActorsKvGetResponse";
7
7
  export * from "./ActorsListNamesResponse";
8
8
  export * from "./ActorsListResponse";
9
+ export * from "./ActorsRescheduleRequestBody";
9
10
  export * from "./ActorsRescheduleResponse";
11
+ export * from "./ActorsSleepRequestBody";
10
12
  export * from "./ActorsSleepResponse";
11
13
  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";
17
21
  export * from "./Datacenter";
22
+ export * from "./DatacenterHealth";
18
23
  export * from "./DatacentersListResponse";
19
- export * from "./ErrorResponse";
24
+ export * from "./Envoy";
25
+ export * from "./EnvoysListResponse";
26
+ export * from "./HealthFanoutResponse";
27
+ export * from "./HealthResponse";
28
+ export * from "./HealthStatus";
20
29
  export * from "./MetadataGetResponse";
21
30
  export * from "./Namespace";
22
31
  export * from "./NamespaceListResponse";
23
32
  export * from "./NamespacesCreateResponse";
24
- export * from "./Node";
25
33
  export * from "./Pagination";
26
- export * from "./Pool";
27
- export * from "./PoolResponse";
28
- export * from "./PoolsDeleteResponse";
29
- export * from "./PoolsListNodesResponse";
30
- export * from "./PoolsListResponse";
31
34
  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,12 +4,15 @@
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";
7
8
  export declare const ActorsCreateRequest: core.serialization.Schema<serializers.ActorsCreateRequest.Raw, Omit<Rivet.ActorsCreateRequest, "namespace">>;
8
9
  export declare namespace ActorsCreateRequest {
9
10
  interface Raw {
11
+ crash_policy: CrashPolicy.Raw;
12
+ datacenter?: string | null;
10
13
  input?: string | null;
11
14
  key?: string | null;
12
15
  name: string;
13
- pool?: string | null;
16
+ runner_name_selector: string;
14
17
  }
15
18
  }
@@ -4,12 +4,15 @@
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";
7
8
  export declare const ActorsGetOrCreateRequest: core.serialization.Schema<serializers.ActorsGetOrCreateRequest.Raw, Omit<Rivet.ActorsGetOrCreateRequest, "namespace">>;
8
9
  export declare namespace ActorsGetOrCreateRequest {
9
10
  interface Raw {
11
+ crash_policy: CrashPolicy.Raw;
12
+ datacenter?: string | null;
10
13
  input?: string | null;
11
- key?: string | null;
14
+ key: string;
12
15
  name: string;
13
- pool?: string | null;
16
+ runner_name_selector: string;
14
17
  }
15
18
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../index";
5
+ import * as Rivet from "../../../api/index";
6
+ import * as core from "../../../core";
7
+ export declare const RunnerConfigsServerlessHealthCheckRequest: core.serialization.Schema<serializers.RunnerConfigsServerlessHealthCheckRequest.Raw, Omit<Rivet.RunnerConfigsServerlessHealthCheckRequest, "namespace">>;
8
+ export declare namespace RunnerConfigsServerlessHealthCheckRequest {
9
+ interface Raw {
10
+ headers?: Record<string, string> | null;
11
+ url: string;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../index";
5
+ import * as Rivet from "../../../api/index";
6
+ import * as core from "../../../core";
7
+ import { RunnerConfig } from "../../types/RunnerConfig";
8
+ export declare const RunnerConfigsUpsertRequestBody: core.serialization.Schema<serializers.RunnerConfigsUpsertRequestBody.Raw, Omit<Rivet.RunnerConfigsUpsertRequestBody, "namespace">>;
9
+ export declare namespace RunnerConfigsUpsertRequestBody {
10
+ interface Raw {
11
+ datacenters: Record<string, RunnerConfig.Raw>;
12
+ }
13
+ }
@@ -1,2 +1,4 @@
1
1
  export { ActorsCreateRequest } from "./ActorsCreateRequest";
2
2
  export { ActorsGetOrCreateRequest } from "./ActorsGetOrCreateRequest";
3
+ export { RunnerConfigsServerlessHealthCheckRequest } from "./RunnerConfigsServerlessHealthCheckRequest";
4
+ export { RunnerConfigsUpsertRequestBody } from "./RunnerConfigsUpsertRequestBody";
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Rivet from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ import { AuthTokenGrant } from "../../../../types/AuthTokenGrant";
8
+ export declare const AuthTokenCreateRequest: core.serialization.Schema<serializers.AuthTokenCreateRequest.Raw, Rivet.AuthTokenCreateRequest>;
9
+ export declare namespace AuthTokenCreateRequest {
10
+ interface Raw {
11
+ duration?: number | null;
12
+ grants: AuthTokenGrant.Raw[];
13
+ namespace: string;
14
+ subject?: string | null;
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ export { AuthTokenCreateRequest } from "./AuthTokenCreateRequest";
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -1,2 +1,4 @@
1
+ export * as authTokens from "./authTokens";
2
+ export * from "./authTokens/client/requests";
1
3
  export * as namespaces from "./namespaces";
2
4
  export * from "./namespaces/client/requests";
@@ -7,6 +7,7 @@ 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;
10
11
  name: string;
11
12
  }
12
13
  }
@@ -1,21 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  import { RivetId } from "./RivetId";
8
+ import { CrashPolicy } from "./CrashPolicy";
5
9
  export declare const Actor: core.serialization.ObjectSchema<serializers.Actor.Raw, Rivet.Actor>;
6
10
  export declare namespace Actor {
7
11
  interface Raw {
8
12
  actor_id: RivetId.Raw;
9
- name: string;
10
- key: string;
11
- namespace: string;
12
- pool: string;
13
+ connectable_ts?: number | null;
14
+ crash_policy: CrashPolicy.Raw;
13
15
  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;
16
+ datacenter: string;
17
+ destroy_ts?: number | null;
18
+ error?: Record<string, unknown> | null;
19
+ key?: string | null;
20
+ name: string;
21
+ namespace_id: RivetId.Raw;
22
+ pending_allocation_ts?: number | null;
23
+ reschedule_ts?: number | null;
24
+ runner_name_selector: string;
25
+ sleep_ts?: number | null;
26
+ start_ts?: number | null;
20
27
  }
21
28
  }
@@ -1,3 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
@@ -1,3 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
@@ -6,6 +9,5 @@ export declare const ActorsCreateResponse: core.serialization.ObjectSchema<seria
6
9
  export declare namespace ActorsCreateResponse {
7
10
  interface Raw {
8
11
  actor: Actor.Raw;
9
- created: boolean;
10
12
  }
11
13
  }
@@ -1,7 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  export declare const ActorsDeleteResponse: core.serialization.Schema<serializers.ActorsDeleteResponse.Raw, Rivet.ActorsDeleteResponse>;
5
8
  export declare namespace ActorsDeleteResponse {
6
- type Raw = Record<string, never>;
9
+ type Raw = Record<string, unknown>;
7
10
  }
@@ -1,3 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Rivet from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ActorsKvGetResponse: core.serialization.ObjectSchema<serializers.ActorsKvGetResponse.Raw, Rivet.ActorsKvGetResponse>;
8
+ export declare namespace ActorsKvGetResponse {
9
+ interface Raw {
10
+ update_ts: number;
11
+ value: string;
12
+ }
13
+ }
@@ -1,10 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  import { ActorName } from "./ActorName";
8
+ import { Pagination } from "./Pagination";
5
9
  export declare const ActorsListNamesResponse: core.serialization.ObjectSchema<serializers.ActorsListNamesResponse.Raw, Rivet.ActorsListNamesResponse>;
6
10
  export declare namespace ActorsListNamesResponse {
7
11
  interface Raw {
8
12
  names: Record<string, ActorName.Raw>;
13
+ pagination: Pagination.Raw;
9
14
  }
10
15
  }
@@ -1,3 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
@@ -6,7 +9,7 @@ import { Pagination } from "./Pagination";
6
9
  export declare const ActorsListResponse: core.serialization.ObjectSchema<serializers.ActorsListResponse.Raw, Rivet.ActorsListResponse>;
7
10
  export declare namespace ActorsListResponse {
8
11
  interface Raw {
9
- actors: (Actor.Raw)[];
12
+ actors: Actor.Raw[];
10
13
  pagination: Pagination.Raw;
11
14
  }
12
15
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Rivet from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ActorsRescheduleRequestBody: core.serialization.Schema<serializers.ActorsRescheduleRequestBody.Raw, Rivet.ActorsRescheduleRequestBody>;
8
+ export declare namespace ActorsRescheduleRequestBody {
9
+ type Raw = Record<string, unknown>;
10
+ }
@@ -1,7 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  export declare const ActorsRescheduleResponse: core.serialization.Schema<serializers.ActorsRescheduleResponse.Raw, Rivet.ActorsRescheduleResponse>;
5
8
  export declare namespace ActorsRescheduleResponse {
6
- type Raw = Record<string, never>;
9
+ type Raw = Record<string, unknown>;
7
10
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Rivet from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const ActorsSleepRequestBody: core.serialization.Schema<serializers.ActorsSleepRequestBody.Raw, Rivet.ActorsSleepRequestBody>;
8
+ export declare namespace ActorsSleepRequestBody {
9
+ type Raw = Record<string, unknown>;
10
+ }
@@ -1,7 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  export declare const ActorsSleepResponse: core.serialization.Schema<serializers.ActorsSleepResponse.Raw, Rivet.ActorsSleepResponse>;
5
8
  export declare namespace ActorsSleepResponse {
6
- type Raw = Record<string, never>;
9
+ type Raw = Record<string, unknown>;
7
10
  }
@@ -1,3 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
@@ -1,11 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  export declare const AuthTokenCreateResponse: core.serialization.ObjectSchema<serializers.AuthTokenCreateResponse.Raw, Rivet.AuthTokenCreateResponse>;
5
8
  export declare namespace AuthTokenCreateResponse {
6
9
  interface Raw {
7
- token: string;
8
- issued_ts: number;
9
10
  expires_ts: number;
11
+ issued_ts: number;
12
+ token: string;
10
13
  }
11
14
  }
@@ -1,14 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  import { AuthOperationKind } from "./AuthOperationKind";
5
- import { AuthResourceKind } from "./AuthResourceKind";
6
- import { AuthTargetScope } from "./AuthTargetScope";
8
+ import { AuthTokenResource } from "./AuthTokenResource";
9
+ import { AuthTokenTargetScope } from "./AuthTokenTargetScope";
7
10
  export declare const AuthTokenGrant: core.serialization.ObjectSchema<serializers.AuthTokenGrant.Raw, Rivet.AuthTokenGrant>;
8
11
  export declare namespace AuthTokenGrant {
9
12
  interface Raw {
10
- resource: AuthResourceKind.Raw;
11
- target: AuthTargetScope.Raw;
12
- operations: (AuthOperationKind.Raw)[];
13
+ operations: AuthOperationKind.Raw[];
14
+ resource: AuthTokenResource.Raw;
15
+ target: AuthTokenTargetScope.Raw;
13
16
  }
14
17
  }
@@ -1,14 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
1
4
  import * as serializers from "../index";
2
5
  import * as Rivet from "../../api/index";
3
6
  import * as core from "../../core";
4
7
  import { AuthTokenGrant } from "./AuthTokenGrant";
8
+ import { RivetId } from "./RivetId";
5
9
  export declare const AuthTokenInspectResponse: core.serialization.ObjectSchema<serializers.AuthTokenInspectResponse.Raw, Rivet.AuthTokenInspectResponse>;
6
10
  export declare namespace AuthTokenInspectResponse {
7
11
  interface Raw {
8
- namespace: string;
9
- subject: string | null;
10
- grants: (AuthTokenGrant.Raw)[];
11
- issued_ts: number;
12
12
  expires_ts: number;
13
+ grants: AuthTokenGrant.Raw[];
14
+ issued_ts: number;
15
+ namespace_id: RivetId.Raw;
16
+ subject?: string | null;
13
17
  }
14
18
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Rivet from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const AuthTokenResource: core.serialization.Schema<serializers.AuthTokenResource.Raw, Rivet.AuthTokenResource>;
8
+ export declare namespace AuthTokenResource {
9
+ type Raw = "namespace" | "actor" | "runner" | "runner_config" | "datacenter" | "actor_gateway" | "actor_kv";
10
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Rivet from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { AuthTokenTargetScopeId } from "./AuthTokenTargetScopeId";
8
+ export declare const AuthTokenTargetScope: core.serialization.Schema<serializers.AuthTokenTargetScope.Raw, Rivet.AuthTokenTargetScope>;
9
+ export declare namespace AuthTokenTargetScope {
10
+ type Raw = "any" | AuthTokenTargetScopeId.Raw;
11
+ }