@seamapi/types 1.1142.0 → 1.1143.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.
@@ -15543,6 +15543,13 @@ export type Routes = {
15543
15543
  active_access_code_count: number;
15544
15544
  /** Maximum number of active access codes supported by the device. */
15545
15545
  max_active_access_code_count: number;
15546
+ } | {
15547
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15548
+ message: string;
15549
+ /** Date and time at which Seam created the warning. */
15550
+ created_at: string;
15551
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15552
+ warning_code: 'cloud_recording_not_enabled';
15546
15553
  })[];
15547
15554
  /** Date and time at which the device object was created. */
15548
15555
  created_at: string;
@@ -23744,6 +23751,13 @@ export type Routes = {
23744
23751
  active_access_code_count: number;
23745
23752
  /** Maximum number of active access codes supported by the device. */
23746
23753
  max_active_access_code_count: number;
23754
+ } | {
23755
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23756
+ message: string;
23757
+ /** Date and time at which Seam created the warning. */
23758
+ created_at: string;
23759
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23760
+ warning_code: 'cloud_recording_not_enabled';
23747
23761
  })[];
23748
23762
  /** Date and time at which the device object was created. */
23749
23763
  created_at: string;
@@ -51092,6 +51106,13 @@ export type Routes = {
51092
51106
  active_access_code_count: number;
51093
51107
  /** Maximum number of active access codes supported by the device. */
51094
51108
  max_active_access_code_count: number;
51109
+ } | {
51110
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51111
+ message: string;
51112
+ /** Date and time at which Seam created the warning. */
51113
+ created_at: string;
51114
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51115
+ warning_code: 'cloud_recording_not_enabled';
51095
51116
  })[];
51096
51117
  /** Date and time at which the device object was created. */
51097
51118
  created_at: string;
@@ -52771,6 +52792,13 @@ export type Routes = {
52771
52792
  active_access_code_count: number;
52772
52793
  /** Maximum number of active access codes supported by the device. */
52773
52794
  max_active_access_code_count: number;
52795
+ } | {
52796
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52797
+ message: string;
52798
+ /** Date and time at which Seam created the warning. */
52799
+ created_at: string;
52800
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52801
+ warning_code: 'cloud_recording_not_enabled';
52774
52802
  })[];
52775
52803
  /** Date and time at which the device object was created. */
52776
52804
  created_at: string;
@@ -53447,6 +53475,13 @@ export type Routes = {
53447
53475
  active_access_code_count: number;
53448
53476
  /** Maximum number of active access codes supported by the device. */
53449
53477
  max_active_access_code_count: number;
53478
+ } | {
53479
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53480
+ message: string;
53481
+ /** Date and time at which Seam created the warning. */
53482
+ created_at: string;
53483
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53484
+ warning_code: 'cloud_recording_not_enabled';
53450
53485
  })[];
53451
53486
  /** Date and time at which the device object was created. */
53452
53487
  created_at: string;
@@ -53996,6 +54031,13 @@ export type Routes = {
53996
54031
  active_access_code_count: number;
53997
54032
  /** Maximum number of active access codes supported by the device. */
53998
54033
  max_active_access_code_count: number;
54034
+ } | {
54035
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
54036
+ message: string;
54037
+ /** Date and time at which Seam created the warning. */
54038
+ created_at: string;
54039
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54040
+ warning_code: 'cloud_recording_not_enabled';
53999
54041
  })[];
54000
54042
  /** Date and time at which the device object was created. */
54001
54043
  created_at: string;
@@ -65521,6 +65563,13 @@ export type Routes = {
65521
65563
  active_access_code_count: number;
65522
65564
  /** Maximum number of active access codes supported by the device. */
65523
65565
  max_active_access_code_count: number;
65566
+ } | {
65567
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
65568
+ message: string;
65569
+ /** Date and time at which Seam created the warning. */
65570
+ created_at: string;
65571
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65572
+ warning_code: 'cloud_recording_not_enabled';
65524
65573
  })[];
65525
65574
  /** Date and time at which the device object was created. */
65526
65575
  created_at: string;
@@ -67150,6 +67199,13 @@ export type Routes = {
67150
67199
  active_access_code_count: number;
67151
67200
  /** Maximum number of active access codes supported by the device. */
67152
67201
  max_active_access_code_count: number;
67202
+ } | {
67203
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
67204
+ message: string;
67205
+ /** Date and time at which Seam created the warning. */
67206
+ created_at: string;
67207
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67208
+ warning_code: 'cloud_recording_not_enabled';
67153
67209
  })[];
67154
67210
  /** Date and time at which the device object was created. */
67155
67211
  created_at: string;
@@ -68802,6 +68858,13 @@ export type Routes = {
68802
68858
  active_access_code_count: number;
68803
68859
  /** Maximum number of active access codes supported by the device. */
68804
68860
  max_active_access_code_count: number;
68861
+ } | {
68862
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68863
+ message: string;
68864
+ /** Date and time at which Seam created the warning. */
68865
+ created_at: string;
68866
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68867
+ warning_code: 'cloud_recording_not_enabled';
68805
68868
  })[];
68806
68869
  /** Date and time at which the device object was created. */
68807
68870
  created_at: string;
@@ -70430,6 +70493,13 @@ export type Routes = {
70430
70493
  active_access_code_count: number;
70431
70494
  /** Maximum number of active access codes supported by the device. */
70432
70495
  max_active_access_code_count: number;
70496
+ } | {
70497
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
70498
+ message: string;
70499
+ /** Date and time at which Seam created the warning. */
70500
+ created_at: string;
70501
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
70502
+ warning_code: 'cloud_recording_not_enabled';
70433
70503
  })[];
70434
70504
  /** Date and time at which the device object was created. */
70435
70505
  created_at: string;
@@ -80933,6 +81003,13 @@ export type Routes = {
80933
81003
  active_access_code_count: number;
80934
81004
  /** Maximum number of active access codes supported by the device. */
80935
81005
  max_active_access_code_count: number;
81006
+ } | {
81007
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81008
+ message: string;
81009
+ /** Date and time at which Seam created the warning. */
81010
+ created_at: string;
81011
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81012
+ warning_code: 'cloud_recording_not_enabled';
80936
81013
  })[];
80937
81014
  /** Date and time at which the device object was created. */
80938
81015
  created_at: string;
@@ -82561,6 +82638,13 @@ export type Routes = {
82561
82638
  active_access_code_count: number;
82562
82639
  /** Maximum number of active access codes supported by the device. */
82563
82640
  max_active_access_code_count: number;
82641
+ } | {
82642
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82643
+ message: string;
82644
+ /** Date and time at which Seam created the warning. */
82645
+ created_at: string;
82646
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82647
+ warning_code: 'cloud_recording_not_enabled';
82564
82648
  })[];
82565
82649
  /** Date and time at which the device object was created. */
82566
82650
  created_at: string;
@@ -89765,6 +89849,13 @@ export type Routes = {
89765
89849
  active_access_code_count: number;
89766
89850
  /** Maximum number of active access codes supported by the device. */
89767
89851
  max_active_access_code_count: number;
89852
+ } | {
89853
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
89854
+ message: string;
89855
+ /** Date and time at which Seam created the warning. */
89856
+ created_at: string;
89857
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
89858
+ warning_code: 'cloud_recording_not_enabled';
89768
89859
  })[];
89769
89860
  /** Type of the phone device, such as `ios_phone` or `android_phone`. */
89770
89861
  device_type: 'ios_phone' | 'android_phone';
@@ -90165,6 +90256,13 @@ export type Routes = {
90165
90256
  active_access_code_count: number;
90166
90257
  /** Maximum number of active access codes supported by the device. */
90167
90258
  max_active_access_code_count: number;
90259
+ } | {
90260
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90261
+ message: string;
90262
+ /** Date and time at which Seam created the warning. */
90263
+ created_at: string;
90264
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90265
+ warning_code: 'cloud_recording_not_enabled';
90168
90266
  })[];
90169
90267
  /** Type of the phone device, such as `ios_phone` or `android_phone`. */
90170
90268
  device_type: 'ios_phone' | 'android_phone';
@@ -90592,6 +90690,13 @@ export type Routes = {
90592
90690
  active_access_code_count: number;
90593
90691
  /** Maximum number of active access codes supported by the device. */
90594
90692
  max_active_access_code_count: number;
90693
+ } | {
90694
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90695
+ message: string;
90696
+ /** Date and time at which Seam created the warning. */
90697
+ created_at: string;
90698
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90699
+ warning_code: 'cloud_recording_not_enabled';
90595
90700
  })[];
90596
90701
  /** Type of the phone device, such as `ios_phone` or `android_phone`. */
90597
90702
  device_type: 'ios_phone' | 'android_phone';
@@ -107078,6 +107183,13 @@ export type Routes = {
107078
107183
  active_access_code_count: number;
107079
107184
  /** Maximum number of active access codes supported by the device. */
107080
107185
  max_active_access_code_count: number;
107186
+ } | {
107187
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107188
+ message: string;
107189
+ /** Date and time at which Seam created the warning. */
107190
+ created_at: string;
107191
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107192
+ warning_code: 'cloud_recording_not_enabled';
107081
107193
  })[];
107082
107194
  /** Date and time at which the device object was created. */
107083
107195
  created_at: string;
@@ -136272,6 +136384,13 @@ export type Routes = {
136272
136384
  active_access_code_count: number;
136273
136385
  /** Maximum number of active access codes supported by the device. */
136274
136386
  max_active_access_code_count: number;
136387
+ } | {
136388
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
136389
+ message: string;
136390
+ /** Date and time at which Seam created the warning. */
136391
+ created_at: string;
136392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
136393
+ warning_code: 'cloud_recording_not_enabled';
136275
136394
  })[];
136276
136395
  /** Date and time at which the device object was created. */
136277
136396
  created_at: string;
@@ -142342,6 +142461,13 @@ export type Routes = {
142342
142461
  active_access_code_count: number;
142343
142462
  /** Maximum number of active access codes supported by the device. */
142344
142463
  max_active_access_code_count: number;
142464
+ } | {
142465
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
142466
+ message: string;
142467
+ /** Date and time at which Seam created the warning. */
142468
+ created_at: string;
142469
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
142470
+ warning_code: 'cloud_recording_not_enabled';
142345
142471
  })[];
142346
142472
  /** Date and time at which the device object was created. */
142347
142473
  created_at: string;
@@ -143970,6 +144096,13 @@ export type Routes = {
143970
144096
  active_access_code_count: number;
143971
144097
  /** Maximum number of active access codes supported by the device. */
143972
144098
  max_active_access_code_count: number;
144099
+ } | {
144100
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
144101
+ message: string;
144102
+ /** Date and time at which Seam created the warning. */
144103
+ created_at: string;
144104
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
144105
+ warning_code: 'cloud_recording_not_enabled';
143973
144106
  })[];
143974
144107
  /** Date and time at which the device object was created. */
143975
144108
  created_at: string;
@@ -155541,6 +155674,13 @@ export type Routes = {
155541
155674
  active_access_code_count: number;
155542
155675
  /** Maximum number of active access codes supported by the device. */
155543
155676
  max_active_access_code_count: number;
155677
+ } | {
155678
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
155679
+ message: string;
155680
+ /** Date and time at which Seam created the warning. */
155681
+ created_at: string;
155682
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
155683
+ warning_code: 'cloud_recording_not_enabled';
155544
155684
  })[];
155545
155685
  /** Date and time at which the device object was created. */
155546
155686
  created_at: string;
@@ -157171,6 +157311,13 @@ export type Routes = {
157171
157311
  active_access_code_count: number;
157172
157312
  /** Maximum number of active access codes supported by the device. */
157173
157313
  max_active_access_code_count: number;
157314
+ } | {
157315
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
157316
+ message: string;
157317
+ /** Date and time at which Seam created the warning. */
157318
+ created_at: string;
157319
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
157320
+ warning_code: 'cloud_recording_not_enabled';
157174
157321
  })[];
157175
157322
  /** Date and time at which the device object was created. */
157176
157323
  created_at: string;
@@ -161147,6 +161294,13 @@ export type Routes = {
161147
161294
  active_access_code_count: number;
161148
161295
  /** Maximum number of active access codes supported by the device. */
161149
161296
  max_active_access_code_count: number;
161297
+ } | {
161298
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
161299
+ message: string;
161300
+ /** Date and time at which Seam created the warning. */
161301
+ created_at: string;
161302
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
161303
+ warning_code: 'cloud_recording_not_enabled';
161150
161304
  })[];
161151
161305
  /** Date and time at which the device object was created. */
161152
161306
  created_at: string;
@@ -165059,6 +165213,13 @@ export type Routes = {
165059
165213
  active_access_code_count: number;
165060
165214
  /** Maximum number of active access codes supported by the device. */
165061
165215
  max_active_access_code_count: number;
165216
+ } | {
165217
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
165218
+ message: string;
165219
+ /** Date and time at which Seam created the warning. */
165220
+ created_at: string;
165221
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
165222
+ warning_code: 'cloud_recording_not_enabled';
165062
165223
  })[];
165063
165224
  /** Date and time at which the device object was created. */
165064
165225
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1142.0",
3
+ "version": "1.1143.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -725,6 +725,16 @@ const max_access_codes_reached = common_device_warning.extend({
725
725
  Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.
726
726
  `)
727
727
 
728
+ const cloud_recording_not_enabled = common_device_warning
729
+ .extend({
730
+ warning_code: z
731
+ .literal('cloud_recording_not_enabled')
732
+ .describe(warning_code_description),
733
+ })
734
+ .describe(
735
+ "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
736
+ )
737
+
728
738
  const device_warning = z.discriminatedUnion('warning_code', [
729
739
  partial_backup_access_code_pool,
730
740
  many_active_backup_codes,
@@ -754,6 +764,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
754
764
  accessory_keypad_low_battery,
755
765
  unreliable_online_status,
756
766
  max_access_codes_reached,
767
+ cloud_recording_not_enabled,
757
768
  ])
758
769
 
759
770
  export type DeviceWarning = z.infer<typeof device_warning>
@@ -811,6 +822,9 @@ export const device_warning_map = z.object({
811
822
  .nullable(),
812
823
  unreliable_online_status: unreliable_online_status.optional().nullable(),
813
824
  max_access_codes_reached: max_access_codes_reached.optional().nullable(),
825
+ cloud_recording_not_enabled: cloud_recording_not_enabled
826
+ .optional()
827
+ .nullable(),
814
828
  })
815
829
 
816
830
  export type DeviceWarningMap = z.infer<typeof device_warning_map>
@@ -20471,6 +20471,31 @@ const openapi: OpenAPISpec = {
20471
20471
  type: 'object',
20472
20472
  'x-variant-group-key': 'access_codes',
20473
20473
  },
20474
+ {
20475
+ description:
20476
+ "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
20477
+ properties: {
20478
+ created_at: {
20479
+ description:
20480
+ 'Date and time at which Seam created the warning.',
20481
+ format: 'date-time',
20482
+ type: 'string',
20483
+ },
20484
+ message: {
20485
+ description:
20486
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
20487
+ type: 'string',
20488
+ },
20489
+ warning_code: {
20490
+ description:
20491
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
20492
+ enum: ['cloud_recording_not_enabled'],
20493
+ type: 'string',
20494
+ },
20495
+ },
20496
+ required: ['message', 'created_at', 'warning_code'],
20497
+ type: 'object',
20498
+ },
20474
20499
  ],
20475
20500
  },
20476
20501
  type: 'array',
@@ -33935,6 +33960,31 @@ const openapi: OpenAPISpec = {
33935
33960
  type: 'object',
33936
33961
  'x-variant-group-key': 'access_codes',
33937
33962
  },
33963
+ {
33964
+ description:
33965
+ "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
33966
+ properties: {
33967
+ created_at: {
33968
+ description:
33969
+ 'Date and time at which Seam created the warning.',
33970
+ format: 'date-time',
33971
+ type: 'string',
33972
+ },
33973
+ message: {
33974
+ description:
33975
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
33976
+ type: 'string',
33977
+ },
33978
+ warning_code: {
33979
+ description:
33980
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
33981
+ enum: ['cloud_recording_not_enabled'],
33982
+ type: 'string',
33983
+ },
33984
+ },
33985
+ required: ['message', 'created_at', 'warning_code'],
33986
+ type: 'object',
33987
+ },
33938
33988
  ],
33939
33989
  },
33940
33990
  type: 'array',
@@ -42432,6 +42482,31 @@ const openapi: OpenAPISpec = {
42432
42482
  type: 'object',
42433
42483
  'x-variant-group-key': 'access_codes',
42434
42484
  },
42485
+ {
42486
+ description:
42487
+ "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
42488
+ properties: {
42489
+ created_at: {
42490
+ description:
42491
+ 'Date and time at which Seam created the warning.',
42492
+ format: 'date-time',
42493
+ type: 'string',
42494
+ },
42495
+ message: {
42496
+ description:
42497
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
42498
+ type: 'string',
42499
+ },
42500
+ warning_code: {
42501
+ description:
42502
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
42503
+ enum: ['cloud_recording_not_enabled'],
42504
+ type: 'string',
42505
+ },
42506
+ },
42507
+ required: ['message', 'created_at', 'warning_code'],
42508
+ type: 'object',
42509
+ },
42435
42510
  ],
42436
42511
  },
42437
42512
  type: 'array',