@seamapi/types 1.80.1 → 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,20 +580,10 @@ 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
- } | {
590
- type: string;
591
- maxLength?: never;
592
- format?: never;
593
- nullable?: never;
594
586
  } | {
595
- format: string;
596
- nullable: boolean;
597
587
  type: string;
598
588
  maxLength?: never;
599
589
  })[];
@@ -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,20 +9924,10 @@ 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
- } | {
9853
- type: string;
9854
- maxLength?: never;
9855
- format?: never;
9856
- nullable?: never;
9857
9930
  } | {
9858
- format: string;
9859
- nullable: boolean;
9860
9931
  type: string;
9861
9932
  maxLength?: never;
9862
9933
  })[];
@@ -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;
@@ -15540,6 +15631,82 @@ declare const _default: {
15540
15631
  'x-fern-sdk-method-name': string;
15541
15632
  };
15542
15633
  };
15634
+ '/user_identities/list_acs_systems': {
15635
+ post: {
15636
+ operationId: string;
15637
+ requestBody: {
15638
+ content: {
15639
+ 'application/json': {
15640
+ schema: {
15641
+ properties: {
15642
+ user_identity_id: {
15643
+ format: string;
15644
+ type: string;
15645
+ };
15646
+ };
15647
+ required: string[];
15648
+ type: string;
15649
+ };
15650
+ };
15651
+ };
15652
+ };
15653
+ responses: {
15654
+ 200: {
15655
+ content: {
15656
+ 'application/json': {
15657
+ schema: {
15658
+ properties: {
15659
+ acs_systems: {
15660
+ items: {
15661
+ $ref: string;
15662
+ };
15663
+ type: string;
15664
+ };
15665
+ ok: {
15666
+ type: string;
15667
+ };
15668
+ };
15669
+ required: string[];
15670
+ type: string;
15671
+ };
15672
+ };
15673
+ };
15674
+ description: string;
15675
+ };
15676
+ 400: {
15677
+ description: string;
15678
+ };
15679
+ 401: {
15680
+ description: string;
15681
+ };
15682
+ };
15683
+ security: ({
15684
+ client_session: never[];
15685
+ pat_with_workspace?: never;
15686
+ console_session?: never;
15687
+ api_key?: never;
15688
+ } | {
15689
+ pat_with_workspace: never[];
15690
+ client_session?: never;
15691
+ console_session?: never;
15692
+ api_key?: never;
15693
+ } | {
15694
+ console_session: never[];
15695
+ client_session?: never;
15696
+ pat_with_workspace?: never;
15697
+ api_key?: never;
15698
+ } | {
15699
+ api_key: never[];
15700
+ client_session?: never;
15701
+ pat_with_workspace?: never;
15702
+ console_session?: never;
15703
+ })[];
15704
+ summary: string;
15705
+ tags: string[];
15706
+ 'x-fern-sdk-group-name': string[];
15707
+ 'x-fern-sdk-method-name': string;
15708
+ };
15709
+ };
15543
15710
  '/user_identities/list_acs_users': {
15544
15711
  post: {
15545
15712
  operationId: string;
@@ -17671,6 +17838,24 @@ interface Routes {
17671
17838
  }>;
17672
17839
  };
17673
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
+ };
17674
17859
  '/acs/users/remove_from_access_group': {
17675
17860
  route: '/acs/users/remove_from_access_group';
17676
17861
  method: 'DELETE' | 'POST';
@@ -17948,7 +18133,7 @@ interface Routes {
17948
18133
  custom_redirect_failure_url?: string | undefined;
17949
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;
17950
18135
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
17951
- custom_metadata?: Record<string, string | number | null | boolean> | undefined;
18136
+ custom_metadata?: Record<string, string | boolean> | undefined;
17952
18137
  automatically_manage_new_devices?: boolean | undefined;
17953
18138
  wait_for_device_creation?: boolean | undefined;
17954
18139
  };
@@ -17970,7 +18155,7 @@ interface Routes {
17970
18155
  status: 'pending' | 'failed' | 'authorized';
17971
18156
  custom_redirect_url: string | null;
17972
18157
  custom_redirect_failure_url: string | null;
17973
- custom_metadata: Record<string, string | number | null | boolean>;
18158
+ custom_metadata: Record<string, string | boolean>;
17974
18159
  automatically_manage_new_devices: boolean;
17975
18160
  wait_for_device_creation: boolean;
17976
18161
  authorized_at: string | null;
@@ -18014,7 +18199,7 @@ interface Routes {
18014
18199
  status: 'pending' | 'failed' | 'authorized';
18015
18200
  custom_redirect_url: string | null;
18016
18201
  custom_redirect_failure_url: string | null;
18017
- custom_metadata: Record<string, string | number | null | boolean>;
18202
+ custom_metadata: Record<string, string | boolean>;
18018
18203
  automatically_manage_new_devices: boolean;
18019
18204
  wait_for_device_creation: boolean;
18020
18205
  authorized_at: string | null;
@@ -18047,7 +18232,7 @@ interface Routes {
18047
18232
  status: 'pending' | 'failed' | 'authorized';
18048
18233
  custom_redirect_url: string | null;
18049
18234
  custom_redirect_failure_url: string | null;
18050
- custom_metadata: Record<string, string | number | null | boolean>;
18235
+ custom_metadata: Record<string, string | boolean>;
18051
18236
  automatically_manage_new_devices: boolean;
18052
18237
  wait_for_device_creation: boolean;
18053
18238
  authorized_at: string | null;
@@ -18105,7 +18290,7 @@ interface Routes {
18105
18290
  account_type_display_name: string;
18106
18291
  errors?: any;
18107
18292
  warnings?: any;
18108
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
18293
+ custom_metadata?: Record<string, string | boolean> | undefined;
18109
18294
  automatically_manage_new_devices: boolean;
18110
18295
  };
18111
18296
  };
@@ -18132,7 +18317,7 @@ interface Routes {
18132
18317
  account_type_display_name: string;
18133
18318
  errors?: any;
18134
18319
  warnings?: any;
18135
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
18320
+ custom_metadata?: Record<string, string | boolean> | undefined;
18136
18321
  automatically_manage_new_devices: boolean;
18137
18322
  }>;
18138
18323
  };
@@ -18162,7 +18347,7 @@ interface Routes {
18162
18347
  account_type_display_name: string;
18163
18348
  errors?: any;
18164
18349
  warnings?: any;
18165
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
18350
+ custom_metadata?: Record<string, string | boolean> | undefined;
18166
18351
  automatically_manage_new_devices: boolean;
18167
18352
  };
18168
18353
  };
@@ -23724,6 +23909,7 @@ interface Routes {
23724
23909
  commonParams: {
23725
23910
  user_identity_key?: (string | null) | undefined;
23726
23911
  email_address?: (string | null) | undefined;
23912
+ phone_number?: (string | null) | undefined;
23727
23913
  full_name?: (string | null) | undefined;
23728
23914
  };
23729
23915
  formData: {};
@@ -23732,6 +23918,7 @@ interface Routes {
23732
23918
  user_identity_id: string;
23733
23919
  user_identity_key: string | null;
23734
23920
  email_address: string | null;
23921
+ phone_number: string | null;
23735
23922
  display_name: string;
23736
23923
  full_name: string | null;
23737
23924
  created_at: string;
@@ -23817,6 +24004,7 @@ interface Routes {
23817
24004
  user_identity_id: string;
23818
24005
  user_identity_key: string | null;
23819
24006
  email_address: string | null;
24007
+ phone_number: string | null;
23820
24008
  display_name: string;
23821
24009
  full_name: string | null;
23822
24010
  created_at: string;
@@ -23848,6 +24036,7 @@ interface Routes {
23848
24036
  user_identity_id: string;
23849
24037
  user_identity_key: string | null;
23850
24038
  email_address: string | null;
24039
+ phone_number: string | null;
23851
24040
  display_name: string;
23852
24041
  full_name: string | null;
23853
24042
  created_at: string;
@@ -24318,6 +24507,31 @@ interface Routes {
24318
24507
  }>;
24319
24508
  };
24320
24509
  };
24510
+ '/user_identities/list_acs_systems': {
24511
+ route: '/user_identities/list_acs_systems';
24512
+ method: 'GET' | 'POST';
24513
+ queryParams: {};
24514
+ jsonBody: {};
24515
+ commonParams: {
24516
+ user_identity_id: string;
24517
+ };
24518
+ formData: {};
24519
+ jsonResponse: {
24520
+ acs_systems: Array<{
24521
+ acs_system_id: string;
24522
+ external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service';
24523
+ external_type_display_name: string;
24524
+ /** deprecated: use external_type */
24525
+ system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service';
24526
+ /** deprecated: use external_type_display_name */
24527
+ system_type_display_name: string;
24528
+ name: string;
24529
+ created_at: string;
24530
+ workspace_id: string;
24531
+ connected_account_ids: string[];
24532
+ }>;
24533
+ };
24534
+ };
24321
24535
  '/user_identities/list_acs_users': {
24322
24536
  route: '/user_identities/list_acs_users';
24323
24537
  method: 'GET' | 'POST';