@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
|
@@ -10407,16 +10407,21 @@ export default {
|
|
|
10407
10407
|
},
|
|
10408
10408
|
location: {
|
|
10409
10409
|
description: 'Location information for the device.',
|
|
10410
|
-
nullable: true,
|
|
10411
10410
|
properties: {
|
|
10412
10411
|
location_name: {
|
|
10413
10412
|
description: 'Name of the device location.\n ',
|
|
10414
10413
|
type: 'string',
|
|
10415
10414
|
},
|
|
10416
|
-
|
|
10415
|
+
time_zone: {
|
|
10417
10416
|
description: 'Time zone of the device location.\n ',
|
|
10418
10417
|
type: 'string',
|
|
10419
10418
|
},
|
|
10419
|
+
timezone: {
|
|
10420
|
+
deprecated: true,
|
|
10421
|
+
description: 'Time zone of the device location.',
|
|
10422
|
+
type: 'string',
|
|
10423
|
+
'x-deprecated': 'Use `time_zone` instead.',
|
|
10424
|
+
},
|
|
10420
10425
|
},
|
|
10421
10426
|
type: 'object',
|
|
10422
10427
|
'x-property-group-key': 'hardware',
|
|
@@ -13340,7 +13345,6 @@ export default {
|
|
|
13340
13345
|
'display_name',
|
|
13341
13346
|
'capabilities_supported',
|
|
13342
13347
|
'properties',
|
|
13343
|
-
'location',
|
|
13344
13348
|
'connected_account_id',
|
|
13345
13349
|
'workspace_id',
|
|
13346
13350
|
'errors',
|
|
@@ -26769,16 +26773,21 @@ export default {
|
|
|
26769
26773
|
is_managed: { enum: [false], type: 'boolean' },
|
|
26770
26774
|
location: {
|
|
26771
26775
|
description: 'Location information for the device.',
|
|
26772
|
-
nullable: true,
|
|
26773
26776
|
properties: {
|
|
26774
26777
|
location_name: {
|
|
26775
26778
|
description: 'Name of the device location.\n ',
|
|
26776
26779
|
type: 'string',
|
|
26777
26780
|
},
|
|
26778
|
-
|
|
26781
|
+
time_zone: {
|
|
26779
26782
|
description: 'Time zone of the device location.\n ',
|
|
26780
26783
|
type: 'string',
|
|
26781
26784
|
},
|
|
26785
|
+
timezone: {
|
|
26786
|
+
deprecated: true,
|
|
26787
|
+
description: 'Time zone of the device location.',
|
|
26788
|
+
type: 'string',
|
|
26789
|
+
'x-deprecated': 'Use `time_zone` instead.',
|
|
26790
|
+
},
|
|
26782
26791
|
},
|
|
26783
26792
|
type: 'object',
|
|
26784
26793
|
'x-property-group-key': 'hardware',
|
|
@@ -27468,7 +27477,6 @@ export default {
|
|
|
27468
27477
|
'device_id',
|
|
27469
27478
|
'device_type',
|
|
27470
27479
|
'connected_account_id',
|
|
27471
|
-
'location',
|
|
27472
27480
|
'capabilities_supported',
|
|
27473
27481
|
'workspace_id',
|
|
27474
27482
|
'errors',
|
|
@@ -58476,6 +58484,492 @@ export default {
|
|
|
58476
58484
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
58477
58485
|
},
|
|
58478
58486
|
},
|
|
58487
|
+
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
58488
|
+
post: {
|
|
58489
|
+
description: "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
|
|
58490
|
+
operationId: 'seamCustomerV1ConnectorsIcalGenerateConfigPost',
|
|
58491
|
+
requestBody: {
|
|
58492
|
+
content: {
|
|
58493
|
+
'application/json': {
|
|
58494
|
+
schema: {
|
|
58495
|
+
properties: {
|
|
58496
|
+
ical_url: {
|
|
58497
|
+
description: 'iCal feed URL to analyze',
|
|
58498
|
+
format: 'uri',
|
|
58499
|
+
type: 'string',
|
|
58500
|
+
},
|
|
58501
|
+
},
|
|
58502
|
+
required: ['ical_url'],
|
|
58503
|
+
type: 'object',
|
|
58504
|
+
},
|
|
58505
|
+
},
|
|
58506
|
+
},
|
|
58507
|
+
},
|
|
58508
|
+
responses: {
|
|
58509
|
+
200: {
|
|
58510
|
+
content: {
|
|
58511
|
+
'application/json': {
|
|
58512
|
+
schema: {
|
|
58513
|
+
properties: {
|
|
58514
|
+
generated_config: {
|
|
58515
|
+
properties: {
|
|
58516
|
+
ical_config: {
|
|
58517
|
+
properties: {
|
|
58518
|
+
default_check_in_time: {
|
|
58519
|
+
description: 'Default check-in time (HH:MM) used when iCal gives date-only values',
|
|
58520
|
+
pattern: '^\\d{2}:\\d{2}$',
|
|
58521
|
+
type: 'string',
|
|
58522
|
+
},
|
|
58523
|
+
default_check_out_time: {
|
|
58524
|
+
description: 'Default check-out time (HH:MM) used when iCal gives date-only values',
|
|
58525
|
+
pattern: '^\\d{2}:\\d{2}$',
|
|
58526
|
+
type: 'string',
|
|
58527
|
+
},
|
|
58528
|
+
fields: {
|
|
58529
|
+
properties: {
|
|
58530
|
+
ends_at: {
|
|
58531
|
+
description: 'How to extract check-out date',
|
|
58532
|
+
properties: {
|
|
58533
|
+
pattern: {
|
|
58534
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58535
|
+
type: 'string',
|
|
58536
|
+
},
|
|
58537
|
+
source: {
|
|
58538
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58539
|
+
type: 'string',
|
|
58540
|
+
},
|
|
58541
|
+
type: {
|
|
58542
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58543
|
+
enum: ['date'],
|
|
58544
|
+
type: 'string',
|
|
58545
|
+
},
|
|
58546
|
+
},
|
|
58547
|
+
required: ['source'],
|
|
58548
|
+
type: 'object',
|
|
58549
|
+
},
|
|
58550
|
+
guest_email: {
|
|
58551
|
+
description: 'How to extract guest email',
|
|
58552
|
+
properties: {
|
|
58553
|
+
pattern: {
|
|
58554
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58555
|
+
type: 'string',
|
|
58556
|
+
},
|
|
58557
|
+
source: {
|
|
58558
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58559
|
+
type: 'string',
|
|
58560
|
+
},
|
|
58561
|
+
type: {
|
|
58562
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58563
|
+
enum: ['date'],
|
|
58564
|
+
type: 'string',
|
|
58565
|
+
},
|
|
58566
|
+
},
|
|
58567
|
+
required: ['source'],
|
|
58568
|
+
type: 'object',
|
|
58569
|
+
},
|
|
58570
|
+
guest_name: {
|
|
58571
|
+
description: 'How to extract guest name',
|
|
58572
|
+
properties: {
|
|
58573
|
+
pattern: {
|
|
58574
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58575
|
+
type: 'string',
|
|
58576
|
+
},
|
|
58577
|
+
source: {
|
|
58578
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58579
|
+
type: 'string',
|
|
58580
|
+
},
|
|
58581
|
+
type: {
|
|
58582
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58583
|
+
enum: ['date'],
|
|
58584
|
+
type: 'string',
|
|
58585
|
+
},
|
|
58586
|
+
},
|
|
58587
|
+
required: ['source'],
|
|
58588
|
+
type: 'object',
|
|
58589
|
+
},
|
|
58590
|
+
guest_phone: {
|
|
58591
|
+
description: 'How to extract guest phone',
|
|
58592
|
+
properties: {
|
|
58593
|
+
pattern: {
|
|
58594
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58595
|
+
type: 'string',
|
|
58596
|
+
},
|
|
58597
|
+
source: {
|
|
58598
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58599
|
+
type: 'string',
|
|
58600
|
+
},
|
|
58601
|
+
type: {
|
|
58602
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58603
|
+
enum: ['date'],
|
|
58604
|
+
type: 'string',
|
|
58605
|
+
},
|
|
58606
|
+
},
|
|
58607
|
+
required: ['source'],
|
|
58608
|
+
type: 'object',
|
|
58609
|
+
},
|
|
58610
|
+
reservation_key: {
|
|
58611
|
+
description: 'How to extract the reservation key (falls back to UID)',
|
|
58612
|
+
properties: {
|
|
58613
|
+
pattern: {
|
|
58614
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58615
|
+
type: 'string',
|
|
58616
|
+
},
|
|
58617
|
+
source: {
|
|
58618
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58619
|
+
type: 'string',
|
|
58620
|
+
},
|
|
58621
|
+
type: {
|
|
58622
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58623
|
+
enum: ['date'],
|
|
58624
|
+
type: 'string',
|
|
58625
|
+
},
|
|
58626
|
+
},
|
|
58627
|
+
required: ['source'],
|
|
58628
|
+
type: 'object',
|
|
58629
|
+
},
|
|
58630
|
+
starts_at: {
|
|
58631
|
+
description: 'How to extract check-in date',
|
|
58632
|
+
properties: {
|
|
58633
|
+
pattern: {
|
|
58634
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58635
|
+
type: 'string',
|
|
58636
|
+
},
|
|
58637
|
+
source: {
|
|
58638
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58639
|
+
type: 'string',
|
|
58640
|
+
},
|
|
58641
|
+
type: {
|
|
58642
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58643
|
+
enum: ['date'],
|
|
58644
|
+
type: 'string',
|
|
58645
|
+
},
|
|
58646
|
+
},
|
|
58647
|
+
required: ['source'],
|
|
58648
|
+
type: 'object',
|
|
58649
|
+
},
|
|
58650
|
+
},
|
|
58651
|
+
required: ['starts_at', 'ends_at'],
|
|
58652
|
+
type: 'object',
|
|
58653
|
+
},
|
|
58654
|
+
filter: {
|
|
58655
|
+
description: 'Optional filter to skip non-matching events',
|
|
58656
|
+
properties: {
|
|
58657
|
+
pattern: {
|
|
58658
|
+
description: 'Regex pattern — events not matching are skipped',
|
|
58659
|
+
type: 'string',
|
|
58660
|
+
},
|
|
58661
|
+
source: {
|
|
58662
|
+
description: 'iCal property name to match against',
|
|
58663
|
+
type: 'string',
|
|
58664
|
+
},
|
|
58665
|
+
},
|
|
58666
|
+
required: ['source', 'pattern'],
|
|
58667
|
+
type: 'object',
|
|
58668
|
+
},
|
|
58669
|
+
time_zone: {
|
|
58670
|
+
description: 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
|
|
58671
|
+
type: 'string',
|
|
58672
|
+
},
|
|
58673
|
+
},
|
|
58674
|
+
required: ['fields'],
|
|
58675
|
+
type: 'object',
|
|
58676
|
+
},
|
|
58677
|
+
},
|
|
58678
|
+
required: ['ical_config'],
|
|
58679
|
+
type: 'object',
|
|
58680
|
+
},
|
|
58681
|
+
ok: { type: 'boolean' },
|
|
58682
|
+
},
|
|
58683
|
+
required: ['generated_config', 'ok'],
|
|
58684
|
+
type: 'object',
|
|
58685
|
+
},
|
|
58686
|
+
},
|
|
58687
|
+
},
|
|
58688
|
+
description: 'OK',
|
|
58689
|
+
},
|
|
58690
|
+
400: { description: 'Bad Request' },
|
|
58691
|
+
401: { description: 'Unauthorized' },
|
|
58692
|
+
},
|
|
58693
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
58694
|
+
summary: '/seam/customer/v1/connectors/ical/generate-config',
|
|
58695
|
+
tags: [],
|
|
58696
|
+
'x-fern-sdk-group-name': [
|
|
58697
|
+
'seam',
|
|
58698
|
+
'customer',
|
|
58699
|
+
'v1',
|
|
58700
|
+
'connectors',
|
|
58701
|
+
'ical',
|
|
58702
|
+
],
|
|
58703
|
+
'x-fern-sdk-method-name': 'generate-config',
|
|
58704
|
+
'x-fern-sdk-return-value': 'generated_config',
|
|
58705
|
+
'x-response-key': 'generated_config',
|
|
58706
|
+
'x-title': 'Generate iCal Config',
|
|
58707
|
+
'x-undocumented': 'Only used internally.',
|
|
58708
|
+
},
|
|
58709
|
+
},
|
|
58710
|
+
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
58711
|
+
post: {
|
|
58712
|
+
description: 'Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.',
|
|
58713
|
+
operationId: 'seamCustomerV1ConnectorsIcalValidateConfigPost',
|
|
58714
|
+
requestBody: {
|
|
58715
|
+
content: {
|
|
58716
|
+
'application/json': {
|
|
58717
|
+
schema: {
|
|
58718
|
+
properties: {
|
|
58719
|
+
ical_config: {
|
|
58720
|
+
description: 'Config to validate',
|
|
58721
|
+
properties: {
|
|
58722
|
+
default_check_in_time: {
|
|
58723
|
+
description: 'Default check-in time (HH:MM) used when iCal gives date-only values',
|
|
58724
|
+
pattern: '^\\d{2}:\\d{2}$',
|
|
58725
|
+
type: 'string',
|
|
58726
|
+
},
|
|
58727
|
+
default_check_out_time: {
|
|
58728
|
+
description: 'Default check-out time (HH:MM) used when iCal gives date-only values',
|
|
58729
|
+
pattern: '^\\d{2}:\\d{2}$',
|
|
58730
|
+
type: 'string',
|
|
58731
|
+
},
|
|
58732
|
+
fields: {
|
|
58733
|
+
properties: {
|
|
58734
|
+
ends_at: {
|
|
58735
|
+
description: 'How to extract check-out date',
|
|
58736
|
+
properties: {
|
|
58737
|
+
pattern: {
|
|
58738
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58739
|
+
type: 'string',
|
|
58740
|
+
},
|
|
58741
|
+
source: {
|
|
58742
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58743
|
+
type: 'string',
|
|
58744
|
+
},
|
|
58745
|
+
type: {
|
|
58746
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58747
|
+
enum: ['date'],
|
|
58748
|
+
type: 'string',
|
|
58749
|
+
},
|
|
58750
|
+
},
|
|
58751
|
+
required: ['source'],
|
|
58752
|
+
type: 'object',
|
|
58753
|
+
},
|
|
58754
|
+
guest_email: {
|
|
58755
|
+
description: 'How to extract guest email',
|
|
58756
|
+
properties: {
|
|
58757
|
+
pattern: {
|
|
58758
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58759
|
+
type: 'string',
|
|
58760
|
+
},
|
|
58761
|
+
source: {
|
|
58762
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58763
|
+
type: 'string',
|
|
58764
|
+
},
|
|
58765
|
+
type: {
|
|
58766
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58767
|
+
enum: ['date'],
|
|
58768
|
+
type: 'string',
|
|
58769
|
+
},
|
|
58770
|
+
},
|
|
58771
|
+
required: ['source'],
|
|
58772
|
+
type: 'object',
|
|
58773
|
+
},
|
|
58774
|
+
guest_name: {
|
|
58775
|
+
description: 'How to extract guest name',
|
|
58776
|
+
properties: {
|
|
58777
|
+
pattern: {
|
|
58778
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58779
|
+
type: 'string',
|
|
58780
|
+
},
|
|
58781
|
+
source: {
|
|
58782
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58783
|
+
type: 'string',
|
|
58784
|
+
},
|
|
58785
|
+
type: {
|
|
58786
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58787
|
+
enum: ['date'],
|
|
58788
|
+
type: 'string',
|
|
58789
|
+
},
|
|
58790
|
+
},
|
|
58791
|
+
required: ['source'],
|
|
58792
|
+
type: 'object',
|
|
58793
|
+
},
|
|
58794
|
+
guest_phone: {
|
|
58795
|
+
description: 'How to extract guest phone',
|
|
58796
|
+
properties: {
|
|
58797
|
+
pattern: {
|
|
58798
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58799
|
+
type: 'string',
|
|
58800
|
+
},
|
|
58801
|
+
source: {
|
|
58802
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58803
|
+
type: 'string',
|
|
58804
|
+
},
|
|
58805
|
+
type: {
|
|
58806
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58807
|
+
enum: ['date'],
|
|
58808
|
+
type: 'string',
|
|
58809
|
+
},
|
|
58810
|
+
},
|
|
58811
|
+
required: ['source'],
|
|
58812
|
+
type: 'object',
|
|
58813
|
+
},
|
|
58814
|
+
reservation_key: {
|
|
58815
|
+
description: 'How to extract the reservation key (falls back to UID)',
|
|
58816
|
+
properties: {
|
|
58817
|
+
pattern: {
|
|
58818
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58819
|
+
type: 'string',
|
|
58820
|
+
},
|
|
58821
|
+
source: {
|
|
58822
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58823
|
+
type: 'string',
|
|
58824
|
+
},
|
|
58825
|
+
type: {
|
|
58826
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58827
|
+
enum: ['date'],
|
|
58828
|
+
type: 'string',
|
|
58829
|
+
},
|
|
58830
|
+
},
|
|
58831
|
+
required: ['source'],
|
|
58832
|
+
type: 'object',
|
|
58833
|
+
},
|
|
58834
|
+
starts_at: {
|
|
58835
|
+
description: 'How to extract check-in date',
|
|
58836
|
+
properties: {
|
|
58837
|
+
pattern: {
|
|
58838
|
+
description: 'Regex with capture group to extract value from the property',
|
|
58839
|
+
type: 'string',
|
|
58840
|
+
},
|
|
58841
|
+
source: {
|
|
58842
|
+
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
58843
|
+
type: 'string',
|
|
58844
|
+
},
|
|
58845
|
+
type: {
|
|
58846
|
+
description: "Special type handling — 'date' parses iCal date formats",
|
|
58847
|
+
enum: ['date'],
|
|
58848
|
+
type: 'string',
|
|
58849
|
+
},
|
|
58850
|
+
},
|
|
58851
|
+
required: ['source'],
|
|
58852
|
+
type: 'object',
|
|
58853
|
+
},
|
|
58854
|
+
},
|
|
58855
|
+
required: ['starts_at', 'ends_at'],
|
|
58856
|
+
type: 'object',
|
|
58857
|
+
},
|
|
58858
|
+
filter: {
|
|
58859
|
+
description: 'Optional filter to skip non-matching events',
|
|
58860
|
+
properties: {
|
|
58861
|
+
pattern: {
|
|
58862
|
+
description: 'Regex pattern — events not matching are skipped',
|
|
58863
|
+
type: 'string',
|
|
58864
|
+
},
|
|
58865
|
+
source: {
|
|
58866
|
+
description: 'iCal property name to match against',
|
|
58867
|
+
type: 'string',
|
|
58868
|
+
},
|
|
58869
|
+
},
|
|
58870
|
+
required: ['source', 'pattern'],
|
|
58871
|
+
type: 'object',
|
|
58872
|
+
},
|
|
58873
|
+
time_zone: {
|
|
58874
|
+
description: 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
|
|
58875
|
+
type: 'string',
|
|
58876
|
+
},
|
|
58877
|
+
},
|
|
58878
|
+
required: ['fields'],
|
|
58879
|
+
type: 'object',
|
|
58880
|
+
},
|
|
58881
|
+
ical_url: {
|
|
58882
|
+
description: 'iCal feed URL to validate against',
|
|
58883
|
+
format: 'uri',
|
|
58884
|
+
type: 'string',
|
|
58885
|
+
},
|
|
58886
|
+
},
|
|
58887
|
+
required: ['ical_url', 'ical_config'],
|
|
58888
|
+
type: 'object',
|
|
58889
|
+
},
|
|
58890
|
+
},
|
|
58891
|
+
},
|
|
58892
|
+
},
|
|
58893
|
+
responses: {
|
|
58894
|
+
200: {
|
|
58895
|
+
content: {
|
|
58896
|
+
'application/json': {
|
|
58897
|
+
schema: {
|
|
58898
|
+
properties: {
|
|
58899
|
+
ok: { type: 'boolean' },
|
|
58900
|
+
validation_result: {
|
|
58901
|
+
properties: {
|
|
58902
|
+
errors: { items: { type: 'string' }, type: 'array' },
|
|
58903
|
+
filtered_events: { format: 'float', type: 'number' },
|
|
58904
|
+
is_valid: { type: 'boolean' },
|
|
58905
|
+
matched_events: { format: 'float', type: 'number' },
|
|
58906
|
+
reservations: {
|
|
58907
|
+
items: {
|
|
58908
|
+
properties: {
|
|
58909
|
+
ends_at: { nullable: true, type: 'string' },
|
|
58910
|
+
guest_email: { nullable: true, type: 'string' },
|
|
58911
|
+
guest_name: { nullable: true, type: 'string' },
|
|
58912
|
+
guest_phone: { nullable: true, type: 'string' },
|
|
58913
|
+
reservation_key: {
|
|
58914
|
+
nullable: true,
|
|
58915
|
+
type: 'string',
|
|
58916
|
+
},
|
|
58917
|
+
starts_at: { nullable: true, type: 'string' },
|
|
58918
|
+
uid: { type: 'string' },
|
|
58919
|
+
},
|
|
58920
|
+
required: [
|
|
58921
|
+
'uid',
|
|
58922
|
+
'reservation_key',
|
|
58923
|
+
'guest_name',
|
|
58924
|
+
'guest_email',
|
|
58925
|
+
'guest_phone',
|
|
58926
|
+
'starts_at',
|
|
58927
|
+
'ends_at',
|
|
58928
|
+
],
|
|
58929
|
+
type: 'object',
|
|
58930
|
+
},
|
|
58931
|
+
type: 'array',
|
|
58932
|
+
},
|
|
58933
|
+
total_events: { format: 'float', type: 'number' },
|
|
58934
|
+
},
|
|
58935
|
+
required: [
|
|
58936
|
+
'is_valid',
|
|
58937
|
+
'total_events',
|
|
58938
|
+
'matched_events',
|
|
58939
|
+
'filtered_events',
|
|
58940
|
+
'reservations',
|
|
58941
|
+
'errors',
|
|
58942
|
+
],
|
|
58943
|
+
type: 'object',
|
|
58944
|
+
},
|
|
58945
|
+
},
|
|
58946
|
+
required: ['validation_result', 'ok'],
|
|
58947
|
+
type: 'object',
|
|
58948
|
+
},
|
|
58949
|
+
},
|
|
58950
|
+
},
|
|
58951
|
+
description: 'OK',
|
|
58952
|
+
},
|
|
58953
|
+
400: { description: 'Bad Request' },
|
|
58954
|
+
401: { description: 'Unauthorized' },
|
|
58955
|
+
},
|
|
58956
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
58957
|
+
summary: '/seam/customer/v1/connectors/ical/validate-config',
|
|
58958
|
+
tags: [],
|
|
58959
|
+
'x-fern-sdk-group-name': [
|
|
58960
|
+
'seam',
|
|
58961
|
+
'customer',
|
|
58962
|
+
'v1',
|
|
58963
|
+
'connectors',
|
|
58964
|
+
'ical',
|
|
58965
|
+
],
|
|
58966
|
+
'x-fern-sdk-method-name': 'validate-config',
|
|
58967
|
+
'x-fern-sdk-return-value': 'validation_result',
|
|
58968
|
+
'x-response-key': 'validation_result',
|
|
58969
|
+
'x-title': 'Validate iCal Config',
|
|
58970
|
+
'x-undocumented': 'Only used internally.',
|
|
58971
|
+
},
|
|
58972
|
+
},
|
|
58479
58973
|
'/seam/customer/v1/connectors/list': {
|
|
58480
58974
|
get: {
|
|
58481
58975
|
description: 'Lists connectors for a workspace (API key auth) or for a specific customer (customer client session auth).',
|