@seamapi/types 1.367.0 → 1.367.2
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 +218 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +246 -5
- package/lib/seam/connect/models/acs/acs-system.js +8 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +178 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +38 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -1
- package/lib/seam/connect/models/locations/location.d.ts +3 -0
- package/lib/seam/connect/models/locations/location.js +1 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +225 -0
- package/lib/seam/connect/openapi.js +181 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +10 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +47 -0
- package/src/lib/seam/connect/models/locations/location.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +184 -0
- package/src/lib/seam/connect/route-types.ts +21 -5
package/dist/connect.cjs
CHANGED
|
@@ -2217,7 +2217,13 @@ var salto_ks_subscription_limit_almost_reached3 = common_acs_system_warning.exte
|
|
|
2217
2217
|
);
|
|
2218
2218
|
var time_zone_does_not_match_location = common_acs_system_warning.extend({
|
|
2219
2219
|
warning_code: zod.z.literal("time_zone_does_not_match_location").describe(warning_code_description6),
|
|
2220
|
-
misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
|
|
2220
|
+
misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
|
|
2221
|
+
`
|
|
2222
|
+
---
|
|
2223
|
+
deprecated: this field is deprecated.
|
|
2224
|
+
---
|
|
2225
|
+
`
|
|
2226
|
+
)
|
|
2221
2227
|
}).describe(
|
|
2222
2228
|
"Indicates the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
2223
2229
|
);
|
|
@@ -2365,6 +2371,35 @@ var acs_user_pending_modification = zod.z.discriminatedUnion(
|
|
|
2365
2371
|
acs_access_group_membership_pending_modification
|
|
2366
2372
|
]
|
|
2367
2373
|
);
|
|
2374
|
+
zod.z.object({
|
|
2375
|
+
"profile.full_name": common_pending_modification.extend({
|
|
2376
|
+
modification_code: zod.z.literal("profile"),
|
|
2377
|
+
modified_from: zod.z.object({
|
|
2378
|
+
full_name: zod.z.string().nullable()
|
|
2379
|
+
}),
|
|
2380
|
+
modified_to: zod.z.object({
|
|
2381
|
+
full_name: zod.z.string().nullable()
|
|
2382
|
+
})
|
|
2383
|
+
}).optional().nullable(),
|
|
2384
|
+
"profile.email_address": common_pending_modification.extend({
|
|
2385
|
+
modification_code: zod.z.literal("profile"),
|
|
2386
|
+
modified_from: zod.z.object({
|
|
2387
|
+
email_address: zod.z.string().email().nullable()
|
|
2388
|
+
}),
|
|
2389
|
+
modified_to: zod.z.object({
|
|
2390
|
+
email_address: zod.z.string().email().nullable()
|
|
2391
|
+
})
|
|
2392
|
+
}).optional().nullable(),
|
|
2393
|
+
"profile.phone_number": common_pending_modification.extend({
|
|
2394
|
+
modification_code: zod.z.literal("profile"),
|
|
2395
|
+
modified_from: zod.z.object({
|
|
2396
|
+
phone_number: phone_number.nullable()
|
|
2397
|
+
}),
|
|
2398
|
+
modified_to: zod.z.object({
|
|
2399
|
+
phone_number: phone_number.nullable()
|
|
2400
|
+
})
|
|
2401
|
+
}).optional().nullable()
|
|
2402
|
+
});
|
|
2368
2403
|
|
|
2369
2404
|
// src/lib/seam/connect/models/acs/acs-users/acs-user.ts
|
|
2370
2405
|
var acs_user_external_type = zod.z.enum([
|
|
@@ -6035,8 +6070,10 @@ var openapi_default = {
|
|
|
6035
6070
|
type: "string"
|
|
6036
6071
|
},
|
|
6037
6072
|
misconfigured_acs_entrance_ids: {
|
|
6073
|
+
deprecated: true,
|
|
6038
6074
|
items: { format: "uuid", type: "string" },
|
|
6039
|
-
type: "array"
|
|
6075
|
+
type: "array",
|
|
6076
|
+
"x-deprecated": "this field is deprecated."
|
|
6040
6077
|
},
|
|
6041
6078
|
warning_code: {
|
|
6042
6079
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
@@ -30574,6 +30611,7 @@ var openapi_default = {
|
|
|
30574
30611
|
properties: {
|
|
30575
30612
|
device_ids: {
|
|
30576
30613
|
items: { format: "uuid", type: "string" },
|
|
30614
|
+
minItems: 1,
|
|
30577
30615
|
type: "array"
|
|
30578
30616
|
},
|
|
30579
30617
|
location_id: { format: "uuid", type: "string" }
|
|
@@ -30612,6 +30650,55 @@ var openapi_default = {
|
|
|
30612
30650
|
"x-response-key": null,
|
|
30613
30651
|
"x-title": "Add Location Devices",
|
|
30614
30652
|
"x-undocumented": "Experimental locations."
|
|
30653
|
+
},
|
|
30654
|
+
put: {
|
|
30655
|
+
description: "Add devices to a specific location. If a device already belongs to a location it will be moved.",
|
|
30656
|
+
operationId: "unstableLocationsAddDevicesPut",
|
|
30657
|
+
requestBody: {
|
|
30658
|
+
content: {
|
|
30659
|
+
"application/json": {
|
|
30660
|
+
schema: {
|
|
30661
|
+
properties: {
|
|
30662
|
+
device_ids: {
|
|
30663
|
+
items: { format: "uuid", type: "string" },
|
|
30664
|
+
minItems: 1,
|
|
30665
|
+
type: "array"
|
|
30666
|
+
},
|
|
30667
|
+
location_id: { format: "uuid", type: "string" }
|
|
30668
|
+
},
|
|
30669
|
+
required: ["location_id", "device_ids"],
|
|
30670
|
+
type: "object"
|
|
30671
|
+
}
|
|
30672
|
+
}
|
|
30673
|
+
}
|
|
30674
|
+
},
|
|
30675
|
+
responses: {
|
|
30676
|
+
200: {
|
|
30677
|
+
content: {
|
|
30678
|
+
"application/json": {
|
|
30679
|
+
schema: {
|
|
30680
|
+
properties: { ok: { type: "boolean" } },
|
|
30681
|
+
required: ["ok"],
|
|
30682
|
+
type: "object"
|
|
30683
|
+
}
|
|
30684
|
+
}
|
|
30685
|
+
},
|
|
30686
|
+
description: "OK"
|
|
30687
|
+
},
|
|
30688
|
+
400: { description: "Bad Request" },
|
|
30689
|
+
401: { description: "Unauthorized" }
|
|
30690
|
+
},
|
|
30691
|
+
security: [
|
|
30692
|
+
{ pat_with_workspace: [] },
|
|
30693
|
+
{ console_session_with_workspace: [] },
|
|
30694
|
+
{ api_key: [] }
|
|
30695
|
+
],
|
|
30696
|
+
summary: "/unstable_locations/add_devices",
|
|
30697
|
+
tags: [],
|
|
30698
|
+
"x-fern-ignore": true,
|
|
30699
|
+
"x-response-key": null,
|
|
30700
|
+
"x-title": "Add Location Devices",
|
|
30701
|
+
"x-undocumented": "Experimental locations."
|
|
30615
30702
|
}
|
|
30616
30703
|
},
|
|
30617
30704
|
"/unstable_locations/create": {
|
|
@@ -30671,6 +30758,10 @@ var openapi_default = {
|
|
|
30671
30758
|
format: "uuid",
|
|
30672
30759
|
type: "string"
|
|
30673
30760
|
},
|
|
30761
|
+
name: {
|
|
30762
|
+
description: "Name of the location.",
|
|
30763
|
+
type: "string"
|
|
30764
|
+
},
|
|
30674
30765
|
time_zone: {
|
|
30675
30766
|
description: "Time zone of the location.",
|
|
30676
30767
|
type: "string"
|
|
@@ -30684,6 +30775,7 @@ var openapi_default = {
|
|
|
30684
30775
|
required: [
|
|
30685
30776
|
"location_id",
|
|
30686
30777
|
"workspace_id",
|
|
30778
|
+
"name",
|
|
30687
30779
|
"display_name",
|
|
30688
30780
|
"created_at"
|
|
30689
30781
|
],
|
|
@@ -30807,6 +30899,10 @@ var openapi_default = {
|
|
|
30807
30899
|
format: "uuid",
|
|
30808
30900
|
type: "string"
|
|
30809
30901
|
},
|
|
30902
|
+
name: {
|
|
30903
|
+
description: "Name of the location.",
|
|
30904
|
+
type: "string"
|
|
30905
|
+
},
|
|
30810
30906
|
time_zone: {
|
|
30811
30907
|
description: "Time zone of the location.",
|
|
30812
30908
|
type: "string"
|
|
@@ -30820,6 +30916,7 @@ var openapi_default = {
|
|
|
30820
30916
|
required: [
|
|
30821
30917
|
"location_id",
|
|
30822
30918
|
"workspace_id",
|
|
30919
|
+
"name",
|
|
30823
30920
|
"display_name",
|
|
30824
30921
|
"created_at"
|
|
30825
30922
|
],
|
|
@@ -30888,6 +30985,10 @@ var openapi_default = {
|
|
|
30888
30985
|
format: "uuid",
|
|
30889
30986
|
type: "string"
|
|
30890
30987
|
},
|
|
30988
|
+
name: {
|
|
30989
|
+
description: "Name of the location.",
|
|
30990
|
+
type: "string"
|
|
30991
|
+
},
|
|
30891
30992
|
time_zone: {
|
|
30892
30993
|
description: "Time zone of the location.",
|
|
30893
30994
|
type: "string"
|
|
@@ -30901,6 +31002,7 @@ var openapi_default = {
|
|
|
30901
31002
|
required: [
|
|
30902
31003
|
"location_id",
|
|
30903
31004
|
"workspace_id",
|
|
31005
|
+
"name",
|
|
30904
31006
|
"display_name",
|
|
30905
31007
|
"created_at"
|
|
30906
31008
|
],
|
|
@@ -30967,6 +31069,10 @@ var openapi_default = {
|
|
|
30967
31069
|
format: "uuid",
|
|
30968
31070
|
type: "string"
|
|
30969
31071
|
},
|
|
31072
|
+
name: {
|
|
31073
|
+
description: "Name of the location.",
|
|
31074
|
+
type: "string"
|
|
31075
|
+
},
|
|
30970
31076
|
time_zone: {
|
|
30971
31077
|
description: "Time zone of the location.",
|
|
30972
31078
|
type: "string"
|
|
@@ -30980,6 +31086,7 @@ var openapi_default = {
|
|
|
30980
31086
|
required: [
|
|
30981
31087
|
"location_id",
|
|
30982
31088
|
"workspace_id",
|
|
31089
|
+
"name",
|
|
30983
31090
|
"display_name",
|
|
30984
31091
|
"created_at"
|
|
30985
31092
|
],
|
|
@@ -31066,6 +31173,110 @@ var openapi_default = {
|
|
|
31066
31173
|
}
|
|
31067
31174
|
},
|
|
31068
31175
|
"/unstable_locations/update": {
|
|
31176
|
+
patch: {
|
|
31177
|
+
description: "Update an existing location.",
|
|
31178
|
+
operationId: "unstableLocationsUpdatePatch",
|
|
31179
|
+
requestBody: {
|
|
31180
|
+
content: {
|
|
31181
|
+
"application/json": {
|
|
31182
|
+
schema: {
|
|
31183
|
+
properties: {
|
|
31184
|
+
geolocation: {
|
|
31185
|
+
properties: {
|
|
31186
|
+
latitude: { format: "float", type: "number" },
|
|
31187
|
+
longitude: { format: "float", type: "number" }
|
|
31188
|
+
},
|
|
31189
|
+
required: ["latitude", "longitude"],
|
|
31190
|
+
type: "object"
|
|
31191
|
+
},
|
|
31192
|
+
location_id: { format: "uuid", type: "string" },
|
|
31193
|
+
name: { type: "string" },
|
|
31194
|
+
time_zone: { type: "string" }
|
|
31195
|
+
},
|
|
31196
|
+
required: ["location_id"],
|
|
31197
|
+
type: "object"
|
|
31198
|
+
}
|
|
31199
|
+
}
|
|
31200
|
+
}
|
|
31201
|
+
},
|
|
31202
|
+
responses: {
|
|
31203
|
+
200: {
|
|
31204
|
+
content: {
|
|
31205
|
+
"application/json": {
|
|
31206
|
+
schema: {
|
|
31207
|
+
properties: {
|
|
31208
|
+
location: {
|
|
31209
|
+
properties: {
|
|
31210
|
+
created_at: {
|
|
31211
|
+
description: "Date and time at which the location object was created.",
|
|
31212
|
+
format: "date-time",
|
|
31213
|
+
type: "string"
|
|
31214
|
+
},
|
|
31215
|
+
display_name: {
|
|
31216
|
+
description: "Display name of the location.",
|
|
31217
|
+
type: "string"
|
|
31218
|
+
},
|
|
31219
|
+
geolocation: {
|
|
31220
|
+
description: "Geographical location of the location.",
|
|
31221
|
+
properties: {
|
|
31222
|
+
latitude: { format: "float", type: "number" },
|
|
31223
|
+
longitude: { format: "float", type: "number" }
|
|
31224
|
+
},
|
|
31225
|
+
required: ["latitude", "longitude"],
|
|
31226
|
+
type: "object"
|
|
31227
|
+
},
|
|
31228
|
+
location_id: {
|
|
31229
|
+
description: "Unique identifier for the location.",
|
|
31230
|
+
format: "uuid",
|
|
31231
|
+
type: "string"
|
|
31232
|
+
},
|
|
31233
|
+
name: {
|
|
31234
|
+
description: "Name of the location.",
|
|
31235
|
+
type: "string"
|
|
31236
|
+
},
|
|
31237
|
+
time_zone: {
|
|
31238
|
+
description: "Time zone of the location.",
|
|
31239
|
+
type: "string"
|
|
31240
|
+
},
|
|
31241
|
+
workspace_id: {
|
|
31242
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
31243
|
+
format: "uuid",
|
|
31244
|
+
type: "string"
|
|
31245
|
+
}
|
|
31246
|
+
},
|
|
31247
|
+
required: [
|
|
31248
|
+
"location_id",
|
|
31249
|
+
"workspace_id",
|
|
31250
|
+
"name",
|
|
31251
|
+
"display_name",
|
|
31252
|
+
"created_at"
|
|
31253
|
+
],
|
|
31254
|
+
type: "object"
|
|
31255
|
+
},
|
|
31256
|
+
ok: { type: "boolean" }
|
|
31257
|
+
},
|
|
31258
|
+
required: ["location", "ok"],
|
|
31259
|
+
type: "object"
|
|
31260
|
+
}
|
|
31261
|
+
}
|
|
31262
|
+
},
|
|
31263
|
+
description: "OK"
|
|
31264
|
+
},
|
|
31265
|
+
400: { description: "Bad Request" },
|
|
31266
|
+
401: { description: "Unauthorized" }
|
|
31267
|
+
},
|
|
31268
|
+
security: [
|
|
31269
|
+
{ pat_with_workspace: [] },
|
|
31270
|
+
{ console_session_with_workspace: [] },
|
|
31271
|
+
{ api_key: [] }
|
|
31272
|
+
],
|
|
31273
|
+
summary: "/unstable_locations/update",
|
|
31274
|
+
tags: [],
|
|
31275
|
+
"x-fern-ignore": true,
|
|
31276
|
+
"x-response-key": "location",
|
|
31277
|
+
"x-title": "Update Location",
|
|
31278
|
+
"x-undocumented": "Experimental locations."
|
|
31279
|
+
},
|
|
31069
31280
|
post: {
|
|
31070
31281
|
description: "Update an existing location.",
|
|
31071
31282
|
operationId: "unstableLocationsUpdatePost",
|
|
@@ -31123,6 +31334,10 @@ var openapi_default = {
|
|
|
31123
31334
|
format: "uuid",
|
|
31124
31335
|
type: "string"
|
|
31125
31336
|
},
|
|
31337
|
+
name: {
|
|
31338
|
+
description: "Name of the location.",
|
|
31339
|
+
type: "string"
|
|
31340
|
+
},
|
|
31126
31341
|
time_zone: {
|
|
31127
31342
|
description: "Time zone of the location.",
|
|
31128
31343
|
type: "string"
|
|
@@ -31136,6 +31351,7 @@ var openapi_default = {
|
|
|
31136
31351
|
required: [
|
|
31137
31352
|
"location_id",
|
|
31138
31353
|
"workspace_id",
|
|
31354
|
+
"name",
|
|
31139
31355
|
"display_name",
|
|
31140
31356
|
"created_at"
|
|
31141
31357
|
],
|