@rivetkit/engine-api-full 2.0.26 → 2.0.27

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.
@@ -2336,6 +2336,9 @@ function transformAndValidateUnion({
2336
2336
  };
2337
2337
  }
2338
2338
 
2339
+ // src/Client.ts
2340
+ var import_url_join6 = __toESM(require("url-join"));
2341
+
2339
2342
  // src/serialization/index.ts
2340
2343
  var serialization_exports = {};
2341
2344
  __export(serialization_exports, {
@@ -2782,9 +2785,6 @@ var NamespacesCreateRequest = schemas_exports.object({
2782
2785
  name: schemas_exports.string()
2783
2786
  });
2784
2787
 
2785
- // src/Client.ts
2786
- var import_url_join6 = __toESM(require("url-join"));
2787
-
2788
2788
  // src/errors/RivetError.ts
2789
2789
  var RivetError = class _RivetError extends Error {
2790
2790
  statusCode;
@@ -3038,7 +3038,7 @@ var Namespaces = class {
3038
3038
  * await client.namespaces.list()
3039
3039
  */
3040
3040
  async list(request = {}, requestOptions) {
3041
- const { limit, cursor, name, namespaceIds, namespaceId } = request;
3041
+ const { limit, cursor, name, namespaceIds } = request;
3042
3042
  const _queryParams = {};
3043
3043
  if (limit != null) {
3044
3044
  _queryParams["limit"] = limit.toString();
@@ -3052,15 +3052,6 @@ var Namespaces = class {
3052
3052
  if (namespaceIds != null) {
3053
3053
  _queryParams["namespace_ids"] = namespaceIds;
3054
3054
  }
3055
- if (namespaceId != null) {
3056
- if (Array.isArray(namespaceId)) {
3057
- _queryParams["namespace_id"] = namespaceId.map(
3058
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3059
- );
3060
- } else {
3061
- _queryParams["namespace_id"] = namespaceId;
3062
- }
3063
- }
3064
3055
  const _response = await (this._options.fetcher ?? fetcher)({
3065
3056
  url: (0, import_url_join4.default)(
3066
3057
  await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment),
@@ -3191,7 +3182,7 @@ var Runners = class {
3191
3182
  * })
3192
3183
  */
3193
3184
  async list(request, requestOptions) {
3194
- const { namespace, name, runnerIds, runnerId, includeStopped, limit, cursor } = request;
3185
+ const { namespace, name, runnerIds, includeStopped, limit, cursor } = request;
3195
3186
  const _queryParams = {};
3196
3187
  _queryParams["namespace"] = namespace;
3197
3188
  if (name != null) {
@@ -3200,15 +3191,6 @@ var Runners = class {
3200
3191
  if (runnerIds != null) {
3201
3192
  _queryParams["runner_ids"] = runnerIds;
3202
3193
  }
3203
- if (runnerId != null) {
3204
- if (Array.isArray(runnerId)) {
3205
- _queryParams["runner_id"] = runnerId.map(
3206
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3207
- );
3208
- } else {
3209
- _queryParams["runner_id"] = runnerId;
3210
- }
3211
- }
3212
3194
  if (includeStopped != null) {
3213
3195
  _queryParams["include_stopped"] = includeStopped.toString();
3214
3196
  }
@@ -3403,7 +3385,7 @@ var RivetClient = class {
3403
3385
  * })
3404
3386
  */
3405
3387
  async actorsList(request, requestOptions) {
3406
- const { namespace, name, key, actorIds, actorId, includeDestroyed, limit, cursor } = request;
3388
+ const { namespace, name, key, actorIds, includeDestroyed, limit, cursor } = request;
3407
3389
  const _queryParams = {};
3408
3390
  _queryParams["namespace"] = namespace;
3409
3391
  if (name != null) {
@@ -3415,15 +3397,6 @@ var RivetClient = class {
3415
3397
  if (actorIds != null) {
3416
3398
  _queryParams["actor_ids"] = actorIds;
3417
3399
  }
3418
- if (actorId != null) {
3419
- if (Array.isArray(actorId)) {
3420
- _queryParams["actor_id"] = actorId.map(
3421
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3422
- );
3423
- } else {
3424
- _queryParams["actor_id"] = actorId;
3425
- }
3426
- }
3427
3400
  if (includeDestroyed != null) {
3428
3401
  _queryParams["include_destroyed"] = includeDestroyed.toString();
3429
3402
  }
@@ -3868,7 +3841,7 @@ var RivetClient = class {
3868
3841
  * })
3869
3842
  */
3870
3843
  async runnerConfigsList(request, requestOptions) {
3871
- const { namespace, limit, cursor, variant, runnerNames, runnerName } = request;
3844
+ const { namespace, limit, cursor, variant, runnerNames } = request;
3872
3845
  const _queryParams = {};
3873
3846
  _queryParams["namespace"] = namespace;
3874
3847
  if (limit != null) {
@@ -3885,13 +3858,6 @@ var RivetClient = class {
3885
3858
  if (runnerNames != null) {
3886
3859
  _queryParams["runner_names"] = runnerNames;
3887
3860
  }
3888
- if (runnerName != null) {
3889
- if (Array.isArray(runnerName)) {
3890
- _queryParams["runner_name"] = runnerName.map((item) => item);
3891
- } else {
3892
- _queryParams["runner_name"] = runnerName;
3893
- }
3894
- }
3895
3861
  const _response = await (this._options.fetcher ?? fetcher)({
3896
3862
  url: (0, import_url_join6.default)(
3897
3863
  await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment),
@@ -2303,6 +2303,9 @@ function transformAndValidateUnion({
2303
2303
  };
2304
2304
  }
2305
2305
 
2306
+ // src/Client.ts
2307
+ import urlJoin6 from "url-join";
2308
+
2306
2309
  // src/serialization/index.ts
2307
2310
  var serialization_exports = {};
2308
2311
  __export(serialization_exports, {
@@ -2749,9 +2752,6 @@ var NamespacesCreateRequest = schemas_exports.object({
2749
2752
  name: schemas_exports.string()
2750
2753
  });
2751
2754
 
2752
- // src/Client.ts
2753
- import urlJoin6 from "url-join";
2754
-
2755
2755
  // src/errors/RivetError.ts
2756
2756
  var RivetError = class _RivetError extends Error {
2757
2757
  statusCode;
@@ -3005,7 +3005,7 @@ var Namespaces = class {
3005
3005
  * await client.namespaces.list()
3006
3006
  */
3007
3007
  async list(request = {}, requestOptions) {
3008
- const { limit, cursor, name, namespaceIds, namespaceId } = request;
3008
+ const { limit, cursor, name, namespaceIds } = request;
3009
3009
  const _queryParams = {};
3010
3010
  if (limit != null) {
3011
3011
  _queryParams["limit"] = limit.toString();
@@ -3019,15 +3019,6 @@ var Namespaces = class {
3019
3019
  if (namespaceIds != null) {
3020
3020
  _queryParams["namespace_ids"] = namespaceIds;
3021
3021
  }
3022
- if (namespaceId != null) {
3023
- if (Array.isArray(namespaceId)) {
3024
- _queryParams["namespace_id"] = namespaceId.map(
3025
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3026
- );
3027
- } else {
3028
- _queryParams["namespace_id"] = namespaceId;
3029
- }
3030
- }
3031
3022
  const _response = await (this._options.fetcher ?? fetcher)({
3032
3023
  url: urlJoin4(
3033
3024
  await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment),
@@ -3158,7 +3149,7 @@ var Runners = class {
3158
3149
  * })
3159
3150
  */
3160
3151
  async list(request, requestOptions) {
3161
- const { namespace, name, runnerIds, runnerId, includeStopped, limit, cursor } = request;
3152
+ const { namespace, name, runnerIds, includeStopped, limit, cursor } = request;
3162
3153
  const _queryParams = {};
3163
3154
  _queryParams["namespace"] = namespace;
3164
3155
  if (name != null) {
@@ -3167,15 +3158,6 @@ var Runners = class {
3167
3158
  if (runnerIds != null) {
3168
3159
  _queryParams["runner_ids"] = runnerIds;
3169
3160
  }
3170
- if (runnerId != null) {
3171
- if (Array.isArray(runnerId)) {
3172
- _queryParams["runner_id"] = runnerId.map(
3173
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3174
- );
3175
- } else {
3176
- _queryParams["runner_id"] = runnerId;
3177
- }
3178
- }
3179
3161
  if (includeStopped != null) {
3180
3162
  _queryParams["include_stopped"] = includeStopped.toString();
3181
3163
  }
@@ -3370,7 +3352,7 @@ var RivetClient = class {
3370
3352
  * })
3371
3353
  */
3372
3354
  async actorsList(request, requestOptions) {
3373
- const { namespace, name, key, actorIds, actorId, includeDestroyed, limit, cursor } = request;
3355
+ const { namespace, name, key, actorIds, includeDestroyed, limit, cursor } = request;
3374
3356
  const _queryParams = {};
3375
3357
  _queryParams["namespace"] = namespace;
3376
3358
  if (name != null) {
@@ -3382,15 +3364,6 @@ var RivetClient = class {
3382
3364
  if (actorIds != null) {
3383
3365
  _queryParams["actor_ids"] = actorIds;
3384
3366
  }
3385
- if (actorId != null) {
3386
- if (Array.isArray(actorId)) {
3387
- _queryParams["actor_id"] = actorId.map(
3388
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3389
- );
3390
- } else {
3391
- _queryParams["actor_id"] = actorId;
3392
- }
3393
- }
3394
3367
  if (includeDestroyed != null) {
3395
3368
  _queryParams["include_destroyed"] = includeDestroyed.toString();
3396
3369
  }
@@ -3835,7 +3808,7 @@ var RivetClient = class {
3835
3808
  * })
3836
3809
  */
3837
3810
  async runnerConfigsList(request, requestOptions) {
3838
- const { namespace, limit, cursor, variant, runnerNames, runnerName } = request;
3811
+ const { namespace, limit, cursor, variant, runnerNames } = request;
3839
3812
  const _queryParams = {};
3840
3813
  _queryParams["namespace"] = namespace;
3841
3814
  if (limit != null) {
@@ -3852,13 +3825,6 @@ var RivetClient = class {
3852
3825
  if (runnerNames != null) {
3853
3826
  _queryParams["runner_names"] = runnerNames;
3854
3827
  }
3855
- if (runnerName != null) {
3856
- if (Array.isArray(runnerName)) {
3857
- _queryParams["runner_name"] = runnerName.map((item) => item);
3858
- } else {
3859
- _queryParams["runner_name"] = runnerName;
3860
- }
3861
- }
3862
3828
  const _response = await (this._options.fetcher ?? fetcher)({
3863
3829
  url: urlJoin6(
3864
3830
  await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment),
@@ -2341,6 +2341,9 @@ function transformAndValidateUnion({
2341
2341
  };
2342
2342
  }
2343
2343
 
2344
+ // src/Client.ts
2345
+ var import_url_join6 = __toESM(require("url-join"));
2346
+
2344
2347
  // src/serialization/index.ts
2345
2348
  var serialization_exports = {};
2346
2349
  __export(serialization_exports, {
@@ -2787,9 +2790,6 @@ var NamespacesCreateRequest = schemas_exports.object({
2787
2790
  name: schemas_exports.string()
2788
2791
  });
2789
2792
 
2790
- // src/Client.ts
2791
- var import_url_join6 = __toESM(require("url-join"));
2792
-
2793
2793
  // src/errors/RivetError.ts
2794
2794
  var RivetError = class _RivetError extends Error {
2795
2795
  statusCode;
@@ -3043,7 +3043,7 @@ var Namespaces = class {
3043
3043
  * await client.namespaces.list()
3044
3044
  */
3045
3045
  async list(request = {}, requestOptions) {
3046
- const { limit, cursor, name, namespaceIds, namespaceId } = request;
3046
+ const { limit, cursor, name, namespaceIds } = request;
3047
3047
  const _queryParams = {};
3048
3048
  if (limit != null) {
3049
3049
  _queryParams["limit"] = limit.toString();
@@ -3057,15 +3057,6 @@ var Namespaces = class {
3057
3057
  if (namespaceIds != null) {
3058
3058
  _queryParams["namespace_ids"] = namespaceIds;
3059
3059
  }
3060
- if (namespaceId != null) {
3061
- if (Array.isArray(namespaceId)) {
3062
- _queryParams["namespace_id"] = namespaceId.map(
3063
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3064
- );
3065
- } else {
3066
- _queryParams["namespace_id"] = namespaceId;
3067
- }
3068
- }
3069
3060
  const _response = await (this._options.fetcher ?? fetcher)({
3070
3061
  url: (0, import_url_join4.default)(
3071
3062
  await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment),
@@ -3196,7 +3187,7 @@ var Runners = class {
3196
3187
  * })
3197
3188
  */
3198
3189
  async list(request, requestOptions) {
3199
- const { namespace, name, runnerIds, runnerId, includeStopped, limit, cursor } = request;
3190
+ const { namespace, name, runnerIds, includeStopped, limit, cursor } = request;
3200
3191
  const _queryParams = {};
3201
3192
  _queryParams["namespace"] = namespace;
3202
3193
  if (name != null) {
@@ -3205,15 +3196,6 @@ var Runners = class {
3205
3196
  if (runnerIds != null) {
3206
3197
  _queryParams["runner_ids"] = runnerIds;
3207
3198
  }
3208
- if (runnerId != null) {
3209
- if (Array.isArray(runnerId)) {
3210
- _queryParams["runner_id"] = runnerId.map(
3211
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3212
- );
3213
- } else {
3214
- _queryParams["runner_id"] = runnerId;
3215
- }
3216
- }
3217
3199
  if (includeStopped != null) {
3218
3200
  _queryParams["include_stopped"] = includeStopped.toString();
3219
3201
  }
@@ -3408,7 +3390,7 @@ var RivetClient = class {
3408
3390
  * })
3409
3391
  */
3410
3392
  async actorsList(request, requestOptions) {
3411
- const { namespace, name, key, actorIds, actorId, includeDestroyed, limit, cursor } = request;
3393
+ const { namespace, name, key, actorIds, includeDestroyed, limit, cursor } = request;
3412
3394
  const _queryParams = {};
3413
3395
  _queryParams["namespace"] = namespace;
3414
3396
  if (name != null) {
@@ -3420,15 +3402,6 @@ var RivetClient = class {
3420
3402
  if (actorIds != null) {
3421
3403
  _queryParams["actor_ids"] = actorIds;
3422
3404
  }
3423
- if (actorId != null) {
3424
- if (Array.isArray(actorId)) {
3425
- _queryParams["actor_id"] = actorId.map(
3426
- (item) => RivetId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" })
3427
- );
3428
- } else {
3429
- _queryParams["actor_id"] = actorId;
3430
- }
3431
- }
3432
3405
  if (includeDestroyed != null) {
3433
3406
  _queryParams["include_destroyed"] = includeDestroyed.toString();
3434
3407
  }
@@ -3873,7 +3846,7 @@ var RivetClient = class {
3873
3846
  * })
3874
3847
  */
3875
3848
  async runnerConfigsList(request, requestOptions) {
3876
- const { namespace, limit, cursor, variant, runnerNames, runnerName } = request;
3849
+ const { namespace, limit, cursor, variant, runnerNames } = request;
3877
3850
  const _queryParams = {};
3878
3851
  _queryParams["namespace"] = namespace;
3879
3852
  if (limit != null) {
@@ -3890,13 +3863,6 @@ var RivetClient = class {
3890
3863
  if (runnerNames != null) {
3891
3864
  _queryParams["runner_names"] = runnerNames;
3892
3865
  }
3893
- if (runnerName != null) {
3894
- if (Array.isArray(runnerName)) {
3895
- _queryParams["runner_name"] = runnerName.map((item) => item);
3896
- } else {
3897
- _queryParams["runner_name"] = runnerName;
3898
- }
3899
- }
3900
3866
  const _response = await (this._options.fetcher ?? fetcher)({
3901
3867
  url: (0, import_url_join6.default)(
3902
3868
  await Supplier.get(this._options.baseUrl) ?? await Supplier.get(this._options.environment),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/engine-api-full",
3
- "version": "2.0.26",
3
+ "version": "2.0.27",
4
4
  "repository": "https://github.com/rivet-gg/rivet/tree/main/sdks/typescript",
5
5
  "files": [
6
6
  "dist",
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Rivet from "../../index";
5
4
  /**
6
5
  * @example
7
6
  * {
@@ -12,11 +11,7 @@ export interface ActorsListRequest {
12
11
  namespace: string;
13
12
  name?: string;
14
13
  key?: string;
15
- /**
16
- * Deprecated.
17
- */
18
14
  actorIds?: string;
19
- actorId?: Rivet.RivetId | Rivet.RivetId[];
20
15
  includeDestroyed?: boolean;
21
16
  limit?: number;
22
17
  cursor?: string;
@@ -13,9 +13,5 @@ export interface RunnerConfigsListRequest {
13
13
  limit?: number;
14
14
  cursor?: string;
15
15
  variant?: Rivet.RunnerConfigVariant;
16
- /**
17
- * Deprecated.
18
- */
19
16
  runnerNames?: string;
20
- runnerName?: string | string[];
21
17
  }
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Rivet from "../../../../index";
5
4
  /**
6
5
  * @example
7
6
  * {}
@@ -10,9 +9,5 @@ export interface NamespacesListRequest {
10
9
  limit?: number;
11
10
  cursor?: string;
12
11
  name?: string;
13
- /**
14
- * Deprecated.
15
- */
16
12
  namespaceIds?: string;
17
- namespaceId?: Rivet.RivetId | Rivet.RivetId[];
18
13
  }
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Rivet from "../../../../index";
5
4
  /**
6
5
  * @example
7
6
  * {
@@ -11,11 +10,7 @@ import * as Rivet from "../../../../index";
11
10
  export interface RunnersListRequest {
12
11
  namespace: string;
13
12
  name?: string;
14
- /**
15
- * Deprecated.
16
- */
17
13
  runnerIds?: string;
18
- runnerId?: Rivet.RivetId | Rivet.RivetId[];
19
14
  includeStopped?: boolean;
20
15
  limit?: number;
21
16
  cursor?: string;