@seamapi/types 1.817.0 → 1.819.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.
@@ -13529,6 +13529,28 @@ export default {
13529
13529
  required: ['message', 'created_at', 'warning_code'],
13530
13530
  type: 'object',
13531
13531
  },
13532
+ {
13533
+ description: 'Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
13534
+ properties: {
13535
+ created_at: {
13536
+ description: 'Date and time at which Seam created the warning.',
13537
+ format: 'date-time',
13538
+ type: 'string',
13539
+ },
13540
+ message: {
13541
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
13542
+ type: 'string',
13543
+ },
13544
+ warning_code: {
13545
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
13546
+ enum: ['salto_ks_lock_access_code_support_removed'],
13547
+ type: 'string',
13548
+ },
13549
+ },
13550
+ required: ['message', 'created_at', 'warning_code'],
13551
+ type: 'object',
13552
+ 'x-variant-group-key': 'access_codes',
13553
+ },
13532
13554
  {
13533
13555
  description: 'Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.',
13534
13556
  properties: {
@@ -27752,6 +27774,28 @@ export default {
27752
27774
  required: ['message', 'created_at', 'warning_code'],
27753
27775
  type: 'object',
27754
27776
  },
27777
+ {
27778
+ description: 'Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
27779
+ properties: {
27780
+ created_at: {
27781
+ description: 'Date and time at which Seam created the warning.',
27782
+ format: 'date-time',
27783
+ type: 'string',
27784
+ },
27785
+ message: {
27786
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
27787
+ type: 'string',
27788
+ },
27789
+ warning_code: {
27790
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
27791
+ enum: ['salto_ks_lock_access_code_support_removed'],
27792
+ type: 'string',
27793
+ },
27794
+ },
27795
+ required: ['message', 'created_at', 'warning_code'],
27796
+ type: 'object',
27797
+ 'x-variant-group-key': 'access_codes',
27798
+ },
27755
27799
  {
27756
27800
  description: 'Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.',
27757
27801
  properties: {
@@ -60025,229 +60069,6 @@ export default {
60025
60069
  'x-undocumented': 'Internal endpoint for Console.',
60026
60070
  },
60027
60071
  },
60028
- '/seam/customer/v1/connectors/ical/generate-config': {
60029
- post: {
60030
- description: "Fetches an iCal feed URL and uses AI to generate a parsing config\nbased on the feed's structure and content.",
60031
- operationId: 'seamCustomerV1ConnectorsIcalGenerateConfigPost',
60032
- requestBody: {
60033
- content: {
60034
- 'application/json': {
60035
- schema: {
60036
- properties: {
60037
- ical_url: {
60038
- description: 'iCal feed URL to analyze',
60039
- format: 'uri',
60040
- type: 'string',
60041
- },
60042
- },
60043
- required: ['ical_url'],
60044
- type: 'object',
60045
- },
60046
- },
60047
- },
60048
- },
60049
- responses: {
60050
- 200: {
60051
- content: {
60052
- 'application/json': {
60053
- schema: {
60054
- properties: {
60055
- generated_config: {
60056
- properties: {
60057
- ical_config: {
60058
- properties: {
60059
- default_check_in_time: {
60060
- description: 'Default check-in time (HH:MM) used when iCal gives date-only values',
60061
- pattern: '^\\d{2}:\\d{2}$',
60062
- type: 'string',
60063
- },
60064
- default_check_out_time: {
60065
- description: 'Default check-out time (HH:MM) used when iCal gives date-only values',
60066
- pattern: '^\\d{2}:\\d{2}$',
60067
- type: 'string',
60068
- },
60069
- fields: {
60070
- properties: {
60071
- ends_at: {
60072
- description: 'How to extract check-out date',
60073
- properties: {
60074
- pattern: {
60075
- description: 'Regex with capture group to extract value from the property',
60076
- type: 'string',
60077
- },
60078
- source: {
60079
- description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
60080
- type: 'string',
60081
- },
60082
- type: {
60083
- description: "Special type handling — 'date' parses iCal date formats",
60084
- enum: ['date'],
60085
- type: 'string',
60086
- },
60087
- },
60088
- required: ['source'],
60089
- type: 'object',
60090
- },
60091
- guest_email: {
60092
- description: 'How to extract guest email',
60093
- properties: {
60094
- pattern: {
60095
- description: 'Regex with capture group to extract value from the property',
60096
- type: 'string',
60097
- },
60098
- source: {
60099
- description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
60100
- type: 'string',
60101
- },
60102
- type: {
60103
- description: "Special type handling — 'date' parses iCal date formats",
60104
- enum: ['date'],
60105
- type: 'string',
60106
- },
60107
- },
60108
- required: ['source'],
60109
- type: 'object',
60110
- },
60111
- guest_name: {
60112
- description: 'How to extract guest name',
60113
- properties: {
60114
- pattern: {
60115
- description: 'Regex with capture group to extract value from the property',
60116
- type: 'string',
60117
- },
60118
- source: {
60119
- description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
60120
- type: 'string',
60121
- },
60122
- type: {
60123
- description: "Special type handling — 'date' parses iCal date formats",
60124
- enum: ['date'],
60125
- type: 'string',
60126
- },
60127
- },
60128
- required: ['source'],
60129
- type: 'object',
60130
- },
60131
- guest_phone: {
60132
- description: 'How to extract guest phone',
60133
- properties: {
60134
- pattern: {
60135
- description: 'Regex with capture group to extract value from the property',
60136
- type: 'string',
60137
- },
60138
- source: {
60139
- description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
60140
- type: 'string',
60141
- },
60142
- type: {
60143
- description: "Special type handling — 'date' parses iCal date formats",
60144
- enum: ['date'],
60145
- type: 'string',
60146
- },
60147
- },
60148
- required: ['source'],
60149
- type: 'object',
60150
- },
60151
- reservation_key: {
60152
- description: 'How to extract the reservation key (falls back to UID)',
60153
- properties: {
60154
- pattern: {
60155
- description: 'Regex with capture group to extract value from the property',
60156
- type: 'string',
60157
- },
60158
- source: {
60159
- description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
60160
- type: 'string',
60161
- },
60162
- type: {
60163
- description: "Special type handling — 'date' parses iCal date formats",
60164
- enum: ['date'],
60165
- type: 'string',
60166
- },
60167
- },
60168
- required: ['source'],
60169
- type: 'object',
60170
- },
60171
- starts_at: {
60172
- description: 'How to extract check-in date',
60173
- properties: {
60174
- pattern: {
60175
- description: 'Regex with capture group to extract value from the property',
60176
- type: 'string',
60177
- },
60178
- source: {
60179
- description: 'iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc.',
60180
- type: 'string',
60181
- },
60182
- type: {
60183
- description: "Special type handling — 'date' parses iCal date formats",
60184
- enum: ['date'],
60185
- type: 'string',
60186
- },
60187
- },
60188
- required: ['source'],
60189
- type: 'object',
60190
- },
60191
- },
60192
- required: ['starts_at', 'ends_at'],
60193
- type: 'object',
60194
- },
60195
- filter: {
60196
- description: 'Optional filter to skip non-matching events',
60197
- properties: {
60198
- pattern: {
60199
- description: 'Regex pattern — events not matching are skipped',
60200
- type: 'string',
60201
- },
60202
- source: {
60203
- description: 'iCal property name to match against',
60204
- type: 'string',
60205
- },
60206
- },
60207
- required: ['source', 'pattern'],
60208
- type: 'object',
60209
- },
60210
- time_zone: {
60211
- description: 'IANA time zone (e.g. America/New_York) applied when dates have no time/timezone',
60212
- type: 'string',
60213
- },
60214
- },
60215
- required: ['fields'],
60216
- type: 'object',
60217
- },
60218
- },
60219
- required: ['ical_config'],
60220
- type: 'object',
60221
- },
60222
- ok: { type: 'boolean' },
60223
- },
60224
- required: ['generated_config', 'ok'],
60225
- type: 'object',
60226
- },
60227
- },
60228
- },
60229
- description: 'OK',
60230
- },
60231
- 400: { description: 'Bad Request' },
60232
- 401: { description: 'Unauthorized' },
60233
- },
60234
- security: [{ api_key: [] }, { console_session_with_workspace: [] }],
60235
- summary: '/seam/customer/v1/connectors/ical/generate-config',
60236
- tags: [],
60237
- 'x-fern-sdk-group-name': [
60238
- 'seam',
60239
- 'customer',
60240
- 'v1',
60241
- 'connectors',
60242
- 'ical',
60243
- ],
60244
- 'x-fern-sdk-method-name': 'generate-config',
60245
- 'x-fern-sdk-return-value': 'generated_config',
60246
- 'x-response-key': 'generated_config',
60247
- 'x-title': 'Generate iCal Config',
60248
- 'x-undocumented': 'Only used internally.',
60249
- },
60250
- },
60251
60072
  '/seam/customer/v1/connectors/ical/validate-config': {
60252
60073
  post: {
60253
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.',