@seamapi/types 1.358.0 → 1.359.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 +467 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2286 -812
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
- package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
- package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
- package/lib/seam/connect/models/devices/device.d.ts +146 -46
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +128 -128
- package/lib/seam/connect/models/events/seam-event.d.ts +114 -114
- package/lib/seam/connect/openapi.d.ts +366 -4
- package/lib/seam/connect/openapi.js +415 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +567 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
- package/src/lib/seam/connect/openapi.ts +445 -2
- package/src/lib/seam/connect/route-types.ts +597 -0
package/dist/connect.cjs
CHANGED
|
@@ -56,12 +56,14 @@ var custom_metadata = zod.z.record(
|
|
|
56
56
|
|
|
57
57
|
// src/lib/seam/connect/models/connected-accounts/connected-account.ts
|
|
58
58
|
var common_connected_account_error = zod.z.object({
|
|
59
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
|
|
59
60
|
message: zod.z.string(),
|
|
60
61
|
is_connected_account_error: zod.z.literal(true)
|
|
61
62
|
});
|
|
62
63
|
var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
63
64
|
var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
64
65
|
var common_connected_account_warning = zod.z.object({
|
|
66
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
65
67
|
message: zod.z.string()
|
|
66
68
|
});
|
|
67
69
|
var account_disconnected = common_connected_account_error.extend({
|
|
@@ -70,10 +72,31 @@ var account_disconnected = common_connected_account_error.extend({
|
|
|
70
72
|
var invalid_credentials = common_connected_account_error.extend({
|
|
71
73
|
error_code: zod.z.literal("invalid_credentials").describe(error_code_description)
|
|
72
74
|
}).describe("Credentials provided were invalid.");
|
|
75
|
+
var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend({
|
|
76
|
+
error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description),
|
|
77
|
+
salto_ks_metadata: zod.z.object({
|
|
78
|
+
sites: zod.z.array(
|
|
79
|
+
zod.z.object({
|
|
80
|
+
site_id: zod.z.string(),
|
|
81
|
+
site_name: zod.z.string(),
|
|
82
|
+
subscribed_site_user_count: zod.z.number().int().min(0),
|
|
83
|
+
site_user_subscription_limit: zod.z.number().int().min(0)
|
|
84
|
+
})
|
|
85
|
+
)
|
|
86
|
+
})
|
|
87
|
+
}).describe(
|
|
88
|
+
"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."
|
|
89
|
+
);
|
|
73
90
|
var connected_account_error = zod.z.discriminatedUnion("error_code", [
|
|
74
91
|
account_disconnected,
|
|
75
|
-
invalid_credentials
|
|
92
|
+
invalid_credentials,
|
|
93
|
+
salto_ks_subscription_limit_exceeded
|
|
76
94
|
]);
|
|
95
|
+
zod.z.object({
|
|
96
|
+
account_disconnected: account_disconnected.nullable().optional(),
|
|
97
|
+
invalid_credentials: invalid_credentials.nullable().optional(),
|
|
98
|
+
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional()
|
|
99
|
+
});
|
|
77
100
|
var unknown_issue_with_connected_account = common_connected_account_warning.extend({
|
|
78
101
|
warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
|
|
79
102
|
}).describe(
|
|
@@ -82,10 +105,31 @@ var unknown_issue_with_connected_account = common_connected_account_warning.exte
|
|
|
82
105
|
var scheduled_maintenance_window = common_connected_account_warning.extend({
|
|
83
106
|
warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description)
|
|
84
107
|
}).describe("Scheduled downtime for account planned.");
|
|
108
|
+
var salto_ks_subscription_limit_almost_reached = common_connected_account_warning.extend({
|
|
109
|
+
warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description),
|
|
110
|
+
salto_ks_metadata: zod.z.object({
|
|
111
|
+
sites: zod.z.array(
|
|
112
|
+
zod.z.object({
|
|
113
|
+
site_id: zod.z.string(),
|
|
114
|
+
site_name: zod.z.string(),
|
|
115
|
+
site_user_subscription_limit: zod.z.number().int().min(0),
|
|
116
|
+
subscribed_site_user_count: zod.z.number().int().min(0)
|
|
117
|
+
})
|
|
118
|
+
)
|
|
119
|
+
})
|
|
120
|
+
}).describe(
|
|
121
|
+
"Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this."
|
|
122
|
+
);
|
|
85
123
|
var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
|
|
86
124
|
scheduled_maintenance_window,
|
|
87
|
-
unknown_issue_with_connected_account
|
|
125
|
+
unknown_issue_with_connected_account,
|
|
126
|
+
salto_ks_subscription_limit_almost_reached
|
|
88
127
|
]).describe("Warning associated with the `connected_account`.");
|
|
128
|
+
zod.z.object({
|
|
129
|
+
scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
|
|
130
|
+
unknown_issue_with_connected_account: unknown_issue_with_connected_account.nullable().optional(),
|
|
131
|
+
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional()
|
|
132
|
+
});
|
|
89
133
|
var connected_account = zod.z.object({
|
|
90
134
|
connected_account_id: zod.z.string().uuid().optional(),
|
|
91
135
|
created_at: zod.z.string().datetime().optional(),
|
|
@@ -1866,7 +1910,7 @@ var visionline_instance_unreachable = common_acs_system_error.extend({
|
|
|
1866
1910
|
}).describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
|
|
1867
1911
|
For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
|
|
1868
1912
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
|
|
1869
|
-
var
|
|
1913
|
+
var salto_ks_subscription_limit_exceeded2 = common_acs_system_error.extend({
|
|
1870
1914
|
error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description5)
|
|
1871
1915
|
}).describe(
|
|
1872
1916
|
"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."
|
|
@@ -1889,7 +1933,7 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
|
|
|
1889
1933
|
var acs_system_error = zod.z.discriminatedUnion("error_code", [
|
|
1890
1934
|
seam_bridge_disconnected,
|
|
1891
1935
|
visionline_instance_unreachable,
|
|
1892
|
-
|
|
1936
|
+
salto_ks_subscription_limit_exceeded2,
|
|
1893
1937
|
acs_system_disconnected,
|
|
1894
1938
|
account_disconnected2,
|
|
1895
1939
|
salto_ks_certification_expired
|
|
@@ -1897,7 +1941,7 @@ var acs_system_error = zod.z.discriminatedUnion("error_code", [
|
|
|
1897
1941
|
zod.z.object({
|
|
1898
1942
|
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
1899
1943
|
visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
|
|
1900
|
-
salto_ks_subscription_limit_exceeded:
|
|
1944
|
+
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded2.optional().nullable(),
|
|
1901
1945
|
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
1902
1946
|
account_disconnected: account_disconnected2.optional().nullable(),
|
|
1903
1947
|
salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
|
|
@@ -1908,7 +1952,7 @@ var common_acs_system_warning = zod.z.object({
|
|
|
1908
1952
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
1909
1953
|
)
|
|
1910
1954
|
});
|
|
1911
|
-
var
|
|
1955
|
+
var salto_ks_subscription_limit_almost_reached2 = common_acs_system_warning.extend({
|
|
1912
1956
|
warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(
|
|
1913
1957
|
"Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this."
|
|
1914
1958
|
)
|
|
@@ -1920,11 +1964,11 @@ var time_zone_does_not_match_location = common_acs_system_warning.extend({
|
|
|
1920
1964
|
misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
|
|
1921
1965
|
});
|
|
1922
1966
|
var acs_system_warning = zod.z.discriminatedUnion("warning_code", [
|
|
1923
|
-
|
|
1967
|
+
salto_ks_subscription_limit_almost_reached2,
|
|
1924
1968
|
time_zone_does_not_match_location
|
|
1925
1969
|
]).describe("Warning associated with the `acs_system`.");
|
|
1926
1970
|
zod.z.object({
|
|
1927
|
-
salto_ks_subscription_limit_almost_reached:
|
|
1971
|
+
salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached2.optional().nullable(),
|
|
1928
1972
|
time_zone_does_not_match_location: time_zone_does_not_match_location.optional().nullable()
|
|
1929
1973
|
});
|
|
1930
1974
|
var acs_system = zod.z.object({
|
|
@@ -4116,6 +4160,11 @@ var openapi_default = {
|
|
|
4116
4160
|
{
|
|
4117
4161
|
description: "Account is disconnected.",
|
|
4118
4162
|
properties: {
|
|
4163
|
+
created_at: {
|
|
4164
|
+
description: "Date and time at which Seam created the error.",
|
|
4165
|
+
format: "date-time",
|
|
4166
|
+
type: "string"
|
|
4167
|
+
},
|
|
4119
4168
|
error_code: {
|
|
4120
4169
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
4121
4170
|
enum: ["account_disconnected"],
|
|
@@ -4128,6 +4177,7 @@ var openapi_default = {
|
|
|
4128
4177
|
message: { type: "string" }
|
|
4129
4178
|
},
|
|
4130
4179
|
required: [
|
|
4180
|
+
"created_at",
|
|
4131
4181
|
"message",
|
|
4132
4182
|
"is_connected_account_error",
|
|
4133
4183
|
"error_code"
|
|
@@ -4137,6 +4187,11 @@ var openapi_default = {
|
|
|
4137
4187
|
{
|
|
4138
4188
|
description: "Credentials provided were invalid.",
|
|
4139
4189
|
properties: {
|
|
4190
|
+
created_at: {
|
|
4191
|
+
description: "Date and time at which Seam created the error.",
|
|
4192
|
+
format: "date-time",
|
|
4193
|
+
type: "string"
|
|
4194
|
+
},
|
|
4140
4195
|
error_code: {
|
|
4141
4196
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
4142
4197
|
enum: ["invalid_credentials"],
|
|
@@ -4149,11 +4204,70 @@ var openapi_default = {
|
|
|
4149
4204
|
message: { type: "string" }
|
|
4150
4205
|
},
|
|
4151
4206
|
required: [
|
|
4207
|
+
"created_at",
|
|
4152
4208
|
"message",
|
|
4153
4209
|
"is_connected_account_error",
|
|
4154
4210
|
"error_code"
|
|
4155
4211
|
],
|
|
4156
4212
|
type: "object"
|
|
4213
|
+
},
|
|
4214
|
+
{
|
|
4215
|
+
description: "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.",
|
|
4216
|
+
properties: {
|
|
4217
|
+
created_at: {
|
|
4218
|
+
description: "Date and time at which Seam created the error.",
|
|
4219
|
+
format: "date-time",
|
|
4220
|
+
type: "string"
|
|
4221
|
+
},
|
|
4222
|
+
error_code: {
|
|
4223
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
4224
|
+
enum: ["salto_ks_subscription_limit_exceeded"],
|
|
4225
|
+
type: "string"
|
|
4226
|
+
},
|
|
4227
|
+
is_connected_account_error: {
|
|
4228
|
+
enum: [true],
|
|
4229
|
+
type: "boolean"
|
|
4230
|
+
},
|
|
4231
|
+
message: { type: "string" },
|
|
4232
|
+
salto_ks_metadata: {
|
|
4233
|
+
properties: {
|
|
4234
|
+
sites: {
|
|
4235
|
+
items: {
|
|
4236
|
+
properties: {
|
|
4237
|
+
site_id: { type: "string" },
|
|
4238
|
+
site_name: { type: "string" },
|
|
4239
|
+
site_user_subscription_limit: {
|
|
4240
|
+
minimum: 0,
|
|
4241
|
+
type: "integer"
|
|
4242
|
+
},
|
|
4243
|
+
subscribed_site_user_count: {
|
|
4244
|
+
minimum: 0,
|
|
4245
|
+
type: "integer"
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
required: [
|
|
4249
|
+
"site_id",
|
|
4250
|
+
"site_name",
|
|
4251
|
+
"subscribed_site_user_count",
|
|
4252
|
+
"site_user_subscription_limit"
|
|
4253
|
+
],
|
|
4254
|
+
type: "object"
|
|
4255
|
+
},
|
|
4256
|
+
type: "array"
|
|
4257
|
+
}
|
|
4258
|
+
},
|
|
4259
|
+
required: ["sites"],
|
|
4260
|
+
type: "object"
|
|
4261
|
+
}
|
|
4262
|
+
},
|
|
4263
|
+
required: [
|
|
4264
|
+
"created_at",
|
|
4265
|
+
"message",
|
|
4266
|
+
"is_connected_account_error",
|
|
4267
|
+
"error_code",
|
|
4268
|
+
"salto_ks_metadata"
|
|
4269
|
+
],
|
|
4270
|
+
type: "object"
|
|
4157
4271
|
}
|
|
4158
4272
|
]
|
|
4159
4273
|
},
|
|
@@ -8502,6 +8616,11 @@ var openapi_default = {
|
|
|
8502
8616
|
{
|
|
8503
8617
|
description: "Account is disconnected.",
|
|
8504
8618
|
properties: {
|
|
8619
|
+
created_at: {
|
|
8620
|
+
description: "Date and time at which Seam created the error.",
|
|
8621
|
+
format: "date-time",
|
|
8622
|
+
type: "string"
|
|
8623
|
+
},
|
|
8505
8624
|
error_code: {
|
|
8506
8625
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
8507
8626
|
enum: ["account_disconnected"],
|
|
@@ -8514,6 +8633,7 @@ var openapi_default = {
|
|
|
8514
8633
|
message: { type: "string" }
|
|
8515
8634
|
},
|
|
8516
8635
|
required: [
|
|
8636
|
+
"created_at",
|
|
8517
8637
|
"message",
|
|
8518
8638
|
"is_connected_account_error",
|
|
8519
8639
|
"error_code"
|
|
@@ -8523,6 +8643,11 @@ var openapi_default = {
|
|
|
8523
8643
|
{
|
|
8524
8644
|
description: "Credentials provided were invalid.",
|
|
8525
8645
|
properties: {
|
|
8646
|
+
created_at: {
|
|
8647
|
+
description: "Date and time at which Seam created the error.",
|
|
8648
|
+
format: "date-time",
|
|
8649
|
+
type: "string"
|
|
8650
|
+
},
|
|
8526
8651
|
error_code: {
|
|
8527
8652
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
8528
8653
|
enum: ["invalid_credentials"],
|
|
@@ -8535,11 +8660,70 @@ var openapi_default = {
|
|
|
8535
8660
|
message: { type: "string" }
|
|
8536
8661
|
},
|
|
8537
8662
|
required: [
|
|
8663
|
+
"created_at",
|
|
8538
8664
|
"message",
|
|
8539
8665
|
"is_connected_account_error",
|
|
8540
8666
|
"error_code"
|
|
8541
8667
|
],
|
|
8542
8668
|
type: "object"
|
|
8669
|
+
},
|
|
8670
|
+
{
|
|
8671
|
+
description: "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.",
|
|
8672
|
+
properties: {
|
|
8673
|
+
created_at: {
|
|
8674
|
+
description: "Date and time at which Seam created the error.",
|
|
8675
|
+
format: "date-time",
|
|
8676
|
+
type: "string"
|
|
8677
|
+
},
|
|
8678
|
+
error_code: {
|
|
8679
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
8680
|
+
enum: ["salto_ks_subscription_limit_exceeded"],
|
|
8681
|
+
type: "string"
|
|
8682
|
+
},
|
|
8683
|
+
is_connected_account_error: {
|
|
8684
|
+
enum: [true],
|
|
8685
|
+
type: "boolean"
|
|
8686
|
+
},
|
|
8687
|
+
message: { type: "string" },
|
|
8688
|
+
salto_ks_metadata: {
|
|
8689
|
+
properties: {
|
|
8690
|
+
sites: {
|
|
8691
|
+
items: {
|
|
8692
|
+
properties: {
|
|
8693
|
+
site_id: { type: "string" },
|
|
8694
|
+
site_name: { type: "string" },
|
|
8695
|
+
site_user_subscription_limit: {
|
|
8696
|
+
minimum: 0,
|
|
8697
|
+
type: "integer"
|
|
8698
|
+
},
|
|
8699
|
+
subscribed_site_user_count: {
|
|
8700
|
+
minimum: 0,
|
|
8701
|
+
type: "integer"
|
|
8702
|
+
}
|
|
8703
|
+
},
|
|
8704
|
+
required: [
|
|
8705
|
+
"site_id",
|
|
8706
|
+
"site_name",
|
|
8707
|
+
"subscribed_site_user_count",
|
|
8708
|
+
"site_user_subscription_limit"
|
|
8709
|
+
],
|
|
8710
|
+
type: "object"
|
|
8711
|
+
},
|
|
8712
|
+
type: "array"
|
|
8713
|
+
}
|
|
8714
|
+
},
|
|
8715
|
+
required: ["sites"],
|
|
8716
|
+
type: "object"
|
|
8717
|
+
}
|
|
8718
|
+
},
|
|
8719
|
+
required: [
|
|
8720
|
+
"created_at",
|
|
8721
|
+
"message",
|
|
8722
|
+
"is_connected_account_error",
|
|
8723
|
+
"error_code",
|
|
8724
|
+
"salto_ks_metadata"
|
|
8725
|
+
],
|
|
8726
|
+
type: "object"
|
|
8543
8727
|
}
|
|
8544
8728
|
]
|
|
8545
8729
|
},
|
|
@@ -8563,6 +8747,11 @@ var openapi_default = {
|
|
|
8563
8747
|
{
|
|
8564
8748
|
description: "Scheduled downtime for account planned.",
|
|
8565
8749
|
properties: {
|
|
8750
|
+
created_at: {
|
|
8751
|
+
description: "Date and time at which Seam created the warning.",
|
|
8752
|
+
format: "date-time",
|
|
8753
|
+
type: "string"
|
|
8754
|
+
},
|
|
8566
8755
|
message: { type: "string" },
|
|
8567
8756
|
warning_code: {
|
|
8568
8757
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
@@ -8570,12 +8759,17 @@ var openapi_default = {
|
|
|
8570
8759
|
type: "string"
|
|
8571
8760
|
}
|
|
8572
8761
|
},
|
|
8573
|
-
required: ["message", "warning_code"],
|
|
8762
|
+
required: ["created_at", "message", "warning_code"],
|
|
8574
8763
|
type: "object"
|
|
8575
8764
|
},
|
|
8576
8765
|
{
|
|
8577
8766
|
description: "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.",
|
|
8578
8767
|
properties: {
|
|
8768
|
+
created_at: {
|
|
8769
|
+
description: "Date and time at which Seam created the warning.",
|
|
8770
|
+
format: "date-time",
|
|
8771
|
+
type: "string"
|
|
8772
|
+
},
|
|
8579
8773
|
message: { type: "string" },
|
|
8580
8774
|
warning_code: {
|
|
8581
8775
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
@@ -8583,7 +8777,60 @@ var openapi_default = {
|
|
|
8583
8777
|
type: "string"
|
|
8584
8778
|
}
|
|
8585
8779
|
},
|
|
8586
|
-
required: ["message", "warning_code"],
|
|
8780
|
+
required: ["created_at", "message", "warning_code"],
|
|
8781
|
+
type: "object"
|
|
8782
|
+
},
|
|
8783
|
+
{
|
|
8784
|
+
description: "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.",
|
|
8785
|
+
properties: {
|
|
8786
|
+
created_at: {
|
|
8787
|
+
description: "Date and time at which Seam created the warning.",
|
|
8788
|
+
format: "date-time",
|
|
8789
|
+
type: "string"
|
|
8790
|
+
},
|
|
8791
|
+
message: { type: "string" },
|
|
8792
|
+
salto_ks_metadata: {
|
|
8793
|
+
properties: {
|
|
8794
|
+
sites: {
|
|
8795
|
+
items: {
|
|
8796
|
+
properties: {
|
|
8797
|
+
site_id: { type: "string" },
|
|
8798
|
+
site_name: { type: "string" },
|
|
8799
|
+
site_user_subscription_limit: {
|
|
8800
|
+
minimum: 0,
|
|
8801
|
+
type: "integer"
|
|
8802
|
+
},
|
|
8803
|
+
subscribed_site_user_count: {
|
|
8804
|
+
minimum: 0,
|
|
8805
|
+
type: "integer"
|
|
8806
|
+
}
|
|
8807
|
+
},
|
|
8808
|
+
required: [
|
|
8809
|
+
"site_id",
|
|
8810
|
+
"site_name",
|
|
8811
|
+
"site_user_subscription_limit",
|
|
8812
|
+
"subscribed_site_user_count"
|
|
8813
|
+
],
|
|
8814
|
+
type: "object"
|
|
8815
|
+
},
|
|
8816
|
+
type: "array"
|
|
8817
|
+
}
|
|
8818
|
+
},
|
|
8819
|
+
required: ["sites"],
|
|
8820
|
+
type: "object"
|
|
8821
|
+
},
|
|
8822
|
+
warning_code: {
|
|
8823
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8824
|
+
enum: ["salto_ks_subscription_limit_almost_reached"],
|
|
8825
|
+
type: "string"
|
|
8826
|
+
}
|
|
8827
|
+
},
|
|
8828
|
+
required: [
|
|
8829
|
+
"created_at",
|
|
8830
|
+
"message",
|
|
8831
|
+
"warning_code",
|
|
8832
|
+
"salto_ks_metadata"
|
|
8833
|
+
],
|
|
8587
8834
|
type: "object"
|
|
8588
8835
|
}
|
|
8589
8836
|
]
|
|
@@ -8885,6 +9132,11 @@ var openapi_default = {
|
|
|
8885
9132
|
{
|
|
8886
9133
|
description: "Account is disconnected.",
|
|
8887
9134
|
properties: {
|
|
9135
|
+
created_at: {
|
|
9136
|
+
description: "Date and time at which Seam created the error.",
|
|
9137
|
+
format: "date-time",
|
|
9138
|
+
type: "string"
|
|
9139
|
+
},
|
|
8888
9140
|
error_code: {
|
|
8889
9141
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
8890
9142
|
enum: ["account_disconnected"],
|
|
@@ -8897,6 +9149,7 @@ var openapi_default = {
|
|
|
8897
9149
|
message: { type: "string" }
|
|
8898
9150
|
},
|
|
8899
9151
|
required: [
|
|
9152
|
+
"created_at",
|
|
8900
9153
|
"message",
|
|
8901
9154
|
"is_connected_account_error",
|
|
8902
9155
|
"error_code"
|
|
@@ -8906,6 +9159,11 @@ var openapi_default = {
|
|
|
8906
9159
|
{
|
|
8907
9160
|
description: "Credentials provided were invalid.",
|
|
8908
9161
|
properties: {
|
|
9162
|
+
created_at: {
|
|
9163
|
+
description: "Date and time at which Seam created the error.",
|
|
9164
|
+
format: "date-time",
|
|
9165
|
+
type: "string"
|
|
9166
|
+
},
|
|
8909
9167
|
error_code: {
|
|
8910
9168
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
8911
9169
|
enum: ["invalid_credentials"],
|
|
@@ -8918,11 +9176,70 @@ var openapi_default = {
|
|
|
8918
9176
|
message: { type: "string" }
|
|
8919
9177
|
},
|
|
8920
9178
|
required: [
|
|
9179
|
+
"created_at",
|
|
8921
9180
|
"message",
|
|
8922
9181
|
"is_connected_account_error",
|
|
8923
9182
|
"error_code"
|
|
8924
9183
|
],
|
|
8925
9184
|
type: "object"
|
|
9185
|
+
},
|
|
9186
|
+
{
|
|
9187
|
+
description: "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.",
|
|
9188
|
+
properties: {
|
|
9189
|
+
created_at: {
|
|
9190
|
+
description: "Date and time at which Seam created the error.",
|
|
9191
|
+
format: "date-time",
|
|
9192
|
+
type: "string"
|
|
9193
|
+
},
|
|
9194
|
+
error_code: {
|
|
9195
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
9196
|
+
enum: ["salto_ks_subscription_limit_exceeded"],
|
|
9197
|
+
type: "string"
|
|
9198
|
+
},
|
|
9199
|
+
is_connected_account_error: {
|
|
9200
|
+
enum: [true],
|
|
9201
|
+
type: "boolean"
|
|
9202
|
+
},
|
|
9203
|
+
message: { type: "string" },
|
|
9204
|
+
salto_ks_metadata: {
|
|
9205
|
+
properties: {
|
|
9206
|
+
sites: {
|
|
9207
|
+
items: {
|
|
9208
|
+
properties: {
|
|
9209
|
+
site_id: { type: "string" },
|
|
9210
|
+
site_name: { type: "string" },
|
|
9211
|
+
site_user_subscription_limit: {
|
|
9212
|
+
minimum: 0,
|
|
9213
|
+
type: "integer"
|
|
9214
|
+
},
|
|
9215
|
+
subscribed_site_user_count: {
|
|
9216
|
+
minimum: 0,
|
|
9217
|
+
type: "integer"
|
|
9218
|
+
}
|
|
9219
|
+
},
|
|
9220
|
+
required: [
|
|
9221
|
+
"site_id",
|
|
9222
|
+
"site_name",
|
|
9223
|
+
"subscribed_site_user_count",
|
|
9224
|
+
"site_user_subscription_limit"
|
|
9225
|
+
],
|
|
9226
|
+
type: "object"
|
|
9227
|
+
},
|
|
9228
|
+
type: "array"
|
|
9229
|
+
}
|
|
9230
|
+
},
|
|
9231
|
+
required: ["sites"],
|
|
9232
|
+
type: "object"
|
|
9233
|
+
}
|
|
9234
|
+
},
|
|
9235
|
+
required: [
|
|
9236
|
+
"created_at",
|
|
9237
|
+
"message",
|
|
9238
|
+
"is_connected_account_error",
|
|
9239
|
+
"error_code",
|
|
9240
|
+
"salto_ks_metadata"
|
|
9241
|
+
],
|
|
9242
|
+
type: "object"
|
|
8926
9243
|
}
|
|
8927
9244
|
]
|
|
8928
9245
|
},
|
|
@@ -15299,6 +15616,11 @@ var openapi_default = {
|
|
|
15299
15616
|
{
|
|
15300
15617
|
description: "Account is disconnected.",
|
|
15301
15618
|
properties: {
|
|
15619
|
+
created_at: {
|
|
15620
|
+
description: "Date and time at which Seam created the error.",
|
|
15621
|
+
format: "date-time",
|
|
15622
|
+
type: "string"
|
|
15623
|
+
},
|
|
15302
15624
|
error_code: {
|
|
15303
15625
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
15304
15626
|
enum: ["account_disconnected"],
|
|
@@ -15311,6 +15633,7 @@ var openapi_default = {
|
|
|
15311
15633
|
message: { type: "string" }
|
|
15312
15634
|
},
|
|
15313
15635
|
required: [
|
|
15636
|
+
"created_at",
|
|
15314
15637
|
"message",
|
|
15315
15638
|
"is_connected_account_error",
|
|
15316
15639
|
"error_code"
|
|
@@ -15320,6 +15643,11 @@ var openapi_default = {
|
|
|
15320
15643
|
{
|
|
15321
15644
|
description: "Credentials provided were invalid.",
|
|
15322
15645
|
properties: {
|
|
15646
|
+
created_at: {
|
|
15647
|
+
description: "Date and time at which Seam created the error.",
|
|
15648
|
+
format: "date-time",
|
|
15649
|
+
type: "string"
|
|
15650
|
+
},
|
|
15323
15651
|
error_code: {
|
|
15324
15652
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
15325
15653
|
enum: ["invalid_credentials"],
|
|
@@ -15332,11 +15660,70 @@ var openapi_default = {
|
|
|
15332
15660
|
message: { type: "string" }
|
|
15333
15661
|
},
|
|
15334
15662
|
required: [
|
|
15663
|
+
"created_at",
|
|
15335
15664
|
"message",
|
|
15336
15665
|
"is_connected_account_error",
|
|
15337
15666
|
"error_code"
|
|
15338
15667
|
],
|
|
15339
15668
|
type: "object"
|
|
15669
|
+
},
|
|
15670
|
+
{
|
|
15671
|
+
description: "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.",
|
|
15672
|
+
properties: {
|
|
15673
|
+
created_at: {
|
|
15674
|
+
description: "Date and time at which Seam created the error.",
|
|
15675
|
+
format: "date-time",
|
|
15676
|
+
type: "string"
|
|
15677
|
+
},
|
|
15678
|
+
error_code: {
|
|
15679
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
15680
|
+
enum: ["salto_ks_subscription_limit_exceeded"],
|
|
15681
|
+
type: "string"
|
|
15682
|
+
},
|
|
15683
|
+
is_connected_account_error: {
|
|
15684
|
+
enum: [true],
|
|
15685
|
+
type: "boolean"
|
|
15686
|
+
},
|
|
15687
|
+
message: { type: "string" },
|
|
15688
|
+
salto_ks_metadata: {
|
|
15689
|
+
properties: {
|
|
15690
|
+
sites: {
|
|
15691
|
+
items: {
|
|
15692
|
+
properties: {
|
|
15693
|
+
site_id: { type: "string" },
|
|
15694
|
+
site_name: { type: "string" },
|
|
15695
|
+
site_user_subscription_limit: {
|
|
15696
|
+
minimum: 0,
|
|
15697
|
+
type: "integer"
|
|
15698
|
+
},
|
|
15699
|
+
subscribed_site_user_count: {
|
|
15700
|
+
minimum: 0,
|
|
15701
|
+
type: "integer"
|
|
15702
|
+
}
|
|
15703
|
+
},
|
|
15704
|
+
required: [
|
|
15705
|
+
"site_id",
|
|
15706
|
+
"site_name",
|
|
15707
|
+
"subscribed_site_user_count",
|
|
15708
|
+
"site_user_subscription_limit"
|
|
15709
|
+
],
|
|
15710
|
+
type: "object"
|
|
15711
|
+
},
|
|
15712
|
+
type: "array"
|
|
15713
|
+
}
|
|
15714
|
+
},
|
|
15715
|
+
required: ["sites"],
|
|
15716
|
+
type: "object"
|
|
15717
|
+
}
|
|
15718
|
+
},
|
|
15719
|
+
required: [
|
|
15720
|
+
"created_at",
|
|
15721
|
+
"message",
|
|
15722
|
+
"is_connected_account_error",
|
|
15723
|
+
"error_code",
|
|
15724
|
+
"salto_ks_metadata"
|
|
15725
|
+
],
|
|
15726
|
+
type: "object"
|
|
15340
15727
|
}
|
|
15341
15728
|
]
|
|
15342
15729
|
},
|
|
@@ -16502,6 +16889,11 @@ var openapi_default = {
|
|
|
16502
16889
|
{
|
|
16503
16890
|
description: "Account is disconnected.",
|
|
16504
16891
|
properties: {
|
|
16892
|
+
created_at: {
|
|
16893
|
+
description: "Date and time at which Seam created the error.",
|
|
16894
|
+
format: "date-time",
|
|
16895
|
+
type: "string"
|
|
16896
|
+
},
|
|
16505
16897
|
error_code: {
|
|
16506
16898
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
16507
16899
|
enum: ["account_disconnected"],
|
|
@@ -16514,6 +16906,7 @@ var openapi_default = {
|
|
|
16514
16906
|
message: { type: "string" }
|
|
16515
16907
|
},
|
|
16516
16908
|
required: [
|
|
16909
|
+
"created_at",
|
|
16517
16910
|
"message",
|
|
16518
16911
|
"is_connected_account_error",
|
|
16519
16912
|
"error_code"
|
|
@@ -16523,6 +16916,11 @@ var openapi_default = {
|
|
|
16523
16916
|
{
|
|
16524
16917
|
description: "Credentials provided were invalid.",
|
|
16525
16918
|
properties: {
|
|
16919
|
+
created_at: {
|
|
16920
|
+
description: "Date and time at which Seam created the error.",
|
|
16921
|
+
format: "date-time",
|
|
16922
|
+
type: "string"
|
|
16923
|
+
},
|
|
16526
16924
|
error_code: {
|
|
16527
16925
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
16528
16926
|
enum: ["invalid_credentials"],
|
|
@@ -16535,11 +16933,70 @@ var openapi_default = {
|
|
|
16535
16933
|
message: { type: "string" }
|
|
16536
16934
|
},
|
|
16537
16935
|
required: [
|
|
16936
|
+
"created_at",
|
|
16538
16937
|
"message",
|
|
16539
16938
|
"is_connected_account_error",
|
|
16540
16939
|
"error_code"
|
|
16541
16940
|
],
|
|
16542
16941
|
type: "object"
|
|
16942
|
+
},
|
|
16943
|
+
{
|
|
16944
|
+
description: "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.",
|
|
16945
|
+
properties: {
|
|
16946
|
+
created_at: {
|
|
16947
|
+
description: "Date and time at which Seam created the error.",
|
|
16948
|
+
format: "date-time",
|
|
16949
|
+
type: "string"
|
|
16950
|
+
},
|
|
16951
|
+
error_code: {
|
|
16952
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
16953
|
+
enum: ["salto_ks_subscription_limit_exceeded"],
|
|
16954
|
+
type: "string"
|
|
16955
|
+
},
|
|
16956
|
+
is_connected_account_error: {
|
|
16957
|
+
enum: [true],
|
|
16958
|
+
type: "boolean"
|
|
16959
|
+
},
|
|
16960
|
+
message: { type: "string" },
|
|
16961
|
+
salto_ks_metadata: {
|
|
16962
|
+
properties: {
|
|
16963
|
+
sites: {
|
|
16964
|
+
items: {
|
|
16965
|
+
properties: {
|
|
16966
|
+
site_id: { type: "string" },
|
|
16967
|
+
site_name: { type: "string" },
|
|
16968
|
+
site_user_subscription_limit: {
|
|
16969
|
+
minimum: 0,
|
|
16970
|
+
type: "integer"
|
|
16971
|
+
},
|
|
16972
|
+
subscribed_site_user_count: {
|
|
16973
|
+
minimum: 0,
|
|
16974
|
+
type: "integer"
|
|
16975
|
+
}
|
|
16976
|
+
},
|
|
16977
|
+
required: [
|
|
16978
|
+
"site_id",
|
|
16979
|
+
"site_name",
|
|
16980
|
+
"subscribed_site_user_count",
|
|
16981
|
+
"site_user_subscription_limit"
|
|
16982
|
+
],
|
|
16983
|
+
type: "object"
|
|
16984
|
+
},
|
|
16985
|
+
type: "array"
|
|
16986
|
+
}
|
|
16987
|
+
},
|
|
16988
|
+
required: ["sites"],
|
|
16989
|
+
type: "object"
|
|
16990
|
+
}
|
|
16991
|
+
},
|
|
16992
|
+
required: [
|
|
16993
|
+
"created_at",
|
|
16994
|
+
"message",
|
|
16995
|
+
"is_connected_account_error",
|
|
16996
|
+
"error_code",
|
|
16997
|
+
"salto_ks_metadata"
|
|
16998
|
+
],
|
|
16999
|
+
type: "object"
|
|
16543
17000
|
}
|
|
16544
17001
|
]
|
|
16545
17002
|
},
|