@seamapi/types 1.964.0 → 1.965.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.
@@ -112955,7 +112955,7 @@ type Routes = {
112955
112955
  formData: {};
112956
112956
  jsonResponse: {
112957
112957
  /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
112958
- access_grant: {
112958
+ access_grant?: {
112959
112959
  /** ID of the Seam workspace associated with the Access Grant. */
112960
112960
  workspace_id: string;
112961
112961
  /** ID of the Access Grant. */
@@ -113133,7 +113133,7 @@ type Routes = {
113133
113133
  ends_at: string | null;
113134
113134
  };
113135
113135
  })[];
113136
- };
113136
+ } | undefined;
113137
113137
  spaces: {
113138
113138
  space_key: string;
113139
113139
  child_space_keys?: string[] | undefined;
@@ -113186,6 +113186,11 @@ type Routes = {
113186
113186
  /** List of unique identifiers for the spaces the staff member is associated with. */
113187
113187
  space_keys?: string[] | undefined;
113188
113188
  user_identity_id?: string | undefined;
113189
+ access_grant?: {
113190
+ starts_at: string;
113191
+ ends_at: string | null;
113192
+ created_at: string;
113193
+ } | undefined;
113189
113194
  }[];
113190
113195
  /** Information about the current page of results. */
113191
113196
  pagination: {
package/dist/index.cjs CHANGED
@@ -81325,7 +81325,7 @@ var openapi = {
81325
81325
  "x-undocumented": "Internal resource for customer portals."
81326
81326
  }
81327
81327
  },
81328
- required: ["access_grant", "spaces", "staff_member", "ok"],
81328
+ required: ["spaces", "staff_member", "ok"],
81329
81329
  type: "object"
81330
81330
  }
81331
81331
  }
@@ -81418,7 +81418,7 @@ var openapi = {
81418
81418
  "x-undocumented": "Internal resource for customer portals."
81419
81419
  }
81420
81420
  },
81421
- required: ["access_grant", "spaces", "staff_member", "ok"],
81421
+ required: ["spaces", "staff_member", "ok"],
81422
81422
  type: "object"
81423
81423
  }
81424
81424
  }
@@ -81503,6 +81503,9 @@ var openapi = {
81503
81503
  items: {
81504
81504
  description: "Represents a staff member for a specific customer.",
81505
81505
  properties: {
81506
+ access_grant: {
81507
+ $ref: "#/components/schemas/access_grant"
81508
+ },
81506
81509
  email_address: {
81507
81510
  description: "Email address associated with the user identity.",
81508
81511
  type: "string"
@@ -81606,6 +81609,9 @@ var openapi = {
81606
81609
  items: {
81607
81610
  description: "Represents a staff member for a specific customer.",
81608
81611
  properties: {
81612
+ access_grant: {
81613
+ $ref: "#/components/schemas/access_grant"
81614
+ },
81609
81615
  email_address: {
81610
81616
  description: "Email address associated with the user identity.",
81611
81617
  type: "string"