@seamapi/types 1.559.0 → 1.561.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 +400 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +532 -0
- package/dist/index.cjs +400 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +459 -0
- package/lib/seam/connect/openapi.js +400 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +73 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +409 -0
- package/src/lib/seam/connect/route-types.ts +73 -0
|
@@ -58017,6 +58017,79 @@ export type Routes = {
|
|
|
58017
58017
|
};
|
|
58018
58018
|
};
|
|
58019
58019
|
};
|
|
58020
|
+
'/seam/customer/v1/reservations/get': {
|
|
58021
|
+
route: '/seam/customer/v1/reservations/get';
|
|
58022
|
+
method: 'GET' | 'POST';
|
|
58023
|
+
queryParams: {};
|
|
58024
|
+
jsonBody: {};
|
|
58025
|
+
commonParams: {
|
|
58026
|
+
/** ID of the reservation to retrieve. */
|
|
58027
|
+
reservation_id?: string | undefined;
|
|
58028
|
+
/** Key of the reservation to retrieve. */
|
|
58029
|
+
reservation_key?: string | undefined;
|
|
58030
|
+
};
|
|
58031
|
+
formData: {};
|
|
58032
|
+
jsonResponse: {
|
|
58033
|
+
reservation: {
|
|
58034
|
+
reservation_id: string;
|
|
58035
|
+
reservation_key: string;
|
|
58036
|
+
name: string | null;
|
|
58037
|
+
starts_at: string | null;
|
|
58038
|
+
ends_at: string | null;
|
|
58039
|
+
created_at: string;
|
|
58040
|
+
guest_name: string | null;
|
|
58041
|
+
access_methods: {
|
|
58042
|
+
access_method_id: string;
|
|
58043
|
+
mode: string;
|
|
58044
|
+
is_issued: boolean;
|
|
58045
|
+
}[];
|
|
58046
|
+
};
|
|
58047
|
+
};
|
|
58048
|
+
};
|
|
58049
|
+
'/seam/customer/v1/reservations/list': {
|
|
58050
|
+
route: '/seam/customer/v1/reservations/list';
|
|
58051
|
+
method: 'GET' | 'POST';
|
|
58052
|
+
queryParams: {};
|
|
58053
|
+
jsonBody: {};
|
|
58054
|
+
commonParams: {
|
|
58055
|
+
/** Filter reservations by space key. */
|
|
58056
|
+
space_key?: string | undefined;
|
|
58057
|
+
/** Filter reservations by space ID (UUID). */
|
|
58058
|
+
space_id?: string | undefined;
|
|
58059
|
+
/** Maximum number of records to return per page. */
|
|
58060
|
+
limit?: number;
|
|
58061
|
+
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
58062
|
+
created_before?: Date | undefined;
|
|
58063
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
58064
|
+
page_cursor?: ((string | undefined) | null) | undefined;
|
|
58065
|
+
};
|
|
58066
|
+
formData: {};
|
|
58067
|
+
jsonResponse: {
|
|
58068
|
+
reservations: {
|
|
58069
|
+
reservation_id: string;
|
|
58070
|
+
reservation_key: string;
|
|
58071
|
+
name: string | null;
|
|
58072
|
+
starts_at: string | null;
|
|
58073
|
+
ends_at: string | null;
|
|
58074
|
+
created_at: string;
|
|
58075
|
+
guest_name: string | null;
|
|
58076
|
+
access_methods: {
|
|
58077
|
+
access_method_id: string;
|
|
58078
|
+
mode: string;
|
|
58079
|
+
is_issued: boolean;
|
|
58080
|
+
}[];
|
|
58081
|
+
}[];
|
|
58082
|
+
/** Information about the current page of results. */
|
|
58083
|
+
pagination: {
|
|
58084
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
58085
|
+
next_page_cursor: string | null;
|
|
58086
|
+
/** Indicates whether there is another page of results after this one. */
|
|
58087
|
+
has_next_page: boolean;
|
|
58088
|
+
/** URL to get the next page of results. */
|
|
58089
|
+
next_page_url: string | null;
|
|
58090
|
+
};
|
|
58091
|
+
};
|
|
58092
|
+
};
|
|
58020
58093
|
'/seam/customer/v1/settings/get': {
|
|
58021
58094
|
route: '/seam/customer/v1/settings/get';
|
|
58022
58095
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -49837,6 +49837,415 @@ export default {
|
|
|
49837
49837
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
49838
49838
|
},
|
|
49839
49839
|
},
|
|
49840
|
+
'/seam/customer/v1/reservations/get': {
|
|
49841
|
+
get: {
|
|
49842
|
+
description:
|
|
49843
|
+
'Returns a single reservation for a specific customer by reservation ID.',
|
|
49844
|
+
operationId: 'seamCustomerV1ReservationsGetGet',
|
|
49845
|
+
parameters: [
|
|
49846
|
+
{
|
|
49847
|
+
in: 'query',
|
|
49848
|
+
name: 'reservation_id',
|
|
49849
|
+
schema: {
|
|
49850
|
+
description: 'ID of the reservation to retrieve.',
|
|
49851
|
+
format: 'uuid',
|
|
49852
|
+
type: 'string',
|
|
49853
|
+
},
|
|
49854
|
+
},
|
|
49855
|
+
{
|
|
49856
|
+
in: 'query',
|
|
49857
|
+
name: 'reservation_key',
|
|
49858
|
+
schema: {
|
|
49859
|
+
description: 'Key of the reservation to retrieve.',
|
|
49860
|
+
type: 'string',
|
|
49861
|
+
},
|
|
49862
|
+
},
|
|
49863
|
+
],
|
|
49864
|
+
responses: {
|
|
49865
|
+
200: {
|
|
49866
|
+
content: {
|
|
49867
|
+
'application/json': {
|
|
49868
|
+
schema: {
|
|
49869
|
+
properties: {
|
|
49870
|
+
ok: { type: 'boolean' },
|
|
49871
|
+
reservation: {
|
|
49872
|
+
properties: {
|
|
49873
|
+
access_methods: {
|
|
49874
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
49875
|
+
type: 'array',
|
|
49876
|
+
},
|
|
49877
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
49878
|
+
ends_at: {
|
|
49879
|
+
format: 'date-time',
|
|
49880
|
+
nullable: true,
|
|
49881
|
+
type: 'string',
|
|
49882
|
+
},
|
|
49883
|
+
guest_name: { nullable: true, type: 'string' },
|
|
49884
|
+
name: { nullable: true, type: 'string' },
|
|
49885
|
+
reservation_id: { format: 'uuid', type: 'string' },
|
|
49886
|
+
reservation_key: { type: 'string' },
|
|
49887
|
+
starts_at: {
|
|
49888
|
+
format: 'date-time',
|
|
49889
|
+
nullable: true,
|
|
49890
|
+
type: 'string',
|
|
49891
|
+
},
|
|
49892
|
+
},
|
|
49893
|
+
required: [
|
|
49894
|
+
'reservation_id',
|
|
49895
|
+
'reservation_key',
|
|
49896
|
+
'name',
|
|
49897
|
+
'starts_at',
|
|
49898
|
+
'ends_at',
|
|
49899
|
+
'created_at',
|
|
49900
|
+
'guest_name',
|
|
49901
|
+
'access_methods',
|
|
49902
|
+
],
|
|
49903
|
+
type: 'object',
|
|
49904
|
+
},
|
|
49905
|
+
},
|
|
49906
|
+
required: ['reservation', 'ok'],
|
|
49907
|
+
type: 'object',
|
|
49908
|
+
},
|
|
49909
|
+
},
|
|
49910
|
+
},
|
|
49911
|
+
description: 'OK',
|
|
49912
|
+
},
|
|
49913
|
+
400: { description: 'Bad Request' },
|
|
49914
|
+
401: { description: 'Unauthorized' },
|
|
49915
|
+
},
|
|
49916
|
+
security: [{ client_session_with_customer: [] }],
|
|
49917
|
+
summary: '/seam/customer/v1/reservations/get',
|
|
49918
|
+
tags: [],
|
|
49919
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
49920
|
+
'x-fern-sdk-method-name': 'get',
|
|
49921
|
+
'x-fern-sdk-return-value': 'reservation',
|
|
49922
|
+
'x-response-key': 'reservation',
|
|
49923
|
+
'x-title': 'Get Reservation for Customer',
|
|
49924
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
49925
|
+
},
|
|
49926
|
+
post: {
|
|
49927
|
+
description:
|
|
49928
|
+
'Returns a single reservation for a specific customer by reservation ID.',
|
|
49929
|
+
operationId: 'seamCustomerV1ReservationsGetPost',
|
|
49930
|
+
requestBody: {
|
|
49931
|
+
content: {
|
|
49932
|
+
'application/json': {
|
|
49933
|
+
schema: {
|
|
49934
|
+
properties: {
|
|
49935
|
+
reservation_id: {
|
|
49936
|
+
description: 'ID of the reservation to retrieve.',
|
|
49937
|
+
format: 'uuid',
|
|
49938
|
+
type: 'string',
|
|
49939
|
+
},
|
|
49940
|
+
reservation_key: {
|
|
49941
|
+
description: 'Key of the reservation to retrieve.',
|
|
49942
|
+
type: 'string',
|
|
49943
|
+
},
|
|
49944
|
+
},
|
|
49945
|
+
type: 'object',
|
|
49946
|
+
},
|
|
49947
|
+
},
|
|
49948
|
+
},
|
|
49949
|
+
},
|
|
49950
|
+
responses: {
|
|
49951
|
+
200: {
|
|
49952
|
+
content: {
|
|
49953
|
+
'application/json': {
|
|
49954
|
+
schema: {
|
|
49955
|
+
properties: {
|
|
49956
|
+
ok: { type: 'boolean' },
|
|
49957
|
+
reservation: {
|
|
49958
|
+
properties: {
|
|
49959
|
+
access_methods: {
|
|
49960
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
49961
|
+
type: 'array',
|
|
49962
|
+
},
|
|
49963
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
49964
|
+
ends_at: {
|
|
49965
|
+
format: 'date-time',
|
|
49966
|
+
nullable: true,
|
|
49967
|
+
type: 'string',
|
|
49968
|
+
},
|
|
49969
|
+
guest_name: { nullable: true, type: 'string' },
|
|
49970
|
+
name: { nullable: true, type: 'string' },
|
|
49971
|
+
reservation_id: { format: 'uuid', type: 'string' },
|
|
49972
|
+
reservation_key: { type: 'string' },
|
|
49973
|
+
starts_at: {
|
|
49974
|
+
format: 'date-time',
|
|
49975
|
+
nullable: true,
|
|
49976
|
+
type: 'string',
|
|
49977
|
+
},
|
|
49978
|
+
},
|
|
49979
|
+
required: [
|
|
49980
|
+
'reservation_id',
|
|
49981
|
+
'reservation_key',
|
|
49982
|
+
'name',
|
|
49983
|
+
'starts_at',
|
|
49984
|
+
'ends_at',
|
|
49985
|
+
'created_at',
|
|
49986
|
+
'guest_name',
|
|
49987
|
+
'access_methods',
|
|
49988
|
+
],
|
|
49989
|
+
type: 'object',
|
|
49990
|
+
},
|
|
49991
|
+
},
|
|
49992
|
+
required: ['reservation', 'ok'],
|
|
49993
|
+
type: 'object',
|
|
49994
|
+
},
|
|
49995
|
+
},
|
|
49996
|
+
},
|
|
49997
|
+
description: 'OK',
|
|
49998
|
+
},
|
|
49999
|
+
400: { description: 'Bad Request' },
|
|
50000
|
+
401: { description: 'Unauthorized' },
|
|
50001
|
+
},
|
|
50002
|
+
security: [{ client_session_with_customer: [] }],
|
|
50003
|
+
summary: '/seam/customer/v1/reservations/get',
|
|
50004
|
+
tags: [],
|
|
50005
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
50006
|
+
'x-fern-sdk-method-name': 'get',
|
|
50007
|
+
'x-fern-sdk-return-value': 'reservation',
|
|
50008
|
+
'x-response-key': 'reservation',
|
|
50009
|
+
'x-title': 'Get Reservation for Customer',
|
|
50010
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50011
|
+
},
|
|
50012
|
+
},
|
|
50013
|
+
'/seam/customer/v1/reservations/list': {
|
|
50014
|
+
get: {
|
|
50015
|
+
description:
|
|
50016
|
+
'Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.',
|
|
50017
|
+
operationId: 'seamCustomerV1ReservationsListGet',
|
|
50018
|
+
parameters: [
|
|
50019
|
+
{
|
|
50020
|
+
in: 'query',
|
|
50021
|
+
name: 'space_key',
|
|
50022
|
+
schema: {
|
|
50023
|
+
description: 'Filter reservations by space key.',
|
|
50024
|
+
type: 'string',
|
|
50025
|
+
},
|
|
50026
|
+
},
|
|
50027
|
+
{
|
|
50028
|
+
in: 'query',
|
|
50029
|
+
name: 'space_id',
|
|
50030
|
+
schema: {
|
|
50031
|
+
description: 'Filter reservations by space ID (UUID).',
|
|
50032
|
+
format: 'uuid',
|
|
50033
|
+
type: 'string',
|
|
50034
|
+
},
|
|
50035
|
+
},
|
|
50036
|
+
{
|
|
50037
|
+
in: 'query',
|
|
50038
|
+
name: 'limit',
|
|
50039
|
+
schema: {
|
|
50040
|
+
default: 500,
|
|
50041
|
+
description: 'Maximum number of records to return per page.',
|
|
50042
|
+
exclusiveMinimum: true,
|
|
50043
|
+
minimum: 0,
|
|
50044
|
+
type: 'integer',
|
|
50045
|
+
},
|
|
50046
|
+
},
|
|
50047
|
+
{
|
|
50048
|
+
in: 'query',
|
|
50049
|
+
name: 'created_before',
|
|
50050
|
+
schema: {
|
|
50051
|
+
description:
|
|
50052
|
+
'Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.',
|
|
50053
|
+
format: 'date-time',
|
|
50054
|
+
type: 'string',
|
|
50055
|
+
},
|
|
50056
|
+
},
|
|
50057
|
+
{
|
|
50058
|
+
in: 'query',
|
|
50059
|
+
name: 'page_cursor',
|
|
50060
|
+
schema: {
|
|
50061
|
+
description:
|
|
50062
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
50063
|
+
nullable: true,
|
|
50064
|
+
type: 'string',
|
|
50065
|
+
},
|
|
50066
|
+
},
|
|
50067
|
+
],
|
|
50068
|
+
responses: {
|
|
50069
|
+
200: {
|
|
50070
|
+
content: {
|
|
50071
|
+
'application/json': {
|
|
50072
|
+
schema: {
|
|
50073
|
+
properties: {
|
|
50074
|
+
ok: { type: 'boolean' },
|
|
50075
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
50076
|
+
reservations: {
|
|
50077
|
+
items: {
|
|
50078
|
+
properties: {
|
|
50079
|
+
access_methods: {
|
|
50080
|
+
items: {
|
|
50081
|
+
$ref: '#/components/schemas/access_method',
|
|
50082
|
+
},
|
|
50083
|
+
type: 'array',
|
|
50084
|
+
},
|
|
50085
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
50086
|
+
ends_at: {
|
|
50087
|
+
format: 'date-time',
|
|
50088
|
+
nullable: true,
|
|
50089
|
+
type: 'string',
|
|
50090
|
+
},
|
|
50091
|
+
guest_name: { nullable: true, type: 'string' },
|
|
50092
|
+
name: { nullable: true, type: 'string' },
|
|
50093
|
+
reservation_id: { format: 'uuid', type: 'string' },
|
|
50094
|
+
reservation_key: { type: 'string' },
|
|
50095
|
+
starts_at: {
|
|
50096
|
+
format: 'date-time',
|
|
50097
|
+
nullable: true,
|
|
50098
|
+
type: 'string',
|
|
50099
|
+
},
|
|
50100
|
+
},
|
|
50101
|
+
required: [
|
|
50102
|
+
'reservation_id',
|
|
50103
|
+
'reservation_key',
|
|
50104
|
+
'name',
|
|
50105
|
+
'starts_at',
|
|
50106
|
+
'ends_at',
|
|
50107
|
+
'created_at',
|
|
50108
|
+
'guest_name',
|
|
50109
|
+
'access_methods',
|
|
50110
|
+
],
|
|
50111
|
+
type: 'object',
|
|
50112
|
+
},
|
|
50113
|
+
type: 'array',
|
|
50114
|
+
},
|
|
50115
|
+
},
|
|
50116
|
+
required: ['reservations', 'pagination', 'ok'],
|
|
50117
|
+
type: 'object',
|
|
50118
|
+
},
|
|
50119
|
+
},
|
|
50120
|
+
},
|
|
50121
|
+
description: 'OK',
|
|
50122
|
+
},
|
|
50123
|
+
400: { description: 'Bad Request' },
|
|
50124
|
+
401: { description: 'Unauthorized' },
|
|
50125
|
+
},
|
|
50126
|
+
security: [{ client_session_with_customer: [] }],
|
|
50127
|
+
summary: '/seam/customer/v1/reservations/list',
|
|
50128
|
+
tags: [],
|
|
50129
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
50130
|
+
'x-fern-sdk-method-name': 'list',
|
|
50131
|
+
'x-fern-sdk-return-value': 'reservations',
|
|
50132
|
+
'x-response-key': 'reservations',
|
|
50133
|
+
'x-title': 'List Reservations for Customer Space',
|
|
50134
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50135
|
+
},
|
|
50136
|
+
post: {
|
|
50137
|
+
description:
|
|
50138
|
+
'Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.',
|
|
50139
|
+
operationId: 'seamCustomerV1ReservationsListPost',
|
|
50140
|
+
requestBody: {
|
|
50141
|
+
content: {
|
|
50142
|
+
'application/json': {
|
|
50143
|
+
schema: {
|
|
50144
|
+
properties: {
|
|
50145
|
+
created_before: {
|
|
50146
|
+
description:
|
|
50147
|
+
'Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.',
|
|
50148
|
+
format: 'date-time',
|
|
50149
|
+
type: 'string',
|
|
50150
|
+
},
|
|
50151
|
+
limit: {
|
|
50152
|
+
default: 500,
|
|
50153
|
+
description:
|
|
50154
|
+
'Maximum number of records to return per page.',
|
|
50155
|
+
exclusiveMinimum: true,
|
|
50156
|
+
minimum: 0,
|
|
50157
|
+
type: 'integer',
|
|
50158
|
+
},
|
|
50159
|
+
page_cursor: {
|
|
50160
|
+
description:
|
|
50161
|
+
"Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
50162
|
+
nullable: true,
|
|
50163
|
+
type: 'string',
|
|
50164
|
+
},
|
|
50165
|
+
space_id: {
|
|
50166
|
+
description: 'Filter reservations by space ID (UUID).',
|
|
50167
|
+
format: 'uuid',
|
|
50168
|
+
type: 'string',
|
|
50169
|
+
},
|
|
50170
|
+
space_key: {
|
|
50171
|
+
description: 'Filter reservations by space key.',
|
|
50172
|
+
type: 'string',
|
|
50173
|
+
},
|
|
50174
|
+
},
|
|
50175
|
+
type: 'object',
|
|
50176
|
+
},
|
|
50177
|
+
},
|
|
50178
|
+
},
|
|
50179
|
+
},
|
|
50180
|
+
responses: {
|
|
50181
|
+
200: {
|
|
50182
|
+
content: {
|
|
50183
|
+
'application/json': {
|
|
50184
|
+
schema: {
|
|
50185
|
+
properties: {
|
|
50186
|
+
ok: { type: 'boolean' },
|
|
50187
|
+
pagination: { $ref: '#/components/schemas/pagination' },
|
|
50188
|
+
reservations: {
|
|
50189
|
+
items: {
|
|
50190
|
+
properties: {
|
|
50191
|
+
access_methods: {
|
|
50192
|
+
items: {
|
|
50193
|
+
$ref: '#/components/schemas/access_method',
|
|
50194
|
+
},
|
|
50195
|
+
type: 'array',
|
|
50196
|
+
},
|
|
50197
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
50198
|
+
ends_at: {
|
|
50199
|
+
format: 'date-time',
|
|
50200
|
+
nullable: true,
|
|
50201
|
+
type: 'string',
|
|
50202
|
+
},
|
|
50203
|
+
guest_name: { nullable: true, type: 'string' },
|
|
50204
|
+
name: { nullable: true, type: 'string' },
|
|
50205
|
+
reservation_id: { format: 'uuid', type: 'string' },
|
|
50206
|
+
reservation_key: { type: 'string' },
|
|
50207
|
+
starts_at: {
|
|
50208
|
+
format: 'date-time',
|
|
50209
|
+
nullable: true,
|
|
50210
|
+
type: 'string',
|
|
50211
|
+
},
|
|
50212
|
+
},
|
|
50213
|
+
required: [
|
|
50214
|
+
'reservation_id',
|
|
50215
|
+
'reservation_key',
|
|
50216
|
+
'name',
|
|
50217
|
+
'starts_at',
|
|
50218
|
+
'ends_at',
|
|
50219
|
+
'created_at',
|
|
50220
|
+
'guest_name',
|
|
50221
|
+
'access_methods',
|
|
50222
|
+
],
|
|
50223
|
+
type: 'object',
|
|
50224
|
+
},
|
|
50225
|
+
type: 'array',
|
|
50226
|
+
},
|
|
50227
|
+
},
|
|
50228
|
+
required: ['reservations', 'pagination', 'ok'],
|
|
50229
|
+
type: 'object',
|
|
50230
|
+
},
|
|
50231
|
+
},
|
|
50232
|
+
},
|
|
50233
|
+
description: 'OK',
|
|
50234
|
+
},
|
|
50235
|
+
400: { description: 'Bad Request' },
|
|
50236
|
+
401: { description: 'Unauthorized' },
|
|
50237
|
+
},
|
|
50238
|
+
security: [{ client_session_with_customer: [] }],
|
|
50239
|
+
summary: '/seam/customer/v1/reservations/list',
|
|
50240
|
+
tags: [],
|
|
50241
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
50242
|
+
'x-fern-sdk-method-name': 'list',
|
|
50243
|
+
'x-fern-sdk-return-value': 'reservations',
|
|
50244
|
+
'x-response-key': 'reservations',
|
|
50245
|
+
'x-title': 'List Reservations for Customer Space',
|
|
50246
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
50247
|
+
},
|
|
50248
|
+
},
|
|
49840
50249
|
'/seam/customer/v1/settings/get': {
|
|
49841
50250
|
get: {
|
|
49842
50251
|
description: 'Retrieves the settings for a customer portal workspace.',
|
|
@@ -69109,6 +69109,79 @@ export type Routes = {
|
|
|
69109
69109
|
}
|
|
69110
69110
|
}
|
|
69111
69111
|
}
|
|
69112
|
+
'/seam/customer/v1/reservations/get': {
|
|
69113
|
+
route: '/seam/customer/v1/reservations/get'
|
|
69114
|
+
method: 'GET' | 'POST'
|
|
69115
|
+
queryParams: {}
|
|
69116
|
+
jsonBody: {}
|
|
69117
|
+
commonParams: {
|
|
69118
|
+
/** ID of the reservation to retrieve. */
|
|
69119
|
+
reservation_id?: string | undefined
|
|
69120
|
+
/** Key of the reservation to retrieve. */
|
|
69121
|
+
reservation_key?: string | undefined
|
|
69122
|
+
}
|
|
69123
|
+
formData: {}
|
|
69124
|
+
jsonResponse: {
|
|
69125
|
+
reservation: {
|
|
69126
|
+
reservation_id: string
|
|
69127
|
+
reservation_key: string
|
|
69128
|
+
name: string | null
|
|
69129
|
+
starts_at: string | null
|
|
69130
|
+
ends_at: string | null
|
|
69131
|
+
created_at: string
|
|
69132
|
+
guest_name: string | null
|
|
69133
|
+
access_methods: {
|
|
69134
|
+
access_method_id: string
|
|
69135
|
+
mode: string
|
|
69136
|
+
is_issued: boolean
|
|
69137
|
+
}[]
|
|
69138
|
+
}
|
|
69139
|
+
}
|
|
69140
|
+
}
|
|
69141
|
+
'/seam/customer/v1/reservations/list': {
|
|
69142
|
+
route: '/seam/customer/v1/reservations/list'
|
|
69143
|
+
method: 'GET' | 'POST'
|
|
69144
|
+
queryParams: {}
|
|
69145
|
+
jsonBody: {}
|
|
69146
|
+
commonParams: {
|
|
69147
|
+
/** Filter reservations by space key. */
|
|
69148
|
+
space_key?: string | undefined
|
|
69149
|
+
/** Filter reservations by space ID (UUID). */
|
|
69150
|
+
space_id?: string | undefined
|
|
69151
|
+
/** Maximum number of records to return per page. */
|
|
69152
|
+
limit?: number
|
|
69153
|
+
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
69154
|
+
created_before?: Date | undefined
|
|
69155
|
+
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
69156
|
+
page_cursor?: ((string | undefined) | null) | undefined
|
|
69157
|
+
}
|
|
69158
|
+
formData: {}
|
|
69159
|
+
jsonResponse: {
|
|
69160
|
+
reservations: {
|
|
69161
|
+
reservation_id: string
|
|
69162
|
+
reservation_key: string
|
|
69163
|
+
name: string | null
|
|
69164
|
+
starts_at: string | null
|
|
69165
|
+
ends_at: string | null
|
|
69166
|
+
created_at: string
|
|
69167
|
+
guest_name: string | null
|
|
69168
|
+
access_methods: {
|
|
69169
|
+
access_method_id: string
|
|
69170
|
+
mode: string
|
|
69171
|
+
is_issued: boolean
|
|
69172
|
+
}[]
|
|
69173
|
+
}[]
|
|
69174
|
+
/** Information about the current page of results. */
|
|
69175
|
+
pagination: {
|
|
69176
|
+
/** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
|
|
69177
|
+
next_page_cursor: string | null
|
|
69178
|
+
/** Indicates whether there is another page of results after this one. */
|
|
69179
|
+
has_next_page: boolean
|
|
69180
|
+
/** URL to get the next page of results. */
|
|
69181
|
+
next_page_url: string | null
|
|
69182
|
+
}
|
|
69183
|
+
}
|
|
69184
|
+
}
|
|
69112
69185
|
'/seam/customer/v1/settings/get': {
|
|
69113
69186
|
route: '/seam/customer/v1/settings/get'
|
|
69114
69187
|
method: 'GET' | 'POST'
|