@seamapi/types 1.559.0 → 1.560.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 +215 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +297 -0
- package/dist/index.cjs +215 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +255 -0
- package/lib/seam/connect/openapi.js +215 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +42 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +222 -0
- package/src/lib/seam/connect/route-types.ts +42 -0
package/dist/connect.cjs
CHANGED
|
@@ -51577,6 +51577,221 @@ var openapi_default = {
|
|
|
51577
51577
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
51578
51578
|
}
|
|
51579
51579
|
},
|
|
51580
|
+
"/seam/customer/v1/reservations/list": {
|
|
51581
|
+
get: {
|
|
51582
|
+
description: "Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.",
|
|
51583
|
+
operationId: "seamCustomerV1ReservationsListGet",
|
|
51584
|
+
parameters: [
|
|
51585
|
+
{
|
|
51586
|
+
in: "query",
|
|
51587
|
+
name: "space_key",
|
|
51588
|
+
schema: {
|
|
51589
|
+
description: "Filter reservations by space key.",
|
|
51590
|
+
type: "string"
|
|
51591
|
+
}
|
|
51592
|
+
},
|
|
51593
|
+
{
|
|
51594
|
+
in: "query",
|
|
51595
|
+
name: "limit",
|
|
51596
|
+
schema: {
|
|
51597
|
+
default: 500,
|
|
51598
|
+
description: "Maximum number of records to return per page.",
|
|
51599
|
+
exclusiveMinimum: true,
|
|
51600
|
+
minimum: 0,
|
|
51601
|
+
type: "integer"
|
|
51602
|
+
}
|
|
51603
|
+
},
|
|
51604
|
+
{
|
|
51605
|
+
in: "query",
|
|
51606
|
+
name: "created_before",
|
|
51607
|
+
schema: {
|
|
51608
|
+
description: "Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.",
|
|
51609
|
+
format: "date-time",
|
|
51610
|
+
type: "string"
|
|
51611
|
+
}
|
|
51612
|
+
},
|
|
51613
|
+
{
|
|
51614
|
+
in: "query",
|
|
51615
|
+
name: "page_cursor",
|
|
51616
|
+
schema: {
|
|
51617
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
51618
|
+
nullable: true,
|
|
51619
|
+
type: "string"
|
|
51620
|
+
}
|
|
51621
|
+
}
|
|
51622
|
+
],
|
|
51623
|
+
responses: {
|
|
51624
|
+
200: {
|
|
51625
|
+
content: {
|
|
51626
|
+
"application/json": {
|
|
51627
|
+
schema: {
|
|
51628
|
+
properties: {
|
|
51629
|
+
ok: { type: "boolean" },
|
|
51630
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
51631
|
+
reservations: {
|
|
51632
|
+
items: {
|
|
51633
|
+
properties: {
|
|
51634
|
+
access_methods: {
|
|
51635
|
+
items: {
|
|
51636
|
+
$ref: "#/components/schemas/access_method"
|
|
51637
|
+
},
|
|
51638
|
+
type: "array"
|
|
51639
|
+
},
|
|
51640
|
+
created_at: { format: "date-time", type: "string" },
|
|
51641
|
+
ends_at: {
|
|
51642
|
+
format: "date-time",
|
|
51643
|
+
nullable: true,
|
|
51644
|
+
type: "string"
|
|
51645
|
+
},
|
|
51646
|
+
guest_name: { nullable: true, type: "string" },
|
|
51647
|
+
name: { nullable: true, type: "string" },
|
|
51648
|
+
reservation_id: { format: "uuid", type: "string" },
|
|
51649
|
+
reservation_key: { type: "string" },
|
|
51650
|
+
starts_at: {
|
|
51651
|
+
format: "date-time",
|
|
51652
|
+
nullable: true,
|
|
51653
|
+
type: "string"
|
|
51654
|
+
}
|
|
51655
|
+
},
|
|
51656
|
+
required: [
|
|
51657
|
+
"reservation_id",
|
|
51658
|
+
"reservation_key",
|
|
51659
|
+
"name",
|
|
51660
|
+
"starts_at",
|
|
51661
|
+
"ends_at",
|
|
51662
|
+
"created_at",
|
|
51663
|
+
"guest_name",
|
|
51664
|
+
"access_methods"
|
|
51665
|
+
],
|
|
51666
|
+
type: "object"
|
|
51667
|
+
},
|
|
51668
|
+
type: "array"
|
|
51669
|
+
}
|
|
51670
|
+
},
|
|
51671
|
+
required: ["reservations", "pagination", "ok"],
|
|
51672
|
+
type: "object"
|
|
51673
|
+
}
|
|
51674
|
+
}
|
|
51675
|
+
},
|
|
51676
|
+
description: "OK"
|
|
51677
|
+
},
|
|
51678
|
+
400: { description: "Bad Request" },
|
|
51679
|
+
401: { description: "Unauthorized" }
|
|
51680
|
+
},
|
|
51681
|
+
security: [{ client_session_with_customer: [] }],
|
|
51682
|
+
summary: "/seam/customer/v1/reservations/list",
|
|
51683
|
+
tags: [],
|
|
51684
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
51685
|
+
"x-fern-sdk-method-name": "list",
|
|
51686
|
+
"x-fern-sdk-return-value": "reservations",
|
|
51687
|
+
"x-response-key": "reservations",
|
|
51688
|
+
"x-title": "List Reservations for Customer Space",
|
|
51689
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
51690
|
+
},
|
|
51691
|
+
post: {
|
|
51692
|
+
description: "Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.",
|
|
51693
|
+
operationId: "seamCustomerV1ReservationsListPost",
|
|
51694
|
+
requestBody: {
|
|
51695
|
+
content: {
|
|
51696
|
+
"application/json": {
|
|
51697
|
+
schema: {
|
|
51698
|
+
properties: {
|
|
51699
|
+
created_before: {
|
|
51700
|
+
description: "Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.",
|
|
51701
|
+
format: "date-time",
|
|
51702
|
+
type: "string"
|
|
51703
|
+
},
|
|
51704
|
+
limit: {
|
|
51705
|
+
default: 500,
|
|
51706
|
+
description: "Maximum number of records to return per page.",
|
|
51707
|
+
exclusiveMinimum: true,
|
|
51708
|
+
minimum: 0,
|
|
51709
|
+
type: "integer"
|
|
51710
|
+
},
|
|
51711
|
+
page_cursor: {
|
|
51712
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
51713
|
+
nullable: true,
|
|
51714
|
+
type: "string"
|
|
51715
|
+
},
|
|
51716
|
+
space_key: {
|
|
51717
|
+
description: "Filter reservations by space key.",
|
|
51718
|
+
type: "string"
|
|
51719
|
+
}
|
|
51720
|
+
},
|
|
51721
|
+
type: "object"
|
|
51722
|
+
}
|
|
51723
|
+
}
|
|
51724
|
+
}
|
|
51725
|
+
},
|
|
51726
|
+
responses: {
|
|
51727
|
+
200: {
|
|
51728
|
+
content: {
|
|
51729
|
+
"application/json": {
|
|
51730
|
+
schema: {
|
|
51731
|
+
properties: {
|
|
51732
|
+
ok: { type: "boolean" },
|
|
51733
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
51734
|
+
reservations: {
|
|
51735
|
+
items: {
|
|
51736
|
+
properties: {
|
|
51737
|
+
access_methods: {
|
|
51738
|
+
items: {
|
|
51739
|
+
$ref: "#/components/schemas/access_method"
|
|
51740
|
+
},
|
|
51741
|
+
type: "array"
|
|
51742
|
+
},
|
|
51743
|
+
created_at: { format: "date-time", type: "string" },
|
|
51744
|
+
ends_at: {
|
|
51745
|
+
format: "date-time",
|
|
51746
|
+
nullable: true,
|
|
51747
|
+
type: "string"
|
|
51748
|
+
},
|
|
51749
|
+
guest_name: { nullable: true, type: "string" },
|
|
51750
|
+
name: { nullable: true, type: "string" },
|
|
51751
|
+
reservation_id: { format: "uuid", type: "string" },
|
|
51752
|
+
reservation_key: { type: "string" },
|
|
51753
|
+
starts_at: {
|
|
51754
|
+
format: "date-time",
|
|
51755
|
+
nullable: true,
|
|
51756
|
+
type: "string"
|
|
51757
|
+
}
|
|
51758
|
+
},
|
|
51759
|
+
required: [
|
|
51760
|
+
"reservation_id",
|
|
51761
|
+
"reservation_key",
|
|
51762
|
+
"name",
|
|
51763
|
+
"starts_at",
|
|
51764
|
+
"ends_at",
|
|
51765
|
+
"created_at",
|
|
51766
|
+
"guest_name",
|
|
51767
|
+
"access_methods"
|
|
51768
|
+
],
|
|
51769
|
+
type: "object"
|
|
51770
|
+
},
|
|
51771
|
+
type: "array"
|
|
51772
|
+
}
|
|
51773
|
+
},
|
|
51774
|
+
required: ["reservations", "pagination", "ok"],
|
|
51775
|
+
type: "object"
|
|
51776
|
+
}
|
|
51777
|
+
}
|
|
51778
|
+
},
|
|
51779
|
+
description: "OK"
|
|
51780
|
+
},
|
|
51781
|
+
400: { description: "Bad Request" },
|
|
51782
|
+
401: { description: "Unauthorized" }
|
|
51783
|
+
},
|
|
51784
|
+
security: [{ client_session_with_customer: [] }],
|
|
51785
|
+
summary: "/seam/customer/v1/reservations/list",
|
|
51786
|
+
tags: [],
|
|
51787
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
51788
|
+
"x-fern-sdk-method-name": "list",
|
|
51789
|
+
"x-fern-sdk-return-value": "reservations",
|
|
51790
|
+
"x-response-key": "reservations",
|
|
51791
|
+
"x-title": "List Reservations for Customer Space",
|
|
51792
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
51793
|
+
}
|
|
51794
|
+
},
|
|
51580
51795
|
"/seam/customer/v1/settings/get": {
|
|
51581
51796
|
get: {
|
|
51582
51797
|
description: "Retrieves the settings for a customer portal workspace.",
|