@seamapi/types 1.43.0 → 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.
- package/dist/connect.cjs +243 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +456 -18
- package/lib/seam/connect/openapi.d.ts +329 -0
- package/lib/seam/connect/openapi.js +224 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +98 -15
- package/lib/seam/connect/stable/model-types.d.ts +1 -1
- package/lib/seam/connect/stable/models/connect-webview.d.ts +21 -0
- package/lib/seam/connect/stable/models/connect-webview.js +8 -0
- package/lib/seam/connect/stable/models/connect-webview.js.map +1 -1
- package/lib/seam/connect/stable/models/custom-metadata.d.ts +3 -0
- package/lib/seam/connect/stable/models/custom-metadata.js +7 -0
- package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -0
- package/lib/seam/connect/stable/models/index.d.ts +1 -0
- package/lib/seam/connect/stable/models/index.js +1 -0
- package/lib/seam/connect/stable/models/index.js.map +1 -1
- package/lib/seam/connect/stable/schemas.d.ts +1 -1
- package/lib/seam/connect/stable/schemas.js +1 -1
- package/lib/seam/connect/stable/schemas.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/credential.js +5 -2
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
- package/lib/seam/connect/unstable/models/acs/user.js +1 -1
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +224 -8
- package/src/lib/seam/connect/route-types.ts +98 -15
- package/src/lib/seam/connect/stable/model-types.ts +1 -1
- package/src/lib/seam/connect/stable/models/connect-webview.ts +9 -0
- package/src/lib/seam/connect/stable/models/custom-metadata.ts +12 -0
- package/src/lib/seam/connect/stable/models/index.ts +1 -0
- package/src/lib/seam/connect/stable/schemas.ts +1 -1
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +5 -2
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -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;
|
|
@@ -4628,6 +4701,141 @@ declare const _default: {
|
|
|
4628
4701
|
'x-fern-sdk-method-name': string;
|
|
4629
4702
|
};
|
|
4630
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
|
+
};
|
|
4631
4839
|
'/acs/credentials/create': {
|
|
4632
4840
|
post: {
|
|
4633
4841
|
operationId: string;
|
|
@@ -5032,6 +5240,141 @@ declare const _default: {
|
|
|
5032
5240
|
'x-fern-sdk-method-name': string;
|
|
5033
5241
|
};
|
|
5034
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
|
+
};
|
|
5035
5378
|
'/acs/systems/get': {
|
|
5036
5379
|
post: {
|
|
5037
5380
|
operationId: string;
|
|
@@ -5304,6 +5647,10 @@ declare const _default: {
|
|
|
5304
5647
|
format: string;
|
|
5305
5648
|
type: string;
|
|
5306
5649
|
};
|
|
5650
|
+
email_address: {
|
|
5651
|
+
format: string;
|
|
5652
|
+
type: string;
|
|
5653
|
+
};
|
|
5307
5654
|
full_name: {
|
|
5308
5655
|
type: string;
|
|
5309
5656
|
};
|
|
@@ -5774,6 +6121,10 @@ declare const _default: {
|
|
|
5774
6121
|
format: string;
|
|
5775
6122
|
type: string;
|
|
5776
6123
|
};
|
|
6124
|
+
email_address: {
|
|
6125
|
+
format: string;
|
|
6126
|
+
type: string;
|
|
6127
|
+
};
|
|
5777
6128
|
full_name: {
|
|
5778
6129
|
type: string;
|
|
5779
6130
|
};
|
|
@@ -5848,6 +6199,10 @@ declare const _default: {
|
|
|
5848
6199
|
format: string;
|
|
5849
6200
|
type: string;
|
|
5850
6201
|
};
|
|
6202
|
+
email_address: {
|
|
6203
|
+
format: string;
|
|
6204
|
+
type: string;
|
|
6205
|
+
};
|
|
5851
6206
|
full_name: {
|
|
5852
6207
|
type: string;
|
|
5853
6208
|
};
|
|
@@ -13031,7 +13386,7 @@ interface Routes {
|
|
|
13031
13386
|
workspace_id: string;
|
|
13032
13387
|
created_at: string;
|
|
13033
13388
|
display_name: string;
|
|
13034
|
-
external_type: 'pti_user';
|
|
13389
|
+
external_type: 'pti_user' | 'brivo_user';
|
|
13035
13390
|
external_type_display_name: string;
|
|
13036
13391
|
is_suspended: boolean;
|
|
13037
13392
|
full_name?: string | undefined;
|
|
@@ -13066,6 +13421,18 @@ interface Routes {
|
|
|
13066
13421
|
formData: {};
|
|
13067
13422
|
jsonResponse: {};
|
|
13068
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
|
+
};
|
|
13069
13436
|
'/acs/credentials/create': {
|
|
13070
13437
|
route: '/acs/credentials/create';
|
|
13071
13438
|
method: 'POST';
|
|
@@ -13079,10 +13446,10 @@ interface Routes {
|
|
|
13079
13446
|
jsonResponse: {
|
|
13080
13447
|
acs_credential: {
|
|
13081
13448
|
acs_credential_id: string;
|
|
13082
|
-
acs_user_id
|
|
13449
|
+
acs_user_id?: string | undefined;
|
|
13083
13450
|
acs_system_id: string;
|
|
13084
13451
|
code: string | null;
|
|
13085
|
-
external_type: 'pti_card';
|
|
13452
|
+
external_type: 'pti_card' | 'brivo_credential';
|
|
13086
13453
|
external_type_display_name: string;
|
|
13087
13454
|
created_at: string;
|
|
13088
13455
|
workspace_id: string;
|
|
@@ -13112,10 +13479,10 @@ interface Routes {
|
|
|
13112
13479
|
jsonResponse: {
|
|
13113
13480
|
acs_credential: {
|
|
13114
13481
|
acs_credential_id: string;
|
|
13115
|
-
acs_user_id
|
|
13482
|
+
acs_user_id?: string | undefined;
|
|
13116
13483
|
acs_system_id: string;
|
|
13117
13484
|
code: string | null;
|
|
13118
|
-
external_type: 'pti_card';
|
|
13485
|
+
external_type: 'pti_card' | 'brivo_credential';
|
|
13119
13486
|
external_type_display_name: string;
|
|
13120
13487
|
created_at: string;
|
|
13121
13488
|
workspace_id: string;
|
|
@@ -13139,16 +13506,28 @@ interface Routes {
|
|
|
13139
13506
|
jsonResponse: {
|
|
13140
13507
|
acs_credentials: Array<{
|
|
13141
13508
|
acs_credential_id: string;
|
|
13142
|
-
acs_user_id
|
|
13509
|
+
acs_user_id?: string | undefined;
|
|
13143
13510
|
acs_system_id: string;
|
|
13144
13511
|
code: string | null;
|
|
13145
|
-
external_type: 'pti_card';
|
|
13512
|
+
external_type: 'pti_card' | 'brivo_credential';
|
|
13146
13513
|
external_type_display_name: string;
|
|
13147
13514
|
created_at: string;
|
|
13148
13515
|
workspace_id: string;
|
|
13149
13516
|
}>;
|
|
13150
13517
|
};
|
|
13151
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
|
+
};
|
|
13152
13531
|
'/acs/systems/get': {
|
|
13153
13532
|
route: '/acs/systems/get';
|
|
13154
13533
|
method: 'GET' | 'POST';
|
|
@@ -13213,15 +13592,16 @@ interface Routes {
|
|
|
13213
13592
|
route: '/acs/users/create';
|
|
13214
13593
|
method: 'POST';
|
|
13215
13594
|
queryParams: {};
|
|
13216
|
-
jsonBody: {
|
|
13217
|
-
commonParams: {
|
|
13595
|
+
jsonBody: {
|
|
13218
13596
|
acs_system_id: string;
|
|
13219
13597
|
acs_access_group_ids?: string[];
|
|
13220
13598
|
full_name?: string | undefined;
|
|
13221
13599
|
/** Deprecated: use email_address. */
|
|
13222
13600
|
email?: string | undefined;
|
|
13223
13601
|
phone_number?: string | undefined;
|
|
13602
|
+
email_address?: string | undefined;
|
|
13224
13603
|
};
|
|
13604
|
+
commonParams: {};
|
|
13225
13605
|
formData: {};
|
|
13226
13606
|
jsonResponse: {
|
|
13227
13607
|
acs_user: {
|
|
@@ -13230,7 +13610,7 @@ interface Routes {
|
|
|
13230
13610
|
workspace_id: string;
|
|
13231
13611
|
created_at: string;
|
|
13232
13612
|
display_name: string;
|
|
13233
|
-
external_type: 'pti_user';
|
|
13613
|
+
external_type: 'pti_user' | 'brivo_user';
|
|
13234
13614
|
external_type_display_name: string;
|
|
13235
13615
|
is_suspended: boolean;
|
|
13236
13616
|
full_name?: string | undefined;
|
|
@@ -13268,7 +13648,7 @@ interface Routes {
|
|
|
13268
13648
|
workspace_id: string;
|
|
13269
13649
|
created_at: string;
|
|
13270
13650
|
display_name: string;
|
|
13271
|
-
external_type: 'pti_user';
|
|
13651
|
+
external_type: 'pti_user' | 'brivo_user';
|
|
13272
13652
|
external_type_display_name: string;
|
|
13273
13653
|
is_suspended: boolean;
|
|
13274
13654
|
full_name?: string | undefined;
|
|
@@ -13295,7 +13675,7 @@ interface Routes {
|
|
|
13295
13675
|
workspace_id: string;
|
|
13296
13676
|
created_at: string;
|
|
13297
13677
|
display_name: string;
|
|
13298
|
-
external_type: 'pti_user';
|
|
13678
|
+
external_type: 'pti_user' | 'brivo_user';
|
|
13299
13679
|
external_type_display_name: string;
|
|
13300
13680
|
is_suspended: boolean;
|
|
13301
13681
|
full_name?: string | undefined;
|
|
@@ -13344,14 +13724,15 @@ interface Routes {
|
|
|
13344
13724
|
route: '/acs/users/update';
|
|
13345
13725
|
method: 'PATCH' | 'POST';
|
|
13346
13726
|
queryParams: {};
|
|
13347
|
-
jsonBody: {
|
|
13348
|
-
commonParams: {
|
|
13727
|
+
jsonBody: {
|
|
13349
13728
|
acs_user_id: string;
|
|
13350
13729
|
full_name?: string | undefined;
|
|
13351
13730
|
/** Deprecated: use email_address. */
|
|
13352
13731
|
email?: string | undefined;
|
|
13353
13732
|
phone_number?: string | undefined;
|
|
13733
|
+
email_address?: string | undefined;
|
|
13354
13734
|
};
|
|
13735
|
+
commonParams: {};
|
|
13355
13736
|
formData: {};
|
|
13356
13737
|
jsonResponse: {};
|
|
13357
13738
|
};
|
|
@@ -13597,6 +13978,13 @@ interface Routes {
|
|
|
13597
13978
|
created_at: string;
|
|
13598
13979
|
login_successful: boolean;
|
|
13599
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;
|
|
13600
13988
|
};
|
|
13601
13989
|
};
|
|
13602
13990
|
};
|
|
@@ -13634,6 +14022,13 @@ interface Routes {
|
|
|
13634
14022
|
created_at: string;
|
|
13635
14023
|
login_successful: boolean;
|
|
13636
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;
|
|
13637
14032
|
};
|
|
13638
14033
|
};
|
|
13639
14034
|
};
|
|
@@ -13660,6 +14055,13 @@ interface Routes {
|
|
|
13660
14055
|
created_at: string;
|
|
13661
14056
|
login_successful: boolean;
|
|
13662
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;
|
|
13663
14065
|
}>;
|
|
13664
14066
|
};
|
|
13665
14067
|
};
|
|
@@ -14868,6 +15270,9 @@ interface Routes {
|
|
|
14868
15270
|
model: {
|
|
14869
15271
|
display_name: string;
|
|
14870
15272
|
manufacturer_display_name: string;
|
|
15273
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
15274
|
+
access_codes_supported?: boolean | undefined;
|
|
15275
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
14871
15276
|
};
|
|
14872
15277
|
has_direct_power?: boolean | undefined;
|
|
14873
15278
|
battery_level?: number | undefined;
|
|
@@ -14879,7 +15284,13 @@ interface Routes {
|
|
|
14879
15284
|
image_url?: string | undefined;
|
|
14880
15285
|
image_alt_text?: string | undefined;
|
|
14881
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. */
|
|
14882
15292
|
supports_accessory_keypad?: boolean | undefined;
|
|
15293
|
+
/** Deprecated: use model.accessory_keypad_supported. */
|
|
14883
15294
|
supports_offline_access_codes?: boolean | undefined;
|
|
14884
15295
|
} & {
|
|
14885
15296
|
august_metadata?: {
|
|
@@ -15256,6 +15667,9 @@ interface Routes {
|
|
|
15256
15667
|
model: {
|
|
15257
15668
|
display_name: string;
|
|
15258
15669
|
manufacturer_display_name: string;
|
|
15670
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
15671
|
+
access_codes_supported?: boolean | undefined;
|
|
15672
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
15259
15673
|
};
|
|
15260
15674
|
has_direct_power?: boolean | undefined;
|
|
15261
15675
|
battery_level?: number | undefined;
|
|
@@ -15267,7 +15681,13 @@ interface Routes {
|
|
|
15267
15681
|
image_url?: string | undefined;
|
|
15268
15682
|
image_alt_text?: string | undefined;
|
|
15269
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. */
|
|
15270
15689
|
supports_accessory_keypad?: boolean | undefined;
|
|
15690
|
+
/** Deprecated: use model.accessory_keypad_supported. */
|
|
15271
15691
|
supports_offline_access_codes?: boolean | undefined;
|
|
15272
15692
|
} & {
|
|
15273
15693
|
august_metadata?: {
|
|
@@ -15666,6 +16086,9 @@ interface Routes {
|
|
|
15666
16086
|
model: {
|
|
15667
16087
|
display_name: string;
|
|
15668
16088
|
manufacturer_display_name: string;
|
|
16089
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
16090
|
+
access_codes_supported?: boolean | undefined;
|
|
16091
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
15669
16092
|
};
|
|
15670
16093
|
has_direct_power?: boolean | undefined;
|
|
15671
16094
|
battery_level?: number | undefined;
|
|
@@ -15677,7 +16100,13 @@ interface Routes {
|
|
|
15677
16100
|
image_url?: string | undefined;
|
|
15678
16101
|
image_alt_text?: string | undefined;
|
|
15679
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. */
|
|
15680
16108
|
supports_accessory_keypad?: boolean | undefined;
|
|
16109
|
+
/** Deprecated: use model.accessory_keypad_supported. */
|
|
15681
16110
|
supports_offline_access_codes?: boolean | undefined;
|
|
15682
16111
|
} & {
|
|
15683
16112
|
august_metadata?: {
|
|
@@ -16054,6 +16483,9 @@ interface Routes {
|
|
|
16054
16483
|
model: {
|
|
16055
16484
|
display_name: string;
|
|
16056
16485
|
manufacturer_display_name: string;
|
|
16486
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
16487
|
+
access_codes_supported?: boolean | undefined;
|
|
16488
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
16057
16489
|
};
|
|
16058
16490
|
has_direct_power?: boolean | undefined;
|
|
16059
16491
|
battery_level?: number | undefined;
|
|
@@ -16065,7 +16497,13 @@ interface Routes {
|
|
|
16065
16497
|
image_url?: string | undefined;
|
|
16066
16498
|
image_alt_text?: string | undefined;
|
|
16067
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. */
|
|
16068
16505
|
supports_accessory_keypad?: boolean | undefined;
|
|
16506
|
+
/** Deprecated: use model.accessory_keypad_supported. */
|
|
16069
16507
|
supports_offline_access_codes?: boolean | undefined;
|
|
16070
16508
|
} & {
|
|
16071
16509
|
august_metadata?: {
|
|
@@ -18237,7 +18675,7 @@ interface Routes {
|
|
|
18237
18675
|
workspace_id: string;
|
|
18238
18676
|
created_at: string;
|
|
18239
18677
|
display_name: string;
|
|
18240
|
-
external_type: 'pti_user';
|
|
18678
|
+
external_type: 'pti_user' | 'brivo_user';
|
|
18241
18679
|
external_type_display_name: string;
|
|
18242
18680
|
is_suspended: boolean;
|
|
18243
18681
|
full_name?: string | undefined;
|
|
@@ -18386,4 +18824,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
|
|
|
18386
18824
|
|
|
18387
18825
|
declare const routes: {};
|
|
18388
18826
|
|
|
18389
|
-
export { ConnectWebview, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, _default as openapi, routes, schemas };
|
|
18827
|
+
export { ConnectWebview, CustomMetadata, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, _default as openapi, routes, schemas };
|