@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 +0 -237
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -336
- package/dist/index.cjs +0 -237
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +0 -243
- package/lib/seam/connect/openapi.js +0 -237
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -93
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +0 -266
- package/src/lib/seam/connect/route-types.ts +0 -103
|
@@ -53767,235 +53767,6 @@ declare const _default: {
|
|
|
53767
53767
|
'x-undocumented': string;
|
|
53768
53768
|
};
|
|
53769
53769
|
};
|
|
53770
|
-
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
53771
|
-
post: {
|
|
53772
|
-
description: string;
|
|
53773
|
-
operationId: string;
|
|
53774
|
-
requestBody: {
|
|
53775
|
-
content: {
|
|
53776
|
-
'application/json': {
|
|
53777
|
-
schema: {
|
|
53778
|
-
properties: {
|
|
53779
|
-
ical_url: {
|
|
53780
|
-
description: string;
|
|
53781
|
-
format: string;
|
|
53782
|
-
type: string;
|
|
53783
|
-
};
|
|
53784
|
-
};
|
|
53785
|
-
required: string[];
|
|
53786
|
-
type: string;
|
|
53787
|
-
};
|
|
53788
|
-
};
|
|
53789
|
-
};
|
|
53790
|
-
};
|
|
53791
|
-
responses: {
|
|
53792
|
-
200: {
|
|
53793
|
-
content: {
|
|
53794
|
-
'application/json': {
|
|
53795
|
-
schema: {
|
|
53796
|
-
properties: {
|
|
53797
|
-
generated_config: {
|
|
53798
|
-
properties: {
|
|
53799
|
-
ical_config: {
|
|
53800
|
-
properties: {
|
|
53801
|
-
default_check_in_time: {
|
|
53802
|
-
description: string;
|
|
53803
|
-
pattern: string;
|
|
53804
|
-
type: string;
|
|
53805
|
-
};
|
|
53806
|
-
default_check_out_time: {
|
|
53807
|
-
description: string;
|
|
53808
|
-
pattern: string;
|
|
53809
|
-
type: string;
|
|
53810
|
-
};
|
|
53811
|
-
fields: {
|
|
53812
|
-
properties: {
|
|
53813
|
-
ends_at: {
|
|
53814
|
-
description: string;
|
|
53815
|
-
properties: {
|
|
53816
|
-
pattern: {
|
|
53817
|
-
description: string;
|
|
53818
|
-
type: string;
|
|
53819
|
-
};
|
|
53820
|
-
source: {
|
|
53821
|
-
description: string;
|
|
53822
|
-
type: string;
|
|
53823
|
-
};
|
|
53824
|
-
type: {
|
|
53825
|
-
description: string;
|
|
53826
|
-
enum: string[];
|
|
53827
|
-
type: string;
|
|
53828
|
-
};
|
|
53829
|
-
};
|
|
53830
|
-
required: string[];
|
|
53831
|
-
type: string;
|
|
53832
|
-
};
|
|
53833
|
-
guest_email: {
|
|
53834
|
-
description: string;
|
|
53835
|
-
properties: {
|
|
53836
|
-
pattern: {
|
|
53837
|
-
description: string;
|
|
53838
|
-
type: string;
|
|
53839
|
-
};
|
|
53840
|
-
source: {
|
|
53841
|
-
description: string;
|
|
53842
|
-
type: string;
|
|
53843
|
-
};
|
|
53844
|
-
type: {
|
|
53845
|
-
description: string;
|
|
53846
|
-
enum: string[];
|
|
53847
|
-
type: string;
|
|
53848
|
-
};
|
|
53849
|
-
};
|
|
53850
|
-
required: string[];
|
|
53851
|
-
type: string;
|
|
53852
|
-
};
|
|
53853
|
-
guest_name: {
|
|
53854
|
-
description: string;
|
|
53855
|
-
properties: {
|
|
53856
|
-
pattern: {
|
|
53857
|
-
description: string;
|
|
53858
|
-
type: string;
|
|
53859
|
-
};
|
|
53860
|
-
source: {
|
|
53861
|
-
description: string;
|
|
53862
|
-
type: string;
|
|
53863
|
-
};
|
|
53864
|
-
type: {
|
|
53865
|
-
description: string;
|
|
53866
|
-
enum: string[];
|
|
53867
|
-
type: string;
|
|
53868
|
-
};
|
|
53869
|
-
};
|
|
53870
|
-
required: string[];
|
|
53871
|
-
type: string;
|
|
53872
|
-
};
|
|
53873
|
-
guest_phone: {
|
|
53874
|
-
description: string;
|
|
53875
|
-
properties: {
|
|
53876
|
-
pattern: {
|
|
53877
|
-
description: string;
|
|
53878
|
-
type: string;
|
|
53879
|
-
};
|
|
53880
|
-
source: {
|
|
53881
|
-
description: string;
|
|
53882
|
-
type: string;
|
|
53883
|
-
};
|
|
53884
|
-
type: {
|
|
53885
|
-
description: string;
|
|
53886
|
-
enum: string[];
|
|
53887
|
-
type: string;
|
|
53888
|
-
};
|
|
53889
|
-
};
|
|
53890
|
-
required: string[];
|
|
53891
|
-
type: string;
|
|
53892
|
-
};
|
|
53893
|
-
reservation_key: {
|
|
53894
|
-
description: string;
|
|
53895
|
-
properties: {
|
|
53896
|
-
pattern: {
|
|
53897
|
-
description: string;
|
|
53898
|
-
type: string;
|
|
53899
|
-
};
|
|
53900
|
-
source: {
|
|
53901
|
-
description: string;
|
|
53902
|
-
type: string;
|
|
53903
|
-
};
|
|
53904
|
-
type: {
|
|
53905
|
-
description: string;
|
|
53906
|
-
enum: string[];
|
|
53907
|
-
type: string;
|
|
53908
|
-
};
|
|
53909
|
-
};
|
|
53910
|
-
required: string[];
|
|
53911
|
-
type: string;
|
|
53912
|
-
};
|
|
53913
|
-
starts_at: {
|
|
53914
|
-
description: string;
|
|
53915
|
-
properties: {
|
|
53916
|
-
pattern: {
|
|
53917
|
-
description: string;
|
|
53918
|
-
type: string;
|
|
53919
|
-
};
|
|
53920
|
-
source: {
|
|
53921
|
-
description: string;
|
|
53922
|
-
type: string;
|
|
53923
|
-
};
|
|
53924
|
-
type: {
|
|
53925
|
-
description: string;
|
|
53926
|
-
enum: string[];
|
|
53927
|
-
type: string;
|
|
53928
|
-
};
|
|
53929
|
-
};
|
|
53930
|
-
required: string[];
|
|
53931
|
-
type: string;
|
|
53932
|
-
};
|
|
53933
|
-
};
|
|
53934
|
-
required: string[];
|
|
53935
|
-
type: string;
|
|
53936
|
-
};
|
|
53937
|
-
filter: {
|
|
53938
|
-
description: string;
|
|
53939
|
-
properties: {
|
|
53940
|
-
pattern: {
|
|
53941
|
-
description: string;
|
|
53942
|
-
type: string;
|
|
53943
|
-
};
|
|
53944
|
-
source: {
|
|
53945
|
-
description: string;
|
|
53946
|
-
type: string;
|
|
53947
|
-
};
|
|
53948
|
-
};
|
|
53949
|
-
required: string[];
|
|
53950
|
-
type: string;
|
|
53951
|
-
};
|
|
53952
|
-
time_zone: {
|
|
53953
|
-
description: string;
|
|
53954
|
-
type: string;
|
|
53955
|
-
};
|
|
53956
|
-
};
|
|
53957
|
-
required: string[];
|
|
53958
|
-
type: string;
|
|
53959
|
-
};
|
|
53960
|
-
};
|
|
53961
|
-
required: string[];
|
|
53962
|
-
type: string;
|
|
53963
|
-
};
|
|
53964
|
-
ok: {
|
|
53965
|
-
type: string;
|
|
53966
|
-
};
|
|
53967
|
-
};
|
|
53968
|
-
required: string[];
|
|
53969
|
-
type: string;
|
|
53970
|
-
};
|
|
53971
|
-
};
|
|
53972
|
-
};
|
|
53973
|
-
description: string;
|
|
53974
|
-
};
|
|
53975
|
-
400: {
|
|
53976
|
-
description: string;
|
|
53977
|
-
};
|
|
53978
|
-
401: {
|
|
53979
|
-
description: string;
|
|
53980
|
-
};
|
|
53981
|
-
};
|
|
53982
|
-
security: ({
|
|
53983
|
-
api_key: never[];
|
|
53984
|
-
console_session_with_workspace?: never;
|
|
53985
|
-
} | {
|
|
53986
|
-
console_session_with_workspace: never[];
|
|
53987
|
-
api_key?: never;
|
|
53988
|
-
})[];
|
|
53989
|
-
summary: string;
|
|
53990
|
-
tags: never[];
|
|
53991
|
-
'x-fern-sdk-group-name': string[];
|
|
53992
|
-
'x-fern-sdk-method-name': string;
|
|
53993
|
-
'x-fern-sdk-return-value': string;
|
|
53994
|
-
'x-response-key': string;
|
|
53995
|
-
'x-title': string;
|
|
53996
|
-
'x-undocumented': string;
|
|
53997
|
-
};
|
|
53998
|
-
};
|
|
53999
53770
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
54000
53771
|
post: {
|
|
54001
53772
|
description: string;
|
|
@@ -54008,16 +53779,6 @@ declare const _default: {
|
|
|
54008
53779
|
ical_config: {
|
|
54009
53780
|
description: string;
|
|
54010
53781
|
properties: {
|
|
54011
|
-
default_check_in_time: {
|
|
54012
|
-
description: string;
|
|
54013
|
-
pattern: string;
|
|
54014
|
-
type: string;
|
|
54015
|
-
};
|
|
54016
|
-
default_check_out_time: {
|
|
54017
|
-
description: string;
|
|
54018
|
-
pattern: string;
|
|
54019
|
-
type: string;
|
|
54020
|
-
};
|
|
54021
53782
|
fields: {
|
|
54022
53783
|
properties: {
|
|
54023
53784
|
ends_at: {
|
|
@@ -54159,10 +53920,6 @@ declare const _default: {
|
|
|
54159
53920
|
required: string[];
|
|
54160
53921
|
type: string;
|
|
54161
53922
|
};
|
|
54162
|
-
time_zone: {
|
|
54163
|
-
description: string;
|
|
54164
|
-
type: string;
|
|
54165
|
-
};
|
|
54166
53923
|
};
|
|
54167
53924
|
required: string[];
|
|
54168
53925
|
type: string;
|
|
@@ -60069,229 +60069,6 @@ export default {
|
|
|
60069
60069
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
60070
60070
|
},
|
|
60071
60071
|
},
|
|
60072
|
-
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
60073
|
-
post: {
|
|
60074
|
-
description: "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
|
|
60075
|
-
operationId: 'seamCustomerV1ConnectorsIcalGenerateConfigPost',
|
|
60076
|
-
requestBody: {
|
|
60077
|
-
content: {
|
|
60078
|
-
'application/json': {
|
|
60079
|
-
schema: {
|
|
60080
|
-
properties: {
|
|
60081
|
-
ical_url: {
|
|
60082
|
-
description: 'iCal feed URL to analyze',
|
|
60083
|
-
format: 'uri',
|
|
60084
|
-
type: 'string',
|
|
60085
|
-
},
|
|
60086
|
-
},
|
|
60087
|
-
required: ['ical_url'],
|
|
60088
|
-
type: 'object',
|
|
60089
|
-
},
|
|
60090
|
-
},
|
|
60091
|
-
},
|
|
60092
|
-
},
|
|
60093
|
-
responses: {
|
|
60094
|
-
200: {
|
|
60095
|
-
content: {
|
|
60096
|
-
'application/json': {
|
|
60097
|
-
schema: {
|
|
60098
|
-
properties: {
|
|
60099
|
-
generated_config: {
|
|
60100
|
-
properties: {
|
|
60101
|
-
ical_config: {
|
|
60102
|
-
properties: {
|
|
60103
|
-
default_check_in_time: {
|
|
60104
|
-
description: 'Default check-in time (HH:MM) used when iCal gives date-only values',
|
|
60105
|
-
pattern: '^\\d{2}:\\d{2}$',
|
|
60106
|
-
type: 'string',
|
|
60107
|
-
},
|
|
60108
|
-
default_check_out_time: {
|
|
60109
|
-
description: 'Default check-out time (HH:MM) used when iCal gives date-only values',
|
|
60110
|
-
pattern: '^\\d{2}:\\d{2}$',
|
|
60111
|
-
type: 'string',
|
|
60112
|
-
},
|
|
60113
|
-
fields: {
|
|
60114
|
-
properties: {
|
|
60115
|
-
ends_at: {
|
|
60116
|
-
description: 'How to extract check-out date',
|
|
60117
|
-
properties: {
|
|
60118
|
-
pattern: {
|
|
60119
|
-
description: 'Regex with capture group to extract value from the property',
|
|
60120
|
-
type: 'string',
|
|
60121
|
-
},
|
|
60122
|
-
source: {
|
|
60123
|
-
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
60124
|
-
type: 'string',
|
|
60125
|
-
},
|
|
60126
|
-
type: {
|
|
60127
|
-
description: "Special type handling — 'date' parses iCal date formats",
|
|
60128
|
-
enum: ['date'],
|
|
60129
|
-
type: 'string',
|
|
60130
|
-
},
|
|
60131
|
-
},
|
|
60132
|
-
required: ['source'],
|
|
60133
|
-
type: 'object',
|
|
60134
|
-
},
|
|
60135
|
-
guest_email: {
|
|
60136
|
-
description: 'How to extract guest email',
|
|
60137
|
-
properties: {
|
|
60138
|
-
pattern: {
|
|
60139
|
-
description: 'Regex with capture group to extract value from the property',
|
|
60140
|
-
type: 'string',
|
|
60141
|
-
},
|
|
60142
|
-
source: {
|
|
60143
|
-
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
60144
|
-
type: 'string',
|
|
60145
|
-
},
|
|
60146
|
-
type: {
|
|
60147
|
-
description: "Special type handling — 'date' parses iCal date formats",
|
|
60148
|
-
enum: ['date'],
|
|
60149
|
-
type: 'string',
|
|
60150
|
-
},
|
|
60151
|
-
},
|
|
60152
|
-
required: ['source'],
|
|
60153
|
-
type: 'object',
|
|
60154
|
-
},
|
|
60155
|
-
guest_name: {
|
|
60156
|
-
description: 'How to extract guest name',
|
|
60157
|
-
properties: {
|
|
60158
|
-
pattern: {
|
|
60159
|
-
description: 'Regex with capture group to extract value from the property',
|
|
60160
|
-
type: 'string',
|
|
60161
|
-
},
|
|
60162
|
-
source: {
|
|
60163
|
-
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
60164
|
-
type: 'string',
|
|
60165
|
-
},
|
|
60166
|
-
type: {
|
|
60167
|
-
description: "Special type handling — 'date' parses iCal date formats",
|
|
60168
|
-
enum: ['date'],
|
|
60169
|
-
type: 'string',
|
|
60170
|
-
},
|
|
60171
|
-
},
|
|
60172
|
-
required: ['source'],
|
|
60173
|
-
type: 'object',
|
|
60174
|
-
},
|
|
60175
|
-
guest_phone: {
|
|
60176
|
-
description: 'How to extract guest phone',
|
|
60177
|
-
properties: {
|
|
60178
|
-
pattern: {
|
|
60179
|
-
description: 'Regex with capture group to extract value from the property',
|
|
60180
|
-
type: 'string',
|
|
60181
|
-
},
|
|
60182
|
-
source: {
|
|
60183
|
-
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
60184
|
-
type: 'string',
|
|
60185
|
-
},
|
|
60186
|
-
type: {
|
|
60187
|
-
description: "Special type handling — 'date' parses iCal date formats",
|
|
60188
|
-
enum: ['date'],
|
|
60189
|
-
type: 'string',
|
|
60190
|
-
},
|
|
60191
|
-
},
|
|
60192
|
-
required: ['source'],
|
|
60193
|
-
type: 'object',
|
|
60194
|
-
},
|
|
60195
|
-
reservation_key: {
|
|
60196
|
-
description: 'How to extract the reservation key (falls back to UID)',
|
|
60197
|
-
properties: {
|
|
60198
|
-
pattern: {
|
|
60199
|
-
description: 'Regex with capture group to extract value from the property',
|
|
60200
|
-
type: 'string',
|
|
60201
|
-
},
|
|
60202
|
-
source: {
|
|
60203
|
-
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
60204
|
-
type: 'string',
|
|
60205
|
-
},
|
|
60206
|
-
type: {
|
|
60207
|
-
description: "Special type handling — 'date' parses iCal date formats",
|
|
60208
|
-
enum: ['date'],
|
|
60209
|
-
type: 'string',
|
|
60210
|
-
},
|
|
60211
|
-
},
|
|
60212
|
-
required: ['source'],
|
|
60213
|
-
type: 'object',
|
|
60214
|
-
},
|
|
60215
|
-
starts_at: {
|
|
60216
|
-
description: 'How to extract check-in date',
|
|
60217
|
-
properties: {
|
|
60218
|
-
pattern: {
|
|
60219
|
-
description: 'Regex with capture group to extract value from the property',
|
|
60220
|
-
type: 'string',
|
|
60221
|
-
},
|
|
60222
|
-
source: {
|
|
60223
|
-
description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
|
|
60224
|
-
type: 'string',
|
|
60225
|
-
},
|
|
60226
|
-
type: {
|
|
60227
|
-
description: "Special type handling — 'date' parses iCal date formats",
|
|
60228
|
-
enum: ['date'],
|
|
60229
|
-
type: 'string',
|
|
60230
|
-
},
|
|
60231
|
-
},
|
|
60232
|
-
required: ['source'],
|
|
60233
|
-
type: 'object',
|
|
60234
|
-
},
|
|
60235
|
-
},
|
|
60236
|
-
required: ['starts_at', 'ends_at'],
|
|
60237
|
-
type: 'object',
|
|
60238
|
-
},
|
|
60239
|
-
filter: {
|
|
60240
|
-
description: 'Optional filter to skip non-matching events',
|
|
60241
|
-
properties: {
|
|
60242
|
-
pattern: {
|
|
60243
|
-
description: 'Regex pattern — events not matching are skipped',
|
|
60244
|
-
type: 'string',
|
|
60245
|
-
},
|
|
60246
|
-
source: {
|
|
60247
|
-
description: 'iCal property name to match against',
|
|
60248
|
-
type: 'string',
|
|
60249
|
-
},
|
|
60250
|
-
},
|
|
60251
|
-
required: ['source', 'pattern'],
|
|
60252
|
-
type: 'object',
|
|
60253
|
-
},
|
|
60254
|
-
time_zone: {
|
|
60255
|
-
description: 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
|
|
60256
|
-
type: 'string',
|
|
60257
|
-
},
|
|
60258
|
-
},
|
|
60259
|
-
required: ['fields'],
|
|
60260
|
-
type: 'object',
|
|
60261
|
-
},
|
|
60262
|
-
},
|
|
60263
|
-
required: ['ical_config'],
|
|
60264
|
-
type: 'object',
|
|
60265
|
-
},
|
|
60266
|
-
ok: { type: 'boolean' },
|
|
60267
|
-
},
|
|
60268
|
-
required: ['generated_config', 'ok'],
|
|
60269
|
-
type: 'object',
|
|
60270
|
-
},
|
|
60271
|
-
},
|
|
60272
|
-
},
|
|
60273
|
-
description: 'OK',
|
|
60274
|
-
},
|
|
60275
|
-
400: { description: 'Bad Request' },
|
|
60276
|
-
401: { description: 'Unauthorized' },
|
|
60277
|
-
},
|
|
60278
|
-
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
60279
|
-
summary: '/seam/customer/v1/connectors/ical/generate-config',
|
|
60280
|
-
tags: [],
|
|
60281
|
-
'x-fern-sdk-group-name': [
|
|
60282
|
-
'seam',
|
|
60283
|
-
'customer',
|
|
60284
|
-
'v1',
|
|
60285
|
-
'connectors',
|
|
60286
|
-
'ical',
|
|
60287
|
-
],
|
|
60288
|
-
'x-fern-sdk-method-name': 'generate-config',
|
|
60289
|
-
'x-fern-sdk-return-value': 'generated_config',
|
|
60290
|
-
'x-response-key': 'generated_config',
|
|
60291
|
-
'x-title': 'Generate iCal Config',
|
|
60292
|
-
'x-undocumented': 'Only used internally.',
|
|
60293
|
-
},
|
|
60294
|
-
},
|
|
60295
60072
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
60296
60073
|
post: {
|
|
60297
60074
|
description: 'Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.',
|
|
@@ -60304,16 +60081,6 @@ export default {
|
|
|
60304
60081
|
ical_config: {
|
|
60305
60082
|
description: 'Config to validate',
|
|
60306
60083
|
properties: {
|
|
60307
|
-
default_check_in_time: {
|
|
60308
|
-
description: 'Default check-in time (HH:MM) used when iCal gives date-only values',
|
|
60309
|
-
pattern: '^\\d{2}:\\d{2}$',
|
|
60310
|
-
type: 'string',
|
|
60311
|
-
},
|
|
60312
|
-
default_check_out_time: {
|
|
60313
|
-
description: 'Default check-out time (HH:MM) used when iCal gives date-only values',
|
|
60314
|
-
pattern: '^\\d{2}:\\d{2}$',
|
|
60315
|
-
type: 'string',
|
|
60316
|
-
},
|
|
60317
60084
|
fields: {
|
|
60318
60085
|
properties: {
|
|
60319
60086
|
ends_at: {
|
|
@@ -60455,10 +60222,6 @@ export default {
|
|
|
60455
60222
|
required: ['source', 'pattern'],
|
|
60456
60223
|
type: 'object',
|
|
60457
60224
|
},
|
|
60458
|
-
time_zone: {
|
|
60459
|
-
description: 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
|
|
60460
|
-
type: 'string',
|
|
60461
|
-
},
|
|
60462
60225
|
},
|
|
60463
60226
|
required: ['fields'],
|
|
60464
60227
|
type: 'object',
|