@seamapi/types 1.516.0 → 1.518.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
@@ -2262,6 +2262,9 @@ var requested_access_method = zod.z.object({
2262
2262
  mode: zod.z.enum(["code", "card", "mobile_key"]).describe(
2263
2263
  "Access method mode. Supported values: `code`, `card`, `mobile_key`."
2264
2264
  ),
2265
+ code: zod.z.string().min(4).max(9).regex(/^\d+$/, "Must only contain digits").optional().describe(
2266
+ "Specific PIN code to use for this access method. Only applicable when mode is 'code'."
2267
+ ),
2265
2268
  created_at: zod.z.string().datetime().describe(
2266
2269
  "Date and time at which the requested access method was added to the Access Grant."
2267
2270
  ),
@@ -7177,6 +7180,13 @@ var openapi_default = {
7177
7180
  description: "Access methods that the user requested for the Access Grant.",
7178
7181
  items: {
7179
7182
  properties: {
7183
+ code: {
7184
+ description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
7185
+ maxLength: 9,
7186
+ minLength: 4,
7187
+ pattern: "^\\d+$",
7188
+ type: "string"
7189
+ },
7180
7190
  created_access_method_ids: {
7181
7191
  description: "IDs of the access methods created for the requested access method.",
7182
7192
  items: { format: "uuid", type: "string" },
@@ -30661,6 +30671,13 @@ var openapi_default = {
30661
30671
  requested_access_methods: {
30662
30672
  items: {
30663
30673
  properties: {
30674
+ code: {
30675
+ description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
30676
+ maxLength: 9,
30677
+ minLength: 4,
30678
+ pattern: "^\\d+$",
30679
+ type: "string"
30680
+ },
30664
30681
  mode: {
30665
30682
  description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
30666
30683
  enum: ["code", "card", "mobile_key"],
@@ -31190,6 +31207,14 @@ var openapi_default = {
31190
31207
  description: "Gets an Access Grant.",
31191
31208
  operationId: "accessGrantsListGet",
31192
31209
  parameters: [
31210
+ {
31211
+ in: "query",
31212
+ name: "customer_key",
31213
+ schema: {
31214
+ description: "Customer key for which you want to list access grants.",
31215
+ type: "string"
31216
+ }
31217
+ },
31193
31218
  {
31194
31219
  in: "query",
31195
31220
  name: "user_identity_id",
@@ -31304,6 +31329,10 @@ var openapi_default = {
31304
31329
  format: "uuid",
31305
31330
  type: "string"
31306
31331
  },
31332
+ customer_key: {
31333
+ description: "Customer key for which you want to list access grants.",
31334
+ type: "string"
31335
+ },
31307
31336
  location_id: {
31308
31337
  deprecated: true,
31309
31338
  format: "uuid",
@@ -44621,6 +44650,14 @@ var openapi_default = {
44621
44650
  description: "Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://docs.seam.co/latest/developer-tools/webhooks), but it enables you to filter or see events that already took place.",
44622
44651
  operationId: "eventsListGet",
44623
44652
  parameters: [
44653
+ {
44654
+ in: "query",
44655
+ name: "customer_key",
44656
+ schema: {
44657
+ description: "Customer key for which you want to list events.",
44658
+ type: "string"
44659
+ }
44660
+ },
44624
44661
  {
44625
44662
  in: "query",
44626
44663
  name: "unstable_offset",
@@ -44947,15 +44984,6 @@ var openapi_default = {
44947
44984
  items: { format: "uuid", type: "string" },
44948
44985
  type: "array"
44949
44986
  }
44950
- },
44951
- {
44952
- in: "query",
44953
- name: "customer_ids",
44954
- schema: {
44955
- description: "IDs of the customers for which you want to list events.",
44956
- items: { format: "uuid", type: "string" },
44957
- type: "array"
44958
- }
44959
44987
  }
44960
44988
  ],
44961
44989
  responses: {
@@ -45045,10 +45073,9 @@ var openapi_default = {
45045
45073
  format: "uuid",
45046
45074
  type: "string"
45047
45075
  },
45048
- customer_ids: {
45049
- description: "IDs of the customers for which you want to list events.",
45050
- items: { format: "uuid", type: "string" },
45051
- type: "array"
45076
+ customer_key: {
45077
+ description: "Customer key for which you want to list events.",
45078
+ type: "string"
45052
45079
  },
45053
45080
  device_id: {
45054
45081
  description: "ID of the device for which you want to list events.",
@@ -52128,6 +52155,14 @@ var openapi_default = {
52128
52155
  description: "Returns a list of all spaces.",
52129
52156
  operationId: "spacesListGet",
52130
52157
  parameters: [
52158
+ {
52159
+ in: "query",
52160
+ name: "customer_key",
52161
+ schema: {
52162
+ description: "Customer key for which you want to list spaces.",
52163
+ type: "string"
52164
+ }
52165
+ },
52131
52166
  {
52132
52167
  in: "query",
52133
52168
  name: "search",
@@ -52209,6 +52244,10 @@ var openapi_default = {
52209
52244
  "x-draft": "Needs review.",
52210
52245
  "x-undocumented": "Only used internally."
52211
52246
  },
52247
+ customer_key: {
52248
+ description: "Customer key for which you want to list spaces.",
52249
+ type: "string"
52250
+ },
52212
52251
  search: {
52213
52252
  description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
52214
52253
  minLength: 1,
@@ -58561,6 +58600,16 @@ var openapi_default = {
58561
58600
  get: {
58562
58601
  description: "Retrieves the customization profile for the workspace.",
58563
58602
  operationId: "workspacesCustomizationProfilesListGet",
58603
+ parameters: [
58604
+ {
58605
+ in: "query",
58606
+ name: "customer_key",
58607
+ schema: {
58608
+ description: "Customer key for which you want to list customization profiles.",
58609
+ type: "string"
58610
+ }
58611
+ }
58612
+ ],
58564
58613
  responses: {
58565
58614
  200: {
58566
58615
  content: {
@@ -58603,6 +58652,21 @@ var openapi_default = {
58603
58652
  post: {
58604
58653
  description: "Retrieves the customization profile for the workspace.",
58605
58654
  operationId: "workspacesCustomizationProfilesListPost",
58655
+ requestBody: {
58656
+ content: {
58657
+ "application/json": {
58658
+ schema: {
58659
+ properties: {
58660
+ customer_key: {
58661
+ description: "Customer key for which you want to list customization profiles.",
58662
+ type: "string"
58663
+ }
58664
+ },
58665
+ type: "object"
58666
+ }
58667
+ }
58668
+ }
58669
+ },
58606
58670
  responses: {
58607
58671
  200: {
58608
58672
  content: {