@seamapi/types 1.561.0 → 1.562.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.
@@ -400,6 +400,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
400
400
  error_code: "dormakaba_oracode_no_valid_user_level";
401
401
  is_access_code_error: true;
402
402
  created_at?: string | undefined;
403
+ }>, z.ZodObject<{
404
+ message: z.ZodString;
405
+ is_access_code_error: z.ZodLiteral<true>;
406
+ created_at: z.ZodOptional<z.ZodString>;
407
+ } & {
408
+ error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
409
+ }, "strip", z.ZodTypeAny, {
410
+ message: string;
411
+ error_code: "kwikset_insufficient_permissions";
412
+ is_access_code_error: true;
413
+ created_at?: string | undefined;
414
+ }, {
415
+ message: string;
416
+ error_code: "kwikset_insufficient_permissions";
417
+ is_access_code_error: true;
418
+ created_at?: string | undefined;
403
419
  }>]>;
404
420
  type AccessCodeError = z.infer<typeof access_code_error>;
405
421
  declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
@@ -971,6 +987,22 @@ declare const access_code: z.ZodObject<{
971
987
  error_code: "dormakaba_oracode_no_valid_user_level";
972
988
  is_access_code_error: true;
973
989
  created_at?: string | undefined;
990
+ }>, z.ZodObject<{
991
+ message: z.ZodString;
992
+ is_access_code_error: z.ZodLiteral<true>;
993
+ created_at: z.ZodOptional<z.ZodString>;
994
+ } & {
995
+ error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
996
+ }, "strip", z.ZodTypeAny, {
997
+ message: string;
998
+ error_code: "kwikset_insufficient_permissions";
999
+ is_access_code_error: true;
1000
+ created_at?: string | undefined;
1001
+ }, {
1002
+ message: string;
1003
+ error_code: "kwikset_insufficient_permissions";
1004
+ is_access_code_error: true;
1005
+ created_at?: string | undefined;
974
1006
  }>, ...(z.ZodObject<{
975
1007
  created_at: z.ZodString;
976
1008
  message: z.ZodString;
@@ -1640,6 +1672,11 @@ declare const access_code: z.ZodObject<{
1640
1672
  error_code: "kwikset_unable_to_confirm_deletion";
1641
1673
  is_access_code_error: true;
1642
1674
  created_at?: string | undefined;
1675
+ } | {
1676
+ message: string;
1677
+ error_code: "kwikset_insufficient_permissions";
1678
+ is_access_code_error: true;
1679
+ created_at?: string | undefined;
1643
1680
  } | {
1644
1681
  message: string;
1645
1682
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -1934,6 +1971,11 @@ declare const access_code: z.ZodObject<{
1934
1971
  error_code: "kwikset_unable_to_confirm_deletion";
1935
1972
  is_access_code_error: true;
1936
1973
  created_at?: string | undefined;
1974
+ } | {
1975
+ message: string;
1976
+ error_code: "kwikset_insufficient_permissions";
1977
+ is_access_code_error: true;
1978
+ created_at?: string | undefined;
1937
1979
  } | {
1938
1980
  message: string;
1939
1981
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -2474,6 +2516,22 @@ declare const unmanaged_access_code: z.ZodObject<{
2474
2516
  error_code: "dormakaba_oracode_no_valid_user_level";
2475
2517
  is_access_code_error: true;
2476
2518
  created_at?: string | undefined;
2519
+ }>, z.ZodObject<{
2520
+ message: z.ZodString;
2521
+ is_access_code_error: z.ZodLiteral<true>;
2522
+ created_at: z.ZodOptional<z.ZodString>;
2523
+ } & {
2524
+ error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
2525
+ }, "strip", z.ZodTypeAny, {
2526
+ message: string;
2527
+ error_code: "kwikset_insufficient_permissions";
2528
+ is_access_code_error: true;
2529
+ created_at?: string | undefined;
2530
+ }, {
2531
+ message: string;
2532
+ error_code: "kwikset_insufficient_permissions";
2533
+ is_access_code_error: true;
2534
+ created_at?: string | undefined;
2477
2535
  }>, ...(z.ZodObject<{
2478
2536
  created_at: z.ZodString;
2479
2537
  message: z.ZodString;
@@ -3137,6 +3195,11 @@ declare const unmanaged_access_code: z.ZodObject<{
3137
3195
  error_code: "kwikset_unable_to_confirm_deletion";
3138
3196
  is_access_code_error: true;
3139
3197
  created_at?: string | undefined;
3198
+ } | {
3199
+ message: string;
3200
+ error_code: "kwikset_insufficient_permissions";
3201
+ is_access_code_error: true;
3202
+ created_at?: string | undefined;
3140
3203
  } | {
3141
3204
  message: string;
3142
3205
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -3422,6 +3485,11 @@ declare const unmanaged_access_code: z.ZodObject<{
3422
3485
  error_code: "kwikset_unable_to_confirm_deletion";
3423
3486
  is_access_code_error: true;
3424
3487
  created_at?: string | undefined;
3488
+ } | {
3489
+ message: string;
3490
+ error_code: "kwikset_insufficient_permissions";
3491
+ is_access_code_error: true;
3492
+ created_at?: string | undefined;
3425
3493
  } | {
3426
3494
  message: string;
3427
3495
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -28104,6 +28172,22 @@ declare const batch: z.ZodObject<{
28104
28172
  error_code: "dormakaba_oracode_no_valid_user_level";
28105
28173
  is_access_code_error: true;
28106
28174
  created_at?: string | undefined;
28175
+ }>, z.ZodObject<{
28176
+ message: z.ZodString;
28177
+ is_access_code_error: z.ZodLiteral<true>;
28178
+ created_at: z.ZodOptional<z.ZodString>;
28179
+ } & {
28180
+ error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
28181
+ }, "strip", z.ZodTypeAny, {
28182
+ message: string;
28183
+ error_code: "kwikset_insufficient_permissions";
28184
+ is_access_code_error: true;
28185
+ created_at?: string | undefined;
28186
+ }, {
28187
+ message: string;
28188
+ error_code: "kwikset_insufficient_permissions";
28189
+ is_access_code_error: true;
28190
+ created_at?: string | undefined;
28107
28191
  }>, ...(z.ZodObject<{
28108
28192
  created_at: z.ZodString;
28109
28193
  message: z.ZodString;
@@ -28773,6 +28857,11 @@ declare const batch: z.ZodObject<{
28773
28857
  error_code: "kwikset_unable_to_confirm_deletion";
28774
28858
  is_access_code_error: true;
28775
28859
  created_at?: string | undefined;
28860
+ } | {
28861
+ message: string;
28862
+ error_code: "kwikset_insufficient_permissions";
28863
+ is_access_code_error: true;
28864
+ created_at?: string | undefined;
28776
28865
  } | {
28777
28866
  message: string;
28778
28867
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -29067,6 +29156,11 @@ declare const batch: z.ZodObject<{
29067
29156
  error_code: "kwikset_unable_to_confirm_deletion";
29068
29157
  is_access_code_error: true;
29069
29158
  created_at?: string | undefined;
29159
+ } | {
29160
+ message: string;
29161
+ error_code: "kwikset_insufficient_permissions";
29162
+ is_access_code_error: true;
29163
+ created_at?: string | undefined;
29070
29164
  } | {
29071
29165
  message: string;
29072
29166
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -29605,6 +29699,22 @@ declare const batch: z.ZodObject<{
29605
29699
  error_code: "dormakaba_oracode_no_valid_user_level";
29606
29700
  is_access_code_error: true;
29607
29701
  created_at?: string | undefined;
29702
+ }>, z.ZodObject<{
29703
+ message: z.ZodString;
29704
+ is_access_code_error: z.ZodLiteral<true>;
29705
+ created_at: z.ZodOptional<z.ZodString>;
29706
+ } & {
29707
+ error_code: z.ZodLiteral<"kwikset_insufficient_permissions">;
29708
+ }, "strip", z.ZodTypeAny, {
29709
+ message: string;
29710
+ error_code: "kwikset_insufficient_permissions";
29711
+ is_access_code_error: true;
29712
+ created_at?: string | undefined;
29713
+ }, {
29714
+ message: string;
29715
+ error_code: "kwikset_insufficient_permissions";
29716
+ is_access_code_error: true;
29717
+ created_at?: string | undefined;
29608
29718
  }>, ...(z.ZodObject<{
29609
29719
  created_at: z.ZodString;
29610
29720
  message: z.ZodString;
@@ -30268,6 +30378,11 @@ declare const batch: z.ZodObject<{
30268
30378
  error_code: "kwikset_unable_to_confirm_deletion";
30269
30379
  is_access_code_error: true;
30270
30380
  created_at?: string | undefined;
30381
+ } | {
30382
+ message: string;
30383
+ error_code: "kwikset_insufficient_permissions";
30384
+ is_access_code_error: true;
30385
+ created_at?: string | undefined;
30271
30386
  } | {
30272
30387
  message: string;
30273
30388
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -30553,6 +30668,11 @@ declare const batch: z.ZodObject<{
30553
30668
  error_code: "kwikset_unable_to_confirm_deletion";
30554
30669
  is_access_code_error: true;
30555
30670
  created_at?: string | undefined;
30671
+ } | {
30672
+ message: string;
30673
+ error_code: "kwikset_insufficient_permissions";
30674
+ is_access_code_error: true;
30675
+ created_at?: string | undefined;
30556
30676
  } | {
30557
30677
  message: string;
30558
30678
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -34244,6 +34364,11 @@ declare const batch: z.ZodObject<{
34244
34364
  error_code: "kwikset_unable_to_confirm_deletion";
34245
34365
  is_access_code_error: true;
34246
34366
  created_at?: string | undefined;
34367
+ } | {
34368
+ message: string;
34369
+ error_code: "kwikset_insufficient_permissions";
34370
+ is_access_code_error: true;
34371
+ created_at?: string | undefined;
34247
34372
  } | {
34248
34373
  message: string;
34249
34374
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -34539,6 +34664,11 @@ declare const batch: z.ZodObject<{
34539
34664
  error_code: "kwikset_unable_to_confirm_deletion";
34540
34665
  is_access_code_error: true;
34541
34666
  created_at?: string | undefined;
34667
+ } | {
34668
+ message: string;
34669
+ error_code: "kwikset_insufficient_permissions";
34670
+ is_access_code_error: true;
34671
+ created_at?: string | undefined;
34542
34672
  } | {
34543
34673
  message: string;
34544
34674
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -38125,6 +38255,11 @@ declare const batch: z.ZodObject<{
38125
38255
  error_code: "kwikset_unable_to_confirm_deletion";
38126
38256
  is_access_code_error: true;
38127
38257
  created_at?: string | undefined;
38258
+ } | {
38259
+ message: string;
38260
+ error_code: "kwikset_insufficient_permissions";
38261
+ is_access_code_error: true;
38262
+ created_at?: string | undefined;
38128
38263
  } | {
38129
38264
  message: string;
38130
38265
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -38420,6 +38555,11 @@ declare const batch: z.ZodObject<{
38420
38555
  error_code: "kwikset_unable_to_confirm_deletion";
38421
38556
  is_access_code_error: true;
38422
38557
  created_at?: string | undefined;
38558
+ } | {
38559
+ message: string;
38560
+ error_code: "kwikset_insufficient_permissions";
38561
+ is_access_code_error: true;
38562
+ created_at?: string | undefined;
38423
38563
  } | {
38424
38564
  message: string;
38425
38565
  error_code: "igloohome_offline_access_code_no_variance_available";
@@ -105278,6 +105418,15 @@ type Routes = {
105278
105418
  created_at?: string | undefined;
105279
105419
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
105280
105420
  error_code: 'dormakaba_oracode_no_valid_user_level';
105421
+ } | {
105422
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105423
+ message: string;
105424
+ /** Indicates that this is an access code error. */
105425
+ is_access_code_error: true;
105426
+ /** Date and time at which Seam created the error. */
105427
+ created_at?: string | undefined;
105428
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
105429
+ error_code: 'kwikset_insufficient_permissions';
105281
105430
  } | {
105282
105431
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105283
105432
  message: string;
@@ -105823,6 +105972,15 @@ type Routes = {
105823
105972
  created_at?: string | undefined;
105824
105973
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
105825
105974
  error_code: 'dormakaba_oracode_no_valid_user_level';
105975
+ } | {
105976
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105977
+ message: string;
105978
+ /** Indicates that this is an access code error. */
105979
+ is_access_code_error: true;
105980
+ /** Date and time at which Seam created the error. */
105981
+ created_at?: string | undefined;
105982
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
105983
+ error_code: 'kwikset_insufficient_permissions';
105826
105984
  } | {
105827
105985
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105828
105986
  message: string;
@@ -107622,6 +107780,15 @@ type Routes = {
107622
107780
  created_at?: string | undefined;
107623
107781
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107624
107782
  error_code: 'dormakaba_oracode_no_valid_user_level';
107783
+ } | {
107784
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107785
+ message: string;
107786
+ /** Indicates that this is an access code error. */
107787
+ is_access_code_error: true;
107788
+ /** Date and time at which Seam created the error. */
107789
+ created_at?: string | undefined;
107790
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107791
+ error_code: 'kwikset_insufficient_permissions';
107625
107792
  } | {
107626
107793
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107627
107794
  message: string;
@@ -108141,6 +108308,15 @@ type Routes = {
108141
108308
  created_at?: string | undefined;
108142
108309
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108143
108310
  error_code: 'dormakaba_oracode_no_valid_user_level';
108311
+ } | {
108312
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108313
+ message: string;
108314
+ /** Indicates that this is an access code error. */
108315
+ is_access_code_error: true;
108316
+ /** Date and time at which Seam created the error. */
108317
+ created_at?: string | undefined;
108318
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108319
+ error_code: 'kwikset_insufficient_permissions';
108144
108320
  } | {
108145
108321
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108146
108322
  message: string;
@@ -108666,6 +108842,15 @@ type Routes = {
108666
108842
  created_at?: string | undefined;
108667
108843
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108668
108844
  error_code: 'dormakaba_oracode_no_valid_user_level';
108845
+ } | {
108846
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108847
+ message: string;
108848
+ /** Indicates that this is an access code error. */
108849
+ is_access_code_error: true;
108850
+ /** Date and time at which Seam created the error. */
108851
+ created_at?: string | undefined;
108852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108853
+ error_code: 'kwikset_insufficient_permissions';
108669
108854
  } | {
108670
108855
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108671
108856
  message: string;
@@ -109169,6 +109354,15 @@ type Routes = {
109169
109354
  created_at?: string | undefined;
109170
109355
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
109171
109356
  error_code: 'dormakaba_oracode_no_valid_user_level';
109357
+ } | {
109358
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
109359
+ message: string;
109360
+ /** Indicates that this is an access code error. */
109361
+ is_access_code_error: true;
109362
+ /** Date and time at which Seam created the error. */
109363
+ created_at?: string | undefined;
109364
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
109365
+ error_code: 'kwikset_insufficient_permissions';
109172
109366
  } | {
109173
109367
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
109174
109368
  message: string;
@@ -109705,6 +109899,15 @@ type Routes = {
109705
109899
  created_at?: string | undefined;
109706
109900
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
109707
109901
  error_code: 'dormakaba_oracode_no_valid_user_level';
109902
+ } | {
109903
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
109904
+ message: string;
109905
+ /** Indicates that this is an access code error. */
109906
+ is_access_code_error: true;
109907
+ /** Date and time at which Seam created the error. */
109908
+ created_at?: string | undefined;
109909
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
109910
+ error_code: 'kwikset_insufficient_permissions';
109708
109911
  } | {
109709
109912
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
109710
109913
  message: string;
@@ -111491,6 +111694,15 @@ type Routes = {
111491
111694
  created_at?: string | undefined;
111492
111695
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
111493
111696
  error_code: 'dormakaba_oracode_no_valid_user_level';
111697
+ } | {
111698
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
111699
+ message: string;
111700
+ /** Indicates that this is an access code error. */
111701
+ is_access_code_error: true;
111702
+ /** Date and time at which Seam created the error. */
111703
+ created_at?: string | undefined;
111704
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
111705
+ error_code: 'kwikset_insufficient_permissions';
111494
111706
  } | {
111495
111707
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
111496
111708
  message: string;
@@ -111988,6 +112200,15 @@ type Routes = {
111988
112200
  created_at?: string | undefined;
111989
112201
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
111990
112202
  error_code: 'dormakaba_oracode_no_valid_user_level';
112203
+ } | {
112204
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
112205
+ message: string;
112206
+ /** Indicates that this is an access code error. */
112207
+ is_access_code_error: true;
112208
+ /** Date and time at which Seam created the error. */
112209
+ created_at?: string | undefined;
112210
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
112211
+ error_code: 'kwikset_insufficient_permissions';
111991
112212
  } | {
111992
112213
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
111993
112214
  message: string;
@@ -123132,6 +123353,15 @@ type Routes = {
123132
123353
  created_at?: string | undefined;
123133
123354
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123134
123355
  error_code: 'dormakaba_oracode_no_valid_user_level';
123356
+ } | {
123357
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123358
+ message: string;
123359
+ /** Indicates that this is an access code error. */
123360
+ is_access_code_error: true;
123361
+ /** Date and time at which Seam created the error. */
123362
+ created_at?: string | undefined;
123363
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123364
+ error_code: 'kwikset_insufficient_permissions';
123135
123365
  } | {
123136
123366
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123137
123367
  message: string;
@@ -123622,6 +123852,15 @@ type Routes = {
123622
123852
  created_at?: string | undefined;
123623
123853
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123624
123854
  error_code: 'dormakaba_oracode_no_valid_user_level';
123855
+ } | {
123856
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123857
+ message: string;
123858
+ /** Indicates that this is an access code error. */
123859
+ is_access_code_error: true;
123860
+ /** Date and time at which Seam created the error. */
123861
+ created_at?: string | undefined;
123862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123863
+ error_code: 'kwikset_insufficient_permissions';
123625
123864
  } | {
123626
123865
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123627
123866
  message: string;
@@ -189620,6 +189859,15 @@ type Routes = {
189620
189859
  created_at?: string | undefined;
189621
189860
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
189622
189861
  error_code: 'dormakaba_oracode_no_valid_user_level';
189862
+ } | {
189863
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
189864
+ message: string;
189865
+ /** Indicates that this is an access code error. */
189866
+ is_access_code_error: true;
189867
+ /** Date and time at which Seam created the error. */
189868
+ created_at?: string | undefined;
189869
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
189870
+ error_code: 'kwikset_insufficient_permissions';
189623
189871
  } | {
189624
189872
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
189625
189873
  message: string;
@@ -190110,6 +190358,15 @@ type Routes = {
190110
190358
  created_at?: string | undefined;
190111
190359
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
190112
190360
  error_code: 'dormakaba_oracode_no_valid_user_level';
190361
+ } | {
190362
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
190363
+ message: string;
190364
+ /** Indicates that this is an access code error. */
190365
+ is_access_code_error: true;
190366
+ /** Date and time at which Seam created the error. */
190367
+ created_at?: string | undefined;
190368
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
190369
+ error_code: 'kwikset_insufficient_permissions';
190113
190370
  } | {
190114
190371
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
190115
190372
  message: string;
package/dist/index.cjs CHANGED
@@ -1972,6 +1972,11 @@ var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
1972
1972
  }).describe(
1973
1973
  "Unable to confirm the deletion of the access code on Kwikset device."
1974
1974
  );
1975
+ var kwikset_insufficient_permissions = common_access_code_error.extend({
1976
+ error_code: zod.z.literal("kwikset_insufficient_permissions").describe(error_code_description3)
1977
+ }).describe(
1978
+ "Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN."
1979
+ );
1975
1980
  var igloohome_offline_access_code_no_variance_available = common_access_code_error.extend({
1976
1981
  error_code: zod.z.literal("igloohome_offline_access_code_no_variance_available").describe(error_code_description3)
1977
1982
  }).describe("Lock has reached maximum amount of codes.");
@@ -2036,7 +2041,8 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2036
2041
  hubitat_no_free_positions_available,
2037
2042
  wyze_duplicate_code_name,
2038
2043
  wyze_potential_duplicate_code,
2039
- dormakaba_oracode_no_valid_user_level
2044
+ dormakaba_oracode_no_valid_user_level,
2045
+ kwikset_insufficient_permissions
2040
2046
  ]).describe(
2041
2047
  "Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
2042
2048
  );
@@ -2054,6 +2060,7 @@ zod.z.object({
2054
2060
  igloohome_offline_access_code_no_variance_available: igloohome_offline_access_code_no_variance_available.optional().nullable(),
2055
2061
  kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
2056
2062
  kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
2063
+ kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
2057
2064
  code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
2058
2065
  august_lock_invalid_code_length: august_lock_invalid_code_length.optional().nullable(),
2059
2066
  august_device_programming_delay: august_device_programming_delay_error.optional().nullable(),
@@ -6359,6 +6366,32 @@ var openapi_default = {
6359
6366
  required: ["message", "is_access_code_error", "error_code"],
6360
6367
  type: "object"
6361
6368
  },
6369
+ {
6370
+ description: "Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.",
6371
+ properties: {
6372
+ created_at: {
6373
+ description: "Date and time at which Seam created the error.",
6374
+ format: "date-time",
6375
+ type: "string"
6376
+ },
6377
+ error_code: {
6378
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
6379
+ enum: ["kwikset_insufficient_permissions"],
6380
+ type: "string"
6381
+ },
6382
+ is_access_code_error: {
6383
+ description: "Indicates that this is an access code error.",
6384
+ enum: [true],
6385
+ type: "boolean"
6386
+ },
6387
+ message: {
6388
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
6389
+ type: "string"
6390
+ }
6391
+ },
6392
+ required: ["message", "is_access_code_error", "error_code"],
6393
+ type: "object"
6394
+ },
6362
6395
  {
6363
6396
  description: "Indicates that the account is disconnected.",
6364
6397
  properties: {
@@ -25116,6 +25149,32 @@ var openapi_default = {
25116
25149
  required: ["message", "is_access_code_error", "error_code"],
25117
25150
  type: "object"
25118
25151
  },
25152
+ {
25153
+ description: "Admin role required\u2014insufficient permissions to manage PINs on this Kwikset device. Please have a Home Admin update your role in the Kwikset app, or ask them to set the PIN.",
25154
+ properties: {
25155
+ created_at: {
25156
+ description: "Date and time at which Seam created the error.",
25157
+ format: "date-time",
25158
+ type: "string"
25159
+ },
25160
+ error_code: {
25161
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
25162
+ enum: ["kwikset_insufficient_permissions"],
25163
+ type: "string"
25164
+ },
25165
+ is_access_code_error: {
25166
+ description: "Indicates that this is an access code error.",
25167
+ enum: [true],
25168
+ type: "boolean"
25169
+ },
25170
+ message: {
25171
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
25172
+ type: "string"
25173
+ }
25174
+ },
25175
+ required: ["message", "is_access_code_error", "error_code"],
25176
+ type: "object"
25177
+ },
25119
25178
  {
25120
25179
  description: "Indicates that the account is disconnected.",
25121
25180
  properties: {