@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.
@@ -117475,235 +117475,6 @@ declare const _default: {
117475
117475
  'x-undocumented': string;
117476
117476
  };
117477
117477
  };
117478
- '/seam/customer/v1/connectors/ical/generate-config': {
117479
- post: {
117480
- description: string;
117481
- operationId: string;
117482
- requestBody: {
117483
- content: {
117484
- 'application/json': {
117485
- schema: {
117486
- properties: {
117487
- ical_url: {
117488
- description: string;
117489
- format: string;
117490
- type: string;
117491
- };
117492
- };
117493
- required: string[];
117494
- type: string;
117495
- };
117496
- };
117497
- };
117498
- };
117499
- responses: {
117500
- 200: {
117501
- content: {
117502
- 'application/json': {
117503
- schema: {
117504
- properties: {
117505
- generated_config: {
117506
- properties: {
117507
- ical_config: {
117508
- properties: {
117509
- default_check_in_time: {
117510
- description: string;
117511
- pattern: string;
117512
- type: string;
117513
- };
117514
- default_check_out_time: {
117515
- description: string;
117516
- pattern: string;
117517
- type: string;
117518
- };
117519
- fields: {
117520
- properties: {
117521
- ends_at: {
117522
- description: string;
117523
- properties: {
117524
- pattern: {
117525
- description: string;
117526
- type: string;
117527
- };
117528
- source: {
117529
- description: string;
117530
- type: string;
117531
- };
117532
- type: {
117533
- description: string;
117534
- enum: string[];
117535
- type: string;
117536
- };
117537
- };
117538
- required: string[];
117539
- type: string;
117540
- };
117541
- guest_email: {
117542
- description: string;
117543
- properties: {
117544
- pattern: {
117545
- description: string;
117546
- type: string;
117547
- };
117548
- source: {
117549
- description: string;
117550
- type: string;
117551
- };
117552
- type: {
117553
- description: string;
117554
- enum: string[];
117555
- type: string;
117556
- };
117557
- };
117558
- required: string[];
117559
- type: string;
117560
- };
117561
- guest_name: {
117562
- description: string;
117563
- properties: {
117564
- pattern: {
117565
- description: string;
117566
- type: string;
117567
- };
117568
- source: {
117569
- description: string;
117570
- type: string;
117571
- };
117572
- type: {
117573
- description: string;
117574
- enum: string[];
117575
- type: string;
117576
- };
117577
- };
117578
- required: string[];
117579
- type: string;
117580
- };
117581
- guest_phone: {
117582
- description: string;
117583
- properties: {
117584
- pattern: {
117585
- description: string;
117586
- type: string;
117587
- };
117588
- source: {
117589
- description: string;
117590
- type: string;
117591
- };
117592
- type: {
117593
- description: string;
117594
- enum: string[];
117595
- type: string;
117596
- };
117597
- };
117598
- required: string[];
117599
- type: string;
117600
- };
117601
- reservation_key: {
117602
- description: string;
117603
- properties: {
117604
- pattern: {
117605
- description: string;
117606
- type: string;
117607
- };
117608
- source: {
117609
- description: string;
117610
- type: string;
117611
- };
117612
- type: {
117613
- description: string;
117614
- enum: string[];
117615
- type: string;
117616
- };
117617
- };
117618
- required: string[];
117619
- type: string;
117620
- };
117621
- starts_at: {
117622
- description: string;
117623
- properties: {
117624
- pattern: {
117625
- description: string;
117626
- type: string;
117627
- };
117628
- source: {
117629
- description: string;
117630
- type: string;
117631
- };
117632
- type: {
117633
- description: string;
117634
- enum: string[];
117635
- type: string;
117636
- };
117637
- };
117638
- required: string[];
117639
- type: string;
117640
- };
117641
- };
117642
- required: string[];
117643
- type: string;
117644
- };
117645
- filter: {
117646
- description: string;
117647
- properties: {
117648
- pattern: {
117649
- description: string;
117650
- type: string;
117651
- };
117652
- source: {
117653
- description: string;
117654
- type: string;
117655
- };
117656
- };
117657
- required: string[];
117658
- type: string;
117659
- };
117660
- time_zone: {
117661
- description: string;
117662
- type: string;
117663
- };
117664
- };
117665
- required: string[];
117666
- type: string;
117667
- };
117668
- };
117669
- required: string[];
117670
- type: string;
117671
- };
117672
- ok: {
117673
- type: string;
117674
- };
117675
- };
117676
- required: string[];
117677
- type: string;
117678
- };
117679
- };
117680
- };
117681
- description: string;
117682
- };
117683
- 400: {
117684
- description: string;
117685
- };
117686
- 401: {
117687
- description: string;
117688
- };
117689
- };
117690
- security: ({
117691
- api_key: never[];
117692
- console_session_with_workspace?: never;
117693
- } | {
117694
- console_session_with_workspace: never[];
117695
- api_key?: never;
117696
- })[];
117697
- summary: string;
117698
- tags: never[];
117699
- 'x-fern-sdk-group-name': string[];
117700
- 'x-fern-sdk-method-name': string;
117701
- 'x-fern-sdk-return-value': string;
117702
- 'x-response-key': string;
117703
- 'x-title': string;
117704
- 'x-undocumented': string;
117705
- };
117706
- };
117707
117478
  '/seam/customer/v1/connectors/ical/validate-config': {
117708
117479
  post: {
117709
117480
  description: string;
@@ -117716,16 +117487,6 @@ declare const _default: {
117716
117487
  ical_config: {
117717
117488
  description: string;
117718
117489
  properties: {
117719
- default_check_in_time: {
117720
- description: string;
117721
- pattern: string;
117722
- type: string;
117723
- };
117724
- default_check_out_time: {
117725
- description: string;
117726
- pattern: string;
117727
- type: string;
117728
- };
117729
117490
  fields: {
117730
117491
  properties: {
117731
117492
  ends_at: {
@@ -117867,10 +117628,6 @@ declare const _default: {
117867
117628
  required: string[];
117868
117629
  type: string;
117869
117630
  };
117870
- time_zone: {
117871
- description: string;
117872
- type: string;
117873
- };
117874
117631
  };
117875
117632
  required: string[];
117876
117633
  type: string;
@@ -202221,93 +201978,6 @@ type Routes = {
202221
201978
  };
202222
201979
  maxDuration: undefined;
202223
201980
  };
202224
- '/seam/customer/v1/connectors/ical/generate-config': {
202225
- route: '/seam/customer/v1/connectors/ical/generate-config';
202226
- method: 'POST';
202227
- queryParams: {};
202228
- jsonBody: {
202229
- /** iCal feed URL to analyze */
202230
- ical_url: string;
202231
- };
202232
- commonParams: {};
202233
- formData: {};
202234
- jsonResponse: {
202235
- generated_config: {
202236
- ical_config: {
202237
- /** Optional filter to skip non-matching events */
202238
- filter?: {
202239
- /** iCal property name to match against */
202240
- source: string;
202241
- /** Regex pattern — events not matching are skipped */
202242
- pattern: string;
202243
- } | undefined;
202244
- fields: {
202245
- /** How to extract the reservation key (falls back to UID) */
202246
- reservation_key?: {
202247
- /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
202248
- source: string;
202249
- /** Regex with capture group to extract value from the property */
202250
- pattern?: string | undefined;
202251
- /** Special type handling — 'date' parses iCal date formats */
202252
- type?: 'date' | undefined;
202253
- } | undefined;
202254
- /** How to extract guest name */
202255
- guest_name?: {
202256
- /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
202257
- source: string;
202258
- /** Regex with capture group to extract value from the property */
202259
- pattern?: string | undefined;
202260
- /** Special type handling — 'date' parses iCal date formats */
202261
- type?: 'date' | undefined;
202262
- } | undefined;
202263
- /** How to extract guest email */
202264
- guest_email?: {
202265
- /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
202266
- source: string;
202267
- /** Regex with capture group to extract value from the property */
202268
- pattern?: string | undefined;
202269
- /** Special type handling — 'date' parses iCal date formats */
202270
- type?: 'date' | undefined;
202271
- } | undefined;
202272
- /** How to extract guest phone */
202273
- guest_phone?: {
202274
- /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
202275
- source: string;
202276
- /** Regex with capture group to extract value from the property */
202277
- pattern?: string | undefined;
202278
- /** Special type handling — 'date' parses iCal date formats */
202279
- type?: 'date' | undefined;
202280
- } | undefined;
202281
- /** How to extract check-in date */
202282
- starts_at: {
202283
- /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
202284
- source: string;
202285
- /** Regex with capture group to extract value from the property */
202286
- pattern?: string | undefined;
202287
- /** Special type handling — 'date' parses iCal date formats */
202288
- type?: 'date' | undefined;
202289
- };
202290
- /** How to extract check-out date */
202291
- ends_at: {
202292
- /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
202293
- source: string;
202294
- /** Regex with capture group to extract value from the property */
202295
- pattern?: string | undefined;
202296
- /** Special type handling — 'date' parses iCal date formats */
202297
- type?: 'date' | undefined;
202298
- };
202299
- };
202300
- /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
202301
- time_zone?: string | undefined;
202302
- /** Default check-in time (HH:MM) used when iCal gives date-only values */
202303
- default_check_in_time?: string | undefined;
202304
- /** Default check-out time (HH:MM) used when iCal gives date-only values */
202305
- default_check_out_time?: string | undefined;
202306
- };
202307
- };
202308
- };
202309
- maxDuration: undefined;
202310
- };
202311
201981
  '/seam/customer/v1/connectors/ical/validate-config': {
202312
201982
  route: '/seam/customer/v1/connectors/ical/validate-config';
202313
201983
  method: 'POST';
@@ -202380,12 +202050,6 @@ type Routes = {
202380
202050
  type?: 'date' | undefined;
202381
202051
  };
202382
202052
  };
202383
- /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
202384
- time_zone?: string | undefined;
202385
- /** Default check-in time (HH:MM) used when iCal gives date-only values */
202386
- default_check_in_time?: string | undefined;
202387
- /** Default check-out time (HH:MM) used when iCal gives date-only values */
202388
- default_check_out_time?: string | undefined;
202389
202053
  };
202390
202054
  };
202391
202055
  commonParams: {};
package/dist/index.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"],