@seamapi/types 1.772.0 → 1.774.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 +508 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1506 -707
- package/dist/index.cjs +508 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +48 -34
- package/lib/seam/connect/models/devices/device.d.ts +14 -9
- package/lib/seam/connect/models/devices/device.js +8 -3
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +14 -9
- package/lib/seam/connect/openapi.d.ts +528 -2
- package/lib/seam/connect/openapi.js +500 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +289 -40
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +8 -3
- package/src/lib/seam/connect/openapi.ts +551 -6
- package/src/lib/seam/connect/route-types.ts +469 -160
package/dist/connect.cjs
CHANGED
|
@@ -1817,9 +1817,15 @@ var device = zod.z.object({
|
|
|
1817
1817
|
location: zod.z.object({
|
|
1818
1818
|
location_name: zod.z.string().optional().describe(`Name of the device location.
|
|
1819
1819
|
`),
|
|
1820
|
-
|
|
1820
|
+
time_zone: zod.z.string().optional().describe(`Time zone of the device location.
|
|
1821
|
+
`),
|
|
1822
|
+
timezone: zod.z.string().optional().describe(`
|
|
1823
|
+
---
|
|
1824
|
+
deprecated: Use \`time_zone\` instead.
|
|
1825
|
+
---
|
|
1826
|
+
Time zone of the device location.
|
|
1821
1827
|
`)
|
|
1822
|
-
}).
|
|
1828
|
+
}).optional().describe(`
|
|
1823
1829
|
---
|
|
1824
1830
|
property_group_key: hardware
|
|
1825
1831
|
---
|
|
@@ -17077,15 +17083,20 @@ var openapi_default = {
|
|
|
17077
17083
|
},
|
|
17078
17084
|
location: {
|
|
17079
17085
|
description: "Location information for the device.",
|
|
17080
|
-
nullable: true,
|
|
17081
17086
|
properties: {
|
|
17082
17087
|
location_name: {
|
|
17083
17088
|
description: "Name of the device location.\n ",
|
|
17084
17089
|
type: "string"
|
|
17085
17090
|
},
|
|
17086
|
-
|
|
17091
|
+
time_zone: {
|
|
17087
17092
|
description: "Time zone of the device location.\n ",
|
|
17088
17093
|
type: "string"
|
|
17094
|
+
},
|
|
17095
|
+
timezone: {
|
|
17096
|
+
deprecated: true,
|
|
17097
|
+
description: "Time zone of the device location.",
|
|
17098
|
+
type: "string",
|
|
17099
|
+
"x-deprecated": "Use `time_zone` instead."
|
|
17089
17100
|
}
|
|
17090
17101
|
},
|
|
17091
17102
|
type: "object",
|
|
@@ -20010,7 +20021,6 @@ var openapi_default = {
|
|
|
20010
20021
|
"display_name",
|
|
20011
20022
|
"capabilities_supported",
|
|
20012
20023
|
"properties",
|
|
20013
|
-
"location",
|
|
20014
20024
|
"connected_account_id",
|
|
20015
20025
|
"workspace_id",
|
|
20016
20026
|
"errors",
|
|
@@ -33439,15 +33449,20 @@ var openapi_default = {
|
|
|
33439
33449
|
is_managed: { enum: [false], type: "boolean" },
|
|
33440
33450
|
location: {
|
|
33441
33451
|
description: "Location information for the device.",
|
|
33442
|
-
nullable: true,
|
|
33443
33452
|
properties: {
|
|
33444
33453
|
location_name: {
|
|
33445
33454
|
description: "Name of the device location.\n ",
|
|
33446
33455
|
type: "string"
|
|
33447
33456
|
},
|
|
33448
|
-
|
|
33457
|
+
time_zone: {
|
|
33449
33458
|
description: "Time zone of the device location.\n ",
|
|
33450
33459
|
type: "string"
|
|
33460
|
+
},
|
|
33461
|
+
timezone: {
|
|
33462
|
+
deprecated: true,
|
|
33463
|
+
description: "Time zone of the device location.",
|
|
33464
|
+
type: "string",
|
|
33465
|
+
"x-deprecated": "Use `time_zone` instead."
|
|
33451
33466
|
}
|
|
33452
33467
|
},
|
|
33453
33468
|
type: "object",
|
|
@@ -34138,7 +34153,6 @@ var openapi_default = {
|
|
|
34138
34153
|
"device_id",
|
|
34139
34154
|
"device_type",
|
|
34140
34155
|
"connected_account_id",
|
|
34141
|
-
"location",
|
|
34142
34156
|
"capabilities_supported",
|
|
34143
34157
|
"workspace_id",
|
|
34144
34158
|
"errors",
|
|
@@ -65146,6 +65160,492 @@ var openapi_default = {
|
|
|
65146
65160
|
"x-undocumented": "Internal endpoint for Console."
|
|
65147
65161
|
}
|
|
65148
65162
|
},
|
|
65163
|
+
"/seam/customer/v1/connectors/ical/generate-config": {
|
|
65164
|
+
post: {
|
|
65165
|
+
description: "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
|
|
65166
|
+
operationId: "seamCustomerV1ConnectorsIcalGenerateConfigPost",
|
|
65167
|
+
requestBody: {
|
|
65168
|
+
content: {
|
|
65169
|
+
"application/json": {
|
|
65170
|
+
schema: {
|
|
65171
|
+
properties: {
|
|
65172
|
+
ical_url: {
|
|
65173
|
+
description: "iCal feed URL to analyze",
|
|
65174
|
+
format: "uri",
|
|
65175
|
+
type: "string"
|
|
65176
|
+
}
|
|
65177
|
+
},
|
|
65178
|
+
required: ["ical_url"],
|
|
65179
|
+
type: "object"
|
|
65180
|
+
}
|
|
65181
|
+
}
|
|
65182
|
+
}
|
|
65183
|
+
},
|
|
65184
|
+
responses: {
|
|
65185
|
+
200: {
|
|
65186
|
+
content: {
|
|
65187
|
+
"application/json": {
|
|
65188
|
+
schema: {
|
|
65189
|
+
properties: {
|
|
65190
|
+
generated_config: {
|
|
65191
|
+
properties: {
|
|
65192
|
+
ical_config: {
|
|
65193
|
+
properties: {
|
|
65194
|
+
default_check_in_time: {
|
|
65195
|
+
description: "Default check-in time (HH:MM) used when iCal gives date-only values",
|
|
65196
|
+
pattern: "^\\d{2}:\\d{2}$",
|
|
65197
|
+
type: "string"
|
|
65198
|
+
},
|
|
65199
|
+
default_check_out_time: {
|
|
65200
|
+
description: "Default check-out time (HH:MM) used when iCal gives date-only values",
|
|
65201
|
+
pattern: "^\\d{2}:\\d{2}$",
|
|
65202
|
+
type: "string"
|
|
65203
|
+
},
|
|
65204
|
+
fields: {
|
|
65205
|
+
properties: {
|
|
65206
|
+
ends_at: {
|
|
65207
|
+
description: "How to extract check-out date",
|
|
65208
|
+
properties: {
|
|
65209
|
+
pattern: {
|
|
65210
|
+
description: "Regex with capture group to extract value from the property",
|
|
65211
|
+
type: "string"
|
|
65212
|
+
},
|
|
65213
|
+
source: {
|
|
65214
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65215
|
+
type: "string"
|
|
65216
|
+
},
|
|
65217
|
+
type: {
|
|
65218
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65219
|
+
enum: ["date"],
|
|
65220
|
+
type: "string"
|
|
65221
|
+
}
|
|
65222
|
+
},
|
|
65223
|
+
required: ["source"],
|
|
65224
|
+
type: "object"
|
|
65225
|
+
},
|
|
65226
|
+
guest_email: {
|
|
65227
|
+
description: "How to extract guest email",
|
|
65228
|
+
properties: {
|
|
65229
|
+
pattern: {
|
|
65230
|
+
description: "Regex with capture group to extract value from the property",
|
|
65231
|
+
type: "string"
|
|
65232
|
+
},
|
|
65233
|
+
source: {
|
|
65234
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65235
|
+
type: "string"
|
|
65236
|
+
},
|
|
65237
|
+
type: {
|
|
65238
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65239
|
+
enum: ["date"],
|
|
65240
|
+
type: "string"
|
|
65241
|
+
}
|
|
65242
|
+
},
|
|
65243
|
+
required: ["source"],
|
|
65244
|
+
type: "object"
|
|
65245
|
+
},
|
|
65246
|
+
guest_name: {
|
|
65247
|
+
description: "How to extract guest name",
|
|
65248
|
+
properties: {
|
|
65249
|
+
pattern: {
|
|
65250
|
+
description: "Regex with capture group to extract value from the property",
|
|
65251
|
+
type: "string"
|
|
65252
|
+
},
|
|
65253
|
+
source: {
|
|
65254
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65255
|
+
type: "string"
|
|
65256
|
+
},
|
|
65257
|
+
type: {
|
|
65258
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65259
|
+
enum: ["date"],
|
|
65260
|
+
type: "string"
|
|
65261
|
+
}
|
|
65262
|
+
},
|
|
65263
|
+
required: ["source"],
|
|
65264
|
+
type: "object"
|
|
65265
|
+
},
|
|
65266
|
+
guest_phone: {
|
|
65267
|
+
description: "How to extract guest phone",
|
|
65268
|
+
properties: {
|
|
65269
|
+
pattern: {
|
|
65270
|
+
description: "Regex with capture group to extract value from the property",
|
|
65271
|
+
type: "string"
|
|
65272
|
+
},
|
|
65273
|
+
source: {
|
|
65274
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65275
|
+
type: "string"
|
|
65276
|
+
},
|
|
65277
|
+
type: {
|
|
65278
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65279
|
+
enum: ["date"],
|
|
65280
|
+
type: "string"
|
|
65281
|
+
}
|
|
65282
|
+
},
|
|
65283
|
+
required: ["source"],
|
|
65284
|
+
type: "object"
|
|
65285
|
+
},
|
|
65286
|
+
reservation_key: {
|
|
65287
|
+
description: "How to extract the reservation key (falls back to UID)",
|
|
65288
|
+
properties: {
|
|
65289
|
+
pattern: {
|
|
65290
|
+
description: "Regex with capture group to extract value from the property",
|
|
65291
|
+
type: "string"
|
|
65292
|
+
},
|
|
65293
|
+
source: {
|
|
65294
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65295
|
+
type: "string"
|
|
65296
|
+
},
|
|
65297
|
+
type: {
|
|
65298
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65299
|
+
enum: ["date"],
|
|
65300
|
+
type: "string"
|
|
65301
|
+
}
|
|
65302
|
+
},
|
|
65303
|
+
required: ["source"],
|
|
65304
|
+
type: "object"
|
|
65305
|
+
},
|
|
65306
|
+
starts_at: {
|
|
65307
|
+
description: "How to extract check-in date",
|
|
65308
|
+
properties: {
|
|
65309
|
+
pattern: {
|
|
65310
|
+
description: "Regex with capture group to extract value from the property",
|
|
65311
|
+
type: "string"
|
|
65312
|
+
},
|
|
65313
|
+
source: {
|
|
65314
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65315
|
+
type: "string"
|
|
65316
|
+
},
|
|
65317
|
+
type: {
|
|
65318
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65319
|
+
enum: ["date"],
|
|
65320
|
+
type: "string"
|
|
65321
|
+
}
|
|
65322
|
+
},
|
|
65323
|
+
required: ["source"],
|
|
65324
|
+
type: "object"
|
|
65325
|
+
}
|
|
65326
|
+
},
|
|
65327
|
+
required: ["starts_at", "ends_at"],
|
|
65328
|
+
type: "object"
|
|
65329
|
+
},
|
|
65330
|
+
filter: {
|
|
65331
|
+
description: "Optional filter to skip non-matching events",
|
|
65332
|
+
properties: {
|
|
65333
|
+
pattern: {
|
|
65334
|
+
description: "Regex pattern \u2014 events not matching are skipped",
|
|
65335
|
+
type: "string"
|
|
65336
|
+
},
|
|
65337
|
+
source: {
|
|
65338
|
+
description: "iCal property name to match against",
|
|
65339
|
+
type: "string"
|
|
65340
|
+
}
|
|
65341
|
+
},
|
|
65342
|
+
required: ["source", "pattern"],
|
|
65343
|
+
type: "object"
|
|
65344
|
+
},
|
|
65345
|
+
time_zone: {
|
|
65346
|
+
description: "IANA time zone (e.g. America/New_York) applied when dates have no time/timezone",
|
|
65347
|
+
type: "string"
|
|
65348
|
+
}
|
|
65349
|
+
},
|
|
65350
|
+
required: ["fields"],
|
|
65351
|
+
type: "object"
|
|
65352
|
+
}
|
|
65353
|
+
},
|
|
65354
|
+
required: ["ical_config"],
|
|
65355
|
+
type: "object"
|
|
65356
|
+
},
|
|
65357
|
+
ok: { type: "boolean" }
|
|
65358
|
+
},
|
|
65359
|
+
required: ["generated_config", "ok"],
|
|
65360
|
+
type: "object"
|
|
65361
|
+
}
|
|
65362
|
+
}
|
|
65363
|
+
},
|
|
65364
|
+
description: "OK"
|
|
65365
|
+
},
|
|
65366
|
+
400: { description: "Bad Request" },
|
|
65367
|
+
401: { description: "Unauthorized" }
|
|
65368
|
+
},
|
|
65369
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65370
|
+
summary: "/seam/customer/v1/connectors/ical/generate-config",
|
|
65371
|
+
tags: [],
|
|
65372
|
+
"x-fern-sdk-group-name": [
|
|
65373
|
+
"seam",
|
|
65374
|
+
"customer",
|
|
65375
|
+
"v1",
|
|
65376
|
+
"connectors",
|
|
65377
|
+
"ical"
|
|
65378
|
+
],
|
|
65379
|
+
"x-fern-sdk-method-name": "generate-config",
|
|
65380
|
+
"x-fern-sdk-return-value": "generated_config",
|
|
65381
|
+
"x-response-key": "generated_config",
|
|
65382
|
+
"x-title": "Generate iCal Config",
|
|
65383
|
+
"x-undocumented": "Only used internally."
|
|
65384
|
+
}
|
|
65385
|
+
},
|
|
65386
|
+
"/seam/customer/v1/connectors/ical/validate-config": {
|
|
65387
|
+
post: {
|
|
65388
|
+
description: "Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.",
|
|
65389
|
+
operationId: "seamCustomerV1ConnectorsIcalValidateConfigPost",
|
|
65390
|
+
requestBody: {
|
|
65391
|
+
content: {
|
|
65392
|
+
"application/json": {
|
|
65393
|
+
schema: {
|
|
65394
|
+
properties: {
|
|
65395
|
+
ical_config: {
|
|
65396
|
+
description: "Config to validate",
|
|
65397
|
+
properties: {
|
|
65398
|
+
default_check_in_time: {
|
|
65399
|
+
description: "Default check-in time (HH:MM) used when iCal gives date-only values",
|
|
65400
|
+
pattern: "^\\d{2}:\\d{2}$",
|
|
65401
|
+
type: "string"
|
|
65402
|
+
},
|
|
65403
|
+
default_check_out_time: {
|
|
65404
|
+
description: "Default check-out time (HH:MM) used when iCal gives date-only values",
|
|
65405
|
+
pattern: "^\\d{2}:\\d{2}$",
|
|
65406
|
+
type: "string"
|
|
65407
|
+
},
|
|
65408
|
+
fields: {
|
|
65409
|
+
properties: {
|
|
65410
|
+
ends_at: {
|
|
65411
|
+
description: "How to extract check-out date",
|
|
65412
|
+
properties: {
|
|
65413
|
+
pattern: {
|
|
65414
|
+
description: "Regex with capture group to extract value from the property",
|
|
65415
|
+
type: "string"
|
|
65416
|
+
},
|
|
65417
|
+
source: {
|
|
65418
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65419
|
+
type: "string"
|
|
65420
|
+
},
|
|
65421
|
+
type: {
|
|
65422
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65423
|
+
enum: ["date"],
|
|
65424
|
+
type: "string"
|
|
65425
|
+
}
|
|
65426
|
+
},
|
|
65427
|
+
required: ["source"],
|
|
65428
|
+
type: "object"
|
|
65429
|
+
},
|
|
65430
|
+
guest_email: {
|
|
65431
|
+
description: "How to extract guest email",
|
|
65432
|
+
properties: {
|
|
65433
|
+
pattern: {
|
|
65434
|
+
description: "Regex with capture group to extract value from the property",
|
|
65435
|
+
type: "string"
|
|
65436
|
+
},
|
|
65437
|
+
source: {
|
|
65438
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65439
|
+
type: "string"
|
|
65440
|
+
},
|
|
65441
|
+
type: {
|
|
65442
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65443
|
+
enum: ["date"],
|
|
65444
|
+
type: "string"
|
|
65445
|
+
}
|
|
65446
|
+
},
|
|
65447
|
+
required: ["source"],
|
|
65448
|
+
type: "object"
|
|
65449
|
+
},
|
|
65450
|
+
guest_name: {
|
|
65451
|
+
description: "How to extract guest name",
|
|
65452
|
+
properties: {
|
|
65453
|
+
pattern: {
|
|
65454
|
+
description: "Regex with capture group to extract value from the property",
|
|
65455
|
+
type: "string"
|
|
65456
|
+
},
|
|
65457
|
+
source: {
|
|
65458
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65459
|
+
type: "string"
|
|
65460
|
+
},
|
|
65461
|
+
type: {
|
|
65462
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65463
|
+
enum: ["date"],
|
|
65464
|
+
type: "string"
|
|
65465
|
+
}
|
|
65466
|
+
},
|
|
65467
|
+
required: ["source"],
|
|
65468
|
+
type: "object"
|
|
65469
|
+
},
|
|
65470
|
+
guest_phone: {
|
|
65471
|
+
description: "How to extract guest phone",
|
|
65472
|
+
properties: {
|
|
65473
|
+
pattern: {
|
|
65474
|
+
description: "Regex with capture group to extract value from the property",
|
|
65475
|
+
type: "string"
|
|
65476
|
+
},
|
|
65477
|
+
source: {
|
|
65478
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65479
|
+
type: "string"
|
|
65480
|
+
},
|
|
65481
|
+
type: {
|
|
65482
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65483
|
+
enum: ["date"],
|
|
65484
|
+
type: "string"
|
|
65485
|
+
}
|
|
65486
|
+
},
|
|
65487
|
+
required: ["source"],
|
|
65488
|
+
type: "object"
|
|
65489
|
+
},
|
|
65490
|
+
reservation_key: {
|
|
65491
|
+
description: "How to extract the reservation key (falls back to UID)",
|
|
65492
|
+
properties: {
|
|
65493
|
+
pattern: {
|
|
65494
|
+
description: "Regex with capture group to extract value from the property",
|
|
65495
|
+
type: "string"
|
|
65496
|
+
},
|
|
65497
|
+
source: {
|
|
65498
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65499
|
+
type: "string"
|
|
65500
|
+
},
|
|
65501
|
+
type: {
|
|
65502
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65503
|
+
enum: ["date"],
|
|
65504
|
+
type: "string"
|
|
65505
|
+
}
|
|
65506
|
+
},
|
|
65507
|
+
required: ["source"],
|
|
65508
|
+
type: "object"
|
|
65509
|
+
},
|
|
65510
|
+
starts_at: {
|
|
65511
|
+
description: "How to extract check-in date",
|
|
65512
|
+
properties: {
|
|
65513
|
+
pattern: {
|
|
65514
|
+
description: "Regex with capture group to extract value from the property",
|
|
65515
|
+
type: "string"
|
|
65516
|
+
},
|
|
65517
|
+
source: {
|
|
65518
|
+
description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
|
|
65519
|
+
type: "string"
|
|
65520
|
+
},
|
|
65521
|
+
type: {
|
|
65522
|
+
description: "Special type handling \u2014 'date' parses iCal date formats",
|
|
65523
|
+
enum: ["date"],
|
|
65524
|
+
type: "string"
|
|
65525
|
+
}
|
|
65526
|
+
},
|
|
65527
|
+
required: ["source"],
|
|
65528
|
+
type: "object"
|
|
65529
|
+
}
|
|
65530
|
+
},
|
|
65531
|
+
required: ["starts_at", "ends_at"],
|
|
65532
|
+
type: "object"
|
|
65533
|
+
},
|
|
65534
|
+
filter: {
|
|
65535
|
+
description: "Optional filter to skip non-matching events",
|
|
65536
|
+
properties: {
|
|
65537
|
+
pattern: {
|
|
65538
|
+
description: "Regex pattern \u2014 events not matching are skipped",
|
|
65539
|
+
type: "string"
|
|
65540
|
+
},
|
|
65541
|
+
source: {
|
|
65542
|
+
description: "iCal property name to match against",
|
|
65543
|
+
type: "string"
|
|
65544
|
+
}
|
|
65545
|
+
},
|
|
65546
|
+
required: ["source", "pattern"],
|
|
65547
|
+
type: "object"
|
|
65548
|
+
},
|
|
65549
|
+
time_zone: {
|
|
65550
|
+
description: "IANA time zone (e.g. America/New_York) applied when dates have no time/timezone",
|
|
65551
|
+
type: "string"
|
|
65552
|
+
}
|
|
65553
|
+
},
|
|
65554
|
+
required: ["fields"],
|
|
65555
|
+
type: "object"
|
|
65556
|
+
},
|
|
65557
|
+
ical_url: {
|
|
65558
|
+
description: "iCal feed URL to validate against",
|
|
65559
|
+
format: "uri",
|
|
65560
|
+
type: "string"
|
|
65561
|
+
}
|
|
65562
|
+
},
|
|
65563
|
+
required: ["ical_url", "ical_config"],
|
|
65564
|
+
type: "object"
|
|
65565
|
+
}
|
|
65566
|
+
}
|
|
65567
|
+
}
|
|
65568
|
+
},
|
|
65569
|
+
responses: {
|
|
65570
|
+
200: {
|
|
65571
|
+
content: {
|
|
65572
|
+
"application/json": {
|
|
65573
|
+
schema: {
|
|
65574
|
+
properties: {
|
|
65575
|
+
ok: { type: "boolean" },
|
|
65576
|
+
validation_result: {
|
|
65577
|
+
properties: {
|
|
65578
|
+
errors: { items: { type: "string" }, type: "array" },
|
|
65579
|
+
filtered_events: { format: "float", type: "number" },
|
|
65580
|
+
is_valid: { type: "boolean" },
|
|
65581
|
+
matched_events: { format: "float", type: "number" },
|
|
65582
|
+
reservations: {
|
|
65583
|
+
items: {
|
|
65584
|
+
properties: {
|
|
65585
|
+
ends_at: { nullable: true, type: "string" },
|
|
65586
|
+
guest_email: { nullable: true, type: "string" },
|
|
65587
|
+
guest_name: { nullable: true, type: "string" },
|
|
65588
|
+
guest_phone: { nullable: true, type: "string" },
|
|
65589
|
+
reservation_key: {
|
|
65590
|
+
nullable: true,
|
|
65591
|
+
type: "string"
|
|
65592
|
+
},
|
|
65593
|
+
starts_at: { nullable: true, type: "string" },
|
|
65594
|
+
uid: { type: "string" }
|
|
65595
|
+
},
|
|
65596
|
+
required: [
|
|
65597
|
+
"uid",
|
|
65598
|
+
"reservation_key",
|
|
65599
|
+
"guest_name",
|
|
65600
|
+
"guest_email",
|
|
65601
|
+
"guest_phone",
|
|
65602
|
+
"starts_at",
|
|
65603
|
+
"ends_at"
|
|
65604
|
+
],
|
|
65605
|
+
type: "object"
|
|
65606
|
+
},
|
|
65607
|
+
type: "array"
|
|
65608
|
+
},
|
|
65609
|
+
total_events: { format: "float", type: "number" }
|
|
65610
|
+
},
|
|
65611
|
+
required: [
|
|
65612
|
+
"is_valid",
|
|
65613
|
+
"total_events",
|
|
65614
|
+
"matched_events",
|
|
65615
|
+
"filtered_events",
|
|
65616
|
+
"reservations",
|
|
65617
|
+
"errors"
|
|
65618
|
+
],
|
|
65619
|
+
type: "object"
|
|
65620
|
+
}
|
|
65621
|
+
},
|
|
65622
|
+
required: ["validation_result", "ok"],
|
|
65623
|
+
type: "object"
|
|
65624
|
+
}
|
|
65625
|
+
}
|
|
65626
|
+
},
|
|
65627
|
+
description: "OK"
|
|
65628
|
+
},
|
|
65629
|
+
400: { description: "Bad Request" },
|
|
65630
|
+
401: { description: "Unauthorized" }
|
|
65631
|
+
},
|
|
65632
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65633
|
+
summary: "/seam/customer/v1/connectors/ical/validate-config",
|
|
65634
|
+
tags: [],
|
|
65635
|
+
"x-fern-sdk-group-name": [
|
|
65636
|
+
"seam",
|
|
65637
|
+
"customer",
|
|
65638
|
+
"v1",
|
|
65639
|
+
"connectors",
|
|
65640
|
+
"ical"
|
|
65641
|
+
],
|
|
65642
|
+
"x-fern-sdk-method-name": "validate-config",
|
|
65643
|
+
"x-fern-sdk-return-value": "validation_result",
|
|
65644
|
+
"x-response-key": "validation_result",
|
|
65645
|
+
"x-title": "Validate iCal Config",
|
|
65646
|
+
"x-undocumented": "Only used internally."
|
|
65647
|
+
}
|
|
65648
|
+
},
|
|
65149
65649
|
"/seam/customer/v1/connectors/list": {
|
|
65150
65650
|
get: {
|
|
65151
65651
|
description: "Lists connectors for a workspace (API key auth) or for a specific customer (customer client session auth).",
|