@seamapi/types 1.460.0 → 1.460.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.
- package/dist/connect.cjs +331 -120
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +848 -238
- package/dist/index.cjs +331 -120
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +2338 -276
- package/lib/seam/connect/models/batch.js +7 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +18 -18
- package/lib/seam/connect/models/customer/access-grant-resources.js +2 -1
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +15 -15
- package/lib/seam/connect/models/phones/phone-session.d.ts +167 -0
- package/lib/seam/connect/models/phones/phone-session.js +3 -0
- package/lib/seam/connect/models/phones/phone-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +199 -33
- package/lib/seam/connect/openapi.js +319 -113
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +619 -175
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/batch.ts +7 -0
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +2 -1
- package/src/lib/seam/connect/models/phones/phone-session.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +341 -113
- package/src/lib/seam/connect/route-types.ts +789 -189
|
@@ -4442,46 +4442,127 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
4442
4442
|
room_description?: string | undefined;
|
|
4443
4443
|
} | undefined;
|
|
4444
4444
|
}>, "many">>;
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4445
|
+
connected_accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4446
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
4447
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4448
|
+
user_identifier: z.ZodOptional<z.ZodObject<{
|
|
4449
|
+
username: z.ZodOptional<z.ZodString>;
|
|
4450
|
+
api_url: z.ZodOptional<z.ZodString>;
|
|
4451
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4452
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
4453
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
4454
|
+
}, "strip", z.ZodTypeAny, {
|
|
4455
|
+
exclusive?: boolean | undefined;
|
|
4456
|
+
username?: string | undefined;
|
|
4457
|
+
email?: string | undefined;
|
|
4458
|
+
phone?: string | undefined;
|
|
4459
|
+
api_url?: string | undefined;
|
|
4460
|
+
}, {
|
|
4461
|
+
exclusive?: boolean | undefined;
|
|
4462
|
+
username?: string | undefined;
|
|
4463
|
+
email?: string | undefined;
|
|
4464
|
+
phone?: string | undefined;
|
|
4465
|
+
api_url?: string | undefined;
|
|
4466
|
+
}>>;
|
|
4467
|
+
account_type: z.ZodOptional<z.ZodString>;
|
|
4468
|
+
account_type_display_name: z.ZodString;
|
|
4469
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
4470
|
+
created_at: z.ZodString;
|
|
4471
|
+
message: z.ZodString;
|
|
4472
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
4473
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4474
|
+
} & {
|
|
4475
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
4476
|
+
}, "strip", z.ZodTypeAny, {
|
|
4467
4477
|
message: string;
|
|
4468
4478
|
created_at: string;
|
|
4469
4479
|
error_code: "account_disconnected";
|
|
4470
4480
|
is_connected_account_error?: boolean | undefined;
|
|
4471
4481
|
is_bridge_error?: boolean | undefined;
|
|
4472
|
-
}
|
|
4482
|
+
}, {
|
|
4483
|
+
message: string;
|
|
4484
|
+
created_at: string;
|
|
4485
|
+
error_code: "account_disconnected";
|
|
4486
|
+
is_connected_account_error?: boolean | undefined;
|
|
4487
|
+
is_bridge_error?: boolean | undefined;
|
|
4488
|
+
}>, z.ZodObject<{
|
|
4489
|
+
created_at: z.ZodString;
|
|
4490
|
+
message: z.ZodString;
|
|
4491
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
4492
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4493
|
+
} & {
|
|
4494
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
4495
|
+
}, "strip", z.ZodTypeAny, {
|
|
4473
4496
|
message: string;
|
|
4474
4497
|
created_at: string;
|
|
4475
4498
|
error_code: "invalid_credentials";
|
|
4476
4499
|
is_connected_account_error?: boolean | undefined;
|
|
4477
4500
|
is_bridge_error?: boolean | undefined;
|
|
4478
|
-
}
|
|
4501
|
+
}, {
|
|
4502
|
+
message: string;
|
|
4503
|
+
created_at: string;
|
|
4504
|
+
error_code: "invalid_credentials";
|
|
4505
|
+
is_connected_account_error?: boolean | undefined;
|
|
4506
|
+
is_bridge_error?: boolean | undefined;
|
|
4507
|
+
}>, z.ZodObject<{
|
|
4508
|
+
created_at: z.ZodString;
|
|
4509
|
+
message: z.ZodString;
|
|
4510
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
4511
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4512
|
+
} & {
|
|
4513
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
4514
|
+
}, "strip", z.ZodTypeAny, {
|
|
4479
4515
|
message: string;
|
|
4480
4516
|
created_at: string;
|
|
4481
4517
|
error_code: "bridge_disconnected";
|
|
4482
4518
|
is_connected_account_error?: boolean | undefined;
|
|
4483
4519
|
is_bridge_error?: boolean | undefined;
|
|
4484
|
-
}
|
|
4520
|
+
}, {
|
|
4521
|
+
message: string;
|
|
4522
|
+
created_at: string;
|
|
4523
|
+
error_code: "bridge_disconnected";
|
|
4524
|
+
is_connected_account_error?: boolean | undefined;
|
|
4525
|
+
is_bridge_error?: boolean | undefined;
|
|
4526
|
+
}>, z.ZodObject<{
|
|
4527
|
+
created_at: z.ZodString;
|
|
4528
|
+
message: z.ZodString;
|
|
4529
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
4530
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4531
|
+
} & {
|
|
4532
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
4533
|
+
salto_ks_metadata: z.ZodObject<{
|
|
4534
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
4535
|
+
site_id: z.ZodString;
|
|
4536
|
+
site_name: z.ZodString;
|
|
4537
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
4538
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
4539
|
+
}, "strip", z.ZodTypeAny, {
|
|
4540
|
+
site_id: string;
|
|
4541
|
+
site_name: string;
|
|
4542
|
+
subscribed_site_user_count: number;
|
|
4543
|
+
site_user_subscription_limit: number;
|
|
4544
|
+
}, {
|
|
4545
|
+
site_id: string;
|
|
4546
|
+
site_name: string;
|
|
4547
|
+
subscribed_site_user_count: number;
|
|
4548
|
+
site_user_subscription_limit: number;
|
|
4549
|
+
}>, "many">;
|
|
4550
|
+
}, "strip", z.ZodTypeAny, {
|
|
4551
|
+
sites: {
|
|
4552
|
+
site_id: string;
|
|
4553
|
+
site_name: string;
|
|
4554
|
+
subscribed_site_user_count: number;
|
|
4555
|
+
site_user_subscription_limit: number;
|
|
4556
|
+
}[];
|
|
4557
|
+
}, {
|
|
4558
|
+
sites: {
|
|
4559
|
+
site_id: string;
|
|
4560
|
+
site_name: string;
|
|
4561
|
+
subscribed_site_user_count: number;
|
|
4562
|
+
site_user_subscription_limit: number;
|
|
4563
|
+
}[];
|
|
4564
|
+
}>;
|
|
4565
|
+
}, "strip", z.ZodTypeAny, {
|
|
4485
4566
|
message: string;
|
|
4486
4567
|
created_at: string;
|
|
4487
4568
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
@@ -4495,181 +4576,775 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
4495
4576
|
};
|
|
4496
4577
|
is_connected_account_error?: boolean | undefined;
|
|
4497
4578
|
is_bridge_error?: boolean | undefined;
|
|
4498
|
-
}
|
|
4579
|
+
}, {
|
|
4499
4580
|
message: string;
|
|
4500
4581
|
created_at: string;
|
|
4501
|
-
error_code: "
|
|
4502
|
-
|
|
4503
|
-
|
|
4582
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4583
|
+
salto_ks_metadata: {
|
|
4584
|
+
sites: {
|
|
4585
|
+
site_id: string;
|
|
4586
|
+
site_name: string;
|
|
4587
|
+
subscribed_site_user_count: number;
|
|
4588
|
+
site_user_subscription_limit: number;
|
|
4589
|
+
}[];
|
|
4590
|
+
};
|
|
4591
|
+
is_connected_account_error?: boolean | undefined;
|
|
4592
|
+
is_bridge_error?: boolean | undefined;
|
|
4593
|
+
}>]>, "many">;
|
|
4594
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
4595
|
+
created_at: z.ZodString;
|
|
4596
|
+
message: z.ZodString;
|
|
4597
|
+
} & {
|
|
4598
|
+
warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
|
|
4599
|
+
}, "strip", z.ZodTypeAny, {
|
|
4504
4600
|
message: string;
|
|
4505
4601
|
created_at: string;
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
} | {
|
|
4602
|
+
warning_code: "scheduled_maintenance_window";
|
|
4603
|
+
}, {
|
|
4509
4604
|
message: string;
|
|
4510
4605
|
created_at: string;
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4606
|
+
warning_code: "scheduled_maintenance_window";
|
|
4607
|
+
}>, z.ZodObject<{
|
|
4608
|
+
created_at: z.ZodString;
|
|
4609
|
+
message: z.ZodString;
|
|
4610
|
+
} & {
|
|
4611
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
|
|
4612
|
+
}, "strip", z.ZodTypeAny, {
|
|
4514
4613
|
message: string;
|
|
4515
4614
|
created_at: string;
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
} | {
|
|
4615
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
4616
|
+
}, {
|
|
4519
4617
|
message: string;
|
|
4520
4618
|
created_at: string;
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4619
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
4620
|
+
}>, z.ZodObject<{
|
|
4621
|
+
created_at: z.ZodString;
|
|
4622
|
+
message: z.ZodString;
|
|
4623
|
+
} & {
|
|
4624
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
4625
|
+
salto_ks_metadata: z.ZodObject<{
|
|
4626
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
4627
|
+
site_id: z.ZodString;
|
|
4628
|
+
site_name: z.ZodString;
|
|
4629
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
4630
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
4631
|
+
}, "strip", z.ZodTypeAny, {
|
|
4632
|
+
site_id: string;
|
|
4633
|
+
site_name: string;
|
|
4634
|
+
subscribed_site_user_count: number;
|
|
4635
|
+
site_user_subscription_limit: number;
|
|
4636
|
+
}, {
|
|
4637
|
+
site_id: string;
|
|
4638
|
+
site_name: string;
|
|
4639
|
+
subscribed_site_user_count: number;
|
|
4640
|
+
site_user_subscription_limit: number;
|
|
4641
|
+
}>, "many">;
|
|
4642
|
+
}, "strip", z.ZodTypeAny, {
|
|
4643
|
+
sites: {
|
|
4644
|
+
site_id: string;
|
|
4645
|
+
site_name: string;
|
|
4646
|
+
subscribed_site_user_count: number;
|
|
4647
|
+
site_user_subscription_limit: number;
|
|
4648
|
+
}[];
|
|
4649
|
+
}, {
|
|
4650
|
+
sites: {
|
|
4651
|
+
site_id: string;
|
|
4652
|
+
site_name: string;
|
|
4653
|
+
subscribed_site_user_count: number;
|
|
4654
|
+
site_user_subscription_limit: number;
|
|
4655
|
+
}[];
|
|
4656
|
+
}>;
|
|
4657
|
+
}, "strip", z.ZodTypeAny, {
|
|
4525
4658
|
message: string;
|
|
4526
4659
|
created_at: string;
|
|
4527
|
-
|
|
4528
|
-
|
|
4660
|
+
salto_ks_metadata: {
|
|
4661
|
+
sites: {
|
|
4662
|
+
site_id: string;
|
|
4663
|
+
site_name: string;
|
|
4664
|
+
subscribed_site_user_count: number;
|
|
4665
|
+
site_user_subscription_limit: number;
|
|
4666
|
+
}[];
|
|
4667
|
+
};
|
|
4668
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4669
|
+
}, {
|
|
4670
|
+
message: string;
|
|
4671
|
+
created_at: string;
|
|
4672
|
+
salto_ks_metadata: {
|
|
4673
|
+
sites: {
|
|
4674
|
+
site_id: string;
|
|
4675
|
+
site_name: string;
|
|
4676
|
+
subscribed_site_user_count: number;
|
|
4677
|
+
site_user_subscription_limit: number;
|
|
4678
|
+
}[];
|
|
4679
|
+
};
|
|
4680
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4681
|
+
}>]>, "many">;
|
|
4682
|
+
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
4683
|
+
automatically_manage_new_devices: z.ZodBoolean;
|
|
4684
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
4685
|
+
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
|
|
4686
|
+
}, "strip", z.ZodTypeAny, {
|
|
4687
|
+
errors: ({
|
|
4688
|
+
message: string;
|
|
4689
|
+
created_at: string;
|
|
4690
|
+
error_code: "account_disconnected";
|
|
4691
|
+
is_connected_account_error?: boolean | undefined;
|
|
4692
|
+
is_bridge_error?: boolean | undefined;
|
|
4529
4693
|
} | {
|
|
4530
4694
|
message: string;
|
|
4531
4695
|
created_at: string;
|
|
4532
|
-
error_code: "
|
|
4533
|
-
|
|
4696
|
+
error_code: "invalid_credentials";
|
|
4697
|
+
is_connected_account_error?: boolean | undefined;
|
|
4698
|
+
is_bridge_error?: boolean | undefined;
|
|
4534
4699
|
} | {
|
|
4535
4700
|
message: string;
|
|
4536
4701
|
created_at: string;
|
|
4537
|
-
error_code: "
|
|
4538
|
-
|
|
4702
|
+
error_code: "bridge_disconnected";
|
|
4703
|
+
is_connected_account_error?: boolean | undefined;
|
|
4704
|
+
is_bridge_error?: boolean | undefined;
|
|
4539
4705
|
} | {
|
|
4540
4706
|
message: string;
|
|
4541
4707
|
created_at: string;
|
|
4542
4708
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4709
|
+
salto_ks_metadata: {
|
|
4710
|
+
sites: {
|
|
4711
|
+
site_id: string;
|
|
4712
|
+
site_name: string;
|
|
4713
|
+
subscribed_site_user_count: number;
|
|
4714
|
+
site_user_subscription_limit: number;
|
|
4715
|
+
}[];
|
|
4716
|
+
};
|
|
4717
|
+
is_connected_account_error?: boolean | undefined;
|
|
4718
|
+
is_bridge_error?: boolean | undefined;
|
|
4719
|
+
})[];
|
|
4720
|
+
account_type_display_name: string;
|
|
4721
|
+
warnings: ({
|
|
4546
4722
|
message: string;
|
|
4547
4723
|
created_at: string;
|
|
4548
|
-
|
|
4549
|
-
is_device_error: true;
|
|
4724
|
+
warning_code: "scheduled_maintenance_window";
|
|
4550
4725
|
} | {
|
|
4551
4726
|
message: string;
|
|
4552
4727
|
created_at: string;
|
|
4553
|
-
|
|
4554
|
-
is_device_error: true;
|
|
4728
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
4555
4729
|
} | {
|
|
4556
4730
|
message: string;
|
|
4557
4731
|
created_at: string;
|
|
4558
|
-
|
|
4559
|
-
|
|
4732
|
+
salto_ks_metadata: {
|
|
4733
|
+
sites: {
|
|
4734
|
+
site_id: string;
|
|
4735
|
+
site_name: string;
|
|
4736
|
+
subscribed_site_user_count: number;
|
|
4737
|
+
site_user_subscription_limit: number;
|
|
4738
|
+
}[];
|
|
4739
|
+
};
|
|
4740
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4741
|
+
})[];
|
|
4742
|
+
custom_metadata: Record<string, string | boolean>;
|
|
4743
|
+
automatically_manage_new_devices: boolean;
|
|
4744
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
4745
|
+
created_at?: string | undefined;
|
|
4746
|
+
connected_account_id?: string | undefined;
|
|
4747
|
+
user_identifier?: {
|
|
4748
|
+
exclusive?: boolean | undefined;
|
|
4749
|
+
username?: string | undefined;
|
|
4750
|
+
email?: string | undefined;
|
|
4751
|
+
phone?: string | undefined;
|
|
4752
|
+
api_url?: string | undefined;
|
|
4753
|
+
} | undefined;
|
|
4754
|
+
account_type?: string | undefined;
|
|
4755
|
+
customer_key?: string | undefined;
|
|
4756
|
+
}, {
|
|
4757
|
+
errors: ({
|
|
4758
|
+
message: string;
|
|
4759
|
+
created_at: string;
|
|
4760
|
+
error_code: "account_disconnected";
|
|
4761
|
+
is_connected_account_error?: boolean | undefined;
|
|
4762
|
+
is_bridge_error?: boolean | undefined;
|
|
4560
4763
|
} | {
|
|
4561
4764
|
message: string;
|
|
4562
4765
|
created_at: string;
|
|
4563
|
-
error_code: "
|
|
4564
|
-
|
|
4766
|
+
error_code: "invalid_credentials";
|
|
4767
|
+
is_connected_account_error?: boolean | undefined;
|
|
4768
|
+
is_bridge_error?: boolean | undefined;
|
|
4565
4769
|
} | {
|
|
4566
4770
|
message: string;
|
|
4567
4771
|
created_at: string;
|
|
4568
|
-
error_code: "
|
|
4569
|
-
|
|
4772
|
+
error_code: "bridge_disconnected";
|
|
4773
|
+
is_connected_account_error?: boolean | undefined;
|
|
4774
|
+
is_bridge_error?: boolean | undefined;
|
|
4775
|
+
} | {
|
|
4776
|
+
message: string;
|
|
4777
|
+
created_at: string;
|
|
4778
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4779
|
+
salto_ks_metadata: {
|
|
4780
|
+
sites: {
|
|
4781
|
+
site_id: string;
|
|
4782
|
+
site_name: string;
|
|
4783
|
+
subscribed_site_user_count: number;
|
|
4784
|
+
site_user_subscription_limit: number;
|
|
4785
|
+
}[];
|
|
4786
|
+
};
|
|
4787
|
+
is_connected_account_error?: boolean | undefined;
|
|
4788
|
+
is_bridge_error?: boolean | undefined;
|
|
4570
4789
|
})[];
|
|
4571
|
-
|
|
4790
|
+
account_type_display_name: string;
|
|
4572
4791
|
warnings: ({
|
|
4573
4792
|
message: string;
|
|
4574
4793
|
created_at: string;
|
|
4575
|
-
warning_code: "
|
|
4794
|
+
warning_code: "scheduled_maintenance_window";
|
|
4576
4795
|
} | {
|
|
4577
4796
|
message: string;
|
|
4578
4797
|
created_at: string;
|
|
4579
|
-
warning_code: "
|
|
4798
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
4580
4799
|
} | {
|
|
4581
4800
|
message: string;
|
|
4582
4801
|
created_at: string;
|
|
4583
|
-
|
|
4584
|
-
|
|
4802
|
+
salto_ks_metadata: {
|
|
4803
|
+
sites: {
|
|
4804
|
+
site_id: string;
|
|
4805
|
+
site_name: string;
|
|
4806
|
+
subscribed_site_user_count: number;
|
|
4807
|
+
site_user_subscription_limit: number;
|
|
4808
|
+
}[];
|
|
4809
|
+
};
|
|
4810
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4811
|
+
})[];
|
|
4812
|
+
custom_metadata: Record<string, string | boolean>;
|
|
4813
|
+
automatically_manage_new_devices: boolean;
|
|
4814
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
4815
|
+
created_at?: string | undefined;
|
|
4816
|
+
connected_account_id?: string | undefined;
|
|
4817
|
+
user_identifier?: {
|
|
4818
|
+
exclusive?: boolean | undefined;
|
|
4819
|
+
username?: string | undefined;
|
|
4820
|
+
email?: string | undefined;
|
|
4821
|
+
phone?: string | undefined;
|
|
4822
|
+
api_url?: string | undefined;
|
|
4823
|
+
} | undefined;
|
|
4824
|
+
account_type?: string | undefined;
|
|
4825
|
+
customer_key?: string | undefined;
|
|
4826
|
+
}>, "many">>;
|
|
4827
|
+
acs_systems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4828
|
+
default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4829
|
+
acs_system_id: z.ZodString;
|
|
4830
|
+
acs_user_count: z.ZodOptional<z.ZodNumber>;
|
|
4831
|
+
acs_access_group_count: z.ZodOptional<z.ZodNumber>;
|
|
4832
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "salto_space_system", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community_site", "legic_connect_credential_service", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
|
|
4833
|
+
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
4834
|
+
is_credential_manager: z.ZodBoolean;
|
|
4835
|
+
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
4836
|
+
mobile_access_uuid: z.ZodString;
|
|
4837
|
+
system_id: z.ZodString;
|
|
4838
|
+
lan_address: z.ZodString;
|
|
4839
|
+
}, "strip", z.ZodTypeAny, {
|
|
4840
|
+
mobile_access_uuid: string;
|
|
4841
|
+
system_id: string;
|
|
4842
|
+
lan_address: string;
|
|
4843
|
+
}, {
|
|
4844
|
+
mobile_access_uuid: string;
|
|
4845
|
+
system_id: string;
|
|
4846
|
+
lan_address: string;
|
|
4847
|
+
}>>;
|
|
4848
|
+
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "salto_space_system", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community_site", "legic_connect_credential_service", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
|
|
4849
|
+
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
4850
|
+
location: z.ZodObject<{
|
|
4851
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
4852
|
+
}, "strip", z.ZodTypeAny, {
|
|
4853
|
+
time_zone: string | null;
|
|
4854
|
+
}, {
|
|
4855
|
+
time_zone: string | null;
|
|
4856
|
+
}>;
|
|
4857
|
+
name: z.ZodString;
|
|
4858
|
+
created_at: z.ZodString;
|
|
4859
|
+
workspace_id: z.ZodString;
|
|
4860
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
4861
|
+
connected_account_id: z.ZodString;
|
|
4862
|
+
image_url: z.ZodString;
|
|
4863
|
+
image_alt_text: z.ZodString;
|
|
4864
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
4865
|
+
created_at: z.ZodString;
|
|
4866
|
+
message: z.ZodString;
|
|
4867
|
+
} & {
|
|
4868
|
+
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
4869
|
+
}, "strip", z.ZodTypeAny, {
|
|
4585
4870
|
message: string;
|
|
4586
4871
|
created_at: string;
|
|
4587
|
-
|
|
4588
|
-
}
|
|
4872
|
+
error_code: "seam_bridge_disconnected";
|
|
4873
|
+
}, {
|
|
4874
|
+
message: string;
|
|
4875
|
+
created_at: string;
|
|
4876
|
+
error_code: "seam_bridge_disconnected";
|
|
4877
|
+
}>, z.ZodObject<{
|
|
4878
|
+
created_at: z.ZodString;
|
|
4879
|
+
message: z.ZodString;
|
|
4880
|
+
} & {
|
|
4881
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
4882
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
4883
|
+
}, "strip", z.ZodTypeAny, {
|
|
4884
|
+
message: string;
|
|
4885
|
+
created_at: string;
|
|
4886
|
+
error_code: "bridge_disconnected";
|
|
4887
|
+
is_bridge_error?: boolean | undefined;
|
|
4888
|
+
}, {
|
|
4889
|
+
message: string;
|
|
4890
|
+
created_at: string;
|
|
4891
|
+
error_code: "bridge_disconnected";
|
|
4892
|
+
is_bridge_error?: boolean | undefined;
|
|
4893
|
+
}>, z.ZodObject<{
|
|
4894
|
+
created_at: z.ZodString;
|
|
4895
|
+
message: z.ZodString;
|
|
4896
|
+
} & {
|
|
4897
|
+
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
4898
|
+
}, "strip", z.ZodTypeAny, {
|
|
4899
|
+
message: string;
|
|
4900
|
+
created_at: string;
|
|
4901
|
+
error_code: "visionline_instance_unreachable";
|
|
4902
|
+
}, {
|
|
4903
|
+
message: string;
|
|
4904
|
+
created_at: string;
|
|
4905
|
+
error_code: "visionline_instance_unreachable";
|
|
4906
|
+
}>, z.ZodObject<{
|
|
4907
|
+
created_at: z.ZodString;
|
|
4908
|
+
message: z.ZodString;
|
|
4909
|
+
} & {
|
|
4910
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
4911
|
+
}, "strip", z.ZodTypeAny, {
|
|
4912
|
+
message: string;
|
|
4913
|
+
created_at: string;
|
|
4914
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4915
|
+
}, {
|
|
4916
|
+
message: string;
|
|
4917
|
+
created_at: string;
|
|
4918
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4919
|
+
}>, z.ZodObject<{
|
|
4920
|
+
created_at: z.ZodString;
|
|
4921
|
+
message: z.ZodString;
|
|
4922
|
+
} & {
|
|
4923
|
+
error_code: z.ZodLiteral<"acs_system_disconnected">;
|
|
4924
|
+
}, "strip", z.ZodTypeAny, {
|
|
4925
|
+
message: string;
|
|
4926
|
+
created_at: string;
|
|
4927
|
+
error_code: "acs_system_disconnected";
|
|
4928
|
+
}, {
|
|
4929
|
+
message: string;
|
|
4930
|
+
created_at: string;
|
|
4931
|
+
error_code: "acs_system_disconnected";
|
|
4932
|
+
}>, z.ZodObject<{
|
|
4933
|
+
created_at: z.ZodString;
|
|
4934
|
+
message: z.ZodString;
|
|
4935
|
+
} & {
|
|
4936
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
4937
|
+
}, "strip", z.ZodTypeAny, {
|
|
4938
|
+
message: string;
|
|
4939
|
+
created_at: string;
|
|
4940
|
+
error_code: "account_disconnected";
|
|
4941
|
+
}, {
|
|
4942
|
+
message: string;
|
|
4943
|
+
created_at: string;
|
|
4944
|
+
error_code: "account_disconnected";
|
|
4945
|
+
}>, z.ZodObject<{
|
|
4946
|
+
created_at: z.ZodString;
|
|
4947
|
+
message: z.ZodString;
|
|
4948
|
+
} & {
|
|
4949
|
+
error_code: z.ZodLiteral<"salto_ks_certification_expired">;
|
|
4950
|
+
}, "strip", z.ZodTypeAny, {
|
|
4951
|
+
message: string;
|
|
4952
|
+
created_at: string;
|
|
4953
|
+
error_code: "salto_ks_certification_expired";
|
|
4954
|
+
}, {
|
|
4955
|
+
message: string;
|
|
4956
|
+
created_at: string;
|
|
4957
|
+
error_code: "salto_ks_certification_expired";
|
|
4958
|
+
}>]>, "many">;
|
|
4959
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
4960
|
+
created_at: z.ZodString;
|
|
4961
|
+
message: z.ZodString;
|
|
4962
|
+
} & {
|
|
4963
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
4964
|
+
}, "strip", z.ZodTypeAny, {
|
|
4965
|
+
message: string;
|
|
4966
|
+
created_at: string;
|
|
4967
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4968
|
+
}, {
|
|
4589
4969
|
message: string;
|
|
4590
4970
|
created_at: string;
|
|
4591
4971
|
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4972
|
+
}>, z.ZodObject<{
|
|
4973
|
+
created_at: z.ZodString;
|
|
4974
|
+
message: z.ZodString;
|
|
4975
|
+
} & {
|
|
4976
|
+
warning_code: z.ZodLiteral<"time_zone_does_not_match_location">;
|
|
4977
|
+
misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4978
|
+
}, "strip", z.ZodTypeAny, {
|
|
4979
|
+
message: string;
|
|
4980
|
+
created_at: string;
|
|
4981
|
+
warning_code: "time_zone_does_not_match_location";
|
|
4982
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
4983
|
+
}, {
|
|
4984
|
+
message: string;
|
|
4985
|
+
created_at: string;
|
|
4986
|
+
warning_code: "time_zone_does_not_match_location";
|
|
4987
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
4988
|
+
}>]>, "many">;
|
|
4989
|
+
}, "strip", z.ZodTypeAny, {
|
|
4990
|
+
location: {
|
|
4991
|
+
time_zone: string | null;
|
|
4992
|
+
};
|
|
4993
|
+
name: string;
|
|
4994
|
+
workspace_id: string;
|
|
4995
|
+
created_at: string;
|
|
4996
|
+
errors: ({
|
|
4997
|
+
message: string;
|
|
4998
|
+
created_at: string;
|
|
4999
|
+
error_code: "seam_bridge_disconnected";
|
|
4592
5000
|
} | {
|
|
4593
5001
|
message: string;
|
|
4594
5002
|
created_at: string;
|
|
4595
|
-
|
|
5003
|
+
error_code: "bridge_disconnected";
|
|
5004
|
+
is_bridge_error?: boolean | undefined;
|
|
4596
5005
|
} | {
|
|
4597
5006
|
message: string;
|
|
4598
5007
|
created_at: string;
|
|
4599
|
-
|
|
5008
|
+
error_code: "visionline_instance_unreachable";
|
|
4600
5009
|
} | {
|
|
4601
5010
|
message: string;
|
|
4602
5011
|
created_at: string;
|
|
4603
|
-
|
|
5012
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4604
5013
|
} | {
|
|
4605
5014
|
message: string;
|
|
4606
5015
|
created_at: string;
|
|
4607
|
-
|
|
5016
|
+
error_code: "acs_system_disconnected";
|
|
4608
5017
|
} | {
|
|
4609
5018
|
message: string;
|
|
4610
5019
|
created_at: string;
|
|
4611
|
-
|
|
5020
|
+
error_code: "account_disconnected";
|
|
4612
5021
|
} | {
|
|
4613
5022
|
message: string;
|
|
4614
5023
|
created_at: string;
|
|
4615
|
-
|
|
5024
|
+
error_code: "salto_ks_certification_expired";
|
|
5025
|
+
})[];
|
|
5026
|
+
connected_account_id: string;
|
|
5027
|
+
warnings: ({
|
|
5028
|
+
message: string;
|
|
5029
|
+
created_at: string;
|
|
5030
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
4616
5031
|
} | {
|
|
4617
5032
|
message: string;
|
|
4618
5033
|
created_at: string;
|
|
4619
|
-
warning_code: "
|
|
5034
|
+
warning_code: "time_zone_does_not_match_location";
|
|
5035
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
5036
|
+
})[];
|
|
5037
|
+
image_url: string;
|
|
5038
|
+
image_alt_text: string;
|
|
5039
|
+
acs_system_id: string;
|
|
5040
|
+
is_credential_manager: boolean;
|
|
5041
|
+
connected_account_ids: string[];
|
|
5042
|
+
visionline_metadata?: {
|
|
5043
|
+
mobile_access_uuid: string;
|
|
5044
|
+
system_id: string;
|
|
5045
|
+
lan_address: string;
|
|
5046
|
+
} | undefined;
|
|
5047
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
5048
|
+
external_type_display_name?: string | undefined;
|
|
5049
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
5050
|
+
acs_user_count?: number | undefined;
|
|
5051
|
+
acs_access_group_count?: number | undefined;
|
|
5052
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
5053
|
+
system_type_display_name?: string | undefined;
|
|
5054
|
+
}, {
|
|
5055
|
+
location: {
|
|
5056
|
+
time_zone: string | null;
|
|
5057
|
+
};
|
|
5058
|
+
name: string;
|
|
5059
|
+
workspace_id: string;
|
|
5060
|
+
created_at: string;
|
|
5061
|
+
errors: ({
|
|
5062
|
+
message: string;
|
|
5063
|
+
created_at: string;
|
|
5064
|
+
error_code: "seam_bridge_disconnected";
|
|
4620
5065
|
} | {
|
|
4621
5066
|
message: string;
|
|
4622
5067
|
created_at: string;
|
|
4623
|
-
|
|
5068
|
+
error_code: "bridge_disconnected";
|
|
5069
|
+
is_bridge_error?: boolean | undefined;
|
|
4624
5070
|
} | {
|
|
4625
5071
|
message: string;
|
|
4626
5072
|
created_at: string;
|
|
4627
|
-
|
|
5073
|
+
error_code: "visionline_instance_unreachable";
|
|
4628
5074
|
} | {
|
|
4629
5075
|
message: string;
|
|
4630
5076
|
created_at: string;
|
|
4631
|
-
|
|
5077
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
4632
5078
|
} | {
|
|
4633
5079
|
message: string;
|
|
4634
5080
|
created_at: string;
|
|
4635
|
-
|
|
5081
|
+
error_code: "acs_system_disconnected";
|
|
4636
5082
|
} | {
|
|
4637
5083
|
message: string;
|
|
4638
5084
|
created_at: string;
|
|
4639
|
-
|
|
5085
|
+
error_code: "account_disconnected";
|
|
4640
5086
|
} | {
|
|
4641
5087
|
message: string;
|
|
4642
5088
|
created_at: string;
|
|
4643
|
-
|
|
5089
|
+
error_code: "salto_ks_certification_expired";
|
|
4644
5090
|
})[];
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
5091
|
+
connected_account_id: string;
|
|
5092
|
+
warnings: ({
|
|
5093
|
+
message: string;
|
|
5094
|
+
created_at: string;
|
|
5095
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
5096
|
+
} | {
|
|
5097
|
+
message: string;
|
|
5098
|
+
created_at: string;
|
|
5099
|
+
warning_code: "time_zone_does_not_match_location";
|
|
5100
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
5101
|
+
})[];
|
|
5102
|
+
image_url: string;
|
|
5103
|
+
image_alt_text: string;
|
|
5104
|
+
acs_system_id: string;
|
|
5105
|
+
is_credential_manager: boolean;
|
|
5106
|
+
connected_account_ids: string[];
|
|
5107
|
+
visionline_metadata?: {
|
|
5108
|
+
mobile_access_uuid: string;
|
|
5109
|
+
system_id: string;
|
|
5110
|
+
lan_address: string;
|
|
5111
|
+
} | undefined;
|
|
5112
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
5113
|
+
external_type_display_name?: string | undefined;
|
|
5114
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
5115
|
+
acs_user_count?: number | undefined;
|
|
5116
|
+
acs_access_group_count?: number | undefined;
|
|
5117
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
5118
|
+
system_type_display_name?: string | undefined;
|
|
5119
|
+
}>, "many">>;
|
|
5120
|
+
}, "strip", z.ZodTypeAny, {
|
|
5121
|
+
batch_type: "spaces";
|
|
5122
|
+
spaces?: {
|
|
5123
|
+
name: string;
|
|
5124
|
+
display_name: string;
|
|
5125
|
+
workspace_id: string;
|
|
5126
|
+
created_at: string;
|
|
5127
|
+
space_id: string;
|
|
5128
|
+
device_count: number;
|
|
5129
|
+
acs_entrance_count: number;
|
|
5130
|
+
space_key?: string | undefined;
|
|
5131
|
+
}[] | undefined;
|
|
5132
|
+
devices?: {
|
|
5133
|
+
location: {
|
|
5134
|
+
location_name?: string | undefined;
|
|
5135
|
+
timezone?: string | undefined;
|
|
5136
|
+
} | null;
|
|
5137
|
+
display_name: string;
|
|
5138
|
+
device_id: string;
|
|
5139
|
+
workspace_id: string;
|
|
5140
|
+
created_at: string;
|
|
5141
|
+
errors: ({
|
|
5142
|
+
message: string;
|
|
5143
|
+
created_at: string;
|
|
5144
|
+
error_code: "account_disconnected";
|
|
5145
|
+
is_connected_account_error?: boolean | undefined;
|
|
5146
|
+
is_bridge_error?: boolean | undefined;
|
|
5147
|
+
} | {
|
|
5148
|
+
message: string;
|
|
5149
|
+
created_at: string;
|
|
5150
|
+
error_code: "invalid_credentials";
|
|
5151
|
+
is_connected_account_error?: boolean | undefined;
|
|
5152
|
+
is_bridge_error?: boolean | undefined;
|
|
5153
|
+
} | {
|
|
5154
|
+
message: string;
|
|
5155
|
+
created_at: string;
|
|
5156
|
+
error_code: "bridge_disconnected";
|
|
5157
|
+
is_connected_account_error?: boolean | undefined;
|
|
5158
|
+
is_bridge_error?: boolean | undefined;
|
|
5159
|
+
} | {
|
|
5160
|
+
message: string;
|
|
5161
|
+
created_at: string;
|
|
5162
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
5163
|
+
salto_ks_metadata: {
|
|
5164
|
+
sites: {
|
|
5165
|
+
site_id: string;
|
|
5166
|
+
site_name: string;
|
|
5167
|
+
subscribed_site_user_count: number;
|
|
5168
|
+
site_user_subscription_limit: number;
|
|
5169
|
+
}[];
|
|
5170
|
+
};
|
|
5171
|
+
is_connected_account_error?: boolean | undefined;
|
|
5172
|
+
is_bridge_error?: boolean | undefined;
|
|
5173
|
+
} | {
|
|
5174
|
+
message: string;
|
|
5175
|
+
created_at: string;
|
|
5176
|
+
error_code: "device_offline";
|
|
5177
|
+
is_device_error: true;
|
|
5178
|
+
} | {
|
|
5179
|
+
message: string;
|
|
5180
|
+
created_at: string;
|
|
5181
|
+
error_code: "device_removed";
|
|
5182
|
+
is_device_error: true;
|
|
5183
|
+
} | {
|
|
5184
|
+
message: string;
|
|
5185
|
+
created_at: string;
|
|
5186
|
+
error_code: "hub_disconnected";
|
|
5187
|
+
is_device_error: true;
|
|
5188
|
+
} | {
|
|
5189
|
+
message: string;
|
|
5190
|
+
created_at: string;
|
|
5191
|
+
error_code: "device_disconnected";
|
|
5192
|
+
is_device_error: true;
|
|
5193
|
+
} | {
|
|
5194
|
+
message: string;
|
|
5195
|
+
created_at: string;
|
|
5196
|
+
error_code: "account_disconnected";
|
|
5197
|
+
is_connected_account_error: true;
|
|
5198
|
+
is_device_error: false;
|
|
5199
|
+
} | {
|
|
5200
|
+
message: string;
|
|
5201
|
+
created_at: string;
|
|
5202
|
+
error_code: "empty_backup_access_code_pool";
|
|
5203
|
+
is_device_error: true;
|
|
5204
|
+
} | {
|
|
5205
|
+
message: string;
|
|
5206
|
+
created_at: string;
|
|
5207
|
+
error_code: "august_lock_not_authorized";
|
|
5208
|
+
is_device_error: true;
|
|
5209
|
+
} | {
|
|
5210
|
+
message: string;
|
|
5211
|
+
created_at: string;
|
|
5212
|
+
error_code: "august_lock_missing_bridge";
|
|
5213
|
+
is_device_error: true;
|
|
5214
|
+
} | {
|
|
5215
|
+
message: string;
|
|
5216
|
+
created_at: string;
|
|
5217
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
5218
|
+
is_connected_account_error: true;
|
|
5219
|
+
is_device_error: false;
|
|
5220
|
+
} | {
|
|
5221
|
+
message: string;
|
|
5222
|
+
created_at: string;
|
|
5223
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
5224
|
+
is_device_error: true;
|
|
5225
|
+
} | {
|
|
5226
|
+
message: string;
|
|
5227
|
+
created_at: string;
|
|
5228
|
+
error_code: "missing_device_credentials";
|
|
5229
|
+
is_device_error: true;
|
|
5230
|
+
} | {
|
|
5231
|
+
message: string;
|
|
5232
|
+
created_at: string;
|
|
5233
|
+
error_code: "auxiliary_heat_running";
|
|
5234
|
+
is_device_error: true;
|
|
5235
|
+
} | {
|
|
5236
|
+
message: string;
|
|
5237
|
+
created_at: string;
|
|
5238
|
+
error_code: "subscription_required";
|
|
5239
|
+
is_device_error: true;
|
|
5240
|
+
} | {
|
|
5241
|
+
message: string;
|
|
5242
|
+
created_at: string;
|
|
5243
|
+
error_code: "lockly_missing_wifi_bridge";
|
|
5244
|
+
is_device_error: true;
|
|
5245
|
+
})[];
|
|
5246
|
+
connected_account_id: string;
|
|
5247
|
+
warnings: ({
|
|
5248
|
+
message: string;
|
|
5249
|
+
created_at: string;
|
|
5250
|
+
warning_code: "partial_backup_access_code_pool";
|
|
5251
|
+
} | {
|
|
5252
|
+
message: string;
|
|
5253
|
+
created_at: string;
|
|
5254
|
+
warning_code: "many_active_backup_codes";
|
|
5255
|
+
} | {
|
|
5256
|
+
message: string;
|
|
5257
|
+
created_at: string;
|
|
5258
|
+
warning_code: "salto_ks_office_mode";
|
|
5259
|
+
} | {
|
|
5260
|
+
message: string;
|
|
5261
|
+
created_at: string;
|
|
5262
|
+
warning_code: "salto_ks_privacy_mode";
|
|
5263
|
+
} | {
|
|
5264
|
+
message: string;
|
|
5265
|
+
created_at: string;
|
|
5266
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
5267
|
+
} | {
|
|
5268
|
+
message: string;
|
|
5269
|
+
created_at: string;
|
|
5270
|
+
warning_code: "wyze_device_missing_gateway";
|
|
5271
|
+
} | {
|
|
5272
|
+
message: string;
|
|
5273
|
+
created_at: string;
|
|
5274
|
+
warning_code: "functional_offline_device";
|
|
5275
|
+
} | {
|
|
5276
|
+
message: string;
|
|
5277
|
+
created_at: string;
|
|
5278
|
+
warning_code: "third_party_integration_detected";
|
|
5279
|
+
} | {
|
|
5280
|
+
message: string;
|
|
5281
|
+
created_at: string;
|
|
5282
|
+
warning_code: "nest_thermostat_in_manual_eco_mode";
|
|
5283
|
+
} | {
|
|
5284
|
+
message: string;
|
|
5285
|
+
created_at: string;
|
|
5286
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
5287
|
+
} | {
|
|
5288
|
+
message: string;
|
|
5289
|
+
created_at: string;
|
|
5290
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
5291
|
+
} | {
|
|
5292
|
+
message: string;
|
|
5293
|
+
created_at: string;
|
|
5294
|
+
warning_code: "power_saving_mode";
|
|
5295
|
+
} | {
|
|
5296
|
+
message: string;
|
|
5297
|
+
created_at: string;
|
|
5298
|
+
warning_code: "temperature_threshold_exceeded";
|
|
5299
|
+
} | {
|
|
5300
|
+
message: string;
|
|
5301
|
+
created_at: string;
|
|
5302
|
+
warning_code: "device_communication_degraded";
|
|
5303
|
+
} | {
|
|
5304
|
+
message: string;
|
|
5305
|
+
created_at: string;
|
|
5306
|
+
warning_code: "scheduled_maintenance_window";
|
|
5307
|
+
} | {
|
|
5308
|
+
message: string;
|
|
5309
|
+
created_at: string;
|
|
5310
|
+
warning_code: "device_has_flaky_connection";
|
|
5311
|
+
} | {
|
|
5312
|
+
message: string;
|
|
5313
|
+
created_at: string;
|
|
5314
|
+
warning_code: "lockly_time_zone_not_configured";
|
|
5315
|
+
} | {
|
|
5316
|
+
message: string;
|
|
5317
|
+
created_at: string;
|
|
5318
|
+
warning_code: "unknown_issue_with_phone";
|
|
5319
|
+
})[];
|
|
5320
|
+
custom_metadata: Record<string, string | boolean>;
|
|
5321
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
5322
|
+
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
5323
|
+
properties: {
|
|
5324
|
+
name: string;
|
|
5325
|
+
appearance: {
|
|
5326
|
+
name: string;
|
|
5327
|
+
};
|
|
5328
|
+
online: boolean;
|
|
5329
|
+
model: {
|
|
5330
|
+
display_name: string;
|
|
5331
|
+
manufacturer_display_name: string;
|
|
5332
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
5333
|
+
has_built_in_keypad?: boolean | undefined;
|
|
5334
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
5335
|
+
online_access_codes_supported?: boolean | undefined;
|
|
5336
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
5337
|
+
};
|
|
5338
|
+
battery?: {
|
|
5339
|
+
status: "low" | "full" | "critical" | "good";
|
|
5340
|
+
level: number;
|
|
5341
|
+
} | undefined;
|
|
5342
|
+
battery_level?: number | undefined;
|
|
5343
|
+
serial_number?: string | undefined;
|
|
5344
|
+
accessory_keypad?: {
|
|
5345
|
+
is_connected: boolean;
|
|
5346
|
+
battery?: {
|
|
5347
|
+
level: number;
|
|
4673
5348
|
} | undefined;
|
|
4674
5349
|
} | undefined;
|
|
4675
5350
|
has_direct_power?: boolean | undefined;
|
|
@@ -5168,21 +5843,158 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
5168
5843
|
room_description?: string | undefined;
|
|
5169
5844
|
} | undefined;
|
|
5170
5845
|
}[] | undefined;
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5846
|
+
connected_accounts?: {
|
|
5847
|
+
errors: ({
|
|
5848
|
+
message: string;
|
|
5849
|
+
created_at: string;
|
|
5850
|
+
error_code: "account_disconnected";
|
|
5851
|
+
is_connected_account_error?: boolean | undefined;
|
|
5852
|
+
is_bridge_error?: boolean | undefined;
|
|
5853
|
+
} | {
|
|
5854
|
+
message: string;
|
|
5855
|
+
created_at: string;
|
|
5856
|
+
error_code: "invalid_credentials";
|
|
5857
|
+
is_connected_account_error?: boolean | undefined;
|
|
5858
|
+
is_bridge_error?: boolean | undefined;
|
|
5859
|
+
} | {
|
|
5860
|
+
message: string;
|
|
5861
|
+
created_at: string;
|
|
5862
|
+
error_code: "bridge_disconnected";
|
|
5863
|
+
is_connected_account_error?: boolean | undefined;
|
|
5864
|
+
is_bridge_error?: boolean | undefined;
|
|
5865
|
+
} | {
|
|
5866
|
+
message: string;
|
|
5867
|
+
created_at: string;
|
|
5868
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
5869
|
+
salto_ks_metadata: {
|
|
5870
|
+
sites: {
|
|
5871
|
+
site_id: string;
|
|
5872
|
+
site_name: string;
|
|
5873
|
+
subscribed_site_user_count: number;
|
|
5874
|
+
site_user_subscription_limit: number;
|
|
5875
|
+
}[];
|
|
5876
|
+
};
|
|
5877
|
+
is_connected_account_error?: boolean | undefined;
|
|
5878
|
+
is_bridge_error?: boolean | undefined;
|
|
5879
|
+
})[];
|
|
5880
|
+
account_type_display_name: string;
|
|
5881
|
+
warnings: ({
|
|
5882
|
+
message: string;
|
|
5883
|
+
created_at: string;
|
|
5884
|
+
warning_code: "scheduled_maintenance_window";
|
|
5885
|
+
} | {
|
|
5886
|
+
message: string;
|
|
5887
|
+
created_at: string;
|
|
5888
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
5889
|
+
} | {
|
|
5890
|
+
message: string;
|
|
5891
|
+
created_at: string;
|
|
5892
|
+
salto_ks_metadata: {
|
|
5893
|
+
sites: {
|
|
5894
|
+
site_id: string;
|
|
5895
|
+
site_name: string;
|
|
5896
|
+
subscribed_site_user_count: number;
|
|
5897
|
+
site_user_subscription_limit: number;
|
|
5898
|
+
}[];
|
|
5899
|
+
};
|
|
5900
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
5901
|
+
})[];
|
|
5902
|
+
custom_metadata: Record<string, string | boolean>;
|
|
5903
|
+
automatically_manage_new_devices: boolean;
|
|
5904
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
5905
|
+
created_at?: string | undefined;
|
|
5906
|
+
connected_account_id?: string | undefined;
|
|
5907
|
+
user_identifier?: {
|
|
5908
|
+
exclusive?: boolean | undefined;
|
|
5909
|
+
username?: string | undefined;
|
|
5910
|
+
email?: string | undefined;
|
|
5911
|
+
phone?: string | undefined;
|
|
5912
|
+
api_url?: string | undefined;
|
|
5913
|
+
} | undefined;
|
|
5914
|
+
account_type?: string | undefined;
|
|
5915
|
+
customer_key?: string | undefined;
|
|
5916
|
+
}[] | undefined;
|
|
5917
|
+
acs_systems?: {
|
|
5918
|
+
location: {
|
|
5919
|
+
time_zone: string | null;
|
|
5920
|
+
};
|
|
5921
|
+
name: string;
|
|
5922
|
+
workspace_id: string;
|
|
5923
|
+
created_at: string;
|
|
5924
|
+
errors: ({
|
|
5925
|
+
message: string;
|
|
5926
|
+
created_at: string;
|
|
5927
|
+
error_code: "seam_bridge_disconnected";
|
|
5928
|
+
} | {
|
|
5929
|
+
message: string;
|
|
5930
|
+
created_at: string;
|
|
5931
|
+
error_code: "bridge_disconnected";
|
|
5932
|
+
is_bridge_error?: boolean | undefined;
|
|
5933
|
+
} | {
|
|
5934
|
+
message: string;
|
|
5935
|
+
created_at: string;
|
|
5936
|
+
error_code: "visionline_instance_unreachable";
|
|
5937
|
+
} | {
|
|
5938
|
+
message: string;
|
|
5939
|
+
created_at: string;
|
|
5940
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
5941
|
+
} | {
|
|
5942
|
+
message: string;
|
|
5943
|
+
created_at: string;
|
|
5944
|
+
error_code: "acs_system_disconnected";
|
|
5945
|
+
} | {
|
|
5946
|
+
message: string;
|
|
5947
|
+
created_at: string;
|
|
5948
|
+
error_code: "account_disconnected";
|
|
5949
|
+
} | {
|
|
5950
|
+
message: string;
|
|
5951
|
+
created_at: string;
|
|
5952
|
+
error_code: "salto_ks_certification_expired";
|
|
5953
|
+
})[];
|
|
5954
|
+
connected_account_id: string;
|
|
5955
|
+
warnings: ({
|
|
5956
|
+
message: string;
|
|
5957
|
+
created_at: string;
|
|
5958
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
5959
|
+
} | {
|
|
5960
|
+
message: string;
|
|
5961
|
+
created_at: string;
|
|
5962
|
+
warning_code: "time_zone_does_not_match_location";
|
|
5963
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
5964
|
+
})[];
|
|
5965
|
+
image_url: string;
|
|
5966
|
+
image_alt_text: string;
|
|
5967
|
+
acs_system_id: string;
|
|
5968
|
+
is_credential_manager: boolean;
|
|
5969
|
+
connected_account_ids: string[];
|
|
5970
|
+
visionline_metadata?: {
|
|
5971
|
+
mobile_access_uuid: string;
|
|
5972
|
+
system_id: string;
|
|
5973
|
+
lan_address: string;
|
|
5974
|
+
} | undefined;
|
|
5975
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
5976
|
+
external_type_display_name?: string | undefined;
|
|
5977
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
5978
|
+
acs_user_count?: number | undefined;
|
|
5979
|
+
acs_access_group_count?: number | undefined;
|
|
5980
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
5981
|
+
system_type_display_name?: string | undefined;
|
|
5982
|
+
}[] | undefined;
|
|
5983
|
+
}, {
|
|
5984
|
+
batch_type: "spaces";
|
|
5985
|
+
spaces?: {
|
|
5986
|
+
name: string;
|
|
5987
|
+
display_name: string;
|
|
5988
|
+
workspace_id: string;
|
|
5989
|
+
created_at: string;
|
|
5990
|
+
space_id: string;
|
|
5991
|
+
device_count: number;
|
|
5992
|
+
acs_entrance_count: number;
|
|
5993
|
+
space_key?: string | undefined;
|
|
5994
|
+
}[] | undefined;
|
|
5995
|
+
devices?: {
|
|
5996
|
+
location: {
|
|
5997
|
+
location_name?: string | undefined;
|
|
5186
5998
|
timezone?: string | undefined;
|
|
5187
5999
|
} | null;
|
|
5188
6000
|
display_name: string;
|
|
@@ -5894,6 +6706,143 @@ export declare const spaces_batch: z.ZodObject<{
|
|
|
5894
6706
|
room_description?: string | undefined;
|
|
5895
6707
|
} | undefined;
|
|
5896
6708
|
}[] | undefined;
|
|
6709
|
+
connected_accounts?: {
|
|
6710
|
+
errors: ({
|
|
6711
|
+
message: string;
|
|
6712
|
+
created_at: string;
|
|
6713
|
+
error_code: "account_disconnected";
|
|
6714
|
+
is_connected_account_error?: boolean | undefined;
|
|
6715
|
+
is_bridge_error?: boolean | undefined;
|
|
6716
|
+
} | {
|
|
6717
|
+
message: string;
|
|
6718
|
+
created_at: string;
|
|
6719
|
+
error_code: "invalid_credentials";
|
|
6720
|
+
is_connected_account_error?: boolean | undefined;
|
|
6721
|
+
is_bridge_error?: boolean | undefined;
|
|
6722
|
+
} | {
|
|
6723
|
+
message: string;
|
|
6724
|
+
created_at: string;
|
|
6725
|
+
error_code: "bridge_disconnected";
|
|
6726
|
+
is_connected_account_error?: boolean | undefined;
|
|
6727
|
+
is_bridge_error?: boolean | undefined;
|
|
6728
|
+
} | {
|
|
6729
|
+
message: string;
|
|
6730
|
+
created_at: string;
|
|
6731
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
6732
|
+
salto_ks_metadata: {
|
|
6733
|
+
sites: {
|
|
6734
|
+
site_id: string;
|
|
6735
|
+
site_name: string;
|
|
6736
|
+
subscribed_site_user_count: number;
|
|
6737
|
+
site_user_subscription_limit: number;
|
|
6738
|
+
}[];
|
|
6739
|
+
};
|
|
6740
|
+
is_connected_account_error?: boolean | undefined;
|
|
6741
|
+
is_bridge_error?: boolean | undefined;
|
|
6742
|
+
})[];
|
|
6743
|
+
account_type_display_name: string;
|
|
6744
|
+
warnings: ({
|
|
6745
|
+
message: string;
|
|
6746
|
+
created_at: string;
|
|
6747
|
+
warning_code: "scheduled_maintenance_window";
|
|
6748
|
+
} | {
|
|
6749
|
+
message: string;
|
|
6750
|
+
created_at: string;
|
|
6751
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
6752
|
+
} | {
|
|
6753
|
+
message: string;
|
|
6754
|
+
created_at: string;
|
|
6755
|
+
salto_ks_metadata: {
|
|
6756
|
+
sites: {
|
|
6757
|
+
site_id: string;
|
|
6758
|
+
site_name: string;
|
|
6759
|
+
subscribed_site_user_count: number;
|
|
6760
|
+
site_user_subscription_limit: number;
|
|
6761
|
+
}[];
|
|
6762
|
+
};
|
|
6763
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
6764
|
+
})[];
|
|
6765
|
+
custom_metadata: Record<string, string | boolean>;
|
|
6766
|
+
automatically_manage_new_devices: boolean;
|
|
6767
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
6768
|
+
created_at?: string | undefined;
|
|
6769
|
+
connected_account_id?: string | undefined;
|
|
6770
|
+
user_identifier?: {
|
|
6771
|
+
exclusive?: boolean | undefined;
|
|
6772
|
+
username?: string | undefined;
|
|
6773
|
+
email?: string | undefined;
|
|
6774
|
+
phone?: string | undefined;
|
|
6775
|
+
api_url?: string | undefined;
|
|
6776
|
+
} | undefined;
|
|
6777
|
+
account_type?: string | undefined;
|
|
6778
|
+
customer_key?: string | undefined;
|
|
6779
|
+
}[] | undefined;
|
|
6780
|
+
acs_systems?: {
|
|
6781
|
+
location: {
|
|
6782
|
+
time_zone: string | null;
|
|
6783
|
+
};
|
|
6784
|
+
name: string;
|
|
6785
|
+
workspace_id: string;
|
|
6786
|
+
created_at: string;
|
|
6787
|
+
errors: ({
|
|
6788
|
+
message: string;
|
|
6789
|
+
created_at: string;
|
|
6790
|
+
error_code: "seam_bridge_disconnected";
|
|
6791
|
+
} | {
|
|
6792
|
+
message: string;
|
|
6793
|
+
created_at: string;
|
|
6794
|
+
error_code: "bridge_disconnected";
|
|
6795
|
+
is_bridge_error?: boolean | undefined;
|
|
6796
|
+
} | {
|
|
6797
|
+
message: string;
|
|
6798
|
+
created_at: string;
|
|
6799
|
+
error_code: "visionline_instance_unreachable";
|
|
6800
|
+
} | {
|
|
6801
|
+
message: string;
|
|
6802
|
+
created_at: string;
|
|
6803
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
6804
|
+
} | {
|
|
6805
|
+
message: string;
|
|
6806
|
+
created_at: string;
|
|
6807
|
+
error_code: "acs_system_disconnected";
|
|
6808
|
+
} | {
|
|
6809
|
+
message: string;
|
|
6810
|
+
created_at: string;
|
|
6811
|
+
error_code: "account_disconnected";
|
|
6812
|
+
} | {
|
|
6813
|
+
message: string;
|
|
6814
|
+
created_at: string;
|
|
6815
|
+
error_code: "salto_ks_certification_expired";
|
|
6816
|
+
})[];
|
|
6817
|
+
connected_account_id: string;
|
|
6818
|
+
warnings: ({
|
|
6819
|
+
message: string;
|
|
6820
|
+
created_at: string;
|
|
6821
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
6822
|
+
} | {
|
|
6823
|
+
message: string;
|
|
6824
|
+
created_at: string;
|
|
6825
|
+
warning_code: "time_zone_does_not_match_location";
|
|
6826
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
6827
|
+
})[];
|
|
6828
|
+
image_url: string;
|
|
6829
|
+
image_alt_text: string;
|
|
6830
|
+
acs_system_id: string;
|
|
6831
|
+
is_credential_manager: boolean;
|
|
6832
|
+
connected_account_ids: string[];
|
|
6833
|
+
visionline_metadata?: {
|
|
6834
|
+
mobile_access_uuid: string;
|
|
6835
|
+
system_id: string;
|
|
6836
|
+
lan_address: string;
|
|
6837
|
+
} | undefined;
|
|
6838
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
6839
|
+
external_type_display_name?: string | undefined;
|
|
6840
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
6841
|
+
acs_user_count?: number | undefined;
|
|
6842
|
+
acs_access_group_count?: number | undefined;
|
|
6843
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
6844
|
+
system_type_display_name?: string | undefined;
|
|
6845
|
+
}[] | undefined;
|
|
5897
6846
|
}>;
|
|
5898
6847
|
export declare const access_grants_batch: z.ZodObject<{
|
|
5899
6848
|
batch_type: z.ZodLiteral<"access_grants">;
|
|
@@ -10236,107 +11185,892 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
10236
11185
|
}[];
|
|
10237
11186
|
connected_account_id: string;
|
|
10238
11187
|
acs_system_id: string;
|
|
10239
|
-
acs_entrance_id: string;
|
|
10240
|
-
salto_ks_metadata?: {
|
|
10241
|
-
lock_type: string;
|
|
10242
|
-
battery_level: string;
|
|
10243
|
-
locked_state: string;
|
|
10244
|
-
door_name: string;
|
|
10245
|
-
online?: boolean | undefined;
|
|
10246
|
-
left_open_alarm?: boolean | undefined;
|
|
10247
|
-
intrusion_alarm?: boolean | undefined;
|
|
10248
|
-
privacy_mode?: boolean | undefined;
|
|
10249
|
-
} | undefined;
|
|
11188
|
+
acs_entrance_id: string;
|
|
11189
|
+
salto_ks_metadata?: {
|
|
11190
|
+
lock_type: string;
|
|
11191
|
+
battery_level: string;
|
|
11192
|
+
locked_state: string;
|
|
11193
|
+
door_name: string;
|
|
11194
|
+
online?: boolean | undefined;
|
|
11195
|
+
left_open_alarm?: boolean | undefined;
|
|
11196
|
+
intrusion_alarm?: boolean | undefined;
|
|
11197
|
+
privacy_mode?: boolean | undefined;
|
|
11198
|
+
} | undefined;
|
|
11199
|
+
visionline_metadata?: {
|
|
11200
|
+
door_name: string;
|
|
11201
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
11202
|
+
profiles?: {
|
|
11203
|
+
visionline_door_profile_id: string;
|
|
11204
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
11205
|
+
}[] | undefined;
|
|
11206
|
+
} | undefined;
|
|
11207
|
+
assa_abloy_vostio_metadata?: {
|
|
11208
|
+
door_name: string;
|
|
11209
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
11210
|
+
door_number?: number | undefined;
|
|
11211
|
+
stand_open?: boolean | undefined;
|
|
11212
|
+
pms_id?: string | undefined;
|
|
11213
|
+
} | undefined;
|
|
11214
|
+
can_unlock_with_code?: boolean | undefined;
|
|
11215
|
+
can_unlock_with_mobile_key?: boolean | undefined;
|
|
11216
|
+
can_unlock_with_card?: boolean | undefined;
|
|
11217
|
+
latch_metadata?: {
|
|
11218
|
+
door_name: string;
|
|
11219
|
+
is_connected: boolean;
|
|
11220
|
+
door_type: string;
|
|
11221
|
+
accessibility_type: string;
|
|
11222
|
+
} | undefined;
|
|
11223
|
+
dormakaba_community_metadata?: {
|
|
11224
|
+
access_point_name: string;
|
|
11225
|
+
} | undefined;
|
|
11226
|
+
salto_space_metadata?: {
|
|
11227
|
+
door_name?: string | undefined;
|
|
11228
|
+
door_id?: string | undefined;
|
|
11229
|
+
ext_door_id?: string | undefined;
|
|
11230
|
+
door_description?: string | undefined;
|
|
11231
|
+
room_name?: string | undefined;
|
|
11232
|
+
room_description?: string | undefined;
|
|
11233
|
+
} | undefined;
|
|
11234
|
+
}, {
|
|
11235
|
+
display_name: string;
|
|
11236
|
+
created_at: string;
|
|
11237
|
+
errors: {
|
|
11238
|
+
message: string;
|
|
11239
|
+
error_code: string;
|
|
11240
|
+
}[];
|
|
11241
|
+
connected_account_id: string;
|
|
11242
|
+
acs_system_id: string;
|
|
11243
|
+
acs_entrance_id: string;
|
|
11244
|
+
salto_ks_metadata?: {
|
|
11245
|
+
lock_type: string;
|
|
11246
|
+
battery_level: string;
|
|
11247
|
+
locked_state: string;
|
|
11248
|
+
door_name: string;
|
|
11249
|
+
online?: boolean | undefined;
|
|
11250
|
+
left_open_alarm?: boolean | undefined;
|
|
11251
|
+
intrusion_alarm?: boolean | undefined;
|
|
11252
|
+
privacy_mode?: boolean | undefined;
|
|
11253
|
+
} | undefined;
|
|
11254
|
+
visionline_metadata?: {
|
|
11255
|
+
door_name: string;
|
|
11256
|
+
door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
|
|
11257
|
+
profiles?: {
|
|
11258
|
+
visionline_door_profile_id: string;
|
|
11259
|
+
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
11260
|
+
}[] | undefined;
|
|
11261
|
+
} | undefined;
|
|
11262
|
+
assa_abloy_vostio_metadata?: {
|
|
11263
|
+
door_name: string;
|
|
11264
|
+
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
11265
|
+
door_number?: number | undefined;
|
|
11266
|
+
stand_open?: boolean | undefined;
|
|
11267
|
+
pms_id?: string | undefined;
|
|
11268
|
+
} | undefined;
|
|
11269
|
+
can_unlock_with_code?: boolean | undefined;
|
|
11270
|
+
can_unlock_with_mobile_key?: boolean | undefined;
|
|
11271
|
+
can_unlock_with_card?: boolean | undefined;
|
|
11272
|
+
latch_metadata?: {
|
|
11273
|
+
door_name: string;
|
|
11274
|
+
is_connected: boolean;
|
|
11275
|
+
door_type: string;
|
|
11276
|
+
accessibility_type: string;
|
|
11277
|
+
} | undefined;
|
|
11278
|
+
dormakaba_community_metadata?: {
|
|
11279
|
+
access_point_name: string;
|
|
11280
|
+
} | undefined;
|
|
11281
|
+
salto_space_metadata?: {
|
|
11282
|
+
door_name?: string | undefined;
|
|
11283
|
+
door_id?: string | undefined;
|
|
11284
|
+
ext_door_id?: string | undefined;
|
|
11285
|
+
door_description?: string | undefined;
|
|
11286
|
+
room_name?: string | undefined;
|
|
11287
|
+
room_description?: string | undefined;
|
|
11288
|
+
} | undefined;
|
|
11289
|
+
}>, "many">>;
|
|
11290
|
+
user_identities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11291
|
+
user_identity_id: z.ZodString;
|
|
11292
|
+
user_identity_key: z.ZodNullable<z.ZodString>;
|
|
11293
|
+
email_address: z.ZodNullable<z.ZodString>;
|
|
11294
|
+
phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
11295
|
+
display_name: z.ZodString;
|
|
11296
|
+
full_name: z.ZodNullable<z.ZodString>;
|
|
11297
|
+
created_at: z.ZodString;
|
|
11298
|
+
workspace_id: z.ZodString;
|
|
11299
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
11300
|
+
created_at: z.ZodString;
|
|
11301
|
+
message: z.ZodString;
|
|
11302
|
+
} & {
|
|
11303
|
+
error_code: z.ZodLiteral<"issue_with_acs_user">;
|
|
11304
|
+
acs_user_id: z.ZodString;
|
|
11305
|
+
acs_system_id: z.ZodString;
|
|
11306
|
+
}, "strip", z.ZodTypeAny, {
|
|
11307
|
+
message: string;
|
|
11308
|
+
created_at: string;
|
|
11309
|
+
error_code: "issue_with_acs_user";
|
|
11310
|
+
acs_system_id: string;
|
|
11311
|
+
acs_user_id: string;
|
|
11312
|
+
}, {
|
|
11313
|
+
message: string;
|
|
11314
|
+
created_at: string;
|
|
11315
|
+
error_code: "issue_with_acs_user";
|
|
11316
|
+
acs_system_id: string;
|
|
11317
|
+
acs_user_id: string;
|
|
11318
|
+
}>]>, "many">;
|
|
11319
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
11320
|
+
created_at: z.ZodString;
|
|
11321
|
+
message: z.ZodString;
|
|
11322
|
+
} & {
|
|
11323
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
11324
|
+
}, "strip", z.ZodTypeAny, {
|
|
11325
|
+
message: string;
|
|
11326
|
+
created_at: string;
|
|
11327
|
+
warning_code: "being_deleted";
|
|
11328
|
+
}, {
|
|
11329
|
+
message: string;
|
|
11330
|
+
created_at: string;
|
|
11331
|
+
warning_code: "being_deleted";
|
|
11332
|
+
}>, z.ZodObject<{
|
|
11333
|
+
created_at: z.ZodString;
|
|
11334
|
+
message: z.ZodString;
|
|
11335
|
+
} & {
|
|
11336
|
+
warning_code: z.ZodLiteral<"acs_user_profile_does_not_match_user_identity">;
|
|
11337
|
+
}, "strip", z.ZodTypeAny, {
|
|
11338
|
+
message: string;
|
|
11339
|
+
created_at: string;
|
|
11340
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
11341
|
+
}, {
|
|
11342
|
+
message: string;
|
|
11343
|
+
created_at: string;
|
|
11344
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
11345
|
+
}>]>, "many">;
|
|
11346
|
+
acs_user_ids: z.ZodArray<z.ZodString, "many">;
|
|
11347
|
+
}, "strip", z.ZodTypeAny, {
|
|
11348
|
+
display_name: string;
|
|
11349
|
+
workspace_id: string;
|
|
11350
|
+
created_at: string;
|
|
11351
|
+
errors: {
|
|
11352
|
+
message: string;
|
|
11353
|
+
created_at: string;
|
|
11354
|
+
error_code: "issue_with_acs_user";
|
|
11355
|
+
acs_system_id: string;
|
|
11356
|
+
acs_user_id: string;
|
|
11357
|
+
}[];
|
|
11358
|
+
warnings: ({
|
|
11359
|
+
message: string;
|
|
11360
|
+
created_at: string;
|
|
11361
|
+
warning_code: "being_deleted";
|
|
11362
|
+
} | {
|
|
11363
|
+
message: string;
|
|
11364
|
+
created_at: string;
|
|
11365
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
11366
|
+
})[];
|
|
11367
|
+
user_identity_id: string;
|
|
11368
|
+
email_address: string | null;
|
|
11369
|
+
full_name: string | null;
|
|
11370
|
+
phone_number: string | null;
|
|
11371
|
+
user_identity_key: string | null;
|
|
11372
|
+
acs_user_ids: string[];
|
|
11373
|
+
}, {
|
|
11374
|
+
display_name: string;
|
|
11375
|
+
workspace_id: string;
|
|
11376
|
+
created_at: string;
|
|
11377
|
+
errors: {
|
|
11378
|
+
message: string;
|
|
11379
|
+
created_at: string;
|
|
11380
|
+
error_code: "issue_with_acs_user";
|
|
11381
|
+
acs_system_id: string;
|
|
11382
|
+
acs_user_id: string;
|
|
11383
|
+
}[];
|
|
11384
|
+
warnings: ({
|
|
11385
|
+
message: string;
|
|
11386
|
+
created_at: string;
|
|
11387
|
+
warning_code: "being_deleted";
|
|
11388
|
+
} | {
|
|
11389
|
+
message: string;
|
|
11390
|
+
created_at: string;
|
|
11391
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
11392
|
+
})[];
|
|
11393
|
+
user_identity_id: string;
|
|
11394
|
+
email_address: string | null;
|
|
11395
|
+
full_name: string | null;
|
|
11396
|
+
phone_number: string | null;
|
|
11397
|
+
user_identity_key: string | null;
|
|
11398
|
+
acs_user_ids: string[];
|
|
11399
|
+
}>, "many">>;
|
|
11400
|
+
connected_accounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11401
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
11402
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
11403
|
+
user_identifier: z.ZodOptional<z.ZodObject<{
|
|
11404
|
+
username: z.ZodOptional<z.ZodString>;
|
|
11405
|
+
api_url: z.ZodOptional<z.ZodString>;
|
|
11406
|
+
email: z.ZodOptional<z.ZodString>;
|
|
11407
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
11408
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
11409
|
+
}, "strip", z.ZodTypeAny, {
|
|
11410
|
+
exclusive?: boolean | undefined;
|
|
11411
|
+
username?: string | undefined;
|
|
11412
|
+
email?: string | undefined;
|
|
11413
|
+
phone?: string | undefined;
|
|
11414
|
+
api_url?: string | undefined;
|
|
11415
|
+
}, {
|
|
11416
|
+
exclusive?: boolean | undefined;
|
|
11417
|
+
username?: string | undefined;
|
|
11418
|
+
email?: string | undefined;
|
|
11419
|
+
phone?: string | undefined;
|
|
11420
|
+
api_url?: string | undefined;
|
|
11421
|
+
}>>;
|
|
11422
|
+
account_type: z.ZodOptional<z.ZodString>;
|
|
11423
|
+
account_type_display_name: z.ZodString;
|
|
11424
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
11425
|
+
created_at: z.ZodString;
|
|
11426
|
+
message: z.ZodString;
|
|
11427
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
11428
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
11429
|
+
} & {
|
|
11430
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
11431
|
+
}, "strip", z.ZodTypeAny, {
|
|
11432
|
+
message: string;
|
|
11433
|
+
created_at: string;
|
|
11434
|
+
error_code: "account_disconnected";
|
|
11435
|
+
is_connected_account_error?: boolean | undefined;
|
|
11436
|
+
is_bridge_error?: boolean | undefined;
|
|
11437
|
+
}, {
|
|
11438
|
+
message: string;
|
|
11439
|
+
created_at: string;
|
|
11440
|
+
error_code: "account_disconnected";
|
|
11441
|
+
is_connected_account_error?: boolean | undefined;
|
|
11442
|
+
is_bridge_error?: boolean | undefined;
|
|
11443
|
+
}>, z.ZodObject<{
|
|
11444
|
+
created_at: z.ZodString;
|
|
11445
|
+
message: z.ZodString;
|
|
11446
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
11447
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
11448
|
+
} & {
|
|
11449
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
11450
|
+
}, "strip", z.ZodTypeAny, {
|
|
11451
|
+
message: string;
|
|
11452
|
+
created_at: string;
|
|
11453
|
+
error_code: "invalid_credentials";
|
|
11454
|
+
is_connected_account_error?: boolean | undefined;
|
|
11455
|
+
is_bridge_error?: boolean | undefined;
|
|
11456
|
+
}, {
|
|
11457
|
+
message: string;
|
|
11458
|
+
created_at: string;
|
|
11459
|
+
error_code: "invalid_credentials";
|
|
11460
|
+
is_connected_account_error?: boolean | undefined;
|
|
11461
|
+
is_bridge_error?: boolean | undefined;
|
|
11462
|
+
}>, z.ZodObject<{
|
|
11463
|
+
created_at: z.ZodString;
|
|
11464
|
+
message: z.ZodString;
|
|
11465
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
11466
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
11467
|
+
} & {
|
|
11468
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
11469
|
+
}, "strip", z.ZodTypeAny, {
|
|
11470
|
+
message: string;
|
|
11471
|
+
created_at: string;
|
|
11472
|
+
error_code: "bridge_disconnected";
|
|
11473
|
+
is_connected_account_error?: boolean | undefined;
|
|
11474
|
+
is_bridge_error?: boolean | undefined;
|
|
11475
|
+
}, {
|
|
11476
|
+
message: string;
|
|
11477
|
+
created_at: string;
|
|
11478
|
+
error_code: "bridge_disconnected";
|
|
11479
|
+
is_connected_account_error?: boolean | undefined;
|
|
11480
|
+
is_bridge_error?: boolean | undefined;
|
|
11481
|
+
}>, z.ZodObject<{
|
|
11482
|
+
created_at: z.ZodString;
|
|
11483
|
+
message: z.ZodString;
|
|
11484
|
+
is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
|
|
11485
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
11486
|
+
} & {
|
|
11487
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
11488
|
+
salto_ks_metadata: z.ZodObject<{
|
|
11489
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
11490
|
+
site_id: z.ZodString;
|
|
11491
|
+
site_name: z.ZodString;
|
|
11492
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
11493
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
11494
|
+
}, "strip", z.ZodTypeAny, {
|
|
11495
|
+
site_id: string;
|
|
11496
|
+
site_name: string;
|
|
11497
|
+
subscribed_site_user_count: number;
|
|
11498
|
+
site_user_subscription_limit: number;
|
|
11499
|
+
}, {
|
|
11500
|
+
site_id: string;
|
|
11501
|
+
site_name: string;
|
|
11502
|
+
subscribed_site_user_count: number;
|
|
11503
|
+
site_user_subscription_limit: number;
|
|
11504
|
+
}>, "many">;
|
|
11505
|
+
}, "strip", z.ZodTypeAny, {
|
|
11506
|
+
sites: {
|
|
11507
|
+
site_id: string;
|
|
11508
|
+
site_name: string;
|
|
11509
|
+
subscribed_site_user_count: number;
|
|
11510
|
+
site_user_subscription_limit: number;
|
|
11511
|
+
}[];
|
|
11512
|
+
}, {
|
|
11513
|
+
sites: {
|
|
11514
|
+
site_id: string;
|
|
11515
|
+
site_name: string;
|
|
11516
|
+
subscribed_site_user_count: number;
|
|
11517
|
+
site_user_subscription_limit: number;
|
|
11518
|
+
}[];
|
|
11519
|
+
}>;
|
|
11520
|
+
}, "strip", z.ZodTypeAny, {
|
|
11521
|
+
message: string;
|
|
11522
|
+
created_at: string;
|
|
11523
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11524
|
+
salto_ks_metadata: {
|
|
11525
|
+
sites: {
|
|
11526
|
+
site_id: string;
|
|
11527
|
+
site_name: string;
|
|
11528
|
+
subscribed_site_user_count: number;
|
|
11529
|
+
site_user_subscription_limit: number;
|
|
11530
|
+
}[];
|
|
11531
|
+
};
|
|
11532
|
+
is_connected_account_error?: boolean | undefined;
|
|
11533
|
+
is_bridge_error?: boolean | undefined;
|
|
11534
|
+
}, {
|
|
11535
|
+
message: string;
|
|
11536
|
+
created_at: string;
|
|
11537
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11538
|
+
salto_ks_metadata: {
|
|
11539
|
+
sites: {
|
|
11540
|
+
site_id: string;
|
|
11541
|
+
site_name: string;
|
|
11542
|
+
subscribed_site_user_count: number;
|
|
11543
|
+
site_user_subscription_limit: number;
|
|
11544
|
+
}[];
|
|
11545
|
+
};
|
|
11546
|
+
is_connected_account_error?: boolean | undefined;
|
|
11547
|
+
is_bridge_error?: boolean | undefined;
|
|
11548
|
+
}>]>, "many">;
|
|
11549
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
11550
|
+
created_at: z.ZodString;
|
|
11551
|
+
message: z.ZodString;
|
|
11552
|
+
} & {
|
|
11553
|
+
warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
|
|
11554
|
+
}, "strip", z.ZodTypeAny, {
|
|
11555
|
+
message: string;
|
|
11556
|
+
created_at: string;
|
|
11557
|
+
warning_code: "scheduled_maintenance_window";
|
|
11558
|
+
}, {
|
|
11559
|
+
message: string;
|
|
11560
|
+
created_at: string;
|
|
11561
|
+
warning_code: "scheduled_maintenance_window";
|
|
11562
|
+
}>, z.ZodObject<{
|
|
11563
|
+
created_at: z.ZodString;
|
|
11564
|
+
message: z.ZodString;
|
|
11565
|
+
} & {
|
|
11566
|
+
warning_code: z.ZodLiteral<"unknown_issue_with_connected_account">;
|
|
11567
|
+
}, "strip", z.ZodTypeAny, {
|
|
11568
|
+
message: string;
|
|
11569
|
+
created_at: string;
|
|
11570
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
11571
|
+
}, {
|
|
11572
|
+
message: string;
|
|
11573
|
+
created_at: string;
|
|
11574
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
11575
|
+
}>, z.ZodObject<{
|
|
11576
|
+
created_at: z.ZodString;
|
|
11577
|
+
message: z.ZodString;
|
|
11578
|
+
} & {
|
|
11579
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
11580
|
+
salto_ks_metadata: z.ZodObject<{
|
|
11581
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
11582
|
+
site_id: z.ZodString;
|
|
11583
|
+
site_name: z.ZodString;
|
|
11584
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
11585
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
11586
|
+
}, "strip", z.ZodTypeAny, {
|
|
11587
|
+
site_id: string;
|
|
11588
|
+
site_name: string;
|
|
11589
|
+
subscribed_site_user_count: number;
|
|
11590
|
+
site_user_subscription_limit: number;
|
|
11591
|
+
}, {
|
|
11592
|
+
site_id: string;
|
|
11593
|
+
site_name: string;
|
|
11594
|
+
subscribed_site_user_count: number;
|
|
11595
|
+
site_user_subscription_limit: number;
|
|
11596
|
+
}>, "many">;
|
|
11597
|
+
}, "strip", z.ZodTypeAny, {
|
|
11598
|
+
sites: {
|
|
11599
|
+
site_id: string;
|
|
11600
|
+
site_name: string;
|
|
11601
|
+
subscribed_site_user_count: number;
|
|
11602
|
+
site_user_subscription_limit: number;
|
|
11603
|
+
}[];
|
|
11604
|
+
}, {
|
|
11605
|
+
sites: {
|
|
11606
|
+
site_id: string;
|
|
11607
|
+
site_name: string;
|
|
11608
|
+
subscribed_site_user_count: number;
|
|
11609
|
+
site_user_subscription_limit: number;
|
|
11610
|
+
}[];
|
|
11611
|
+
}>;
|
|
11612
|
+
}, "strip", z.ZodTypeAny, {
|
|
11613
|
+
message: string;
|
|
11614
|
+
created_at: string;
|
|
11615
|
+
salto_ks_metadata: {
|
|
11616
|
+
sites: {
|
|
11617
|
+
site_id: string;
|
|
11618
|
+
site_name: string;
|
|
11619
|
+
subscribed_site_user_count: number;
|
|
11620
|
+
site_user_subscription_limit: number;
|
|
11621
|
+
}[];
|
|
11622
|
+
};
|
|
11623
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11624
|
+
}, {
|
|
11625
|
+
message: string;
|
|
11626
|
+
created_at: string;
|
|
11627
|
+
salto_ks_metadata: {
|
|
11628
|
+
sites: {
|
|
11629
|
+
site_id: string;
|
|
11630
|
+
site_name: string;
|
|
11631
|
+
subscribed_site_user_count: number;
|
|
11632
|
+
site_user_subscription_limit: number;
|
|
11633
|
+
}[];
|
|
11634
|
+
};
|
|
11635
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11636
|
+
}>]>, "many">;
|
|
11637
|
+
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
11638
|
+
automatically_manage_new_devices: z.ZodBoolean;
|
|
11639
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
11640
|
+
accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
|
|
11641
|
+
}, "strip", z.ZodTypeAny, {
|
|
11642
|
+
errors: ({
|
|
11643
|
+
message: string;
|
|
11644
|
+
created_at: string;
|
|
11645
|
+
error_code: "account_disconnected";
|
|
11646
|
+
is_connected_account_error?: boolean | undefined;
|
|
11647
|
+
is_bridge_error?: boolean | undefined;
|
|
11648
|
+
} | {
|
|
11649
|
+
message: string;
|
|
11650
|
+
created_at: string;
|
|
11651
|
+
error_code: "invalid_credentials";
|
|
11652
|
+
is_connected_account_error?: boolean | undefined;
|
|
11653
|
+
is_bridge_error?: boolean | undefined;
|
|
11654
|
+
} | {
|
|
11655
|
+
message: string;
|
|
11656
|
+
created_at: string;
|
|
11657
|
+
error_code: "bridge_disconnected";
|
|
11658
|
+
is_connected_account_error?: boolean | undefined;
|
|
11659
|
+
is_bridge_error?: boolean | undefined;
|
|
11660
|
+
} | {
|
|
11661
|
+
message: string;
|
|
11662
|
+
created_at: string;
|
|
11663
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11664
|
+
salto_ks_metadata: {
|
|
11665
|
+
sites: {
|
|
11666
|
+
site_id: string;
|
|
11667
|
+
site_name: string;
|
|
11668
|
+
subscribed_site_user_count: number;
|
|
11669
|
+
site_user_subscription_limit: number;
|
|
11670
|
+
}[];
|
|
11671
|
+
};
|
|
11672
|
+
is_connected_account_error?: boolean | undefined;
|
|
11673
|
+
is_bridge_error?: boolean | undefined;
|
|
11674
|
+
})[];
|
|
11675
|
+
account_type_display_name: string;
|
|
11676
|
+
warnings: ({
|
|
11677
|
+
message: string;
|
|
11678
|
+
created_at: string;
|
|
11679
|
+
warning_code: "scheduled_maintenance_window";
|
|
11680
|
+
} | {
|
|
11681
|
+
message: string;
|
|
11682
|
+
created_at: string;
|
|
11683
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
11684
|
+
} | {
|
|
11685
|
+
message: string;
|
|
11686
|
+
created_at: string;
|
|
11687
|
+
salto_ks_metadata: {
|
|
11688
|
+
sites: {
|
|
11689
|
+
site_id: string;
|
|
11690
|
+
site_name: string;
|
|
11691
|
+
subscribed_site_user_count: number;
|
|
11692
|
+
site_user_subscription_limit: number;
|
|
11693
|
+
}[];
|
|
11694
|
+
};
|
|
11695
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11696
|
+
})[];
|
|
11697
|
+
custom_metadata: Record<string, string | boolean>;
|
|
11698
|
+
automatically_manage_new_devices: boolean;
|
|
11699
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
11700
|
+
created_at?: string | undefined;
|
|
11701
|
+
connected_account_id?: string | undefined;
|
|
11702
|
+
user_identifier?: {
|
|
11703
|
+
exclusive?: boolean | undefined;
|
|
11704
|
+
username?: string | undefined;
|
|
11705
|
+
email?: string | undefined;
|
|
11706
|
+
phone?: string | undefined;
|
|
11707
|
+
api_url?: string | undefined;
|
|
11708
|
+
} | undefined;
|
|
11709
|
+
account_type?: string | undefined;
|
|
11710
|
+
customer_key?: string | undefined;
|
|
11711
|
+
}, {
|
|
11712
|
+
errors: ({
|
|
11713
|
+
message: string;
|
|
11714
|
+
created_at: string;
|
|
11715
|
+
error_code: "account_disconnected";
|
|
11716
|
+
is_connected_account_error?: boolean | undefined;
|
|
11717
|
+
is_bridge_error?: boolean | undefined;
|
|
11718
|
+
} | {
|
|
11719
|
+
message: string;
|
|
11720
|
+
created_at: string;
|
|
11721
|
+
error_code: "invalid_credentials";
|
|
11722
|
+
is_connected_account_error?: boolean | undefined;
|
|
11723
|
+
is_bridge_error?: boolean | undefined;
|
|
11724
|
+
} | {
|
|
11725
|
+
message: string;
|
|
11726
|
+
created_at: string;
|
|
11727
|
+
error_code: "bridge_disconnected";
|
|
11728
|
+
is_connected_account_error?: boolean | undefined;
|
|
11729
|
+
is_bridge_error?: boolean | undefined;
|
|
11730
|
+
} | {
|
|
11731
|
+
message: string;
|
|
11732
|
+
created_at: string;
|
|
11733
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11734
|
+
salto_ks_metadata: {
|
|
11735
|
+
sites: {
|
|
11736
|
+
site_id: string;
|
|
11737
|
+
site_name: string;
|
|
11738
|
+
subscribed_site_user_count: number;
|
|
11739
|
+
site_user_subscription_limit: number;
|
|
11740
|
+
}[];
|
|
11741
|
+
};
|
|
11742
|
+
is_connected_account_error?: boolean | undefined;
|
|
11743
|
+
is_bridge_error?: boolean | undefined;
|
|
11744
|
+
})[];
|
|
11745
|
+
account_type_display_name: string;
|
|
11746
|
+
warnings: ({
|
|
11747
|
+
message: string;
|
|
11748
|
+
created_at: string;
|
|
11749
|
+
warning_code: "scheduled_maintenance_window";
|
|
11750
|
+
} | {
|
|
11751
|
+
message: string;
|
|
11752
|
+
created_at: string;
|
|
11753
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
11754
|
+
} | {
|
|
11755
|
+
message: string;
|
|
11756
|
+
created_at: string;
|
|
11757
|
+
salto_ks_metadata: {
|
|
11758
|
+
sites: {
|
|
11759
|
+
site_id: string;
|
|
11760
|
+
site_name: string;
|
|
11761
|
+
subscribed_site_user_count: number;
|
|
11762
|
+
site_user_subscription_limit: number;
|
|
11763
|
+
}[];
|
|
11764
|
+
};
|
|
11765
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11766
|
+
})[];
|
|
11767
|
+
custom_metadata: Record<string, string | boolean>;
|
|
11768
|
+
automatically_manage_new_devices: boolean;
|
|
11769
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
11770
|
+
created_at?: string | undefined;
|
|
11771
|
+
connected_account_id?: string | undefined;
|
|
11772
|
+
user_identifier?: {
|
|
11773
|
+
exclusive?: boolean | undefined;
|
|
11774
|
+
username?: string | undefined;
|
|
11775
|
+
email?: string | undefined;
|
|
11776
|
+
phone?: string | undefined;
|
|
11777
|
+
api_url?: string | undefined;
|
|
11778
|
+
} | undefined;
|
|
11779
|
+
account_type?: string | undefined;
|
|
11780
|
+
customer_key?: string | undefined;
|
|
11781
|
+
}>, "many">>;
|
|
11782
|
+
acs_systems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11783
|
+
default_credential_manager_acs_system_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11784
|
+
acs_system_id: z.ZodString;
|
|
11785
|
+
acs_user_count: z.ZodOptional<z.ZodNumber>;
|
|
11786
|
+
acs_access_group_count: z.ZodOptional<z.ZodNumber>;
|
|
11787
|
+
external_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "salto_space_system", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community_site", "legic_connect_credential_service", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
|
|
11788
|
+
external_type_display_name: z.ZodOptional<z.ZodString>;
|
|
11789
|
+
is_credential_manager: z.ZodBoolean;
|
|
11790
|
+
visionline_metadata: z.ZodOptional<z.ZodObject<{
|
|
11791
|
+
mobile_access_uuid: z.ZodString;
|
|
11792
|
+
system_id: z.ZodString;
|
|
11793
|
+
lan_address: z.ZodString;
|
|
11794
|
+
}, "strip", z.ZodTypeAny, {
|
|
11795
|
+
mobile_access_uuid: string;
|
|
11796
|
+
system_id: string;
|
|
11797
|
+
lan_address: string;
|
|
11798
|
+
}, {
|
|
11799
|
+
mobile_access_uuid: string;
|
|
11800
|
+
system_id: string;
|
|
11801
|
+
lan_address: string;
|
|
11802
|
+
}>>;
|
|
11803
|
+
system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "salto_space_system", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community_site", "legic_connect_credential_service", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
|
|
11804
|
+
system_type_display_name: z.ZodOptional<z.ZodString>;
|
|
11805
|
+
location: z.ZodObject<{
|
|
11806
|
+
time_zone: z.ZodNullable<z.ZodString>;
|
|
11807
|
+
}, "strip", z.ZodTypeAny, {
|
|
11808
|
+
time_zone: string | null;
|
|
11809
|
+
}, {
|
|
11810
|
+
time_zone: string | null;
|
|
11811
|
+
}>;
|
|
11812
|
+
name: z.ZodString;
|
|
11813
|
+
created_at: z.ZodString;
|
|
11814
|
+
workspace_id: z.ZodString;
|
|
11815
|
+
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
11816
|
+
connected_account_id: z.ZodString;
|
|
11817
|
+
image_url: z.ZodString;
|
|
11818
|
+
image_alt_text: z.ZodString;
|
|
11819
|
+
errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
|
|
11820
|
+
created_at: z.ZodString;
|
|
11821
|
+
message: z.ZodString;
|
|
11822
|
+
} & {
|
|
11823
|
+
error_code: z.ZodLiteral<"seam_bridge_disconnected">;
|
|
11824
|
+
}, "strip", z.ZodTypeAny, {
|
|
11825
|
+
message: string;
|
|
11826
|
+
created_at: string;
|
|
11827
|
+
error_code: "seam_bridge_disconnected";
|
|
11828
|
+
}, {
|
|
11829
|
+
message: string;
|
|
11830
|
+
created_at: string;
|
|
11831
|
+
error_code: "seam_bridge_disconnected";
|
|
11832
|
+
}>, z.ZodObject<{
|
|
11833
|
+
created_at: z.ZodString;
|
|
11834
|
+
message: z.ZodString;
|
|
11835
|
+
} & {
|
|
11836
|
+
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
11837
|
+
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
11838
|
+
}, "strip", z.ZodTypeAny, {
|
|
11839
|
+
message: string;
|
|
11840
|
+
created_at: string;
|
|
11841
|
+
error_code: "bridge_disconnected";
|
|
11842
|
+
is_bridge_error?: boolean | undefined;
|
|
11843
|
+
}, {
|
|
11844
|
+
message: string;
|
|
11845
|
+
created_at: string;
|
|
11846
|
+
error_code: "bridge_disconnected";
|
|
11847
|
+
is_bridge_error?: boolean | undefined;
|
|
11848
|
+
}>, z.ZodObject<{
|
|
11849
|
+
created_at: z.ZodString;
|
|
11850
|
+
message: z.ZodString;
|
|
11851
|
+
} & {
|
|
11852
|
+
error_code: z.ZodLiteral<"visionline_instance_unreachable">;
|
|
11853
|
+
}, "strip", z.ZodTypeAny, {
|
|
11854
|
+
message: string;
|
|
11855
|
+
created_at: string;
|
|
11856
|
+
error_code: "visionline_instance_unreachable";
|
|
11857
|
+
}, {
|
|
11858
|
+
message: string;
|
|
11859
|
+
created_at: string;
|
|
11860
|
+
error_code: "visionline_instance_unreachable";
|
|
11861
|
+
}>, z.ZodObject<{
|
|
11862
|
+
created_at: z.ZodString;
|
|
11863
|
+
message: z.ZodString;
|
|
11864
|
+
} & {
|
|
11865
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
11866
|
+
}, "strip", z.ZodTypeAny, {
|
|
11867
|
+
message: string;
|
|
11868
|
+
created_at: string;
|
|
11869
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11870
|
+
}, {
|
|
11871
|
+
message: string;
|
|
11872
|
+
created_at: string;
|
|
11873
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11874
|
+
}>, z.ZodObject<{
|
|
11875
|
+
created_at: z.ZodString;
|
|
11876
|
+
message: z.ZodString;
|
|
11877
|
+
} & {
|
|
11878
|
+
error_code: z.ZodLiteral<"acs_system_disconnected">;
|
|
11879
|
+
}, "strip", z.ZodTypeAny, {
|
|
11880
|
+
message: string;
|
|
11881
|
+
created_at: string;
|
|
11882
|
+
error_code: "acs_system_disconnected";
|
|
11883
|
+
}, {
|
|
11884
|
+
message: string;
|
|
11885
|
+
created_at: string;
|
|
11886
|
+
error_code: "acs_system_disconnected";
|
|
11887
|
+
}>, z.ZodObject<{
|
|
11888
|
+
created_at: z.ZodString;
|
|
11889
|
+
message: z.ZodString;
|
|
11890
|
+
} & {
|
|
11891
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
11892
|
+
}, "strip", z.ZodTypeAny, {
|
|
11893
|
+
message: string;
|
|
11894
|
+
created_at: string;
|
|
11895
|
+
error_code: "account_disconnected";
|
|
11896
|
+
}, {
|
|
11897
|
+
message: string;
|
|
11898
|
+
created_at: string;
|
|
11899
|
+
error_code: "account_disconnected";
|
|
11900
|
+
}>, z.ZodObject<{
|
|
11901
|
+
created_at: z.ZodString;
|
|
11902
|
+
message: z.ZodString;
|
|
11903
|
+
} & {
|
|
11904
|
+
error_code: z.ZodLiteral<"salto_ks_certification_expired">;
|
|
11905
|
+
}, "strip", z.ZodTypeAny, {
|
|
11906
|
+
message: string;
|
|
11907
|
+
created_at: string;
|
|
11908
|
+
error_code: "salto_ks_certification_expired";
|
|
11909
|
+
}, {
|
|
11910
|
+
message: string;
|
|
11911
|
+
created_at: string;
|
|
11912
|
+
error_code: "salto_ks_certification_expired";
|
|
11913
|
+
}>]>, "many">;
|
|
11914
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
11915
|
+
created_at: z.ZodString;
|
|
11916
|
+
message: z.ZodString;
|
|
11917
|
+
} & {
|
|
11918
|
+
warning_code: z.ZodLiteral<"salto_ks_subscription_limit_almost_reached">;
|
|
11919
|
+
}, "strip", z.ZodTypeAny, {
|
|
11920
|
+
message: string;
|
|
11921
|
+
created_at: string;
|
|
11922
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11923
|
+
}, {
|
|
11924
|
+
message: string;
|
|
11925
|
+
created_at: string;
|
|
11926
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11927
|
+
}>, z.ZodObject<{
|
|
11928
|
+
created_at: z.ZodString;
|
|
11929
|
+
message: z.ZodString;
|
|
11930
|
+
} & {
|
|
11931
|
+
warning_code: z.ZodLiteral<"time_zone_does_not_match_location">;
|
|
11932
|
+
misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11933
|
+
}, "strip", z.ZodTypeAny, {
|
|
11934
|
+
message: string;
|
|
11935
|
+
created_at: string;
|
|
11936
|
+
warning_code: "time_zone_does_not_match_location";
|
|
11937
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
11938
|
+
}, {
|
|
11939
|
+
message: string;
|
|
11940
|
+
created_at: string;
|
|
11941
|
+
warning_code: "time_zone_does_not_match_location";
|
|
11942
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
11943
|
+
}>]>, "many">;
|
|
11944
|
+
}, "strip", z.ZodTypeAny, {
|
|
11945
|
+
location: {
|
|
11946
|
+
time_zone: string | null;
|
|
11947
|
+
};
|
|
11948
|
+
name: string;
|
|
11949
|
+
workspace_id: string;
|
|
11950
|
+
created_at: string;
|
|
11951
|
+
errors: ({
|
|
11952
|
+
message: string;
|
|
11953
|
+
created_at: string;
|
|
11954
|
+
error_code: "seam_bridge_disconnected";
|
|
11955
|
+
} | {
|
|
11956
|
+
message: string;
|
|
11957
|
+
created_at: string;
|
|
11958
|
+
error_code: "bridge_disconnected";
|
|
11959
|
+
is_bridge_error?: boolean | undefined;
|
|
11960
|
+
} | {
|
|
11961
|
+
message: string;
|
|
11962
|
+
created_at: string;
|
|
11963
|
+
error_code: "visionline_instance_unreachable";
|
|
11964
|
+
} | {
|
|
11965
|
+
message: string;
|
|
11966
|
+
created_at: string;
|
|
11967
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
11968
|
+
} | {
|
|
11969
|
+
message: string;
|
|
11970
|
+
created_at: string;
|
|
11971
|
+
error_code: "acs_system_disconnected";
|
|
11972
|
+
} | {
|
|
11973
|
+
message: string;
|
|
11974
|
+
created_at: string;
|
|
11975
|
+
error_code: "account_disconnected";
|
|
11976
|
+
} | {
|
|
11977
|
+
message: string;
|
|
11978
|
+
created_at: string;
|
|
11979
|
+
error_code: "salto_ks_certification_expired";
|
|
11980
|
+
})[];
|
|
11981
|
+
connected_account_id: string;
|
|
11982
|
+
warnings: ({
|
|
11983
|
+
message: string;
|
|
11984
|
+
created_at: string;
|
|
11985
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
11986
|
+
} | {
|
|
11987
|
+
message: string;
|
|
11988
|
+
created_at: string;
|
|
11989
|
+
warning_code: "time_zone_does_not_match_location";
|
|
11990
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
11991
|
+
})[];
|
|
11992
|
+
image_url: string;
|
|
11993
|
+
image_alt_text: string;
|
|
11994
|
+
acs_system_id: string;
|
|
11995
|
+
is_credential_manager: boolean;
|
|
11996
|
+
connected_account_ids: string[];
|
|
10250
11997
|
visionline_metadata?: {
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
visionline_door_profile_id: string;
|
|
10255
|
-
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
10256
|
-
}[] | undefined;
|
|
10257
|
-
} | undefined;
|
|
10258
|
-
assa_abloy_vostio_metadata?: {
|
|
10259
|
-
door_name: string;
|
|
10260
|
-
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
10261
|
-
door_number?: number | undefined;
|
|
10262
|
-
stand_open?: boolean | undefined;
|
|
10263
|
-
pms_id?: string | undefined;
|
|
10264
|
-
} | undefined;
|
|
10265
|
-
can_unlock_with_code?: boolean | undefined;
|
|
10266
|
-
can_unlock_with_mobile_key?: boolean | undefined;
|
|
10267
|
-
can_unlock_with_card?: boolean | undefined;
|
|
10268
|
-
latch_metadata?: {
|
|
10269
|
-
door_name: string;
|
|
10270
|
-
is_connected: boolean;
|
|
10271
|
-
door_type: string;
|
|
10272
|
-
accessibility_type: string;
|
|
10273
|
-
} | undefined;
|
|
10274
|
-
dormakaba_community_metadata?: {
|
|
10275
|
-
access_point_name: string;
|
|
10276
|
-
} | undefined;
|
|
10277
|
-
salto_space_metadata?: {
|
|
10278
|
-
door_name?: string | undefined;
|
|
10279
|
-
door_id?: string | undefined;
|
|
10280
|
-
ext_door_id?: string | undefined;
|
|
10281
|
-
door_description?: string | undefined;
|
|
10282
|
-
room_name?: string | undefined;
|
|
10283
|
-
room_description?: string | undefined;
|
|
11998
|
+
mobile_access_uuid: string;
|
|
11999
|
+
system_id: string;
|
|
12000
|
+
lan_address: string;
|
|
10284
12001
|
} | undefined;
|
|
12002
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
12003
|
+
external_type_display_name?: string | undefined;
|
|
12004
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
12005
|
+
acs_user_count?: number | undefined;
|
|
12006
|
+
acs_access_group_count?: number | undefined;
|
|
12007
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
12008
|
+
system_type_display_name?: string | undefined;
|
|
10285
12009
|
}, {
|
|
10286
|
-
|
|
12010
|
+
location: {
|
|
12011
|
+
time_zone: string | null;
|
|
12012
|
+
};
|
|
12013
|
+
name: string;
|
|
12014
|
+
workspace_id: string;
|
|
10287
12015
|
created_at: string;
|
|
10288
|
-
errors: {
|
|
12016
|
+
errors: ({
|
|
10289
12017
|
message: string;
|
|
10290
|
-
|
|
10291
|
-
|
|
12018
|
+
created_at: string;
|
|
12019
|
+
error_code: "seam_bridge_disconnected";
|
|
12020
|
+
} | {
|
|
12021
|
+
message: string;
|
|
12022
|
+
created_at: string;
|
|
12023
|
+
error_code: "bridge_disconnected";
|
|
12024
|
+
is_bridge_error?: boolean | undefined;
|
|
12025
|
+
} | {
|
|
12026
|
+
message: string;
|
|
12027
|
+
created_at: string;
|
|
12028
|
+
error_code: "visionline_instance_unreachable";
|
|
12029
|
+
} | {
|
|
12030
|
+
message: string;
|
|
12031
|
+
created_at: string;
|
|
12032
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
12033
|
+
} | {
|
|
12034
|
+
message: string;
|
|
12035
|
+
created_at: string;
|
|
12036
|
+
error_code: "acs_system_disconnected";
|
|
12037
|
+
} | {
|
|
12038
|
+
message: string;
|
|
12039
|
+
created_at: string;
|
|
12040
|
+
error_code: "account_disconnected";
|
|
12041
|
+
} | {
|
|
12042
|
+
message: string;
|
|
12043
|
+
created_at: string;
|
|
12044
|
+
error_code: "salto_ks_certification_expired";
|
|
12045
|
+
})[];
|
|
10292
12046
|
connected_account_id: string;
|
|
12047
|
+
warnings: ({
|
|
12048
|
+
message: string;
|
|
12049
|
+
created_at: string;
|
|
12050
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
12051
|
+
} | {
|
|
12052
|
+
message: string;
|
|
12053
|
+
created_at: string;
|
|
12054
|
+
warning_code: "time_zone_does_not_match_location";
|
|
12055
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
12056
|
+
})[];
|
|
12057
|
+
image_url: string;
|
|
12058
|
+
image_alt_text: string;
|
|
10293
12059
|
acs_system_id: string;
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
lock_type: string;
|
|
10297
|
-
battery_level: string;
|
|
10298
|
-
locked_state: string;
|
|
10299
|
-
door_name: string;
|
|
10300
|
-
online?: boolean | undefined;
|
|
10301
|
-
left_open_alarm?: boolean | undefined;
|
|
10302
|
-
intrusion_alarm?: boolean | undefined;
|
|
10303
|
-
privacy_mode?: boolean | undefined;
|
|
10304
|
-
} | undefined;
|
|
12060
|
+
is_credential_manager: boolean;
|
|
12061
|
+
connected_account_ids: string[];
|
|
10305
12062
|
visionline_metadata?: {
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
visionline_door_profile_id: string;
|
|
10310
|
-
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
10311
|
-
}[] | undefined;
|
|
10312
|
-
} | undefined;
|
|
10313
|
-
assa_abloy_vostio_metadata?: {
|
|
10314
|
-
door_name: string;
|
|
10315
|
-
door_type: "CommonDoor" | "EntranceDoor" | "GuestDoor" | "Elevator";
|
|
10316
|
-
door_number?: number | undefined;
|
|
10317
|
-
stand_open?: boolean | undefined;
|
|
10318
|
-
pms_id?: string | undefined;
|
|
10319
|
-
} | undefined;
|
|
10320
|
-
can_unlock_with_code?: boolean | undefined;
|
|
10321
|
-
can_unlock_with_mobile_key?: boolean | undefined;
|
|
10322
|
-
can_unlock_with_card?: boolean | undefined;
|
|
10323
|
-
latch_metadata?: {
|
|
10324
|
-
door_name: string;
|
|
10325
|
-
is_connected: boolean;
|
|
10326
|
-
door_type: string;
|
|
10327
|
-
accessibility_type: string;
|
|
10328
|
-
} | undefined;
|
|
10329
|
-
dormakaba_community_metadata?: {
|
|
10330
|
-
access_point_name: string;
|
|
10331
|
-
} | undefined;
|
|
10332
|
-
salto_space_metadata?: {
|
|
10333
|
-
door_name?: string | undefined;
|
|
10334
|
-
door_id?: string | undefined;
|
|
10335
|
-
ext_door_id?: string | undefined;
|
|
10336
|
-
door_description?: string | undefined;
|
|
10337
|
-
room_name?: string | undefined;
|
|
10338
|
-
room_description?: string | undefined;
|
|
12063
|
+
mobile_access_uuid: string;
|
|
12064
|
+
system_id: string;
|
|
12065
|
+
lan_address: string;
|
|
10339
12066
|
} | undefined;
|
|
12067
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
12068
|
+
external_type_display_name?: string | undefined;
|
|
12069
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
12070
|
+
acs_user_count?: number | undefined;
|
|
12071
|
+
acs_access_group_count?: number | undefined;
|
|
12072
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
12073
|
+
system_type_display_name?: string | undefined;
|
|
10340
12074
|
}>, "many">>;
|
|
10341
12075
|
}, "strip", z.ZodTypeAny, {
|
|
10342
12076
|
batch_type: "access_grants";
|
|
@@ -11064,6 +12798,170 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
11064
12798
|
room_description?: string | undefined;
|
|
11065
12799
|
} | undefined;
|
|
11066
12800
|
}[] | undefined;
|
|
12801
|
+
connected_accounts?: {
|
|
12802
|
+
errors: ({
|
|
12803
|
+
message: string;
|
|
12804
|
+
created_at: string;
|
|
12805
|
+
error_code: "account_disconnected";
|
|
12806
|
+
is_connected_account_error?: boolean | undefined;
|
|
12807
|
+
is_bridge_error?: boolean | undefined;
|
|
12808
|
+
} | {
|
|
12809
|
+
message: string;
|
|
12810
|
+
created_at: string;
|
|
12811
|
+
error_code: "invalid_credentials";
|
|
12812
|
+
is_connected_account_error?: boolean | undefined;
|
|
12813
|
+
is_bridge_error?: boolean | undefined;
|
|
12814
|
+
} | {
|
|
12815
|
+
message: string;
|
|
12816
|
+
created_at: string;
|
|
12817
|
+
error_code: "bridge_disconnected";
|
|
12818
|
+
is_connected_account_error?: boolean | undefined;
|
|
12819
|
+
is_bridge_error?: boolean | undefined;
|
|
12820
|
+
} | {
|
|
12821
|
+
message: string;
|
|
12822
|
+
created_at: string;
|
|
12823
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
12824
|
+
salto_ks_metadata: {
|
|
12825
|
+
sites: {
|
|
12826
|
+
site_id: string;
|
|
12827
|
+
site_name: string;
|
|
12828
|
+
subscribed_site_user_count: number;
|
|
12829
|
+
site_user_subscription_limit: number;
|
|
12830
|
+
}[];
|
|
12831
|
+
};
|
|
12832
|
+
is_connected_account_error?: boolean | undefined;
|
|
12833
|
+
is_bridge_error?: boolean | undefined;
|
|
12834
|
+
})[];
|
|
12835
|
+
account_type_display_name: string;
|
|
12836
|
+
warnings: ({
|
|
12837
|
+
message: string;
|
|
12838
|
+
created_at: string;
|
|
12839
|
+
warning_code: "scheduled_maintenance_window";
|
|
12840
|
+
} | {
|
|
12841
|
+
message: string;
|
|
12842
|
+
created_at: string;
|
|
12843
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
12844
|
+
} | {
|
|
12845
|
+
message: string;
|
|
12846
|
+
created_at: string;
|
|
12847
|
+
salto_ks_metadata: {
|
|
12848
|
+
sites: {
|
|
12849
|
+
site_id: string;
|
|
12850
|
+
site_name: string;
|
|
12851
|
+
subscribed_site_user_count: number;
|
|
12852
|
+
site_user_subscription_limit: number;
|
|
12853
|
+
}[];
|
|
12854
|
+
};
|
|
12855
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
12856
|
+
})[];
|
|
12857
|
+
custom_metadata: Record<string, string | boolean>;
|
|
12858
|
+
automatically_manage_new_devices: boolean;
|
|
12859
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
12860
|
+
created_at?: string | undefined;
|
|
12861
|
+
connected_account_id?: string | undefined;
|
|
12862
|
+
user_identifier?: {
|
|
12863
|
+
exclusive?: boolean | undefined;
|
|
12864
|
+
username?: string | undefined;
|
|
12865
|
+
email?: string | undefined;
|
|
12866
|
+
phone?: string | undefined;
|
|
12867
|
+
api_url?: string | undefined;
|
|
12868
|
+
} | undefined;
|
|
12869
|
+
account_type?: string | undefined;
|
|
12870
|
+
customer_key?: string | undefined;
|
|
12871
|
+
}[] | undefined;
|
|
12872
|
+
acs_systems?: {
|
|
12873
|
+
location: {
|
|
12874
|
+
time_zone: string | null;
|
|
12875
|
+
};
|
|
12876
|
+
name: string;
|
|
12877
|
+
workspace_id: string;
|
|
12878
|
+
created_at: string;
|
|
12879
|
+
errors: ({
|
|
12880
|
+
message: string;
|
|
12881
|
+
created_at: string;
|
|
12882
|
+
error_code: "seam_bridge_disconnected";
|
|
12883
|
+
} | {
|
|
12884
|
+
message: string;
|
|
12885
|
+
created_at: string;
|
|
12886
|
+
error_code: "bridge_disconnected";
|
|
12887
|
+
is_bridge_error?: boolean | undefined;
|
|
12888
|
+
} | {
|
|
12889
|
+
message: string;
|
|
12890
|
+
created_at: string;
|
|
12891
|
+
error_code: "visionline_instance_unreachable";
|
|
12892
|
+
} | {
|
|
12893
|
+
message: string;
|
|
12894
|
+
created_at: string;
|
|
12895
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
12896
|
+
} | {
|
|
12897
|
+
message: string;
|
|
12898
|
+
created_at: string;
|
|
12899
|
+
error_code: "acs_system_disconnected";
|
|
12900
|
+
} | {
|
|
12901
|
+
message: string;
|
|
12902
|
+
created_at: string;
|
|
12903
|
+
error_code: "account_disconnected";
|
|
12904
|
+
} | {
|
|
12905
|
+
message: string;
|
|
12906
|
+
created_at: string;
|
|
12907
|
+
error_code: "salto_ks_certification_expired";
|
|
12908
|
+
})[];
|
|
12909
|
+
connected_account_id: string;
|
|
12910
|
+
warnings: ({
|
|
12911
|
+
message: string;
|
|
12912
|
+
created_at: string;
|
|
12913
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
12914
|
+
} | {
|
|
12915
|
+
message: string;
|
|
12916
|
+
created_at: string;
|
|
12917
|
+
warning_code: "time_zone_does_not_match_location";
|
|
12918
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
12919
|
+
})[];
|
|
12920
|
+
image_url: string;
|
|
12921
|
+
image_alt_text: string;
|
|
12922
|
+
acs_system_id: string;
|
|
12923
|
+
is_credential_manager: boolean;
|
|
12924
|
+
connected_account_ids: string[];
|
|
12925
|
+
visionline_metadata?: {
|
|
12926
|
+
mobile_access_uuid: string;
|
|
12927
|
+
system_id: string;
|
|
12928
|
+
lan_address: string;
|
|
12929
|
+
} | undefined;
|
|
12930
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
12931
|
+
external_type_display_name?: string | undefined;
|
|
12932
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
12933
|
+
acs_user_count?: number | undefined;
|
|
12934
|
+
acs_access_group_count?: number | undefined;
|
|
12935
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
12936
|
+
system_type_display_name?: string | undefined;
|
|
12937
|
+
}[] | undefined;
|
|
12938
|
+
user_identities?: {
|
|
12939
|
+
display_name: string;
|
|
12940
|
+
workspace_id: string;
|
|
12941
|
+
created_at: string;
|
|
12942
|
+
errors: {
|
|
12943
|
+
message: string;
|
|
12944
|
+
created_at: string;
|
|
12945
|
+
error_code: "issue_with_acs_user";
|
|
12946
|
+
acs_system_id: string;
|
|
12947
|
+
acs_user_id: string;
|
|
12948
|
+
}[];
|
|
12949
|
+
warnings: ({
|
|
12950
|
+
message: string;
|
|
12951
|
+
created_at: string;
|
|
12952
|
+
warning_code: "being_deleted";
|
|
12953
|
+
} | {
|
|
12954
|
+
message: string;
|
|
12955
|
+
created_at: string;
|
|
12956
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
12957
|
+
})[];
|
|
12958
|
+
user_identity_id: string;
|
|
12959
|
+
email_address: string | null;
|
|
12960
|
+
full_name: string | null;
|
|
12961
|
+
phone_number: string | null;
|
|
12962
|
+
user_identity_key: string | null;
|
|
12963
|
+
acs_user_ids: string[];
|
|
12964
|
+
}[] | undefined;
|
|
11067
12965
|
}, {
|
|
11068
12966
|
batch_type: "access_grants";
|
|
11069
12967
|
spaces?: {
|
|
@@ -11790,6 +13688,170 @@ export declare const access_grants_batch: z.ZodObject<{
|
|
|
11790
13688
|
room_description?: string | undefined;
|
|
11791
13689
|
} | undefined;
|
|
11792
13690
|
}[] | undefined;
|
|
13691
|
+
connected_accounts?: {
|
|
13692
|
+
errors: ({
|
|
13693
|
+
message: string;
|
|
13694
|
+
created_at: string;
|
|
13695
|
+
error_code: "account_disconnected";
|
|
13696
|
+
is_connected_account_error?: boolean | undefined;
|
|
13697
|
+
is_bridge_error?: boolean | undefined;
|
|
13698
|
+
} | {
|
|
13699
|
+
message: string;
|
|
13700
|
+
created_at: string;
|
|
13701
|
+
error_code: "invalid_credentials";
|
|
13702
|
+
is_connected_account_error?: boolean | undefined;
|
|
13703
|
+
is_bridge_error?: boolean | undefined;
|
|
13704
|
+
} | {
|
|
13705
|
+
message: string;
|
|
13706
|
+
created_at: string;
|
|
13707
|
+
error_code: "bridge_disconnected";
|
|
13708
|
+
is_connected_account_error?: boolean | undefined;
|
|
13709
|
+
is_bridge_error?: boolean | undefined;
|
|
13710
|
+
} | {
|
|
13711
|
+
message: string;
|
|
13712
|
+
created_at: string;
|
|
13713
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
13714
|
+
salto_ks_metadata: {
|
|
13715
|
+
sites: {
|
|
13716
|
+
site_id: string;
|
|
13717
|
+
site_name: string;
|
|
13718
|
+
subscribed_site_user_count: number;
|
|
13719
|
+
site_user_subscription_limit: number;
|
|
13720
|
+
}[];
|
|
13721
|
+
};
|
|
13722
|
+
is_connected_account_error?: boolean | undefined;
|
|
13723
|
+
is_bridge_error?: boolean | undefined;
|
|
13724
|
+
})[];
|
|
13725
|
+
account_type_display_name: string;
|
|
13726
|
+
warnings: ({
|
|
13727
|
+
message: string;
|
|
13728
|
+
created_at: string;
|
|
13729
|
+
warning_code: "scheduled_maintenance_window";
|
|
13730
|
+
} | {
|
|
13731
|
+
message: string;
|
|
13732
|
+
created_at: string;
|
|
13733
|
+
warning_code: "unknown_issue_with_connected_account";
|
|
13734
|
+
} | {
|
|
13735
|
+
message: string;
|
|
13736
|
+
created_at: string;
|
|
13737
|
+
salto_ks_metadata: {
|
|
13738
|
+
sites: {
|
|
13739
|
+
site_id: string;
|
|
13740
|
+
site_name: string;
|
|
13741
|
+
subscribed_site_user_count: number;
|
|
13742
|
+
site_user_subscription_limit: number;
|
|
13743
|
+
}[];
|
|
13744
|
+
};
|
|
13745
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
13746
|
+
})[];
|
|
13747
|
+
custom_metadata: Record<string, string | boolean>;
|
|
13748
|
+
automatically_manage_new_devices: boolean;
|
|
13749
|
+
accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
|
|
13750
|
+
created_at?: string | undefined;
|
|
13751
|
+
connected_account_id?: string | undefined;
|
|
13752
|
+
user_identifier?: {
|
|
13753
|
+
exclusive?: boolean | undefined;
|
|
13754
|
+
username?: string | undefined;
|
|
13755
|
+
email?: string | undefined;
|
|
13756
|
+
phone?: string | undefined;
|
|
13757
|
+
api_url?: string | undefined;
|
|
13758
|
+
} | undefined;
|
|
13759
|
+
account_type?: string | undefined;
|
|
13760
|
+
customer_key?: string | undefined;
|
|
13761
|
+
}[] | undefined;
|
|
13762
|
+
acs_systems?: {
|
|
13763
|
+
location: {
|
|
13764
|
+
time_zone: string | null;
|
|
13765
|
+
};
|
|
13766
|
+
name: string;
|
|
13767
|
+
workspace_id: string;
|
|
13768
|
+
created_at: string;
|
|
13769
|
+
errors: ({
|
|
13770
|
+
message: string;
|
|
13771
|
+
created_at: string;
|
|
13772
|
+
error_code: "seam_bridge_disconnected";
|
|
13773
|
+
} | {
|
|
13774
|
+
message: string;
|
|
13775
|
+
created_at: string;
|
|
13776
|
+
error_code: "bridge_disconnected";
|
|
13777
|
+
is_bridge_error?: boolean | undefined;
|
|
13778
|
+
} | {
|
|
13779
|
+
message: string;
|
|
13780
|
+
created_at: string;
|
|
13781
|
+
error_code: "visionline_instance_unreachable";
|
|
13782
|
+
} | {
|
|
13783
|
+
message: string;
|
|
13784
|
+
created_at: string;
|
|
13785
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
13786
|
+
} | {
|
|
13787
|
+
message: string;
|
|
13788
|
+
created_at: string;
|
|
13789
|
+
error_code: "acs_system_disconnected";
|
|
13790
|
+
} | {
|
|
13791
|
+
message: string;
|
|
13792
|
+
created_at: string;
|
|
13793
|
+
error_code: "account_disconnected";
|
|
13794
|
+
} | {
|
|
13795
|
+
message: string;
|
|
13796
|
+
created_at: string;
|
|
13797
|
+
error_code: "salto_ks_certification_expired";
|
|
13798
|
+
})[];
|
|
13799
|
+
connected_account_id: string;
|
|
13800
|
+
warnings: ({
|
|
13801
|
+
message: string;
|
|
13802
|
+
created_at: string;
|
|
13803
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
13804
|
+
} | {
|
|
13805
|
+
message: string;
|
|
13806
|
+
created_at: string;
|
|
13807
|
+
warning_code: "time_zone_does_not_match_location";
|
|
13808
|
+
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
13809
|
+
})[];
|
|
13810
|
+
image_url: string;
|
|
13811
|
+
image_alt_text: string;
|
|
13812
|
+
acs_system_id: string;
|
|
13813
|
+
is_credential_manager: boolean;
|
|
13814
|
+
connected_account_ids: string[];
|
|
13815
|
+
visionline_metadata?: {
|
|
13816
|
+
mobile_access_uuid: string;
|
|
13817
|
+
system_id: string;
|
|
13818
|
+
lan_address: string;
|
|
13819
|
+
} | undefined;
|
|
13820
|
+
external_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
13821
|
+
external_type_display_name?: string | undefined;
|
|
13822
|
+
default_credential_manager_acs_system_id?: string | null | undefined;
|
|
13823
|
+
acs_user_count?: number | undefined;
|
|
13824
|
+
acs_access_group_count?: number | undefined;
|
|
13825
|
+
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "legic_connect_credential_service" | undefined;
|
|
13826
|
+
system_type_display_name?: string | undefined;
|
|
13827
|
+
}[] | undefined;
|
|
13828
|
+
user_identities?: {
|
|
13829
|
+
display_name: string;
|
|
13830
|
+
workspace_id: string;
|
|
13831
|
+
created_at: string;
|
|
13832
|
+
errors: {
|
|
13833
|
+
message: string;
|
|
13834
|
+
created_at: string;
|
|
13835
|
+
error_code: "issue_with_acs_user";
|
|
13836
|
+
acs_system_id: string;
|
|
13837
|
+
acs_user_id: string;
|
|
13838
|
+
}[];
|
|
13839
|
+
warnings: ({
|
|
13840
|
+
message: string;
|
|
13841
|
+
created_at: string;
|
|
13842
|
+
warning_code: "being_deleted";
|
|
13843
|
+
} | {
|
|
13844
|
+
message: string;
|
|
13845
|
+
created_at: string;
|
|
13846
|
+
warning_code: "acs_user_profile_does_not_match_user_identity";
|
|
13847
|
+
})[];
|
|
13848
|
+
user_identity_id: string;
|
|
13849
|
+
email_address: string | null;
|
|
13850
|
+
full_name: string | null;
|
|
13851
|
+
phone_number: string | null;
|
|
13852
|
+
user_identity_key: string | null;
|
|
13853
|
+
acs_user_ids: string[];
|
|
13854
|
+
}[] | undefined;
|
|
11793
13855
|
}>;
|
|
11794
13856
|
export declare const access_methods_batch: z.ZodObject<{
|
|
11795
13857
|
batch_type: z.ZodLiteral<"access_methods">;
|
|
@@ -23021,21 +25083,6 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
23021
25083
|
room_description?: string | undefined;
|
|
23022
25084
|
} | undefined;
|
|
23023
25085
|
}[] | undefined;
|
|
23024
|
-
workspaces?: {
|
|
23025
|
-
name: string;
|
|
23026
|
-
workspace_id: string;
|
|
23027
|
-
is_suspended: boolean;
|
|
23028
|
-
company_name: string;
|
|
23029
|
-
is_sandbox: boolean;
|
|
23030
|
-
connect_webview_customization: {
|
|
23031
|
-
primary_button_color?: string | undefined;
|
|
23032
|
-
primary_button_text_color?: string | undefined;
|
|
23033
|
-
success_message?: string | undefined;
|
|
23034
|
-
logo_shape?: "square" | "circle" | undefined;
|
|
23035
|
-
inviter_logo_url?: string | undefined;
|
|
23036
|
-
};
|
|
23037
|
-
connect_partner_name: string | null;
|
|
23038
|
-
}[] | undefined;
|
|
23039
25086
|
user_identities?: {
|
|
23040
25087
|
display_name: string;
|
|
23041
25088
|
workspace_id: string;
|
|
@@ -23063,6 +25110,21 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
23063
25110
|
user_identity_key: string | null;
|
|
23064
25111
|
acs_user_ids: string[];
|
|
23065
25112
|
}[] | undefined;
|
|
25113
|
+
workspaces?: {
|
|
25114
|
+
name: string;
|
|
25115
|
+
workspace_id: string;
|
|
25116
|
+
is_suspended: boolean;
|
|
25117
|
+
company_name: string;
|
|
25118
|
+
is_sandbox: boolean;
|
|
25119
|
+
connect_webview_customization: {
|
|
25120
|
+
primary_button_color?: string | undefined;
|
|
25121
|
+
primary_button_text_color?: string | undefined;
|
|
25122
|
+
success_message?: string | undefined;
|
|
25123
|
+
logo_shape?: "square" | "circle" | undefined;
|
|
25124
|
+
inviter_logo_url?: string | undefined;
|
|
25125
|
+
};
|
|
25126
|
+
connect_partner_name: string | null;
|
|
25127
|
+
}[] | undefined;
|
|
23066
25128
|
}, {
|
|
23067
25129
|
batch_type: "workspaces";
|
|
23068
25130
|
spaces?: {
|
|
@@ -23789,21 +25851,6 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
23789
25851
|
room_description?: string | undefined;
|
|
23790
25852
|
} | undefined;
|
|
23791
25853
|
}[] | undefined;
|
|
23792
|
-
workspaces?: {
|
|
23793
|
-
name: string;
|
|
23794
|
-
workspace_id: string;
|
|
23795
|
-
is_suspended: boolean;
|
|
23796
|
-
company_name: string;
|
|
23797
|
-
is_sandbox: boolean;
|
|
23798
|
-
connect_webview_customization: {
|
|
23799
|
-
primary_button_color?: string | undefined;
|
|
23800
|
-
primary_button_text_color?: string | undefined;
|
|
23801
|
-
success_message?: string | undefined;
|
|
23802
|
-
logo_shape?: "square" | "circle" | undefined;
|
|
23803
|
-
inviter_logo_url?: string | undefined;
|
|
23804
|
-
};
|
|
23805
|
-
connect_partner_name: string | null;
|
|
23806
|
-
}[] | undefined;
|
|
23807
25854
|
user_identities?: {
|
|
23808
25855
|
display_name: string;
|
|
23809
25856
|
workspace_id: string;
|
|
@@ -23831,6 +25878,21 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
23831
25878
|
user_identity_key: string | null;
|
|
23832
25879
|
acs_user_ids: string[];
|
|
23833
25880
|
}[] | undefined;
|
|
25881
|
+
workspaces?: {
|
|
25882
|
+
name: string;
|
|
25883
|
+
workspace_id: string;
|
|
25884
|
+
is_suspended: boolean;
|
|
25885
|
+
company_name: string;
|
|
25886
|
+
is_sandbox: boolean;
|
|
25887
|
+
connect_webview_customization: {
|
|
25888
|
+
primary_button_color?: string | undefined;
|
|
25889
|
+
primary_button_text_color?: string | undefined;
|
|
25890
|
+
success_message?: string | undefined;
|
|
25891
|
+
logo_shape?: "square" | "circle" | undefined;
|
|
25892
|
+
inviter_logo_url?: string | undefined;
|
|
25893
|
+
};
|
|
25894
|
+
connect_partner_name: string | null;
|
|
25895
|
+
}[] | undefined;
|
|
23834
25896
|
}>;
|
|
23835
25897
|
export declare const batch: z.ZodObject<{
|
|
23836
25898
|
batch_type: z.ZodEnum<["workspaces", "access_grants", "access_methods", "spaces"]>;
|
|
@@ -29166,21 +31228,6 @@ export declare const batch: z.ZodObject<{
|
|
|
29166
31228
|
room_description?: string | undefined;
|
|
29167
31229
|
} | undefined;
|
|
29168
31230
|
}[] | undefined;
|
|
29169
|
-
workspaces?: {
|
|
29170
|
-
name: string;
|
|
29171
|
-
workspace_id: string;
|
|
29172
|
-
is_suspended: boolean;
|
|
29173
|
-
company_name: string;
|
|
29174
|
-
is_sandbox: boolean;
|
|
29175
|
-
connect_webview_customization: {
|
|
29176
|
-
primary_button_color?: string | undefined;
|
|
29177
|
-
primary_button_text_color?: string | undefined;
|
|
29178
|
-
success_message?: string | undefined;
|
|
29179
|
-
logo_shape?: "square" | "circle" | undefined;
|
|
29180
|
-
inviter_logo_url?: string | undefined;
|
|
29181
|
-
};
|
|
29182
|
-
connect_partner_name: string | null;
|
|
29183
|
-
}[] | undefined;
|
|
29184
31231
|
user_identities?: {
|
|
29185
31232
|
display_name: string;
|
|
29186
31233
|
workspace_id: string;
|
|
@@ -29208,6 +31255,21 @@ export declare const batch: z.ZodObject<{
|
|
|
29208
31255
|
user_identity_key: string | null;
|
|
29209
31256
|
acs_user_ids: string[];
|
|
29210
31257
|
}[] | undefined;
|
|
31258
|
+
workspaces?: {
|
|
31259
|
+
name: string;
|
|
31260
|
+
workspace_id: string;
|
|
31261
|
+
is_suspended: boolean;
|
|
31262
|
+
company_name: string;
|
|
31263
|
+
is_sandbox: boolean;
|
|
31264
|
+
connect_webview_customization: {
|
|
31265
|
+
primary_button_color?: string | undefined;
|
|
31266
|
+
primary_button_text_color?: string | undefined;
|
|
31267
|
+
success_message?: string | undefined;
|
|
31268
|
+
logo_shape?: "square" | "circle" | undefined;
|
|
31269
|
+
inviter_logo_url?: string | undefined;
|
|
31270
|
+
};
|
|
31271
|
+
connect_partner_name: string | null;
|
|
31272
|
+
}[] | undefined;
|
|
29211
31273
|
}, {
|
|
29212
31274
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
29213
31275
|
spaces?: {
|
|
@@ -29934,21 +31996,6 @@ export declare const batch: z.ZodObject<{
|
|
|
29934
31996
|
room_description?: string | undefined;
|
|
29935
31997
|
} | undefined;
|
|
29936
31998
|
}[] | undefined;
|
|
29937
|
-
workspaces?: {
|
|
29938
|
-
name: string;
|
|
29939
|
-
workspace_id: string;
|
|
29940
|
-
is_suspended: boolean;
|
|
29941
|
-
company_name: string;
|
|
29942
|
-
is_sandbox: boolean;
|
|
29943
|
-
connect_webview_customization: {
|
|
29944
|
-
primary_button_color?: string | undefined;
|
|
29945
|
-
primary_button_text_color?: string | undefined;
|
|
29946
|
-
success_message?: string | undefined;
|
|
29947
|
-
logo_shape?: "square" | "circle" | undefined;
|
|
29948
|
-
inviter_logo_url?: string | undefined;
|
|
29949
|
-
};
|
|
29950
|
-
connect_partner_name: string | null;
|
|
29951
|
-
}[] | undefined;
|
|
29952
31999
|
user_identities?: {
|
|
29953
32000
|
display_name: string;
|
|
29954
32001
|
workspace_id: string;
|
|
@@ -29976,6 +32023,21 @@ export declare const batch: z.ZodObject<{
|
|
|
29976
32023
|
user_identity_key: string | null;
|
|
29977
32024
|
acs_user_ids: string[];
|
|
29978
32025
|
}[] | undefined;
|
|
32026
|
+
workspaces?: {
|
|
32027
|
+
name: string;
|
|
32028
|
+
workspace_id: string;
|
|
32029
|
+
is_suspended: boolean;
|
|
32030
|
+
company_name: string;
|
|
32031
|
+
is_sandbox: boolean;
|
|
32032
|
+
connect_webview_customization: {
|
|
32033
|
+
primary_button_color?: string | undefined;
|
|
32034
|
+
primary_button_text_color?: string | undefined;
|
|
32035
|
+
success_message?: string | undefined;
|
|
32036
|
+
logo_shape?: "square" | "circle" | undefined;
|
|
32037
|
+
inviter_logo_url?: string | undefined;
|
|
32038
|
+
};
|
|
32039
|
+
connect_partner_name: string | null;
|
|
32040
|
+
}[] | undefined;
|
|
29979
32041
|
}>;
|
|
29980
32042
|
export type WorkspacesBatch = z.infer<typeof workspaces_batch>;
|
|
29981
32043
|
export type Batch = z.infer<typeof batch>;
|