@seamapi/types 1.43.0 → 1.44.1

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 (36) hide show
  1. package/dist/connect.cjs +189 -121
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +352 -214
  4. package/lib/seam/connect/openapi.d.ts +230 -152
  5. package/lib/seam/connect/openapi.js +168 -116
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +93 -59
  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/package.json +1 -1
  28. package/src/lib/seam/connect/openapi.ts +168 -116
  29. package/src/lib/seam/connect/route-types.ts +93 -66
  30. package/src/lib/seam/connect/stable/model-types.ts +1 -1
  31. package/src/lib/seam/connect/stable/models/connect-webview.ts +9 -0
  32. package/src/lib/seam/connect/stable/models/custom-metadata.ts +12 -0
  33. package/src/lib/seam/connect/stable/models/index.ts +1 -0
  34. package/src/lib/seam/connect/stable/schemas.ts +1 -1
  35. package/src/lib/seam/connect/unstable/models/acs/credential.ts +5 -2
  36. package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
@@ -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;
@@ -2198,6 +2271,16 @@ declare const _default: {
2198
2271
  scheme: string;
2199
2272
  type: string;
2200
2273
  };
2274
+ api_key: {
2275
+ bearerFormat: string;
2276
+ scheme: string;
2277
+ type: string;
2278
+ };
2279
+ client_session: {
2280
+ bearerFormat: string;
2281
+ scheme: string;
2282
+ type: string;
2283
+ };
2201
2284
  client_session_token: {
2202
2285
  in: string;
2203
2286
  name: string;
@@ -2213,6 +2296,11 @@ declare const _default: {
2213
2296
  name: string;
2214
2297
  type: string;
2215
2298
  };
2299
+ user_session: {
2300
+ bearerFormat: string;
2301
+ scheme: string;
2302
+ type: string;
2303
+ };
2216
2304
  };
2217
2305
  };
2218
2306
  info: {
@@ -2787,20 +2875,25 @@ declare const _default: {
2787
2875
  };
2788
2876
  };
2789
2877
  security: ({
2878
+ api_key: never[];
2879
+ access_token?: never;
2880
+ user_session?: never;
2881
+ client_session?: never;
2882
+ } | {
2790
2883
  access_token: never[];
2791
- seam_workspace: never[];
2792
- seam_client_session_token?: never;
2793
- client_session_token?: never;
2884
+ api_key?: never;
2885
+ user_session?: never;
2886
+ client_session?: never;
2794
2887
  } | {
2795
- seam_client_session_token: never[];
2888
+ user_session: never[];
2889
+ api_key?: never;
2796
2890
  access_token?: never;
2797
- seam_workspace?: never;
2798
- client_session_token?: never;
2891
+ client_session?: never;
2799
2892
  } | {
2800
- client_session_token: never[];
2893
+ client_session: never[];
2894
+ api_key?: never;
2801
2895
  access_token?: never;
2802
- seam_workspace?: never;
2803
- seam_client_session_token?: never;
2896
+ user_session?: never;
2804
2897
  })[];
2805
2898
  summary: string;
2806
2899
  tags: string[];
@@ -4075,142 +4168,6 @@ declare const _default: {
4075
4168
  'x-fern-ignore': boolean;
4076
4169
  };
4077
4170
  };
4078
- '/acs/access_groups/create': {
4079
- post: {
4080
- operationId: string;
4081
- requestBody: {
4082
- content: {
4083
- 'application/json': {
4084
- schema: {
4085
- properties: {
4086
- acs_system_id: {
4087
- format: string;
4088
- type: string;
4089
- };
4090
- name: {
4091
- type: string;
4092
- };
4093
- };
4094
- required: string[];
4095
- type: string;
4096
- };
4097
- };
4098
- };
4099
- };
4100
- responses: {
4101
- 200: {
4102
- content: {
4103
- 'application/json': {
4104
- schema: {
4105
- properties: {
4106
- acs_access_group: {
4107
- $ref: string;
4108
- };
4109
- ok: {
4110
- type: string;
4111
- };
4112
- };
4113
- required: string[];
4114
- type: string;
4115
- };
4116
- };
4117
- };
4118
- description: string;
4119
- };
4120
- 400: {
4121
- description: string;
4122
- };
4123
- 401: {
4124
- description: string;
4125
- };
4126
- };
4127
- security: ({
4128
- access_token: never[];
4129
- seam_workspace: never[];
4130
- seam_client_session_token?: never;
4131
- client_session_token?: never;
4132
- } | {
4133
- seam_client_session_token: never[];
4134
- access_token?: never;
4135
- seam_workspace?: never;
4136
- client_session_token?: never;
4137
- } | {
4138
- client_session_token: never[];
4139
- access_token?: never;
4140
- seam_workspace?: never;
4141
- seam_client_session_token?: never;
4142
- })[];
4143
- summary: string;
4144
- tags: never[];
4145
- 'x-fern-sdk-group-name': string[];
4146
- 'x-fern-sdk-method-name': string;
4147
- };
4148
- };
4149
- '/acs/access_groups/delete': {
4150
- post: {
4151
- operationId: string;
4152
- requestBody: {
4153
- content: {
4154
- 'application/json': {
4155
- schema: {
4156
- properties: {
4157
- acs_access_group_id: {
4158
- format: string;
4159
- type: string;
4160
- };
4161
- };
4162
- required: string[];
4163
- type: string;
4164
- };
4165
- };
4166
- };
4167
- };
4168
- responses: {
4169
- 200: {
4170
- content: {
4171
- 'application/json': {
4172
- schema: {
4173
- properties: {
4174
- ok: {
4175
- type: string;
4176
- };
4177
- };
4178
- required: string[];
4179
- type: string;
4180
- };
4181
- };
4182
- };
4183
- description: string;
4184
- };
4185
- 400: {
4186
- description: string;
4187
- };
4188
- 401: {
4189
- description: string;
4190
- };
4191
- };
4192
- security: ({
4193
- access_token: never[];
4194
- seam_workspace: never[];
4195
- seam_client_session_token?: never;
4196
- client_session_token?: never;
4197
- } | {
4198
- seam_client_session_token: never[];
4199
- access_token?: never;
4200
- seam_workspace?: never;
4201
- client_session_token?: never;
4202
- } | {
4203
- client_session_token: never[];
4204
- access_token?: never;
4205
- seam_workspace?: never;
4206
- seam_client_session_token?: never;
4207
- })[];
4208
- summary: string;
4209
- tags: never[];
4210
- 'x-fern-sdk-group-name': string[];
4211
- 'x-fern-sdk-method-name': string;
4212
- };
4213
- };
4214
4171
  '/acs/access_groups/get': {
4215
4172
  post: {
4216
4173
  operationId: string;
@@ -4493,7 +4450,7 @@ declare const _default: {
4493
4450
  'x-fern-sdk-method-name': string;
4494
4451
  };
4495
4452
  };
4496
- '/acs/access_groups/update': {
4453
+ '/acs/credentials/assign': {
4497
4454
  patch: {
4498
4455
  operationId: string;
4499
4456
  requestBody: {
@@ -4501,12 +4458,12 @@ declare const _default: {
4501
4458
  'application/json': {
4502
4459
  schema: {
4503
4460
  properties: {
4504
- acs_access_group_id: {
4461
+ acs_credential_id: {
4505
4462
  format: string;
4506
4463
  type: string;
4507
4464
  };
4508
- name: {
4509
- nullable: boolean;
4465
+ acs_user_id: {
4466
+ format: string;
4510
4467
  type: string;
4511
4468
  };
4512
4469
  };
@@ -4567,12 +4524,12 @@ declare const _default: {
4567
4524
  'application/json': {
4568
4525
  schema: {
4569
4526
  properties: {
4570
- acs_access_group_id: {
4527
+ acs_credential_id: {
4571
4528
  format: string;
4572
4529
  type: string;
4573
4530
  };
4574
- name: {
4575
- nullable: boolean;
4531
+ acs_user_id: {
4532
+ format: string;
4576
4533
  type: string;
4577
4534
  };
4578
4535
  };
@@ -5032,6 +4989,141 @@ declare const _default: {
5032
4989
  'x-fern-sdk-method-name': string;
5033
4990
  };
5034
4991
  };
4992
+ '/acs/credentials/unassign': {
4993
+ patch: {
4994
+ operationId: string;
4995
+ requestBody: {
4996
+ content: {
4997
+ 'application/json': {
4998
+ schema: {
4999
+ properties: {
5000
+ acs_credential_id: {
5001
+ format: string;
5002
+ type: string;
5003
+ };
5004
+ acs_user_id: {
5005
+ format: string;
5006
+ type: string;
5007
+ };
5008
+ };
5009
+ required: string[];
5010
+ type: string;
5011
+ };
5012
+ };
5013
+ };
5014
+ };
5015
+ responses: {
5016
+ 200: {
5017
+ content: {
5018
+ 'application/json': {
5019
+ schema: {
5020
+ properties: {
5021
+ ok: {
5022
+ type: string;
5023
+ };
5024
+ };
5025
+ required: string[];
5026
+ type: string;
5027
+ };
5028
+ };
5029
+ };
5030
+ description: string;
5031
+ };
5032
+ 400: {
5033
+ description: string;
5034
+ };
5035
+ 401: {
5036
+ description: string;
5037
+ };
5038
+ };
5039
+ security: ({
5040
+ access_token: never[];
5041
+ seam_workspace: never[];
5042
+ seam_client_session_token?: never;
5043
+ client_session_token?: never;
5044
+ } | {
5045
+ seam_client_session_token: never[];
5046
+ access_token?: never;
5047
+ seam_workspace?: never;
5048
+ client_session_token?: never;
5049
+ } | {
5050
+ client_session_token: never[];
5051
+ access_token?: never;
5052
+ seam_workspace?: never;
5053
+ seam_client_session_token?: never;
5054
+ })[];
5055
+ summary: string;
5056
+ tags: never[];
5057
+ 'x-fern-ignore': boolean;
5058
+ };
5059
+ post: {
5060
+ operationId: string;
5061
+ requestBody: {
5062
+ content: {
5063
+ 'application/json': {
5064
+ schema: {
5065
+ properties: {
5066
+ acs_credential_id: {
5067
+ format: string;
5068
+ type: string;
5069
+ };
5070
+ acs_user_id: {
5071
+ format: string;
5072
+ type: string;
5073
+ };
5074
+ };
5075
+ required: string[];
5076
+ type: string;
5077
+ };
5078
+ };
5079
+ };
5080
+ };
5081
+ responses: {
5082
+ 200: {
5083
+ content: {
5084
+ 'application/json': {
5085
+ schema: {
5086
+ properties: {
5087
+ ok: {
5088
+ type: string;
5089
+ };
5090
+ };
5091
+ required: string[];
5092
+ type: string;
5093
+ };
5094
+ };
5095
+ };
5096
+ description: string;
5097
+ };
5098
+ 400: {
5099
+ description: string;
5100
+ };
5101
+ 401: {
5102
+ description: string;
5103
+ };
5104
+ };
5105
+ security: ({
5106
+ access_token: never[];
5107
+ seam_workspace: never[];
5108
+ seam_client_session_token?: never;
5109
+ client_session_token?: never;
5110
+ } | {
5111
+ seam_client_session_token: never[];
5112
+ access_token?: never;
5113
+ seam_workspace?: never;
5114
+ client_session_token?: never;
5115
+ } | {
5116
+ client_session_token: never[];
5117
+ access_token?: never;
5118
+ seam_workspace?: never;
5119
+ seam_client_session_token?: never;
5120
+ })[];
5121
+ summary: string;
5122
+ tags: never[];
5123
+ 'x-fern-sdk-group-name': string[];
5124
+ 'x-fern-sdk-method-name': string;
5125
+ };
5126
+ };
5035
5127
  '/acs/systems/get': {
5036
5128
  post: {
5037
5129
  operationId: string;
@@ -5304,6 +5396,10 @@ declare const _default: {
5304
5396
  format: string;
5305
5397
  type: string;
5306
5398
  };
5399
+ email_address: {
5400
+ format: string;
5401
+ type: string;
5402
+ };
5307
5403
  full_name: {
5308
5404
  type: string;
5309
5405
  };
@@ -5774,6 +5870,10 @@ declare const _default: {
5774
5870
  format: string;
5775
5871
  type: string;
5776
5872
  };
5873
+ email_address: {
5874
+ format: string;
5875
+ type: string;
5876
+ };
5777
5877
  full_name: {
5778
5878
  type: string;
5779
5879
  };
@@ -5848,6 +5948,10 @@ declare const _default: {
5848
5948
  format: string;
5849
5949
  type: string;
5850
5950
  };
5951
+ email_address: {
5952
+ format: string;
5953
+ type: string;
5954
+ };
5851
5955
  full_name: {
5852
5956
  type: string;
5853
5957
  };
@@ -12927,43 +13031,6 @@ interface Routes {
12927
13031
  formData: {};
12928
13032
  jsonResponse: {};
12929
13033
  };
12930
- '/acs/access_groups/create': {
12931
- route: '/acs/access_groups/create';
12932
- method: 'POST';
12933
- queryParams: {};
12934
- jsonBody: {};
12935
- commonParams: {
12936
- acs_system_id: string;
12937
- name?: string | undefined;
12938
- };
12939
- formData: {};
12940
- jsonResponse: {
12941
- acs_access_group: {
12942
- acs_access_group_id: string;
12943
- acs_system_id: string;
12944
- workspace_id: string;
12945
- name: string;
12946
- /** deprecated: use external_type */
12947
- access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
12948
- /** deprecated: use external_type_display_name */
12949
- access_group_type_display_name: string;
12950
- external_type: 'pti_unit' | 'pti_access_level' | 'salto_access_group' | 'brivo_group';
12951
- external_type_display_name: string;
12952
- created_at: string;
12953
- };
12954
- };
12955
- };
12956
- '/acs/access_groups/delete': {
12957
- route: '/acs/access_groups/delete';
12958
- method: 'DELETE' | 'POST';
12959
- queryParams: {};
12960
- jsonBody: {};
12961
- commonParams: {
12962
- acs_access_group_id: string;
12963
- };
12964
- formData: {};
12965
- jsonResponse: {};
12966
- };
12967
13034
  '/acs/access_groups/get': {
12968
13035
  route: '/acs/access_groups/get';
12969
13036
  method: 'GET' | 'POST';
@@ -13031,7 +13098,7 @@ interface Routes {
13031
13098
  workspace_id: string;
13032
13099
  created_at: string;
13033
13100
  display_name: string;
13034
- external_type: 'pti_user';
13101
+ external_type: 'pti_user' | 'brivo_user';
13035
13102
  external_type_display_name: string;
13036
13103
  is_suspended: boolean;
13037
13104
  full_name?: string | undefined;
@@ -13054,15 +13121,15 @@ interface Routes {
13054
13121
  formData: {};
13055
13122
  jsonResponse: {};
13056
13123
  };
13057
- '/acs/access_groups/update': {
13058
- route: '/acs/access_groups/update';
13124
+ '/acs/credentials/assign': {
13125
+ route: '/acs/credentials/assign';
13059
13126
  method: 'PATCH' | 'POST';
13060
13127
  queryParams: {};
13061
- jsonBody: {};
13062
- commonParams: {
13063
- acs_access_group_id: string;
13064
- name?: (string | null) | undefined;
13128
+ jsonBody: {
13129
+ acs_user_id: string;
13130
+ acs_credential_id: string;
13065
13131
  };
13132
+ commonParams: {};
13066
13133
  formData: {};
13067
13134
  jsonResponse: {};
13068
13135
  };
@@ -13079,10 +13146,10 @@ interface Routes {
13079
13146
  jsonResponse: {
13080
13147
  acs_credential: {
13081
13148
  acs_credential_id: string;
13082
- acs_user_id: string;
13149
+ acs_user_id?: string | undefined;
13083
13150
  acs_system_id: string;
13084
13151
  code: string | null;
13085
- external_type: 'pti_card';
13152
+ external_type: 'pti_card' | 'brivo_credential';
13086
13153
  external_type_display_name: string;
13087
13154
  created_at: string;
13088
13155
  workspace_id: string;
@@ -13112,10 +13179,10 @@ interface Routes {
13112
13179
  jsonResponse: {
13113
13180
  acs_credential: {
13114
13181
  acs_credential_id: string;
13115
- acs_user_id: string;
13182
+ acs_user_id?: string | undefined;
13116
13183
  acs_system_id: string;
13117
13184
  code: string | null;
13118
- external_type: 'pti_card';
13185
+ external_type: 'pti_card' | 'brivo_credential';
13119
13186
  external_type_display_name: string;
13120
13187
  created_at: string;
13121
13188
  workspace_id: string;
@@ -13139,16 +13206,28 @@ interface Routes {
13139
13206
  jsonResponse: {
13140
13207
  acs_credentials: Array<{
13141
13208
  acs_credential_id: string;
13142
- acs_user_id: string;
13209
+ acs_user_id?: string | undefined;
13143
13210
  acs_system_id: string;
13144
13211
  code: string | null;
13145
- external_type: 'pti_card';
13212
+ external_type: 'pti_card' | 'brivo_credential';
13146
13213
  external_type_display_name: string;
13147
13214
  created_at: string;
13148
13215
  workspace_id: string;
13149
13216
  }>;
13150
13217
  };
13151
13218
  };
13219
+ '/acs/credentials/unassign': {
13220
+ route: '/acs/credentials/unassign';
13221
+ method: 'PATCH' | 'POST';
13222
+ queryParams: {};
13223
+ jsonBody: {
13224
+ acs_user_id: string;
13225
+ acs_credential_id: string;
13226
+ };
13227
+ commonParams: {};
13228
+ formData: {};
13229
+ jsonResponse: {};
13230
+ };
13152
13231
  '/acs/systems/get': {
13153
13232
  route: '/acs/systems/get';
13154
13233
  method: 'GET' | 'POST';
@@ -13213,15 +13292,16 @@ interface Routes {
13213
13292
  route: '/acs/users/create';
13214
13293
  method: 'POST';
13215
13294
  queryParams: {};
13216
- jsonBody: {};
13217
- commonParams: {
13295
+ jsonBody: {
13218
13296
  acs_system_id: string;
13219
13297
  acs_access_group_ids?: string[];
13220
13298
  full_name?: string | undefined;
13221
13299
  /** Deprecated: use email_address. */
13222
13300
  email?: string | undefined;
13223
13301
  phone_number?: string | undefined;
13302
+ email_address?: string | undefined;
13224
13303
  };
13304
+ commonParams: {};
13225
13305
  formData: {};
13226
13306
  jsonResponse: {
13227
13307
  acs_user: {
@@ -13230,7 +13310,7 @@ interface Routes {
13230
13310
  workspace_id: string;
13231
13311
  created_at: string;
13232
13312
  display_name: string;
13233
- external_type: 'pti_user';
13313
+ external_type: 'pti_user' | 'brivo_user';
13234
13314
  external_type_display_name: string;
13235
13315
  is_suspended: boolean;
13236
13316
  full_name?: string | undefined;
@@ -13268,7 +13348,7 @@ interface Routes {
13268
13348
  workspace_id: string;
13269
13349
  created_at: string;
13270
13350
  display_name: string;
13271
- external_type: 'pti_user';
13351
+ external_type: 'pti_user' | 'brivo_user';
13272
13352
  external_type_display_name: string;
13273
13353
  is_suspended: boolean;
13274
13354
  full_name?: string | undefined;
@@ -13295,7 +13375,7 @@ interface Routes {
13295
13375
  workspace_id: string;
13296
13376
  created_at: string;
13297
13377
  display_name: string;
13298
- external_type: 'pti_user';
13378
+ external_type: 'pti_user' | 'brivo_user';
13299
13379
  external_type_display_name: string;
13300
13380
  is_suspended: boolean;
13301
13381
  full_name?: string | undefined;
@@ -13344,14 +13424,15 @@ interface Routes {
13344
13424
  route: '/acs/users/update';
13345
13425
  method: 'PATCH' | 'POST';
13346
13426
  queryParams: {};
13347
- jsonBody: {};
13348
- commonParams: {
13427
+ jsonBody: {
13349
13428
  acs_user_id: string;
13350
13429
  full_name?: string | undefined;
13351
13430
  /** Deprecated: use email_address. */
13352
13431
  email?: string | undefined;
13353
13432
  phone_number?: string | undefined;
13433
+ email_address?: string | undefined;
13354
13434
  };
13435
+ commonParams: {};
13355
13436
  formData: {};
13356
13437
  jsonResponse: {};
13357
13438
  };
@@ -13575,7 +13656,7 @@ interface Routes {
13575
13656
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
13576
13657
  custom_redirect_url?: string | undefined;
13577
13658
  custom_redirect_failure_url?: string | undefined;
13578
- 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' | 'yale_access'> | undefined;
13659
+ 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' | 'yale_access' | 'hid_cm'> | undefined;
13579
13660
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
13580
13661
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
13581
13662
  automatically_manage_new_devices?: boolean | undefined;
@@ -13597,6 +13678,13 @@ interface Routes {
13597
13678
  created_at: string;
13598
13679
  login_successful: boolean;
13599
13680
  status: 'pending' | 'failed' | 'authorized';
13681
+ custom_redirect_url: string | null;
13682
+ custom_redirect_failure_url: string | null;
13683
+ custom_metadata: Record<string, string | number | null | boolean>;
13684
+ automatically_manage_new_devices: boolean;
13685
+ wait_for_device_creation: boolean;
13686
+ authorized_at: string | null;
13687
+ selected_provider: string | null;
13600
13688
  };
13601
13689
  };
13602
13690
  };
@@ -13634,6 +13722,13 @@ interface Routes {
13634
13722
  created_at: string;
13635
13723
  login_successful: boolean;
13636
13724
  status: 'pending' | 'failed' | 'authorized';
13725
+ custom_redirect_url: string | null;
13726
+ custom_redirect_failure_url: string | null;
13727
+ custom_metadata: Record<string, string | number | null | boolean>;
13728
+ automatically_manage_new_devices: boolean;
13729
+ wait_for_device_creation: boolean;
13730
+ authorized_at: string | null;
13731
+ selected_provider: string | null;
13637
13732
  };
13638
13733
  };
13639
13734
  };
@@ -13660,6 +13755,13 @@ interface Routes {
13660
13755
  created_at: string;
13661
13756
  login_successful: boolean;
13662
13757
  status: 'pending' | 'failed' | 'authorized';
13758
+ custom_redirect_url: string | null;
13759
+ custom_redirect_failure_url: string | null;
13760
+ custom_metadata: Record<string, string | number | null | boolean>;
13761
+ automatically_manage_new_devices: boolean;
13762
+ wait_for_device_creation: boolean;
13763
+ authorized_at: string | null;
13764
+ selected_provider: string | null;
13663
13765
  }>;
13664
13766
  };
13665
13767
  };
@@ -14868,6 +14970,9 @@ interface Routes {
14868
14970
  model: {
14869
14971
  display_name: string;
14870
14972
  manufacturer_display_name: string;
14973
+ offline_access_codes_supported?: boolean | undefined;
14974
+ access_codes_supported?: boolean | undefined;
14975
+ accessory_keypad_supported?: boolean | undefined;
14871
14976
  };
14872
14977
  has_direct_power?: boolean | undefined;
14873
14978
  battery_level?: number | undefined;
@@ -14879,7 +14984,13 @@ interface Routes {
14879
14984
  image_url?: string | undefined;
14880
14985
  image_alt_text?: string | undefined;
14881
14986
  serial_number?: string | undefined;
14987
+ /** Currently possible to use online access codes */
14988
+ online_access_codes_enabled?: boolean | undefined;
14989
+ /** Currently possible to use offline access codes */
14990
+ offline_access_codes_enabled?: boolean | undefined;
14991
+ /** Deprecated: use model.offline_access_codes_enabled. */
14882
14992
  supports_accessory_keypad?: boolean | undefined;
14993
+ /** Deprecated: use model.accessory_keypad_supported. */
14883
14994
  supports_offline_access_codes?: boolean | undefined;
14884
14995
  } & {
14885
14996
  august_metadata?: {
@@ -15256,6 +15367,9 @@ interface Routes {
15256
15367
  model: {
15257
15368
  display_name: string;
15258
15369
  manufacturer_display_name: string;
15370
+ offline_access_codes_supported?: boolean | undefined;
15371
+ access_codes_supported?: boolean | undefined;
15372
+ accessory_keypad_supported?: boolean | undefined;
15259
15373
  };
15260
15374
  has_direct_power?: boolean | undefined;
15261
15375
  battery_level?: number | undefined;
@@ -15267,7 +15381,13 @@ interface Routes {
15267
15381
  image_url?: string | undefined;
15268
15382
  image_alt_text?: string | undefined;
15269
15383
  serial_number?: string | undefined;
15384
+ /** Currently possible to use online access codes */
15385
+ online_access_codes_enabled?: boolean | undefined;
15386
+ /** Currently possible to use offline access codes */
15387
+ offline_access_codes_enabled?: boolean | undefined;
15388
+ /** Deprecated: use model.offline_access_codes_enabled. */
15270
15389
  supports_accessory_keypad?: boolean | undefined;
15390
+ /** Deprecated: use model.accessory_keypad_supported. */
15271
15391
  supports_offline_access_codes?: boolean | undefined;
15272
15392
  } & {
15273
15393
  august_metadata?: {
@@ -15666,6 +15786,9 @@ interface Routes {
15666
15786
  model: {
15667
15787
  display_name: string;
15668
15788
  manufacturer_display_name: string;
15789
+ offline_access_codes_supported?: boolean | undefined;
15790
+ access_codes_supported?: boolean | undefined;
15791
+ accessory_keypad_supported?: boolean | undefined;
15669
15792
  };
15670
15793
  has_direct_power?: boolean | undefined;
15671
15794
  battery_level?: number | undefined;
@@ -15677,7 +15800,13 @@ interface Routes {
15677
15800
  image_url?: string | undefined;
15678
15801
  image_alt_text?: string | undefined;
15679
15802
  serial_number?: string | undefined;
15803
+ /** Currently possible to use online access codes */
15804
+ online_access_codes_enabled?: boolean | undefined;
15805
+ /** Currently possible to use offline access codes */
15806
+ offline_access_codes_enabled?: boolean | undefined;
15807
+ /** Deprecated: use model.offline_access_codes_enabled. */
15680
15808
  supports_accessory_keypad?: boolean | undefined;
15809
+ /** Deprecated: use model.accessory_keypad_supported. */
15681
15810
  supports_offline_access_codes?: boolean | undefined;
15682
15811
  } & {
15683
15812
  august_metadata?: {
@@ -16054,6 +16183,9 @@ interface Routes {
16054
16183
  model: {
16055
16184
  display_name: string;
16056
16185
  manufacturer_display_name: string;
16186
+ offline_access_codes_supported?: boolean | undefined;
16187
+ access_codes_supported?: boolean | undefined;
16188
+ accessory_keypad_supported?: boolean | undefined;
16057
16189
  };
16058
16190
  has_direct_power?: boolean | undefined;
16059
16191
  battery_level?: number | undefined;
@@ -16065,7 +16197,13 @@ interface Routes {
16065
16197
  image_url?: string | undefined;
16066
16198
  image_alt_text?: string | undefined;
16067
16199
  serial_number?: string | undefined;
16200
+ /** Currently possible to use online access codes */
16201
+ online_access_codes_enabled?: boolean | undefined;
16202
+ /** Currently possible to use offline access codes */
16203
+ offline_access_codes_enabled?: boolean | undefined;
16204
+ /** Deprecated: use model.offline_access_codes_enabled. */
16068
16205
  supports_accessory_keypad?: boolean | undefined;
16206
+ /** Deprecated: use model.accessory_keypad_supported. */
16069
16207
  supports_offline_access_codes?: boolean | undefined;
16070
16208
  } & {
16071
16209
  august_metadata?: {
@@ -18237,7 +18375,7 @@ interface Routes {
18237
18375
  workspace_id: string;
18238
18376
  created_at: string;
18239
18377
  display_name: string;
18240
- external_type: 'pti_user';
18378
+ external_type: 'pti_user' | 'brivo_user';
18241
18379
  external_type_display_name: string;
18242
18380
  is_suspended: boolean;
18243
18381
  full_name?: string | undefined;
@@ -18386,4 +18524,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
18386
18524
 
18387
18525
  declare const routes: {};
18388
18526
 
18389
- export { ConnectWebview, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, _default as openapi, routes, schemas };
18527
+ export { ConnectWebview, CustomMetadata, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, _default as openapi, routes, schemas };