@seamapi/types 1.786.0 → 1.787.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 +42 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -0
- package/dist/index.cjs +42 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +59 -0
- package/lib/seam/connect/openapi.js +42 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +46 -0
- package/src/lib/seam/connect/route-types.ts +4 -0
|
@@ -66377,6 +66377,10 @@ export type Routes = {
|
|
|
66377
66377
|
limit?: number;
|
|
66378
66378
|
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
66379
66379
|
created_before?: Date | undefined;
|
|
66380
|
+
/** Timestamp by which to limit returned reservations. Returns reservations created after this timestamp. */
|
|
66381
|
+
created_after?: Date | undefined;
|
|
66382
|
+
/** Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list. */
|
|
66383
|
+
between?: (string | Date)[] | undefined;
|
|
66380
66384
|
/** 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. */
|
|
66381
66385
|
search?: string | undefined;
|
|
66382
66386
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
package/package.json
CHANGED
|
@@ -69039,6 +69039,33 @@ export default {
|
|
|
69039
69039
|
type: 'string',
|
|
69040
69040
|
},
|
|
69041
69041
|
},
|
|
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
|
+
},
|
|
69042
69069
|
{
|
|
69043
69070
|
in: 'query',
|
|
69044
69071
|
name: 'search',
|
|
@@ -69294,6 +69321,25 @@ export default {
|
|
|
69294
69321
|
'application/json': {
|
|
69295
69322
|
schema: {
|
|
69296
69323
|
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
|
+
},
|
|
69297
69343
|
created_before: {
|
|
69298
69344
|
description:
|
|
69299
69345
|
'Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.',
|
|
@@ -78933,6 +78933,10 @@ export type Routes = {
|
|
|
78933
78933
|
limit?: number
|
|
78934
78934
|
/** Timestamp by which to limit returned reservations. Returns reservations created before this timestamp. */
|
|
78935
78935
|
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
|
|
78936
78940
|
/** 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. */
|
|
78937
78941
|
search?: string | undefined
|
|
78938
78942
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|