@seamapi/http - v1.112.0
    Preparing search index...

    Class SeamHttpSeamCustomerV1ConnectorsIcal

    Index

    Constructors

    Properties

    client: AxiosInstance
    defaults: Required<SeamHttpRequestOptions>
    ltsVersion: "1.0.0" = seamApiLtsVersion
    ltsVersion: string = seamApiLtsVersion

    Methods

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>

    • Parameters

      • Optionalparameters: {
            ical_config: {
                default_check_in_time?: string;
                default_check_out_time?: string;
                fields: {
                    ends_at: { pattern?: string; source: string; type?: "date" };
                    guest_email?: { pattern?: string; source: string; type?: "date" };
                    guest_name?: { pattern?: string; source: string; type?: "date" };
                    guest_phone?: { pattern?: string; source: string; type?: "date" };
                    reservation_key?: { pattern?: string; source: string; type?: "date" };
                    starts_at: { pattern?: string; source: string; type?: "date" };
                };
                filter?: { pattern: string; source: string };
                time_zone?: string;
            };
            ical_url: string;
        }
        • ical_config: {
              default_check_in_time?: string;
              default_check_out_time?: string;
              fields: {
                  ends_at: { pattern?: string; source: string; type?: "date" };
                  guest_email?: { pattern?: string; source: string; type?: "date" };
                  guest_name?: { pattern?: string; source: string; type?: "date" };
                  guest_phone?: { pattern?: string; source: string; type?: "date" };
                  reservation_key?: { pattern?: string; source: string; type?: "date" };
                  starts_at: { pattern?: string; source: string; type?: "date" };
              };
              filter?: { pattern: string; source: string };
              time_zone?: string;
          }

          Config to validate

          • Optionaldefault_check_in_time?: string

            Default check-in time (HH:MM) used when iCal gives date-only values

          • Optionaldefault_check_out_time?: string

            Default check-out time (HH:MM) used when iCal gives date-only values

          • fields: {
                ends_at: { pattern?: string; source: string; type?: "date" };
                guest_email?: { pattern?: string; source: string; type?: "date" };
                guest_name?: { pattern?: string; source: string; type?: "date" };
                guest_phone?: { pattern?: string; source: string; type?: "date" };
                reservation_key?: { pattern?: string; source: string; type?: "date" };
                starts_at: { pattern?: string; source: string; type?: "date" };
            }
            • ends_at: { pattern?: string; source: string; type?: "date" }

              How to extract check-out date

              • Optionalpattern?: string

                Regex with capture group to extract value from the property

              • source: string

                iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.

              • Optionaltype?: "date"

                Special type handling — 'date' parses iCal date formats

            • Optionalguest_email?: { pattern?: string; source: string; type?: "date" }

              How to extract guest email

              • Optionalpattern?: string

                Regex with capture group to extract value from the property

              • source: string

                iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.

              • Optionaltype?: "date"

                Special type handling — 'date' parses iCal date formats

            • Optionalguest_name?: { pattern?: string; source: string; type?: "date" }

              How to extract guest name

              • Optionalpattern?: string

                Regex with capture group to extract value from the property

              • source: string

                iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.

              • Optionaltype?: "date"

                Special type handling — 'date' parses iCal date formats

            • Optionalguest_phone?: { pattern?: string; source: string; type?: "date" }

              How to extract guest phone

              • Optionalpattern?: string

                Regex with capture group to extract value from the property

              • source: string

                iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.

              • Optionaltype?: "date"

                Special type handling — 'date' parses iCal date formats

            • Optionalreservation_key?: { pattern?: string; source: string; type?: "date" }

              How to extract the reservation key (falls back to UID)

              • Optionalpattern?: string

                Regex with capture group to extract value from the property

              • source: string

                iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.

              • Optionaltype?: "date"

                Special type handling — 'date' parses iCal date formats

            • starts_at: { pattern?: string; source: string; type?: "date" }

              How to extract check-in date

              • Optionalpattern?: string

                Regex with capture group to extract value from the property

              • source: string

                iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.

              • Optionaltype?: "date"

                Special type handling — 'date' parses iCal date formats

          • Optionalfilter?: { pattern: string; source: string }

            Optional filter to skip non-matching events

            • pattern: string

              Regex pattern — events not matching are skipped

            • source: string

              iCal property name to match against

          • Optionaltime_zone?: string

            IANA time zone (e.g. America/New_York) applied when dates have no time/timezone

        • ical_url: string

          iCal feed URL to validate against

      • options: SeamCustomerV1ConnectorsIcalValidateConfigOptions = {}

      Returns SeamCustomerV1ConnectorsIcalValidateConfigRequest