Skip to content

Commit 7f1b3c4

Browse files
authored
feat: Sync with Seam API via 0fb183de7d889c7a9086997848e8e25ada84746a (#2758)
1 parent 403ad6c commit 7f1b3c4

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69039,6 +69039,33 @@ export default {
6903969039
type: 'string',
6904069040
},
6904169041
},
69042+
{
69043+
in: 'query',
69044+
name: 'created_after',
69045+
schema: {
69046+
description:
69047+
'Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.',
69048+
format: 'date-time',
69049+
type: 'string',
69050+
},
69051+
},
69052+
{
69053+
in: 'query',
69054+
name: 'between',
69055+
schema: {
69056+
description:
69057+
'Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list.',
69058+
items: {
69059+
oneOf: [
69060+
{ type: 'string' },
69061+
{ format: 'date-time', type: 'string' },
69062+
],
69063+
},
69064+
maxItems: 2,
69065+
minItems: 2,
69066+
type: 'array',
69067+
},
69068+
},
6904269069
{
6904369070
in: 'query',
6904469071
name: 'search',
@@ -69294,6 +69321,25 @@ export default {
6929469321
'application/json': {
6929569322
schema: {
6929669323
properties: {
69324+
between: {
69325+
description:
69326+
'Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list.',
69327+
items: {
69328+
oneOf: [
69329+
{ type: 'string' },
69330+
{ format: 'date-time', type: 'string' },
69331+
],
69332+
},
69333+
maxItems: 2,
69334+
minItems: 2,
69335+
type: 'array',
69336+
},
69337+
created_after: {
69338+
description:
69339+
'Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.',
69340+
format: 'date-time',
69341+
type: 'string',
69342+
},
6929769343
created_before: {
6929869344
description:
6929969345
'Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.',

src/lib/seam/connect/route-types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78933,6 +78933,10 @@ export type Routes = {
7893378933
limit?: number
7893478934
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
7893578935
created_before?: Date | undefined
78936+
/** Timestamp by which to limit returned reservations. Returns reservations created after this timestamp. */
78937+
created_after?: Date | undefined
78938+
/** Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list. */
78939+
between?: (string | Date)[] | undefined
7893678940
/** String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names. */
7893778941
search?: string | undefined
7893878942
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */

0 commit comments

Comments
 (0)