@seamapi/types 1.772.0 → 1.773.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.
@@ -74378,6 +74378,215 @@ export type Routes = {
74378
74378
  }
74379
74379
  maxDuration: undefined
74380
74380
  }
74381
+ '/seam/customer/v1/connectors/ical/generate-config': {
74382
+ route: '/seam/customer/v1/connectors/ical/generate-config'
74383
+ method: 'POST'
74384
+ queryParams: {}
74385
+ jsonBody: {
74386
+ /** iCal feed URL to analyze */
74387
+ ical_url: string
74388
+ }
74389
+ commonParams: {}
74390
+ formData: {}
74391
+ jsonResponse: {
74392
+ generated_config: {
74393
+ ical_config: {
74394
+ /** Optional filter to skip non-matching events */
74395
+ filter?:
74396
+ | {
74397
+ /** iCal property name to match against */
74398
+ source: string
74399
+ /** Regex pattern — events not matching are skipped */
74400
+ pattern: string
74401
+ }
74402
+ | undefined
74403
+ fields: {
74404
+ /** How to extract the reservation key (falls back to UID) */
74405
+ reservation_key?:
74406
+ | {
74407
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74408
+ source: string
74409
+ /** Regex with capture group to extract value from the property */
74410
+ pattern?: string | undefined
74411
+ /** Special type handling — 'date' parses iCal date formats */
74412
+ type?: 'date' | undefined
74413
+ }
74414
+ | undefined
74415
+ /** How to extract guest name */
74416
+ guest_name?:
74417
+ | {
74418
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74419
+ source: string
74420
+ /** Regex with capture group to extract value from the property */
74421
+ pattern?: string | undefined
74422
+ /** Special type handling — 'date' parses iCal date formats */
74423
+ type?: 'date' | undefined
74424
+ }
74425
+ | undefined
74426
+ /** How to extract guest email */
74427
+ guest_email?:
74428
+ | {
74429
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74430
+ source: string
74431
+ /** Regex with capture group to extract value from the property */
74432
+ pattern?: string | undefined
74433
+ /** Special type handling — 'date' parses iCal date formats */
74434
+ type?: 'date' | undefined
74435
+ }
74436
+ | undefined
74437
+ /** How to extract guest phone */
74438
+ guest_phone?:
74439
+ | {
74440
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74441
+ source: string
74442
+ /** Regex with capture group to extract value from the property */
74443
+ pattern?: string | undefined
74444
+ /** Special type handling — 'date' parses iCal date formats */
74445
+ type?: 'date' | undefined
74446
+ }
74447
+ | undefined
74448
+ /** How to extract check-in date */
74449
+ starts_at: {
74450
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74451
+ source: string
74452
+ /** Regex with capture group to extract value from the property */
74453
+ pattern?: string | undefined
74454
+ /** Special type handling — 'date' parses iCal date formats */
74455
+ type?: 'date' | undefined
74456
+ }
74457
+ /** How to extract check-out date */
74458
+ ends_at: {
74459
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74460
+ source: string
74461
+ /** Regex with capture group to extract value from the property */
74462
+ pattern?: string | undefined
74463
+ /** Special type handling — 'date' parses iCal date formats */
74464
+ type?: 'date' | undefined
74465
+ }
74466
+ }
74467
+ /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
74468
+ time_zone?: string | undefined
74469
+ /** Default check-in time (HH:MM) used when iCal gives date-only values */
74470
+ default_check_in_time?: string | undefined
74471
+ /** Default check-out time (HH:MM) used when iCal gives date-only values */
74472
+ default_check_out_time?: string | undefined
74473
+ }
74474
+ }
74475
+ }
74476
+ maxDuration: undefined
74477
+ }
74478
+ '/seam/customer/v1/connectors/ical/validate-config': {
74479
+ route: '/seam/customer/v1/connectors/ical/validate-config'
74480
+ method: 'POST'
74481
+ queryParams: {}
74482
+ jsonBody: {
74483
+ /** iCal feed URL to validate against */
74484
+ ical_url: string
74485
+ /** Config to validate */
74486
+ ical_config: {
74487
+ /** Optional filter to skip non-matching events */
74488
+ filter?:
74489
+ | {
74490
+ /** iCal property name to match against */
74491
+ source: string
74492
+ /** Regex pattern — events not matching are skipped */
74493
+ pattern: string
74494
+ }
74495
+ | undefined
74496
+ fields: {
74497
+ /** How to extract the reservation key (falls back to UID) */
74498
+ reservation_key?:
74499
+ | {
74500
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74501
+ source: string
74502
+ /** Regex with capture group to extract value from the property */
74503
+ pattern?: string | undefined
74504
+ /** Special type handling — 'date' parses iCal date formats */
74505
+ type?: 'date' | undefined
74506
+ }
74507
+ | undefined
74508
+ /** How to extract guest name */
74509
+ guest_name?:
74510
+ | {
74511
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74512
+ source: string
74513
+ /** Regex with capture group to extract value from the property */
74514
+ pattern?: string | undefined
74515
+ /** Special type handling — 'date' parses iCal date formats */
74516
+ type?: 'date' | undefined
74517
+ }
74518
+ | undefined
74519
+ /** How to extract guest email */
74520
+ guest_email?:
74521
+ | {
74522
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74523
+ source: string
74524
+ /** Regex with capture group to extract value from the property */
74525
+ pattern?: string | undefined
74526
+ /** Special type handling — 'date' parses iCal date formats */
74527
+ type?: 'date' | undefined
74528
+ }
74529
+ | undefined
74530
+ /** How to extract guest phone */
74531
+ guest_phone?:
74532
+ | {
74533
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74534
+ source: string
74535
+ /** Regex with capture group to extract value from the property */
74536
+ pattern?: string | undefined
74537
+ /** Special type handling — 'date' parses iCal date formats */
74538
+ type?: 'date' | undefined
74539
+ }
74540
+ | undefined
74541
+ /** How to extract check-in date */
74542
+ starts_at: {
74543
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74544
+ source: string
74545
+ /** Regex with capture group to extract value from the property */
74546
+ pattern?: string | undefined
74547
+ /** Special type handling — 'date' parses iCal date formats */
74548
+ type?: 'date' | undefined
74549
+ }
74550
+ /** How to extract check-out date */
74551
+ ends_at: {
74552
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
74553
+ source: string
74554
+ /** Regex with capture group to extract value from the property */
74555
+ pattern?: string | undefined
74556
+ /** Special type handling — 'date' parses iCal date formats */
74557
+ type?: 'date' | undefined
74558
+ }
74559
+ }
74560
+ /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
74561
+ time_zone?: string | undefined
74562
+ /** Default check-in time (HH:MM) used when iCal gives date-only values */
74563
+ default_check_in_time?: string | undefined
74564
+ /** Default check-out time (HH:MM) used when iCal gives date-only values */
74565
+ default_check_out_time?: string | undefined
74566
+ }
74567
+ }
74568
+ commonParams: {}
74569
+ formData: {}
74570
+ jsonResponse: {
74571
+ validation_result: {
74572
+ is_valid: boolean
74573
+ total_events: number
74574
+ matched_events: number
74575
+ filtered_events: number
74576
+ reservations: {
74577
+ uid: string
74578
+ reservation_key: string | null
74579
+ guest_name: string | null
74580
+ guest_email: string | null
74581
+ guest_phone: string | null
74582
+ starts_at: string | null
74583
+ ends_at: string | null
74584
+ }[]
74585
+ errors: string[]
74586
+ }
74587
+ }
74588
+ maxDuration: undefined
74589
+ }
74381
74590
  '/seam/customer/v1/connectors/list': {
74382
74591
  route: '/seam/customer/v1/connectors/list'
74383
74592
  method: 'GET' | 'POST'