@seamapi/types 1.764.0 → 1.765.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.
@@ -526,6 +526,19 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
526
526
  }>, z.ZodObject<{
527
527
  message: z.ZodString;
528
528
  created_at: z.ZodOptional<z.ZodString>;
529
+ } & {
530
+ warning_code: z.ZodLiteral<"using_backup_access_code">;
531
+ }, "strip", z.ZodTypeAny, {
532
+ message: string;
533
+ warning_code: "using_backup_access_code";
534
+ created_at?: string | undefined;
535
+ }, {
536
+ message: string;
537
+ warning_code: "using_backup_access_code";
538
+ created_at?: string | undefined;
539
+ }>, z.ZodObject<{
540
+ message: z.ZodString;
541
+ created_at: z.ZodOptional<z.ZodString>;
529
542
  } & {
530
543
  warning_code: z.ZodLiteral<"being_deleted">;
531
544
  }, "strip", z.ZodTypeAny, {
@@ -1409,6 +1422,19 @@ declare const access_code: z.ZodObject<{
1409
1422
  }>, z.ZodObject<{
1410
1423
  message: z.ZodString;
1411
1424
  created_at: z.ZodOptional<z.ZodString>;
1425
+ } & {
1426
+ warning_code: z.ZodLiteral<"using_backup_access_code">;
1427
+ }, "strip", z.ZodTypeAny, {
1428
+ message: string;
1429
+ warning_code: "using_backup_access_code";
1430
+ created_at?: string | undefined;
1431
+ }, {
1432
+ message: string;
1433
+ warning_code: "using_backup_access_code";
1434
+ created_at?: string | undefined;
1435
+ }>, z.ZodObject<{
1436
+ message: z.ZodString;
1437
+ created_at: z.ZodOptional<z.ZodString>;
1412
1438
  } & {
1413
1439
  warning_code: z.ZodLiteral<"being_deleted">;
1414
1440
  }, "strip", z.ZodTypeAny, {
@@ -1727,6 +1753,10 @@ declare const access_code: z.ZodObject<{
1727
1753
  message: string;
1728
1754
  warning_code: "ultraloq_access_code_disabled";
1729
1755
  created_at?: string | undefined;
1756
+ } | {
1757
+ message: string;
1758
+ warning_code: "using_backup_access_code";
1759
+ created_at?: string | undefined;
1730
1760
  } | {
1731
1761
  message: string;
1732
1762
  warning_code: "being_deleted";
@@ -2024,6 +2054,10 @@ declare const access_code: z.ZodObject<{
2024
2054
  message: string;
2025
2055
  warning_code: "ultraloq_access_code_disabled";
2026
2056
  created_at?: string | undefined;
2057
+ } | {
2058
+ message: string;
2059
+ warning_code: "using_backup_access_code";
2060
+ created_at?: string | undefined;
2027
2061
  } | {
2028
2062
  message: string;
2029
2063
  warning_code: "being_deleted";
@@ -2924,6 +2958,19 @@ declare const unmanaged_access_code: z.ZodObject<{
2924
2958
  }>, z.ZodObject<{
2925
2959
  message: z.ZodString;
2926
2960
  created_at: z.ZodOptional<z.ZodString>;
2961
+ } & {
2962
+ warning_code: z.ZodLiteral<"using_backup_access_code">;
2963
+ }, "strip", z.ZodTypeAny, {
2964
+ message: string;
2965
+ warning_code: "using_backup_access_code";
2966
+ created_at?: string | undefined;
2967
+ }, {
2968
+ message: string;
2969
+ warning_code: "using_backup_access_code";
2970
+ created_at?: string | undefined;
2971
+ }>, z.ZodObject<{
2972
+ message: z.ZodString;
2973
+ created_at: z.ZodOptional<z.ZodString>;
2927
2974
  } & {
2928
2975
  warning_code: z.ZodLiteral<"being_deleted">;
2929
2976
  }, "strip", z.ZodTypeAny, {
@@ -3236,6 +3283,10 @@ declare const unmanaged_access_code: z.ZodObject<{
3236
3283
  message: string;
3237
3284
  warning_code: "ultraloq_access_code_disabled";
3238
3285
  created_at?: string | undefined;
3286
+ } | {
3287
+ message: string;
3288
+ warning_code: "using_backup_access_code";
3289
+ created_at?: string | undefined;
3239
3290
  } | {
3240
3291
  message: string;
3241
3292
  warning_code: "being_deleted";
@@ -3524,6 +3575,10 @@ declare const unmanaged_access_code: z.ZodObject<{
3524
3575
  message: string;
3525
3576
  warning_code: "ultraloq_access_code_disabled";
3526
3577
  created_at?: string | undefined;
3578
+ } | {
3579
+ message: string;
3580
+ warning_code: "using_backup_access_code";
3581
+ created_at?: string | undefined;
3527
3582
  } | {
3528
3583
  message: string;
3529
3584
  warning_code: "being_deleted";
@@ -34601,6 +34656,19 @@ declare const batch: z.ZodObject<{
34601
34656
  }>, z.ZodObject<{
34602
34657
  message: z.ZodString;
34603
34658
  created_at: z.ZodOptional<z.ZodString>;
34659
+ } & {
34660
+ warning_code: z.ZodLiteral<"using_backup_access_code">;
34661
+ }, "strip", z.ZodTypeAny, {
34662
+ message: string;
34663
+ warning_code: "using_backup_access_code";
34664
+ created_at?: string | undefined;
34665
+ }, {
34666
+ message: string;
34667
+ warning_code: "using_backup_access_code";
34668
+ created_at?: string | undefined;
34669
+ }>, z.ZodObject<{
34670
+ message: z.ZodString;
34671
+ created_at: z.ZodOptional<z.ZodString>;
34604
34672
  } & {
34605
34673
  warning_code: z.ZodLiteral<"being_deleted">;
34606
34674
  }, "strip", z.ZodTypeAny, {
@@ -34919,6 +34987,10 @@ declare const batch: z.ZodObject<{
34919
34987
  message: string;
34920
34988
  warning_code: "ultraloq_access_code_disabled";
34921
34989
  created_at?: string | undefined;
34990
+ } | {
34991
+ message: string;
34992
+ warning_code: "using_backup_access_code";
34993
+ created_at?: string | undefined;
34922
34994
  } | {
34923
34995
  message: string;
34924
34996
  warning_code: "being_deleted";
@@ -35216,6 +35288,10 @@ declare const batch: z.ZodObject<{
35216
35288
  message: string;
35217
35289
  warning_code: "ultraloq_access_code_disabled";
35218
35290
  created_at?: string | undefined;
35291
+ } | {
35292
+ message: string;
35293
+ warning_code: "using_backup_access_code";
35294
+ created_at?: string | undefined;
35219
35295
  } | {
35220
35296
  message: string;
35221
35297
  warning_code: "being_deleted";
@@ -36114,6 +36190,19 @@ declare const batch: z.ZodObject<{
36114
36190
  }>, z.ZodObject<{
36115
36191
  message: z.ZodString;
36116
36192
  created_at: z.ZodOptional<z.ZodString>;
36193
+ } & {
36194
+ warning_code: z.ZodLiteral<"using_backup_access_code">;
36195
+ }, "strip", z.ZodTypeAny, {
36196
+ message: string;
36197
+ warning_code: "using_backup_access_code";
36198
+ created_at?: string | undefined;
36199
+ }, {
36200
+ message: string;
36201
+ warning_code: "using_backup_access_code";
36202
+ created_at?: string | undefined;
36203
+ }>, z.ZodObject<{
36204
+ message: z.ZodString;
36205
+ created_at: z.ZodOptional<z.ZodString>;
36117
36206
  } & {
36118
36207
  warning_code: z.ZodLiteral<"being_deleted">;
36119
36208
  }, "strip", z.ZodTypeAny, {
@@ -36426,6 +36515,10 @@ declare const batch: z.ZodObject<{
36426
36515
  message: string;
36427
36516
  warning_code: "ultraloq_access_code_disabled";
36428
36517
  created_at?: string | undefined;
36518
+ } | {
36519
+ message: string;
36520
+ warning_code: "using_backup_access_code";
36521
+ created_at?: string | undefined;
36429
36522
  } | {
36430
36523
  message: string;
36431
36524
  warning_code: "being_deleted";
@@ -36714,6 +36807,10 @@ declare const batch: z.ZodObject<{
36714
36807
  message: string;
36715
36808
  warning_code: "ultraloq_access_code_disabled";
36716
36809
  created_at?: string | undefined;
36810
+ } | {
36811
+ message: string;
36812
+ warning_code: "using_backup_access_code";
36813
+ created_at?: string | undefined;
36717
36814
  } | {
36718
36815
  message: string;
36719
36816
  warning_code: "being_deleted";
@@ -41355,6 +41452,10 @@ declare const batch: z.ZodObject<{
41355
41452
  message: string;
41356
41453
  warning_code: "ultraloq_access_code_disabled";
41357
41454
  created_at?: string | undefined;
41455
+ } | {
41456
+ message: string;
41457
+ warning_code: "using_backup_access_code";
41458
+ created_at?: string | undefined;
41358
41459
  } | {
41359
41460
  message: string;
41360
41461
  warning_code: "being_deleted";
@@ -41653,6 +41754,10 @@ declare const batch: z.ZodObject<{
41653
41754
  message: string;
41654
41755
  warning_code: "ultraloq_access_code_disabled";
41655
41756
  created_at?: string | undefined;
41757
+ } | {
41758
+ message: string;
41759
+ warning_code: "using_backup_access_code";
41760
+ created_at?: string | undefined;
41656
41761
  } | {
41657
41762
  message: string;
41658
41763
  warning_code: "being_deleted";
@@ -46167,6 +46272,10 @@ declare const batch: z.ZodObject<{
46167
46272
  message: string;
46168
46273
  warning_code: "ultraloq_access_code_disabled";
46169
46274
  created_at?: string | undefined;
46275
+ } | {
46276
+ message: string;
46277
+ warning_code: "using_backup_access_code";
46278
+ created_at?: string | undefined;
46170
46279
  } | {
46171
46280
  message: string;
46172
46281
  warning_code: "being_deleted";
@@ -46465,6 +46574,10 @@ declare const batch: z.ZodObject<{
46465
46574
  message: string;
46466
46575
  warning_code: "ultraloq_access_code_disabled";
46467
46576
  created_at?: string | undefined;
46577
+ } | {
46578
+ message: string;
46579
+ warning_code: "using_backup_access_code";
46580
+ created_at?: string | undefined;
46468
46581
  } | {
46469
46582
  message: string;
46470
46583
  warning_code: "being_deleted";
@@ -134921,6 +135034,13 @@ type Routes = {
134921
135034
  created_at?: string | undefined;
134922
135035
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
134923
135036
  warning_code: 'ultraloq_access_code_disabled';
135037
+ } | {
135038
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
135039
+ message: string;
135040
+ /** Date and time at which Seam created the warning. */
135041
+ created_at?: string | undefined;
135042
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
135043
+ warning_code: 'using_backup_access_code';
134924
135044
  } | {
134925
135045
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
134926
135046
  message: string;
@@ -135462,6 +135582,13 @@ type Routes = {
135462
135582
  created_at?: string | undefined;
135463
135583
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
135464
135584
  warning_code: 'ultraloq_access_code_disabled';
135585
+ } | {
135586
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
135587
+ message: string;
135588
+ /** Date and time at which Seam created the warning. */
135589
+ created_at?: string | undefined;
135590
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
135591
+ warning_code: 'using_backup_access_code';
135465
135592
  } | {
135466
135593
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
135467
135594
  message: string;
@@ -137286,6 +137413,13 @@ type Routes = {
137286
137413
  created_at?: string | undefined;
137287
137414
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137288
137415
  warning_code: 'ultraloq_access_code_disabled';
137416
+ } | {
137417
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
137418
+ message: string;
137419
+ /** Date and time at which Seam created the warning. */
137420
+ created_at?: string | undefined;
137421
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137422
+ warning_code: 'using_backup_access_code';
137289
137423
  } | {
137290
137424
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
137291
137425
  message: string;
@@ -137873,6 +138007,13 @@ type Routes = {
137873
138007
  created_at?: string | undefined;
137874
138008
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
137875
138009
  warning_code: 'ultraloq_access_code_disabled';
138010
+ } | {
138011
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
138012
+ message: string;
138013
+ /** Date and time at which Seam created the warning. */
138014
+ created_at?: string | undefined;
138015
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
138016
+ warning_code: 'using_backup_access_code';
137876
138017
  } | {
137877
138018
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
137878
138019
  message: string;
@@ -138405,6 +138546,13 @@ type Routes = {
138405
138546
  created_at?: string | undefined;
138406
138547
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
138407
138548
  warning_code: 'ultraloq_access_code_disabled';
138549
+ } | {
138550
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
138551
+ message: string;
138552
+ /** Date and time at which Seam created the warning. */
138553
+ created_at?: string | undefined;
138554
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
138555
+ warning_code: 'using_backup_access_code';
138408
138556
  } | {
138409
138557
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
138410
138558
  message: string;
@@ -138914,6 +139062,13 @@ type Routes = {
138914
139062
  created_at?: string | undefined;
138915
139063
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
138916
139064
  warning_code: 'ultraloq_access_code_disabled';
139065
+ } | {
139066
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
139067
+ message: string;
139068
+ /** Date and time at which Seam created the warning. */
139069
+ created_at?: string | undefined;
139070
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
139071
+ warning_code: 'using_backup_access_code';
138917
139072
  } | {
138918
139073
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
138919
139074
  message: string;
@@ -139458,6 +139613,13 @@ type Routes = {
139458
139613
  created_at?: string | undefined;
139459
139614
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
139460
139615
  warning_code: 'ultraloq_access_code_disabled';
139616
+ } | {
139617
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
139618
+ message: string;
139619
+ /** Date and time at which Seam created the warning. */
139620
+ created_at?: string | undefined;
139621
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
139622
+ warning_code: 'using_backup_access_code';
139461
139623
  } | {
139462
139624
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
139463
139625
  message: string;
@@ -141269,6 +141431,13 @@ type Routes = {
141269
141431
  created_at?: string | undefined;
141270
141432
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
141271
141433
  warning_code: 'ultraloq_access_code_disabled';
141434
+ } | {
141435
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
141436
+ message: string;
141437
+ /** Date and time at which Seam created the warning. */
141438
+ created_at?: string | undefined;
141439
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
141440
+ warning_code: 'using_backup_access_code';
141272
141441
  } | {
141273
141442
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
141274
141443
  message: string;
@@ -141775,6 +141944,13 @@ type Routes = {
141775
141944
  created_at?: string | undefined;
141776
141945
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
141777
141946
  warning_code: 'ultraloq_access_code_disabled';
141947
+ } | {
141948
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
141949
+ message: string;
141950
+ /** Date and time at which Seam created the warning. */
141951
+ created_at?: string | undefined;
141952
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
141953
+ warning_code: 'using_backup_access_code';
141778
141954
  } | {
141779
141955
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
141780
141956
  message: string;
@@ -228226,6 +228402,13 @@ type Routes = {
228226
228402
  created_at?: string | undefined;
228227
228403
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
228228
228404
  warning_code: 'ultraloq_access_code_disabled';
228405
+ } | {
228406
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
228407
+ message: string;
228408
+ /** Date and time at which Seam created the warning. */
228409
+ created_at?: string | undefined;
228410
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
228411
+ warning_code: 'using_backup_access_code';
228229
228412
  } | {
228230
228413
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
228231
228414
  message: string;
@@ -228716,6 +228899,13 @@ type Routes = {
228716
228899
  created_at?: string | undefined;
228717
228900
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
228718
228901
  warning_code: 'ultraloq_access_code_disabled';
228902
+ } | {
228903
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
228904
+ message: string;
228905
+ /** Date and time at which Seam created the warning. */
228906
+ created_at?: string | undefined;
228907
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
228908
+ warning_code: 'using_backup_access_code';
228719
228909
  } | {
228720
228910
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
228721
228911
  message: string;
package/dist/index.cjs CHANGED
@@ -2289,6 +2289,11 @@ var ultraloq_access_code_disabled = common_access_code_warning.extend({
2289
2289
  }).describe(
2290
2290
  "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app."
2291
2291
  );
2292
+ var using_backup_access_code = common_access_code_warning.extend({
2293
+ warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
2294
+ }).describe(
2295
+ "A backup access code has been pulled and is being used in place of this access code."
2296
+ );
2292
2297
  var being_deleted2 = common_access_code_warning.extend({
2293
2298
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
2294
2299
  }).describe("Access code is being deleted.");
@@ -2306,6 +2311,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2306
2311
  management_transferred,
2307
2312
  kwikset_unable_to_confirm_code_warning,
2308
2313
  ultraloq_access_code_disabled,
2314
+ using_backup_access_code,
2309
2315
  being_deleted2
2310
2316
  ]).describe(
2311
2317
  "Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
@@ -2324,6 +2330,7 @@ zod.z.object({
2324
2330
  management_transferred: management_transferred.optional().nullable(),
2325
2331
  kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable(),
2326
2332
  ultraloq_access_code_disabled: ultraloq_access_code_disabled.optional().nullable(),
2333
+ using_backup_access_code: using_backup_access_code.optional().nullable(),
2327
2334
  being_deleted: being_deleted2.optional().nullable()
2328
2335
  });
2329
2336
  var dormakaba_oracode_access_code_metadata = zod.z.object({
@@ -8059,6 +8066,27 @@ var openapi_default = {
8059
8066
  required: ["message", "warning_code"],
8060
8067
  type: "object"
8061
8068
  },
8069
+ {
8070
+ description: "A backup access code has been pulled and is being used in place of this access code.",
8071
+ properties: {
8072
+ created_at: {
8073
+ description: "Date and time at which Seam created the warning.",
8074
+ format: "date-time",
8075
+ type: "string"
8076
+ },
8077
+ message: {
8078
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8079
+ type: "string"
8080
+ },
8081
+ warning_code: {
8082
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8083
+ enum: ["using_backup_access_code"],
8084
+ type: "string"
8085
+ }
8086
+ },
8087
+ required: ["message", "warning_code"],
8088
+ type: "object"
8089
+ },
8062
8090
  {
8063
8091
  description: "Access code is being deleted.",
8064
8092
  properties: {
@@ -30845,6 +30873,27 @@ var openapi_default = {
30845
30873
  required: ["message", "warning_code"],
30846
30874
  type: "object"
30847
30875
  },
30876
+ {
30877
+ description: "A backup access code has been pulled and is being used in place of this access code.",
30878
+ properties: {
30879
+ created_at: {
30880
+ description: "Date and time at which Seam created the warning.",
30881
+ format: "date-time",
30882
+ type: "string"
30883
+ },
30884
+ message: {
30885
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
30886
+ type: "string"
30887
+ },
30888
+ warning_code: {
30889
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
30890
+ enum: ["using_backup_access_code"],
30891
+ type: "string"
30892
+ }
30893
+ },
30894
+ required: ["message", "warning_code"],
30895
+ type: "object"
30896
+ },
30848
30897
  {
30849
30898
  description: "Access code is being deleted.",
30850
30899
  properties: {