@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.
@@ -114958,6 +114958,522 @@ declare const _default: {
114958
114958
  'x-undocumented': string;
114959
114959
  };
114960
114960
  };
114961
+ '/seam/customer/v1/connectors/ical/generate-config': {
114962
+ post: {
114963
+ description: string;
114964
+ operationId: string;
114965
+ requestBody: {
114966
+ content: {
114967
+ 'application/json': {
114968
+ schema: {
114969
+ properties: {
114970
+ ical_url: {
114971
+ description: string;
114972
+ format: string;
114973
+ type: string;
114974
+ };
114975
+ };
114976
+ required: string[];
114977
+ type: string;
114978
+ };
114979
+ };
114980
+ };
114981
+ };
114982
+ responses: {
114983
+ 200: {
114984
+ content: {
114985
+ 'application/json': {
114986
+ schema: {
114987
+ properties: {
114988
+ generated_config: {
114989
+ properties: {
114990
+ ical_config: {
114991
+ properties: {
114992
+ default_check_in_time: {
114993
+ description: string;
114994
+ pattern: string;
114995
+ type: string;
114996
+ };
114997
+ default_check_out_time: {
114998
+ description: string;
114999
+ pattern: string;
115000
+ type: string;
115001
+ };
115002
+ fields: {
115003
+ properties: {
115004
+ ends_at: {
115005
+ description: string;
115006
+ properties: {
115007
+ pattern: {
115008
+ description: string;
115009
+ type: string;
115010
+ };
115011
+ source: {
115012
+ description: string;
115013
+ type: string;
115014
+ };
115015
+ type: {
115016
+ description: string;
115017
+ enum: string[];
115018
+ type: string;
115019
+ };
115020
+ };
115021
+ required: string[];
115022
+ type: string;
115023
+ };
115024
+ guest_email: {
115025
+ description: string;
115026
+ properties: {
115027
+ pattern: {
115028
+ description: string;
115029
+ type: string;
115030
+ };
115031
+ source: {
115032
+ description: string;
115033
+ type: string;
115034
+ };
115035
+ type: {
115036
+ description: string;
115037
+ enum: string[];
115038
+ type: string;
115039
+ };
115040
+ };
115041
+ required: string[];
115042
+ type: string;
115043
+ };
115044
+ guest_name: {
115045
+ description: string;
115046
+ properties: {
115047
+ pattern: {
115048
+ description: string;
115049
+ type: string;
115050
+ };
115051
+ source: {
115052
+ description: string;
115053
+ type: string;
115054
+ };
115055
+ type: {
115056
+ description: string;
115057
+ enum: string[];
115058
+ type: string;
115059
+ };
115060
+ };
115061
+ required: string[];
115062
+ type: string;
115063
+ };
115064
+ guest_phone: {
115065
+ description: string;
115066
+ properties: {
115067
+ pattern: {
115068
+ description: string;
115069
+ type: string;
115070
+ };
115071
+ source: {
115072
+ description: string;
115073
+ type: string;
115074
+ };
115075
+ type: {
115076
+ description: string;
115077
+ enum: string[];
115078
+ type: string;
115079
+ };
115080
+ };
115081
+ required: string[];
115082
+ type: string;
115083
+ };
115084
+ reservation_key: {
115085
+ description: string;
115086
+ properties: {
115087
+ pattern: {
115088
+ description: string;
115089
+ type: string;
115090
+ };
115091
+ source: {
115092
+ description: string;
115093
+ type: string;
115094
+ };
115095
+ type: {
115096
+ description: string;
115097
+ enum: string[];
115098
+ type: string;
115099
+ };
115100
+ };
115101
+ required: string[];
115102
+ type: string;
115103
+ };
115104
+ starts_at: {
115105
+ description: string;
115106
+ properties: {
115107
+ pattern: {
115108
+ description: string;
115109
+ type: string;
115110
+ };
115111
+ source: {
115112
+ description: string;
115113
+ type: string;
115114
+ };
115115
+ type: {
115116
+ description: string;
115117
+ enum: string[];
115118
+ type: string;
115119
+ };
115120
+ };
115121
+ required: string[];
115122
+ type: string;
115123
+ };
115124
+ };
115125
+ required: string[];
115126
+ type: string;
115127
+ };
115128
+ filter: {
115129
+ description: string;
115130
+ properties: {
115131
+ pattern: {
115132
+ description: string;
115133
+ type: string;
115134
+ };
115135
+ source: {
115136
+ description: string;
115137
+ type: string;
115138
+ };
115139
+ };
115140
+ required: string[];
115141
+ type: string;
115142
+ };
115143
+ time_zone: {
115144
+ description: string;
115145
+ type: string;
115146
+ };
115147
+ };
115148
+ required: string[];
115149
+ type: string;
115150
+ };
115151
+ };
115152
+ required: string[];
115153
+ type: string;
115154
+ };
115155
+ ok: {
115156
+ type: string;
115157
+ };
115158
+ };
115159
+ required: string[];
115160
+ type: string;
115161
+ };
115162
+ };
115163
+ };
115164
+ description: string;
115165
+ };
115166
+ 400: {
115167
+ description: string;
115168
+ };
115169
+ 401: {
115170
+ description: string;
115171
+ };
115172
+ };
115173
+ security: ({
115174
+ api_key: never[];
115175
+ console_session_with_workspace?: never;
115176
+ } | {
115177
+ console_session_with_workspace: never[];
115178
+ api_key?: never;
115179
+ })[];
115180
+ summary: string;
115181
+ tags: never[];
115182
+ 'x-fern-sdk-group-name': string[];
115183
+ 'x-fern-sdk-method-name': string;
115184
+ 'x-fern-sdk-return-value': string;
115185
+ 'x-response-key': string;
115186
+ 'x-title': string;
115187
+ 'x-undocumented': string;
115188
+ };
115189
+ };
115190
+ '/seam/customer/v1/connectors/ical/validate-config': {
115191
+ post: {
115192
+ description: string;
115193
+ operationId: string;
115194
+ requestBody: {
115195
+ content: {
115196
+ 'application/json': {
115197
+ schema: {
115198
+ properties: {
115199
+ ical_config: {
115200
+ description: string;
115201
+ properties: {
115202
+ default_check_in_time: {
115203
+ description: string;
115204
+ pattern: string;
115205
+ type: string;
115206
+ };
115207
+ default_check_out_time: {
115208
+ description: string;
115209
+ pattern: string;
115210
+ type: string;
115211
+ };
115212
+ fields: {
115213
+ properties: {
115214
+ ends_at: {
115215
+ description: string;
115216
+ properties: {
115217
+ pattern: {
115218
+ description: string;
115219
+ type: string;
115220
+ };
115221
+ source: {
115222
+ description: string;
115223
+ type: string;
115224
+ };
115225
+ type: {
115226
+ description: string;
115227
+ enum: string[];
115228
+ type: string;
115229
+ };
115230
+ };
115231
+ required: string[];
115232
+ type: string;
115233
+ };
115234
+ guest_email: {
115235
+ description: string;
115236
+ properties: {
115237
+ pattern: {
115238
+ description: string;
115239
+ type: string;
115240
+ };
115241
+ source: {
115242
+ description: string;
115243
+ type: string;
115244
+ };
115245
+ type: {
115246
+ description: string;
115247
+ enum: string[];
115248
+ type: string;
115249
+ };
115250
+ };
115251
+ required: string[];
115252
+ type: string;
115253
+ };
115254
+ guest_name: {
115255
+ description: string;
115256
+ properties: {
115257
+ pattern: {
115258
+ description: string;
115259
+ type: string;
115260
+ };
115261
+ source: {
115262
+ description: string;
115263
+ type: string;
115264
+ };
115265
+ type: {
115266
+ description: string;
115267
+ enum: string[];
115268
+ type: string;
115269
+ };
115270
+ };
115271
+ required: string[];
115272
+ type: string;
115273
+ };
115274
+ guest_phone: {
115275
+ description: string;
115276
+ properties: {
115277
+ pattern: {
115278
+ description: string;
115279
+ type: string;
115280
+ };
115281
+ source: {
115282
+ description: string;
115283
+ type: string;
115284
+ };
115285
+ type: {
115286
+ description: string;
115287
+ enum: string[];
115288
+ type: string;
115289
+ };
115290
+ };
115291
+ required: string[];
115292
+ type: string;
115293
+ };
115294
+ reservation_key: {
115295
+ description: string;
115296
+ properties: {
115297
+ pattern: {
115298
+ description: string;
115299
+ type: string;
115300
+ };
115301
+ source: {
115302
+ description: string;
115303
+ type: string;
115304
+ };
115305
+ type: {
115306
+ description: string;
115307
+ enum: string[];
115308
+ type: string;
115309
+ };
115310
+ };
115311
+ required: string[];
115312
+ type: string;
115313
+ };
115314
+ starts_at: {
115315
+ description: string;
115316
+ properties: {
115317
+ pattern: {
115318
+ description: string;
115319
+ type: string;
115320
+ };
115321
+ source: {
115322
+ description: string;
115323
+ type: string;
115324
+ };
115325
+ type: {
115326
+ description: string;
115327
+ enum: string[];
115328
+ type: string;
115329
+ };
115330
+ };
115331
+ required: string[];
115332
+ type: string;
115333
+ };
115334
+ };
115335
+ required: string[];
115336
+ type: string;
115337
+ };
115338
+ filter: {
115339
+ description: string;
115340
+ properties: {
115341
+ pattern: {
115342
+ description: string;
115343
+ type: string;
115344
+ };
115345
+ source: {
115346
+ description: string;
115347
+ type: string;
115348
+ };
115349
+ };
115350
+ required: string[];
115351
+ type: string;
115352
+ };
115353
+ time_zone: {
115354
+ description: string;
115355
+ type: string;
115356
+ };
115357
+ };
115358
+ required: string[];
115359
+ type: string;
115360
+ };
115361
+ ical_url: {
115362
+ description: string;
115363
+ format: string;
115364
+ type: string;
115365
+ };
115366
+ };
115367
+ required: string[];
115368
+ type: string;
115369
+ };
115370
+ };
115371
+ };
115372
+ };
115373
+ responses: {
115374
+ 200: {
115375
+ content: {
115376
+ 'application/json': {
115377
+ schema: {
115378
+ properties: {
115379
+ ok: {
115380
+ type: string;
115381
+ };
115382
+ validation_result: {
115383
+ properties: {
115384
+ errors: {
115385
+ items: {
115386
+ type: string;
115387
+ };
115388
+ type: string;
115389
+ };
115390
+ filtered_events: {
115391
+ format: string;
115392
+ type: string;
115393
+ };
115394
+ is_valid: {
115395
+ type: string;
115396
+ };
115397
+ matched_events: {
115398
+ format: string;
115399
+ type: string;
115400
+ };
115401
+ reservations: {
115402
+ items: {
115403
+ properties: {
115404
+ ends_at: {
115405
+ nullable: boolean;
115406
+ type: string;
115407
+ };
115408
+ guest_email: {
115409
+ nullable: boolean;
115410
+ type: string;
115411
+ };
115412
+ guest_name: {
115413
+ nullable: boolean;
115414
+ type: string;
115415
+ };
115416
+ guest_phone: {
115417
+ nullable: boolean;
115418
+ type: string;
115419
+ };
115420
+ reservation_key: {
115421
+ nullable: boolean;
115422
+ type: string;
115423
+ };
115424
+ starts_at: {
115425
+ nullable: boolean;
115426
+ type: string;
115427
+ };
115428
+ uid: {
115429
+ type: string;
115430
+ };
115431
+ };
115432
+ required: string[];
115433
+ type: string;
115434
+ };
115435
+ type: string;
115436
+ };
115437
+ total_events: {
115438
+ format: string;
115439
+ type: string;
115440
+ };
115441
+ };
115442
+ required: string[];
115443
+ type: string;
115444
+ };
115445
+ };
115446
+ required: string[];
115447
+ type: string;
115448
+ };
115449
+ };
115450
+ };
115451
+ description: string;
115452
+ };
115453
+ 400: {
115454
+ description: string;
115455
+ };
115456
+ 401: {
115457
+ description: string;
115458
+ };
115459
+ };
115460
+ security: ({
115461
+ api_key: never[];
115462
+ console_session_with_workspace?: never;
115463
+ } | {
115464
+ console_session_with_workspace: never[];
115465
+ api_key?: never;
115466
+ })[];
115467
+ summary: string;
115468
+ tags: never[];
115469
+ 'x-fern-sdk-group-name': string[];
115470
+ 'x-fern-sdk-method-name': string;
115471
+ 'x-fern-sdk-return-value': string;
115472
+ 'x-response-key': string;
115473
+ 'x-title': string;
115474
+ 'x-undocumented': string;
115475
+ };
115476
+ };
114961
115477
  '/seam/customer/v1/connectors/list': {
114962
115478
  get: {
114963
115479
  description: string;
@@ -197426,6 +197942,195 @@ type Routes = {
197426
197942
  };
197427
197943
  maxDuration: undefined;
197428
197944
  };
197945
+ '/seam/customer/v1/connectors/ical/generate-config': {
197946
+ route: '/seam/customer/v1/connectors/ical/generate-config';
197947
+ method: 'POST';
197948
+ queryParams: {};
197949
+ jsonBody: {
197950
+ /** iCal feed URL to analyze */
197951
+ ical_url: string;
197952
+ };
197953
+ commonParams: {};
197954
+ formData: {};
197955
+ jsonResponse: {
197956
+ generated_config: {
197957
+ ical_config: {
197958
+ /** Optional filter to skip non-matching events */
197959
+ filter?: {
197960
+ /** iCal property name to match against */
197961
+ source: string;
197962
+ /** Regex pattern — events not matching are skipped */
197963
+ pattern: string;
197964
+ } | undefined;
197965
+ fields: {
197966
+ /** How to extract the reservation key (falls back to UID) */
197967
+ reservation_key?: {
197968
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
197969
+ source: string;
197970
+ /** Regex with capture group to extract value from the property */
197971
+ pattern?: string | undefined;
197972
+ /** Special type handling — 'date' parses iCal date formats */
197973
+ type?: 'date' | undefined;
197974
+ } | undefined;
197975
+ /** How to extract guest name */
197976
+ guest_name?: {
197977
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
197978
+ source: string;
197979
+ /** Regex with capture group to extract value from the property */
197980
+ pattern?: string | undefined;
197981
+ /** Special type handling — 'date' parses iCal date formats */
197982
+ type?: 'date' | undefined;
197983
+ } | undefined;
197984
+ /** How to extract guest email */
197985
+ guest_email?: {
197986
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
197987
+ source: string;
197988
+ /** Regex with capture group to extract value from the property */
197989
+ pattern?: string | undefined;
197990
+ /** Special type handling — 'date' parses iCal date formats */
197991
+ type?: 'date' | undefined;
197992
+ } | undefined;
197993
+ /** How to extract guest phone */
197994
+ guest_phone?: {
197995
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
197996
+ source: string;
197997
+ /** Regex with capture group to extract value from the property */
197998
+ pattern?: string | undefined;
197999
+ /** Special type handling — 'date' parses iCal date formats */
198000
+ type?: 'date' | undefined;
198001
+ } | undefined;
198002
+ /** How to extract check-in date */
198003
+ starts_at: {
198004
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198005
+ source: string;
198006
+ /** Regex with capture group to extract value from the property */
198007
+ pattern?: string | undefined;
198008
+ /** Special type handling — 'date' parses iCal date formats */
198009
+ type?: 'date' | undefined;
198010
+ };
198011
+ /** How to extract check-out date */
198012
+ ends_at: {
198013
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198014
+ source: string;
198015
+ /** Regex with capture group to extract value from the property */
198016
+ pattern?: string | undefined;
198017
+ /** Special type handling — 'date' parses iCal date formats */
198018
+ type?: 'date' | undefined;
198019
+ };
198020
+ };
198021
+ /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
198022
+ time_zone?: string | undefined;
198023
+ /** Default check-in time (HH:MM) used when iCal gives date-only values */
198024
+ default_check_in_time?: string | undefined;
198025
+ /** Default check-out time (HH:MM) used when iCal gives date-only values */
198026
+ default_check_out_time?: string | undefined;
198027
+ };
198028
+ };
198029
+ };
198030
+ maxDuration: undefined;
198031
+ };
198032
+ '/seam/customer/v1/connectors/ical/validate-config': {
198033
+ route: '/seam/customer/v1/connectors/ical/validate-config';
198034
+ method: 'POST';
198035
+ queryParams: {};
198036
+ jsonBody: {
198037
+ /** iCal feed URL to validate against */
198038
+ ical_url: string;
198039
+ /** Config to validate */
198040
+ ical_config: {
198041
+ /** Optional filter to skip non-matching events */
198042
+ filter?: {
198043
+ /** iCal property name to match against */
198044
+ source: string;
198045
+ /** Regex pattern — events not matching are skipped */
198046
+ pattern: string;
198047
+ } | undefined;
198048
+ fields: {
198049
+ /** How to extract the reservation key (falls back to UID) */
198050
+ reservation_key?: {
198051
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198052
+ source: string;
198053
+ /** Regex with capture group to extract value from the property */
198054
+ pattern?: string | undefined;
198055
+ /** Special type handling — 'date' parses iCal date formats */
198056
+ type?: 'date' | undefined;
198057
+ } | undefined;
198058
+ /** How to extract guest name */
198059
+ guest_name?: {
198060
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198061
+ source: string;
198062
+ /** Regex with capture group to extract value from the property */
198063
+ pattern?: string | undefined;
198064
+ /** Special type handling — 'date' parses iCal date formats */
198065
+ type?: 'date' | undefined;
198066
+ } | undefined;
198067
+ /** How to extract guest email */
198068
+ guest_email?: {
198069
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198070
+ source: string;
198071
+ /** Regex with capture group to extract value from the property */
198072
+ pattern?: string | undefined;
198073
+ /** Special type handling — 'date' parses iCal date formats */
198074
+ type?: 'date' | undefined;
198075
+ } | undefined;
198076
+ /** How to extract guest phone */
198077
+ guest_phone?: {
198078
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198079
+ source: string;
198080
+ /** Regex with capture group to extract value from the property */
198081
+ pattern?: string | undefined;
198082
+ /** Special type handling — 'date' parses iCal date formats */
198083
+ type?: 'date' | undefined;
198084
+ } | undefined;
198085
+ /** How to extract check-in date */
198086
+ starts_at: {
198087
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198088
+ source: string;
198089
+ /** Regex with capture group to extract value from the property */
198090
+ pattern?: string | undefined;
198091
+ /** Special type handling — 'date' parses iCal date formats */
198092
+ type?: 'date' | undefined;
198093
+ };
198094
+ /** How to extract check-out date */
198095
+ ends_at: {
198096
+ /** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
198097
+ source: string;
198098
+ /** Regex with capture group to extract value from the property */
198099
+ pattern?: string | undefined;
198100
+ /** Special type handling — 'date' parses iCal date formats */
198101
+ type?: 'date' | undefined;
198102
+ };
198103
+ };
198104
+ /** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
198105
+ time_zone?: string | undefined;
198106
+ /** Default check-in time (HH:MM) used when iCal gives date-only values */
198107
+ default_check_in_time?: string | undefined;
198108
+ /** Default check-out time (HH:MM) used when iCal gives date-only values */
198109
+ default_check_out_time?: string | undefined;
198110
+ };
198111
+ };
198112
+ commonParams: {};
198113
+ formData: {};
198114
+ jsonResponse: {
198115
+ validation_result: {
198116
+ is_valid: boolean;
198117
+ total_events: number;
198118
+ matched_events: number;
198119
+ filtered_events: number;
198120
+ reservations: {
198121
+ uid: string;
198122
+ reservation_key: string | null;
198123
+ guest_name: string | null;
198124
+ guest_email: string | null;
198125
+ guest_phone: string | null;
198126
+ starts_at: string | null;
198127
+ ends_at: string | null;
198128
+ }[];
198129
+ errors: string[];
198130
+ };
198131
+ };
198132
+ maxDuration: undefined;
198133
+ };
197429
198134
  '/seam/customer/v1/connectors/list': {
197430
198135
  route: '/seam/customer/v1/connectors/list';
197431
198136
  method: 'GET' | 'POST';