@seamapi/types 1.751.0 → 1.752.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
@@ -2916,6 +2916,13 @@ var updating_entrance_membership = common_pending_mutation3.extend({
2916
2916
  }).describe(
2917
2917
  "Seam is in the process of pushing an entrance membership update to the integrated access system."
2918
2918
  );
2919
+ var deferring_deletion = common_pending_mutation3.extend({
2920
+ mutation_code: zod.z.literal("deferring_deletion").describe(
2921
+ "Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires."
2922
+ )
2923
+ }).describe(
2924
+ "This access group is scheduled for automatic deletion when its access window expires."
2925
+ );
2919
2926
  var deferring_user_membership_update = common_pending_mutation3.extend({
2920
2927
  mutation_code: zod.z.literal("deferring_user_membership_update").describe(
2921
2928
  "Mutation code to indicate that a scheduled user membership change is pending for this access group."
@@ -2927,35 +2934,28 @@ var deferring_user_membership_update = common_pending_mutation3.extend({
2927
2934
  }).describe(
2928
2935
  "A scheduled user membership change is pending for this access group."
2929
2936
  );
2930
- var deferring_deletion = common_pending_mutation3.extend({
2931
- mutation_code: zod.z.literal("deferring_deletion").describe(
2932
- "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes."
2933
- )
2934
- }).describe(
2935
- "This access group is scheduled for automatic deletion when its access window expires."
2936
- );
2937
2937
  var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
2938
2938
  "mutation_code",
2939
2939
  [
2940
2940
  creating,
2941
2941
  deleting,
2942
+ deferring_deletion,
2942
2943
  updating_group_information,
2943
2944
  updating_access_schedule,
2944
2945
  updating_user_membership,
2945
2946
  updating_entrance_membership,
2946
- deferring_user_membership_update,
2947
- deferring_deletion
2947
+ deferring_user_membership_update
2948
2948
  ]
2949
2949
  );
2950
2950
  zod.z.object({
2951
2951
  creating: creating.optional().nullable(),
2952
2952
  deleting: deleting.optional().nullable(),
2953
+ deferring_deletion: deferring_deletion.optional().nullable(),
2953
2954
  updating_name: updating_group_information.optional().nullable(),
2954
2955
  updating_access_schedule: updating_access_schedule.optional().nullable(),
2955
2956
  updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
2956
2957
  updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable(),
2957
- deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable(),
2958
- deferring_deletion: deferring_deletion.optional().nullable()
2958
+ deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
2959
2959
  });
2960
2960
 
2961
2961
  // src/lib/seam/connect/models/acs/acs-access-group.ts
@@ -9054,6 +9054,27 @@ var openapi_default = {
9054
9054
  required: ["created_at", "message", "mutation_code"],
9055
9055
  type: "object"
9056
9056
  },
9057
+ {
9058
+ description: "This access group is scheduled for automatic deletion when its access window expires.",
9059
+ properties: {
9060
+ created_at: {
9061
+ description: "Date and time at which the mutation was created.",
9062
+ format: "date-time",
9063
+ type: "string"
9064
+ },
9065
+ message: {
9066
+ description: "Detailed description of the mutation.",
9067
+ type: "string"
9068
+ },
9069
+ mutation_code: {
9070
+ description: "Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires.",
9071
+ enum: ["deferring_deletion"],
9072
+ type: "string"
9073
+ }
9074
+ },
9075
+ required: ["created_at", "message", "mutation_code"],
9076
+ type: "object"
9077
+ },
9057
9078
  {
9058
9079
  description: "Seam is in the process of pushing an access group information update to the integrated access system.",
9059
9080
  properties: {
@@ -9310,27 +9331,6 @@ var openapi_default = {
9310
9331
  "variant"
9311
9332
  ],
9312
9333
  type: "object"
9313
- },
9314
- {
9315
- description: "This access group is scheduled for automatic deletion when its access window expires.",
9316
- properties: {
9317
- created_at: {
9318
- description: "Date and time at which the mutation was created.",
9319
- format: "date-time",
9320
- type: "string"
9321
- },
9322
- message: {
9323
- description: "Detailed description of the mutation.",
9324
- type: "string"
9325
- },
9326
- mutation_code: {
9327
- description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
9328
- enum: ["deferring_deletion"],
9329
- type: "string"
9330
- }
9331
- },
9332
- required: ["created_at", "message", "mutation_code"],
9333
- type: "object"
9334
9334
  }
9335
9335
  ]
9336
9336
  },
@@ -30989,6 +30989,27 @@ var openapi_default = {
30989
30989
  required: ["created_at", "message", "mutation_code"],
30990
30990
  type: "object"
30991
30991
  },
30992
+ {
30993
+ description: "This access group is scheduled for automatic deletion when its access window expires.",
30994
+ properties: {
30995
+ created_at: {
30996
+ description: "Date and time at which the mutation was created.",
30997
+ format: "date-time",
30998
+ type: "string"
30999
+ },
31000
+ message: {
31001
+ description: "Detailed description of the mutation.",
31002
+ type: "string"
31003
+ },
31004
+ mutation_code: {
31005
+ description: "Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires.",
31006
+ enum: ["deferring_deletion"],
31007
+ type: "string"
31008
+ }
31009
+ },
31010
+ required: ["created_at", "message", "mutation_code"],
31011
+ type: "object"
31012
+ },
30992
31013
  {
30993
31014
  description: "Seam is in the process of pushing an access group information update to the integrated access system.",
30994
31015
  properties: {
@@ -31245,27 +31266,6 @@ var openapi_default = {
31245
31266
  "variant"
31246
31267
  ],
31247
31268
  type: "object"
31248
- },
31249
- {
31250
- description: "This access group is scheduled for automatic deletion when its access window expires.",
31251
- properties: {
31252
- created_at: {
31253
- description: "Date and time at which the mutation was created.",
31254
- format: "date-time",
31255
- type: "string"
31256
- },
31257
- message: {
31258
- description: "Detailed description of the mutation.",
31259
- type: "string"
31260
- },
31261
- mutation_code: {
31262
- description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
31263
- enum: ["deferring_deletion"],
31264
- type: "string"
31265
- }
31266
- },
31267
- required: ["created_at", "message", "mutation_code"],
31268
- type: "object"
31269
31269
  }
31270
31270
  ]
31271
31271
  },