@seamapi/types 1.1133.0 → 1.1135.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.
Files changed (30) hide show
  1. package/lib/seam/connect/models/access-grants/access-method.d.ts +66 -0
  2. package/lib/seam/connect/models/access-grants/access-method.js +9 -0
  3. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  4. package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
  5. package/lib/seam/connect/models/acs/acs-credential.js +9 -0
  6. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +190 -0
  8. package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +29 -0
  9. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +58 -0
  10. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +74 -0
  11. package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +29 -0
  12. package/lib/seam/connect/models/devices/device-metadata.d.ts +23 -0
  13. package/lib/seam/connect/models/devices/device-metadata.js +8 -0
  14. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  15. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  16. package/lib/seam/connect/models/devices/device-type.js +1 -0
  17. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  18. package/lib/seam/connect/models/devices/device.d.ts +36 -3
  19. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -3
  20. package/lib/seam/connect/models/phones/phone-session.d.ts +66 -0
  21. package/lib/seam/connect/openapi.js +268 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +2197 -170
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/access-grants/access-method.ts +12 -0
  26. package/src/lib/seam/connect/models/acs/acs-credential.ts +12 -0
  27. package/src/lib/seam/connect/models/devices/device-metadata.ts +9 -0
  28. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  29. package/src/lib/seam/connect/openapi.ts +312 -0
  30. package/src/lib/seam/connect/route-types.ts +2362 -0
@@ -147,6 +147,19 @@ declare const phone_provider_session: z.ZodObject<{
147
147
  warning_code: "requested_code_unavailable";
148
148
  original_code: string;
149
149
  new_code: string;
150
+ }>, z.ZodObject<{
151
+ created_at: z.ZodString;
152
+ message: z.ZodString;
153
+ } & {
154
+ warning_code: z.ZodLiteral<"schedule_rounded_up">;
155
+ }, "strip", z.ZodTypeAny, {
156
+ message: string;
157
+ created_at: string;
158
+ warning_code: "schedule_rounded_up";
159
+ }, {
160
+ message: string;
161
+ created_at: string;
162
+ warning_code: "schedule_rounded_up";
150
163
  }>]>, "many">;
151
164
  is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
152
165
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -780,6 +793,10 @@ declare const phone_provider_session: z.ZodObject<{
780
793
  warning_code: "requested_code_unavailable";
781
794
  original_code: string;
782
795
  new_code: string;
796
+ } | {
797
+ message: string;
798
+ created_at: string;
799
+ warning_code: "schedule_rounded_up";
783
800
  })[];
784
801
  is_managed: true;
785
802
  acs_system_id: string;
@@ -975,6 +992,10 @@ declare const phone_provider_session: z.ZodObject<{
975
992
  warning_code: "requested_code_unavailable";
976
993
  original_code: string;
977
994
  new_code: string;
995
+ } | {
996
+ message: string;
997
+ created_at: string;
998
+ warning_code: "schedule_rounded_up";
978
999
  })[];
979
1000
  is_managed: true;
980
1001
  acs_system_id: string;
@@ -1172,6 +1193,10 @@ declare const phone_provider_session: z.ZodObject<{
1172
1193
  warning_code: "requested_code_unavailable";
1173
1194
  original_code: string;
1174
1195
  new_code: string;
1196
+ } | {
1197
+ message: string;
1198
+ created_at: string;
1199
+ warning_code: "schedule_rounded_up";
1175
1200
  })[];
1176
1201
  is_managed: true;
1177
1202
  acs_system_id: string;
@@ -1375,6 +1400,10 @@ declare const phone_provider_session: z.ZodObject<{
1375
1400
  warning_code: "requested_code_unavailable";
1376
1401
  original_code: string;
1377
1402
  new_code: string;
1403
+ } | {
1404
+ message: string;
1405
+ created_at: string;
1406
+ warning_code: "schedule_rounded_up";
1378
1407
  })[];
1379
1408
  is_managed: true;
1380
1409
  acs_system_id: string;
@@ -1687,6 +1716,19 @@ export declare const phone_session: z.ZodObject<{
1687
1716
  warning_code: "requested_code_unavailable";
1688
1717
  original_code: string;
1689
1718
  new_code: string;
1719
+ }>, z.ZodObject<{
1720
+ created_at: z.ZodString;
1721
+ message: z.ZodString;
1722
+ } & {
1723
+ warning_code: z.ZodLiteral<"schedule_rounded_up">;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ message: string;
1726
+ created_at: string;
1727
+ warning_code: "schedule_rounded_up";
1728
+ }, {
1729
+ message: string;
1730
+ created_at: string;
1731
+ warning_code: "schedule_rounded_up";
1690
1732
  }>]>, "many">;
1691
1733
  is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
1692
1734
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -2320,6 +2362,10 @@ export declare const phone_session: z.ZodObject<{
2320
2362
  warning_code: "requested_code_unavailable";
2321
2363
  original_code: string;
2322
2364
  new_code: string;
2365
+ } | {
2366
+ message: string;
2367
+ created_at: string;
2368
+ warning_code: "schedule_rounded_up";
2323
2369
  })[];
2324
2370
  is_managed: true;
2325
2371
  acs_system_id: string;
@@ -2515,6 +2561,10 @@ export declare const phone_session: z.ZodObject<{
2515
2561
  warning_code: "requested_code_unavailable";
2516
2562
  original_code: string;
2517
2563
  new_code: string;
2564
+ } | {
2565
+ message: string;
2566
+ created_at: string;
2567
+ warning_code: "schedule_rounded_up";
2518
2568
  })[];
2519
2569
  is_managed: true;
2520
2570
  acs_system_id: string;
@@ -2712,6 +2762,10 @@ export declare const phone_session: z.ZodObject<{
2712
2762
  warning_code: "requested_code_unavailable";
2713
2763
  original_code: string;
2714
2764
  new_code: string;
2765
+ } | {
2766
+ message: string;
2767
+ created_at: string;
2768
+ warning_code: "schedule_rounded_up";
2715
2769
  })[];
2716
2770
  is_managed: true;
2717
2771
  acs_system_id: string;
@@ -2915,6 +2969,10 @@ export declare const phone_session: z.ZodObject<{
2915
2969
  warning_code: "requested_code_unavailable";
2916
2970
  original_code: string;
2917
2971
  new_code: string;
2972
+ } | {
2973
+ message: string;
2974
+ created_at: string;
2975
+ warning_code: "schedule_rounded_up";
2918
2976
  })[];
2919
2977
  is_managed: true;
2920
2978
  acs_system_id: string;
@@ -3239,6 +3297,10 @@ export declare const phone_session: z.ZodObject<{
3239
3297
  warning_code: "requested_code_unavailable";
3240
3298
  original_code: string;
3241
3299
  new_code: string;
3300
+ } | {
3301
+ message: string;
3302
+ created_at: string;
3303
+ warning_code: "schedule_rounded_up";
3242
3304
  })[];
3243
3305
  is_managed: true;
3244
3306
  acs_system_id: string;
@@ -3475,6 +3537,10 @@ export declare const phone_session: z.ZodObject<{
3475
3537
  warning_code: "requested_code_unavailable";
3476
3538
  original_code: string;
3477
3539
  new_code: string;
3540
+ } | {
3541
+ message: string;
3542
+ created_at: string;
3543
+ warning_code: "schedule_rounded_up";
3478
3544
  })[];
3479
3545
  is_managed: true;
3480
3546
  acs_system_id: string;
@@ -2675,6 +2675,27 @@ const openapi = {
2675
2675
  ],
2676
2676
  type: 'object',
2677
2677
  },
2678
+ {
2679
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
2680
+ properties: {
2681
+ created_at: {
2682
+ description: 'Date and time at which Seam created the warning.',
2683
+ format: 'date-time',
2684
+ type: 'string',
2685
+ },
2686
+ message: {
2687
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2688
+ type: 'string',
2689
+ },
2690
+ warning_code: {
2691
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2692
+ enum: ['schedule_rounded_up'],
2693
+ type: 'string',
2694
+ },
2695
+ },
2696
+ required: ['created_at', 'message', 'warning_code'],
2697
+ type: 'object',
2698
+ },
2678
2699
  ],
2679
2700
  },
2680
2701
  type: 'array',
@@ -3630,6 +3651,27 @@ const openapi = {
3630
3651
  ],
3631
3652
  type: 'object',
3632
3653
  },
3654
+ {
3655
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
3656
+ properties: {
3657
+ created_at: {
3658
+ description: 'Date and time at which Seam created the warning.',
3659
+ format: 'date-time',
3660
+ type: 'string',
3661
+ },
3662
+ message: {
3663
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
3664
+ type: 'string',
3665
+ },
3666
+ warning_code: {
3667
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
3668
+ enum: ['schedule_rounded_up'],
3669
+ type: 'string',
3670
+ },
3671
+ },
3672
+ required: ['created_at', 'message', 'warning_code'],
3673
+ type: 'object',
3674
+ },
3633
3675
  ],
3634
3676
  },
3635
3677
  type: 'array',
@@ -6390,6 +6432,31 @@ const openapi = {
6390
6432
  ],
6391
6433
  type: 'object',
6392
6434
  },
6435
+ {
6436
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
6437
+ properties: {
6438
+ created_at: {
6439
+ description: 'Date and time at which Seam created the warning.',
6440
+ format: 'date-time',
6441
+ type: 'string',
6442
+ },
6443
+ message: {
6444
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
6445
+ type: 'string',
6446
+ },
6447
+ warning_code: {
6448
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6449
+ enum: ['schedule_rounded_up'],
6450
+ type: 'string',
6451
+ },
6452
+ },
6453
+ required: [
6454
+ 'created_at',
6455
+ 'message',
6456
+ 'warning_code',
6457
+ ],
6458
+ type: 'object',
6459
+ },
6393
6460
  ],
6394
6461
  },
6395
6462
  type: 'array',
@@ -6834,6 +6901,31 @@ const openapi = {
6834
6901
  ],
6835
6902
  type: 'object',
6836
6903
  },
6904
+ {
6905
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
6906
+ properties: {
6907
+ created_at: {
6908
+ description: 'Date and time at which Seam created the warning.',
6909
+ format: 'date-time',
6910
+ type: 'string',
6911
+ },
6912
+ message: {
6913
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
6914
+ type: 'string',
6915
+ },
6916
+ warning_code: {
6917
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6918
+ enum: ['schedule_rounded_up'],
6919
+ type: 'string',
6920
+ },
6921
+ },
6922
+ required: [
6923
+ 'created_at',
6924
+ 'message',
6925
+ 'warning_code',
6926
+ ],
6927
+ type: 'object',
6928
+ },
6837
6929
  ],
6838
6930
  },
6839
6931
  type: 'array',
@@ -7506,6 +7598,31 @@ const openapi = {
7506
7598
  ],
7507
7599
  type: 'object',
7508
7600
  },
7601
+ {
7602
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
7603
+ properties: {
7604
+ created_at: {
7605
+ description: 'Date and time at which Seam created the warning.',
7606
+ format: 'date-time',
7607
+ type: 'string',
7608
+ },
7609
+ message: {
7610
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
7611
+ type: 'string',
7612
+ },
7613
+ warning_code: {
7614
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
7615
+ enum: ['schedule_rounded_up'],
7616
+ type: 'string',
7617
+ },
7618
+ },
7619
+ required: [
7620
+ 'created_at',
7621
+ 'message',
7622
+ 'warning_code',
7623
+ ],
7624
+ type: 'object',
7625
+ },
7509
7626
  ],
7510
7627
  },
7511
7628
  type: 'array',
@@ -7948,6 +8065,31 @@ const openapi = {
7948
8065
  ],
7949
8066
  type: 'object',
7950
8067
  },
8068
+ {
8069
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
8070
+ properties: {
8071
+ created_at: {
8072
+ description: 'Date and time at which Seam created the warning.',
8073
+ format: 'date-time',
8074
+ type: 'string',
8075
+ },
8076
+ message: {
8077
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
8078
+ type: 'string',
8079
+ },
8080
+ warning_code: {
8081
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
8082
+ enum: ['schedule_rounded_up'],
8083
+ type: 'string',
8084
+ },
8085
+ },
8086
+ required: [
8087
+ 'created_at',
8088
+ 'message',
8089
+ 'warning_code',
8090
+ ],
8091
+ type: 'object',
8092
+ },
7951
8093
  ],
7952
8094
  },
7953
8095
  type: 'array',
@@ -8625,6 +8767,27 @@ const openapi = {
8625
8767
  ],
8626
8768
  type: 'object',
8627
8769
  },
8770
+ {
8771
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
8772
+ properties: {
8773
+ created_at: {
8774
+ description: 'Date and time at which Seam created the warning.',
8775
+ format: 'date-time',
8776
+ type: 'string',
8777
+ },
8778
+ message: {
8779
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
8780
+ type: 'string',
8781
+ },
8782
+ warning_code: {
8783
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
8784
+ enum: ['schedule_rounded_up'],
8785
+ type: 'string',
8786
+ },
8787
+ },
8788
+ required: ['created_at', 'message', 'warning_code'],
8789
+ type: 'object',
8790
+ },
8628
8791
  ],
8629
8792
  },
8630
8793
  type: 'array',
@@ -9283,6 +9446,27 @@ const openapi = {
9283
9446
  ],
9284
9447
  type: 'object',
9285
9448
  },
9449
+ {
9450
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
9451
+ properties: {
9452
+ created_at: {
9453
+ description: 'Date and time at which Seam created the warning.',
9454
+ format: 'date-time',
9455
+ type: 'string',
9456
+ },
9457
+ message: {
9458
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
9459
+ type: 'string',
9460
+ },
9461
+ warning_code: {
9462
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
9463
+ enum: ['schedule_rounded_up'],
9464
+ type: 'string',
9465
+ },
9466
+ },
9467
+ required: ['created_at', 'message', 'warning_code'],
9468
+ type: 'object',
9469
+ },
9286
9470
  ],
9287
9471
  },
9288
9472
  type: 'array',
@@ -13967,6 +14151,7 @@ const openapi = {
13967
14151
  'omnitec_lock',
13968
14152
  'kisi_lock',
13969
14153
  'aqara_lock',
14154
+ 'eufy_lock',
13970
14155
  ],
13971
14156
  type: 'string',
13972
14157
  },
@@ -15129,6 +15314,15 @@ const openapi = {
15129
15314
  },
15130
15315
  type: 'object',
15131
15316
  },
15317
+ eufy_metadata: {
15318
+ description: 'Metadata for a Eufy device.',
15319
+ properties: {
15320
+ device_id: { type: 'string' },
15321
+ device_name: { type: 'string' },
15322
+ model: { type: 'string' },
15323
+ },
15324
+ type: 'object',
15325
+ },
15132
15326
  four_suites_metadata: {
15133
15327
  description: 'Metadata for a 4SUITES device.',
15134
15328
  properties: {
@@ -31228,6 +31422,31 @@ const openapi = {
31228
31422
  ],
31229
31423
  type: 'object',
31230
31424
  },
31425
+ {
31426
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
31427
+ properties: {
31428
+ created_at: {
31429
+ description: 'Date and time at which Seam created the warning.',
31430
+ format: 'date-time',
31431
+ type: 'string',
31432
+ },
31433
+ message: {
31434
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
31435
+ type: 'string',
31436
+ },
31437
+ warning_code: {
31438
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
31439
+ enum: ['schedule_rounded_up'],
31440
+ type: 'string',
31441
+ },
31442
+ },
31443
+ required: [
31444
+ 'created_at',
31445
+ 'message',
31446
+ 'warning_code',
31447
+ ],
31448
+ type: 'object',
31449
+ },
31231
31450
  ],
31232
31451
  },
31233
31452
  type: 'array',
@@ -34209,6 +34428,27 @@ const openapi = {
34209
34428
  ],
34210
34429
  type: 'object',
34211
34430
  },
34431
+ {
34432
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
34433
+ properties: {
34434
+ created_at: {
34435
+ description: 'Date and time at which Seam created the warning.',
34436
+ format: 'date-time',
34437
+ type: 'string',
34438
+ },
34439
+ message: {
34440
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
34441
+ type: 'string',
34442
+ },
34443
+ warning_code: {
34444
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
34445
+ enum: ['schedule_rounded_up'],
34446
+ type: 'string',
34447
+ },
34448
+ },
34449
+ required: ['created_at', 'message', 'warning_code'],
34450
+ type: 'object',
34451
+ },
34212
34452
  ],
34213
34453
  },
34214
34454
  type: 'array',
@@ -35156,6 +35396,27 @@ const openapi = {
35156
35396
  ],
35157
35397
  type: 'object',
35158
35398
  },
35399
+ {
35400
+ description: 'Indicates that the access system can only end card access on fixed time marks, so access was extended past `ends_at` to the next mark. The message states when access actually ends.',
35401
+ properties: {
35402
+ created_at: {
35403
+ description: 'Date and time at which Seam created the warning.',
35404
+ format: 'date-time',
35405
+ type: 'string',
35406
+ },
35407
+ message: {
35408
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
35409
+ type: 'string',
35410
+ },
35411
+ warning_code: {
35412
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
35413
+ enum: ['schedule_rounded_up'],
35414
+ type: 'string',
35415
+ },
35416
+ },
35417
+ required: ['created_at', 'message', 'warning_code'],
35418
+ type: 'object',
35419
+ },
35159
35420
  ],
35160
35421
  },
35161
35422
  type: 'array',
@@ -36192,6 +36453,7 @@ const openapi = {
36192
36453
  'omnitec_lock',
36193
36454
  'kisi_lock',
36194
36455
  'aqara_lock',
36456
+ 'eufy_lock',
36195
36457
  ],
36196
36458
  type: 'string',
36197
36459
  },
@@ -49674,6 +49936,7 @@ const openapi = {
49674
49936
  'omnitec_lock',
49675
49937
  'kisi_lock',
49676
49938
  'aqara_lock',
49939
+ 'eufy_lock',
49677
49940
  ],
49678
49941
  type: 'string',
49679
49942
  },
@@ -49763,6 +50026,7 @@ const openapi = {
49763
50026
  'omnitec_lock',
49764
50027
  'kisi_lock',
49765
50028
  'aqara_lock',
50029
+ 'eufy_lock',
49766
50030
  ],
49767
50031
  type: 'string',
49768
50032
  },
@@ -51989,6 +52253,7 @@ const openapi = {
51989
52253
  'omnitec_lock',
51990
52254
  'kisi_lock',
51991
52255
  'aqara_lock',
52256
+ 'eufy_lock',
51992
52257
  ],
51993
52258
  type: 'string',
51994
52259
  },
@@ -52078,6 +52343,7 @@ const openapi = {
52078
52343
  'omnitec_lock',
52079
52344
  'kisi_lock',
52080
52345
  'aqara_lock',
52346
+ 'eufy_lock',
52081
52347
  ],
52082
52348
  type: 'string',
52083
52349
  },
@@ -53489,6 +53755,7 @@ const openapi = {
53489
53755
  'omnitec_lock',
53490
53756
  'kisi_lock',
53491
53757
  'aqara_lock',
53758
+ 'eufy_lock',
53492
53759
  ],
53493
53760
  type: 'string',
53494
53761
  },
@@ -53532,6 +53799,7 @@ const openapi = {
53532
53799
  'omnitec_lock',
53533
53800
  'kisi_lock',
53534
53801
  'aqara_lock',
53802
+ 'eufy_lock',
53535
53803
  ],
53536
53804
  type: 'string',
53537
53805
  },