@seamapi/types 1.794.0 → 1.796.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 CHANGED
@@ -2135,6 +2135,16 @@ var creating = common_pending_mutation.extend({
2135
2135
  "Mutation code to indicate that Seam is in the process of setting an access code on the device."
2136
2136
  )
2137
2137
  }).describe("Seam is in the process of setting an access code on the device.");
2138
+ var deferring_creation = common_pending_mutation.extend({
2139
+ mutation_code: zod.z.literal("deferring_creation").describe(
2140
+ "Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device."
2141
+ ),
2142
+ scheduled_at: zod.z.string().datetime().describe(
2143
+ "Date and time at which Seam will attempt to program this access code on the device."
2144
+ )
2145
+ }).describe(
2146
+ "Seam is waiting until closer to the access code's start time before programming it on the device."
2147
+ );
2138
2148
  var deleting = common_pending_mutation.extend({
2139
2149
  mutation_code: zod.z.literal("deleting").describe(
2140
2150
  "Mutation code to indicate that Seam is in the process of removing an access code from the device."
@@ -2185,7 +2195,14 @@ var updating_time_frame = common_pending_mutation.extend({
2185
2195
  );
2186
2196
  var access_code_pending_mutations = zod.z.discriminatedUnion(
2187
2197
  "mutation_code",
2188
- [creating, deleting, updating_code, updating_name, updating_time_frame]
2198
+ [
2199
+ creating,
2200
+ deferring_creation,
2201
+ deleting,
2202
+ updating_code,
2203
+ updating_name,
2204
+ updating_time_frame
2205
+ ]
2189
2206
  );
2190
2207
  var internal_recreate_fields = zod.z.object({
2191
2208
  must_be_recreated_on_device: zod.z.boolean().optional(),
@@ -2194,6 +2211,7 @@ var internal_recreate_fields = zod.z.object({
2194
2211
  });
2195
2212
  zod.z.object({
2196
2213
  creating: creating.optional().nullable(),
2214
+ deferring_creation: deferring_creation.optional().nullable(),
2197
2215
  deleting: deleting.optional().nullable(),
2198
2216
  updating_code: updating_code.merge(internal_recreate_fields).optional().nullable(),
2199
2217
  updating_name: updating_name.merge(internal_recreate_fields).optional().nullable(),
@@ -3906,7 +3924,7 @@ var deleting3 = common_pending_mutation5.extend({
3906
3924
  }).describe(
3907
3925
  "Seam is in the process of pushing a user deletion to the integrated access system."
3908
3926
  );
3909
- var deferring_creation = common_pending_mutation5.extend({
3927
+ var deferring_creation2 = common_pending_mutation5.extend({
3910
3928
  mutation_code: zod.z.literal("deferring_creation").describe(
3911
3929
  "Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time."
3912
3930
  ),
@@ -3977,7 +3995,7 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
3977
3995
  [
3978
3996
  creating3,
3979
3997
  deleting3,
3980
- deferring_creation,
3998
+ deferring_creation2,
3981
3999
  updating_user_information_mutation,
3982
4000
  updating_access_schedule_mutation,
3983
4001
  updating_suspension_state_mutation,
@@ -3988,7 +4006,7 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
3988
4006
  zod.z.object({
3989
4007
  creating: creating3.optional().nullable(),
3990
4008
  deleting: deleting3.optional().nullable(),
3991
- deferring_creation: deferring_creation.optional().nullable(),
4009
+ deferring_creation: deferring_creation2.optional().nullable(),
3992
4010
  updating_access_schedule: updating_access_schedule_mutation.optional().nullable(),
3993
4011
  updating_group_membership: zod.z.record(zod.z.string().uuid(), updating_group_membership_mutation).optional().nullable(),
3994
4012
  deferring_group_membership_update: zod.z.record(zod.z.string().uuid(), deferring_group_membership_update_mutation).optional().nullable(),
@@ -7999,6 +8017,37 @@ var openapi_default = {
7999
8017
  required: ["created_at", "message", "mutation_code"],
8000
8018
  type: "object"
8001
8019
  },
8020
+ {
8021
+ description: "Seam is waiting until closer to the access code's start time before programming it on the device.",
8022
+ properties: {
8023
+ created_at: {
8024
+ description: "Date and time at which the mutation was created.",
8025
+ format: "date-time",
8026
+ type: "string"
8027
+ },
8028
+ message: {
8029
+ description: "Detailed description of the mutation.",
8030
+ type: "string"
8031
+ },
8032
+ mutation_code: {
8033
+ description: "Mutation code to indicate that Seam is waiting until closer to the access code's start time before programming it on the device.",
8034
+ enum: ["deferring_creation"],
8035
+ type: "string"
8036
+ },
8037
+ scheduled_at: {
8038
+ description: "Date and time at which Seam will attempt to program this access code on the device.",
8039
+ format: "date-time",
8040
+ type: "string"
8041
+ }
8042
+ },
8043
+ required: [
8044
+ "created_at",
8045
+ "message",
8046
+ "mutation_code",
8047
+ "scheduled_at"
8048
+ ],
8049
+ type: "object"
8050
+ },
8002
8051
  {
8003
8052
  description: "Seam is in the process of removing an access code from the device.",
8004
8053
  properties: {
@@ -79678,7 +79727,6 @@ var openapi_default = {
79678
79727
  401: { description: "Unauthorized" }
79679
79728
  },
79680
79729
  security: [
79681
- { client_session: [] },
79682
79730
  { api_key: [] },
79683
79731
  { pat_with_workspace: [] },
79684
79732
  { console_session_with_workspace: [] }
@@ -79740,7 +79788,6 @@ var openapi_default = {
79740
79788
  401: { description: "Unauthorized" }
79741
79789
  },
79742
79790
  security: [
79743
- { client_session: [] },
79744
79791
  { api_key: [] },
79745
79792
  { pat_with_workspace: [] },
79746
79793
  { console_session_with_workspace: [] }