@seamapi/types 1.818.0 → 1.820.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 CHANGED
@@ -66958,229 +66958,6 @@ var openapi_default = {
66958
66958
  "x-undocumented": "Internal endpoint for Console."
66959
66959
  }
66960
66960
  },
66961
- "/seam/customer/v1/connectors/ical/generate-config": {
66962
- post: {
66963
- description: "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
66964
- operationId: "seamCustomerV1ConnectorsIcalGenerateConfigPost",
66965
- requestBody: {
66966
- content: {
66967
- "application/json": {
66968
- schema: {
66969
- properties: {
66970
- ical_url: {
66971
- description: "iCal feed URL to analyze",
66972
- format: "uri",
66973
- type: "string"
66974
- }
66975
- },
66976
- required: ["ical_url"],
66977
- type: "object"
66978
- }
66979
- }
66980
- }
66981
- },
66982
- responses: {
66983
- 200: {
66984
- content: {
66985
- "application/json": {
66986
- schema: {
66987
- properties: {
66988
- generated_config: {
66989
- properties: {
66990
- ical_config: {
66991
- properties: {
66992
- default_check_in_time: {
66993
- description: "Default check-in time (HH:MM) used when iCal gives date-only values",
66994
- pattern: "^\\d{2}:\\d{2}$",
66995
- type: "string"
66996
- },
66997
- default_check_out_time: {
66998
- description: "Default check-out time (HH:MM) used when iCal gives date-only values",
66999
- pattern: "^\\d{2}:\\d{2}$",
67000
- type: "string"
67001
- },
67002
- fields: {
67003
- properties: {
67004
- ends_at: {
67005
- description: "How to extract check-out date",
67006
- properties: {
67007
- pattern: {
67008
- description: "Regex with capture group to extract value from the property",
67009
- type: "string"
67010
- },
67011
- source: {
67012
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67013
- type: "string"
67014
- },
67015
- type: {
67016
- description: "Special type handling \u2014 'date' parses iCal date formats",
67017
- enum: ["date"],
67018
- type: "string"
67019
- }
67020
- },
67021
- required: ["source"],
67022
- type: "object"
67023
- },
67024
- guest_email: {
67025
- description: "How to extract guest email",
67026
- properties: {
67027
- pattern: {
67028
- description: "Regex with capture group to extract value from the property",
67029
- type: "string"
67030
- },
67031
- source: {
67032
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67033
- type: "string"
67034
- },
67035
- type: {
67036
- description: "Special type handling \u2014 'date' parses iCal date formats",
67037
- enum: ["date"],
67038
- type: "string"
67039
- }
67040
- },
67041
- required: ["source"],
67042
- type: "object"
67043
- },
67044
- guest_name: {
67045
- description: "How to extract guest name",
67046
- properties: {
67047
- pattern: {
67048
- description: "Regex with capture group to extract value from the property",
67049
- type: "string"
67050
- },
67051
- source: {
67052
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67053
- type: "string"
67054
- },
67055
- type: {
67056
- description: "Special type handling \u2014 'date' parses iCal date formats",
67057
- enum: ["date"],
67058
- type: "string"
67059
- }
67060
- },
67061
- required: ["source"],
67062
- type: "object"
67063
- },
67064
- guest_phone: {
67065
- description: "How to extract guest phone",
67066
- properties: {
67067
- pattern: {
67068
- description: "Regex with capture group to extract value from the property",
67069
- type: "string"
67070
- },
67071
- source: {
67072
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67073
- type: "string"
67074
- },
67075
- type: {
67076
- description: "Special type handling \u2014 'date' parses iCal date formats",
67077
- enum: ["date"],
67078
- type: "string"
67079
- }
67080
- },
67081
- required: ["source"],
67082
- type: "object"
67083
- },
67084
- reservation_key: {
67085
- description: "How to extract the reservation key (falls back to UID)",
67086
- properties: {
67087
- pattern: {
67088
- description: "Regex with capture group to extract value from the property",
67089
- type: "string"
67090
- },
67091
- source: {
67092
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67093
- type: "string"
67094
- },
67095
- type: {
67096
- description: "Special type handling \u2014 'date' parses iCal date formats",
67097
- enum: ["date"],
67098
- type: "string"
67099
- }
67100
- },
67101
- required: ["source"],
67102
- type: "object"
67103
- },
67104
- starts_at: {
67105
- description: "How to extract check-in date",
67106
- properties: {
67107
- pattern: {
67108
- description: "Regex with capture group to extract value from the property",
67109
- type: "string"
67110
- },
67111
- source: {
67112
- description: "iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.",
67113
- type: "string"
67114
- },
67115
- type: {
67116
- description: "Special type handling \u2014 'date' parses iCal date formats",
67117
- enum: ["date"],
67118
- type: "string"
67119
- }
67120
- },
67121
- required: ["source"],
67122
- type: "object"
67123
- }
67124
- },
67125
- required: ["starts_at", "ends_at"],
67126
- type: "object"
67127
- },
67128
- filter: {
67129
- description: "Optional filter to skip non-matching events",
67130
- properties: {
67131
- pattern: {
67132
- description: "Regex pattern \u2014 events not matching are skipped",
67133
- type: "string"
67134
- },
67135
- source: {
67136
- description: "iCal property name to match against",
67137
- type: "string"
67138
- }
67139
- },
67140
- required: ["source", "pattern"],
67141
- type: "object"
67142
- },
67143
- time_zone: {
67144
- description: "IANA time zone (e.g. America/New_York) applied when dates have no time/timezone",
67145
- type: "string"
67146
- }
67147
- },
67148
- required: ["fields"],
67149
- type: "object"
67150
- }
67151
- },
67152
- required: ["ical_config"],
67153
- type: "object"
67154
- },
67155
- ok: { type: "boolean" }
67156
- },
67157
- required: ["generated_config", "ok"],
67158
- type: "object"
67159
- }
67160
- }
67161
- },
67162
- description: "OK"
67163
- },
67164
- 400: { description: "Bad Request" },
67165
- 401: { description: "Unauthorized" }
67166
- },
67167
- security: [{ api_key: [] }, { console_session_with_workspace: [] }],
67168
- summary: "/seam/customer/v1/connectors/ical/generate-config",
67169
- tags: [],
67170
- "x-fern-sdk-group-name": [
67171
- "seam",
67172
- "customer",
67173
- "v1",
67174
- "connectors",
67175
- "ical"
67176
- ],
67177
- "x-fern-sdk-method-name": "generate-config",
67178
- "x-fern-sdk-return-value": "generated_config",
67179
- "x-response-key": "generated_config",
67180
- "x-title": "Generate iCal Config",
67181
- "x-undocumented": "Only used internally."
67182
- }
67183
- },
67184
66961
  "/seam/customer/v1/connectors/ical/validate-config": {
67185
66962
  post: {
67186
66963
  description: "Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.",
@@ -67193,16 +66970,6 @@ var openapi_default = {
67193
66970
  ical_config: {
67194
66971
  description: "Config to validate",
67195
66972
  properties: {
67196
- default_check_in_time: {
67197
- description: "Default check-in time (HH:MM) used when iCal gives date-only values",
67198
- pattern: "^\\d{2}:\\d{2}$",
67199
- type: "string"
67200
- },
67201
- default_check_out_time: {
67202
- description: "Default check-out time (HH:MM) used when iCal gives date-only values",
67203
- pattern: "^\\d{2}:\\d{2}$",
67204
- type: "string"
67205
- },
67206
66973
  fields: {
67207
66974
  properties: {
67208
66975
  ends_at: {
@@ -67343,10 +67110,6 @@ var openapi_default = {
67343
67110
  },
67344
67111
  required: ["source", "pattern"],
67345
67112
  type: "object"
67346
- },
67347
- time_zone: {
67348
- description: "IANA time zone (e.g. America/New_York) applied when dates have no time/timezone",
67349
- type: "string"
67350
67113
  }
67351
67114
  },
67352
67115
  required: ["fields"],