@seamapi/types 1.81.0 → 1.82.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.
@@ -15,7 +15,7 @@ declare const connect_webview: z.ZodObject<{
15
15
  status: z.ZodEnum<["pending", "failed", "authorized"]>;
16
16
  custom_redirect_url: z.ZodNullable<z.ZodString>;
17
17
  custom_redirect_failure_url: z.ZodNullable<z.ZodString>;
18
- custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull, z.ZodBoolean]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
18
+ custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, Record<string, string | boolean>, Record<string, string | boolean>>;
19
19
  automatically_manage_new_devices: z.ZodBoolean;
20
20
  wait_for_device_creation: z.ZodBoolean;
21
21
  authorized_at: z.ZodNullable<z.ZodString>;
@@ -34,7 +34,7 @@ declare const connect_webview: z.ZodObject<{
34
34
  login_successful: boolean;
35
35
  custom_redirect_url: string | null;
36
36
  custom_redirect_failure_url: string | null;
37
- custom_metadata: Record<string, string | number | boolean | null>;
37
+ custom_metadata: Record<string, string | boolean>;
38
38
  automatically_manage_new_devices: boolean;
39
39
  wait_for_device_creation: boolean;
40
40
  authorized_at: string | null;
@@ -54,7 +54,7 @@ declare const connect_webview: z.ZodObject<{
54
54
  login_successful: boolean;
55
55
  custom_redirect_url: string | null;
56
56
  custom_redirect_failure_url: string | null;
57
- custom_metadata: Record<string, string | number | boolean | null>;
57
+ custom_metadata: Record<string, string | boolean>;
58
58
  automatically_manage_new_devices: boolean;
59
59
  wait_for_device_creation: boolean;
60
60
  authorized_at: string | null;
@@ -63,7 +63,7 @@ declare const connect_webview: z.ZodObject<{
63
63
  }>;
64
64
  type ConnectWebview = z.infer<typeof connect_webview>;
65
65
 
66
- declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull, z.ZodBoolean]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
66
+ declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, Record<string, string | boolean>, Record<string, string | boolean>>;
67
67
  type CustomMetadata = z.infer<typeof custom_metadata>;
68
68
 
69
69
  declare const schemas_connect_webview: typeof connect_webview;
@@ -580,22 +580,12 @@ declare const _default: {
580
580
  };
581
581
  custom_metadata: {
582
582
  additionalProperties: {
583
- nullable: boolean;
584
583
  oneOf: ({
585
584
  maxLength: number;
586
585
  type: string;
587
- format?: never;
588
- nullable?: never;
589
586
  } | {
590
587
  type: string;
591
588
  maxLength?: never;
592
- format?: never;
593
- nullable?: never;
594
- } | {
595
- format: string;
596
- nullable: boolean;
597
- type: string;
598
- maxLength?: never;
599
589
  })[];
600
590
  };
601
591
  type: string;
@@ -661,15 +651,12 @@ declare const _default: {
661
651
  };
662
652
  custom_metadata: {
663
653
  additionalProperties: {
664
- nullable: boolean;
665
654
  oneOf: ({
655
+ maxLength: number;
666
656
  type: string;
667
- format?: never;
668
- nullable?: never;
669
657
  } | {
670
- format: string;
671
- nullable: boolean;
672
658
  type: string;
659
+ maxLength?: never;
673
660
  })[];
674
661
  };
675
662
  type: string;
@@ -8557,6 +8544,100 @@ declare const _default: {
8557
8544
  'x-fern-sdk-method-name': string;
8558
8545
  };
8559
8546
  };
8547
+ '/acs/users/list_accessible_entrances': {
8548
+ post: {
8549
+ operationId: string;
8550
+ requestBody: {
8551
+ content: {
8552
+ 'application/json': {
8553
+ schema: {
8554
+ properties: {
8555
+ acs_user_id: {
8556
+ format: string;
8557
+ type: string;
8558
+ };
8559
+ };
8560
+ required: string[];
8561
+ type: string;
8562
+ };
8563
+ };
8564
+ };
8565
+ };
8566
+ responses: {
8567
+ 200: {
8568
+ content: {
8569
+ 'application/json': {
8570
+ schema: {
8571
+ properties: {
8572
+ acs_entrances: {
8573
+ items: {
8574
+ properties: {
8575
+ acs_entrance_id: {
8576
+ format: string;
8577
+ type: string;
8578
+ };
8579
+ acs_system_id: {
8580
+ format: string;
8581
+ type: string;
8582
+ };
8583
+ created_at: {
8584
+ format: string;
8585
+ type: string;
8586
+ };
8587
+ display_name: {
8588
+ type: string;
8589
+ };
8590
+ };
8591
+ required: string[];
8592
+ type: string;
8593
+ };
8594
+ type: string;
8595
+ };
8596
+ ok: {
8597
+ type: string;
8598
+ };
8599
+ };
8600
+ required: string[];
8601
+ type: string;
8602
+ };
8603
+ };
8604
+ };
8605
+ description: string;
8606
+ };
8607
+ 400: {
8608
+ description: string;
8609
+ };
8610
+ 401: {
8611
+ description: string;
8612
+ };
8613
+ };
8614
+ security: ({
8615
+ client_session: never[];
8616
+ pat_with_workspace?: never;
8617
+ console_session?: never;
8618
+ api_key?: never;
8619
+ } | {
8620
+ pat_with_workspace: never[];
8621
+ client_session?: never;
8622
+ console_session?: never;
8623
+ api_key?: never;
8624
+ } | {
8625
+ console_session: never[];
8626
+ client_session?: never;
8627
+ pat_with_workspace?: never;
8628
+ api_key?: never;
8629
+ } | {
8630
+ api_key: never[];
8631
+ client_session?: never;
8632
+ pat_with_workspace?: never;
8633
+ console_session?: never;
8634
+ })[];
8635
+ summary: string;
8636
+ tags: string[];
8637
+ 'x-fern-sdk-group-name': string[];
8638
+ 'x-fern-sdk-method-name': string;
8639
+ };
8640
+ };
8560
8641
  '/acs/users/remove_from_access_group': {
8561
8642
  post: {
8562
8643
  operationId: string;
@@ -9843,22 +9924,12 @@ declare const _default: {
9843
9924
  };
9844
9925
  custom_metadata: {
9845
9926
  additionalProperties: {
9846
- nullable: boolean;
9847
9927
  oneOf: ({
9848
9928
  maxLength: number;
9849
9929
  type: string;
9850
- format?: never;
9851
- nullable?: never;
9852
9930
  } | {
9853
9931
  type: string;
9854
9932
  maxLength?: never;
9855
- format?: never;
9856
- nullable?: never;
9857
- } | {
9858
- format: string;
9859
- nullable: boolean;
9860
- type: string;
9861
- maxLength?: never;
9862
9933
  })[];
9863
9934
  };
9864
9935
  type: string;
@@ -14684,6 +14755,10 @@ declare const _default: {
14684
14755
  nullable: boolean;
14685
14756
  type: string;
14686
14757
  };
14758
+ phone_number: {
14759
+ nullable: boolean;
14760
+ type: string;
14761
+ };
14687
14762
  user_identity_key: {
14688
14763
  minLength: number;
14689
14764
  nullable: boolean;
@@ -14724,6 +14799,10 @@ declare const _default: {
14724
14799
  nullable: boolean;
14725
14800
  type: string;
14726
14801
  };
14802
+ phone_number: {
14803
+ nullable: boolean;
14804
+ type: string;
14805
+ };
14727
14806
  user_identity_id: {
14728
14807
  format: string;
14729
14808
  type: string;
@@ -15094,6 +15173,10 @@ declare const _default: {
15094
15173
  nullable: boolean;
15095
15174
  type: string;
15096
15175
  };
15176
+ phone_number: {
15177
+ nullable: boolean;
15178
+ type: string;
15179
+ };
15097
15180
  user_identity_id: {
15098
15181
  format: string;
15099
15182
  type: string;
@@ -15316,6 +15399,10 @@ declare const _default: {
15316
15399
  nullable: boolean;
15317
15400
  type: string;
15318
15401
  };
15402
+ phone_number: {
15403
+ nullable: boolean;
15404
+ type: string;
15405
+ };
15319
15406
  user_identity_id: {
15320
15407
  format: string;
15321
15408
  type: string;
@@ -15407,6 +15494,10 @@ declare const _default: {
15407
15494
  nullable: boolean;
15408
15495
  type: string;
15409
15496
  };
15497
+ phone_number: {
15498
+ nullable: boolean;
15499
+ type: string;
15500
+ };
15410
15501
  user_identity_id: {
15411
15502
  format: string;
15412
15503
  type: string;
@@ -15611,7 +15702,7 @@ declare const _default: {
15611
15702
  console_session?: never;
15612
15703
  })[];
15613
15704
  summary: string;
15614
- tags: never[];
15705
+ tags: string[];
15615
15706
  'x-fern-sdk-group-name': string[];
15616
15707
  'x-fern-sdk-method-name': string;
15617
15708
  };
@@ -17747,6 +17838,24 @@ interface Routes {
17747
17838
  }>;
17748
17839
  };
17749
17840
  };
17841
+ '/acs/users/list_accessible_entrances': {
17842
+ route: '/acs/users/list_accessible_entrances';
17843
+ method: 'GET' | 'POST';
17844
+ queryParams: {};
17845
+ jsonBody: {};
17846
+ commonParams: {
17847
+ acs_user_id: string;
17848
+ };
17849
+ formData: {};
17850
+ jsonResponse: {
17851
+ acs_entrances: Array<{
17852
+ acs_entrance_id: string;
17853
+ display_name: string;
17854
+ acs_system_id: string;
17855
+ created_at: string;
17856
+ }>;
17857
+ };
17858
+ };
17750
17859
  '/acs/users/remove_from_access_group': {
17751
17860
  route: '/acs/users/remove_from_access_group';
17752
17861
  method: 'DELETE' | 'POST';
@@ -18024,7 +18133,7 @@ interface Routes {
18024
18133
  custom_redirect_failure_url?: string | undefined;
18025
18134
  accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'yale_access' | 'hid_cm'> | undefined;
18026
18135
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
18027
- custom_metadata?: Record<string, string | number | null | boolean> | undefined;
18136
+ custom_metadata?: Record<string, string | boolean> | undefined;
18028
18137
  automatically_manage_new_devices?: boolean | undefined;
18029
18138
  wait_for_device_creation?: boolean | undefined;
18030
18139
  };
@@ -18046,7 +18155,7 @@ interface Routes {
18046
18155
  status: 'pending' | 'failed' | 'authorized';
18047
18156
  custom_redirect_url: string | null;
18048
18157
  custom_redirect_failure_url: string | null;
18049
- custom_metadata: Record<string, string | number | null | boolean>;
18158
+ custom_metadata: Record<string, string | boolean>;
18050
18159
  automatically_manage_new_devices: boolean;
18051
18160
  wait_for_device_creation: boolean;
18052
18161
  authorized_at: string | null;
@@ -18090,7 +18199,7 @@ interface Routes {
18090
18199
  status: 'pending' | 'failed' | 'authorized';
18091
18200
  custom_redirect_url: string | null;
18092
18201
  custom_redirect_failure_url: string | null;
18093
- custom_metadata: Record<string, string | number | null | boolean>;
18202
+ custom_metadata: Record<string, string | boolean>;
18094
18203
  automatically_manage_new_devices: boolean;
18095
18204
  wait_for_device_creation: boolean;
18096
18205
  authorized_at: string | null;
@@ -18123,7 +18232,7 @@ interface Routes {
18123
18232
  status: 'pending' | 'failed' | 'authorized';
18124
18233
  custom_redirect_url: string | null;
18125
18234
  custom_redirect_failure_url: string | null;
18126
- custom_metadata: Record<string, string | number | null | boolean>;
18235
+ custom_metadata: Record<string, string | boolean>;
18127
18236
  automatically_manage_new_devices: boolean;
18128
18237
  wait_for_device_creation: boolean;
18129
18238
  authorized_at: string | null;
@@ -18181,7 +18290,7 @@ interface Routes {
18181
18290
  account_type_display_name: string;
18182
18291
  errors?: any;
18183
18292
  warnings?: any;
18184
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
18293
+ custom_metadata?: Record<string, string | boolean> | undefined;
18185
18294
  automatically_manage_new_devices: boolean;
18186
18295
  };
18187
18296
  };
@@ -18208,7 +18317,7 @@ interface Routes {
18208
18317
  account_type_display_name: string;
18209
18318
  errors?: any;
18210
18319
  warnings?: any;
18211
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
18320
+ custom_metadata?: Record<string, string | boolean> | undefined;
18212
18321
  automatically_manage_new_devices: boolean;
18213
18322
  }>;
18214
18323
  };
@@ -18238,7 +18347,7 @@ interface Routes {
18238
18347
  account_type_display_name: string;
18239
18348
  errors?: any;
18240
18349
  warnings?: any;
18241
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
18350
+ custom_metadata?: Record<string, string | boolean> | undefined;
18242
18351
  automatically_manage_new_devices: boolean;
18243
18352
  };
18244
18353
  };
@@ -23800,6 +23909,7 @@ interface Routes {
23800
23909
  commonParams: {
23801
23910
  user_identity_key?: (string | null) | undefined;
23802
23911
  email_address?: (string | null) | undefined;
23912
+ phone_number?: (string | null) | undefined;
23803
23913
  full_name?: (string | null) | undefined;
23804
23914
  };
23805
23915
  formData: {};
@@ -23808,6 +23918,7 @@ interface Routes {
23808
23918
  user_identity_id: string;
23809
23919
  user_identity_key: string | null;
23810
23920
  email_address: string | null;
23921
+ phone_number: string | null;
23811
23922
  display_name: string;
23812
23923
  full_name: string | null;
23813
23924
  created_at: string;
@@ -23893,6 +24004,7 @@ interface Routes {
23893
24004
  user_identity_id: string;
23894
24005
  user_identity_key: string | null;
23895
24006
  email_address: string | null;
24007
+ phone_number: string | null;
23896
24008
  display_name: string;
23897
24009
  full_name: string | null;
23898
24010
  created_at: string;
@@ -23924,6 +24036,7 @@ interface Routes {
23924
24036
  user_identity_id: string;
23925
24037
  user_identity_key: string | null;
23926
24038
  email_address: string | null;
24039
+ phone_number: string | null;
23927
24040
  display_name: string;
23928
24041
  full_name: string | null;
23929
24042
  created_at: string;
@@ -506,20 +506,10 @@ declare const _default: {
506
506
  };
507
507
  custom_metadata: {
508
508
  additionalProperties: {
509
- nullable: boolean;
510
509
  oneOf: ({
511
510
  maxLength: number;
512
511
  type: string;
513
- format?: never;
514
- nullable?: never;
515
- } | {
516
- type: string;
517
- maxLength?: never;
518
- format?: never;
519
- nullable?: never;
520
512
  } | {
521
- format: string;
522
- nullable: boolean;
523
513
  type: string;
524
514
  maxLength?: never;
525
515
  })[];
@@ -587,15 +577,12 @@ declare const _default: {
587
577
  };
588
578
  custom_metadata: {
589
579
  additionalProperties: {
590
- nullable: boolean;
591
580
  oneOf: ({
581
+ maxLength: number;
592
582
  type: string;
593
- format?: never;
594
- nullable?: never;
595
583
  } | {
596
- format: string;
597
- nullable: boolean;
598
584
  type: string;
585
+ maxLength?: never;
599
586
  })[];
600
587
  };
601
588
  type: string;
@@ -8483,6 +8470,100 @@ declare const _default: {
8483
8470
  'x-fern-sdk-method-name': string;
8484
8471
  };
8485
8472
  };
8473
+ '/acs/users/list_accessible_entrances': {
8474
+ post: {
8475
+ operationId: string;
8476
+ requestBody: {
8477
+ content: {
8478
+ 'application/json': {
8479
+ schema: {
8480
+ properties: {
8481
+ acs_user_id: {
8482
+ format: string;
8483
+ type: string;
8484
+ };
8485
+ };
8486
+ required: string[];
8487
+ type: string;
8488
+ };
8489
+ };
8490
+ };
8491
+ };
8492
+ responses: {
8493
+ 200: {
8494
+ content: {
8495
+ 'application/json': {
8496
+ schema: {
8497
+ properties: {
8498
+ acs_entrances: {
8499
+ items: {
8500
+ properties: {
8501
+ acs_entrance_id: {
8502
+ format: string;
8503
+ type: string;
8504
+ };
8505
+ acs_system_id: {
8506
+ format: string;
8507
+ type: string;
8508
+ };
8509
+ created_at: {
8510
+ format: string;
8511
+ type: string;
8512
+ };
8513
+ display_name: {
8514
+ type: string;
8515
+ };
8516
+ };
8517
+ required: string[];
8518
+ type: string;
8519
+ };
8520
+ type: string;
8521
+ };
8522
+ ok: {
8523
+ type: string;
8524
+ };
8525
+ };
8526
+ required: string[];
8527
+ type: string;
8528
+ };
8529
+ };
8530
+ };
8531
+ description: string;
8532
+ };
8533
+ 400: {
8534
+ description: string;
8535
+ };
8536
+ 401: {
8537
+ description: string;
8538
+ };
8539
+ };
8540
+ security: ({
8541
+ client_session: never[];
8542
+ pat_with_workspace?: never;
8543
+ console_session?: never;
8544
+ api_key?: never;
8545
+ } | {
8546
+ pat_with_workspace: never[];
8547
+ client_session?: never;
8548
+ console_session?: never;
8549
+ api_key?: never;
8550
+ } | {
8551
+ console_session: never[];
8552
+ client_session?: never;
8553
+ pat_with_workspace?: never;
8554
+ api_key?: never;
8555
+ } | {
8556
+ api_key: never[];
8557
+ client_session?: never;
8558
+ pat_with_workspace?: never;
8559
+ console_session?: never;
8560
+ })[];
8561
+ summary: string;
8562
+ tags: string[];
8563
+ 'x-fern-sdk-group-name': string[];
8564
+ 'x-fern-sdk-method-name': string;
8565
+ };
8566
+ };
8486
8567
  '/acs/users/remove_from_access_group': {
8487
8568
  post: {
8488
8569
  operationId: string;
@@ -9769,20 +9850,10 @@ declare const _default: {
9769
9850
  };
9770
9851
  custom_metadata: {
9771
9852
  additionalProperties: {
9772
- nullable: boolean;
9773
9853
  oneOf: ({
9774
9854
  maxLength: number;
9775
9855
  type: string;
9776
- format?: never;
9777
- nullable?: never;
9778
- } | {
9779
- type: string;
9780
- maxLength?: never;
9781
- format?: never;
9782
- nullable?: never;
9783
9856
  } | {
9784
- format: string;
9785
- nullable: boolean;
9786
9857
  type: string;
9787
9858
  maxLength?: never;
9788
9859
  })[];
@@ -14610,6 +14681,10 @@ declare const _default: {
14610
14681
  nullable: boolean;
14611
14682
  type: string;
14612
14683
  };
14684
+ phone_number: {
14685
+ nullable: boolean;
14686
+ type: string;
14687
+ };
14613
14688
  user_identity_key: {
14614
14689
  minLength: number;
14615
14690
  nullable: boolean;
@@ -14650,6 +14725,10 @@ declare const _default: {
14650
14725
  nullable: boolean;
14651
14726
  type: string;
14652
14727
  };
14728
+ phone_number: {
14729
+ nullable: boolean;
14730
+ type: string;
14731
+ };
14653
14732
  user_identity_id: {
14654
14733
  format: string;
14655
14734
  type: string;
@@ -15020,6 +15099,10 @@ declare const _default: {
15020
15099
  nullable: boolean;
15021
15100
  type: string;
15022
15101
  };
15102
+ phone_number: {
15103
+ nullable: boolean;
15104
+ type: string;
15105
+ };
15023
15106
  user_identity_id: {
15024
15107
  format: string;
15025
15108
  type: string;
@@ -15242,6 +15325,10 @@ declare const _default: {
15242
15325
  nullable: boolean;
15243
15326
  type: string;
15244
15327
  };
15328
+ phone_number: {
15329
+ nullable: boolean;
15330
+ type: string;
15331
+ };
15245
15332
  user_identity_id: {
15246
15333
  format: string;
15247
15334
  type: string;
@@ -15333,6 +15420,10 @@ declare const _default: {
15333
15420
  nullable: boolean;
15334
15421
  type: string;
15335
15422
  };
15423
+ phone_number: {
15424
+ nullable: boolean;
15425
+ type: string;
15426
+ };
15336
15427
  user_identity_id: {
15337
15428
  format: string;
15338
15429
  type: string;
@@ -15537,7 +15628,7 @@ declare const _default: {
15537
15628
  console_session?: never;
15538
15629
  })[];
15539
15630
  summary: string;
15540
- tags: never[];
15631
+ tags: string[];
15541
15632
  'x-fern-sdk-group-name': string[];
15542
15633
  'x-fern-sdk-method-name': string;
15543
15634
  };