@seamapi/types 1.870.0 → 1.872.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.
@@ -23357,6 +23357,22 @@ export declare const batch: z.ZodObject<{
23357
23357
  message: z.ZodString;
23358
23358
  is_access_code_error: z.ZodLiteral<true>;
23359
23359
  created_at: z.ZodOptional<z.ZodString>;
23360
+ } & {
23361
+ error_code: z.ZodLiteral<"provider_issue">;
23362
+ }, "strip", z.ZodTypeAny, {
23363
+ message: string;
23364
+ error_code: "provider_issue";
23365
+ is_access_code_error: true;
23366
+ created_at?: string | undefined;
23367
+ }, {
23368
+ message: string;
23369
+ error_code: "provider_issue";
23370
+ is_access_code_error: true;
23371
+ created_at?: string | undefined;
23372
+ }>, z.ZodObject<{
23373
+ message: z.ZodString;
23374
+ is_access_code_error: z.ZodLiteral<true>;
23375
+ created_at: z.ZodOptional<z.ZodString>;
23360
23376
  } & {
23361
23377
  error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
23362
23378
  }, "strip", z.ZodTypeAny, {
@@ -23525,16 +23541,42 @@ export declare const batch: z.ZodObject<{
23525
23541
  created_at: z.ZodOptional<z.ZodString>;
23526
23542
  } & {
23527
23543
  error_code: z.ZodLiteral<"code_modified_external_to_seam">;
23544
+ change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
23545
+ modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
23546
+ field: z.ZodString;
23547
+ from: z.ZodNullable<z.ZodString>;
23548
+ to: z.ZodNullable<z.ZodString>;
23549
+ }, "strip", z.ZodTypeAny, {
23550
+ from: string | null;
23551
+ to: string | null;
23552
+ field: string;
23553
+ }, {
23554
+ from: string | null;
23555
+ to: string | null;
23556
+ field: string;
23557
+ }>, "many">>;
23528
23558
  }, "strip", z.ZodTypeAny, {
23529
23559
  message: string;
23530
23560
  error_code: "code_modified_external_to_seam";
23531
23561
  is_access_code_error: true;
23532
23562
  created_at?: string | undefined;
23563
+ change_type?: "modified" | "removed" | undefined;
23564
+ modified_fields?: {
23565
+ from: string | null;
23566
+ to: string | null;
23567
+ field: string;
23568
+ }[] | undefined;
23533
23569
  }, {
23534
23570
  message: string;
23535
23571
  error_code: "code_modified_external_to_seam";
23536
23572
  is_access_code_error: true;
23537
23573
  created_at?: string | undefined;
23574
+ change_type?: "modified" | "removed" | undefined;
23575
+ modified_fields?: {
23576
+ from: string | null;
23577
+ to: string | null;
23578
+ field: string;
23579
+ }[] | undefined;
23538
23580
  }>, z.ZodObject<{
23539
23581
  message: z.ZodString;
23540
23582
  is_access_code_error: z.ZodLiteral<true>;
@@ -23587,6 +23629,22 @@ export declare const batch: z.ZodObject<{
23587
23629
  message: z.ZodString;
23588
23630
  is_access_code_error: z.ZodLiteral<true>;
23589
23631
  created_at: z.ZodOptional<z.ZodString>;
23632
+ } & {
23633
+ error_code: z.ZodLiteral<"access_code_inactive">;
23634
+ }, "strip", z.ZodTypeAny, {
23635
+ message: string;
23636
+ error_code: "access_code_inactive";
23637
+ is_access_code_error: true;
23638
+ created_at?: string | undefined;
23639
+ }, {
23640
+ message: string;
23641
+ error_code: "access_code_inactive";
23642
+ is_access_code_error: true;
23643
+ created_at?: string | undefined;
23644
+ }>, z.ZodObject<{
23645
+ message: z.ZodString;
23646
+ is_access_code_error: z.ZodLiteral<true>;
23647
+ created_at: z.ZodOptional<z.ZodString>;
23590
23648
  } & {
23591
23649
  error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
23592
23650
  }, "strip", z.ZodTypeAny, {
@@ -24034,6 +24092,19 @@ export declare const batch: z.ZodObject<{
24034
24092
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
24035
24093
  message: z.ZodString;
24036
24094
  created_at: z.ZodOptional<z.ZodString>;
24095
+ } & {
24096
+ warning_code: z.ZodLiteral<"provider_issue">;
24097
+ }, "strip", z.ZodTypeAny, {
24098
+ message: string;
24099
+ warning_code: "provider_issue";
24100
+ created_at?: string | undefined;
24101
+ }, {
24102
+ message: string;
24103
+ warning_code: "provider_issue";
24104
+ created_at?: string | undefined;
24105
+ }>, z.ZodObject<{
24106
+ message: z.ZodString;
24107
+ created_at: z.ZodOptional<z.ZodString>;
24037
24108
  } & {
24038
24109
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
24039
24110
  }, "strip", z.ZodTypeAny, {
@@ -24088,14 +24159,40 @@ export declare const batch: z.ZodObject<{
24088
24159
  created_at: z.ZodOptional<z.ZodString>;
24089
24160
  } & {
24090
24161
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
24162
+ change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
24163
+ modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
24164
+ field: z.ZodString;
24165
+ from: z.ZodNullable<z.ZodString>;
24166
+ to: z.ZodNullable<z.ZodString>;
24167
+ }, "strip", z.ZodTypeAny, {
24168
+ from: string | null;
24169
+ to: string | null;
24170
+ field: string;
24171
+ }, {
24172
+ from: string | null;
24173
+ to: string | null;
24174
+ field: string;
24175
+ }>, "many">>;
24091
24176
  }, "strip", z.ZodTypeAny, {
24092
24177
  message: string;
24093
24178
  warning_code: "code_modified_external_to_seam";
24094
24179
  created_at?: string | undefined;
24180
+ change_type?: "modified" | "removed" | undefined;
24181
+ modified_fields?: {
24182
+ from: string | null;
24183
+ to: string | null;
24184
+ field: string;
24185
+ }[] | undefined;
24095
24186
  }, {
24096
24187
  message: string;
24097
24188
  warning_code: "code_modified_external_to_seam";
24098
24189
  created_at?: string | undefined;
24190
+ change_type?: "modified" | "removed" | undefined;
24191
+ modified_fields?: {
24192
+ from: string | null;
24193
+ to: string | null;
24194
+ field: string;
24195
+ }[] | undefined;
24099
24196
  }>, z.ZodObject<{
24100
24197
  message: z.ZodString;
24101
24198
  created_at: z.ZodOptional<z.ZodString>;
@@ -24554,6 +24651,11 @@ export declare const batch: z.ZodObject<{
24554
24651
  created_at: string;
24555
24652
  error_code: "lockly_missing_wifi_bridge";
24556
24653
  is_device_error: true;
24654
+ } | {
24655
+ message: string;
24656
+ error_code: "provider_issue";
24657
+ is_access_code_error: true;
24658
+ created_at?: string | undefined;
24557
24659
  } | {
24558
24660
  message: string;
24559
24661
  error_code: "smartthings_failed_to_set_access_code";
@@ -24569,6 +24671,12 @@ export declare const batch: z.ZodObject<{
24569
24671
  error_code: "code_modified_external_to_seam";
24570
24672
  is_access_code_error: true;
24571
24673
  created_at?: string | undefined;
24674
+ change_type?: "modified" | "removed" | undefined;
24675
+ modified_fields?: {
24676
+ from: string | null;
24677
+ to: string | null;
24678
+ field: string;
24679
+ }[] | undefined;
24572
24680
  } | {
24573
24681
  message: string;
24574
24682
  error_code: "failed_to_set_on_device";
@@ -24631,6 +24739,11 @@ export declare const batch: z.ZodObject<{
24631
24739
  error_code: "august_lock_missing_keypad";
24632
24740
  is_access_code_error: true;
24633
24741
  created_at?: string | undefined;
24742
+ } | {
24743
+ message: string;
24744
+ error_code: "access_code_inactive";
24745
+ is_access_code_error: true;
24746
+ created_at?: string | undefined;
24634
24747
  } | {
24635
24748
  message: string;
24636
24749
  error_code: "salto_ks_user_not_subscribed";
@@ -24674,10 +24787,20 @@ export declare const batch: z.ZodObject<{
24674
24787
  message: string;
24675
24788
  warning_code: "code_modified_external_to_seam";
24676
24789
  created_at?: string | undefined;
24790
+ change_type?: "modified" | "removed" | undefined;
24791
+ modified_fields?: {
24792
+ from: string | null;
24793
+ to: string | null;
24794
+ field: string;
24795
+ }[] | undefined;
24677
24796
  } | {
24678
24797
  message: string;
24679
24798
  warning_code: "schlage_detected_duplicate";
24680
24799
  created_at?: string | undefined;
24800
+ } | {
24801
+ message: string;
24802
+ warning_code: "provider_issue";
24803
+ created_at?: string | undefined;
24681
24804
  } | {
24682
24805
  message: string;
24683
24806
  warning_code: "schlage_creation_outage";
@@ -24902,6 +25025,11 @@ export declare const batch: z.ZodObject<{
24902
25025
  created_at: string;
24903
25026
  error_code: "lockly_missing_wifi_bridge";
24904
25027
  is_device_error: true;
25028
+ } | {
25029
+ message: string;
25030
+ error_code: "provider_issue";
25031
+ is_access_code_error: true;
25032
+ created_at?: string | undefined;
24905
25033
  } | {
24906
25034
  message: string;
24907
25035
  error_code: "smartthings_failed_to_set_access_code";
@@ -24917,6 +25045,12 @@ export declare const batch: z.ZodObject<{
24917
25045
  error_code: "code_modified_external_to_seam";
24918
25046
  is_access_code_error: true;
24919
25047
  created_at?: string | undefined;
25048
+ change_type?: "modified" | "removed" | undefined;
25049
+ modified_fields?: {
25050
+ from: string | null;
25051
+ to: string | null;
25052
+ field: string;
25053
+ }[] | undefined;
24920
25054
  } | {
24921
25055
  message: string;
24922
25056
  error_code: "failed_to_set_on_device";
@@ -24979,6 +25113,11 @@ export declare const batch: z.ZodObject<{
24979
25113
  error_code: "august_lock_missing_keypad";
24980
25114
  is_access_code_error: true;
24981
25115
  created_at?: string | undefined;
25116
+ } | {
25117
+ message: string;
25118
+ error_code: "access_code_inactive";
25119
+ is_access_code_error: true;
25120
+ created_at?: string | undefined;
24982
25121
  } | {
24983
25122
  message: string;
24984
25123
  error_code: "salto_ks_user_not_subscribed";
@@ -25022,10 +25161,20 @@ export declare const batch: z.ZodObject<{
25022
25161
  message: string;
25023
25162
  warning_code: "code_modified_external_to_seam";
25024
25163
  created_at?: string | undefined;
25164
+ change_type?: "modified" | "removed" | undefined;
25165
+ modified_fields?: {
25166
+ from: string | null;
25167
+ to: string | null;
25168
+ field: string;
25169
+ }[] | undefined;
25025
25170
  } | {
25026
25171
  message: string;
25027
25172
  warning_code: "schlage_detected_duplicate";
25028
25173
  created_at?: string | undefined;
25174
+ } | {
25175
+ message: string;
25176
+ warning_code: "provider_issue";
25177
+ created_at?: string | undefined;
25029
25178
  } | {
25030
25179
  message: string;
25031
25180
  warning_code: "schlage_creation_outage";
@@ -25158,6 +25307,22 @@ export declare const batch: z.ZodObject<{
25158
25307
  message: z.ZodString;
25159
25308
  is_access_code_error: z.ZodLiteral<true>;
25160
25309
  created_at: z.ZodOptional<z.ZodString>;
25310
+ } & {
25311
+ error_code: z.ZodLiteral<"provider_issue">;
25312
+ }, "strip", z.ZodTypeAny, {
25313
+ message: string;
25314
+ error_code: "provider_issue";
25315
+ is_access_code_error: true;
25316
+ created_at?: string | undefined;
25317
+ }, {
25318
+ message: string;
25319
+ error_code: "provider_issue";
25320
+ is_access_code_error: true;
25321
+ created_at?: string | undefined;
25322
+ }>, z.ZodObject<{
25323
+ message: z.ZodString;
25324
+ is_access_code_error: z.ZodLiteral<true>;
25325
+ created_at: z.ZodOptional<z.ZodString>;
25161
25326
  } & {
25162
25327
  error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
25163
25328
  }, "strip", z.ZodTypeAny, {
@@ -25326,16 +25491,42 @@ export declare const batch: z.ZodObject<{
25326
25491
  created_at: z.ZodOptional<z.ZodString>;
25327
25492
  } & {
25328
25493
  error_code: z.ZodLiteral<"code_modified_external_to_seam">;
25494
+ change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
25495
+ modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
25496
+ field: z.ZodString;
25497
+ from: z.ZodNullable<z.ZodString>;
25498
+ to: z.ZodNullable<z.ZodString>;
25499
+ }, "strip", z.ZodTypeAny, {
25500
+ from: string | null;
25501
+ to: string | null;
25502
+ field: string;
25503
+ }, {
25504
+ from: string | null;
25505
+ to: string | null;
25506
+ field: string;
25507
+ }>, "many">>;
25329
25508
  }, "strip", z.ZodTypeAny, {
25330
25509
  message: string;
25331
25510
  error_code: "code_modified_external_to_seam";
25332
25511
  is_access_code_error: true;
25333
25512
  created_at?: string | undefined;
25513
+ change_type?: "modified" | "removed" | undefined;
25514
+ modified_fields?: {
25515
+ from: string | null;
25516
+ to: string | null;
25517
+ field: string;
25518
+ }[] | undefined;
25334
25519
  }, {
25335
25520
  message: string;
25336
25521
  error_code: "code_modified_external_to_seam";
25337
25522
  is_access_code_error: true;
25338
25523
  created_at?: string | undefined;
25524
+ change_type?: "modified" | "removed" | undefined;
25525
+ modified_fields?: {
25526
+ from: string | null;
25527
+ to: string | null;
25528
+ field: string;
25529
+ }[] | undefined;
25339
25530
  }>, z.ZodObject<{
25340
25531
  message: z.ZodString;
25341
25532
  is_access_code_error: z.ZodLiteral<true>;
@@ -25388,6 +25579,22 @@ export declare const batch: z.ZodObject<{
25388
25579
  message: z.ZodString;
25389
25580
  is_access_code_error: z.ZodLiteral<true>;
25390
25581
  created_at: z.ZodOptional<z.ZodString>;
25582
+ } & {
25583
+ error_code: z.ZodLiteral<"access_code_inactive">;
25584
+ }, "strip", z.ZodTypeAny, {
25585
+ message: string;
25586
+ error_code: "access_code_inactive";
25587
+ is_access_code_error: true;
25588
+ created_at?: string | undefined;
25589
+ }, {
25590
+ message: string;
25591
+ error_code: "access_code_inactive";
25592
+ is_access_code_error: true;
25593
+ created_at?: string | undefined;
25594
+ }>, z.ZodObject<{
25595
+ message: z.ZodString;
25596
+ is_access_code_error: z.ZodLiteral<true>;
25597
+ created_at: z.ZodOptional<z.ZodString>;
25391
25598
  } & {
25392
25599
  error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
25393
25600
  }, "strip", z.ZodTypeAny, {
@@ -25835,6 +26042,19 @@ export declare const batch: z.ZodObject<{
25835
26042
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
25836
26043
  message: z.ZodString;
25837
26044
  created_at: z.ZodOptional<z.ZodString>;
26045
+ } & {
26046
+ warning_code: z.ZodLiteral<"provider_issue">;
26047
+ }, "strip", z.ZodTypeAny, {
26048
+ message: string;
26049
+ warning_code: "provider_issue";
26050
+ created_at?: string | undefined;
26051
+ }, {
26052
+ message: string;
26053
+ warning_code: "provider_issue";
26054
+ created_at?: string | undefined;
26055
+ }>, z.ZodObject<{
26056
+ message: z.ZodString;
26057
+ created_at: z.ZodOptional<z.ZodString>;
25838
26058
  } & {
25839
26059
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
25840
26060
  }, "strip", z.ZodTypeAny, {
@@ -25889,14 +26109,40 @@ export declare const batch: z.ZodObject<{
25889
26109
  created_at: z.ZodOptional<z.ZodString>;
25890
26110
  } & {
25891
26111
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
26112
+ change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
26113
+ modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
26114
+ field: z.ZodString;
26115
+ from: z.ZodNullable<z.ZodString>;
26116
+ to: z.ZodNullable<z.ZodString>;
26117
+ }, "strip", z.ZodTypeAny, {
26118
+ from: string | null;
26119
+ to: string | null;
26120
+ field: string;
26121
+ }, {
26122
+ from: string | null;
26123
+ to: string | null;
26124
+ field: string;
26125
+ }>, "many">>;
25892
26126
  }, "strip", z.ZodTypeAny, {
25893
26127
  message: string;
25894
26128
  warning_code: "code_modified_external_to_seam";
25895
26129
  created_at?: string | undefined;
26130
+ change_type?: "modified" | "removed" | undefined;
26131
+ modified_fields?: {
26132
+ from: string | null;
26133
+ to: string | null;
26134
+ field: string;
26135
+ }[] | undefined;
25896
26136
  }, {
25897
26137
  message: string;
25898
26138
  warning_code: "code_modified_external_to_seam";
25899
26139
  created_at?: string | undefined;
26140
+ change_type?: "modified" | "removed" | undefined;
26141
+ modified_fields?: {
26142
+ from: string | null;
26143
+ to: string | null;
26144
+ field: string;
26145
+ }[] | undefined;
25900
26146
  }>, z.ZodObject<{
25901
26147
  message: z.ZodString;
25902
26148
  created_at: z.ZodOptional<z.ZodString>;
@@ -26181,6 +26427,11 @@ export declare const batch: z.ZodObject<{
26181
26427
  created_at: string;
26182
26428
  error_code: "lockly_missing_wifi_bridge";
26183
26429
  is_device_error: true;
26430
+ } | {
26431
+ message: string;
26432
+ error_code: "provider_issue";
26433
+ is_access_code_error: true;
26434
+ created_at?: string | undefined;
26184
26435
  } | {
26185
26436
  message: string;
26186
26437
  error_code: "smartthings_failed_to_set_access_code";
@@ -26196,6 +26447,12 @@ export declare const batch: z.ZodObject<{
26196
26447
  error_code: "code_modified_external_to_seam";
26197
26448
  is_access_code_error: true;
26198
26449
  created_at?: string | undefined;
26450
+ change_type?: "modified" | "removed" | undefined;
26451
+ modified_fields?: {
26452
+ from: string | null;
26453
+ to: string | null;
26454
+ field: string;
26455
+ }[] | undefined;
26199
26456
  } | {
26200
26457
  message: string;
26201
26458
  error_code: "failed_to_set_on_device";
@@ -26258,6 +26515,11 @@ export declare const batch: z.ZodObject<{
26258
26515
  error_code: "august_lock_missing_keypad";
26259
26516
  is_access_code_error: true;
26260
26517
  created_at?: string | undefined;
26518
+ } | {
26519
+ message: string;
26520
+ error_code: "access_code_inactive";
26521
+ is_access_code_error: true;
26522
+ created_at?: string | undefined;
26261
26523
  } | {
26262
26524
  message: string;
26263
26525
  error_code: "salto_ks_user_not_subscribed";
@@ -26301,10 +26563,20 @@ export declare const batch: z.ZodObject<{
26301
26563
  message: string;
26302
26564
  warning_code: "code_modified_external_to_seam";
26303
26565
  created_at?: string | undefined;
26566
+ change_type?: "modified" | "removed" | undefined;
26567
+ modified_fields?: {
26568
+ from: string | null;
26569
+ to: string | null;
26570
+ field: string;
26571
+ }[] | undefined;
26304
26572
  } | {
26305
26573
  message: string;
26306
26574
  warning_code: "schlage_detected_duplicate";
26307
26575
  created_at?: string | undefined;
26576
+ } | {
26577
+ message: string;
26578
+ warning_code: "provider_issue";
26579
+ created_at?: string | undefined;
26308
26580
  } | {
26309
26581
  message: string;
26310
26582
  warning_code: "schlage_creation_outage";
@@ -26476,6 +26748,11 @@ export declare const batch: z.ZodObject<{
26476
26748
  created_at: string;
26477
26749
  error_code: "lockly_missing_wifi_bridge";
26478
26750
  is_device_error: true;
26751
+ } | {
26752
+ message: string;
26753
+ error_code: "provider_issue";
26754
+ is_access_code_error: true;
26755
+ created_at?: string | undefined;
26479
26756
  } | {
26480
26757
  message: string;
26481
26758
  error_code: "smartthings_failed_to_set_access_code";
@@ -26491,6 +26768,12 @@ export declare const batch: z.ZodObject<{
26491
26768
  error_code: "code_modified_external_to_seam";
26492
26769
  is_access_code_error: true;
26493
26770
  created_at?: string | undefined;
26771
+ change_type?: "modified" | "removed" | undefined;
26772
+ modified_fields?: {
26773
+ from: string | null;
26774
+ to: string | null;
26775
+ field: string;
26776
+ }[] | undefined;
26494
26777
  } | {
26495
26778
  message: string;
26496
26779
  error_code: "failed_to_set_on_device";
@@ -26553,6 +26836,11 @@ export declare const batch: z.ZodObject<{
26553
26836
  error_code: "august_lock_missing_keypad";
26554
26837
  is_access_code_error: true;
26555
26838
  created_at?: string | undefined;
26839
+ } | {
26840
+ message: string;
26841
+ error_code: "access_code_inactive";
26842
+ is_access_code_error: true;
26843
+ created_at?: string | undefined;
26556
26844
  } | {
26557
26845
  message: string;
26558
26846
  error_code: "salto_ks_user_not_subscribed";
@@ -26596,10 +26884,20 @@ export declare const batch: z.ZodObject<{
26596
26884
  message: string;
26597
26885
  warning_code: "code_modified_external_to_seam";
26598
26886
  created_at?: string | undefined;
26887
+ change_type?: "modified" | "removed" | undefined;
26888
+ modified_fields?: {
26889
+ from: string | null;
26890
+ to: string | null;
26891
+ field: string;
26892
+ }[] | undefined;
26599
26893
  } | {
26600
26894
  message: string;
26601
26895
  warning_code: "schlage_detected_duplicate";
26602
26896
  created_at?: string | undefined;
26897
+ } | {
26898
+ message: string;
26899
+ warning_code: "provider_issue";
26900
+ created_at?: string | undefined;
26603
26901
  } | {
26604
26902
  message: string;
26605
26903
  warning_code: "schlage_creation_outage";
@@ -31374,6 +31672,11 @@ export declare const batch: z.ZodObject<{
31374
31672
  created_at: string;
31375
31673
  error_code: "lockly_missing_wifi_bridge";
31376
31674
  is_device_error: true;
31675
+ } | {
31676
+ message: string;
31677
+ error_code: "provider_issue";
31678
+ is_access_code_error: true;
31679
+ created_at?: string | undefined;
31377
31680
  } | {
31378
31681
  message: string;
31379
31682
  error_code: "smartthings_failed_to_set_access_code";
@@ -31389,6 +31692,12 @@ export declare const batch: z.ZodObject<{
31389
31692
  error_code: "code_modified_external_to_seam";
31390
31693
  is_access_code_error: true;
31391
31694
  created_at?: string | undefined;
31695
+ change_type?: "modified" | "removed" | undefined;
31696
+ modified_fields?: {
31697
+ from: string | null;
31698
+ to: string | null;
31699
+ field: string;
31700
+ }[] | undefined;
31392
31701
  } | {
31393
31702
  message: string;
31394
31703
  error_code: "failed_to_set_on_device";
@@ -31451,6 +31760,11 @@ export declare const batch: z.ZodObject<{
31451
31760
  error_code: "august_lock_missing_keypad";
31452
31761
  is_access_code_error: true;
31453
31762
  created_at?: string | undefined;
31763
+ } | {
31764
+ message: string;
31765
+ error_code: "access_code_inactive";
31766
+ is_access_code_error: true;
31767
+ created_at?: string | undefined;
31454
31768
  } | {
31455
31769
  message: string;
31456
31770
  error_code: "salto_ks_user_not_subscribed";
@@ -31494,10 +31808,20 @@ export declare const batch: z.ZodObject<{
31494
31808
  message: string;
31495
31809
  warning_code: "code_modified_external_to_seam";
31496
31810
  created_at?: string | undefined;
31811
+ change_type?: "modified" | "removed" | undefined;
31812
+ modified_fields?: {
31813
+ from: string | null;
31814
+ to: string | null;
31815
+ field: string;
31816
+ }[] | undefined;
31497
31817
  } | {
31498
31818
  message: string;
31499
31819
  warning_code: "schlage_detected_duplicate";
31500
31820
  created_at?: string | undefined;
31821
+ } | {
31822
+ message: string;
31823
+ warning_code: "provider_issue";
31824
+ created_at?: string | undefined;
31501
31825
  } | {
31502
31826
  message: string;
31503
31827
  warning_code: "schlage_creation_outage";
@@ -31723,6 +32047,11 @@ export declare const batch: z.ZodObject<{
31723
32047
  created_at: string;
31724
32048
  error_code: "lockly_missing_wifi_bridge";
31725
32049
  is_device_error: true;
32050
+ } | {
32051
+ message: string;
32052
+ error_code: "provider_issue";
32053
+ is_access_code_error: true;
32054
+ created_at?: string | undefined;
31726
32055
  } | {
31727
32056
  message: string;
31728
32057
  error_code: "smartthings_failed_to_set_access_code";
@@ -31738,6 +32067,12 @@ export declare const batch: z.ZodObject<{
31738
32067
  error_code: "code_modified_external_to_seam";
31739
32068
  is_access_code_error: true;
31740
32069
  created_at?: string | undefined;
32070
+ change_type?: "modified" | "removed" | undefined;
32071
+ modified_fields?: {
32072
+ from: string | null;
32073
+ to: string | null;
32074
+ field: string;
32075
+ }[] | undefined;
31741
32076
  } | {
31742
32077
  message: string;
31743
32078
  error_code: "failed_to_set_on_device";
@@ -31800,6 +32135,11 @@ export declare const batch: z.ZodObject<{
31800
32135
  error_code: "august_lock_missing_keypad";
31801
32136
  is_access_code_error: true;
31802
32137
  created_at?: string | undefined;
32138
+ } | {
32139
+ message: string;
32140
+ error_code: "access_code_inactive";
32141
+ is_access_code_error: true;
32142
+ created_at?: string | undefined;
31803
32143
  } | {
31804
32144
  message: string;
31805
32145
  error_code: "salto_ks_user_not_subscribed";
@@ -31843,10 +32183,20 @@ export declare const batch: z.ZodObject<{
31843
32183
  message: string;
31844
32184
  warning_code: "code_modified_external_to_seam";
31845
32185
  created_at?: string | undefined;
32186
+ change_type?: "modified" | "removed" | undefined;
32187
+ modified_fields?: {
32188
+ from: string | null;
32189
+ to: string | null;
32190
+ field: string;
32191
+ }[] | undefined;
31846
32192
  } | {
31847
32193
  message: string;
31848
32194
  warning_code: "schlage_detected_duplicate";
31849
32195
  created_at?: string | undefined;
32196
+ } | {
32197
+ message: string;
32198
+ warning_code: "provider_issue";
32199
+ created_at?: string | undefined;
31850
32200
  } | {
31851
32201
  message: string;
31852
32202
  warning_code: "schlage_creation_outage";
@@ -36494,6 +36844,11 @@ export declare const batch: z.ZodObject<{
36494
36844
  created_at: string;
36495
36845
  error_code: "lockly_missing_wifi_bridge";
36496
36846
  is_device_error: true;
36847
+ } | {
36848
+ message: string;
36849
+ error_code: "provider_issue";
36850
+ is_access_code_error: true;
36851
+ created_at?: string | undefined;
36497
36852
  } | {
36498
36853
  message: string;
36499
36854
  error_code: "smartthings_failed_to_set_access_code";
@@ -36509,6 +36864,12 @@ export declare const batch: z.ZodObject<{
36509
36864
  error_code: "code_modified_external_to_seam";
36510
36865
  is_access_code_error: true;
36511
36866
  created_at?: string | undefined;
36867
+ change_type?: "modified" | "removed" | undefined;
36868
+ modified_fields?: {
36869
+ from: string | null;
36870
+ to: string | null;
36871
+ field: string;
36872
+ }[] | undefined;
36512
36873
  } | {
36513
36874
  message: string;
36514
36875
  error_code: "failed_to_set_on_device";
@@ -36571,6 +36932,11 @@ export declare const batch: z.ZodObject<{
36571
36932
  error_code: "august_lock_missing_keypad";
36572
36933
  is_access_code_error: true;
36573
36934
  created_at?: string | undefined;
36935
+ } | {
36936
+ message: string;
36937
+ error_code: "access_code_inactive";
36938
+ is_access_code_error: true;
36939
+ created_at?: string | undefined;
36574
36940
  } | {
36575
36941
  message: string;
36576
36942
  error_code: "salto_ks_user_not_subscribed";
@@ -36614,10 +36980,20 @@ export declare const batch: z.ZodObject<{
36614
36980
  message: string;
36615
36981
  warning_code: "code_modified_external_to_seam";
36616
36982
  created_at?: string | undefined;
36983
+ change_type?: "modified" | "removed" | undefined;
36984
+ modified_fields?: {
36985
+ from: string | null;
36986
+ to: string | null;
36987
+ field: string;
36988
+ }[] | undefined;
36617
36989
  } | {
36618
36990
  message: string;
36619
36991
  warning_code: "schlage_detected_duplicate";
36620
36992
  created_at?: string | undefined;
36993
+ } | {
36994
+ message: string;
36995
+ warning_code: "provider_issue";
36996
+ created_at?: string | undefined;
36621
36997
  } | {
36622
36998
  message: string;
36623
36999
  warning_code: "schlage_creation_outage";
@@ -36843,6 +37219,11 @@ export declare const batch: z.ZodObject<{
36843
37219
  created_at: string;
36844
37220
  error_code: "lockly_missing_wifi_bridge";
36845
37221
  is_device_error: true;
37222
+ } | {
37223
+ message: string;
37224
+ error_code: "provider_issue";
37225
+ is_access_code_error: true;
37226
+ created_at?: string | undefined;
36846
37227
  } | {
36847
37228
  message: string;
36848
37229
  error_code: "smartthings_failed_to_set_access_code";
@@ -36858,6 +37239,12 @@ export declare const batch: z.ZodObject<{
36858
37239
  error_code: "code_modified_external_to_seam";
36859
37240
  is_access_code_error: true;
36860
37241
  created_at?: string | undefined;
37242
+ change_type?: "modified" | "removed" | undefined;
37243
+ modified_fields?: {
37244
+ from: string | null;
37245
+ to: string | null;
37246
+ field: string;
37247
+ }[] | undefined;
36861
37248
  } | {
36862
37249
  message: string;
36863
37250
  error_code: "failed_to_set_on_device";
@@ -36920,6 +37307,11 @@ export declare const batch: z.ZodObject<{
36920
37307
  error_code: "august_lock_missing_keypad";
36921
37308
  is_access_code_error: true;
36922
37309
  created_at?: string | undefined;
37310
+ } | {
37311
+ message: string;
37312
+ error_code: "access_code_inactive";
37313
+ is_access_code_error: true;
37314
+ created_at?: string | undefined;
36923
37315
  } | {
36924
37316
  message: string;
36925
37317
  error_code: "salto_ks_user_not_subscribed";
@@ -36963,10 +37355,20 @@ export declare const batch: z.ZodObject<{
36963
37355
  message: string;
36964
37356
  warning_code: "code_modified_external_to_seam";
36965
37357
  created_at?: string | undefined;
37358
+ change_type?: "modified" | "removed" | undefined;
37359
+ modified_fields?: {
37360
+ from: string | null;
37361
+ to: string | null;
37362
+ field: string;
37363
+ }[] | undefined;
36966
37364
  } | {
36967
37365
  message: string;
36968
37366
  warning_code: "schlage_detected_duplicate";
36969
37367
  created_at?: string | undefined;
37368
+ } | {
37369
+ message: string;
37370
+ warning_code: "provider_issue";
37371
+ created_at?: string | undefined;
36970
37372
  } | {
36971
37373
  message: string;
36972
37374
  warning_code: "schlage_creation_outage";