@seamapi/types 1.557.0 → 1.559.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +2 -153
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +13 -788
- package/dist/index.cjs +2 -153
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -31
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -31
- package/lib/seam/connect/models/batch.d.ts +10 -612
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +0 -104
- package/lib/seam/connect/models/connected-accounts/connected-account.js +0 -9
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +0 -50
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -31
- package/lib/seam/connect/models/events/connected-accounts.d.ts +6 -6
- package/lib/seam/connect/models/events/connected-accounts.js +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/openapi.js +0 -146
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -434
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +0 -10
- package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +0 -176
- package/src/lib/seam/connect/route-types.ts +5 -473
package/dist/connect.cjs
CHANGED
|
@@ -580,9 +580,6 @@ var common_connected_account_warning = zod.z.object({
|
|
|
580
580
|
var account_disconnected = common_connected_account_error.extend({
|
|
581
581
|
error_code: zod.z.literal("account_disconnected").describe(error_code_description)
|
|
582
582
|
}).describe("Indicates that the account is disconnected.");
|
|
583
|
-
var invalid_credentials = common_connected_account_error.extend({
|
|
584
|
-
error_code: zod.z.literal("invalid_credentials").describe(error_code_description)
|
|
585
|
-
}).describe("Indicates that the credentials provided were invalid.");
|
|
586
583
|
var bridge_disconnected = common_connected_account_error.extend({
|
|
587
584
|
error_code: zod.z.literal("bridge_disconnected").describe(error_code_description)
|
|
588
585
|
}).describe(
|
|
@@ -619,13 +616,11 @@ var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend
|
|
|
619
616
|
);
|
|
620
617
|
var connected_account_error = zod.z.discriminatedUnion("error_code", [
|
|
621
618
|
account_disconnected,
|
|
622
|
-
invalid_credentials,
|
|
623
619
|
bridge_disconnected,
|
|
624
620
|
salto_ks_subscription_limit_exceeded
|
|
625
621
|
]);
|
|
626
622
|
zod.z.object({
|
|
627
623
|
account_disconnected: account_disconnected.nullable().optional(),
|
|
628
|
-
invalid_credentials: invalid_credentials.nullable().optional(),
|
|
629
624
|
bridge_disconnected: bridge_disconnected.nullable().optional(),
|
|
630
625
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional()
|
|
631
626
|
});
|
|
@@ -4710,7 +4705,7 @@ var connect_webview_id = zod.z.string().uuid().describe(
|
|
|
4710
4705
|
var connected_account_connected_event = connected_account_event.extend(
|
|
4711
4706
|
{
|
|
4712
4707
|
event_type: zod.z.literal("connected_account.connected"),
|
|
4713
|
-
connect_webview_id,
|
|
4708
|
+
connect_webview_id: connect_webview_id.optional(),
|
|
4714
4709
|
customer_key: zod.z.string().optional().describe(
|
|
4715
4710
|
"The customer key associated with this connected account, if any."
|
|
4716
4711
|
)
|
|
@@ -6815,35 +6810,6 @@ var openapi_default = {
|
|
|
6815
6810
|
],
|
|
6816
6811
|
type: "object"
|
|
6817
6812
|
},
|
|
6818
|
-
{
|
|
6819
|
-
description: "Indicates that the credentials provided were invalid.",
|
|
6820
|
-
properties: {
|
|
6821
|
-
created_at: {
|
|
6822
|
-
description: "Date and time at which Seam created the error.",
|
|
6823
|
-
format: "date-time",
|
|
6824
|
-
type: "string"
|
|
6825
|
-
},
|
|
6826
|
-
error_code: {
|
|
6827
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6828
|
-
enum: ["invalid_credentials"],
|
|
6829
|
-
type: "string"
|
|
6830
|
-
},
|
|
6831
|
-
is_bridge_error: {
|
|
6832
|
-
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
|
|
6833
|
-
type: "boolean"
|
|
6834
|
-
},
|
|
6835
|
-
is_connected_account_error: {
|
|
6836
|
-
description: "Indicates whether the error is related specifically to the connected account.",
|
|
6837
|
-
type: "boolean"
|
|
6838
|
-
},
|
|
6839
|
-
message: {
|
|
6840
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
6841
|
-
type: "string"
|
|
6842
|
-
}
|
|
6843
|
-
},
|
|
6844
|
-
required: ["created_at", "message", "error_code"],
|
|
6845
|
-
type: "object"
|
|
6846
|
-
},
|
|
6847
6813
|
{
|
|
6848
6814
|
description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
|
|
6849
6815
|
properties: {
|
|
@@ -13622,35 +13588,6 @@ var openapi_default = {
|
|
|
13622
13588
|
required: ["created_at", "message", "error_code"],
|
|
13623
13589
|
type: "object"
|
|
13624
13590
|
},
|
|
13625
|
-
{
|
|
13626
|
-
description: "Indicates that the credentials provided were invalid.",
|
|
13627
|
-
properties: {
|
|
13628
|
-
created_at: {
|
|
13629
|
-
description: "Date and time at which Seam created the error.",
|
|
13630
|
-
format: "date-time",
|
|
13631
|
-
type: "string"
|
|
13632
|
-
},
|
|
13633
|
-
error_code: {
|
|
13634
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
13635
|
-
enum: ["invalid_credentials"],
|
|
13636
|
-
type: "string"
|
|
13637
|
-
},
|
|
13638
|
-
is_bridge_error: {
|
|
13639
|
-
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
|
|
13640
|
-
type: "boolean"
|
|
13641
|
-
},
|
|
13642
|
-
is_connected_account_error: {
|
|
13643
|
-
description: "Indicates whether the error is related specifically to the connected account.",
|
|
13644
|
-
type: "boolean"
|
|
13645
|
-
},
|
|
13646
|
-
message: {
|
|
13647
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
13648
|
-
type: "string"
|
|
13649
|
-
}
|
|
13650
|
-
},
|
|
13651
|
-
required: ["created_at", "message", "error_code"],
|
|
13652
|
-
type: "object"
|
|
13653
|
-
},
|
|
13654
13591
|
{
|
|
13655
13592
|
description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
|
|
13656
13593
|
properties: {
|
|
@@ -14521,35 +14458,6 @@ var openapi_default = {
|
|
|
14521
14458
|
],
|
|
14522
14459
|
type: "object"
|
|
14523
14460
|
},
|
|
14524
|
-
{
|
|
14525
|
-
description: "Indicates that the credentials provided were invalid.",
|
|
14526
|
-
properties: {
|
|
14527
|
-
created_at: {
|
|
14528
|
-
description: "Date and time at which Seam created the error.",
|
|
14529
|
-
format: "date-time",
|
|
14530
|
-
type: "string"
|
|
14531
|
-
},
|
|
14532
|
-
error_code: {
|
|
14533
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
14534
|
-
enum: ["invalid_credentials"],
|
|
14535
|
-
type: "string"
|
|
14536
|
-
},
|
|
14537
|
-
is_bridge_error: {
|
|
14538
|
-
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
|
|
14539
|
-
type: "boolean"
|
|
14540
|
-
},
|
|
14541
|
-
is_connected_account_error: {
|
|
14542
|
-
description: "Indicates whether the error is related specifically to the connected account.",
|
|
14543
|
-
type: "boolean"
|
|
14544
|
-
},
|
|
14545
|
-
message: {
|
|
14546
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
14547
|
-
type: "string"
|
|
14548
|
-
}
|
|
14549
|
-
},
|
|
14550
|
-
required: ["created_at", "message", "error_code"],
|
|
14551
|
-
type: "object"
|
|
14552
|
-
},
|
|
14553
14461
|
{
|
|
14554
14462
|
description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
|
|
14555
14463
|
properties: {
|
|
@@ -19987,8 +19895,7 @@ var openapi_default = {
|
|
|
19987
19895
|
"created_at",
|
|
19988
19896
|
"occurred_at",
|
|
19989
19897
|
"connected_account_id",
|
|
19990
|
-
"event_type"
|
|
19991
|
-
"connect_webview_id"
|
|
19898
|
+
"event_type"
|
|
19992
19899
|
],
|
|
19993
19900
|
type: "object",
|
|
19994
19901
|
"x-route-path": "/connected_accounts"
|
|
@@ -25660,35 +25567,6 @@ var openapi_default = {
|
|
|
25660
25567
|
],
|
|
25661
25568
|
type: "object"
|
|
25662
25569
|
},
|
|
25663
|
-
{
|
|
25664
|
-
description: "Indicates that the credentials provided were invalid.",
|
|
25665
|
-
properties: {
|
|
25666
|
-
created_at: {
|
|
25667
|
-
description: "Date and time at which Seam created the error.",
|
|
25668
|
-
format: "date-time",
|
|
25669
|
-
type: "string"
|
|
25670
|
-
},
|
|
25671
|
-
error_code: {
|
|
25672
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
25673
|
-
enum: ["invalid_credentials"],
|
|
25674
|
-
type: "string"
|
|
25675
|
-
},
|
|
25676
|
-
is_bridge_error: {
|
|
25677
|
-
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
|
|
25678
|
-
type: "boolean"
|
|
25679
|
-
},
|
|
25680
|
-
is_connected_account_error: {
|
|
25681
|
-
description: "Indicates whether the error is related specifically to the connected account.",
|
|
25682
|
-
type: "boolean"
|
|
25683
|
-
},
|
|
25684
|
-
message: {
|
|
25685
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
25686
|
-
type: "string"
|
|
25687
|
-
}
|
|
25688
|
-
},
|
|
25689
|
-
required: ["created_at", "message", "error_code"],
|
|
25690
|
-
type: "object"
|
|
25691
|
-
},
|
|
25692
25570
|
{
|
|
25693
25571
|
description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
|
|
25694
25572
|
properties: {
|
|
@@ -27732,35 +27610,6 @@ var openapi_default = {
|
|
|
27732
27610
|
],
|
|
27733
27611
|
type: "object"
|
|
27734
27612
|
},
|
|
27735
|
-
{
|
|
27736
|
-
description: "Indicates that the credentials provided were invalid.",
|
|
27737
|
-
properties: {
|
|
27738
|
-
created_at: {
|
|
27739
|
-
description: "Date and time at which Seam created the error.",
|
|
27740
|
-
format: "date-time",
|
|
27741
|
-
type: "string"
|
|
27742
|
-
},
|
|
27743
|
-
error_code: {
|
|
27744
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
27745
|
-
enum: ["invalid_credentials"],
|
|
27746
|
-
type: "string"
|
|
27747
|
-
},
|
|
27748
|
-
is_bridge_error: {
|
|
27749
|
-
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
|
|
27750
|
-
type: "boolean"
|
|
27751
|
-
},
|
|
27752
|
-
is_connected_account_error: {
|
|
27753
|
-
description: "Indicates whether the error is related specifically to the connected account.",
|
|
27754
|
-
type: "boolean"
|
|
27755
|
-
},
|
|
27756
|
-
message: {
|
|
27757
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
27758
|
-
type: "string"
|
|
27759
|
-
}
|
|
27760
|
-
},
|
|
27761
|
-
required: ["created_at", "message", "error_code"],
|
|
27762
|
-
type: "object"
|
|
27763
|
-
},
|
|
27764
27613
|
{
|
|
27765
27614
|
description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
|
|
27766
27615
|
properties: {
|