@seamapi/types 1.823.0 → 1.825.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.
@@ -86,16 +86,19 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
86
86
  created_at: z.ZodOptional<z.ZodString>;
87
87
  } & {
88
88
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
89
+ unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
89
90
  }, "strip", z.ZodTypeAny, {
90
91
  message: string;
91
92
  error_code: "duplicate_code_on_device";
92
93
  is_access_code_error: true;
93
94
  created_at?: string | undefined;
95
+ unmanaged_access_code_id?: string | undefined;
94
96
  }, {
95
97
  message: string;
96
98
  error_code: "duplicate_code_on_device";
97
99
  is_access_code_error: true;
98
100
  created_at?: string | undefined;
101
+ unmanaged_access_code_id?: string | undefined;
99
102
  }>, z.ZodObject<{
100
103
  message: z.ZodString;
101
104
  is_access_code_error: z.ZodLiteral<true>;
@@ -661,16 +664,19 @@ declare const access_code: z.ZodObject<{
661
664
  created_at: z.ZodOptional<z.ZodString>;
662
665
  } & {
663
666
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
667
+ unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
664
668
  }, "strip", z.ZodTypeAny, {
665
669
  message: string;
666
670
  error_code: "duplicate_code_on_device";
667
671
  is_access_code_error: true;
668
672
  created_at?: string | undefined;
673
+ unmanaged_access_code_id?: string | undefined;
669
674
  }, {
670
675
  message: string;
671
676
  error_code: "duplicate_code_on_device";
672
677
  is_access_code_error: true;
673
678
  created_at?: string | undefined;
679
+ unmanaged_access_code_id?: string | undefined;
674
680
  }>, z.ZodObject<{
675
681
  message: z.ZodString;
676
682
  is_access_code_error: z.ZodLiteral<true>;
@@ -1816,6 +1822,7 @@ declare const access_code: z.ZodObject<{
1816
1822
  error_code: "duplicate_code_on_device";
1817
1823
  is_access_code_error: true;
1818
1824
  created_at?: string | undefined;
1825
+ unmanaged_access_code_id?: string | undefined;
1819
1826
  } | {
1820
1827
  message: string;
1821
1828
  error_code: "duplicate_code_attempt_prevented";
@@ -2167,6 +2174,7 @@ declare const access_code: z.ZodObject<{
2167
2174
  error_code: "duplicate_code_on_device";
2168
2175
  is_access_code_error: true;
2169
2176
  created_at?: string | undefined;
2177
+ unmanaged_access_code_id?: string | undefined;
2170
2178
  } | {
2171
2179
  message: string;
2172
2180
  error_code: "duplicate_code_attempt_prevented";
@@ -2480,16 +2488,19 @@ declare const unmanaged_access_code: z.ZodObject<{
2480
2488
  created_at: z.ZodOptional<z.ZodString>;
2481
2489
  } & {
2482
2490
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
2491
+ unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
2483
2492
  }, "strip", z.ZodTypeAny, {
2484
2493
  message: string;
2485
2494
  error_code: "duplicate_code_on_device";
2486
2495
  is_access_code_error: true;
2487
2496
  created_at?: string | undefined;
2497
+ unmanaged_access_code_id?: string | undefined;
2488
2498
  }, {
2489
2499
  message: string;
2490
2500
  error_code: "duplicate_code_on_device";
2491
2501
  is_access_code_error: true;
2492
2502
  created_at?: string | undefined;
2503
+ unmanaged_access_code_id?: string | undefined;
2493
2504
  }>, z.ZodObject<{
2494
2505
  message: z.ZodString;
2495
2506
  is_access_code_error: z.ZodLiteral<true>;
@@ -3294,7 +3305,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3294
3305
  access_code_id: z.ZodString;
3295
3306
  } & {
3296
3307
  is_managed: z.ZodLiteral<false>;
3297
- status: z.ZodEnum<["set"]>;
3308
+ status: z.ZodEnum<["set", "unset"]>;
3298
3309
  dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3299
3310
  stay_id: z.ZodNumber;
3300
3311
  user_level_id: z.ZodOptional<z.ZodString>;
@@ -3326,7 +3337,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3326
3337
  }, "strip", z.ZodTypeAny, {
3327
3338
  code: string | null;
3328
3339
  type: "time_bound" | "ongoing";
3329
- status: "set";
3340
+ status: "set" | "unset";
3330
3341
  name: string | null;
3331
3342
  device_id: string;
3332
3343
  workspace_id: string;
@@ -3459,6 +3470,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3459
3470
  error_code: "duplicate_code_on_device";
3460
3471
  is_access_code_error: true;
3461
3472
  created_at?: string | undefined;
3473
+ unmanaged_access_code_id?: string | undefined;
3462
3474
  } | {
3463
3475
  message: string;
3464
3476
  error_code: "duplicate_code_attempt_prevented";
@@ -3622,7 +3634,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3622
3634
  }, {
3623
3635
  code: string | null;
3624
3636
  type: "time_bound" | "ongoing";
3625
- status: "set";
3637
+ status: "set" | "unset";
3626
3638
  name: string | null;
3627
3639
  device_id: string;
3628
3640
  workspace_id: string;
@@ -3755,6 +3767,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3755
3767
  error_code: "duplicate_code_on_device";
3756
3768
  is_access_code_error: true;
3757
3769
  created_at?: string | undefined;
3770
+ unmanaged_access_code_id?: string | undefined;
3758
3771
  } | {
3759
3772
  message: string;
3760
3773
  error_code: "duplicate_code_attempt_prevented";
@@ -34894,16 +34907,19 @@ declare const batch: z.ZodObject<{
34894
34907
  created_at: z.ZodOptional<z.ZodString>;
34895
34908
  } & {
34896
34909
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
34910
+ unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
34897
34911
  }, "strip", z.ZodTypeAny, {
34898
34912
  message: string;
34899
34913
  error_code: "duplicate_code_on_device";
34900
34914
  is_access_code_error: true;
34901
34915
  created_at?: string | undefined;
34916
+ unmanaged_access_code_id?: string | undefined;
34902
34917
  }, {
34903
34918
  message: string;
34904
34919
  error_code: "duplicate_code_on_device";
34905
34920
  is_access_code_error: true;
34906
34921
  created_at?: string | undefined;
34922
+ unmanaged_access_code_id?: string | undefined;
34907
34923
  }>, z.ZodObject<{
34908
34924
  message: z.ZodString;
34909
34925
  is_access_code_error: z.ZodLiteral<true>;
@@ -36049,6 +36065,7 @@ declare const batch: z.ZodObject<{
36049
36065
  error_code: "duplicate_code_on_device";
36050
36066
  is_access_code_error: true;
36051
36067
  created_at?: string | undefined;
36068
+ unmanaged_access_code_id?: string | undefined;
36052
36069
  } | {
36053
36070
  message: string;
36054
36071
  error_code: "duplicate_code_attempt_prevented";
@@ -36400,6 +36417,7 @@ declare const batch: z.ZodObject<{
36400
36417
  error_code: "duplicate_code_on_device";
36401
36418
  is_access_code_error: true;
36402
36419
  created_at?: string | undefined;
36420
+ unmanaged_access_code_id?: string | undefined;
36403
36421
  } | {
36404
36422
  message: string;
36405
36423
  error_code: "duplicate_code_attempt_prevented";
@@ -36711,16 +36729,19 @@ declare const batch: z.ZodObject<{
36711
36729
  created_at: z.ZodOptional<z.ZodString>;
36712
36730
  } & {
36713
36731
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
36732
+ unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
36714
36733
  }, "strip", z.ZodTypeAny, {
36715
36734
  message: string;
36716
36735
  error_code: "duplicate_code_on_device";
36717
36736
  is_access_code_error: true;
36718
36737
  created_at?: string | undefined;
36738
+ unmanaged_access_code_id?: string | undefined;
36719
36739
  }, {
36720
36740
  message: string;
36721
36741
  error_code: "duplicate_code_on_device";
36722
36742
  is_access_code_error: true;
36723
36743
  created_at?: string | undefined;
36744
+ unmanaged_access_code_id?: string | undefined;
36724
36745
  }>, z.ZodObject<{
36725
36746
  message: z.ZodString;
36726
36747
  is_access_code_error: z.ZodLiteral<true>;
@@ -37525,7 +37546,7 @@ declare const batch: z.ZodObject<{
37525
37546
  access_code_id: z.ZodString;
37526
37547
  } & {
37527
37548
  is_managed: z.ZodLiteral<false>;
37528
- status: z.ZodEnum<["set"]>;
37549
+ status: z.ZodEnum<["set", "unset"]>;
37529
37550
  dormakaba_oracode_metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
37530
37551
  stay_id: z.ZodNumber;
37531
37552
  user_level_id: z.ZodOptional<z.ZodString>;
@@ -37557,7 +37578,7 @@ declare const batch: z.ZodObject<{
37557
37578
  }, "strip", z.ZodTypeAny, {
37558
37579
  code: string | null;
37559
37580
  type: "time_bound" | "ongoing";
37560
- status: "set";
37581
+ status: "set" | "unset";
37561
37582
  name: string | null;
37562
37583
  device_id: string;
37563
37584
  workspace_id: string;
@@ -37690,6 +37711,7 @@ declare const batch: z.ZodObject<{
37690
37711
  error_code: "duplicate_code_on_device";
37691
37712
  is_access_code_error: true;
37692
37713
  created_at?: string | undefined;
37714
+ unmanaged_access_code_id?: string | undefined;
37693
37715
  } | {
37694
37716
  message: string;
37695
37717
  error_code: "duplicate_code_attempt_prevented";
@@ -37853,7 +37875,7 @@ declare const batch: z.ZodObject<{
37853
37875
  }, {
37854
37876
  code: string | null;
37855
37877
  type: "time_bound" | "ongoing";
37856
- status: "set";
37878
+ status: "set" | "unset";
37857
37879
  name: string | null;
37858
37880
  device_id: string;
37859
37881
  workspace_id: string;
@@ -37986,6 +38008,7 @@ declare const batch: z.ZodObject<{
37986
38008
  error_code: "duplicate_code_on_device";
37987
38009
  is_access_code_error: true;
37988
38010
  created_at?: string | undefined;
38011
+ unmanaged_access_code_id?: string | undefined;
37989
38012
  } | {
37990
38013
  message: string;
37991
38014
  error_code: "duplicate_code_attempt_prevented";
@@ -42721,6 +42744,7 @@ declare const batch: z.ZodObject<{
42721
42744
  error_code: "duplicate_code_on_device";
42722
42745
  is_access_code_error: true;
42723
42746
  created_at?: string | undefined;
42747
+ unmanaged_access_code_id?: string | undefined;
42724
42748
  } | {
42725
42749
  message: string;
42726
42750
  error_code: "duplicate_code_attempt_prevented";
@@ -42940,7 +42964,7 @@ declare const batch: z.ZodObject<{
42940
42964
  unmanaged_access_codes?: {
42941
42965
  code: string | null;
42942
42966
  type: "time_bound" | "ongoing";
42943
- status: "set";
42967
+ status: "set" | "unset";
42944
42968
  name: string | null;
42945
42969
  device_id: string;
42946
42970
  workspace_id: string;
@@ -43073,6 +43097,7 @@ declare const batch: z.ZodObject<{
43073
43097
  error_code: "duplicate_code_on_device";
43074
43098
  is_access_code_error: true;
43075
43099
  created_at?: string | undefined;
43100
+ unmanaged_access_code_id?: string | undefined;
43076
43101
  } | {
43077
43102
  message: string;
43078
43103
  error_code: "duplicate_code_attempt_prevented";
@@ -47681,6 +47706,7 @@ declare const batch: z.ZodObject<{
47681
47706
  error_code: "duplicate_code_on_device";
47682
47707
  is_access_code_error: true;
47683
47708
  created_at?: string | undefined;
47709
+ unmanaged_access_code_id?: string | undefined;
47684
47710
  } | {
47685
47711
  message: string;
47686
47712
  error_code: "duplicate_code_attempt_prevented";
@@ -47900,7 +47926,7 @@ declare const batch: z.ZodObject<{
47900
47926
  unmanaged_access_codes?: {
47901
47927
  code: string | null;
47902
47928
  type: "time_bound" | "ongoing";
47903
- status: "set";
47929
+ status: "set" | "unset";
47904
47930
  name: string | null;
47905
47931
  device_id: string;
47906
47932
  workspace_id: string;
@@ -48033,6 +48059,7 @@ declare const batch: z.ZodObject<{
48033
48059
  error_code: "duplicate_code_on_device";
48034
48060
  is_access_code_error: true;
48035
48061
  created_at?: string | undefined;
48062
+ unmanaged_access_code_id?: string | undefined;
48036
48063
  } | {
48037
48064
  message: string;
48038
48065
  error_code: "duplicate_code_attempt_prevented";
@@ -65184,6 +65211,8 @@ type Routes = {
65184
65211
  created_at?: string | undefined;
65185
65212
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65186
65213
  error_code: 'duplicate_code_on_device';
65214
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
65215
+ unmanaged_access_code_id?: string | undefined;
65187
65216
  } | {
65188
65217
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65189
65218
  message: string;
@@ -65821,6 +65850,8 @@ type Routes = {
65821
65850
  created_at?: string | undefined;
65822
65851
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65823
65852
  error_code: 'duplicate_code_on_device';
65853
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
65854
+ unmanaged_access_code_id?: string | undefined;
65824
65855
  } | {
65825
65856
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65826
65857
  message: string;
@@ -67804,6 +67835,8 @@ type Routes = {
67804
67835
  created_at?: string | undefined;
67805
67836
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67806
67837
  error_code: 'duplicate_code_on_device';
67838
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
67839
+ unmanaged_access_code_id?: string | undefined;
67807
67840
  } | {
67808
67841
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67809
67842
  message: string;
@@ -68487,6 +68520,8 @@ type Routes = {
68487
68520
  created_at?: string | undefined;
68488
68521
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68489
68522
  error_code: 'duplicate_code_on_device';
68523
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
68524
+ unmanaged_access_code_id?: string | undefined;
68490
68525
  } | {
68491
68526
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68492
68527
  message: string;
@@ -69113,6 +69148,8 @@ type Routes = {
69113
69148
  created_at?: string | undefined;
69114
69149
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69115
69150
  error_code: 'duplicate_code_on_device';
69151
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
69152
+ unmanaged_access_code_id?: string | undefined;
69116
69153
  } | {
69117
69154
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69118
69155
  message: string;
@@ -69716,6 +69753,8 @@ type Routes = {
69716
69753
  created_at?: string | undefined;
69717
69754
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69718
69755
  error_code: 'duplicate_code_on_device';
69756
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
69757
+ unmanaged_access_code_id?: string | undefined;
69719
69758
  } | {
69720
69759
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69721
69760
  message: string;
@@ -70354,6 +70393,8 @@ type Routes = {
70354
70393
  created_at?: string | undefined;
70355
70394
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70356
70395
  error_code: 'duplicate_code_on_device';
70396
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
70397
+ unmanaged_access_code_id?: string | undefined;
70357
70398
  } | {
70358
70399
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70359
70400
  message: string;
@@ -70760,8 +70801,8 @@ type Routes = {
70760
70801
  starts_at?: (string | null) | undefined;
70761
70802
  /** Date and time after which the time-bound access code becomes inactive. */
70762
70803
  ends_at?: (string | null) | undefined;
70763
- /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
70764
- status: 'set';
70804
+ /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
70805
+ status: 'set' | 'unset';
70765
70806
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
70766
70807
  dormakaba_oracode_metadata?: ({
70767
70808
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -72244,6 +72285,8 @@ type Routes = {
72244
72285
  created_at?: string | undefined;
72245
72286
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72246
72287
  error_code: 'duplicate_code_on_device';
72288
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
72289
+ unmanaged_access_code_id?: string | undefined;
72247
72290
  } | {
72248
72291
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72249
72292
  message: string;
@@ -72650,8 +72693,8 @@ type Routes = {
72650
72693
  starts_at?: (string | null) | undefined;
72651
72694
  /** Date and time after which the time-bound access code becomes inactive. */
72652
72695
  ends_at?: (string | null) | undefined;
72653
- /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
72654
- status: 'set';
72696
+ /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
72697
+ status: 'set' | 'unset';
72655
72698
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
72656
72699
  dormakaba_oracode_metadata?: ({
72657
72700
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -72764,6 +72807,8 @@ type Routes = {
72764
72807
  created_at?: string | undefined;
72765
72808
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72766
72809
  error_code: 'duplicate_code_on_device';
72810
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
72811
+ unmanaged_access_code_id?: string | undefined;
72767
72812
  } | {
72768
72813
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72769
72814
  message: string;
@@ -73170,8 +73215,8 @@ type Routes = {
73170
73215
  starts_at?: (string | null) | undefined;
73171
73216
  /** Date and time after which the time-bound access code becomes inactive. */
73172
73217
  ends_at?: (string | null) | undefined;
73173
- /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
73174
- status: 'set';
73218
+ /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
73219
+ status: 'set' | 'unset';
73175
73220
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
73176
73221
  dormakaba_oracode_metadata?: ({
73177
73222
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -163542,6 +163587,8 @@ type Routes = {
163542
163587
  created_at?: string | undefined;
163543
163588
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
163544
163589
  error_code: 'duplicate_code_on_device';
163590
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
163591
+ unmanaged_access_code_id?: string | undefined;
163545
163592
  } | {
163546
163593
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
163547
163594
  message: string;
@@ -163948,8 +163995,8 @@ type Routes = {
163948
163995
  starts_at?: (string | null) | undefined;
163949
163996
  /** Date and time after which the time-bound access code becomes inactive. */
163950
163997
  ends_at?: (string | null) | undefined;
163951
- /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
163952
- status: 'set';
163998
+ /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */
163999
+ status: 'set' | 'unset';
163953
164000
  /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */
163954
164001
  dormakaba_oracode_metadata?: ({
163955
164002
  /** Dormakaba Oracode stay ID associated with this access code. */
@@ -164046,6 +164093,8 @@ type Routes = {
164046
164093
  created_at?: string | undefined;
164047
164094
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
164048
164095
  error_code: 'duplicate_code_on_device';
164096
+ /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
164097
+ unmanaged_access_code_id?: string | undefined;
164049
164098
  } | {
164050
164099
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
164051
164100
  message: string;
package/dist/index.cjs CHANGED
@@ -2260,7 +2260,10 @@ var failed_to_remove_from_device = common_access_code_error.extend({
2260
2260
  error_code: zod.z.literal("failed_to_remove_from_device").describe(error_code_description3)
2261
2261
  }).describe("Failed to remove code from device.");
2262
2262
  var duplicate_code_on_device = common_access_code_error.extend({
2263
- error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3)
2263
+ error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3),
2264
+ unmanaged_access_code_id: zod.z.string().uuid().optional().describe(
2265
+ "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it."
2266
+ )
2264
2267
  }).describe("Duplicate access code detected on device.");
2265
2268
  var duplicate_code_attempt_prevented = common_access_code_error.extend({
2266
2269
  error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
@@ -2624,8 +2627,8 @@ var unmanaged_access_code = access_code.pick({
2624
2627
  ends_at: true
2625
2628
  }).extend({
2626
2629
  is_managed: zod.z.literal(false).describe("Indicates that Seam does not manage the access code."),
2627
- status: zod.z.enum(["set"]).describe(
2628
- "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational."
2630
+ status: zod.z.enum(["set", "unset"]).describe(
2631
+ "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device."
2629
2632
  ),
2630
2633
  dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata.nullable().optional().describe(
2631
2634
  "Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices."
@@ -7135,6 +7138,11 @@ var openapi = {
7135
7138
  message: {
7136
7139
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7137
7140
  type: "string"
7141
+ },
7142
+ unmanaged_access_code_id: {
7143
+ description: "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.",
7144
+ format: "uuid",
7145
+ type: "string"
7138
7146
  }
7139
7147
  },
7140
7148
  required: ["message", "is_access_code_error", "error_code"],
@@ -30669,6 +30677,11 @@ var openapi = {
30669
30677
  message: {
30670
30678
  description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
30671
30679
  type: "string"
30680
+ },
30681
+ unmanaged_access_code_id: {
30682
+ description: "ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.",
30683
+ format: "uuid",
30684
+ type: "string"
30672
30685
  }
30673
30686
  },
30674
30687
  required: ["message", "is_access_code_error", "error_code"],
@@ -31600,8 +31613,8 @@ var openapi = {
31600
31613
  type: "string"
31601
31614
  },
31602
31615
  status: {
31603
- description: "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.",
31604
- enum: ["set"],
31616
+ description: "Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.",
31617
+ enum: ["set", "unset"],
31605
31618
  type: "string"
31606
31619
  },
31607
31620
  type: {