@seamapi/types 1.681.0 → 1.682.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.
@@ -373,15 +373,15 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
373
373
  is_access_code_error: z.ZodLiteral<true>;
374
374
  created_at: z.ZodOptional<z.ZodString>;
375
375
  } & {
376
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
376
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
377
377
  }, "strip", z.ZodTypeAny, {
378
378
  message: string;
379
- error_code: "dormakaba_oracode_no_valid_user_level";
379
+ error_code: "dormakaba_oracode_invalid_time_range";
380
380
  is_access_code_error: true;
381
381
  created_at?: string | undefined;
382
382
  }, {
383
383
  message: string;
384
- error_code: "dormakaba_oracode_no_valid_user_level";
384
+ error_code: "dormakaba_oracode_invalid_time_range";
385
385
  is_access_code_error: true;
386
386
  created_at?: string | undefined;
387
387
  }>, z.ZodObject<{
@@ -973,15 +973,15 @@ declare const access_code: z.ZodObject<{
973
973
  is_access_code_error: z.ZodLiteral<true>;
974
974
  created_at: z.ZodOptional<z.ZodString>;
975
975
  } & {
976
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
976
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
977
977
  }, "strip", z.ZodTypeAny, {
978
978
  message: string;
979
- error_code: "dormakaba_oracode_no_valid_user_level";
979
+ error_code: "dormakaba_oracode_invalid_time_range";
980
980
  is_access_code_error: true;
981
981
  created_at?: string | undefined;
982
982
  }, {
983
983
  message: string;
984
- error_code: "dormakaba_oracode_no_valid_user_level";
984
+ error_code: "dormakaba_oracode_invalid_time_range";
985
985
  is_access_code_error: true;
986
986
  created_at?: string | undefined;
987
987
  }>, z.ZodObject<{
@@ -1760,7 +1760,7 @@ declare const access_code: z.ZodObject<{
1760
1760
  created_at?: string | undefined;
1761
1761
  } | {
1762
1762
  message: string;
1763
- error_code: "dormakaba_oracode_no_valid_user_level";
1763
+ error_code: "dormakaba_oracode_invalid_time_range";
1764
1764
  is_access_code_error: true;
1765
1765
  created_at?: string | undefined;
1766
1766
  } | {
@@ -2063,7 +2063,7 @@ declare const access_code: z.ZodObject<{
2063
2063
  created_at?: string | undefined;
2064
2064
  } | {
2065
2065
  message: string;
2066
- error_code: "dormakaba_oracode_no_valid_user_level";
2066
+ error_code: "dormakaba_oracode_invalid_time_range";
2067
2067
  is_access_code_error: true;
2068
2068
  created_at?: string | undefined;
2069
2069
  } | {
@@ -2523,15 +2523,15 @@ declare const unmanaged_access_code: z.ZodObject<{
2523
2523
  is_access_code_error: z.ZodLiteral<true>;
2524
2524
  created_at: z.ZodOptional<z.ZodString>;
2525
2525
  } & {
2526
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
2526
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
2527
2527
  }, "strip", z.ZodTypeAny, {
2528
2528
  message: string;
2529
- error_code: "dormakaba_oracode_no_valid_user_level";
2529
+ error_code: "dormakaba_oracode_invalid_time_range";
2530
2530
  is_access_code_error: true;
2531
2531
  created_at?: string | undefined;
2532
2532
  }, {
2533
2533
  message: string;
2534
- error_code: "dormakaba_oracode_no_valid_user_level";
2534
+ error_code: "dormakaba_oracode_invalid_time_range";
2535
2535
  is_access_code_error: true;
2536
2536
  created_at?: string | undefined;
2537
2537
  }>, z.ZodObject<{
@@ -3304,7 +3304,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3304
3304
  created_at?: string | undefined;
3305
3305
  } | {
3306
3306
  message: string;
3307
- error_code: "dormakaba_oracode_no_valid_user_level";
3307
+ error_code: "dormakaba_oracode_invalid_time_range";
3308
3308
  is_access_code_error: true;
3309
3309
  created_at?: string | undefined;
3310
3310
  } | {
@@ -3598,7 +3598,7 @@ declare const unmanaged_access_code: z.ZodObject<{
3598
3598
  created_at?: string | undefined;
3599
3599
  } | {
3600
3600
  message: string;
3601
- error_code: "dormakaba_oracode_no_valid_user_level";
3601
+ error_code: "dormakaba_oracode_invalid_time_range";
3602
3602
  is_access_code_error: true;
3603
3603
  created_at?: string | undefined;
3604
3604
  } | {
@@ -29115,15 +29115,15 @@ declare const batch: z.ZodObject<{
29115
29115
  is_access_code_error: z.ZodLiteral<true>;
29116
29116
  created_at: z.ZodOptional<z.ZodString>;
29117
29117
  } & {
29118
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
29118
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
29119
29119
  }, "strip", z.ZodTypeAny, {
29120
29120
  message: string;
29121
- error_code: "dormakaba_oracode_no_valid_user_level";
29121
+ error_code: "dormakaba_oracode_invalid_time_range";
29122
29122
  is_access_code_error: true;
29123
29123
  created_at?: string | undefined;
29124
29124
  }, {
29125
29125
  message: string;
29126
- error_code: "dormakaba_oracode_no_valid_user_level";
29126
+ error_code: "dormakaba_oracode_invalid_time_range";
29127
29127
  is_access_code_error: true;
29128
29128
  created_at?: string | undefined;
29129
29129
  }>, z.ZodObject<{
@@ -29902,7 +29902,7 @@ declare const batch: z.ZodObject<{
29902
29902
  created_at?: string | undefined;
29903
29903
  } | {
29904
29904
  message: string;
29905
- error_code: "dormakaba_oracode_no_valid_user_level";
29905
+ error_code: "dormakaba_oracode_invalid_time_range";
29906
29906
  is_access_code_error: true;
29907
29907
  created_at?: string | undefined;
29908
29908
  } | {
@@ -30205,7 +30205,7 @@ declare const batch: z.ZodObject<{
30205
30205
  created_at?: string | undefined;
30206
30206
  } | {
30207
30207
  message: string;
30208
- error_code: "dormakaba_oracode_no_valid_user_level";
30208
+ error_code: "dormakaba_oracode_invalid_time_range";
30209
30209
  is_access_code_error: true;
30210
30210
  created_at?: string | undefined;
30211
30211
  } | {
@@ -30663,15 +30663,15 @@ declare const batch: z.ZodObject<{
30663
30663
  is_access_code_error: z.ZodLiteral<true>;
30664
30664
  created_at: z.ZodOptional<z.ZodString>;
30665
30665
  } & {
30666
- error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
30666
+ error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
30667
30667
  }, "strip", z.ZodTypeAny, {
30668
30668
  message: string;
30669
- error_code: "dormakaba_oracode_no_valid_user_level";
30669
+ error_code: "dormakaba_oracode_invalid_time_range";
30670
30670
  is_access_code_error: true;
30671
30671
  created_at?: string | undefined;
30672
30672
  }, {
30673
30673
  message: string;
30674
- error_code: "dormakaba_oracode_no_valid_user_level";
30674
+ error_code: "dormakaba_oracode_invalid_time_range";
30675
30675
  is_access_code_error: true;
30676
30676
  created_at?: string | undefined;
30677
30677
  }>, z.ZodObject<{
@@ -31444,7 +31444,7 @@ declare const batch: z.ZodObject<{
31444
31444
  created_at?: string | undefined;
31445
31445
  } | {
31446
31446
  message: string;
31447
- error_code: "dormakaba_oracode_no_valid_user_level";
31447
+ error_code: "dormakaba_oracode_invalid_time_range";
31448
31448
  is_access_code_error: true;
31449
31449
  created_at?: string | undefined;
31450
31450
  } | {
@@ -31738,7 +31738,7 @@ declare const batch: z.ZodObject<{
31738
31738
  created_at?: string | undefined;
31739
31739
  } | {
31740
31740
  message: string;
31741
- error_code: "dormakaba_oracode_no_valid_user_level";
31741
+ error_code: "dormakaba_oracode_invalid_time_range";
31742
31742
  is_access_code_error: true;
31743
31743
  created_at?: string | undefined;
31744
31744
  } | {
@@ -35619,7 +35619,7 @@ declare const batch: z.ZodObject<{
35619
35619
  created_at?: string | undefined;
35620
35620
  } | {
35621
35621
  message: string;
35622
- error_code: "dormakaba_oracode_no_valid_user_level";
35622
+ error_code: "dormakaba_oracode_invalid_time_range";
35623
35623
  is_access_code_error: true;
35624
35624
  created_at?: string | undefined;
35625
35625
  } | {
@@ -35923,7 +35923,7 @@ declare const batch: z.ZodObject<{
35923
35923
  created_at?: string | undefined;
35924
35924
  } | {
35925
35925
  message: string;
35926
- error_code: "dormakaba_oracode_no_valid_user_level";
35926
+ error_code: "dormakaba_oracode_invalid_time_range";
35927
35927
  is_access_code_error: true;
35928
35928
  created_at?: string | undefined;
35929
35929
  } | {
@@ -39677,7 +39677,7 @@ declare const batch: z.ZodObject<{
39677
39677
  created_at?: string | undefined;
39678
39678
  } | {
39679
39679
  message: string;
39680
- error_code: "dormakaba_oracode_no_valid_user_level";
39680
+ error_code: "dormakaba_oracode_invalid_time_range";
39681
39681
  is_access_code_error: true;
39682
39682
  created_at?: string | undefined;
39683
39683
  } | {
@@ -39981,7 +39981,7 @@ declare const batch: z.ZodObject<{
39981
39981
  created_at?: string | undefined;
39982
39982
  } | {
39983
39983
  message: string;
39984
- error_code: "dormakaba_oracode_no_valid_user_level";
39984
+ error_code: "dormakaba_oracode_invalid_time_range";
39985
39985
  is_access_code_error: true;
39986
39986
  created_at?: string | undefined;
39987
39987
  } | {
@@ -115492,7 +115492,7 @@ type Routes = {
115492
115492
  /** Date and time at which Seam created the error. */
115493
115493
  created_at?: string | undefined;
115494
115494
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
115495
- error_code: 'dormakaba_oracode_no_valid_user_level';
115495
+ error_code: 'dormakaba_oracode_invalid_time_range';
115496
115496
  } | {
115497
115497
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
115498
115498
  message: string;
@@ -116054,7 +116054,7 @@ type Routes = {
116054
116054
  /** Date and time at which Seam created the error. */
116055
116055
  created_at?: string | undefined;
116056
116056
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
116057
- error_code: 'dormakaba_oracode_no_valid_user_level';
116057
+ error_code: 'dormakaba_oracode_invalid_time_range';
116058
116058
  } | {
116059
116059
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
116060
116060
  message: string;
@@ -117882,7 +117882,7 @@ type Routes = {
117882
117882
  /** Date and time at which Seam created the error. */
117883
117883
  created_at?: string | undefined;
117884
117884
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117885
- error_code: 'dormakaba_oracode_no_valid_user_level';
117885
+ error_code: 'dormakaba_oracode_invalid_time_range';
117886
117886
  } | {
117887
117887
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117888
117888
  message: string;
@@ -118418,7 +118418,7 @@ type Routes = {
118418
118418
  /** Date and time at which Seam created the error. */
118419
118419
  created_at?: string | undefined;
118420
118420
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118421
- error_code: 'dormakaba_oracode_no_valid_user_level';
118421
+ error_code: 'dormakaba_oracode_invalid_time_range';
118422
118422
  } | {
118423
118423
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118424
118424
  message: string;
@@ -118960,7 +118960,7 @@ type Routes = {
118960
118960
  /** Date and time at which Seam created the error. */
118961
118961
  created_at?: string | undefined;
118962
118962
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118963
- error_code: 'dormakaba_oracode_no_valid_user_level';
118963
+ error_code: 'dormakaba_oracode_invalid_time_range';
118964
118964
  } | {
118965
118965
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118966
118966
  message: string;
@@ -119479,7 +119479,7 @@ type Routes = {
119479
119479
  /** Date and time at which Seam created the error. */
119480
119480
  created_at?: string | undefined;
119481
119481
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119482
- error_code: 'dormakaba_oracode_no_valid_user_level';
119482
+ error_code: 'dormakaba_oracode_invalid_time_range';
119483
119483
  } | {
119484
119484
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119485
119485
  message: string;
@@ -120033,7 +120033,7 @@ type Routes = {
120033
120033
  /** Date and time at which Seam created the error. */
120034
120034
  created_at?: string | undefined;
120035
120035
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
120036
- error_code: 'dormakaba_oracode_no_valid_user_level';
120036
+ error_code: 'dormakaba_oracode_invalid_time_range';
120037
120037
  } | {
120038
120038
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
120039
120039
  message: string;
@@ -121848,7 +121848,7 @@ type Routes = {
121848
121848
  /** Date and time at which Seam created the error. */
121849
121849
  created_at?: string | undefined;
121850
121850
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121851
- error_code: 'dormakaba_oracode_no_valid_user_level';
121851
+ error_code: 'dormakaba_oracode_invalid_time_range';
121852
121852
  } | {
121853
121853
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121854
121854
  message: string;
@@ -122362,7 +122362,7 @@ type Routes = {
122362
122362
  /** Date and time at which Seam created the error. */
122363
122363
  created_at?: string | undefined;
122364
122364
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
122365
- error_code: 'dormakaba_oracode_no_valid_user_level';
122365
+ error_code: 'dormakaba_oracode_invalid_time_range';
122366
122366
  } | {
122367
122367
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
122368
122368
  message: string;
@@ -197770,7 +197770,7 @@ type Routes = {
197770
197770
  /** Date and time at which Seam created the error. */
197771
197771
  created_at?: string | undefined;
197772
197772
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
197773
- error_code: 'dormakaba_oracode_no_valid_user_level';
197773
+ error_code: 'dormakaba_oracode_invalid_time_range';
197774
197774
  } | {
197775
197775
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
197776
197776
  message: string;
@@ -198270,7 +198270,7 @@ type Routes = {
198270
198270
  /** Date and time at which Seam created the error. */
198271
198271
  created_at?: string | undefined;
198272
198272
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
198273
- error_code: 'dormakaba_oracode_no_valid_user_level';
198273
+ error_code: 'dormakaba_oracode_invalid_time_range';
198274
198274
  } | {
198275
198275
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
198276
198276
  message: string;
package/dist/index.cjs CHANGED
@@ -2063,9 +2063,11 @@ var wyze_duplicate_code_name = common_access_code_error.extend({
2063
2063
  var wyze_potential_duplicate_code = common_access_code_error.extend({
2064
2064
  error_code: zod.z.literal("wyze_potential_duplicate_code").describe(error_code_description3)
2065
2065
  }).describe("Potential duplicate access code detected.");
2066
- var dormakaba_oracode_no_valid_user_level = common_access_code_error.extend({
2067
- error_code: zod.z.literal("dormakaba_oracode_no_valid_user_level").describe(error_code_description3)
2068
- }).describe("No valid user level for Oracode.");
2066
+ var dormakaba_oracode_invalid_time_range = common_access_code_error.extend({
2067
+ error_code: zod.z.literal("dormakaba_oracode_invalid_time_range").describe(error_code_description3)
2068
+ }).describe(
2069
+ "No Dormakaba Oracode user levels configured for the requested time range."
2070
+ );
2069
2071
  var keynest_unsupported_third_party_locker = common_access_code_error.extend({
2070
2072
  error_code: zod.z.literal("keynest_unsupported_third_party_locker").describe(error_code_description3)
2071
2073
  }).describe("KeyNest locker is not supported.");
@@ -2093,7 +2095,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2093
2095
  hubitat_no_free_positions_available,
2094
2096
  wyze_duplicate_code_name,
2095
2097
  wyze_potential_duplicate_code,
2096
- dormakaba_oracode_no_valid_user_level,
2098
+ dormakaba_oracode_invalid_time_range,
2097
2099
  kwikset_insufficient_permissions,
2098
2100
  keynest_unsupported_third_party_locker
2099
2101
  ]).describe(
@@ -2124,7 +2126,7 @@ zod.z.object({
2124
2126
  hubitat_no_free_positions_available: hubitat_no_free_positions_available.optional().nullable(),
2125
2127
  wyze_duplicate_code_name: wyze_duplicate_code_name.optional().nullable(),
2126
2128
  wyze_potential_duplicate_code: wyze_potential_duplicate_code.optional().nullable(),
2127
- dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level.optional().nullable(),
2129
+ dormakaba_oracode_invalid_time_range: dormakaba_oracode_invalid_time_range.optional().nullable(),
2128
2130
  keynest_unsupported_third_party_locker: keynest_unsupported_third_party_locker.optional().nullable()
2129
2131
  });
2130
2132
  var common_access_code_warning = zod.z.object({
@@ -6541,7 +6543,7 @@ var openapi_default = {
6541
6543
  type: "object"
6542
6544
  },
6543
6545
  {
6544
- description: "No valid user level for Oracode.",
6546
+ description: "No Dormakaba Oracode user levels configured for the requested time range.",
6545
6547
  properties: {
6546
6548
  created_at: {
6547
6549
  description: "Date and time at which Seam created the error.",
@@ -6550,7 +6552,7 @@ var openapi_default = {
6550
6552
  },
6551
6553
  error_code: {
6552
6554
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
6553
- enum: ["dormakaba_oracode_no_valid_user_level"],
6555
+ enum: ["dormakaba_oracode_invalid_time_range"],
6554
6556
  type: "string"
6555
6557
  },
6556
6558
  is_access_code_error: {
@@ -25909,7 +25911,7 @@ var openapi_default = {
25909
25911
  type: "object"
25910
25912
  },
25911
25913
  {
25912
- description: "No valid user level for Oracode.",
25914
+ description: "No Dormakaba Oracode user levels configured for the requested time range.",
25913
25915
  properties: {
25914
25916
  created_at: {
25915
25917
  description: "Date and time at which Seam created the error.",
@@ -25918,7 +25920,7 @@ var openapi_default = {
25918
25920
  },
25919
25921
  error_code: {
25920
25922
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
25921
- enum: ["dormakaba_oracode_no_valid_user_level"],
25923
+ enum: ["dormakaba_oracode_invalid_time_range"],
25922
25924
  type: "string"
25923
25925
  },
25924
25926
  is_access_code_error: {