@seamapi/types 1.798.0 → 1.799.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 +142 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +430 -0
- package/dist/index.cjs +142 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +99 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +16 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +43 -0
- package/lib/seam/connect/openapi.d.ts +255 -0
- package/lib/seam/connect/openapi.js +131 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +99 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +21 -0
- package/src/lib/seam/connect/openapi.ts +151 -0
- package/src/lib/seam/connect/route-types.ts +121 -0
package/dist/connect.cjs
CHANGED
|
@@ -2719,8 +2719,18 @@ var underprovisioned_access = common_access_grant_warning.extend({
|
|
|
2719
2719
|
}).describe(
|
|
2720
2720
|
"Indicates that the access grant should have access to more locations than it currently does. Access methods are being created for the missing locations."
|
|
2721
2721
|
);
|
|
2722
|
+
var overprovisioned_failed_device = zod.z.object({
|
|
2723
|
+
device_id: zod.z.string().uuid().describe("Device whose access code could not be revoked."),
|
|
2724
|
+
error_code: zod.z.string().describe(
|
|
2725
|
+
"Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`)."
|
|
2726
|
+
),
|
|
2727
|
+
message: zod.z.string().describe("Human-readable description of why revocation failed.")
|
|
2728
|
+
});
|
|
2722
2729
|
var overprovisioned_access = common_access_grant_warning.extend({
|
|
2723
|
-
warning_code: zod.z.literal("overprovisioned_access").describe(warning_code_description4)
|
|
2730
|
+
warning_code: zod.z.literal("overprovisioned_access").describe(warning_code_description4),
|
|
2731
|
+
failed_devices: zod.z.array(overprovisioned_failed_device).optional().describe(
|
|
2732
|
+
"Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget)."
|
|
2733
|
+
)
|
|
2724
2734
|
}).describe(
|
|
2725
2735
|
"Indicates that the access grant has access to locations it should not have. Access methods are being removed from the extra locations."
|
|
2726
2736
|
);
|
|
@@ -8967,6 +8977,29 @@ var openapi_default = {
|
|
|
8967
8977
|
format: "date-time",
|
|
8968
8978
|
type: "string"
|
|
8969
8979
|
},
|
|
8980
|
+
failed_devices: {
|
|
8981
|
+
description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
|
|
8982
|
+
items: {
|
|
8983
|
+
properties: {
|
|
8984
|
+
device_id: {
|
|
8985
|
+
description: "Device whose access code could not be revoked.",
|
|
8986
|
+
format: "uuid",
|
|
8987
|
+
type: "string"
|
|
8988
|
+
},
|
|
8989
|
+
error_code: {
|
|
8990
|
+
description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
|
|
8991
|
+
type: "string"
|
|
8992
|
+
},
|
|
8993
|
+
message: {
|
|
8994
|
+
description: "Human-readable description of why revocation failed.",
|
|
8995
|
+
type: "string"
|
|
8996
|
+
}
|
|
8997
|
+
},
|
|
8998
|
+
required: ["device_id", "error_code", "message"],
|
|
8999
|
+
type: "object"
|
|
9000
|
+
},
|
|
9001
|
+
type: "array"
|
|
9002
|
+
},
|
|
8970
9003
|
message: {
|
|
8971
9004
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8972
9005
|
type: "string"
|
|
@@ -39197,6 +39230,33 @@ var openapi_default = {
|
|
|
39197
39230
|
format: "date-time",
|
|
39198
39231
|
type: "string"
|
|
39199
39232
|
},
|
|
39233
|
+
failed_devices: {
|
|
39234
|
+
description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
|
|
39235
|
+
items: {
|
|
39236
|
+
properties: {
|
|
39237
|
+
device_id: {
|
|
39238
|
+
description: "Device whose access code could not be revoked.",
|
|
39239
|
+
format: "uuid",
|
|
39240
|
+
type: "string"
|
|
39241
|
+
},
|
|
39242
|
+
error_code: {
|
|
39243
|
+
description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
|
|
39244
|
+
type: "string"
|
|
39245
|
+
},
|
|
39246
|
+
message: {
|
|
39247
|
+
description: "Human-readable description of why revocation failed.",
|
|
39248
|
+
type: "string"
|
|
39249
|
+
}
|
|
39250
|
+
},
|
|
39251
|
+
required: [
|
|
39252
|
+
"device_id",
|
|
39253
|
+
"error_code",
|
|
39254
|
+
"message"
|
|
39255
|
+
],
|
|
39256
|
+
type: "object"
|
|
39257
|
+
},
|
|
39258
|
+
type: "array"
|
|
39259
|
+
},
|
|
39200
39260
|
message: {
|
|
39201
39261
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
39202
39262
|
type: "string"
|
|
@@ -39752,6 +39812,33 @@ var openapi_default = {
|
|
|
39752
39812
|
format: "date-time",
|
|
39753
39813
|
type: "string"
|
|
39754
39814
|
},
|
|
39815
|
+
failed_devices: {
|
|
39816
|
+
description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
|
|
39817
|
+
items: {
|
|
39818
|
+
properties: {
|
|
39819
|
+
device_id: {
|
|
39820
|
+
description: "Device whose access code could not be revoked.",
|
|
39821
|
+
format: "uuid",
|
|
39822
|
+
type: "string"
|
|
39823
|
+
},
|
|
39824
|
+
error_code: {
|
|
39825
|
+
description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
|
|
39826
|
+
type: "string"
|
|
39827
|
+
},
|
|
39828
|
+
message: {
|
|
39829
|
+
description: "Human-readable description of why revocation failed.",
|
|
39830
|
+
type: "string"
|
|
39831
|
+
}
|
|
39832
|
+
},
|
|
39833
|
+
required: [
|
|
39834
|
+
"device_id",
|
|
39835
|
+
"error_code",
|
|
39836
|
+
"message"
|
|
39837
|
+
],
|
|
39838
|
+
type: "object"
|
|
39839
|
+
},
|
|
39840
|
+
type: "array"
|
|
39841
|
+
},
|
|
39755
39842
|
message: {
|
|
39756
39843
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
39757
39844
|
type: "string"
|
|
@@ -40349,6 +40436,33 @@ var openapi_default = {
|
|
|
40349
40436
|
format: "date-time",
|
|
40350
40437
|
type: "string"
|
|
40351
40438
|
},
|
|
40439
|
+
failed_devices: {
|
|
40440
|
+
description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
|
|
40441
|
+
items: {
|
|
40442
|
+
properties: {
|
|
40443
|
+
device_id: {
|
|
40444
|
+
description: "Device whose access code could not be revoked.",
|
|
40445
|
+
format: "uuid",
|
|
40446
|
+
type: "string"
|
|
40447
|
+
},
|
|
40448
|
+
error_code: {
|
|
40449
|
+
description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
|
|
40450
|
+
type: "string"
|
|
40451
|
+
},
|
|
40452
|
+
message: {
|
|
40453
|
+
description: "Human-readable description of why revocation failed.",
|
|
40454
|
+
type: "string"
|
|
40455
|
+
}
|
|
40456
|
+
},
|
|
40457
|
+
required: [
|
|
40458
|
+
"device_id",
|
|
40459
|
+
"error_code",
|
|
40460
|
+
"message"
|
|
40461
|
+
],
|
|
40462
|
+
type: "object"
|
|
40463
|
+
},
|
|
40464
|
+
type: "array"
|
|
40465
|
+
},
|
|
40352
40466
|
message: {
|
|
40353
40467
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
40354
40468
|
type: "string"
|
|
@@ -40932,6 +41046,33 @@ var openapi_default = {
|
|
|
40932
41046
|
format: "date-time",
|
|
40933
41047
|
type: "string"
|
|
40934
41048
|
},
|
|
41049
|
+
failed_devices: {
|
|
41050
|
+
description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
|
|
41051
|
+
items: {
|
|
41052
|
+
properties: {
|
|
41053
|
+
device_id: {
|
|
41054
|
+
description: "Device whose access code could not be revoked.",
|
|
41055
|
+
format: "uuid",
|
|
41056
|
+
type: "string"
|
|
41057
|
+
},
|
|
41058
|
+
error_code: {
|
|
41059
|
+
description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
|
|
41060
|
+
type: "string"
|
|
41061
|
+
},
|
|
41062
|
+
message: {
|
|
41063
|
+
description: "Human-readable description of why revocation failed.",
|
|
41064
|
+
type: "string"
|
|
41065
|
+
}
|
|
41066
|
+
},
|
|
41067
|
+
required: [
|
|
41068
|
+
"device_id",
|
|
41069
|
+
"error_code",
|
|
41070
|
+
"message"
|
|
41071
|
+
],
|
|
41072
|
+
type: "object"
|
|
41073
|
+
},
|
|
41074
|
+
type: "array"
|
|
41075
|
+
},
|
|
40935
41076
|
message: {
|
|
40936
41077
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
40937
41078
|
type: "string"
|