@seamapi/types 1.761.0 → 1.763.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 +130 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +327 -0
- package/dist/index.cjs +130 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +151 -0
- package/lib/seam/connect/openapi.js +130 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +135 -0
- package/src/lib/seam/connect/route-types.ts +188 -0
package/dist/connect.cjs
CHANGED
|
@@ -61627,6 +61627,12 @@ var openapi_default = {
|
|
|
61627
61627
|
items: { type: "string" },
|
|
61628
61628
|
type: "array"
|
|
61629
61629
|
},
|
|
61630
|
+
properties_before: {
|
|
61631
|
+
additionalProperties: {
|
|
61632
|
+
$ref: "#/components/schemas/access_code"
|
|
61633
|
+
},
|
|
61634
|
+
type: "object"
|
|
61635
|
+
},
|
|
61630
61636
|
properties_updated: {
|
|
61631
61637
|
additionalProperties: {
|
|
61632
61638
|
$ref: "#/components/schemas/access_code"
|
|
@@ -62012,6 +62018,12 @@ var openapi_default = {
|
|
|
62012
62018
|
items: { type: "string" },
|
|
62013
62019
|
type: "array"
|
|
62014
62020
|
},
|
|
62021
|
+
properties_before: {
|
|
62022
|
+
additionalProperties: {
|
|
62023
|
+
$ref: "#/components/schemas/access_code"
|
|
62024
|
+
},
|
|
62025
|
+
type: "object"
|
|
62026
|
+
},
|
|
62015
62027
|
properties_updated: {
|
|
62016
62028
|
additionalProperties: {
|
|
62017
62029
|
$ref: "#/components/schemas/access_code"
|
|
@@ -68855,6 +68867,124 @@ var openapi_default = {
|
|
|
68855
68867
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
68856
68868
|
}
|
|
68857
68869
|
},
|
|
68870
|
+
"/seam/customer/v1/reservations/list_access_grants": {
|
|
68871
|
+
get: {
|
|
68872
|
+
description: "Lists access grants linked to a reservation by reservation_key.",
|
|
68873
|
+
operationId: "seamCustomerV1ReservationsListAccessGrantsGet",
|
|
68874
|
+
parameters: [
|
|
68875
|
+
{
|
|
68876
|
+
in: "query",
|
|
68877
|
+
name: "customer_key",
|
|
68878
|
+
required: false,
|
|
68879
|
+
schema: {
|
|
68880
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
68881
|
+
type: "string"
|
|
68882
|
+
}
|
|
68883
|
+
},
|
|
68884
|
+
{
|
|
68885
|
+
in: "query",
|
|
68886
|
+
name: "reservation_key",
|
|
68887
|
+
required: true,
|
|
68888
|
+
schema: {
|
|
68889
|
+
description: "The reservation_key to filter access grants by.",
|
|
68890
|
+
type: "string"
|
|
68891
|
+
}
|
|
68892
|
+
}
|
|
68893
|
+
],
|
|
68894
|
+
responses: {
|
|
68895
|
+
200: {
|
|
68896
|
+
content: {
|
|
68897
|
+
"application/json": {
|
|
68898
|
+
schema: {
|
|
68899
|
+
properties: {
|
|
68900
|
+
access_grants: {
|
|
68901
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
68902
|
+
type: "array"
|
|
68903
|
+
},
|
|
68904
|
+
ok: { type: "boolean" }
|
|
68905
|
+
},
|
|
68906
|
+
required: ["access_grants", "ok"],
|
|
68907
|
+
type: "object"
|
|
68908
|
+
}
|
|
68909
|
+
}
|
|
68910
|
+
},
|
|
68911
|
+
description: "OK"
|
|
68912
|
+
},
|
|
68913
|
+
400: { description: "Bad Request" },
|
|
68914
|
+
401: { description: "Unauthorized" }
|
|
68915
|
+
},
|
|
68916
|
+
security: [
|
|
68917
|
+
{ client_session_with_customer: [] },
|
|
68918
|
+
{ console_session_with_workspace: [] }
|
|
68919
|
+
],
|
|
68920
|
+
summary: "/seam/customer/v1/reservations/list_access_grants",
|
|
68921
|
+
tags: [],
|
|
68922
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
68923
|
+
"x-fern-sdk-method-name": "list_access_grants",
|
|
68924
|
+
"x-fern-sdk-return-value": "access_grants",
|
|
68925
|
+
"x-response-key": "access_grants",
|
|
68926
|
+
"x-title": "List Access Grants for Reservation",
|
|
68927
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
68928
|
+
},
|
|
68929
|
+
post: {
|
|
68930
|
+
description: "Lists access grants linked to a reservation by reservation_key.",
|
|
68931
|
+
operationId: "seamCustomerV1ReservationsListAccessGrantsPost",
|
|
68932
|
+
requestBody: {
|
|
68933
|
+
content: {
|
|
68934
|
+
"application/json": {
|
|
68935
|
+
schema: {
|
|
68936
|
+
properties: {
|
|
68937
|
+
customer_key: {
|
|
68938
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
68939
|
+
type: "string"
|
|
68940
|
+
},
|
|
68941
|
+
reservation_key: {
|
|
68942
|
+
description: "The reservation_key to filter access grants by.",
|
|
68943
|
+
type: "string"
|
|
68944
|
+
}
|
|
68945
|
+
},
|
|
68946
|
+
required: ["reservation_key"],
|
|
68947
|
+
type: "object"
|
|
68948
|
+
}
|
|
68949
|
+
}
|
|
68950
|
+
}
|
|
68951
|
+
},
|
|
68952
|
+
responses: {
|
|
68953
|
+
200: {
|
|
68954
|
+
content: {
|
|
68955
|
+
"application/json": {
|
|
68956
|
+
schema: {
|
|
68957
|
+
properties: {
|
|
68958
|
+
access_grants: {
|
|
68959
|
+
items: { $ref: "#/components/schemas/access_grant" },
|
|
68960
|
+
type: "array"
|
|
68961
|
+
},
|
|
68962
|
+
ok: { type: "boolean" }
|
|
68963
|
+
},
|
|
68964
|
+
required: ["access_grants", "ok"],
|
|
68965
|
+
type: "object"
|
|
68966
|
+
}
|
|
68967
|
+
}
|
|
68968
|
+
},
|
|
68969
|
+
description: "OK"
|
|
68970
|
+
},
|
|
68971
|
+
400: { description: "Bad Request" },
|
|
68972
|
+
401: { description: "Unauthorized" }
|
|
68973
|
+
},
|
|
68974
|
+
security: [
|
|
68975
|
+
{ client_session_with_customer: [] },
|
|
68976
|
+
{ console_session_with_workspace: [] }
|
|
68977
|
+
],
|
|
68978
|
+
summary: "/seam/customer/v1/reservations/list_access_grants",
|
|
68979
|
+
tags: [],
|
|
68980
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
68981
|
+
"x-fern-sdk-method-name": "list_access_grants",
|
|
68982
|
+
"x-fern-sdk-return-value": "access_grants",
|
|
68983
|
+
"x-response-key": "access_grants",
|
|
68984
|
+
"x-title": "List Access Grants for Reservation",
|
|
68985
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
68986
|
+
}
|
|
68987
|
+
},
|
|
68858
68988
|
"/seam/customer/v1/settings/business_verticals/list": {
|
|
68859
68989
|
get: {
|
|
68860
68990
|
description: "Returns all available business verticals.",
|