@seamapi/types 1.739.0 → 1.740.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
@@ -2906,6 +2906,17 @@ var updating_entrance_membership = common_pending_mutation3.extend({
2906
2906
  }).describe(
2907
2907
  "Seam is in the process of pushing an entrance membership update to the integrated access system."
2908
2908
  );
2909
+ var deferring_user_membership_update = common_pending_mutation3.extend({
2910
+ mutation_code: zod.z.literal("deferring_user_membership_update").describe(
2911
+ "Mutation code to indicate that a scheduled user membership change is pending for this access group."
2912
+ ),
2913
+ acs_user_id: zod.z.string().uuid().describe("ID of the user involved in the scheduled change."),
2914
+ variant: zod.z.enum(["adding", "removing"]).describe(
2915
+ "Whether the user is scheduled to be added to or removed from this access group."
2916
+ )
2917
+ }).describe(
2918
+ "A scheduled user membership change is pending for this access group."
2919
+ );
2909
2920
  var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
2910
2921
  "mutation_code",
2911
2922
  [
@@ -2914,7 +2925,8 @@ var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
2914
2925
  updating_group_information,
2915
2926
  updating_access_schedule,
2916
2927
  updating_user_membership,
2917
- updating_entrance_membership
2928
+ updating_entrance_membership,
2929
+ deferring_user_membership_update
2918
2930
  ]
2919
2931
  );
2920
2932
  zod.z.object({
@@ -2923,7 +2935,8 @@ zod.z.object({
2923
2935
  updating_name: updating_group_information.optional().nullable(),
2924
2936
  updating_access_schedule: updating_access_schedule.optional().nullable(),
2925
2937
  updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
2926
- updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable()
2938
+ updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable(),
2939
+ deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
2927
2940
  });
2928
2941
 
2929
2942
  // src/lib/seam/connect/models/acs/acs-access-group.ts
@@ -3784,6 +3797,17 @@ var updating_group_membership_mutation = common_pending_mutation4.extend({
3784
3797
  }).describe(
3785
3798
  "Seam is in the process of pushing an access group membership update to the integrated access system."
3786
3799
  );
3800
+ var deferring_group_membership_update_mutation = common_pending_mutation4.extend({
3801
+ mutation_code: zod.z.literal("deferring_group_membership_update").describe(
3802
+ "Mutation code to indicate that a scheduled access group membership change is pending for this user."
3803
+ ),
3804
+ acs_access_group_id: zod.z.string().uuid().describe("ID of the access group involved in the scheduled change."),
3805
+ variant: zod.z.enum(["adding", "removing"]).describe(
3806
+ "Whether the user is scheduled to be added to or removed from the access group."
3807
+ )
3808
+ }).describe(
3809
+ "A scheduled access group membership change is pending for this user."
3810
+ );
3787
3811
  var acs_user_pending_mutations = zod.z.discriminatedUnion(
3788
3812
  "mutation_code",
3789
3813
  [
@@ -3793,7 +3817,8 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
3793
3817
  updating_user_information_mutation,
3794
3818
  updating_access_schedule_mutation,
3795
3819
  updating_suspension_state_mutation,
3796
- updating_group_membership_mutation
3820
+ updating_group_membership_mutation,
3821
+ deferring_group_membership_update_mutation
3797
3822
  ]
3798
3823
  );
3799
3824
  zod.z.object({
@@ -3802,6 +3827,7 @@ zod.z.object({
3802
3827
  deferring_creation: deferring_creation.optional().nullable(),
3803
3828
  updating_access_schedule: updating_access_schedule_mutation.optional().nullable(),
3804
3829
  updating_group_membership: zod.z.record(zod.z.string().uuid(), updating_group_membership_mutation).optional().nullable(),
3830
+ deferring_group_membership_update: zod.z.record(zod.z.string().uuid(), deferring_group_membership_update_mutation).optional().nullable(),
3805
3831
  updating_suspension_state: updating_suspension_state_mutation.optional().nullable(),
3806
3832
  "updating_user_information.full_name": common_pending_mutation4.extend({
3807
3833
  mutation_code: zod.z.literal("updating_user_information"),
@@ -9169,6 +9195,43 @@ var openapi_default = {
9169
9195
  "to"
9170
9196
  ],
9171
9197
  type: "object"
9198
+ },
9199
+ {
9200
+ description: "A scheduled user membership change is pending for this access group.",
9201
+ properties: {
9202
+ acs_user_id: {
9203
+ description: "ID of the user involved in the scheduled change.",
9204
+ format: "uuid",
9205
+ type: "string"
9206
+ },
9207
+ created_at: {
9208
+ description: "Date and time at which the mutation was created.",
9209
+ format: "date-time",
9210
+ type: "string"
9211
+ },
9212
+ message: {
9213
+ description: "Detailed description of the mutation.",
9214
+ type: "string"
9215
+ },
9216
+ mutation_code: {
9217
+ description: "Mutation code to indicate that a scheduled user membership change is pending for this access group.",
9218
+ enum: ["deferring_user_membership_update"],
9219
+ type: "string"
9220
+ },
9221
+ variant: {
9222
+ description: "Whether the user is scheduled to be added to or removed from this access group.",
9223
+ enum: ["adding", "removing"],
9224
+ type: "string"
9225
+ }
9226
+ },
9227
+ required: [
9228
+ "created_at",
9229
+ "message",
9230
+ "mutation_code",
9231
+ "acs_user_id",
9232
+ "variant"
9233
+ ],
9234
+ type: "object"
9172
9235
  }
9173
9236
  ]
9174
9237
  },
@@ -10934,6 +10997,43 @@ var openapi_default = {
10934
10997
  "to"
10935
10998
  ],
10936
10999
  type: "object"
11000
+ },
11001
+ {
11002
+ description: "A scheduled access group membership change is pending for this user.",
11003
+ properties: {
11004
+ acs_access_group_id: {
11005
+ description: "ID of the access group involved in the scheduled change.",
11006
+ format: "uuid",
11007
+ type: "string"
11008
+ },
11009
+ created_at: {
11010
+ description: "Date and time at which the mutation was created.",
11011
+ format: "date-time",
11012
+ type: "string"
11013
+ },
11014
+ message: {
11015
+ description: "Detailed description of the mutation.",
11016
+ type: "string"
11017
+ },
11018
+ mutation_code: {
11019
+ description: "Mutation code to indicate that a scheduled access group membership change is pending for this user.",
11020
+ enum: ["deferring_group_membership_update"],
11021
+ type: "string"
11022
+ },
11023
+ variant: {
11024
+ description: "Whether the user is scheduled to be added to or removed from the access group.",
11025
+ enum: ["adding", "removing"],
11026
+ type: "string"
11027
+ }
11028
+ },
11029
+ required: [
11030
+ "created_at",
11031
+ "message",
11032
+ "mutation_code",
11033
+ "acs_access_group_id",
11034
+ "variant"
11035
+ ],
11036
+ type: "object"
10937
11037
  }
10938
11038
  ]
10939
11039
  },
@@ -30834,6 +30934,43 @@ var openapi_default = {
30834
30934
  "to"
30835
30935
  ],
30836
30936
  type: "object"
30937
+ },
30938
+ {
30939
+ description: "A scheduled user membership change is pending for this access group.",
30940
+ properties: {
30941
+ acs_user_id: {
30942
+ description: "ID of the user involved in the scheduled change.",
30943
+ format: "uuid",
30944
+ type: "string"
30945
+ },
30946
+ created_at: {
30947
+ description: "Date and time at which the mutation was created.",
30948
+ format: "date-time",
30949
+ type: "string"
30950
+ },
30951
+ message: {
30952
+ description: "Detailed description of the mutation.",
30953
+ type: "string"
30954
+ },
30955
+ mutation_code: {
30956
+ description: "Mutation code to indicate that a scheduled user membership change is pending for this access group.",
30957
+ enum: ["deferring_user_membership_update"],
30958
+ type: "string"
30959
+ },
30960
+ variant: {
30961
+ description: "Whether the user is scheduled to be added to or removed from this access group.",
30962
+ enum: ["adding", "removing"],
30963
+ type: "string"
30964
+ }
30965
+ },
30966
+ required: [
30967
+ "created_at",
30968
+ "message",
30969
+ "mutation_code",
30970
+ "acs_user_id",
30971
+ "variant"
30972
+ ],
30973
+ type: "object"
30837
30974
  }
30838
30975
  ]
30839
30976
  },
@@ -31799,6 +31936,43 @@ var openapi_default = {
31799
31936
  "to"
31800
31937
  ],
31801
31938
  type: "object"
31939
+ },
31940
+ {
31941
+ description: "A scheduled access group membership change is pending for this user.",
31942
+ properties: {
31943
+ acs_access_group_id: {
31944
+ description: "ID of the access group involved in the scheduled change.",
31945
+ format: "uuid",
31946
+ type: "string"
31947
+ },
31948
+ created_at: {
31949
+ description: "Date and time at which the mutation was created.",
31950
+ format: "date-time",
31951
+ type: "string"
31952
+ },
31953
+ message: {
31954
+ description: "Detailed description of the mutation.",
31955
+ type: "string"
31956
+ },
31957
+ mutation_code: {
31958
+ description: "Mutation code to indicate that a scheduled access group membership change is pending for this user.",
31959
+ enum: ["deferring_group_membership_update"],
31960
+ type: "string"
31961
+ },
31962
+ variant: {
31963
+ description: "Whether the user is scheduled to be added to or removed from the access group.",
31964
+ enum: ["adding", "removing"],
31965
+ type: "string"
31966
+ }
31967
+ },
31968
+ required: [
31969
+ "created_at",
31970
+ "message",
31971
+ "mutation_code",
31972
+ "acs_access_group_id",
31973
+ "variant"
31974
+ ],
31975
+ type: "object"
31802
31976
  }
31803
31977
  ]
31804
31978
  },