@seamapi/types 1.818.0 → 1.819.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 +0 -223
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -316
- package/dist/index.cjs +0 -223
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +0 -229
- package/lib/seam/connect/openapi.js +0 -223
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -87
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +0 -249
- package/src/lib/seam/connect/route-types.ts +0 -97
|
@@ -63703,93 +63703,6 @@ export type Routes = {
|
|
|
63703
63703
|
};
|
|
63704
63704
|
maxDuration: undefined;
|
|
63705
63705
|
};
|
|
63706
|
-
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
63707
|
-
route: '/seam/customer/v1/connectors/ical/generate-config';
|
|
63708
|
-
method: 'POST';
|
|
63709
|
-
queryParams: {};
|
|
63710
|
-
jsonBody: {
|
|
63711
|
-
/** iCal feed URL to analyze */
|
|
63712
|
-
ical_url: string;
|
|
63713
|
-
};
|
|
63714
|
-
commonParams: {};
|
|
63715
|
-
formData: {};
|
|
63716
|
-
jsonResponse: {
|
|
63717
|
-
generated_config: {
|
|
63718
|
-
ical_config: {
|
|
63719
|
-
/** Optional filter to skip non-matching events */
|
|
63720
|
-
filter?: {
|
|
63721
|
-
/** iCal property name to match against */
|
|
63722
|
-
source: string;
|
|
63723
|
-
/** Regex pattern — events not matching are skipped */
|
|
63724
|
-
pattern: string;
|
|
63725
|
-
} | undefined;
|
|
63726
|
-
fields: {
|
|
63727
|
-
/** How to extract the reservation key (falls back to UID) */
|
|
63728
|
-
reservation_key?: {
|
|
63729
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
63730
|
-
source: string;
|
|
63731
|
-
/** Regex with capture group to extract value from the property */
|
|
63732
|
-
pattern?: string | undefined;
|
|
63733
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
63734
|
-
type?: 'date' | undefined;
|
|
63735
|
-
} | undefined;
|
|
63736
|
-
/** How to extract guest name */
|
|
63737
|
-
guest_name?: {
|
|
63738
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
63739
|
-
source: string;
|
|
63740
|
-
/** Regex with capture group to extract value from the property */
|
|
63741
|
-
pattern?: string | undefined;
|
|
63742
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
63743
|
-
type?: 'date' | undefined;
|
|
63744
|
-
} | undefined;
|
|
63745
|
-
/** How to extract guest email */
|
|
63746
|
-
guest_email?: {
|
|
63747
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
63748
|
-
source: string;
|
|
63749
|
-
/** Regex with capture group to extract value from the property */
|
|
63750
|
-
pattern?: string | undefined;
|
|
63751
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
63752
|
-
type?: 'date' | undefined;
|
|
63753
|
-
} | undefined;
|
|
63754
|
-
/** How to extract guest phone */
|
|
63755
|
-
guest_phone?: {
|
|
63756
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
63757
|
-
source: string;
|
|
63758
|
-
/** Regex with capture group to extract value from the property */
|
|
63759
|
-
pattern?: string | undefined;
|
|
63760
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
63761
|
-
type?: 'date' | undefined;
|
|
63762
|
-
} | undefined;
|
|
63763
|
-
/** How to extract check-in date */
|
|
63764
|
-
starts_at: {
|
|
63765
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
63766
|
-
source: string;
|
|
63767
|
-
/** Regex with capture group to extract value from the property */
|
|
63768
|
-
pattern?: string | undefined;
|
|
63769
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
63770
|
-
type?: 'date' | undefined;
|
|
63771
|
-
};
|
|
63772
|
-
/** How to extract check-out date */
|
|
63773
|
-
ends_at: {
|
|
63774
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
63775
|
-
source: string;
|
|
63776
|
-
/** Regex with capture group to extract value from the property */
|
|
63777
|
-
pattern?: string | undefined;
|
|
63778
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
63779
|
-
type?: 'date' | undefined;
|
|
63780
|
-
};
|
|
63781
|
-
};
|
|
63782
|
-
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
63783
|
-
time_zone?: string | undefined;
|
|
63784
|
-
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
63785
|
-
default_check_in_time?: string | undefined;
|
|
63786
|
-
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
63787
|
-
default_check_out_time?: string | undefined;
|
|
63788
|
-
};
|
|
63789
|
-
};
|
|
63790
|
-
};
|
|
63791
|
-
maxDuration: undefined;
|
|
63792
|
-
};
|
|
63793
63706
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
63794
63707
|
route: '/seam/customer/v1/connectors/ical/validate-config';
|
|
63795
63708
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -65421,255 +65421,6 @@ export default {
|
|
|
65421
65421
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
65422
65422
|
},
|
|
65423
65423
|
},
|
|
65424
|
-
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
65425
|
-
post: {
|
|
65426
|
-
description:
|
|
65427
|
-
"Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
|
|
65428
|
-
operationId: 'seamCustomerV1ConnectorsIcalGenerateConfigPost',
|
|
65429
|
-
requestBody: {
|
|
65430
|
-
content: {
|
|
65431
|
-
'application/json': {
|
|
65432
|
-
schema: {
|
|
65433
|
-
properties: {
|
|
65434
|
-
ical_url: {
|
|
65435
|
-
description: 'iCal feed URL to analyze',
|
|
65436
|
-
format: 'uri',
|
|
65437
|
-
type: 'string',
|
|
65438
|
-
},
|
|
65439
|
-
},
|
|
65440
|
-
required: ['ical_url'],
|
|
65441
|
-
type: 'object',
|
|
65442
|
-
},
|
|
65443
|
-
},
|
|
65444
|
-
},
|
|
65445
|
-
},
|
|
65446
|
-
responses: {
|
|
65447
|
-
200: {
|
|
65448
|
-
content: {
|
|
65449
|
-
'application/json': {
|
|
65450
|
-
schema: {
|
|
65451
|
-
properties: {
|
|
65452
|
-
generated_config: {
|
|
65453
|
-
properties: {
|
|
65454
|
-
ical_config: {
|
|
65455
|
-
properties: {
|
|
65456
|
-
default_check_in_time: {
|
|
65457
|
-
description:
|
|
65458
|
-
'Default check-in time (HH:MM) used when iCal gives date-only values',
|
|
65459
|
-
pattern: '^\\d{2}:\\d{2}$',
|
|
65460
|
-
type: 'string',
|
|
65461
|
-
},
|
|
65462
|
-
default_check_out_time: {
|
|
65463
|
-
description:
|
|
65464
|
-
'Default check-out time (HH:MM) used when iCal gives date-only values',
|
|
65465
|
-
pattern: '^\\d{2}:\\d{2}$',
|
|
65466
|
-
type: 'string',
|
|
65467
|
-
},
|
|
65468
|
-
fields: {
|
|
65469
|
-
properties: {
|
|
65470
|
-
ends_at: {
|
|
65471
|
-
description: 'How to extract check-out date',
|
|
65472
|
-
properties: {
|
|
65473
|
-
pattern: {
|
|
65474
|
-
description:
|
|
65475
|
-
'Regex with capture group to extract value from the property',
|
|
65476
|
-
type: 'string',
|
|
65477
|
-
},
|
|
65478
|
-
source: {
|
|
65479
|
-
description:
|
|
65480
|
-
'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
65481
|
-
type: 'string',
|
|
65482
|
-
},
|
|
65483
|
-
type: {
|
|
65484
|
-
description:
|
|
65485
|
-
"Special type handling — 'date' parses iCal date formats",
|
|
65486
|
-
enum: ['date'],
|
|
65487
|
-
type: 'string',
|
|
65488
|
-
},
|
|
65489
|
-
},
|
|
65490
|
-
required: ['source'],
|
|
65491
|
-
type: 'object',
|
|
65492
|
-
},
|
|
65493
|
-
guest_email: {
|
|
65494
|
-
description: 'How to extract guest email',
|
|
65495
|
-
properties: {
|
|
65496
|
-
pattern: {
|
|
65497
|
-
description:
|
|
65498
|
-
'Regex with capture group to extract value from the property',
|
|
65499
|
-
type: 'string',
|
|
65500
|
-
},
|
|
65501
|
-
source: {
|
|
65502
|
-
description:
|
|
65503
|
-
'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
65504
|
-
type: 'string',
|
|
65505
|
-
},
|
|
65506
|
-
type: {
|
|
65507
|
-
description:
|
|
65508
|
-
"Special type handling — 'date' parses iCal date formats",
|
|
65509
|
-
enum: ['date'],
|
|
65510
|
-
type: 'string',
|
|
65511
|
-
},
|
|
65512
|
-
},
|
|
65513
|
-
required: ['source'],
|
|
65514
|
-
type: 'object',
|
|
65515
|
-
},
|
|
65516
|
-
guest_name: {
|
|
65517
|
-
description: 'How to extract guest name',
|
|
65518
|
-
properties: {
|
|
65519
|
-
pattern: {
|
|
65520
|
-
description:
|
|
65521
|
-
'Regex with capture group to extract value from the property',
|
|
65522
|
-
type: 'string',
|
|
65523
|
-
},
|
|
65524
|
-
source: {
|
|
65525
|
-
description:
|
|
65526
|
-
'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
65527
|
-
type: 'string',
|
|
65528
|
-
},
|
|
65529
|
-
type: {
|
|
65530
|
-
description:
|
|
65531
|
-
"Special type handling — 'date' parses iCal date formats",
|
|
65532
|
-
enum: ['date'],
|
|
65533
|
-
type: 'string',
|
|
65534
|
-
},
|
|
65535
|
-
},
|
|
65536
|
-
required: ['source'],
|
|
65537
|
-
type: 'object',
|
|
65538
|
-
},
|
|
65539
|
-
guest_phone: {
|
|
65540
|
-
description: 'How to extract guest phone',
|
|
65541
|
-
properties: {
|
|
65542
|
-
pattern: {
|
|
65543
|
-
description:
|
|
65544
|
-
'Regex with capture group to extract value from the property',
|
|
65545
|
-
type: 'string',
|
|
65546
|
-
},
|
|
65547
|
-
source: {
|
|
65548
|
-
description:
|
|
65549
|
-
'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
65550
|
-
type: 'string',
|
|
65551
|
-
},
|
|
65552
|
-
type: {
|
|
65553
|
-
description:
|
|
65554
|
-
"Special type handling — 'date' parses iCal date formats",
|
|
65555
|
-
enum: ['date'],
|
|
65556
|
-
type: 'string',
|
|
65557
|
-
},
|
|
65558
|
-
},
|
|
65559
|
-
required: ['source'],
|
|
65560
|
-
type: 'object',
|
|
65561
|
-
},
|
|
65562
|
-
reservation_key: {
|
|
65563
|
-
description:
|
|
65564
|
-
'How to extract the reservation key (falls back to UID)',
|
|
65565
|
-
properties: {
|
|
65566
|
-
pattern: {
|
|
65567
|
-
description:
|
|
65568
|
-
'Regex with capture group to extract value from the property',
|
|
65569
|
-
type: 'string',
|
|
65570
|
-
},
|
|
65571
|
-
source: {
|
|
65572
|
-
description:
|
|
65573
|
-
'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
65574
|
-
type: 'string',
|
|
65575
|
-
},
|
|
65576
|
-
type: {
|
|
65577
|
-
description:
|
|
65578
|
-
"Special type handling — 'date' parses iCal date formats",
|
|
65579
|
-
enum: ['date'],
|
|
65580
|
-
type: 'string',
|
|
65581
|
-
},
|
|
65582
|
-
},
|
|
65583
|
-
required: ['source'],
|
|
65584
|
-
type: 'object',
|
|
65585
|
-
},
|
|
65586
|
-
starts_at: {
|
|
65587
|
-
description: 'How to extract check-in date',
|
|
65588
|
-
properties: {
|
|
65589
|
-
pattern: {
|
|
65590
|
-
description:
|
|
65591
|
-
'Regex with capture group to extract value from the property',
|
|
65592
|
-
type: 'string',
|
|
65593
|
-
},
|
|
65594
|
-
source: {
|
|
65595
|
-
description:
|
|
65596
|
-
'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
65597
|
-
type: 'string',
|
|
65598
|
-
},
|
|
65599
|
-
type: {
|
|
65600
|
-
description:
|
|
65601
|
-
"Special type handling — 'date' parses iCal date formats",
|
|
65602
|
-
enum: ['date'],
|
|
65603
|
-
type: 'string',
|
|
65604
|
-
},
|
|
65605
|
-
},
|
|
65606
|
-
required: ['source'],
|
|
65607
|
-
type: 'object',
|
|
65608
|
-
},
|
|
65609
|
-
},
|
|
65610
|
-
required: ['starts_at', 'ends_at'],
|
|
65611
|
-
type: 'object',
|
|
65612
|
-
},
|
|
65613
|
-
filter: {
|
|
65614
|
-
description:
|
|
65615
|
-
'Optional filter to skip non-matching events',
|
|
65616
|
-
properties: {
|
|
65617
|
-
pattern: {
|
|
65618
|
-
description:
|
|
65619
|
-
'Regex pattern — events not matching are skipped',
|
|
65620
|
-
type: 'string',
|
|
65621
|
-
},
|
|
65622
|
-
source: {
|
|
65623
|
-
description:
|
|
65624
|
-
'iCal property name to match against',
|
|
65625
|
-
type: 'string',
|
|
65626
|
-
},
|
|
65627
|
-
},
|
|
65628
|
-
required: ['source', 'pattern'],
|
|
65629
|
-
type: 'object',
|
|
65630
|
-
},
|
|
65631
|
-
time_zone: {
|
|
65632
|
-
description:
|
|
65633
|
-
'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
|
|
65634
|
-
type: 'string',
|
|
65635
|
-
},
|
|
65636
|
-
},
|
|
65637
|
-
required: ['fields'],
|
|
65638
|
-
type: 'object',
|
|
65639
|
-
},
|
|
65640
|
-
},
|
|
65641
|
-
required: ['ical_config'],
|
|
65642
|
-
type: 'object',
|
|
65643
|
-
},
|
|
65644
|
-
ok: { type: 'boolean' },
|
|
65645
|
-
},
|
|
65646
|
-
required: ['generated_config', 'ok'],
|
|
65647
|
-
type: 'object',
|
|
65648
|
-
},
|
|
65649
|
-
},
|
|
65650
|
-
},
|
|
65651
|
-
description: 'OK',
|
|
65652
|
-
},
|
|
65653
|
-
400: { description: 'Bad Request' },
|
|
65654
|
-
401: { description: 'Unauthorized' },
|
|
65655
|
-
},
|
|
65656
|
-
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65657
|
-
summary: '/seam/customer/v1/connectors/ical/generate-config',
|
|
65658
|
-
tags: [],
|
|
65659
|
-
'x-fern-sdk-group-name': [
|
|
65660
|
-
'seam',
|
|
65661
|
-
'customer',
|
|
65662
|
-
'v1',
|
|
65663
|
-
'connectors',
|
|
65664
|
-
'ical',
|
|
65665
|
-
],
|
|
65666
|
-
'x-fern-sdk-method-name': 'generate-config',
|
|
65667
|
-
'x-fern-sdk-return-value': 'generated_config',
|
|
65668
|
-
'x-response-key': 'generated_config',
|
|
65669
|
-
'x-title': 'Generate iCal Config',
|
|
65670
|
-
'x-undocumented': 'Only used internally.',
|
|
65671
|
-
},
|
|
65672
|
-
},
|
|
65673
65424
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
65674
65425
|
post: {
|
|
65675
65426
|
description:
|
|
@@ -76012,103 +76012,6 @@ export type Routes = {
|
|
|
76012
76012
|
}
|
|
76013
76013
|
maxDuration: undefined
|
|
76014
76014
|
}
|
|
76015
|
-
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
76016
|
-
route: '/seam/customer/v1/connectors/ical/generate-config'
|
|
76017
|
-
method: 'POST'
|
|
76018
|
-
queryParams: {}
|
|
76019
|
-
jsonBody: {
|
|
76020
|
-
/** iCal feed URL to analyze */
|
|
76021
|
-
ical_url: string
|
|
76022
|
-
}
|
|
76023
|
-
commonParams: {}
|
|
76024
|
-
formData: {}
|
|
76025
|
-
jsonResponse: {
|
|
76026
|
-
generated_config: {
|
|
76027
|
-
ical_config: {
|
|
76028
|
-
/** Optional filter to skip non-matching events */
|
|
76029
|
-
filter?:
|
|
76030
|
-
| {
|
|
76031
|
-
/** iCal property name to match against */
|
|
76032
|
-
source: string
|
|
76033
|
-
/** Regex pattern — events not matching are skipped */
|
|
76034
|
-
pattern: string
|
|
76035
|
-
}
|
|
76036
|
-
| undefined
|
|
76037
|
-
fields: {
|
|
76038
|
-
/** How to extract the reservation key (falls back to UID) */
|
|
76039
|
-
reservation_key?:
|
|
76040
|
-
| {
|
|
76041
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
76042
|
-
source: string
|
|
76043
|
-
/** Regex with capture group to extract value from the property */
|
|
76044
|
-
pattern?: string | undefined
|
|
76045
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
76046
|
-
type?: 'date' | undefined
|
|
76047
|
-
}
|
|
76048
|
-
| undefined
|
|
76049
|
-
/** How to extract guest name */
|
|
76050
|
-
guest_name?:
|
|
76051
|
-
| {
|
|
76052
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
76053
|
-
source: string
|
|
76054
|
-
/** Regex with capture group to extract value from the property */
|
|
76055
|
-
pattern?: string | undefined
|
|
76056
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
76057
|
-
type?: 'date' | undefined
|
|
76058
|
-
}
|
|
76059
|
-
| undefined
|
|
76060
|
-
/** How to extract guest email */
|
|
76061
|
-
guest_email?:
|
|
76062
|
-
| {
|
|
76063
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
76064
|
-
source: string
|
|
76065
|
-
/** Regex with capture group to extract value from the property */
|
|
76066
|
-
pattern?: string | undefined
|
|
76067
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
76068
|
-
type?: 'date' | undefined
|
|
76069
|
-
}
|
|
76070
|
-
| undefined
|
|
76071
|
-
/** How to extract guest phone */
|
|
76072
|
-
guest_phone?:
|
|
76073
|
-
| {
|
|
76074
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
76075
|
-
source: string
|
|
76076
|
-
/** Regex with capture group to extract value from the property */
|
|
76077
|
-
pattern?: string | undefined
|
|
76078
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
76079
|
-
type?: 'date' | undefined
|
|
76080
|
-
}
|
|
76081
|
-
| undefined
|
|
76082
|
-
/** How to extract check-in date */
|
|
76083
|
-
starts_at: {
|
|
76084
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
76085
|
-
source: string
|
|
76086
|
-
/** Regex with capture group to extract value from the property */
|
|
76087
|
-
pattern?: string | undefined
|
|
76088
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
76089
|
-
type?: 'date' | undefined
|
|
76090
|
-
}
|
|
76091
|
-
/** How to extract check-out date */
|
|
76092
|
-
ends_at: {
|
|
76093
|
-
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
76094
|
-
source: string
|
|
76095
|
-
/** Regex with capture group to extract value from the property */
|
|
76096
|
-
pattern?: string | undefined
|
|
76097
|
-
/** Special type handling — 'date' parses iCal date formats */
|
|
76098
|
-
type?: 'date' | undefined
|
|
76099
|
-
}
|
|
76100
|
-
}
|
|
76101
|
-
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
76102
|
-
time_zone?: string | undefined
|
|
76103
|
-
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
76104
|
-
default_check_in_time?: string | undefined
|
|
76105
|
-
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
76106
|
-
default_check_out_time?: string | undefined
|
|
76107
|
-
}
|
|
76108
|
-
}
|
|
76109
|
-
}
|
|
76110
|
-
maxDuration: undefined
|
|
76111
|
-
}
|
|
76112
76015
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
76113
76016
|
route: '/seam/customer/v1/connectors/ical/validate-config'
|
|
76114
76017
|
method: 'POST'
|