@seamapi/types 1.582.0 → 1.584.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.
@@ -1466,15 +1466,6 @@ export type Routes = {
1466
1466
  created_at?: string | undefined;
1467
1467
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1468
1468
  error_code: 'august_device_programming_delay';
1469
- } | {
1470
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1471
- message: string;
1472
- /** Indicates that this is an access code error. */
1473
- is_access_code_error: true;
1474
- /** Date and time at which Seam created the error. */
1475
- created_at?: string | undefined;
1476
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1477
- error_code: 'august_device_slots_full';
1478
1469
  } | {
1479
1470
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1480
1471
  message: string;
@@ -2020,15 +2011,6 @@ export type Routes = {
2020
2011
  created_at?: string | undefined;
2021
2012
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2022
2013
  error_code: 'august_device_programming_delay';
2023
- } | {
2024
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2025
- message: string;
2026
- /** Indicates that this is an access code error. */
2027
- is_access_code_error: true;
2028
- /** Date and time at which Seam created the error. */
2029
- created_at?: string | undefined;
2030
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2031
- error_code: 'august_device_slots_full';
2032
2014
  } | {
2033
2015
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2034
2016
  message: string;
@@ -3828,15 +3810,6 @@ export type Routes = {
3828
3810
  created_at?: string | undefined;
3829
3811
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3830
3812
  error_code: 'august_device_programming_delay';
3831
- } | {
3832
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3833
- message: string;
3834
- /** Indicates that this is an access code error. */
3835
- is_access_code_error: true;
3836
- /** Date and time at which Seam created the error. */
3837
- created_at?: string | undefined;
3838
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3839
- error_code: 'august_device_slots_full';
3840
3813
  } | {
3841
3814
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3842
3815
  message: string;
@@ -4356,15 +4329,6 @@ export type Routes = {
4356
4329
  created_at?: string | undefined;
4357
4330
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4358
4331
  error_code: 'august_device_programming_delay';
4359
- } | {
4360
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4361
- message: string;
4362
- /** Indicates that this is an access code error. */
4363
- is_access_code_error: true;
4364
- /** Date and time at which Seam created the error. */
4365
- created_at?: string | undefined;
4366
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4367
- error_code: 'august_device_slots_full';
4368
4332
  } | {
4369
4333
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4370
4334
  message: string;
@@ -4890,15 +4854,6 @@ export type Routes = {
4890
4854
  created_at?: string | undefined;
4891
4855
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4892
4856
  error_code: 'august_device_programming_delay';
4893
- } | {
4894
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4895
- message: string;
4896
- /** Indicates that this is an access code error. */
4897
- is_access_code_error: true;
4898
- /** Date and time at which Seam created the error. */
4899
- created_at?: string | undefined;
4900
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4901
- error_code: 'august_device_slots_full';
4902
4857
  } | {
4903
4858
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4904
4859
  message: string;
@@ -5402,15 +5357,6 @@ export type Routes = {
5402
5357
  created_at?: string | undefined;
5403
5358
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5404
5359
  error_code: 'august_device_programming_delay';
5405
- } | {
5406
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5407
- message: string;
5408
- /** Indicates that this is an access code error. */
5409
- is_access_code_error: true;
5410
- /** Date and time at which Seam created the error. */
5411
- created_at?: string | undefined;
5412
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5413
- error_code: 'august_device_slots_full';
5414
5360
  } | {
5415
5361
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5416
5362
  message: string;
@@ -5947,15 +5893,6 @@ export type Routes = {
5947
5893
  created_at?: string | undefined;
5948
5894
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5949
5895
  error_code: 'august_device_programming_delay';
5950
- } | {
5951
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5952
- message: string;
5953
- /** Indicates that this is an access code error. */
5954
- is_access_code_error: true;
5955
- /** Date and time at which Seam created the error. */
5956
- created_at?: string | undefined;
5957
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5958
- error_code: 'august_device_slots_full';
5959
5896
  } | {
5960
5897
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5961
5898
  message: string;
@@ -7742,15 +7679,6 @@ export type Routes = {
7742
7679
  created_at?: string | undefined;
7743
7680
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7744
7681
  error_code: 'august_device_programming_delay';
7745
- } | {
7746
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7747
- message: string;
7748
- /** Indicates that this is an access code error. */
7749
- is_access_code_error: true;
7750
- /** Date and time at which Seam created the error. */
7751
- created_at?: string | undefined;
7752
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7753
- error_code: 'august_device_slots_full';
7754
7682
  } | {
7755
7683
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7756
7684
  message: string;
@@ -8248,15 +8176,6 @@ export type Routes = {
8248
8176
  created_at?: string | undefined;
8249
8177
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8250
8178
  error_code: 'august_device_programming_delay';
8251
- } | {
8252
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8253
- message: string;
8254
- /** Indicates that this is an access code error. */
8255
- is_access_code_error: true;
8256
- /** Date and time at which Seam created the error. */
8257
- created_at?: string | undefined;
8258
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8259
- error_code: 'august_device_slots_full';
8260
8179
  } | {
8261
8180
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8262
8181
  message: string;
@@ -19441,15 +19360,6 @@ export type Routes = {
19441
19360
  created_at?: string | undefined;
19442
19361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19443
19362
  error_code: 'august_device_programming_delay';
19444
- } | {
19445
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19446
- message: string;
19447
- /** Indicates that this is an access code error. */
19448
- is_access_code_error: true;
19449
- /** Date and time at which Seam created the error. */
19450
- created_at?: string | undefined;
19451
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19452
- error_code: 'august_device_slots_full';
19453
19363
  } | {
19454
19364
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19455
19365
  message: string;
@@ -19940,15 +19850,6 @@ export type Routes = {
19940
19850
  created_at?: string | undefined;
19941
19851
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19942
19852
  error_code: 'august_device_programming_delay';
19943
- } | {
19944
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19945
- message: string;
19946
- /** Indicates that this is an access code error. */
19947
- is_access_code_error: true;
19948
- /** Date and time at which Seam created the error. */
19949
- created_at?: string | undefined;
19950
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19951
- error_code: 'august_device_slots_full';
19952
19853
  } | {
19953
19854
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19954
19855
  message: string;
@@ -56228,7 +56129,7 @@ export type Routes = {
56228
56129
  /** ID of the partner resource for which you want to retrieve all automation runs. */
56229
56130
  partner_resource_id?: string | undefined;
56230
56131
  /** Filter automation runs by the specific rule that was executed. */
56231
- rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted') | undefined;
56132
+ rule?: ('reservation_created' | 'reservation_time_updated' | 'reservation_deleted' | 'space_name_updated') | undefined;
56232
56133
  /** Filter automation runs by success status. */
56233
56134
  success?: boolean | undefined;
56234
56135
  /** Maximum number of records to return per page. */
@@ -56304,6 +56205,10 @@ export type Routes = {
56304
56205
  rule: 'reservation_deleted';
56305
56206
  config?: {} | undefined;
56306
56207
  } | undefined;
56208
+ space_name_updated?: {
56209
+ rule: 'space_name_updated';
56210
+ config?: {} | undefined;
56211
+ } | undefined;
56307
56212
  } | undefined;
56308
56213
  };
56309
56214
  };
@@ -56329,6 +56234,10 @@ export type Routes = {
56329
56234
  rule: 'reservation_deleted';
56330
56235
  config?: {} | undefined;
56331
56236
  } | undefined;
56237
+ space_name_updated?: {
56238
+ rule: 'space_name_updated';
56239
+ config?: {} | undefined;
56240
+ } | undefined;
56332
56241
  } | undefined;
56333
56242
  };
56334
56243
  commonParams: {};
@@ -86196,15 +86105,6 @@ export type Routes = {
86196
86105
  created_at?: string | undefined;
86197
86106
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86198
86107
  error_code: 'august_device_programming_delay';
86199
- } | {
86200
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86201
- message: string;
86202
- /** Indicates that this is an access code error. */
86203
- is_access_code_error: true;
86204
- /** Date and time at which Seam created the error. */
86205
- created_at?: string | undefined;
86206
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86207
- error_code: 'august_device_slots_full';
86208
86108
  } | {
86209
86109
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86210
86110
  message: string;
@@ -86695,15 +86595,6 @@ export type Routes = {
86695
86595
  created_at?: string | undefined;
86696
86596
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86697
86597
  error_code: 'august_device_programming_delay';
86698
- } | {
86699
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86700
- message: string;
86701
- /** Indicates that this is an access code error. */
86702
- is_access_code_error: true;
86703
- /** Date and time at which Seam created the error. */
86704
- created_at?: string | undefined;
86705
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86706
- error_code: 'august_device_slots_full';
86707
86598
  } | {
86708
86599
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86709
86600
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.582.0",
3
+ "version": "1.584.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -157,14 +157,6 @@ const august_device_programming_delay_error = common_access_code_error
157
157
  })
158
158
  .describe('Access code has not yet been fully moved to the device.')
159
159
 
160
- const august_device_slots_full = common_access_code_error
161
- .extend({
162
- error_code: z
163
- .literal('august_device_slots_full')
164
- .describe(error_code_description),
165
- })
166
- .describe('All access code slots on the device are full.')
167
-
168
160
  const august_lock_temporarily_offline_error = common_access_code_error
169
161
  .extend({
170
162
  error_code: z
@@ -255,7 +247,6 @@ const access_code_error = z
255
247
  code_modified_external_to_seam_error,
256
248
  august_lock_invalid_code_length,
257
249
  august_device_programming_delay_error,
258
- august_device_slots_full,
259
250
  august_lock_missing_keypad,
260
251
  august_lock_temporarily_offline_error,
261
252
  salto_ks_user_not_subscribed,
@@ -318,7 +309,6 @@ const _access_code_error_map = z.object({
318
309
  august_lock_temporarily_offline: august_lock_temporarily_offline_error
319
310
  .optional()
320
311
  .nullable(),
321
- august_device_slots_full: august_device_slots_full.optional().nullable(),
322
312
  august_lock_missing_keypad: august_lock_missing_keypad.optional().nullable(),
323
313
  salto_ks_user_not_subscribed: salto_ks_user_not_subscribed
324
314
  .optional()
@@ -536,36 +536,6 @@ export default {
536
536
  required: ['message', 'is_access_code_error', 'error_code'],
537
537
  type: 'object',
538
538
  },
539
- {
540
- description: 'All access code slots on the device are full.',
541
- properties: {
542
- created_at: {
543
- description:
544
- 'Date and time at which Seam created the error.',
545
- format: 'date-time',
546
- type: 'string',
547
- },
548
- error_code: {
549
- description:
550
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
551
- enum: ['august_device_slots_full'],
552
- type: 'string',
553
- },
554
- is_access_code_error: {
555
- description:
556
- 'Indicates that this is an access code error.',
557
- enum: [true],
558
- type: 'boolean',
559
- },
560
- message: {
561
- description:
562
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
563
- type: 'string',
564
- },
565
- },
566
- required: ['message', 'is_access_code_error', 'error_code'],
567
- type: 'object',
568
- },
569
539
  {
570
540
  description: 'August lock is missing a keypad.',
571
541
  properties: {
@@ -21531,36 +21501,6 @@ export default {
21531
21501
  required: ['message', 'is_access_code_error', 'error_code'],
21532
21502
  type: 'object',
21533
21503
  },
21534
- {
21535
- description: 'All access code slots on the device are full.',
21536
- properties: {
21537
- created_at: {
21538
- description:
21539
- 'Date and time at which Seam created the error.',
21540
- format: 'date-time',
21541
- type: 'string',
21542
- },
21543
- error_code: {
21544
- description:
21545
- 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
21546
- enum: ['august_device_slots_full'],
21547
- type: 'string',
21548
- },
21549
- is_access_code_error: {
21550
- description:
21551
- 'Indicates that this is an access code error.',
21552
- enum: [true],
21553
- type: 'boolean',
21554
- },
21555
- message: {
21556
- description:
21557
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
21558
- type: 'string',
21559
- },
21560
- },
21561
- required: ['message', 'is_access_code_error', 'error_code'],
21562
- type: 'object',
21563
- },
21564
21504
  {
21565
21505
  description: 'August lock is missing a keypad.',
21566
21506
  properties: {
@@ -48408,6 +48348,7 @@ export default {
48408
48348
  'reservation_created',
48409
48349
  'reservation_time_updated',
48410
48350
  'reservation_deleted',
48351
+ 'space_name_updated',
48411
48352
  ],
48412
48353
  type: 'string',
48413
48354
  },
@@ -48608,6 +48549,7 @@ export default {
48608
48549
  'reservation_created',
48609
48550
  'reservation_time_updated',
48610
48551
  'reservation_deleted',
48552
+ 'space_name_updated',
48611
48553
  ],
48612
48554
  type: 'string',
48613
48555
  },
@@ -48882,6 +48824,19 @@ export default {
48882
48824
  required: ['rule'],
48883
48825
  type: 'object',
48884
48826
  },
48827
+ space_name_updated: {
48828
+ properties: {
48829
+ config: {
48830
+ $ref: '#/components/schemas/access_code',
48831
+ },
48832
+ rule: {
48833
+ enum: ['space_name_updated'],
48834
+ type: 'string',
48835
+ },
48836
+ },
48837
+ required: ['rule'],
48838
+ type: 'object',
48839
+ },
48885
48840
  },
48886
48841
  type: 'object',
48887
48842
  },
@@ -48983,6 +48938,19 @@ export default {
48983
48938
  required: ['rule'],
48984
48939
  type: 'object',
48985
48940
  },
48941
+ space_name_updated: {
48942
+ properties: {
48943
+ config: {
48944
+ $ref: '#/components/schemas/access_code',
48945
+ },
48946
+ rule: {
48947
+ enum: ['space_name_updated'],
48948
+ type: 'string',
48949
+ },
48950
+ },
48951
+ required: ['rule'],
48952
+ type: 'object',
48953
+ },
48986
48954
  },
48987
48955
  type: 'object',
48988
48956
  },
@@ -49082,6 +49050,17 @@ export default {
49082
49050
  required: ['rule'],
49083
49051
  type: 'object',
49084
49052
  },
49053
+ space_name_updated: {
49054
+ properties: {
49055
+ config: { properties: {}, type: 'object' },
49056
+ rule: {
49057
+ enum: ['space_name_updated'],
49058
+ type: 'string',
49059
+ },
49060
+ },
49061
+ required: ['rule'],
49062
+ type: 'object',
49063
+ },
49085
49064
  },
49086
49065
  type: 'object',
49087
49066
  },
@@ -49189,6 +49168,17 @@ export default {
49189
49168
  required: ['rule'],
49190
49169
  type: 'object',
49191
49170
  },
49171
+ space_name_updated: {
49172
+ properties: {
49173
+ config: { properties: {}, type: 'object' },
49174
+ rule: {
49175
+ enum: ['space_name_updated'],
49176
+ type: 'string',
49177
+ },
49178
+ },
49179
+ required: ['rule'],
49180
+ type: 'object',
49181
+ },
49192
49182
  },
49193
49183
  type: 'object',
49194
49184
  },