@seamapi/types 1.837.0 → 1.838.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/index.cjs CHANGED
@@ -4077,6 +4077,19 @@ var deferring_group_membership_update_mutation = common_pending_mutation5.extend
4077
4077
  }).describe(
4078
4078
  "A scheduled access group membership change is pending for this user."
4079
4079
  );
4080
+ var updating_credential_assignment_mutation = common_pending_mutation5.extend({
4081
+ mutation_code: zod.z.literal("updating_credential_assignment").describe(
4082
+ "Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system."
4083
+ ),
4084
+ from: zod.z.object({
4085
+ acs_credential_id: zod.z.string().uuid().nullable().describe("Previous credential ID.")
4086
+ }).describe("Previous credential assignment."),
4087
+ to: zod.z.object({
4088
+ acs_credential_id: zod.z.string().uuid().nullable().describe("New credential ID.")
4089
+ }).describe("New credential assignment.")
4090
+ }).describe(
4091
+ "Seam is in the process of assigning or unassigning a credential to the user on the integrated access system."
4092
+ );
4080
4093
  var acs_user_pending_mutations = zod.z.discriminatedUnion(
4081
4094
  "mutation_code",
4082
4095
  [
@@ -4087,7 +4100,8 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
4087
4100
  updating_access_schedule_mutation,
4088
4101
  updating_suspension_state_mutation,
4089
4102
  updating_group_membership_mutation,
4090
- deferring_group_membership_update_mutation
4103
+ deferring_group_membership_update_mutation,
4104
+ updating_credential_assignment_mutation
4091
4105
  ]
4092
4106
  );
4093
4107
  zod.z.object({
@@ -4097,6 +4111,7 @@ zod.z.object({
4097
4111
  updating_access_schedule: updating_access_schedule_mutation.optional().nullable(),
4098
4112
  updating_group_membership: zod.z.record(zod.z.string().uuid(), updating_group_membership_mutation).optional().nullable(),
4099
4113
  deferring_group_membership_update: zod.z.record(zod.z.string().uuid(), deferring_group_membership_update_mutation).optional().nullable(),
4114
+ updating_credential_assignment: zod.z.record(zod.z.string().uuid(), updating_credential_assignment_mutation).optional().nullable(),
4100
4115
  updating_suspension_state: updating_suspension_state_mutation.optional().nullable(),
4101
4116
  "updating_user_information.full_name": common_pending_mutation5.extend({
4102
4117
  mutation_code: zod.z.literal("updating_user_information"),
@@ -11977,6 +11992,59 @@ var openapi = {
11977
11992
  "variant"
11978
11993
  ],
11979
11994
  type: "object"
11995
+ },
11996
+ {
11997
+ description: "Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.",
11998
+ properties: {
11999
+ created_at: {
12000
+ description: "Date and time at which the mutation was created.",
12001
+ format: "date-time",
12002
+ type: "string"
12003
+ },
12004
+ from: {
12005
+ description: "Previous credential assignment.",
12006
+ properties: {
12007
+ acs_credential_id: {
12008
+ description: "Previous credential ID.",
12009
+ format: "uuid",
12010
+ nullable: true,
12011
+ type: "string"
12012
+ }
12013
+ },
12014
+ required: ["acs_credential_id"],
12015
+ type: "object"
12016
+ },
12017
+ message: {
12018
+ description: "Detailed description of the mutation.",
12019
+ type: "string"
12020
+ },
12021
+ mutation_code: {
12022
+ description: "Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.",
12023
+ enum: ["updating_credential_assignment"],
12024
+ type: "string"
12025
+ },
12026
+ to: {
12027
+ description: "New credential assignment.",
12028
+ properties: {
12029
+ acs_credential_id: {
12030
+ description: "New credential ID.",
12031
+ format: "uuid",
12032
+ nullable: true,
12033
+ type: "string"
12034
+ }
12035
+ },
12036
+ required: ["acs_credential_id"],
12037
+ type: "object"
12038
+ }
12039
+ },
12040
+ required: [
12041
+ "created_at",
12042
+ "message",
12043
+ "mutation_code",
12044
+ "from",
12045
+ "to"
12046
+ ],
12047
+ type: "object"
11980
12048
  }
11981
12049
  ]
11982
12050
  },
@@ -33632,6 +33700,59 @@ var openapi = {
33632
33700
  "variant"
33633
33701
  ],
33634
33702
  type: "object"
33703
+ },
33704
+ {
33705
+ description: "Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.",
33706
+ properties: {
33707
+ created_at: {
33708
+ description: "Date and time at which the mutation was created.",
33709
+ format: "date-time",
33710
+ type: "string"
33711
+ },
33712
+ from: {
33713
+ description: "Previous credential assignment.",
33714
+ properties: {
33715
+ acs_credential_id: {
33716
+ description: "Previous credential ID.",
33717
+ format: "uuid",
33718
+ nullable: true,
33719
+ type: "string"
33720
+ }
33721
+ },
33722
+ required: ["acs_credential_id"],
33723
+ type: "object"
33724
+ },
33725
+ message: {
33726
+ description: "Detailed description of the mutation.",
33727
+ type: "string"
33728
+ },
33729
+ mutation_code: {
33730
+ description: "Mutation code to indicate that Seam is in the process of assigning or unassigning a credential to the user on the integrated access system.",
33731
+ enum: ["updating_credential_assignment"],
33732
+ type: "string"
33733
+ },
33734
+ to: {
33735
+ description: "New credential assignment.",
33736
+ properties: {
33737
+ acs_credential_id: {
33738
+ description: "New credential ID.",
33739
+ format: "uuid",
33740
+ nullable: true,
33741
+ type: "string"
33742
+ }
33743
+ },
33744
+ required: ["acs_credential_id"],
33745
+ type: "object"
33746
+ }
33747
+ },
33748
+ required: [
33749
+ "created_at",
33750
+ "message",
33751
+ "mutation_code",
33752
+ "from",
33753
+ "to"
33754
+ ],
33755
+ type: "object"
33635
33756
  }
33636
33757
  ]
33637
33758
  },