@seamapi/types 1.612.0 → 1.614.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 +66 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +289 -0
- package/dist/index.cjs +66 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +52 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +15 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +144 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +66 -0
- package/lib/seam/connect/openapi.js +54 -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/acs/acs-users/pending-mutations.ts +20 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +62 -0
- package/src/lib/seam/connect/route-types.ts +110 -0
package/dist/connect.cjs
CHANGED
|
@@ -1836,7 +1836,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1836
1836
|
"akiles",
|
|
1837
1837
|
"sensi",
|
|
1838
1838
|
"assa_abloy_vostio",
|
|
1839
|
-
"avigilon_alta"
|
|
1839
|
+
"avigilon_alta",
|
|
1840
|
+
"keynest"
|
|
1840
1841
|
],
|
|
1841
1842
|
consumer_smartlocks: [
|
|
1842
1843
|
"akiles",
|
|
@@ -3255,6 +3256,14 @@ var deleting = common_pending_mutation.extend({
|
|
|
3255
3256
|
}).describe(
|
|
3256
3257
|
"Seam is in the process of pushing a user deletion to the integrated access system."
|
|
3257
3258
|
);
|
|
3259
|
+
var deferring_creation = common_pending_mutation.extend({
|
|
3260
|
+
mutation_code: zod.z.literal("deferring_creation").describe(
|
|
3261
|
+
"Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time."
|
|
3262
|
+
),
|
|
3263
|
+
scheduled_at: zod.z.string().datetime().optional().nullable().describe("Optional: When the user creation is scheduled to occur.")
|
|
3264
|
+
}).describe(
|
|
3265
|
+
"User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued."
|
|
3266
|
+
);
|
|
3258
3267
|
var acs_user_info = zod.z.object({
|
|
3259
3268
|
email_address: zod.z.string().email().nullable().describe("Email address of the access system user."),
|
|
3260
3269
|
full_name: zod.z.string().nullable().describe("Full name of the access system user."),
|
|
@@ -3307,6 +3316,7 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
|
|
|
3307
3316
|
[
|
|
3308
3317
|
creating,
|
|
3309
3318
|
deleting,
|
|
3319
|
+
deferring_creation,
|
|
3310
3320
|
updating_user_information_mutation,
|
|
3311
3321
|
updating_access_schedule_mutation,
|
|
3312
3322
|
updating_suspension_state_mutation,
|
|
@@ -3316,6 +3326,7 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
|
|
|
3316
3326
|
zod.z.object({
|
|
3317
3327
|
creating: creating.optional().nullable(),
|
|
3318
3328
|
deleting: deleting.optional().nullable(),
|
|
3329
|
+
deferring_creation: deferring_creation.optional().nullable(),
|
|
3319
3330
|
updating_access_schedule: updating_access_schedule_mutation.optional().nullable(),
|
|
3320
3331
|
updating_group_membership: zod.z.map(zod.z.string().uuid(), updating_group_membership_mutation).optional().nullable(),
|
|
3321
3332
|
updating_suspension_state: updating_suspension_state_mutation.optional().nullable(),
|
|
@@ -9186,6 +9197,33 @@ var openapi_default = {
|
|
|
9186
9197
|
required: ["created_at", "message", "mutation_code"],
|
|
9187
9198
|
type: "object"
|
|
9188
9199
|
},
|
|
9200
|
+
{
|
|
9201
|
+
description: "User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.",
|
|
9202
|
+
properties: {
|
|
9203
|
+
created_at: {
|
|
9204
|
+
description: "Date and time at which the mutation was created.",
|
|
9205
|
+
format: "date-time",
|
|
9206
|
+
type: "string"
|
|
9207
|
+
},
|
|
9208
|
+
message: {
|
|
9209
|
+
description: "Detailed description of the mutation.",
|
|
9210
|
+
type: "string"
|
|
9211
|
+
},
|
|
9212
|
+
mutation_code: {
|
|
9213
|
+
description: "Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.",
|
|
9214
|
+
enum: ["deferring_creation"],
|
|
9215
|
+
type: "string"
|
|
9216
|
+
},
|
|
9217
|
+
scheduled_at: {
|
|
9218
|
+
description: "Optional: When the user creation is scheduled to occur.",
|
|
9219
|
+
format: "date-time",
|
|
9220
|
+
nullable: true,
|
|
9221
|
+
type: "string"
|
|
9222
|
+
}
|
|
9223
|
+
},
|
|
9224
|
+
required: ["created_at", "message", "mutation_code"],
|
|
9225
|
+
type: "object"
|
|
9226
|
+
},
|
|
9189
9227
|
{
|
|
9190
9228
|
properties: {
|
|
9191
9229
|
created_at: {
|
|
@@ -27059,6 +27097,33 @@ var openapi_default = {
|
|
|
27059
27097
|
required: ["created_at", "message", "mutation_code"],
|
|
27060
27098
|
type: "object"
|
|
27061
27099
|
},
|
|
27100
|
+
{
|
|
27101
|
+
description: "User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.",
|
|
27102
|
+
properties: {
|
|
27103
|
+
created_at: {
|
|
27104
|
+
description: "Date and time at which the mutation was created.",
|
|
27105
|
+
format: "date-time",
|
|
27106
|
+
type: "string"
|
|
27107
|
+
},
|
|
27108
|
+
message: {
|
|
27109
|
+
description: "Detailed description of the mutation.",
|
|
27110
|
+
type: "string"
|
|
27111
|
+
},
|
|
27112
|
+
mutation_code: {
|
|
27113
|
+
description: "Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.",
|
|
27114
|
+
enum: ["deferring_creation"],
|
|
27115
|
+
type: "string"
|
|
27116
|
+
},
|
|
27117
|
+
scheduled_at: {
|
|
27118
|
+
description: "Optional: When the user creation is scheduled to occur.",
|
|
27119
|
+
format: "date-time",
|
|
27120
|
+
nullable: true,
|
|
27121
|
+
type: "string"
|
|
27122
|
+
}
|
|
27123
|
+
},
|
|
27124
|
+
required: ["created_at", "message", "mutation_code"],
|
|
27125
|
+
type: "object"
|
|
27126
|
+
},
|
|
27062
27127
|
{
|
|
27063
27128
|
properties: {
|
|
27064
27129
|
created_at: {
|