@rivetkit/engine-api-full 25.7.2-rc.1 → 25.7.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.
Files changed (100) hide show
  1. package/dist/browser/cjs/core.js +41 -0
  2. package/dist/browser/cjs/index.js +180 -573
  3. package/dist/browser/cjs/serialization.js +86 -107
  4. package/dist/browser/esm/core.js +41 -0
  5. package/dist/browser/esm/index.js +180 -573
  6. package/dist/browser/esm/serialization.js +86 -107
  7. package/dist/node/core.js +43 -0
  8. package/dist/node/index.js +180 -573
  9. package/dist/node/serialization.js +97 -123
  10. package/package.json +1 -1
  11. package/types/Client.d.ts +6 -77
  12. package/types/api/client/requests/index.d.ts +0 -3
  13. package/types/api/index.d.ts +1 -1
  14. package/types/api/resources/datacenters/client/Client.d.ts +2 -0
  15. package/types/api/resources/index.d.ts +3 -2
  16. package/types/api/resources/namespaces/client/Client.d.ts +3 -9
  17. package/types/api/resources/namespaces/client/requests/NamespacesListRequest.d.ts +1 -2
  18. package/types/api/resources/runnerConfigs/client/Client.d.ts +72 -0
  19. package/types/api/resources/runnerConfigs/client/requests/RunnerConfigsDeleteRequest.d.ts +12 -0
  20. package/types/api/resources/runnerConfigs/client/requests/RunnerConfigsListRequest.d.ts +17 -0
  21. package/types/api/resources/runnerConfigs/client/requests/RunnerConfigsUpsertRequest.d.ts +25 -0
  22. package/types/api/resources/runnerConfigs/client/requests/index.d.ts +3 -0
  23. package/types/api/resources/{namespacesRunnerConfigs → runnerConfigs}/index.d.ts +1 -0
  24. package/types/api/resources/runnerConfigs/types/RunnerConfigsUpsertRequestServerless.d.ts +13 -0
  25. package/types/api/resources/runnerConfigs/types/index.d.ts +1 -0
  26. package/types/api/resources/runners/client/Client.d.ts +2 -9
  27. package/types/api/resources/runners/client/requests/RunnersListRequest.d.ts +1 -0
  28. package/types/api/resources/runners/client/requests/index.d.ts +0 -1
  29. package/types/api/types/{NamespacesListResponse.d.ts → NamespaceListResponse.d.ts} +1 -1
  30. package/types/api/types/{ActorsGetByIdResponse.d.ts → RunnerConfig.d.ts} +2 -2
  31. package/types/api/types/{NamespacesRunnerConfigServerless.d.ts → RunnerConfigServerless.d.ts} +2 -1
  32. package/types/api/types/{NamespacesRunnerConfigVariant.d.ts → RunnerConfigVariant.d.ts} +1 -1
  33. package/types/api/types/RunnerConfigsDeleteResponse.d.ts +4 -0
  34. package/types/api/types/{NamespacesRunnerConfigsListResponse.d.ts → RunnerConfigsListResponse.d.ts} +2 -2
  35. package/types/api/types/RunnerConfigsUpsertResponse.d.ts +4 -0
  36. package/types/api/types/index.d.ts +7 -14
  37. package/types/core/auth/BasicAuth.d.ts +8 -0
  38. package/types/core/auth/BearerToken.d.ts +5 -0
  39. package/types/core/auth/index.d.ts +2 -0
  40. package/types/core/index.d.ts +1 -0
  41. package/types/serialization/client/requests/index.d.ts +0 -1
  42. package/types/serialization/index.d.ts +1 -1
  43. package/types/serialization/resources/index.d.ts +3 -0
  44. package/types/serialization/resources/runnerConfigs/client/index.d.ts +1 -0
  45. package/types/serialization/resources/runnerConfigs/client/requests/RunnerConfigsUpsertRequest.d.ts +13 -0
  46. package/types/serialization/resources/runnerConfigs/client/requests/index.d.ts +1 -0
  47. package/types/serialization/resources/runnerConfigs/index.d.ts +2 -0
  48. package/types/serialization/resources/runnerConfigs/types/RunnerConfigsUpsertRequestServerless.d.ts +18 -0
  49. package/types/serialization/resources/runnerConfigs/types/index.d.ts +1 -0
  50. package/types/serialization/types/{NamespacesListResponse.d.ts → NamespaceListResponse.d.ts} +2 -2
  51. package/types/serialization/types/RunnerConfig.d.ts +13 -0
  52. package/types/serialization/types/{NamespacesRunnerConfigServerless.d.ts → RunnerConfigServerless.d.ts} +3 -2
  53. package/types/serialization/types/{NamespacesRunnerConfigVariant.d.ts → RunnerConfigVariant.d.ts} +2 -2
  54. package/types/serialization/types/RunnerConfigsDeleteResponse.d.ts +10 -0
  55. package/types/serialization/types/RunnerConfigsListResponse.d.ts +15 -0
  56. package/types/serialization/types/RunnerConfigsUpsertResponse.d.ts +10 -0
  57. package/types/serialization/types/index.d.ts +7 -14
  58. package/types/api/client/requests/ActorsGetByIdRequest.d.ts +0 -16
  59. package/types/api/client/requests/ActorsGetOrCreateByIdRequest.d.ts +0 -23
  60. package/types/api/client/requests/ActorsGetRequest.d.ts +0 -10
  61. package/types/api/resources/namespacesRunnerConfigs/client/Client.d.ts +0 -73
  62. package/types/api/resources/namespacesRunnerConfigs/client/requests/NamespacesRunnerConfigsListRequest.d.ts +0 -13
  63. package/types/api/resources/namespacesRunnerConfigs/client/requests/index.d.ts +0 -1
  64. package/types/api/resources/runners/client/requests/RunnersGetRequest.d.ts +0 -10
  65. package/types/api/types/ActorLifecycle.d.ts +0 -7
  66. package/types/api/types/ActorsGetOrCreateByIdResponse.d.ts +0 -8
  67. package/types/api/types/ActorsGetResponse.d.ts +0 -7
  68. package/types/api/types/NamespacesGetResponse.d.ts +0 -7
  69. package/types/api/types/NamespacesRunnerConfig.d.ts +0 -7
  70. package/types/api/types/NamespacesRunnerConfigsDeleteResponse.d.ts +0 -4
  71. package/types/api/types/NamespacesRunnerConfigsGetResponse.d.ts +0 -7
  72. package/types/api/types/NamespacesRunnerConfigsUpsertRequest.d.ts +0 -5
  73. package/types/api/types/NamespacesRunnerConfigsUpsertResponse.d.ts +0 -4
  74. package/types/api/types/RunnersGetResponse.d.ts +0 -7
  75. package/types/api/types/StringHttpAddressHashableMap.d.ts +0 -5
  76. package/types/api/types/StringHttpAddressHashableMapValue.d.ts +0 -7
  77. package/types/api/types/StringTcpAddressHashableMap.d.ts +0 -5
  78. package/types/api/types/StringTcpAddressHashableMapValue.d.ts +0 -7
  79. package/types/api/types/StringUdpAddressHashableMap.d.ts +0 -5
  80. package/types/api/types/StringUdpAddressHashableMapValue.d.ts +0 -7
  81. package/types/serialization/client/requests/ActorsGetOrCreateByIdRequest.d.ts +0 -17
  82. package/types/serialization/types/ActorLifecycle.d.ts +0 -13
  83. package/types/serialization/types/ActorsGetByIdResponse.d.ts +0 -13
  84. package/types/serialization/types/ActorsGetOrCreateByIdResponse.d.ts +0 -14
  85. package/types/serialization/types/ActorsGetResponse.d.ts +0 -13
  86. package/types/serialization/types/NamespacesGetResponse.d.ts +0 -13
  87. package/types/serialization/types/NamespacesRunnerConfig.d.ts +0 -13
  88. package/types/serialization/types/NamespacesRunnerConfigsDeleteResponse.d.ts +0 -10
  89. package/types/serialization/types/NamespacesRunnerConfigsGetResponse.d.ts +0 -13
  90. package/types/serialization/types/NamespacesRunnerConfigsListResponse.d.ts +0 -15
  91. package/types/serialization/types/NamespacesRunnerConfigsUpsertRequest.d.ts +0 -11
  92. package/types/serialization/types/NamespacesRunnerConfigsUpsertResponse.d.ts +0 -10
  93. package/types/serialization/types/RunnersGetResponse.d.ts +0 -13
  94. package/types/serialization/types/StringHttpAddressHashableMap.d.ts +0 -11
  95. package/types/serialization/types/StringHttpAddressHashableMapValue.d.ts +0 -13
  96. package/types/serialization/types/StringTcpAddressHashableMap.d.ts +0 -11
  97. package/types/serialization/types/StringTcpAddressHashableMapValue.d.ts +0 -13
  98. package/types/serialization/types/StringUdpAddressHashableMap.d.ts +0 -11
  99. package/types/serialization/types/StringUdpAddressHashableMapValue.d.ts +0 -13
  100. /package/types/api/resources/{namespacesRunnerConfigs → runnerConfigs}/client/index.d.ts +0 -0
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rivet from "../index";
5
- export type NamespacesRunnerConfigsUpsertRequest = Rivet.NamespacesRunnerConfig;
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export type NamespacesRunnerConfigsUpsertResponse = Record<string, unknown>;
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rivet from "../index";
5
- export interface RunnersGetResponse {
6
- runner: Rivet.Runner;
7
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rivet from "../index";
5
- export type StringHttpAddressHashableMap = Record<string, Rivet.StringHttpAddressHashableMapValue>;
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface StringHttpAddressHashableMapValue {
5
- hostname: string;
6
- port: number;
7
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rivet from "../index";
5
- export type StringTcpAddressHashableMap = Record<string, Rivet.StringTcpAddressHashableMapValue>;
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface StringTcpAddressHashableMapValue {
5
- hostname: string;
6
- port: number;
7
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Rivet from "../index";
5
- export type StringUdpAddressHashableMap = Record<string, Rivet.StringUdpAddressHashableMapValue>;
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface StringUdpAddressHashableMapValue {
5
- hostname: string;
6
- port: number;
7
- }
@@ -1,17 +0,0 @@
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 { CrashPolicy } from "../../types/CrashPolicy";
8
- export declare const ActorsGetOrCreateByIdRequest: core.serialization.Schema<serializers.ActorsGetOrCreateByIdRequest.Raw, Omit<Rivet.ActorsGetOrCreateByIdRequest, "namespace" | "datacenter">>;
9
- export declare namespace ActorsGetOrCreateByIdRequest {
10
- interface Raw {
11
- crash_policy: CrashPolicy.Raw;
12
- input?: string | null;
13
- key: string;
14
- name: string;
15
- runner_name_selector: string;
16
- }
17
- }
@@ -1,13 +0,0 @@
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 ActorLifecycle: core.serialization.ObjectSchema<serializers.ActorLifecycle.Raw, Rivet.ActorLifecycle>;
8
- export declare namespace ActorLifecycle {
9
- interface Raw {
10
- durable: boolean;
11
- kill_timeout_ms: number;
12
- }
13
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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 { NamespacesRunnerConfigServerless } from "./NamespacesRunnerConfigServerless";
8
- export declare const NamespacesRunnerConfig: core.serialization.ObjectSchema<serializers.NamespacesRunnerConfig.Raw, Rivet.NamespacesRunnerConfig>;
9
- export declare namespace NamespacesRunnerConfig {
10
- interface Raw {
11
- serverless: NamespacesRunnerConfigServerless.Raw;
12
- }
13
- }
@@ -1,10 +0,0 @@
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 NamespacesRunnerConfigsDeleteResponse: core.serialization.Schema<serializers.NamespacesRunnerConfigsDeleteResponse.Raw, Rivet.NamespacesRunnerConfigsDeleteResponse>;
8
- export declare namespace NamespacesRunnerConfigsDeleteResponse {
9
- type Raw = Record<string, unknown>;
10
- }
@@ -1,13 +0,0 @@
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 { NamespacesRunnerConfig } from "./NamespacesRunnerConfig";
8
- export declare const NamespacesRunnerConfigsGetResponse: core.serialization.ObjectSchema<serializers.NamespacesRunnerConfigsGetResponse.Raw, Rivet.NamespacesRunnerConfigsGetResponse>;
9
- export declare namespace NamespacesRunnerConfigsGetResponse {
10
- interface Raw {
11
- runner_config: NamespacesRunnerConfig.Raw;
12
- }
13
- }
@@ -1,15 +0,0 @@
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 { NamespacesRunnerConfig } from "./NamespacesRunnerConfig";
9
- export declare const NamespacesRunnerConfigsListResponse: core.serialization.ObjectSchema<serializers.NamespacesRunnerConfigsListResponse.Raw, Rivet.NamespacesRunnerConfigsListResponse>;
10
- export declare namespace NamespacesRunnerConfigsListResponse {
11
- interface Raw {
12
- pagination: Pagination.Raw;
13
- runner_configs: Record<string, NamespacesRunnerConfig.Raw>;
14
- }
15
- }
@@ -1,11 +0,0 @@
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 { NamespacesRunnerConfig } from "./NamespacesRunnerConfig";
8
- export declare const NamespacesRunnerConfigsUpsertRequest: core.serialization.ObjectSchema<serializers.NamespacesRunnerConfigsUpsertRequest.Raw, Rivet.NamespacesRunnerConfigsUpsertRequest>;
9
- export declare namespace NamespacesRunnerConfigsUpsertRequest {
10
- type Raw = NamespacesRunnerConfig.Raw;
11
- }
@@ -1,10 +0,0 @@
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 NamespacesRunnerConfigsUpsertResponse: core.serialization.Schema<serializers.NamespacesRunnerConfigsUpsertResponse.Raw, Rivet.NamespacesRunnerConfigsUpsertResponse>;
8
- export declare namespace NamespacesRunnerConfigsUpsertResponse {
9
- type Raw = Record<string, unknown>;
10
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }