@seamapi/types 1.892.0 → 1.893.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 +185 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +657 -0
- package/dist/index.cjs +185 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +31 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +31 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +162 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +20 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +50 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +31 -0
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +8 -8
- package/lib/seam/connect/models/user-identities/user-identity.js +1 -3
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.js +166 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +449 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +26 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +1 -3
- package/src/lib/seam/connect/openapi.ts +200 -0
- package/src/lib/seam/connect/route-types.ts +492 -0
package/dist/index.cjs
CHANGED
|
@@ -636,15 +636,22 @@ var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend
|
|
|
636
636
|
}).describe(
|
|
637
637
|
"Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
|
|
638
638
|
);
|
|
639
|
+
var dormakaba_sites_disconnected = common_connected_account_error.extend({
|
|
640
|
+
error_code: zod.z.literal("dormakaba_sites_disconnected").describe(error_code_description)
|
|
641
|
+
}).describe(
|
|
642
|
+
"Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support."
|
|
643
|
+
);
|
|
639
644
|
var connected_account_error = zod.z.discriminatedUnion("error_code", [
|
|
640
645
|
account_disconnected,
|
|
641
646
|
bridge_disconnected,
|
|
642
|
-
salto_ks_subscription_limit_exceeded
|
|
647
|
+
salto_ks_subscription_limit_exceeded,
|
|
648
|
+
dormakaba_sites_disconnected
|
|
643
649
|
]);
|
|
644
650
|
zod.z.object({
|
|
645
651
|
account_disconnected: account_disconnected.nullable().optional(),
|
|
646
652
|
bridge_disconnected: bridge_disconnected.nullable().optional(),
|
|
647
|
-
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional()
|
|
653
|
+
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional(),
|
|
654
|
+
dormakaba_sites_disconnected: dormakaba_sites_disconnected.nullable().optional()
|
|
648
655
|
});
|
|
649
656
|
var unknown_issue_with_connected_account = common_connected_account_warning.extend({
|
|
650
657
|
warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
|
|
@@ -705,6 +712,11 @@ var setup_required = common_connected_account_warning.extend({
|
|
|
705
712
|
}).describe(
|
|
706
713
|
"Indicates that the connected account requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup."
|
|
707
714
|
);
|
|
715
|
+
var dormakaba_sites_unapproved = common_connected_account_warning.extend({
|
|
716
|
+
warning_code: zod.z.literal("dormakaba_sites_unapproved").describe(warning_code_description)
|
|
717
|
+
}).describe(
|
|
718
|
+
"Indicates that one or more dormakaba sites associated with the connected account are not approved. Contact support@getseam.com to finish setting up your account."
|
|
719
|
+
);
|
|
708
720
|
var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
|
|
709
721
|
scheduled_maintenance_window,
|
|
710
722
|
unknown_issue_with_connected_account,
|
|
@@ -712,7 +724,8 @@ var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
712
724
|
account_reauthorization_requested,
|
|
713
725
|
being_deleted,
|
|
714
726
|
provider_service_unavailable,
|
|
715
|
-
setup_required
|
|
727
|
+
setup_required,
|
|
728
|
+
dormakaba_sites_unapproved
|
|
716
729
|
]).describe("Warning associated with the connected account.");
|
|
717
730
|
zod.z.object({
|
|
718
731
|
scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
|
|
@@ -721,7 +734,8 @@ zod.z.object({
|
|
|
721
734
|
account_reauthorization_requested: account_reauthorization_requested.nullable().optional(),
|
|
722
735
|
being_deleted: being_deleted.nullable().optional(),
|
|
723
736
|
provider_service_unavailable: provider_service_unavailable.nullable().optional(),
|
|
724
|
-
setup_required: setup_required.nullable().optional()
|
|
737
|
+
setup_required: setup_required.nullable().optional(),
|
|
738
|
+
dormakaba_sites_unapproved: dormakaba_sites_unapproved.nullable().optional()
|
|
725
739
|
});
|
|
726
740
|
var connected_account = zod.z.object({
|
|
727
741
|
connected_account_id: zod.z.string().uuid().describe("ID of the connected account."),
|
|
@@ -6965,7 +6979,7 @@ var user_identity_warnings = zod.z.discriminatedUnion("warning_code", [
|
|
|
6965
6979
|
acs_user_profile_does_not_match_user_identity
|
|
6966
6980
|
]).describe("Warnings associated with the user identity.");
|
|
6967
6981
|
zod.z.object({
|
|
6968
|
-
|
|
6982
|
+
being_deleted: user_identity_being_deleted.optional().nullable(),
|
|
6969
6983
|
acs_user_profile_does_not_match_user_identity: acs_user_profile_does_not_match_user_identity.optional().nullable()
|
|
6970
6984
|
});
|
|
6971
6985
|
var user_identity_errors = zod.z.discriminatedUnion("error_code", [user_identity_issue_with_acs_user]).describe("Errors associated with the user identity.");
|
|
@@ -8559,6 +8573,35 @@ var openapi = {
|
|
|
8559
8573
|
},
|
|
8560
8574
|
required: ["created_at", "message", "error_code"],
|
|
8561
8575
|
type: "object"
|
|
8576
|
+
},
|
|
8577
|
+
{
|
|
8578
|
+
description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
|
|
8579
|
+
properties: {
|
|
8580
|
+
created_at: {
|
|
8581
|
+
description: "Date and time at which Seam created the error.",
|
|
8582
|
+
format: "date-time",
|
|
8583
|
+
type: "string"
|
|
8584
|
+
},
|
|
8585
|
+
error_code: {
|
|
8586
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
8587
|
+
enum: ["dormakaba_sites_disconnected"],
|
|
8588
|
+
type: "string"
|
|
8589
|
+
},
|
|
8590
|
+
is_bridge_error: {
|
|
8591
|
+
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
|
|
8592
|
+
type: "boolean"
|
|
8593
|
+
},
|
|
8594
|
+
is_connected_account_error: {
|
|
8595
|
+
description: "Indicates whether the error is related specifically to the connected account.",
|
|
8596
|
+
type: "boolean"
|
|
8597
|
+
},
|
|
8598
|
+
message: {
|
|
8599
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
8600
|
+
type: "string"
|
|
8601
|
+
}
|
|
8602
|
+
},
|
|
8603
|
+
required: ["created_at", "message", "error_code"],
|
|
8604
|
+
type: "object"
|
|
8562
8605
|
}
|
|
8563
8606
|
]
|
|
8564
8607
|
},
|
|
@@ -18560,6 +18603,35 @@ var openapi = {
|
|
|
18560
18603
|
"salto_ks_metadata"
|
|
18561
18604
|
],
|
|
18562
18605
|
type: "object"
|
|
18606
|
+
},
|
|
18607
|
+
{
|
|
18608
|
+
description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
|
|
18609
|
+
properties: {
|
|
18610
|
+
created_at: {
|
|
18611
|
+
description: "Date and time at which Seam created the error.",
|
|
18612
|
+
format: "date-time",
|
|
18613
|
+
type: "string"
|
|
18614
|
+
},
|
|
18615
|
+
error_code: {
|
|
18616
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
18617
|
+
enum: ["dormakaba_sites_disconnected"],
|
|
18618
|
+
type: "string"
|
|
18619
|
+
},
|
|
18620
|
+
is_bridge_error: {
|
|
18621
|
+
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
|
|
18622
|
+
type: "boolean"
|
|
18623
|
+
},
|
|
18624
|
+
is_connected_account_error: {
|
|
18625
|
+
description: "Indicates whether the error is related specifically to the connected account.",
|
|
18626
|
+
type: "boolean"
|
|
18627
|
+
},
|
|
18628
|
+
message: {
|
|
18629
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
18630
|
+
type: "string"
|
|
18631
|
+
}
|
|
18632
|
+
},
|
|
18633
|
+
required: ["created_at", "message", "error_code"],
|
|
18634
|
+
type: "object"
|
|
18563
18635
|
}
|
|
18564
18636
|
]
|
|
18565
18637
|
},
|
|
@@ -18808,6 +18880,27 @@ var openapi = {
|
|
|
18808
18880
|
},
|
|
18809
18881
|
required: ["created_at", "message", "warning_code"],
|
|
18810
18882
|
type: "object"
|
|
18883
|
+
},
|
|
18884
|
+
{
|
|
18885
|
+
description: "Indicates that one or more dormakaba sites associated with the connected account are not approved. Contact support@getseam.com to finish setting up your account.",
|
|
18886
|
+
properties: {
|
|
18887
|
+
created_at: {
|
|
18888
|
+
description: "Date and time at which Seam created the warning.",
|
|
18889
|
+
format: "date-time",
|
|
18890
|
+
type: "string"
|
|
18891
|
+
},
|
|
18892
|
+
message: {
|
|
18893
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
18894
|
+
type: "string"
|
|
18895
|
+
},
|
|
18896
|
+
warning_code: {
|
|
18897
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
18898
|
+
enum: ["dormakaba_sites_unapproved"],
|
|
18899
|
+
type: "string"
|
|
18900
|
+
}
|
|
18901
|
+
},
|
|
18902
|
+
required: ["created_at", "message", "warning_code"],
|
|
18903
|
+
type: "object"
|
|
18811
18904
|
}
|
|
18812
18905
|
]
|
|
18813
18906
|
},
|
|
@@ -19601,6 +19694,35 @@ var openapi = {
|
|
|
19601
19694
|
},
|
|
19602
19695
|
required: ["created_at", "message", "error_code"],
|
|
19603
19696
|
type: "object"
|
|
19697
|
+
},
|
|
19698
|
+
{
|
|
19699
|
+
description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
|
|
19700
|
+
properties: {
|
|
19701
|
+
created_at: {
|
|
19702
|
+
description: "Date and time at which Seam created the error.",
|
|
19703
|
+
format: "date-time",
|
|
19704
|
+
type: "string"
|
|
19705
|
+
},
|
|
19706
|
+
error_code: {
|
|
19707
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
19708
|
+
enum: ["dormakaba_sites_disconnected"],
|
|
19709
|
+
type: "string"
|
|
19710
|
+
},
|
|
19711
|
+
is_bridge_error: {
|
|
19712
|
+
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
|
|
19713
|
+
type: "boolean"
|
|
19714
|
+
},
|
|
19715
|
+
is_connected_account_error: {
|
|
19716
|
+
description: "Indicates whether the error is related specifically to the connected account.",
|
|
19717
|
+
type: "boolean"
|
|
19718
|
+
},
|
|
19719
|
+
message: {
|
|
19720
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
19721
|
+
type: "string"
|
|
19722
|
+
}
|
|
19723
|
+
},
|
|
19724
|
+
required: ["created_at", "message", "error_code"],
|
|
19725
|
+
type: "object"
|
|
19604
19726
|
}
|
|
19605
19727
|
]
|
|
19606
19728
|
},
|
|
@@ -33841,6 +33963,35 @@ var openapi = {
|
|
|
33841
33963
|
},
|
|
33842
33964
|
required: ["created_at", "message", "error_code"],
|
|
33843
33965
|
type: "object"
|
|
33966
|
+
},
|
|
33967
|
+
{
|
|
33968
|
+
description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
|
|
33969
|
+
properties: {
|
|
33970
|
+
created_at: {
|
|
33971
|
+
description: "Date and time at which Seam created the error.",
|
|
33972
|
+
format: "date-time",
|
|
33973
|
+
type: "string"
|
|
33974
|
+
},
|
|
33975
|
+
error_code: {
|
|
33976
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33977
|
+
enum: ["dormakaba_sites_disconnected"],
|
|
33978
|
+
type: "string"
|
|
33979
|
+
},
|
|
33980
|
+
is_bridge_error: {
|
|
33981
|
+
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
|
|
33982
|
+
type: "boolean"
|
|
33983
|
+
},
|
|
33984
|
+
is_connected_account_error: {
|
|
33985
|
+
description: "Indicates whether the error is related specifically to the connected account.",
|
|
33986
|
+
type: "boolean"
|
|
33987
|
+
},
|
|
33988
|
+
message: {
|
|
33989
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
33990
|
+
type: "string"
|
|
33991
|
+
}
|
|
33992
|
+
},
|
|
33993
|
+
required: ["created_at", "message", "error_code"],
|
|
33994
|
+
type: "object"
|
|
33844
33995
|
}
|
|
33845
33996
|
]
|
|
33846
33997
|
},
|
|
@@ -36588,6 +36739,35 @@ var openapi = {
|
|
|
36588
36739
|
},
|
|
36589
36740
|
required: ["created_at", "message", "error_code"],
|
|
36590
36741
|
type: "object"
|
|
36742
|
+
},
|
|
36743
|
+
{
|
|
36744
|
+
description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
|
|
36745
|
+
properties: {
|
|
36746
|
+
created_at: {
|
|
36747
|
+
description: "Date and time at which Seam created the error.",
|
|
36748
|
+
format: "date-time",
|
|
36749
|
+
type: "string"
|
|
36750
|
+
},
|
|
36751
|
+
error_code: {
|
|
36752
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
36753
|
+
enum: ["dormakaba_sites_disconnected"],
|
|
36754
|
+
type: "string"
|
|
36755
|
+
},
|
|
36756
|
+
is_bridge_error: {
|
|
36757
|
+
description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
|
|
36758
|
+
type: "boolean"
|
|
36759
|
+
},
|
|
36760
|
+
is_connected_account_error: {
|
|
36761
|
+
description: "Indicates whether the error is related specifically to the connected account.",
|
|
36762
|
+
type: "boolean"
|
|
36763
|
+
},
|
|
36764
|
+
message: {
|
|
36765
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
36766
|
+
type: "string"
|
|
36767
|
+
}
|
|
36768
|
+
},
|
|
36769
|
+
required: ["created_at", "message", "error_code"],
|
|
36770
|
+
type: "object"
|
|
36591
36771
|
}
|
|
36592
36772
|
]
|
|
36593
36773
|
},
|