@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.
- package/dist/connect.cjs +486 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +705 -0
- package/dist/index.cjs +486 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +516 -0
- package/lib/seam/connect/openapi.js +486 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +189 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +537 -0
- package/src/lib/seam/connect/route-types.ts +209 -0
|
@@ -62589,6 +62589,195 @@ export type Routes = {
|
|
|
62589
62589
|
};
|
|
62590
62590
|
maxDuration: undefined;
|
|
62591
62591
|
};
|
|
62592
|
+
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
62593
|
+
route: '/seam/customer/v1/connectors/ical/generate-config';
|
|
62594
|
+
method: 'POST';
|
|
62595
|
+
queryParams: {};
|
|
62596
|
+
jsonBody: {
|
|
62597
|
+
/** iCal feed URL to analyze */
|
|
62598
|
+
ical_url: string;
|
|
62599
|
+
};
|
|
62600
|
+
commonParams: {};
|
|
62601
|
+
formData: {};
|
|
62602
|
+
jsonResponse: {
|
|
62603
|
+
generated_config: {
|
|
62604
|
+
ical_config: {
|
|
62605
|
+
/** Optional filter to skip non-matching events */
|
|
62606
|
+
filter?: {
|
|
62607
|
+
/** iCal property name to match against */
|
|
62608
|
+
source: string;
|
|
62609
|
+
/** Regex pattern — events not matching are skipped */
|
|
62610
|
+
pattern: string;
|
|
62611
|
+
} | undefined;
|
|
62612
|
+
fields: {
|
|
62613
|
+
/** How to extract the reservation key (falls back to UID) */
|
|
62614
|
+
reservation_key?: {
|
|
62615
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62616
|
+
source: string;
|
|
62617
|
+
/** Regex with capture group to extract value from the property */
|
|
62618
|
+
pattern?: string | undefined;
|
|
62619
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62620
|
+
type?: 'date' | undefined;
|
|
62621
|
+
} | undefined;
|
|
62622
|
+
/** How to extract guest name */
|
|
62623
|
+
guest_name?: {
|
|
62624
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62625
|
+
source: string;
|
|
62626
|
+
/** Regex with capture group to extract value from the property */
|
|
62627
|
+
pattern?: string | undefined;
|
|
62628
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62629
|
+
type?: 'date' | undefined;
|
|
62630
|
+
} | undefined;
|
|
62631
|
+
/** How to extract guest email */
|
|
62632
|
+
guest_email?: {
|
|
62633
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62634
|
+
source: string;
|
|
62635
|
+
/** Regex with capture group to extract value from the property */
|
|
62636
|
+
pattern?: string | undefined;
|
|
62637
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62638
|
+
type?: 'date' | undefined;
|
|
62639
|
+
} | undefined;
|
|
62640
|
+
/** How to extract guest phone */
|
|
62641
|
+
guest_phone?: {
|
|
62642
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62643
|
+
source: string;
|
|
62644
|
+
/** Regex with capture group to extract value from the property */
|
|
62645
|
+
pattern?: string | undefined;
|
|
62646
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62647
|
+
type?: 'date' | undefined;
|
|
62648
|
+
} | undefined;
|
|
62649
|
+
/** How to extract check-in date */
|
|
62650
|
+
starts_at: {
|
|
62651
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62652
|
+
source: string;
|
|
62653
|
+
/** Regex with capture group to extract value from the property */
|
|
62654
|
+
pattern?: string | undefined;
|
|
62655
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62656
|
+
type?: 'date' | undefined;
|
|
62657
|
+
};
|
|
62658
|
+
/** How to extract check-out date */
|
|
62659
|
+
ends_at: {
|
|
62660
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62661
|
+
source: string;
|
|
62662
|
+
/** Regex with capture group to extract value from the property */
|
|
62663
|
+
pattern?: string | undefined;
|
|
62664
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62665
|
+
type?: 'date' | undefined;
|
|
62666
|
+
};
|
|
62667
|
+
};
|
|
62668
|
+
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
62669
|
+
time_zone?: string | undefined;
|
|
62670
|
+
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
62671
|
+
default_check_in_time?: string | undefined;
|
|
62672
|
+
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
62673
|
+
default_check_out_time?: string | undefined;
|
|
62674
|
+
};
|
|
62675
|
+
};
|
|
62676
|
+
};
|
|
62677
|
+
maxDuration: undefined;
|
|
62678
|
+
};
|
|
62679
|
+
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
62680
|
+
route: '/seam/customer/v1/connectors/ical/validate-config';
|
|
62681
|
+
method: 'POST';
|
|
62682
|
+
queryParams: {};
|
|
62683
|
+
jsonBody: {
|
|
62684
|
+
/** iCal feed URL to validate against */
|
|
62685
|
+
ical_url: string;
|
|
62686
|
+
/** Config to validate */
|
|
62687
|
+
ical_config: {
|
|
62688
|
+
/** Optional filter to skip non-matching events */
|
|
62689
|
+
filter?: {
|
|
62690
|
+
/** iCal property name to match against */
|
|
62691
|
+
source: string;
|
|
62692
|
+
/** Regex pattern — events not matching are skipped */
|
|
62693
|
+
pattern: string;
|
|
62694
|
+
} | undefined;
|
|
62695
|
+
fields: {
|
|
62696
|
+
/** How to extract the reservation key (falls back to UID) */
|
|
62697
|
+
reservation_key?: {
|
|
62698
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62699
|
+
source: string;
|
|
62700
|
+
/** Regex with capture group to extract value from the property */
|
|
62701
|
+
pattern?: string | undefined;
|
|
62702
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62703
|
+
type?: 'date' | undefined;
|
|
62704
|
+
} | undefined;
|
|
62705
|
+
/** How to extract guest name */
|
|
62706
|
+
guest_name?: {
|
|
62707
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62708
|
+
source: string;
|
|
62709
|
+
/** Regex with capture group to extract value from the property */
|
|
62710
|
+
pattern?: string | undefined;
|
|
62711
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62712
|
+
type?: 'date' | undefined;
|
|
62713
|
+
} | undefined;
|
|
62714
|
+
/** How to extract guest email */
|
|
62715
|
+
guest_email?: {
|
|
62716
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62717
|
+
source: string;
|
|
62718
|
+
/** Regex with capture group to extract value from the property */
|
|
62719
|
+
pattern?: string | undefined;
|
|
62720
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62721
|
+
type?: 'date' | undefined;
|
|
62722
|
+
} | undefined;
|
|
62723
|
+
/** How to extract guest phone */
|
|
62724
|
+
guest_phone?: {
|
|
62725
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62726
|
+
source: string;
|
|
62727
|
+
/** Regex with capture group to extract value from the property */
|
|
62728
|
+
pattern?: string | undefined;
|
|
62729
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62730
|
+
type?: 'date' | undefined;
|
|
62731
|
+
} | undefined;
|
|
62732
|
+
/** How to extract check-in date */
|
|
62733
|
+
starts_at: {
|
|
62734
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62735
|
+
source: string;
|
|
62736
|
+
/** Regex with capture group to extract value from the property */
|
|
62737
|
+
pattern?: string | undefined;
|
|
62738
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62739
|
+
type?: 'date' | undefined;
|
|
62740
|
+
};
|
|
62741
|
+
/** How to extract check-out date */
|
|
62742
|
+
ends_at: {
|
|
62743
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
62744
|
+
source: string;
|
|
62745
|
+
/** Regex with capture group to extract value from the property */
|
|
62746
|
+
pattern?: string | undefined;
|
|
62747
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
62748
|
+
type?: 'date' | undefined;
|
|
62749
|
+
};
|
|
62750
|
+
};
|
|
62751
|
+
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
62752
|
+
time_zone?: string | undefined;
|
|
62753
|
+
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
62754
|
+
default_check_in_time?: string | undefined;
|
|
62755
|
+
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
62756
|
+
default_check_out_time?: string | undefined;
|
|
62757
|
+
};
|
|
62758
|
+
};
|
|
62759
|
+
commonParams: {};
|
|
62760
|
+
formData: {};
|
|
62761
|
+
jsonResponse: {
|
|
62762
|
+
validation_result: {
|
|
62763
|
+
is_valid: boolean;
|
|
62764
|
+
total_events: number;
|
|
62765
|
+
matched_events: number;
|
|
62766
|
+
filtered_events: number;
|
|
62767
|
+
reservations: {
|
|
62768
|
+
uid: string;
|
|
62769
|
+
reservation_key: string | null;
|
|
62770
|
+
guest_name: string | null;
|
|
62771
|
+
guest_email: string | null;
|
|
62772
|
+
guest_phone: string | null;
|
|
62773
|
+
starts_at: string | null;
|
|
62774
|
+
ends_at: string | null;
|
|
62775
|
+
}[];
|
|
62776
|
+
errors: string[];
|
|
62777
|
+
};
|
|
62778
|
+
};
|
|
62779
|
+
maxDuration: undefined;
|
|
62780
|
+
};
|
|
62592
62781
|
'/seam/customer/v1/connectors/list': {
|
|
62593
62782
|
route: '/seam/customer/v1/connectors/list';
|
|
62594
62783
|
method: 'GET' | 'POST';
|