@seamapi/types 1.660.0 → 1.662.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 +197 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +258 -0
- package/dist/index.cjs +197 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +226 -0
- package/lib/seam/connect/openapi.js +196 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +199 -1
- package/src/lib/seam/connect/route-types.ts +32 -0
package/dist/connect.cjs
CHANGED
|
@@ -43162,7 +43162,11 @@ var openapi_default = {
|
|
|
43162
43162
|
"application/json": {
|
|
43163
43163
|
schema: {
|
|
43164
43164
|
properties: {
|
|
43165
|
-
connected_account_id: {
|
|
43165
|
+
connected_account_id: {
|
|
43166
|
+
description: "ID of the connected account you want to simulate as disconnected.",
|
|
43167
|
+
format: "uuid",
|
|
43168
|
+
type: "string"
|
|
43169
|
+
}
|
|
43166
43170
|
},
|
|
43167
43171
|
required: ["connected_account_id"],
|
|
43168
43172
|
type: "object"
|
|
@@ -43189,7 +43193,8 @@ var openapi_default = {
|
|
|
43189
43193
|
security: [
|
|
43190
43194
|
{ api_key: [] },
|
|
43191
43195
|
{ pat_with_workspace: [] },
|
|
43192
|
-
{ console_session_with_workspace: [] }
|
|
43196
|
+
{ console_session_with_workspace: [] },
|
|
43197
|
+
{ client_session_with_customer: [] }
|
|
43193
43198
|
],
|
|
43194
43199
|
summary: "/connected_accounts/simulate/disconnect",
|
|
43195
43200
|
tags: ["/connected_accounts"],
|
|
@@ -57160,6 +57165,196 @@ var openapi_default = {
|
|
|
57160
57165
|
"x-undocumented": "Only used internally."
|
|
57161
57166
|
}
|
|
57162
57167
|
},
|
|
57168
|
+
"/seam/customer/v1/spaces/list_reservations": {
|
|
57169
|
+
get: {
|
|
57170
|
+
description: 'Returns a list of existing reservations for a specific space.\nIf issued_status is "issued", only reservations that have access methods issued will be returned.\nIf issued_status is "pending", only reservations that do not have access methods issued will be returned.\nIf issued_status is not provided, only reservations that do not have access methods issued will be returned.',
|
|
57171
|
+
operationId: "seamCustomerV1SpacesListReservationsGet",
|
|
57172
|
+
parameters: [
|
|
57173
|
+
{
|
|
57174
|
+
in: "query",
|
|
57175
|
+
name: "issued_status",
|
|
57176
|
+
required: false,
|
|
57177
|
+
schema: {
|
|
57178
|
+
default: "pending",
|
|
57179
|
+
description: "Filter reservations by issued status.",
|
|
57180
|
+
enum: ["issued", "pending"],
|
|
57181
|
+
type: "string"
|
|
57182
|
+
}
|
|
57183
|
+
},
|
|
57184
|
+
{
|
|
57185
|
+
in: "query",
|
|
57186
|
+
name: "space_key",
|
|
57187
|
+
required: true,
|
|
57188
|
+
schema: {
|
|
57189
|
+
description: "Filter reservations by space key.",
|
|
57190
|
+
type: "string"
|
|
57191
|
+
}
|
|
57192
|
+
}
|
|
57193
|
+
],
|
|
57194
|
+
responses: {
|
|
57195
|
+
200: {
|
|
57196
|
+
content: {
|
|
57197
|
+
"application/json": {
|
|
57198
|
+
schema: {
|
|
57199
|
+
properties: {
|
|
57200
|
+
ok: { type: "boolean" },
|
|
57201
|
+
reservations: {
|
|
57202
|
+
items: {
|
|
57203
|
+
properties: {
|
|
57204
|
+
access_methods: {
|
|
57205
|
+
items: {
|
|
57206
|
+
$ref: "#/components/schemas/access_method"
|
|
57207
|
+
},
|
|
57208
|
+
type: "array"
|
|
57209
|
+
},
|
|
57210
|
+
created_at: { format: "date-time", type: "string" },
|
|
57211
|
+
ends_at: {
|
|
57212
|
+
format: "date-time",
|
|
57213
|
+
nullable: true,
|
|
57214
|
+
type: "string"
|
|
57215
|
+
},
|
|
57216
|
+
guest_name: { nullable: true, type: "string" },
|
|
57217
|
+
has_issued_access: { type: "boolean" },
|
|
57218
|
+
name: { nullable: true, type: "string" },
|
|
57219
|
+
reservation_id: { format: "uuid", type: "string" },
|
|
57220
|
+
reservation_key: { type: "string" },
|
|
57221
|
+
starts_at: {
|
|
57222
|
+
format: "date-time",
|
|
57223
|
+
nullable: true,
|
|
57224
|
+
type: "string"
|
|
57225
|
+
}
|
|
57226
|
+
},
|
|
57227
|
+
required: [
|
|
57228
|
+
"reservation_id",
|
|
57229
|
+
"reservation_key",
|
|
57230
|
+
"name",
|
|
57231
|
+
"starts_at",
|
|
57232
|
+
"ends_at",
|
|
57233
|
+
"created_at",
|
|
57234
|
+
"guest_name",
|
|
57235
|
+
"has_issued_access",
|
|
57236
|
+
"access_methods"
|
|
57237
|
+
],
|
|
57238
|
+
type: "object"
|
|
57239
|
+
},
|
|
57240
|
+
type: "array"
|
|
57241
|
+
}
|
|
57242
|
+
},
|
|
57243
|
+
required: ["reservations", "ok"],
|
|
57244
|
+
type: "object"
|
|
57245
|
+
}
|
|
57246
|
+
}
|
|
57247
|
+
},
|
|
57248
|
+
description: "OK"
|
|
57249
|
+
},
|
|
57250
|
+
400: { description: "Bad Request" },
|
|
57251
|
+
401: { description: "Unauthorized" }
|
|
57252
|
+
},
|
|
57253
|
+
security: [{ client_session_with_customer: [] }],
|
|
57254
|
+
summary: "/seam/customer/v1/spaces/list_reservations",
|
|
57255
|
+
tags: [],
|
|
57256
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "spaces"],
|
|
57257
|
+
"x-fern-sdk-method-name": "list_reservations",
|
|
57258
|
+
"x-fern-sdk-return-value": "reservations",
|
|
57259
|
+
"x-response-key": "reservations",
|
|
57260
|
+
"x-title": "List Reservations for Space",
|
|
57261
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
57262
|
+
},
|
|
57263
|
+
post: {
|
|
57264
|
+
description: 'Returns a list of existing reservations for a specific space.\nIf issued_status is "issued", only reservations that have access methods issued will be returned.\nIf issued_status is "pending", only reservations that do not have access methods issued will be returned.\nIf issued_status is not provided, only reservations that do not have access methods issued will be returned.',
|
|
57265
|
+
operationId: "seamCustomerV1SpacesListReservationsPost",
|
|
57266
|
+
requestBody: {
|
|
57267
|
+
content: {
|
|
57268
|
+
"application/json": {
|
|
57269
|
+
schema: {
|
|
57270
|
+
properties: {
|
|
57271
|
+
issued_status: {
|
|
57272
|
+
default: "pending",
|
|
57273
|
+
description: "Filter reservations by issued status.",
|
|
57274
|
+
enum: ["issued", "pending"],
|
|
57275
|
+
type: "string"
|
|
57276
|
+
},
|
|
57277
|
+
space_key: {
|
|
57278
|
+
description: "Filter reservations by space key.",
|
|
57279
|
+
type: "string"
|
|
57280
|
+
}
|
|
57281
|
+
},
|
|
57282
|
+
required: ["space_key"],
|
|
57283
|
+
type: "object"
|
|
57284
|
+
}
|
|
57285
|
+
}
|
|
57286
|
+
}
|
|
57287
|
+
},
|
|
57288
|
+
responses: {
|
|
57289
|
+
200: {
|
|
57290
|
+
content: {
|
|
57291
|
+
"application/json": {
|
|
57292
|
+
schema: {
|
|
57293
|
+
properties: {
|
|
57294
|
+
ok: { type: "boolean" },
|
|
57295
|
+
reservations: {
|
|
57296
|
+
items: {
|
|
57297
|
+
properties: {
|
|
57298
|
+
access_methods: {
|
|
57299
|
+
items: {
|
|
57300
|
+
$ref: "#/components/schemas/access_method"
|
|
57301
|
+
},
|
|
57302
|
+
type: "array"
|
|
57303
|
+
},
|
|
57304
|
+
created_at: { format: "date-time", type: "string" },
|
|
57305
|
+
ends_at: {
|
|
57306
|
+
format: "date-time",
|
|
57307
|
+
nullable: true,
|
|
57308
|
+
type: "string"
|
|
57309
|
+
},
|
|
57310
|
+
guest_name: { nullable: true, type: "string" },
|
|
57311
|
+
has_issued_access: { type: "boolean" },
|
|
57312
|
+
name: { nullable: true, type: "string" },
|
|
57313
|
+
reservation_id: { format: "uuid", type: "string" },
|
|
57314
|
+
reservation_key: { type: "string" },
|
|
57315
|
+
starts_at: {
|
|
57316
|
+
format: "date-time",
|
|
57317
|
+
nullable: true,
|
|
57318
|
+
type: "string"
|
|
57319
|
+
}
|
|
57320
|
+
},
|
|
57321
|
+
required: [
|
|
57322
|
+
"reservation_id",
|
|
57323
|
+
"reservation_key",
|
|
57324
|
+
"name",
|
|
57325
|
+
"starts_at",
|
|
57326
|
+
"ends_at",
|
|
57327
|
+
"created_at",
|
|
57328
|
+
"guest_name",
|
|
57329
|
+
"has_issued_access",
|
|
57330
|
+
"access_methods"
|
|
57331
|
+
],
|
|
57332
|
+
type: "object"
|
|
57333
|
+
},
|
|
57334
|
+
type: "array"
|
|
57335
|
+
}
|
|
57336
|
+
},
|
|
57337
|
+
required: ["reservations", "ok"],
|
|
57338
|
+
type: "object"
|
|
57339
|
+
}
|
|
57340
|
+
}
|
|
57341
|
+
},
|
|
57342
|
+
description: "OK"
|
|
57343
|
+
},
|
|
57344
|
+
400: { description: "Bad Request" },
|
|
57345
|
+
401: { description: "Unauthorized" }
|
|
57346
|
+
},
|
|
57347
|
+
security: [{ client_session_with_customer: [] }],
|
|
57348
|
+
summary: "/seam/customer/v1/spaces/list_reservations",
|
|
57349
|
+
tags: [],
|
|
57350
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "spaces"],
|
|
57351
|
+
"x-fern-sdk-method-name": "list_reservations",
|
|
57352
|
+
"x-fern-sdk-return-value": "reservations",
|
|
57353
|
+
"x-response-key": "reservations",
|
|
57354
|
+
"x-title": "List Reservations for Space",
|
|
57355
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
57356
|
+
}
|
|
57357
|
+
},
|
|
57163
57358
|
"/seam/customer/v1/staff_members/get": {
|
|
57164
57359
|
get: {
|
|
57165
57360
|
description: "Returns a staff member for a specific customer.",
|