@seamapi/types 1.837.0 → 1.839.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
@@ -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
  },
@@ -73215,6 +73336,11 @@ var openapi = {
73215
73336
  items: { format: "uuid", type: "string" },
73216
73337
  type: "array"
73217
73338
  },
73339
+ connected_account_ids: {
73340
+ description: "IDs of connected accounts (third-party accounts) to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account a space came from.",
73341
+ items: { format: "uuid", type: "string" },
73342
+ type: "array"
73343
+ },
73218
73344
  device_ids: {
73219
73345
  description: "IDs of the devices that you want to add to the new space.",
73220
73346
  items: { format: "uuid", type: "string" },
@@ -74765,6 +74891,10 @@ var openapi = {
74765
74891
  },
74766
74892
  type: "array"
74767
74893
  },
74894
+ connected_account_ids: {
74895
+ items: { format: "uuid", type: "string" },
74896
+ type: "array"
74897
+ },
74768
74898
  devices: {
74769
74899
  items: {
74770
74900
  properties: {
@@ -74797,7 +74927,8 @@ var openapi = {
74797
74927
  "name",
74798
74928
  "partner_resource_key",
74799
74929
  "devices",
74800
- "acs_entrances"
74930
+ "acs_entrances",
74931
+ "connected_account_ids"
74801
74932
  ],
74802
74933
  type: "object"
74803
74934
  },
@@ -74893,6 +75024,10 @@ var openapi = {
74893
75024
  },
74894
75025
  type: "array"
74895
75026
  },
75027
+ connected_account_ids: {
75028
+ items: { format: "uuid", type: "string" },
75029
+ type: "array"
75030
+ },
74896
75031
  devices: {
74897
75032
  items: {
74898
75033
  properties: {
@@ -74925,7 +75060,8 @@ var openapi = {
74925
75060
  "name",
74926
75061
  "partner_resource_key",
74927
75062
  "devices",
74928
- "acs_entrances"
75063
+ "acs_entrances",
75064
+ "connected_account_ids"
74929
75065
  ],
74930
75066
  type: "object"
74931
75067
  },
@@ -75311,6 +75447,11 @@ var openapi = {
75311
75447
  items: { format: "uuid", type: "string" },
75312
75448
  type: "array"
75313
75449
  },
75450
+ connected_account_ids: {
75451
+ description: "IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from.",
75452
+ items: { format: "uuid", type: "string" },
75453
+ type: "array"
75454
+ },
75314
75455
  customer_data: {
75315
75456
  description: "Reservation/stay-related defaults for the space.",
75316
75457
  properties: {