@seamapi/types 1.592.0 → 1.593.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.
package/dist/connect.cjs CHANGED
@@ -54476,6 +54476,135 @@ var openapi_default = {
54476
54476
  "x-title": "Create a Space"
54477
54477
  }
54478
54478
  },
54479
+ "/seam/customer/v1/spaces/list": {
54480
+ get: {
54481
+ description: "Returns a list of all spaces.",
54482
+ operationId: "seamCustomerV1SpacesListGet",
54483
+ parameters: [
54484
+ {
54485
+ in: "query",
54486
+ name: "search",
54487
+ schema: {
54488
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
54489
+ minLength: 1,
54490
+ type: "string"
54491
+ }
54492
+ },
54493
+ {
54494
+ in: "query",
54495
+ name: "connected_account_id",
54496
+ schema: {
54497
+ description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
54498
+ format: "uuid",
54499
+ type: "string",
54500
+ "x-draft": "Needs review.",
54501
+ "x-undocumented": "Only used internally."
54502
+ }
54503
+ },
54504
+ {
54505
+ in: "query",
54506
+ name: "space_key",
54507
+ schema: {
54508
+ description: "Filter spaces by space_key.",
54509
+ type: "string"
54510
+ }
54511
+ }
54512
+ ],
54513
+ responses: {
54514
+ 200: {
54515
+ content: {
54516
+ "application/json": {
54517
+ schema: {
54518
+ properties: {
54519
+ ok: { type: "boolean" },
54520
+ spaces: {
54521
+ items: { $ref: "#/components/schemas/space" },
54522
+ type: "array"
54523
+ }
54524
+ },
54525
+ required: ["spaces", "ok"],
54526
+ type: "object"
54527
+ }
54528
+ }
54529
+ },
54530
+ description: "OK"
54531
+ },
54532
+ 400: { description: "Bad Request" },
54533
+ 401: { description: "Unauthorized" }
54534
+ },
54535
+ security: [{ client_session_with_customer: [] }],
54536
+ summary: "/seam/customer/v1/spaces/list",
54537
+ tags: [],
54538
+ "x-draft": "Early access.",
54539
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "spaces"],
54540
+ "x-fern-sdk-method-name": "list",
54541
+ "x-fern-sdk-return-value": "spaces",
54542
+ "x-response-key": "spaces",
54543
+ "x-title": "List Spaces"
54544
+ },
54545
+ post: {
54546
+ description: "Returns a list of all spaces.",
54547
+ operationId: "seamCustomerV1SpacesListPost",
54548
+ requestBody: {
54549
+ content: {
54550
+ "application/json": {
54551
+ schema: {
54552
+ properties: {
54553
+ connected_account_id: {
54554
+ description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
54555
+ format: "uuid",
54556
+ type: "string",
54557
+ "x-draft": "Needs review.",
54558
+ "x-undocumented": "Only used internally."
54559
+ },
54560
+ search: {
54561
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
54562
+ minLength: 1,
54563
+ type: "string"
54564
+ },
54565
+ space_key: {
54566
+ description: "Filter spaces by space_key.",
54567
+ type: "string"
54568
+ }
54569
+ },
54570
+ type: "object"
54571
+ }
54572
+ }
54573
+ }
54574
+ },
54575
+ responses: {
54576
+ 200: {
54577
+ content: {
54578
+ "application/json": {
54579
+ schema: {
54580
+ properties: {
54581
+ ok: { type: "boolean" },
54582
+ spaces: {
54583
+ items: { $ref: "#/components/schemas/space" },
54584
+ type: "array"
54585
+ }
54586
+ },
54587
+ required: ["spaces", "ok"],
54588
+ type: "object"
54589
+ }
54590
+ }
54591
+ },
54592
+ description: "OK"
54593
+ },
54594
+ 400: { description: "Bad Request" },
54595
+ 401: { description: "Unauthorized" }
54596
+ },
54597
+ security: [{ client_session_with_customer: [] }],
54598
+ summary: "/seam/customer/v1/spaces/list",
54599
+ tags: [],
54600
+ "x-draft": "Early access.",
54601
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "spaces"],
54602
+ "x-fern-sdk-method-name": "list",
54603
+ "x-fern-sdk-return-value": "spaces",
54604
+ "x-response-key": "spaces",
54605
+ "x-title": "List Spaces"
54606
+ }
54607
+ },
54479
54608
  "/seam/instant_key/v1/client_sessions/exchange_short_code": {
54480
54609
  post: {
54481
54610
  description: "Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.",