@seamapi/types 1.504.0 → 1.506.0

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.
@@ -90525,7 +90525,6 @@ declare const _default: {
90525
90525
  parameters: ({
90526
90526
  in: string;
90527
90527
  name: string;
90528
- required: boolean;
90529
90528
  schema: {
90530
90529
  description: string;
90531
90530
  items: {
@@ -90538,7 +90537,18 @@ declare const _default: {
90538
90537
  } | {
90539
90538
  in: string;
90540
90539
  name: string;
90541
- required: boolean;
90540
+ schema: {
90541
+ description: string;
90542
+ items: {
90543
+ type: string;
90544
+ format?: never;
90545
+ enum?: never;
90546
+ };
90547
+ type: string;
90548
+ };
90549
+ } | {
90550
+ in: string;
90551
+ name: string;
90542
90552
  schema: {
90543
90553
  items: {
90544
90554
  enum: string[];
@@ -90667,8 +90677,14 @@ declare const _default: {
90667
90677
  };
90668
90678
  type: string;
90669
90679
  };
90680
+ space_keys: {
90681
+ description: string;
90682
+ items: {
90683
+ type: string;
90684
+ };
90685
+ type: string;
90686
+ };
90670
90687
  };
90671
- required: string[];
90672
90688
  type: string;
90673
90689
  };
90674
90690
  };
@@ -158292,7 +158308,9 @@ type Routes = {
158292
158308
  jsonBody: {};
158293
158309
  commonParams: {
158294
158310
  /** IDs of the spaces that you want to get along with their related resources. */
158295
- space_ids: string[];
158311
+ space_ids?: string[] | undefined;
158312
+ /** Keys of the spaces that you want to get along with their related resources. */
158313
+ space_keys?: string[] | undefined;
158296
158314
  include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems')[] | undefined;
158297
158315
  exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems')[] | undefined;
158298
158316
  };
package/dist/index.cjs CHANGED
@@ -51327,17 +51327,24 @@ var openapi_default = {
51327
51327
  {
51328
51328
  in: "query",
51329
51329
  name: "space_ids",
51330
- required: true,
51331
51330
  schema: {
51332
51331
  description: "IDs of the spaces that you want to get along with their related resources.",
51333
51332
  items: { format: "uuid", type: "string" },
51334
51333
  type: "array"
51335
51334
  }
51336
51335
  },
51336
+ {
51337
+ in: "query",
51338
+ name: "space_keys",
51339
+ schema: {
51340
+ description: "Keys of the spaces that you want to get along with their related resources.",
51341
+ items: { type: "string" },
51342
+ type: "array"
51343
+ }
51344
+ },
51337
51345
  {
51338
51346
  in: "query",
51339
51347
  name: "include",
51340
- required: false,
51341
51348
  schema: {
51342
51349
  items: {
51343
51350
  enum: [
@@ -51355,7 +51362,6 @@ var openapi_default = {
51355
51362
  {
51356
51363
  in: "query",
51357
51364
  name: "exclude",
51358
- required: false,
51359
51365
  schema: {
51360
51366
  items: {
51361
51367
  enum: [
@@ -51472,9 +51478,13 @@ var openapi_default = {
51472
51478
  description: "IDs of the spaces that you want to get along with their related resources.",
51473
51479
  items: { format: "uuid", type: "string" },
51474
51480
  type: "array"
51481
+ },
51482
+ space_keys: {
51483
+ description: "Keys of the spaces that you want to get along with their related resources.",
51484
+ items: { type: "string" },
51485
+ type: "array"
51475
51486
  }
51476
51487
  },
51477
- required: ["space_ids"],
51478
51488
  type: "object"
51479
51489
  }
51480
51490
  }
@@ -58865,7 +58875,7 @@ var openapi_default = {
58865
58875
  "x-fern-sdk-group-name": ["workspaces"],
58866
58876
  "x-fern-sdk-method-name": "update",
58867
58877
  "x-response-key": null,
58868
- "x-title": "Udpate a Workspace"
58878
+ "x-title": "Update a Workspace"
58869
58879
  },
58870
58880
  post: {
58871
58881
  description: "Updates the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the authentication value.",
@@ -58935,7 +58945,7 @@ var openapi_default = {
58935
58945
  "x-fern-sdk-group-name": ["workspaces"],
58936
58946
  "x-fern-sdk-method-name": "update",
58937
58947
  "x-response-key": null,
58938
- "x-title": "Udpate a Workspace"
58948
+ "x-title": "Update a Workspace"
58939
58949
  }
58940
58950
  }
58941
58951
  },