@seamapi/types 1.42.1 → 1.44.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 (40) hide show
  1. package/dist/connect.cjs +263 -14
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +522 -18
  4. package/lib/seam/connect/openapi.d.ts +350 -0
  5. package/lib/seam/connect/openapi.js +243 -10
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +143 -15
  8. package/lib/seam/connect/stable/model-types.d.ts +1 -1
  9. package/lib/seam/connect/stable/models/connect-webview.d.ts +21 -0
  10. package/lib/seam/connect/stable/models/connect-webview.js +8 -0
  11. package/lib/seam/connect/stable/models/connect-webview.js.map +1 -1
  12. package/lib/seam/connect/stable/models/custom-metadata.d.ts +3 -0
  13. package/lib/seam/connect/stable/models/custom-metadata.js +7 -0
  14. package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -0
  15. package/lib/seam/connect/stable/models/index.d.ts +1 -0
  16. package/lib/seam/connect/stable/models/index.js +1 -0
  17. package/lib/seam/connect/stable/models/index.js.map +1 -1
  18. package/lib/seam/connect/stable/schemas.d.ts +1 -1
  19. package/lib/seam/connect/stable/schemas.js +1 -1
  20. package/lib/seam/connect/stable/schemas.js.map +1 -1
  21. package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -7
  22. package/lib/seam/connect/unstable/models/acs/credential.js +5 -2
  23. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  24. package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
  25. package/lib/seam/connect/unstable/models/acs/user.js +1 -1
  26. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  27. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +62 -0
  28. package/lib/seam/connect/unstable/models/devices/managed-device.js +20 -2
  29. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/lib/seam/connect/openapi.ts +247 -10
  32. package/src/lib/seam/connect/route-types.ts +143 -15
  33. package/src/lib/seam/connect/stable/model-types.ts +1 -1
  34. package/src/lib/seam/connect/stable/models/connect-webview.ts +9 -0
  35. package/src/lib/seam/connect/stable/models/custom-metadata.ts +12 -0
  36. package/src/lib/seam/connect/stable/models/index.ts +1 -0
  37. package/src/lib/seam/connect/stable/schemas.ts +1 -1
  38. package/src/lib/seam/connect/unstable/models/acs/credential.ts +5 -2
  39. package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
  40. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +23 -2
@@ -13,39 +13,65 @@ declare const connect_webview: z.ZodObject<{
13
13
  created_at: z.ZodString;
14
14
  login_successful: z.ZodBoolean;
15
15
  status: z.ZodEnum<["pending", "failed", "authorized"]>;
16
+ custom_redirect_url: z.ZodNullable<z.ZodString>;
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>>;
19
+ automatically_manage_new_devices: z.ZodBoolean;
20
+ wait_for_device_creation: z.ZodBoolean;
21
+ authorized_at: z.ZodNullable<z.ZodString>;
22
+ selected_provider: z.ZodNullable<z.ZodString>;
16
23
  }, "strip", z.ZodTypeAny, {
24
+ status: "pending" | "failed" | "authorized";
17
25
  connect_webview_id: string;
18
26
  url: string;
19
27
  workspace_id: string;
20
28
  device_selection_mode: "none" | "single" | "multiple";
21
- status: "pending" | "failed" | "authorized";
22
29
  accepted_providers: string[];
23
30
  accepted_devices: string[];
24
31
  any_provider_allowed: boolean;
25
32
  any_device_allowed: boolean;
26
33
  created_at: string;
27
34
  login_successful: boolean;
35
+ custom_redirect_url: string | null;
36
+ custom_redirect_failure_url: string | null;
37
+ custom_metadata: Record<string, string | number | boolean | null>;
38
+ automatically_manage_new_devices: boolean;
39
+ wait_for_device_creation: boolean;
40
+ authorized_at: string | null;
41
+ selected_provider: string | null;
28
42
  connected_account_id?: string | undefined;
29
43
  }, {
44
+ status: "pending" | "failed" | "authorized";
30
45
  connect_webview_id: string;
31
46
  url: string;
32
47
  workspace_id: string;
33
48
  device_selection_mode: "none" | "single" | "multiple";
34
- status: "pending" | "failed" | "authorized";
35
49
  accepted_providers: string[];
36
50
  accepted_devices: string[];
37
51
  any_provider_allowed: boolean;
38
52
  any_device_allowed: boolean;
39
53
  created_at: string;
40
54
  login_successful: boolean;
55
+ custom_redirect_url: string | null;
56
+ custom_redirect_failure_url: string | null;
57
+ custom_metadata: Record<string, string | number | boolean | null>;
58
+ automatically_manage_new_devices: boolean;
59
+ wait_for_device_creation: boolean;
60
+ authorized_at: string | null;
61
+ selected_provider: string | null;
41
62
  connected_account_id?: string | undefined;
42
63
  }>;
43
64
  type ConnectWebview = z.infer<typeof connect_webview>;
44
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>>;
67
+ type CustomMetadata = z.infer<typeof custom_metadata>;
68
+
45
69
  declare const schemas_connect_webview: typeof connect_webview;
70
+ declare const schemas_custom_metadata: typeof custom_metadata;
46
71
  declare namespace schemas {
47
72
  export {
48
73
  schemas_connect_webview as connect_webview,
74
+ schemas_custom_metadata as custom_metadata,
49
75
  };
50
76
  }
51
77
 
@@ -488,6 +514,14 @@ declare const _default: {
488
514
  any_provider_allowed: {
489
515
  type: string;
490
516
  };
517
+ authorized_at: {
518
+ format: string;
519
+ nullable: boolean;
520
+ type: string;
521
+ };
522
+ automatically_manage_new_devices: {
523
+ type: string;
524
+ };
491
525
  connect_webview_id: {
492
526
  format: string;
493
527
  type: string;
@@ -500,6 +534,38 @@ declare const _default: {
500
534
  format: string;
501
535
  type: string;
502
536
  };
537
+ custom_metadata: {
538
+ additionalProperties: {
539
+ nullable: boolean;
540
+ oneOf: ({
541
+ maxLength: number;
542
+ type: string;
543
+ format?: never;
544
+ nullable?: never;
545
+ } | {
546
+ type: string;
547
+ maxLength?: never;
548
+ format?: never;
549
+ nullable?: never;
550
+ } | {
551
+ format: string;
552
+ nullable: boolean;
553
+ type: string;
554
+ maxLength?: never;
555
+ })[];
556
+ };
557
+ type: string;
558
+ };
559
+ custom_redirect_failure_url: {
560
+ format: string;
561
+ nullable: boolean;
562
+ type: string;
563
+ };
564
+ custom_redirect_url: {
565
+ format: string;
566
+ nullable: boolean;
567
+ type: string;
568
+ };
503
569
  device_selection_mode: {
504
570
  enum: string[];
505
571
  type: string;
@@ -507,6 +573,10 @@ declare const _default: {
507
573
  login_successful: {
508
574
  type: string;
509
575
  };
576
+ selected_provider: {
577
+ nullable: boolean;
578
+ type: string;
579
+ };
510
580
  status: {
511
581
  enum: string[];
512
582
  type: string;
@@ -515,6 +585,9 @@ declare const _default: {
515
585
  format: string;
516
586
  type: string;
517
587
  };
588
+ wait_for_device_creation: {
589
+ type: string;
590
+ };
518
591
  workspace_id: {
519
592
  format: string;
520
593
  type: string;
@@ -681,12 +754,21 @@ declare const _default: {
681
754
  };
682
755
  model: {
683
756
  properties: {
757
+ access_codes_supported: {
758
+ type: string;
759
+ };
760
+ accessory_keypad_supported: {
761
+ type: string;
762
+ };
684
763
  display_name: {
685
764
  type: string;
686
765
  };
687
766
  manufacturer_display_name: {
688
767
  type: string;
689
768
  };
769
+ offline_access_codes_supported: {
770
+ type: string;
771
+ };
690
772
  };
691
773
  required: string[];
692
774
  type: string;
@@ -694,16 +776,26 @@ declare const _default: {
694
776
  name: {
695
777
  type: string;
696
778
  };
779
+ offline_access_codes_enabled: {
780
+ description: string;
781
+ type: string;
782
+ };
697
783
  online: {
698
784
  type: string;
699
785
  };
786
+ online_access_codes_enabled: {
787
+ description: string;
788
+ type: string;
789
+ };
700
790
  serial_number: {
701
791
  type: string;
702
792
  };
703
793
  supports_accessory_keypad: {
794
+ description: string;
704
795
  type: string;
705
796
  };
706
797
  supports_offline_access_codes: {
798
+ description: string;
707
799
  type: string;
708
800
  };
709
801
  august_metadata?: never;
@@ -1211,7 +1303,9 @@ declare const _default: {
1211
1303
  manufacturer?: never;
1212
1304
  model?: never;
1213
1305
  name?: never;
1306
+ offline_access_codes_enabled?: never;
1214
1307
  online?: never;
1308
+ online_access_codes_enabled?: never;
1215
1309
  serial_number?: never;
1216
1310
  supports_accessory_keypad?: never;
1217
1311
  supports_offline_access_codes?: never;
@@ -4607,6 +4701,141 @@ declare const _default: {
4607
4701
  'x-fern-sdk-method-name': string;
4608
4702
  };
4609
4703
  };
4704
+ '/acs/credentials/assign': {
4705
+ patch: {
4706
+ operationId: string;
4707
+ requestBody: {
4708
+ content: {
4709
+ 'application/json': {
4710
+ schema: {
4711
+ properties: {
4712
+ acs_credential_id: {
4713
+ format: string;
4714
+ type: string;
4715
+ };
4716
+ acs_user_id: {
4717
+ format: string;
4718
+ type: string;
4719
+ };
4720
+ };
4721
+ required: string[];
4722
+ type: string;
4723
+ };
4724
+ };
4725
+ };
4726
+ };
4727
+ responses: {
4728
+ 200: {
4729
+ content: {
4730
+ 'application/json': {
4731
+ schema: {
4732
+ properties: {
4733
+ ok: {
4734
+ type: string;
4735
+ };
4736
+ };
4737
+ required: string[];
4738
+ type: string;
4739
+ };
4740
+ };
4741
+ };
4742
+ description: string;
4743
+ };
4744
+ 400: {
4745
+ description: string;
4746
+ };
4747
+ 401: {
4748
+ description: string;
4749
+ };
4750
+ };
4751
+ security: ({
4752
+ access_token: never[];
4753
+ seam_workspace: never[];
4754
+ seam_client_session_token?: never;
4755
+ client_session_token?: never;
4756
+ } | {
4757
+ seam_client_session_token: never[];
4758
+ access_token?: never;
4759
+ seam_workspace?: never;
4760
+ client_session_token?: never;
4761
+ } | {
4762
+ client_session_token: never[];
4763
+ access_token?: never;
4764
+ seam_workspace?: never;
4765
+ seam_client_session_token?: never;
4766
+ })[];
4767
+ summary: string;
4768
+ tags: never[];
4769
+ 'x-fern-ignore': boolean;
4770
+ };
4771
+ post: {
4772
+ operationId: string;
4773
+ requestBody: {
4774
+ content: {
4775
+ 'application/json': {
4776
+ schema: {
4777
+ properties: {
4778
+ acs_credential_id: {
4779
+ format: string;
4780
+ type: string;
4781
+ };
4782
+ acs_user_id: {
4783
+ format: string;
4784
+ type: string;
4785
+ };
4786
+ };
4787
+ required: string[];
4788
+ type: string;
4789
+ };
4790
+ };
4791
+ };
4792
+ };
4793
+ responses: {
4794
+ 200: {
4795
+ content: {
4796
+ 'application/json': {
4797
+ schema: {
4798
+ properties: {
4799
+ ok: {
4800
+ type: string;
4801
+ };
4802
+ };
4803
+ required: string[];
4804
+ type: string;
4805
+ };
4806
+ };
4807
+ };
4808
+ description: string;
4809
+ };
4810
+ 400: {
4811
+ description: string;
4812
+ };
4813
+ 401: {
4814
+ description: string;
4815
+ };
4816
+ };
4817
+ security: ({
4818
+ access_token: never[];
4819
+ seam_workspace: never[];
4820
+ seam_client_session_token?: never;
4821
+ client_session_token?: never;
4822
+ } | {
4823
+ seam_client_session_token: never[];
4824
+ access_token?: never;
4825
+ seam_workspace?: never;
4826
+ client_session_token?: never;
4827
+ } | {
4828
+ client_session_token: never[];
4829
+ access_token?: never;
4830
+ seam_workspace?: never;
4831
+ seam_client_session_token?: never;
4832
+ })[];
4833
+ summary: string;
4834
+ tags: never[];
4835
+ 'x-fern-sdk-group-name': string[];
4836
+ 'x-fern-sdk-method-name': string;
4837
+ };
4838
+ };
4610
4839
  '/acs/credentials/create': {
4611
4840
  post: {
4612
4841
  operationId: string;
@@ -5011,6 +5240,141 @@ declare const _default: {
5011
5240
  'x-fern-sdk-method-name': string;
5012
5241
  };
5013
5242
  };
5243
+ '/acs/credentials/unassign': {
5244
+ patch: {
5245
+ operationId: string;
5246
+ requestBody: {
5247
+ content: {
5248
+ 'application/json': {
5249
+ schema: {
5250
+ properties: {
5251
+ acs_credential_id: {
5252
+ format: string;
5253
+ type: string;
5254
+ };
5255
+ acs_user_id: {
5256
+ format: string;
5257
+ type: string;
5258
+ };
5259
+ };
5260
+ required: string[];
5261
+ type: string;
5262
+ };
5263
+ };
5264
+ };
5265
+ };
5266
+ responses: {
5267
+ 200: {
5268
+ content: {
5269
+ 'application/json': {
5270
+ schema: {
5271
+ properties: {
5272
+ ok: {
5273
+ type: string;
5274
+ };
5275
+ };
5276
+ required: string[];
5277
+ type: string;
5278
+ };
5279
+ };
5280
+ };
5281
+ description: string;
5282
+ };
5283
+ 400: {
5284
+ description: string;
5285
+ };
5286
+ 401: {
5287
+ description: string;
5288
+ };
5289
+ };
5290
+ security: ({
5291
+ access_token: never[];
5292
+ seam_workspace: never[];
5293
+ seam_client_session_token?: never;
5294
+ client_session_token?: never;
5295
+ } | {
5296
+ seam_client_session_token: never[];
5297
+ access_token?: never;
5298
+ seam_workspace?: never;
5299
+ client_session_token?: never;
5300
+ } | {
5301
+ client_session_token: never[];
5302
+ access_token?: never;
5303
+ seam_workspace?: never;
5304
+ seam_client_session_token?: never;
5305
+ })[];
5306
+ summary: string;
5307
+ tags: never[];
5308
+ 'x-fern-ignore': boolean;
5309
+ };
5310
+ post: {
5311
+ operationId: string;
5312
+ requestBody: {
5313
+ content: {
5314
+ 'application/json': {
5315
+ schema: {
5316
+ properties: {
5317
+ acs_credential_id: {
5318
+ format: string;
5319
+ type: string;
5320
+ };
5321
+ acs_user_id: {
5322
+ format: string;
5323
+ type: string;
5324
+ };
5325
+ };
5326
+ required: string[];
5327
+ type: string;
5328
+ };
5329
+ };
5330
+ };
5331
+ };
5332
+ responses: {
5333
+ 200: {
5334
+ content: {
5335
+ 'application/json': {
5336
+ schema: {
5337
+ properties: {
5338
+ ok: {
5339
+ type: string;
5340
+ };
5341
+ };
5342
+ required: string[];
5343
+ type: string;
5344
+ };
5345
+ };
5346
+ };
5347
+ description: string;
5348
+ };
5349
+ 400: {
5350
+ description: string;
5351
+ };
5352
+ 401: {
5353
+ description: string;
5354
+ };
5355
+ };
5356
+ security: ({
5357
+ access_token: never[];
5358
+ seam_workspace: never[];
5359
+ seam_client_session_token?: never;
5360
+ client_session_token?: never;
5361
+ } | {
5362
+ seam_client_session_token: never[];
5363
+ access_token?: never;
5364
+ seam_workspace?: never;
5365
+ client_session_token?: never;
5366
+ } | {
5367
+ client_session_token: never[];
5368
+ access_token?: never;
5369
+ seam_workspace?: never;
5370
+ seam_client_session_token?: never;
5371
+ })[];
5372
+ summary: string;
5373
+ tags: never[];
5374
+ 'x-fern-sdk-group-name': string[];
5375
+ 'x-fern-sdk-method-name': string;
5376
+ };
5377
+ };
5014
5378
  '/acs/systems/get': {
5015
5379
  post: {
5016
5380
  operationId: string;
@@ -5283,6 +5647,10 @@ declare const _default: {
5283
5647
  format: string;
5284
5648
  type: string;
5285
5649
  };
5650
+ email_address: {
5651
+ format: string;
5652
+ type: string;
5653
+ };
5286
5654
  full_name: {
5287
5655
  type: string;
5288
5656
  };
@@ -5753,6 +6121,10 @@ declare const _default: {
5753
6121
  format: string;
5754
6122
  type: string;
5755
6123
  };
6124
+ email_address: {
6125
+ format: string;
6126
+ type: string;
6127
+ };
5756
6128
  full_name: {
5757
6129
  type: string;
5758
6130
  };
@@ -5827,6 +6199,10 @@ declare const _default: {
5827
6199
  format: string;
5828
6200
  type: string;
5829
6201
  };
6202
+ email_address: {
6203
+ format: string;
6204
+ type: string;
6205
+ };
5830
6206
  full_name: {
5831
6207
  type: string;
5832
6208
  };
@@ -13010,7 +13386,7 @@ interface Routes {
13010
13386
  workspace_id: string;
13011
13387
  created_at: string;
13012
13388
  display_name: string;
13013
- external_type: 'pti_user';
13389
+ external_type: 'pti_user' | 'brivo_user';
13014
13390
  external_type_display_name: string;
13015
13391
  is_suspended: boolean;
13016
13392
  full_name?: string | undefined;
@@ -13045,6 +13421,18 @@ interface Routes {
13045
13421
  formData: {};
13046
13422
  jsonResponse: {};
13047
13423
  };
13424
+ '/acs/credentials/assign': {
13425
+ route: '/acs/credentials/assign';
13426
+ method: 'PATCH' | 'POST';
13427
+ queryParams: {};
13428
+ jsonBody: {
13429
+ acs_user_id: string;
13430
+ acs_credential_id: string;
13431
+ };
13432
+ commonParams: {};
13433
+ formData: {};
13434
+ jsonResponse: {};
13435
+ };
13048
13436
  '/acs/credentials/create': {
13049
13437
  route: '/acs/credentials/create';
13050
13438
  method: 'POST';
@@ -13058,10 +13446,10 @@ interface Routes {
13058
13446
  jsonResponse: {
13059
13447
  acs_credential: {
13060
13448
  acs_credential_id: string;
13061
- acs_user_id: string;
13449
+ acs_user_id?: string | undefined;
13062
13450
  acs_system_id: string;
13063
13451
  code: string | null;
13064
- external_type: 'pti_card';
13452
+ external_type: 'pti_card' | 'brivo_credential';
13065
13453
  external_type_display_name: string;
13066
13454
  created_at: string;
13067
13455
  workspace_id: string;
@@ -13091,10 +13479,10 @@ interface Routes {
13091
13479
  jsonResponse: {
13092
13480
  acs_credential: {
13093
13481
  acs_credential_id: string;
13094
- acs_user_id: string;
13482
+ acs_user_id?: string | undefined;
13095
13483
  acs_system_id: string;
13096
13484
  code: string | null;
13097
- external_type: 'pti_card';
13485
+ external_type: 'pti_card' | 'brivo_credential';
13098
13486
  external_type_display_name: string;
13099
13487
  created_at: string;
13100
13488
  workspace_id: string;
@@ -13118,16 +13506,28 @@ interface Routes {
13118
13506
  jsonResponse: {
13119
13507
  acs_credentials: Array<{
13120
13508
  acs_credential_id: string;
13121
- acs_user_id: string;
13509
+ acs_user_id?: string | undefined;
13122
13510
  acs_system_id: string;
13123
13511
  code: string | null;
13124
- external_type: 'pti_card';
13512
+ external_type: 'pti_card' | 'brivo_credential';
13125
13513
  external_type_display_name: string;
13126
13514
  created_at: string;
13127
13515
  workspace_id: string;
13128
13516
  }>;
13129
13517
  };
13130
13518
  };
13519
+ '/acs/credentials/unassign': {
13520
+ route: '/acs/credentials/unassign';
13521
+ method: 'PATCH' | 'POST';
13522
+ queryParams: {};
13523
+ jsonBody: {
13524
+ acs_user_id: string;
13525
+ acs_credential_id: string;
13526
+ };
13527
+ commonParams: {};
13528
+ formData: {};
13529
+ jsonResponse: {};
13530
+ };
13131
13531
  '/acs/systems/get': {
13132
13532
  route: '/acs/systems/get';
13133
13533
  method: 'GET' | 'POST';
@@ -13192,15 +13592,16 @@ interface Routes {
13192
13592
  route: '/acs/users/create';
13193
13593
  method: 'POST';
13194
13594
  queryParams: {};
13195
- jsonBody: {};
13196
- commonParams: {
13595
+ jsonBody: {
13197
13596
  acs_system_id: string;
13198
13597
  acs_access_group_ids?: string[];
13199
13598
  full_name?: string | undefined;
13200
13599
  /** Deprecated: use email_address. */
13201
13600
  email?: string | undefined;
13202
13601
  phone_number?: string | undefined;
13602
+ email_address?: string | undefined;
13203
13603
  };
13604
+ commonParams: {};
13204
13605
  formData: {};
13205
13606
  jsonResponse: {
13206
13607
  acs_user: {
@@ -13209,7 +13610,7 @@ interface Routes {
13209
13610
  workspace_id: string;
13210
13611
  created_at: string;
13211
13612
  display_name: string;
13212
- external_type: 'pti_user';
13613
+ external_type: 'pti_user' | 'brivo_user';
13213
13614
  external_type_display_name: string;
13214
13615
  is_suspended: boolean;
13215
13616
  full_name?: string | undefined;
@@ -13247,7 +13648,7 @@ interface Routes {
13247
13648
  workspace_id: string;
13248
13649
  created_at: string;
13249
13650
  display_name: string;
13250
- external_type: 'pti_user';
13651
+ external_type: 'pti_user' | 'brivo_user';
13251
13652
  external_type_display_name: string;
13252
13653
  is_suspended: boolean;
13253
13654
  full_name?: string | undefined;
@@ -13274,7 +13675,7 @@ interface Routes {
13274
13675
  workspace_id: string;
13275
13676
  created_at: string;
13276
13677
  display_name: string;
13277
- external_type: 'pti_user';
13678
+ external_type: 'pti_user' | 'brivo_user';
13278
13679
  external_type_display_name: string;
13279
13680
  is_suspended: boolean;
13280
13681
  full_name?: string | undefined;
@@ -13323,14 +13724,15 @@ interface Routes {
13323
13724
  route: '/acs/users/update';
13324
13725
  method: 'PATCH' | 'POST';
13325
13726
  queryParams: {};
13326
- jsonBody: {};
13327
- commonParams: {
13727
+ jsonBody: {
13328
13728
  acs_user_id: string;
13329
13729
  full_name?: string | undefined;
13330
13730
  /** Deprecated: use email_address. */
13331
13731
  email?: string | undefined;
13332
13732
  phone_number?: string | undefined;
13733
+ email_address?: string | undefined;
13333
13734
  };
13735
+ commonParams: {};
13334
13736
  formData: {};
13335
13737
  jsonResponse: {};
13336
13738
  };
@@ -13576,6 +13978,13 @@ interface Routes {
13576
13978
  created_at: string;
13577
13979
  login_successful: boolean;
13578
13980
  status: 'pending' | 'failed' | 'authorized';
13981
+ custom_redirect_url: string | null;
13982
+ custom_redirect_failure_url: string | null;
13983
+ custom_metadata: Record<string, string | number | null | boolean>;
13984
+ automatically_manage_new_devices: boolean;
13985
+ wait_for_device_creation: boolean;
13986
+ authorized_at: string | null;
13987
+ selected_provider: string | null;
13579
13988
  };
13580
13989
  };
13581
13990
  };
@@ -13613,6 +14022,13 @@ interface Routes {
13613
14022
  created_at: string;
13614
14023
  login_successful: boolean;
13615
14024
  status: 'pending' | 'failed' | 'authorized';
14025
+ custom_redirect_url: string | null;
14026
+ custom_redirect_failure_url: string | null;
14027
+ custom_metadata: Record<string, string | number | null | boolean>;
14028
+ automatically_manage_new_devices: boolean;
14029
+ wait_for_device_creation: boolean;
14030
+ authorized_at: string | null;
14031
+ selected_provider: string | null;
13616
14032
  };
13617
14033
  };
13618
14034
  };
@@ -13639,6 +14055,13 @@ interface Routes {
13639
14055
  created_at: string;
13640
14056
  login_successful: boolean;
13641
14057
  status: 'pending' | 'failed' | 'authorized';
14058
+ custom_redirect_url: string | null;
14059
+ custom_redirect_failure_url: string | null;
14060
+ custom_metadata: Record<string, string | number | null | boolean>;
14061
+ automatically_manage_new_devices: boolean;
14062
+ wait_for_device_creation: boolean;
14063
+ authorized_at: string | null;
14064
+ selected_provider: string | null;
13642
14065
  }>;
13643
14066
  };
13644
14067
  };
@@ -13754,6 +14177,9 @@ interface Routes {
13754
14177
  model: {
13755
14178
  display_name: string;
13756
14179
  manufacturer_display_name: string;
14180
+ offline_access_codes_supported?: boolean | undefined;
14181
+ access_codes_supported?: boolean | undefined;
14182
+ accessory_keypad_supported?: boolean | undefined;
13757
14183
  };
13758
14184
  has_direct_power?: boolean | undefined;
13759
14185
  battery_level?: number | undefined;
@@ -13765,7 +14191,13 @@ interface Routes {
13765
14191
  image_url?: string | undefined;
13766
14192
  image_alt_text?: string | undefined;
13767
14193
  serial_number?: string | undefined;
14194
+ /** Currently possible to use online access codes */
14195
+ online_access_codes_enabled?: boolean | undefined;
14196
+ /** Currently possible to use offline access codes */
14197
+ offline_access_codes_enabled?: boolean | undefined;
14198
+ /** Deprecated: use model.offline_access_codes_enabled. */
13768
14199
  supports_accessory_keypad?: boolean | undefined;
14200
+ /** Deprecated: use model.accessory_keypad_supported. */
13769
14201
  supports_offline_access_codes?: boolean | undefined;
13770
14202
  } & {
13771
14203
  august_metadata?: {
@@ -14164,6 +14596,9 @@ interface Routes {
14164
14596
  model: {
14165
14597
  display_name: string;
14166
14598
  manufacturer_display_name: string;
14599
+ offline_access_codes_supported?: boolean | undefined;
14600
+ access_codes_supported?: boolean | undefined;
14601
+ accessory_keypad_supported?: boolean | undefined;
14167
14602
  };
14168
14603
  has_direct_power?: boolean | undefined;
14169
14604
  battery_level?: number | undefined;
@@ -14175,7 +14610,13 @@ interface Routes {
14175
14610
  image_url?: string | undefined;
14176
14611
  image_alt_text?: string | undefined;
14177
14612
  serial_number?: string | undefined;
14613
+ /** Currently possible to use online access codes */
14614
+ online_access_codes_enabled?: boolean | undefined;
14615
+ /** Currently possible to use offline access codes */
14616
+ offline_access_codes_enabled?: boolean | undefined;
14617
+ /** Deprecated: use model.offline_access_codes_enabled. */
14178
14618
  supports_accessory_keypad?: boolean | undefined;
14619
+ /** Deprecated: use model.accessory_keypad_supported. */
14179
14620
  supports_offline_access_codes?: boolean | undefined;
14180
14621
  } & {
14181
14622
  august_metadata?: {
@@ -14829,6 +15270,9 @@ interface Routes {
14829
15270
  model: {
14830
15271
  display_name: string;
14831
15272
  manufacturer_display_name: string;
15273
+ offline_access_codes_supported?: boolean | undefined;
15274
+ access_codes_supported?: boolean | undefined;
15275
+ accessory_keypad_supported?: boolean | undefined;
14832
15276
  };
14833
15277
  has_direct_power?: boolean | undefined;
14834
15278
  battery_level?: number | undefined;
@@ -14840,7 +15284,13 @@ interface Routes {
14840
15284
  image_url?: string | undefined;
14841
15285
  image_alt_text?: string | undefined;
14842
15286
  serial_number?: string | undefined;
15287
+ /** Currently possible to use online access codes */
15288
+ online_access_codes_enabled?: boolean | undefined;
15289
+ /** Currently possible to use offline access codes */
15290
+ offline_access_codes_enabled?: boolean | undefined;
15291
+ /** Deprecated: use model.offline_access_codes_enabled. */
14843
15292
  supports_accessory_keypad?: boolean | undefined;
15293
+ /** Deprecated: use model.accessory_keypad_supported. */
14844
15294
  supports_offline_access_codes?: boolean | undefined;
14845
15295
  } & {
14846
15296
  august_metadata?: {
@@ -15217,6 +15667,9 @@ interface Routes {
15217
15667
  model: {
15218
15668
  display_name: string;
15219
15669
  manufacturer_display_name: string;
15670
+ offline_access_codes_supported?: boolean | undefined;
15671
+ access_codes_supported?: boolean | undefined;
15672
+ accessory_keypad_supported?: boolean | undefined;
15220
15673
  };
15221
15674
  has_direct_power?: boolean | undefined;
15222
15675
  battery_level?: number | undefined;
@@ -15228,7 +15681,13 @@ interface Routes {
15228
15681
  image_url?: string | undefined;
15229
15682
  image_alt_text?: string | undefined;
15230
15683
  serial_number?: string | undefined;
15684
+ /** Currently possible to use online access codes */
15685
+ online_access_codes_enabled?: boolean | undefined;
15686
+ /** Currently possible to use offline access codes */
15687
+ offline_access_codes_enabled?: boolean | undefined;
15688
+ /** Deprecated: use model.offline_access_codes_enabled. */
15231
15689
  supports_accessory_keypad?: boolean | undefined;
15690
+ /** Deprecated: use model.accessory_keypad_supported. */
15232
15691
  supports_offline_access_codes?: boolean | undefined;
15233
15692
  } & {
15234
15693
  august_metadata?: {
@@ -15627,6 +16086,9 @@ interface Routes {
15627
16086
  model: {
15628
16087
  display_name: string;
15629
16088
  manufacturer_display_name: string;
16089
+ offline_access_codes_supported?: boolean | undefined;
16090
+ access_codes_supported?: boolean | undefined;
16091
+ accessory_keypad_supported?: boolean | undefined;
15630
16092
  };
15631
16093
  has_direct_power?: boolean | undefined;
15632
16094
  battery_level?: number | undefined;
@@ -15638,7 +16100,13 @@ interface Routes {
15638
16100
  image_url?: string | undefined;
15639
16101
  image_alt_text?: string | undefined;
15640
16102
  serial_number?: string | undefined;
16103
+ /** Currently possible to use online access codes */
16104
+ online_access_codes_enabled?: boolean | undefined;
16105
+ /** Currently possible to use offline access codes */
16106
+ offline_access_codes_enabled?: boolean | undefined;
16107
+ /** Deprecated: use model.offline_access_codes_enabled. */
15641
16108
  supports_accessory_keypad?: boolean | undefined;
16109
+ /** Deprecated: use model.accessory_keypad_supported. */
15642
16110
  supports_offline_access_codes?: boolean | undefined;
15643
16111
  } & {
15644
16112
  august_metadata?: {
@@ -16015,6 +16483,9 @@ interface Routes {
16015
16483
  model: {
16016
16484
  display_name: string;
16017
16485
  manufacturer_display_name: string;
16486
+ offline_access_codes_supported?: boolean | undefined;
16487
+ access_codes_supported?: boolean | undefined;
16488
+ accessory_keypad_supported?: boolean | undefined;
16018
16489
  };
16019
16490
  has_direct_power?: boolean | undefined;
16020
16491
  battery_level?: number | undefined;
@@ -16026,7 +16497,13 @@ interface Routes {
16026
16497
  image_url?: string | undefined;
16027
16498
  image_alt_text?: string | undefined;
16028
16499
  serial_number?: string | undefined;
16500
+ /** Currently possible to use online access codes */
16501
+ online_access_codes_enabled?: boolean | undefined;
16502
+ /** Currently possible to use offline access codes */
16503
+ offline_access_codes_enabled?: boolean | undefined;
16504
+ /** Deprecated: use model.offline_access_codes_enabled. */
16029
16505
  supports_accessory_keypad?: boolean | undefined;
16506
+ /** Deprecated: use model.accessory_keypad_supported. */
16030
16507
  supports_offline_access_codes?: boolean | undefined;
16031
16508
  } & {
16032
16509
  august_metadata?: {
@@ -16823,6 +17300,9 @@ interface Routes {
16823
17300
  model: {
16824
17301
  display_name: string;
16825
17302
  manufacturer_display_name: string;
17303
+ offline_access_codes_supported?: boolean | undefined;
17304
+ access_codes_supported?: boolean | undefined;
17305
+ accessory_keypad_supported?: boolean | undefined;
16826
17306
  };
16827
17307
  has_direct_power?: boolean | undefined;
16828
17308
  battery_level?: number | undefined;
@@ -16834,7 +17314,13 @@ interface Routes {
16834
17314
  image_url?: string | undefined;
16835
17315
  image_alt_text?: string | undefined;
16836
17316
  serial_number?: string | undefined;
17317
+ /** Currently possible to use online access codes */
17318
+ online_access_codes_enabled?: boolean | undefined;
17319
+ /** Currently possible to use offline access codes */
17320
+ offline_access_codes_enabled?: boolean | undefined;
17321
+ /** Deprecated: use model.offline_access_codes_enabled. */
16837
17322
  supports_accessory_keypad?: boolean | undefined;
17323
+ /** Deprecated: use model.accessory_keypad_supported. */
16838
17324
  supports_offline_access_codes?: boolean | undefined;
16839
17325
  } & {
16840
17326
  august_metadata?: {
@@ -17263,6 +17749,9 @@ interface Routes {
17263
17749
  model: {
17264
17750
  display_name: string;
17265
17751
  manufacturer_display_name: string;
17752
+ offline_access_codes_supported?: boolean | undefined;
17753
+ access_codes_supported?: boolean | undefined;
17754
+ accessory_keypad_supported?: boolean | undefined;
17266
17755
  };
17267
17756
  has_direct_power?: boolean | undefined;
17268
17757
  battery_level?: number | undefined;
@@ -17274,7 +17763,13 @@ interface Routes {
17274
17763
  image_url?: string | undefined;
17275
17764
  image_alt_text?: string | undefined;
17276
17765
  serial_number?: string | undefined;
17766
+ /** Currently possible to use online access codes */
17767
+ online_access_codes_enabled?: boolean | undefined;
17768
+ /** Currently possible to use offline access codes */
17769
+ offline_access_codes_enabled?: boolean | undefined;
17770
+ /** Deprecated: use model.offline_access_codes_enabled. */
17277
17771
  supports_accessory_keypad?: boolean | undefined;
17772
+ /** Deprecated: use model.accessory_keypad_supported. */
17278
17773
  supports_offline_access_codes?: boolean | undefined;
17279
17774
  } & {
17280
17775
  august_metadata?: {
@@ -17775,6 +18270,9 @@ interface Routes {
17775
18270
  model: {
17776
18271
  display_name: string;
17777
18272
  manufacturer_display_name: string;
18273
+ offline_access_codes_supported?: boolean | undefined;
18274
+ access_codes_supported?: boolean | undefined;
18275
+ accessory_keypad_supported?: boolean | undefined;
17778
18276
  };
17779
18277
  has_direct_power?: boolean | undefined;
17780
18278
  battery_level?: number | undefined;
@@ -17786,7 +18284,13 @@ interface Routes {
17786
18284
  image_url?: string | undefined;
17787
18285
  image_alt_text?: string | undefined;
17788
18286
  serial_number?: string | undefined;
18287
+ /** Currently possible to use online access codes */
18288
+ online_access_codes_enabled?: boolean | undefined;
18289
+ /** Currently possible to use offline access codes */
18290
+ offline_access_codes_enabled?: boolean | undefined;
18291
+ /** Deprecated: use model.offline_access_codes_enabled. */
17789
18292
  supports_accessory_keypad?: boolean | undefined;
18293
+ /** Deprecated: use model.accessory_keypad_supported. */
17790
18294
  supports_offline_access_codes?: boolean | undefined;
17791
18295
  } & {
17792
18296
  august_metadata?: {
@@ -18171,7 +18675,7 @@ interface Routes {
18171
18675
  workspace_id: string;
18172
18676
  created_at: string;
18173
18677
  display_name: string;
18174
- external_type: 'pti_user';
18678
+ external_type: 'pti_user' | 'brivo_user';
18175
18679
  external_type_display_name: string;
18176
18680
  is_suspended: boolean;
18177
18681
  full_name?: string | undefined;
@@ -18320,4 +18824,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
18320
18824
 
18321
18825
  declare const routes: {};
18322
18826
 
18323
- export { ConnectWebview, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, _default as openapi, routes, schemas };
18827
+ export { ConnectWebview, CustomMetadata, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, _default as openapi, routes, schemas };