@seamapi/types 1.772.0 → 1.774.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.
@@ -11739,16 +11739,21 @@ export default {
11739
11739
  },
11740
11740
  location: {
11741
11741
  description: 'Location information for the device.',
11742
- nullable: true,
11743
11742
  properties: {
11744
11743
  location_name: {
11745
11744
  description: 'Name of the device location.\n ',
11746
11745
  type: 'string',
11747
11746
  },
11748
- timezone: {
11747
+ time_zone: {
11749
11748
  description: 'Time zone of the device location.\n ',
11750
11749
  type: 'string',
11751
11750
  },
11751
+ timezone: {
11752
+ deprecated: true,
11753
+ description: 'Time zone of the device location.',
11754
+ type: 'string',
11755
+ 'x-deprecated': 'Use `time_zone` instead.',
11756
+ },
11752
11757
  },
11753
11758
  type: 'object',
11754
11759
  'x-property-group-key': 'hardware',
@@ -15042,7 +15047,6 @@ export default {
15042
15047
  'display_name',
15043
15048
  'capabilities_supported',
15044
15049
  'properties',
15045
- 'location',
15046
15050
  'connected_account_id',
15047
15051
  'workspace_id',
15048
15052
  'errors',
@@ -29885,16 +29889,21 @@ export default {
29885
29889
  is_managed: { enum: [false], type: 'boolean' },
29886
29890
  location: {
29887
29891
  description: 'Location information for the device.',
29888
- nullable: true,
29889
29892
  properties: {
29890
29893
  location_name: {
29891
29894
  description: 'Name of the device location.\n ',
29892
29895
  type: 'string',
29893
29896
  },
29894
- timezone: {
29897
+ time_zone: {
29895
29898
  description: 'Time zone of the device location.\n ',
29896
29899
  type: 'string',
29897
29900
  },
29901
+ timezone: {
29902
+ deprecated: true,
29903
+ description: 'Time zone of the device location.',
29904
+ type: 'string',
29905
+ 'x-deprecated': 'Use `time_zone` instead.',
29906
+ },
29898
29907
  },
29899
29908
  type: 'object',
29900
29909
  'x-property-group-key': 'hardware',
@@ -30695,7 +30704,6 @@ export default {
30695
30704
  'device_id',
30696
30705
  'device_type',
30697
30706
  'connected_account_id',
30698
- 'location',
30699
30707
  'capabilities_supported',
30700
30708
  'workspace_id',
30701
30709
  'errors',
@@ -63698,6 +63706,543 @@ export default {
63698
63706
  'x-undocumented': 'Internal endpoint for Console.',
63699
63707
  },
63700
63708
  },
63709
+ '/seam/customer/v1/connectors/ical/generate-config': {
63710
+ post: {
63711
+ description:
63712
+ "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
63713
+ operationId: 'seamCustomerV1ConnectorsIcalGenerateConfigPost',
63714
+ requestBody: {
63715
+ content: {
63716
+ 'application/json': {
63717
+ schema: {
63718
+ properties: {
63719
+ ical_url: {
63720
+ description: 'iCal feed URL to analyze',
63721
+ format: 'uri',
63722
+ type: 'string',
63723
+ },
63724
+ },
63725
+ required: ['ical_url'],
63726
+ type: 'object',
63727
+ },
63728
+ },
63729
+ },
63730
+ },
63731
+ responses: {
63732
+ 200: {
63733
+ content: {
63734
+ 'application/json': {
63735
+ schema: {
63736
+ properties: {
63737
+ generated_config: {
63738
+ properties: {
63739
+ ical_config: {
63740
+ properties: {
63741
+ default_check_in_time: {
63742
+ description:
63743
+ 'Default check-in time (HH:MM) used when iCal gives date-only values',
63744
+ pattern: '^\\d{2}:\\d{2}$',
63745
+ type: 'string',
63746
+ },
63747
+ default_check_out_time: {
63748
+ description:
63749
+ 'Default check-out time (HH:MM) used when iCal gives date-only values',
63750
+ pattern: '^\\d{2}:\\d{2}$',
63751
+ type: 'string',
63752
+ },
63753
+ fields: {
63754
+ properties: {
63755
+ ends_at: {
63756
+ description: 'How to extract check-out date',
63757
+ properties: {
63758
+ pattern: {
63759
+ description:
63760
+ 'Regex with capture group to extract value from the property',
63761
+ type: 'string',
63762
+ },
63763
+ source: {
63764
+ description:
63765
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63766
+ type: 'string',
63767
+ },
63768
+ type: {
63769
+ description:
63770
+ "Special type handling — 'date' parses iCal date formats",
63771
+ enum: ['date'],
63772
+ type: 'string',
63773
+ },
63774
+ },
63775
+ required: ['source'],
63776
+ type: 'object',
63777
+ },
63778
+ guest_email: {
63779
+ description: 'How to extract guest email',
63780
+ properties: {
63781
+ pattern: {
63782
+ description:
63783
+ 'Regex with capture group to extract value from the property',
63784
+ type: 'string',
63785
+ },
63786
+ source: {
63787
+ description:
63788
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63789
+ type: 'string',
63790
+ },
63791
+ type: {
63792
+ description:
63793
+ "Special type handling — 'date' parses iCal date formats",
63794
+ enum: ['date'],
63795
+ type: 'string',
63796
+ },
63797
+ },
63798
+ required: ['source'],
63799
+ type: 'object',
63800
+ },
63801
+ guest_name: {
63802
+ description: 'How to extract guest name',
63803
+ properties: {
63804
+ pattern: {
63805
+ description:
63806
+ 'Regex with capture group to extract value from the property',
63807
+ type: 'string',
63808
+ },
63809
+ source: {
63810
+ description:
63811
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63812
+ type: 'string',
63813
+ },
63814
+ type: {
63815
+ description:
63816
+ "Special type handling — 'date' parses iCal date formats",
63817
+ enum: ['date'],
63818
+ type: 'string',
63819
+ },
63820
+ },
63821
+ required: ['source'],
63822
+ type: 'object',
63823
+ },
63824
+ guest_phone: {
63825
+ description: 'How to extract guest phone',
63826
+ properties: {
63827
+ pattern: {
63828
+ description:
63829
+ 'Regex with capture group to extract value from the property',
63830
+ type: 'string',
63831
+ },
63832
+ source: {
63833
+ description:
63834
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63835
+ type: 'string',
63836
+ },
63837
+ type: {
63838
+ description:
63839
+ "Special type handling — 'date' parses iCal date formats",
63840
+ enum: ['date'],
63841
+ type: 'string',
63842
+ },
63843
+ },
63844
+ required: ['source'],
63845
+ type: 'object',
63846
+ },
63847
+ reservation_key: {
63848
+ description:
63849
+ 'How to extract the reservation key (falls back to UID)',
63850
+ properties: {
63851
+ pattern: {
63852
+ description:
63853
+ 'Regex with capture group to extract value from the property',
63854
+ type: 'string',
63855
+ },
63856
+ source: {
63857
+ description:
63858
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63859
+ type: 'string',
63860
+ },
63861
+ type: {
63862
+ description:
63863
+ "Special type handling — 'date' parses iCal date formats",
63864
+ enum: ['date'],
63865
+ type: 'string',
63866
+ },
63867
+ },
63868
+ required: ['source'],
63869
+ type: 'object',
63870
+ },
63871
+ starts_at: {
63872
+ description: 'How to extract check-in date',
63873
+ properties: {
63874
+ pattern: {
63875
+ description:
63876
+ 'Regex with capture group to extract value from the property',
63877
+ type: 'string',
63878
+ },
63879
+ source: {
63880
+ description:
63881
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63882
+ type: 'string',
63883
+ },
63884
+ type: {
63885
+ description:
63886
+ "Special type handling — 'date' parses iCal date formats",
63887
+ enum: ['date'],
63888
+ type: 'string',
63889
+ },
63890
+ },
63891
+ required: ['source'],
63892
+ type: 'object',
63893
+ },
63894
+ },
63895
+ required: ['starts_at', 'ends_at'],
63896
+ type: 'object',
63897
+ },
63898
+ filter: {
63899
+ description:
63900
+ 'Optional filter to skip non-matching events',
63901
+ properties: {
63902
+ pattern: {
63903
+ description:
63904
+ 'Regex pattern — events not matching are skipped',
63905
+ type: 'string',
63906
+ },
63907
+ source: {
63908
+ description:
63909
+ 'iCal property name to match against',
63910
+ type: 'string',
63911
+ },
63912
+ },
63913
+ required: ['source', 'pattern'],
63914
+ type: 'object',
63915
+ },
63916
+ time_zone: {
63917
+ description:
63918
+ 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
63919
+ type: 'string',
63920
+ },
63921
+ },
63922
+ required: ['fields'],
63923
+ type: 'object',
63924
+ },
63925
+ },
63926
+ required: ['ical_config'],
63927
+ type: 'object',
63928
+ },
63929
+ ok: { type: 'boolean' },
63930
+ },
63931
+ required: ['generated_config', 'ok'],
63932
+ type: 'object',
63933
+ },
63934
+ },
63935
+ },
63936
+ description: 'OK',
63937
+ },
63938
+ 400: { description: 'Bad Request' },
63939
+ 401: { description: 'Unauthorized' },
63940
+ },
63941
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
63942
+ summary: '/seam/customer/v1/connectors/ical/generate-config',
63943
+ tags: [],
63944
+ 'x-fern-sdk-group-name': [
63945
+ 'seam',
63946
+ 'customer',
63947
+ 'v1',
63948
+ 'connectors',
63949
+ 'ical',
63950
+ ],
63951
+ 'x-fern-sdk-method-name': 'generate-config',
63952
+ 'x-fern-sdk-return-value': 'generated_config',
63953
+ 'x-response-key': 'generated_config',
63954
+ 'x-title': 'Generate iCal Config',
63955
+ 'x-undocumented': 'Only used internally.',
63956
+ },
63957
+ },
63958
+ '/seam/customer/v1/connectors/ical/validate-config': {
63959
+ post: {
63960
+ description:
63961
+ 'Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.',
63962
+ operationId: 'seamCustomerV1ConnectorsIcalValidateConfigPost',
63963
+ requestBody: {
63964
+ content: {
63965
+ 'application/json': {
63966
+ schema: {
63967
+ properties: {
63968
+ ical_config: {
63969
+ description: 'Config to validate',
63970
+ properties: {
63971
+ default_check_in_time: {
63972
+ description:
63973
+ 'Default check-in time (HH:MM) used when iCal gives date-only values',
63974
+ pattern: '^\\d{2}:\\d{2}$',
63975
+ type: 'string',
63976
+ },
63977
+ default_check_out_time: {
63978
+ description:
63979
+ 'Default check-out time (HH:MM) used when iCal gives date-only values',
63980
+ pattern: '^\\d{2}:\\d{2}$',
63981
+ type: 'string',
63982
+ },
63983
+ fields: {
63984
+ properties: {
63985
+ ends_at: {
63986
+ description: 'How to extract check-out date',
63987
+ properties: {
63988
+ pattern: {
63989
+ description:
63990
+ 'Regex with capture group to extract value from the property',
63991
+ type: 'string',
63992
+ },
63993
+ source: {
63994
+ description:
63995
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
63996
+ type: 'string',
63997
+ },
63998
+ type: {
63999
+ description:
64000
+ "Special type handling — 'date' parses iCal date formats",
64001
+ enum: ['date'],
64002
+ type: 'string',
64003
+ },
64004
+ },
64005
+ required: ['source'],
64006
+ type: 'object',
64007
+ },
64008
+ guest_email: {
64009
+ description: 'How to extract guest email',
64010
+ properties: {
64011
+ pattern: {
64012
+ description:
64013
+ 'Regex with capture group to extract value from the property',
64014
+ type: 'string',
64015
+ },
64016
+ source: {
64017
+ description:
64018
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
64019
+ type: 'string',
64020
+ },
64021
+ type: {
64022
+ description:
64023
+ "Special type handling — 'date' parses iCal date formats",
64024
+ enum: ['date'],
64025
+ type: 'string',
64026
+ },
64027
+ },
64028
+ required: ['source'],
64029
+ type: 'object',
64030
+ },
64031
+ guest_name: {
64032
+ description: 'How to extract guest name',
64033
+ properties: {
64034
+ pattern: {
64035
+ description:
64036
+ 'Regex with capture group to extract value from the property',
64037
+ type: 'string',
64038
+ },
64039
+ source: {
64040
+ description:
64041
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
64042
+ type: 'string',
64043
+ },
64044
+ type: {
64045
+ description:
64046
+ "Special type handling — 'date' parses iCal date formats",
64047
+ enum: ['date'],
64048
+ type: 'string',
64049
+ },
64050
+ },
64051
+ required: ['source'],
64052
+ type: 'object',
64053
+ },
64054
+ guest_phone: {
64055
+ description: 'How to extract guest phone',
64056
+ properties: {
64057
+ pattern: {
64058
+ description:
64059
+ 'Regex with capture group to extract value from the property',
64060
+ type: 'string',
64061
+ },
64062
+ source: {
64063
+ description:
64064
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
64065
+ type: 'string',
64066
+ },
64067
+ type: {
64068
+ description:
64069
+ "Special type handling — 'date' parses iCal date formats",
64070
+ enum: ['date'],
64071
+ type: 'string',
64072
+ },
64073
+ },
64074
+ required: ['source'],
64075
+ type: 'object',
64076
+ },
64077
+ reservation_key: {
64078
+ description:
64079
+ 'How to extract the reservation key (falls back to UID)',
64080
+ properties: {
64081
+ pattern: {
64082
+ description:
64083
+ 'Regex with capture group to extract value from the property',
64084
+ type: 'string',
64085
+ },
64086
+ source: {
64087
+ description:
64088
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
64089
+ type: 'string',
64090
+ },
64091
+ type: {
64092
+ description:
64093
+ "Special type handling — 'date' parses iCal date formats",
64094
+ enum: ['date'],
64095
+ type: 'string',
64096
+ },
64097
+ },
64098
+ required: ['source'],
64099
+ type: 'object',
64100
+ },
64101
+ starts_at: {
64102
+ description: 'How to extract check-in date',
64103
+ properties: {
64104
+ pattern: {
64105
+ description:
64106
+ 'Regex with capture group to extract value from the property',
64107
+ type: 'string',
64108
+ },
64109
+ source: {
64110
+ description:
64111
+ 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
64112
+ type: 'string',
64113
+ },
64114
+ type: {
64115
+ description:
64116
+ "Special type handling — 'date' parses iCal date formats",
64117
+ enum: ['date'],
64118
+ type: 'string',
64119
+ },
64120
+ },
64121
+ required: ['source'],
64122
+ type: 'object',
64123
+ },
64124
+ },
64125
+ required: ['starts_at', 'ends_at'],
64126
+ type: 'object',
64127
+ },
64128
+ filter: {
64129
+ description:
64130
+ 'Optional filter to skip non-matching events',
64131
+ properties: {
64132
+ pattern: {
64133
+ description:
64134
+ 'Regex pattern — events not matching are skipped',
64135
+ type: 'string',
64136
+ },
64137
+ source: {
64138
+ description: 'iCal property name to match against',
64139
+ type: 'string',
64140
+ },
64141
+ },
64142
+ required: ['source', 'pattern'],
64143
+ type: 'object',
64144
+ },
64145
+ time_zone: {
64146
+ description:
64147
+ 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
64148
+ type: 'string',
64149
+ },
64150
+ },
64151
+ required: ['fields'],
64152
+ type: 'object',
64153
+ },
64154
+ ical_url: {
64155
+ description: 'iCal feed URL to validate against',
64156
+ format: 'uri',
64157
+ type: 'string',
64158
+ },
64159
+ },
64160
+ required: ['ical_url', 'ical_config'],
64161
+ type: 'object',
64162
+ },
64163
+ },
64164
+ },
64165
+ },
64166
+ responses: {
64167
+ 200: {
64168
+ content: {
64169
+ 'application/json': {
64170
+ schema: {
64171
+ properties: {
64172
+ ok: { type: 'boolean' },
64173
+ validation_result: {
64174
+ properties: {
64175
+ errors: { items: { type: 'string' }, type: 'array' },
64176
+ filtered_events: { format: 'float', type: 'number' },
64177
+ is_valid: { type: 'boolean' },
64178
+ matched_events: { format: 'float', type: 'number' },
64179
+ reservations: {
64180
+ items: {
64181
+ properties: {
64182
+ ends_at: { nullable: true, type: 'string' },
64183
+ guest_email: { nullable: true, type: 'string' },
64184
+ guest_name: { nullable: true, type: 'string' },
64185
+ guest_phone: { nullable: true, type: 'string' },
64186
+ reservation_key: {
64187
+ nullable: true,
64188
+ type: 'string',
64189
+ },
64190
+ starts_at: { nullable: true, type: 'string' },
64191
+ uid: { type: 'string' },
64192
+ },
64193
+ required: [
64194
+ 'uid',
64195
+ 'reservation_key',
64196
+ 'guest_name',
64197
+ 'guest_email',
64198
+ 'guest_phone',
64199
+ 'starts_at',
64200
+ 'ends_at',
64201
+ ],
64202
+ type: 'object',
64203
+ },
64204
+ type: 'array',
64205
+ },
64206
+ total_events: { format: 'float', type: 'number' },
64207
+ },
64208
+ required: [
64209
+ 'is_valid',
64210
+ 'total_events',
64211
+ 'matched_events',
64212
+ 'filtered_events',
64213
+ 'reservations',
64214
+ 'errors',
64215
+ ],
64216
+ type: 'object',
64217
+ },
64218
+ },
64219
+ required: ['validation_result', 'ok'],
64220
+ type: 'object',
64221
+ },
64222
+ },
64223
+ },
64224
+ description: 'OK',
64225
+ },
64226
+ 400: { description: 'Bad Request' },
64227
+ 401: { description: 'Unauthorized' },
64228
+ },
64229
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
64230
+ summary: '/seam/customer/v1/connectors/ical/validate-config',
64231
+ tags: [],
64232
+ 'x-fern-sdk-group-name': [
64233
+ 'seam',
64234
+ 'customer',
64235
+ 'v1',
64236
+ 'connectors',
64237
+ 'ical',
64238
+ ],
64239
+ 'x-fern-sdk-method-name': 'validate-config',
64240
+ 'x-fern-sdk-return-value': 'validation_result',
64241
+ 'x-response-key': 'validation_result',
64242
+ 'x-title': 'Validate iCal Config',
64243
+ 'x-undocumented': 'Only used internally.',
64244
+ },
64245
+ },
63701
64246
  '/seam/customer/v1/connectors/list': {
63702
64247
  get: {
63703
64248
  description: