@seamapi/types 1.528.0 → 1.530.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
@@ -4287,7 +4287,10 @@ var access_method_event = common_event.extend({
4287
4287
  )
4288
4288
  });
4289
4289
  var access_method_issued_event = access_method_event.extend({
4290
- event_type: zod.z.literal("access_method.issued")
4290
+ event_type: zod.z.literal("access_method.issued"),
4291
+ code: zod.z.string().optional().describe(
4292
+ "The actual PIN code for code access methods (only present when mode is 'code')."
4293
+ )
4291
4294
  }).describe(`
4292
4295
  ---
4293
4296
  route_path: /access_methods
@@ -18568,6 +18571,10 @@ var openapi_default = {
18568
18571
  format: "uuid",
18569
18572
  type: "string"
18570
18573
  },
18574
+ code: {
18575
+ description: "The actual PIN code for code access methods (only present when mode is 'code').",
18576
+ type: "string"
18577
+ },
18571
18578
  created_at: {
18572
18579
  description: "Date and time at which the event was created.",
18573
18580
  format: "date-time",
@@ -43453,6 +43460,54 @@ var openapi_default = {
43453
43460
  "x-title": "Simulate Hub Disconnection"
43454
43461
  }
43455
43462
  },
43463
+ "/devices/simulate/paid_subscription": {
43464
+ post: {
43465
+ description: "Toggle the simulated Nuki Smart Hosting subscription for a device (sandbox only).\nSend `is_expired: true` to simulate an expired subscription, or `false` to simulate an active subscription.\nThe actual device error is created/cleared by the poller after this state change.",
43466
+ operationId: "devicesSimulatePaidSubscriptionPost",
43467
+ requestBody: {
43468
+ content: {
43469
+ "application/json": {
43470
+ schema: {
43471
+ properties: {
43472
+ device_id: { format: "uuid", type: "string" },
43473
+ is_expired: { type: "boolean" }
43474
+ },
43475
+ required: ["device_id", "is_expired"],
43476
+ type: "object"
43477
+ }
43478
+ }
43479
+ }
43480
+ },
43481
+ responses: {
43482
+ 200: {
43483
+ content: {
43484
+ "application/json": {
43485
+ schema: {
43486
+ properties: { ok: { type: "boolean" } },
43487
+ required: ["ok"],
43488
+ type: "object"
43489
+ }
43490
+ }
43491
+ },
43492
+ description: "OK"
43493
+ },
43494
+ 400: { description: "Bad Request" },
43495
+ 401: { description: "Unauthorized" }
43496
+ },
43497
+ security: [
43498
+ { api_key: [] },
43499
+ { pat_with_workspace: [] },
43500
+ { console_session_with_workspace: [] },
43501
+ { client_session_with_customer: [] }
43502
+ ],
43503
+ summary: "/devices/simulate/paid_subscription",
43504
+ tags: ["/devices"],
43505
+ "x-fern-sdk-group-name": ["devices", "simulate"],
43506
+ "x-fern-sdk-method-name": "paid_subscription",
43507
+ "x-response-key": null,
43508
+ "x-title": "Simulate Paid Subscription"
43509
+ }
43510
+ },
43456
43511
  "/devices/simulate/remove": {
43457
43512
  post: {
43458
43513
  description: "Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).",