@seamapi/types 1.869.0 → 1.870.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.
@@ -23475,6 +23475,22 @@ export declare const batch: z.ZodObject<{
23475
23475
  message: z.ZodString;
23476
23476
  is_access_code_error: z.ZodLiteral<true>;
23477
23477
  created_at: z.ZodOptional<z.ZodString>;
23478
+ } & {
23479
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
23480
+ }, "strip", z.ZodTypeAny, {
23481
+ message: string;
23482
+ error_code: "access_code_state_unconfirmed";
23483
+ is_access_code_error: true;
23484
+ created_at?: string | undefined;
23485
+ }, {
23486
+ message: string;
23487
+ error_code: "access_code_state_unconfirmed";
23488
+ is_access_code_error: true;
23489
+ created_at?: string | undefined;
23490
+ }>, z.ZodObject<{
23491
+ message: z.ZodString;
23492
+ is_access_code_error: z.ZodLiteral<true>;
23493
+ created_at: z.ZodOptional<z.ZodString>;
23478
23494
  } & {
23479
23495
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
23480
23496
  }, "strip", z.ZodTypeAny, {
@@ -24174,6 +24190,19 @@ export declare const batch: z.ZodObject<{
24174
24190
  }>, z.ZodObject<{
24175
24191
  message: z.ZodString;
24176
24192
  created_at: z.ZodOptional<z.ZodString>;
24193
+ } & {
24194
+ warning_code: z.ZodLiteral<"access_code_inactive">;
24195
+ }, "strip", z.ZodTypeAny, {
24196
+ message: string;
24197
+ warning_code: "access_code_inactive";
24198
+ created_at?: string | undefined;
24199
+ }, {
24200
+ message: string;
24201
+ warning_code: "access_code_inactive";
24202
+ created_at?: string | undefined;
24203
+ }>, z.ZodObject<{
24204
+ message: z.ZodString;
24205
+ created_at: z.ZodOptional<z.ZodString>;
24177
24206
  } & {
24178
24207
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
24179
24208
  }, "strip", z.ZodTypeAny, {
@@ -24567,6 +24596,11 @@ export declare const batch: z.ZodObject<{
24567
24596
  error_code: "no_space_for_access_code_on_device";
24568
24597
  is_access_code_error: true;
24569
24598
  created_at?: string | undefined;
24599
+ } | {
24600
+ message: string;
24601
+ error_code: "access_code_state_unconfirmed";
24602
+ is_access_code_error: true;
24603
+ created_at?: string | undefined;
24570
24604
  } | {
24571
24605
  message: string;
24572
24606
  error_code: "kwikset_unable_to_confirm_code";
@@ -24676,6 +24710,10 @@ export declare const batch: z.ZodObject<{
24676
24710
  message: string;
24677
24711
  warning_code: "kwikset_unable_to_confirm_code";
24678
24712
  created_at?: string | undefined;
24713
+ } | {
24714
+ message: string;
24715
+ warning_code: "access_code_inactive";
24716
+ created_at?: string | undefined;
24679
24717
  } | {
24680
24718
  message: string;
24681
24719
  warning_code: "ultraloq_access_code_disabled";
@@ -24906,6 +24944,11 @@ export declare const batch: z.ZodObject<{
24906
24944
  error_code: "no_space_for_access_code_on_device";
24907
24945
  is_access_code_error: true;
24908
24946
  created_at?: string | undefined;
24947
+ } | {
24948
+ message: string;
24949
+ error_code: "access_code_state_unconfirmed";
24950
+ is_access_code_error: true;
24951
+ created_at?: string | undefined;
24909
24952
  } | {
24910
24953
  message: string;
24911
24954
  error_code: "kwikset_unable_to_confirm_code";
@@ -25015,6 +25058,10 @@ export declare const batch: z.ZodObject<{
25015
25058
  message: string;
25016
25059
  warning_code: "kwikset_unable_to_confirm_code";
25017
25060
  created_at?: string | undefined;
25061
+ } | {
25062
+ message: string;
25063
+ warning_code: "access_code_inactive";
25064
+ created_at?: string | undefined;
25018
25065
  } | {
25019
25066
  message: string;
25020
25067
  warning_code: "ultraloq_access_code_disabled";
@@ -25229,6 +25276,22 @@ export declare const batch: z.ZodObject<{
25229
25276
  message: z.ZodString;
25230
25277
  is_access_code_error: z.ZodLiteral<true>;
25231
25278
  created_at: z.ZodOptional<z.ZodString>;
25279
+ } & {
25280
+ error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
25281
+ }, "strip", z.ZodTypeAny, {
25282
+ message: string;
25283
+ error_code: "access_code_state_unconfirmed";
25284
+ is_access_code_error: true;
25285
+ created_at?: string | undefined;
25286
+ }, {
25287
+ message: string;
25288
+ error_code: "access_code_state_unconfirmed";
25289
+ is_access_code_error: true;
25290
+ created_at?: string | undefined;
25291
+ }>, z.ZodObject<{
25292
+ message: z.ZodString;
25293
+ is_access_code_error: z.ZodLiteral<true>;
25294
+ created_at: z.ZodOptional<z.ZodString>;
25232
25295
  } & {
25233
25296
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
25234
25297
  }, "strip", z.ZodTypeAny, {
@@ -25928,6 +25991,19 @@ export declare const batch: z.ZodObject<{
25928
25991
  }>, z.ZodObject<{
25929
25992
  message: z.ZodString;
25930
25993
  created_at: z.ZodOptional<z.ZodString>;
25994
+ } & {
25995
+ warning_code: z.ZodLiteral<"access_code_inactive">;
25996
+ }, "strip", z.ZodTypeAny, {
25997
+ message: string;
25998
+ warning_code: "access_code_inactive";
25999
+ created_at?: string | undefined;
26000
+ }, {
26001
+ message: string;
26002
+ warning_code: "access_code_inactive";
26003
+ created_at?: string | undefined;
26004
+ }>, z.ZodObject<{
26005
+ message: z.ZodString;
26006
+ created_at: z.ZodOptional<z.ZodString>;
25931
26007
  } & {
25932
26008
  warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
25933
26009
  }, "strip", z.ZodTypeAny, {
@@ -26147,6 +26223,11 @@ export declare const batch: z.ZodObject<{
26147
26223
  error_code: "no_space_for_access_code_on_device";
26148
26224
  is_access_code_error: true;
26149
26225
  created_at?: string | undefined;
26226
+ } | {
26227
+ message: string;
26228
+ error_code: "access_code_state_unconfirmed";
26229
+ is_access_code_error: true;
26230
+ created_at?: string | undefined;
26150
26231
  } | {
26151
26232
  message: string;
26152
26233
  error_code: "kwikset_unable_to_confirm_code";
@@ -26256,6 +26337,10 @@ export declare const batch: z.ZodObject<{
26256
26337
  message: string;
26257
26338
  warning_code: "kwikset_unable_to_confirm_code";
26258
26339
  created_at?: string | undefined;
26340
+ } | {
26341
+ message: string;
26342
+ warning_code: "access_code_inactive";
26343
+ created_at?: string | undefined;
26259
26344
  } | {
26260
26345
  message: string;
26261
26346
  warning_code: "ultraloq_access_code_disabled";
@@ -26433,6 +26518,11 @@ export declare const batch: z.ZodObject<{
26433
26518
  error_code: "no_space_for_access_code_on_device";
26434
26519
  is_access_code_error: true;
26435
26520
  created_at?: string | undefined;
26521
+ } | {
26522
+ message: string;
26523
+ error_code: "access_code_state_unconfirmed";
26524
+ is_access_code_error: true;
26525
+ created_at?: string | undefined;
26436
26526
  } | {
26437
26527
  message: string;
26438
26528
  error_code: "kwikset_unable_to_confirm_code";
@@ -26542,6 +26632,10 @@ export declare const batch: z.ZodObject<{
26542
26632
  message: string;
26543
26633
  warning_code: "kwikset_unable_to_confirm_code";
26544
26634
  created_at?: string | undefined;
26635
+ } | {
26636
+ message: string;
26637
+ warning_code: "access_code_inactive";
26638
+ created_at?: string | undefined;
26545
26639
  } | {
26546
26640
  message: string;
26547
26641
  warning_code: "ultraloq_access_code_disabled";
@@ -31322,6 +31416,11 @@ export declare const batch: z.ZodObject<{
31322
31416
  error_code: "no_space_for_access_code_on_device";
31323
31417
  is_access_code_error: true;
31324
31418
  created_at?: string | undefined;
31419
+ } | {
31420
+ message: string;
31421
+ error_code: "access_code_state_unconfirmed";
31422
+ is_access_code_error: true;
31423
+ created_at?: string | undefined;
31325
31424
  } | {
31326
31425
  message: string;
31327
31426
  error_code: "kwikset_unable_to_confirm_code";
@@ -31431,6 +31530,10 @@ export declare const batch: z.ZodObject<{
31431
31530
  message: string;
31432
31531
  warning_code: "kwikset_unable_to_confirm_code";
31433
31532
  created_at?: string | undefined;
31533
+ } | {
31534
+ message: string;
31535
+ warning_code: "access_code_inactive";
31536
+ created_at?: string | undefined;
31434
31537
  } | {
31435
31538
  message: string;
31436
31539
  warning_code: "ultraloq_access_code_disabled";
@@ -31662,6 +31765,11 @@ export declare const batch: z.ZodObject<{
31662
31765
  error_code: "no_space_for_access_code_on_device";
31663
31766
  is_access_code_error: true;
31664
31767
  created_at?: string | undefined;
31768
+ } | {
31769
+ message: string;
31770
+ error_code: "access_code_state_unconfirmed";
31771
+ is_access_code_error: true;
31772
+ created_at?: string | undefined;
31665
31773
  } | {
31666
31774
  message: string;
31667
31775
  error_code: "kwikset_unable_to_confirm_code";
@@ -31771,6 +31879,10 @@ export declare const batch: z.ZodObject<{
31771
31879
  message: string;
31772
31880
  warning_code: "kwikset_unable_to_confirm_code";
31773
31881
  created_at?: string | undefined;
31882
+ } | {
31883
+ message: string;
31884
+ warning_code: "access_code_inactive";
31885
+ created_at?: string | undefined;
31774
31886
  } | {
31775
31887
  message: string;
31776
31888
  warning_code: "ultraloq_access_code_disabled";
@@ -36424,6 +36536,11 @@ export declare const batch: z.ZodObject<{
36424
36536
  error_code: "no_space_for_access_code_on_device";
36425
36537
  is_access_code_error: true;
36426
36538
  created_at?: string | undefined;
36539
+ } | {
36540
+ message: string;
36541
+ error_code: "access_code_state_unconfirmed";
36542
+ is_access_code_error: true;
36543
+ created_at?: string | undefined;
36427
36544
  } | {
36428
36545
  message: string;
36429
36546
  error_code: "kwikset_unable_to_confirm_code";
@@ -36533,6 +36650,10 @@ export declare const batch: z.ZodObject<{
36533
36650
  message: string;
36534
36651
  warning_code: "kwikset_unable_to_confirm_code";
36535
36652
  created_at?: string | undefined;
36653
+ } | {
36654
+ message: string;
36655
+ warning_code: "access_code_inactive";
36656
+ created_at?: string | undefined;
36536
36657
  } | {
36537
36658
  message: string;
36538
36659
  warning_code: "ultraloq_access_code_disabled";
@@ -36764,6 +36885,11 @@ export declare const batch: z.ZodObject<{
36764
36885
  error_code: "no_space_for_access_code_on_device";
36765
36886
  is_access_code_error: true;
36766
36887
  created_at?: string | undefined;
36888
+ } | {
36889
+ message: string;
36890
+ error_code: "access_code_state_unconfirmed";
36891
+ is_access_code_error: true;
36892
+ created_at?: string | undefined;
36767
36893
  } | {
36768
36894
  message: string;
36769
36895
  error_code: "kwikset_unable_to_confirm_code";
@@ -36873,6 +36999,10 @@ export declare const batch: z.ZodObject<{
36873
36999
  message: string;
36874
37000
  warning_code: "kwikset_unable_to_confirm_code";
36875
37001
  created_at?: string | undefined;
37002
+ } | {
37003
+ message: string;
37004
+ warning_code: "access_code_inactive";
37005
+ created_at?: string | undefined;
36876
37006
  } | {
36877
37007
  message: string;
36878
37008
  warning_code: "ultraloq_access_code_disabled";
@@ -277,6 +277,33 @@ const openapi = {
277
277
  type: 'object',
278
278
  },
279
279
  {
280
+ description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
281
+ properties: {
282
+ created_at: {
283
+ description: 'Date and time at which Seam created the error.',
284
+ format: 'date-time',
285
+ type: 'string',
286
+ },
287
+ error_code: {
288
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
289
+ enum: ['access_code_state_unconfirmed'],
290
+ type: 'string',
291
+ },
292
+ is_access_code_error: {
293
+ description: 'Indicates that this is an access code error.',
294
+ enum: [true],
295
+ type: 'boolean',
296
+ },
297
+ message: {
298
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
299
+ type: 'string',
300
+ },
301
+ },
302
+ required: ['message', 'is_access_code_error', 'error_code'],
303
+ type: 'object',
304
+ },
305
+ {
306
+ deprecated: true,
280
307
  description: 'Unable to confirm that the access code is set on Kwikset device.',
281
308
  properties: {
282
309
  created_at: {
@@ -301,8 +328,10 @@ const openapi = {
301
328
  },
302
329
  required: ['message', 'is_access_code_error', 'error_code'],
303
330
  type: 'object',
331
+ 'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
304
332
  },
305
333
  {
334
+ deprecated: true,
306
335
  description: 'Unable to confirm the deletion of the access code on Kwikset device.',
307
336
  properties: {
308
337
  created_at: {
@@ -327,6 +356,7 @@ const openapi = {
327
356
  },
328
357
  required: ['message', 'is_access_code_error', 'error_code'],
329
358
  type: 'object',
359
+ 'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
330
360
  },
331
361
  {
332
362
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -1689,6 +1719,28 @@ const openapi = {
1689
1719
  type: 'object',
1690
1720
  },
1691
1721
  {
1722
+ description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
1723
+ properties: {
1724
+ created_at: {
1725
+ description: 'Date and time at which Seam created the warning.',
1726
+ format: 'date-time',
1727
+ type: 'string',
1728
+ },
1729
+ message: {
1730
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1731
+ type: 'string',
1732
+ },
1733
+ warning_code: {
1734
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1735
+ enum: ['access_code_inactive'],
1736
+ type: 'string',
1737
+ },
1738
+ },
1739
+ required: ['message', 'warning_code'],
1740
+ type: 'object',
1741
+ },
1742
+ {
1743
+ deprecated: true,
1692
1744
  description: 'Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.',
1693
1745
  properties: {
1694
1746
  created_at: {
@@ -1708,6 +1760,7 @@ const openapi = {
1708
1760
  },
1709
1761
  required: ['message', 'warning_code'],
1710
1762
  type: 'object',
1763
+ 'x-deprecated': 'Use `access_code_inactive` instead.',
1711
1764
  },
1712
1765
  {
1713
1766
  description: 'A backup access code has been pulled and is being used in place of this access code.',
@@ -24726,6 +24779,33 @@ const openapi = {
24726
24779
  type: 'object',
24727
24780
  },
24728
24781
  {
24782
+ description: 'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
24783
+ properties: {
24784
+ created_at: {
24785
+ description: 'Date and time at which Seam created the error.',
24786
+ format: 'date-time',
24787
+ type: 'string',
24788
+ },
24789
+ error_code: {
24790
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24791
+ enum: ['access_code_state_unconfirmed'],
24792
+ type: 'string',
24793
+ },
24794
+ is_access_code_error: {
24795
+ description: 'Indicates that this is an access code error.',
24796
+ enum: [true],
24797
+ type: 'boolean',
24798
+ },
24799
+ message: {
24800
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
24801
+ type: 'string',
24802
+ },
24803
+ },
24804
+ required: ['message', 'is_access_code_error', 'error_code'],
24805
+ type: 'object',
24806
+ },
24807
+ {
24808
+ deprecated: true,
24729
24809
  description: 'Unable to confirm that the access code is set on Kwikset device.',
24730
24810
  properties: {
24731
24811
  created_at: {
@@ -24750,8 +24830,10 @@ const openapi = {
24750
24830
  },
24751
24831
  required: ['message', 'is_access_code_error', 'error_code'],
24752
24832
  type: 'object',
24833
+ 'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
24753
24834
  },
24754
24835
  {
24836
+ deprecated: true,
24755
24837
  description: 'Unable to confirm the deletion of the access code on Kwikset device.',
24756
24838
  properties: {
24757
24839
  created_at: {
@@ -24776,6 +24858,7 @@ const openapi = {
24776
24858
  },
24777
24859
  required: ['message', 'is_access_code_error', 'error_code'],
24778
24860
  type: 'object',
24861
+ 'x-deprecated': 'Use `access_code_state_unconfirmed` instead.',
24779
24862
  },
24780
24863
  {
24781
24864
  description: 'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -25855,6 +25938,28 @@ const openapi = {
25855
25938
  type: 'object',
25856
25939
  },
25857
25940
  {
25941
+ description: 'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
25942
+ properties: {
25943
+ created_at: {
25944
+ description: 'Date and time at which Seam created the warning.',
25945
+ format: 'date-time',
25946
+ type: 'string',
25947
+ },
25948
+ message: {
25949
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
25950
+ type: 'string',
25951
+ },
25952
+ warning_code: {
25953
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
25954
+ enum: ['access_code_inactive'],
25955
+ type: 'string',
25956
+ },
25957
+ },
25958
+ required: ['message', 'warning_code'],
25959
+ type: 'object',
25960
+ },
25961
+ {
25962
+ deprecated: true,
25858
25963
  description: 'Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.',
25859
25964
  properties: {
25860
25965
  created_at: {
@@ -25874,6 +25979,7 @@ const openapi = {
25874
25979
  },
25875
25980
  required: ['message', 'warning_code'],
25876
25981
  type: 'object',
25982
+ 'x-deprecated': 'Use `access_code_inactive` instead.',
25877
25983
  },
25878
25984
  {
25879
25985
  description: 'A backup access code has been pulled and is being used in place of this access code.',