@rivetkit/engine-api-full 25.5.3

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 (192) hide show
  1. package/dist/browser/cjs/core.js +2297 -0
  2. package/dist/browser/cjs/index.js +3752 -0
  3. package/dist/browser/cjs/serialization.js +1744 -0
  4. package/dist/browser/esm/core.js +2271 -0
  5. package/dist/browser/esm/index.js +3726 -0
  6. package/dist/browser/esm/serialization.js +1717 -0
  7. package/dist/node/core.js +2310 -0
  8. package/dist/node/index.js +3765 -0
  9. package/dist/node/serialization.js +1782 -0
  10. package/package.json +59 -0
  11. package/types/Client.d.ts +241 -0
  12. package/types/api/client/index.d.ts +1 -0
  13. package/types/api/client/requests/ActorsCreateRequest.d.ts +22 -0
  14. package/types/api/client/requests/ActorsDeleteRequest.d.ts +10 -0
  15. package/types/api/client/requests/ActorsGetByIdRequest.d.ts +16 -0
  16. package/types/api/client/requests/ActorsGetOrCreateByIdRequest.d.ts +23 -0
  17. package/types/api/client/requests/ActorsGetOrCreateRequest.d.ts +23 -0
  18. package/types/api/client/requests/ActorsGetRequest.d.ts +10 -0
  19. package/types/api/client/requests/ActorsListNamesRequest.d.ts +14 -0
  20. package/types/api/client/requests/ActorsListRequest.d.ts +18 -0
  21. package/types/api/client/requests/index.d.ts +8 -0
  22. package/types/api/index.d.ts +3 -0
  23. package/types/api/resources/datacenters/client/Client.d.ts +34 -0
  24. package/types/api/resources/datacenters/client/index.d.ts +1 -0
  25. package/types/api/resources/datacenters/index.d.ts +1 -0
  26. package/types/api/resources/index.d.ts +5 -0
  27. package/types/api/resources/namespaces/client/Client.d.ts +54 -0
  28. package/types/api/resources/namespaces/client/index.d.ts +1 -0
  29. package/types/api/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +14 -0
  30. package/types/api/resources/namespaces/client/requests/NamespacesListRequest.d.ts +12 -0
  31. package/types/api/resources/namespaces/client/requests/index.d.ts +2 -0
  32. package/types/api/resources/namespaces/index.d.ts +1 -0
  33. package/types/api/resources/runners/client/Client.d.ts +61 -0
  34. package/types/api/resources/runners/client/index.d.ts +1 -0
  35. package/types/api/resources/runners/client/requests/RunnersGetRequest.d.ts +10 -0
  36. package/types/api/resources/runners/client/requests/RunnersListNamesRequest.d.ts +14 -0
  37. package/types/api/resources/runners/client/requests/RunnersListRequest.d.ts +16 -0
  38. package/types/api/resources/runners/client/requests/index.d.ts +3 -0
  39. package/types/api/resources/runners/index.d.ts +1 -0
  40. package/types/api/types/Actor.d.ts +19 -0
  41. package/types/api/types/ActorName.d.ts +6 -0
  42. package/types/api/types/ActorsCreateResponse.d.ts +7 -0
  43. package/types/api/types/ActorsDeleteResponse.d.ts +4 -0
  44. package/types/api/types/ActorsGetByIdResponse.d.ts +7 -0
  45. package/types/api/types/ActorsGetOrCreateByIdResponse.d.ts +8 -0
  46. package/types/api/types/ActorsGetOrCreateResponse.d.ts +8 -0
  47. package/types/api/types/ActorsGetResponse.d.ts +7 -0
  48. package/types/api/types/ActorsListNamesResponse.d.ts +8 -0
  49. package/types/api/types/ActorsListResponse.d.ts +8 -0
  50. package/types/api/types/CrashPolicy.d.ts +9 -0
  51. package/types/api/types/Datacenter.d.ts +8 -0
  52. package/types/api/types/DatacentersListResponse.d.ts +8 -0
  53. package/types/api/types/Namespace.d.ts +10 -0
  54. package/types/api/types/NamespacesCreateResponse.d.ts +7 -0
  55. package/types/api/types/NamespacesGetResponse.d.ts +7 -0
  56. package/types/api/types/NamespacesListResponse.d.ts +8 -0
  57. package/types/api/types/Pagination.d.ts +6 -0
  58. package/types/api/types/RivetId.d.ts +4 -0
  59. package/types/api/types/Runner.d.ts +24 -0
  60. package/types/api/types/RunnersGetResponse.d.ts +7 -0
  61. package/types/api/types/RunnersListNamesResponse.d.ts +8 -0
  62. package/types/api/types/RunnersListResponse.d.ts +8 -0
  63. package/types/api/types/StringHttpAddressHashableMap.d.ts +5 -0
  64. package/types/api/types/StringHttpAddressHashableMapValue.d.ts +7 -0
  65. package/types/api/types/StringTcpAddressHashableMap.d.ts +5 -0
  66. package/types/api/types/StringTcpAddressHashableMapValue.d.ts +7 -0
  67. package/types/api/types/StringUdpAddressHashableMap.d.ts +5 -0
  68. package/types/api/types/StringUdpAddressHashableMapValue.d.ts +7 -0
  69. package/types/api/types/index.d.ts +29 -0
  70. package/types/core/fetcher/APIResponse.d.ts +10 -0
  71. package/types/core/fetcher/Fetcher.d.ts +39 -0
  72. package/types/core/fetcher/Supplier.d.ts +4 -0
  73. package/types/core/fetcher/createRequestUrl.d.ts +1 -0
  74. package/types/core/fetcher/getFetchFn.d.ts +4 -0
  75. package/types/core/fetcher/getHeader.d.ts +1 -0
  76. package/types/core/fetcher/getRequestBody.d.ts +7 -0
  77. package/types/core/fetcher/getResponseBody.d.ts +1 -0
  78. package/types/core/fetcher/index.d.ts +5 -0
  79. package/types/core/fetcher/makeRequest.d.ts +1 -0
  80. package/types/core/fetcher/requestWithRetries.d.ts +1 -0
  81. package/types/core/fetcher/signals.d.ts +11 -0
  82. package/types/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
  83. package/types/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +21 -0
  84. package/types/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
  85. package/types/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
  86. package/types/core/index.d.ts +3 -0
  87. package/types/core/json.d.ts +15 -0
  88. package/types/core/runtime/index.d.ts +1 -0
  89. package/types/core/runtime/runtime.d.ts +9 -0
  90. package/types/core/schemas/Schema.d.ts +87 -0
  91. package/types/core/schemas/builders/bigint/bigint.d.ts +2 -0
  92. package/types/core/schemas/builders/bigint/index.d.ts +1 -0
  93. package/types/core/schemas/builders/date/date.d.ts +2 -0
  94. package/types/core/schemas/builders/date/index.d.ts +1 -0
  95. package/types/core/schemas/builders/enum/enum.d.ts +2 -0
  96. package/types/core/schemas/builders/enum/index.d.ts +1 -0
  97. package/types/core/schemas/builders/index.d.ts +14 -0
  98. package/types/core/schemas/builders/lazy/index.d.ts +3 -0
  99. package/types/core/schemas/builders/lazy/lazy.d.ts +5 -0
  100. package/types/core/schemas/builders/lazy/lazyObject.d.ts +3 -0
  101. package/types/core/schemas/builders/list/index.d.ts +1 -0
  102. package/types/core/schemas/builders/list/list.d.ts +2 -0
  103. package/types/core/schemas/builders/literals/booleanLiteral.d.ts +2 -0
  104. package/types/core/schemas/builders/literals/index.d.ts +2 -0
  105. package/types/core/schemas/builders/literals/stringLiteral.d.ts +2 -0
  106. package/types/core/schemas/builders/object/index.d.ts +6 -0
  107. package/types/core/schemas/builders/object/object.d.ts +3 -0
  108. package/types/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +6 -0
  109. package/types/core/schemas/builders/object/property.d.ts +8 -0
  110. package/types/core/schemas/builders/object/types.d.ts +31 -0
  111. package/types/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +9 -0
  112. package/types/core/schemas/builders/object-like/index.d.ts +2 -0
  113. package/types/core/schemas/builders/object-like/types.d.ts +7 -0
  114. package/types/core/schemas/builders/primitives/any.d.ts +1 -0
  115. package/types/core/schemas/builders/primitives/boolean.d.ts +1 -0
  116. package/types/core/schemas/builders/primitives/index.d.ts +5 -0
  117. package/types/core/schemas/builders/primitives/number.d.ts +1 -0
  118. package/types/core/schemas/builders/primitives/string.d.ts +1 -0
  119. package/types/core/schemas/builders/primitives/unknown.d.ts +1 -0
  120. package/types/core/schemas/builders/record/index.d.ts +2 -0
  121. package/types/core/schemas/builders/record/record.d.ts +3 -0
  122. package/types/core/schemas/builders/record/types.d.ts +4 -0
  123. package/types/core/schemas/builders/schema-utils/JsonError.d.ts +5 -0
  124. package/types/core/schemas/builders/schema-utils/ParseError.d.ts +5 -0
  125. package/types/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +21 -0
  126. package/types/core/schemas/builders/schema-utils/index.d.ts +4 -0
  127. package/types/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +2 -0
  128. package/types/core/schemas/builders/set/index.d.ts +1 -0
  129. package/types/core/schemas/builders/set/set.d.ts +2 -0
  130. package/types/core/schemas/builders/undiscriminated-union/index.d.ts +2 -0
  131. package/types/core/schemas/builders/undiscriminated-union/types.d.ts +4 -0
  132. package/types/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +3 -0
  133. package/types/core/schemas/builders/union/discriminant.d.ts +5 -0
  134. package/types/core/schemas/builders/union/index.d.ts +4 -0
  135. package/types/core/schemas/builders/union/types.d.ts +13 -0
  136. package/types/core/schemas/builders/union/union.d.ts +4 -0
  137. package/types/core/schemas/index.d.ts +2 -0
  138. package/types/core/schemas/utils/MaybePromise.d.ts +1 -0
  139. package/types/core/schemas/utils/addQuestionMarksToNullableProperties.d.ts +7 -0
  140. package/types/core/schemas/utils/createIdentitySchemaCreator.d.ts +2 -0
  141. package/types/core/schemas/utils/entries.d.ts +1 -0
  142. package/types/core/schemas/utils/filterObject.d.ts +1 -0
  143. package/types/core/schemas/utils/getErrorMessageForIncorrectType.d.ts +1 -0
  144. package/types/core/schemas/utils/isPlainObject.d.ts +1 -0
  145. package/types/core/schemas/utils/keys.d.ts +1 -0
  146. package/types/core/schemas/utils/maybeSkipValidation.d.ts +2 -0
  147. package/types/core/schemas/utils/partition.d.ts +1 -0
  148. package/types/errors/RivetError.d.ts +12 -0
  149. package/types/errors/RivetTimeoutError.d.ts +6 -0
  150. package/types/errors/index.d.ts +2 -0
  151. package/types/index.d.ts +4 -0
  152. package/types/serialization/client/index.d.ts +1 -0
  153. package/types/serialization/client/requests/ActorsCreateRequest.d.ts +17 -0
  154. package/types/serialization/client/requests/ActorsGetOrCreateByIdRequest.d.ts +17 -0
  155. package/types/serialization/client/requests/ActorsGetOrCreateRequest.d.ts +17 -0
  156. package/types/serialization/client/requests/index.d.ts +3 -0
  157. package/types/serialization/index.d.ts +3 -0
  158. package/types/serialization/resources/index.d.ts +2 -0
  159. package/types/serialization/resources/namespaces/client/index.d.ts +1 -0
  160. package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +13 -0
  161. package/types/serialization/resources/namespaces/client/requests/index.d.ts +1 -0
  162. package/types/serialization/resources/namespaces/index.d.ts +1 -0
  163. package/types/serialization/types/Actor.d.ts +26 -0
  164. package/types/serialization/types/ActorName.d.ts +12 -0
  165. package/types/serialization/types/ActorsCreateResponse.d.ts +13 -0
  166. package/types/serialization/types/ActorsDeleteResponse.d.ts +10 -0
  167. package/types/serialization/types/ActorsGetByIdResponse.d.ts +13 -0
  168. package/types/serialization/types/ActorsGetOrCreateByIdResponse.d.ts +14 -0
  169. package/types/serialization/types/ActorsGetOrCreateResponse.d.ts +14 -0
  170. package/types/serialization/types/ActorsGetResponse.d.ts +13 -0
  171. package/types/serialization/types/ActorsListNamesResponse.d.ts +15 -0
  172. package/types/serialization/types/ActorsListResponse.d.ts +15 -0
  173. package/types/serialization/types/CrashPolicy.d.ts +10 -0
  174. package/types/serialization/types/Datacenter.d.ts +14 -0
  175. package/types/serialization/types/DatacentersListResponse.d.ts +15 -0
  176. package/types/serialization/types/Namespace.d.ts +16 -0
  177. package/types/serialization/types/NamespacesCreateResponse.d.ts +13 -0
  178. package/types/serialization/types/NamespacesGetResponse.d.ts +13 -0
  179. package/types/serialization/types/NamespacesListResponse.d.ts +15 -0
  180. package/types/serialization/types/Pagination.d.ts +12 -0
  181. package/types/serialization/types/RivetId.d.ts +10 -0
  182. package/types/serialization/types/Runner.d.ts +33 -0
  183. package/types/serialization/types/RunnersGetResponse.d.ts +13 -0
  184. package/types/serialization/types/RunnersListNamesResponse.d.ts +14 -0
  185. package/types/serialization/types/RunnersListResponse.d.ts +15 -0
  186. package/types/serialization/types/StringHttpAddressHashableMap.d.ts +11 -0
  187. package/types/serialization/types/StringHttpAddressHashableMapValue.d.ts +13 -0
  188. package/types/serialization/types/StringTcpAddressHashableMap.d.ts +11 -0
  189. package/types/serialization/types/StringTcpAddressHashableMapValue.d.ts +13 -0
  190. package/types/serialization/types/StringUdpAddressHashableMap.d.ts +11 -0
  191. package/types/serialization/types/StringUdpAddressHashableMapValue.d.ts +13 -0
  192. package/types/serialization/types/index.d.ts +29 -0
@@ -0,0 +1,12 @@
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 ActorName: core.serialization.ObjectSchema<serializers.ActorName.Raw, Rivet.ActorName>;
8
+ export declare namespace ActorName {
9
+ interface Raw {
10
+ metadata: Record<string, unknown>;
11
+ }
12
+ }
@@ -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 { Actor } from "./Actor";
8
+ export declare const ActorsCreateResponse: core.serialization.ObjectSchema<serializers.ActorsCreateResponse.Raw, Rivet.ActorsCreateResponse>;
9
+ export declare namespace ActorsCreateResponse {
10
+ interface Raw {
11
+ actor: Actor.Raw;
12
+ }
13
+ }
@@ -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 ActorsDeleteResponse: core.serialization.Schema<serializers.ActorsDeleteResponse.Raw, Rivet.ActorsDeleteResponse>;
8
+ export declare namespace ActorsDeleteResponse {
9
+ type Raw = Record<string, unknown>;
10
+ }
@@ -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 { RivetId } from "./RivetId";
8
+ export declare const ActorsGetByIdResponse: core.serialization.ObjectSchema<serializers.ActorsGetByIdResponse.Raw, Rivet.ActorsGetByIdResponse>;
9
+ export declare namespace ActorsGetByIdResponse {
10
+ interface Raw {
11
+ actor_id?: RivetId.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,14 @@
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 { RivetId } from "./RivetId";
8
+ export declare const ActorsGetOrCreateByIdResponse: core.serialization.ObjectSchema<serializers.ActorsGetOrCreateByIdResponse.Raw, Rivet.ActorsGetOrCreateByIdResponse>;
9
+ export declare namespace ActorsGetOrCreateByIdResponse {
10
+ interface Raw {
11
+ actor_id: RivetId.Raw;
12
+ created: boolean;
13
+ }
14
+ }
@@ -0,0 +1,14 @@
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 { Actor } from "./Actor";
8
+ export declare const ActorsGetOrCreateResponse: core.serialization.ObjectSchema<serializers.ActorsGetOrCreateResponse.Raw, Rivet.ActorsGetOrCreateResponse>;
9
+ export declare namespace ActorsGetOrCreateResponse {
10
+ interface Raw {
11
+ actor: Actor.Raw;
12
+ created: boolean;
13
+ }
14
+ }
@@ -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 { Actor } from "./Actor";
8
+ export declare const ActorsGetResponse: core.serialization.ObjectSchema<serializers.ActorsGetResponse.Raw, Rivet.ActorsGetResponse>;
9
+ export declare namespace ActorsGetResponse {
10
+ interface Raw {
11
+ actor: Actor.Raw;
12
+ }
13
+ }
@@ -0,0 +1,15 @@
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 { ActorName } from "./ActorName";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const ActorsListNamesResponse: core.serialization.ObjectSchema<serializers.ActorsListNamesResponse.Raw, Rivet.ActorsListNamesResponse>;
10
+ export declare namespace ActorsListNamesResponse {
11
+ interface Raw {
12
+ names: Record<string, ActorName.Raw>;
13
+ pagination: Pagination.Raw;
14
+ }
15
+ }
@@ -0,0 +1,15 @@
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 { Actor } from "./Actor";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const ActorsListResponse: core.serialization.ObjectSchema<serializers.ActorsListResponse.Raw, Rivet.ActorsListResponse>;
10
+ export declare namespace ActorsListResponse {
11
+ interface Raw {
12
+ actors: Actor.Raw[];
13
+ pagination: Pagination.Raw;
14
+ }
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 CrashPolicy: core.serialization.Schema<serializers.CrashPolicy.Raw, Rivet.CrashPolicy>;
8
+ export declare namespace CrashPolicy {
9
+ type Raw = "restart" | "sleep" | "destroy";
10
+ }
@@ -0,0 +1,14 @@
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 Datacenter: core.serialization.ObjectSchema<serializers.Datacenter.Raw, Rivet.Datacenter>;
8
+ export declare namespace Datacenter {
9
+ interface Raw {
10
+ datacenter_label: number;
11
+ name: string;
12
+ url: string;
13
+ }
14
+ }
@@ -0,0 +1,15 @@
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 { Datacenter } from "./Datacenter";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const DatacentersListResponse: core.serialization.ObjectSchema<serializers.DatacentersListResponse.Raw, Rivet.DatacentersListResponse>;
10
+ export declare namespace DatacentersListResponse {
11
+ interface Raw {
12
+ datacenters: Datacenter.Raw[];
13
+ pagination: Pagination.Raw;
14
+ }
15
+ }
@@ -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 { RivetId } from "./RivetId";
8
+ export declare const Namespace: core.serialization.ObjectSchema<serializers.Namespace.Raw, Rivet.Namespace>;
9
+ export declare namespace Namespace {
10
+ interface Raw {
11
+ create_ts: number;
12
+ display_name: string;
13
+ name: string;
14
+ namespace_id: RivetId.Raw;
15
+ }
16
+ }
@@ -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 { Namespace } from "./Namespace";
8
+ export declare const NamespacesCreateResponse: core.serialization.ObjectSchema<serializers.NamespacesCreateResponse.Raw, Rivet.NamespacesCreateResponse>;
9
+ export declare namespace NamespacesCreateResponse {
10
+ interface Raw {
11
+ namespace: Namespace.Raw;
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 { Namespace } from "./Namespace";
8
+ export declare const NamespacesGetResponse: core.serialization.ObjectSchema<serializers.NamespacesGetResponse.Raw, Rivet.NamespacesGetResponse>;
9
+ export declare namespace NamespacesGetResponse {
10
+ interface Raw {
11
+ namespace: Namespace.Raw;
12
+ }
13
+ }
@@ -0,0 +1,15 @@
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 { Namespace } from "./Namespace";
8
+ import { Pagination } from "./Pagination";
9
+ export declare const NamespacesListResponse: core.serialization.ObjectSchema<serializers.NamespacesListResponse.Raw, Rivet.NamespacesListResponse>;
10
+ export declare namespace NamespacesListResponse {
11
+ interface Raw {
12
+ namespaces: Namespace.Raw[];
13
+ pagination: Pagination.Raw;
14
+ }
15
+ }
@@ -0,0 +1,12 @@
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 Pagination: core.serialization.ObjectSchema<serializers.Pagination.Raw, Rivet.Pagination>;
8
+ export declare namespace Pagination {
9
+ interface Raw {
10
+ cursor?: string | null;
11
+ }
12
+ }
@@ -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 RivetId: core.serialization.Schema<serializers.RivetId.Raw, Rivet.RivetId>;
8
+ export declare namespace RivetId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,33 @@
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 { StringHttpAddressHashableMap } from "./StringHttpAddressHashableMap";
8
+ import { StringTcpAddressHashableMap } from "./StringTcpAddressHashableMap";
9
+ import { StringUdpAddressHashableMap } from "./StringUdpAddressHashableMap";
10
+ import { RivetId } from "./RivetId";
11
+ export declare const Runner: core.serialization.ObjectSchema<serializers.Runner.Raw, Rivet.Runner>;
12
+ export declare namespace Runner {
13
+ interface Raw {
14
+ addresses_http: StringHttpAddressHashableMap.Raw;
15
+ addresses_tcp: StringTcpAddressHashableMap.Raw;
16
+ addresses_udp: StringUdpAddressHashableMap.Raw;
17
+ create_ts: number;
18
+ datacenter: string;
19
+ drain_ts?: number | null;
20
+ key: string;
21
+ last_connected_ts?: number | null;
22
+ last_ping_ts: number;
23
+ last_rtt: number;
24
+ metadata?: Record<string, unknown> | null;
25
+ name: string;
26
+ namespace_id: RivetId.Raw;
27
+ remaining_slots: number;
28
+ runner_id: RivetId.Raw;
29
+ stop_ts?: number | null;
30
+ total_slots: number;
31
+ version: number;
32
+ }
33
+ }
@@ -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 { Runner } from "./Runner";
8
+ export declare const RunnersGetResponse: core.serialization.ObjectSchema<serializers.RunnersGetResponse.Raw, Rivet.RunnersGetResponse>;
9
+ export declare namespace RunnersGetResponse {
10
+ interface Raw {
11
+ runner: Runner.Raw;
12
+ }
13
+ }
@@ -0,0 +1,14 @@
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 { Pagination } from "./Pagination";
8
+ export declare const RunnersListNamesResponse: core.serialization.ObjectSchema<serializers.RunnersListNamesResponse.Raw, Rivet.RunnersListNamesResponse>;
9
+ export declare namespace RunnersListNamesResponse {
10
+ interface Raw {
11
+ names: string[];
12
+ pagination: Pagination.Raw;
13
+ }
14
+ }
@@ -0,0 +1,15 @@
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 { Pagination } from "./Pagination";
8
+ import { Runner } from "./Runner";
9
+ export declare const RunnersListResponse: core.serialization.ObjectSchema<serializers.RunnersListResponse.Raw, Rivet.RunnersListResponse>;
10
+ export declare namespace RunnersListResponse {
11
+ interface Raw {
12
+ pagination: Pagination.Raw;
13
+ runners: Runner.Raw[];
14
+ }
15
+ }
@@ -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 { StringHttpAddressHashableMapValue } from "./StringHttpAddressHashableMapValue";
8
+ export declare const StringHttpAddressHashableMap: core.serialization.Schema<serializers.StringHttpAddressHashableMap.Raw, Rivet.StringHttpAddressHashableMap>;
9
+ export declare namespace StringHttpAddressHashableMap {
10
+ type Raw = Record<string, StringHttpAddressHashableMapValue.Raw>;
11
+ }
@@ -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 StringHttpAddressHashableMapValue: core.serialization.ObjectSchema<serializers.StringHttpAddressHashableMapValue.Raw, Rivet.StringHttpAddressHashableMapValue>;
8
+ export declare namespace StringHttpAddressHashableMapValue {
9
+ interface Raw {
10
+ hostname: string;
11
+ port: number;
12
+ }
13
+ }
@@ -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 { StringTcpAddressHashableMapValue } from "./StringTcpAddressHashableMapValue";
8
+ export declare const StringTcpAddressHashableMap: core.serialization.Schema<serializers.StringTcpAddressHashableMap.Raw, Rivet.StringTcpAddressHashableMap>;
9
+ export declare namespace StringTcpAddressHashableMap {
10
+ type Raw = Record<string, StringTcpAddressHashableMapValue.Raw>;
11
+ }
@@ -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 StringTcpAddressHashableMapValue: core.serialization.ObjectSchema<serializers.StringTcpAddressHashableMapValue.Raw, Rivet.StringTcpAddressHashableMapValue>;
8
+ export declare namespace StringTcpAddressHashableMapValue {
9
+ interface Raw {
10
+ hostname: string;
11
+ port: number;
12
+ }
13
+ }
@@ -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 { StringUdpAddressHashableMapValue } from "./StringUdpAddressHashableMapValue";
8
+ export declare const StringUdpAddressHashableMap: core.serialization.Schema<serializers.StringUdpAddressHashableMap.Raw, Rivet.StringUdpAddressHashableMap>;
9
+ export declare namespace StringUdpAddressHashableMap {
10
+ type Raw = Record<string, StringUdpAddressHashableMapValue.Raw>;
11
+ }
@@ -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 StringUdpAddressHashableMapValue: core.serialization.ObjectSchema<serializers.StringUdpAddressHashableMapValue.Raw, Rivet.StringUdpAddressHashableMapValue>;
8
+ export declare namespace StringUdpAddressHashableMapValue {
9
+ interface Raw {
10
+ hostname: string;
11
+ port: number;
12
+ }
13
+ }
@@ -0,0 +1,29 @@
1
+ export * from "./Actor";
2
+ export * from "./ActorName";
3
+ export * from "./ActorsCreateResponse";
4
+ export * from "./ActorsDeleteResponse";
5
+ export * from "./ActorsGetByIdResponse";
6
+ export * from "./ActorsGetOrCreateByIdResponse";
7
+ export * from "./ActorsGetOrCreateResponse";
8
+ export * from "./ActorsGetResponse";
9
+ export * from "./ActorsListNamesResponse";
10
+ export * from "./ActorsListResponse";
11
+ export * from "./CrashPolicy";
12
+ export * from "./Datacenter";
13
+ export * from "./DatacentersListResponse";
14
+ export * from "./Namespace";
15
+ export * from "./NamespacesCreateResponse";
16
+ export * from "./NamespacesGetResponse";
17
+ export * from "./NamespacesListResponse";
18
+ export * from "./Pagination";
19
+ export * from "./RivetId";
20
+ export * from "./Runner";
21
+ export * from "./RunnersGetResponse";
22
+ export * from "./RunnersListNamesResponse";
23
+ export * from "./RunnersListResponse";
24
+ export * from "./StringHttpAddressHashableMapValue";
25
+ export * from "./StringHttpAddressHashableMap";
26
+ export * from "./StringTcpAddressHashableMapValue";
27
+ export * from "./StringTcpAddressHashableMap";
28
+ export * from "./StringUdpAddressHashableMapValue";
29
+ export * from "./StringUdpAddressHashableMap";