@seamapi/types 1.529.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.
@@ -82601,6 +82601,82 @@ declare const _default: {
82601
82601
  'x-title': string;
82602
82602
  };
82603
82603
  };
82604
+ '/devices/simulate/paid_subscription': {
82605
+ post: {
82606
+ description: string;
82607
+ operationId: string;
82608
+ requestBody: {
82609
+ content: {
82610
+ 'application/json': {
82611
+ schema: {
82612
+ properties: {
82613
+ device_id: {
82614
+ format: string;
82615
+ type: string;
82616
+ };
82617
+ is_expired: {
82618
+ type: string;
82619
+ };
82620
+ };
82621
+ required: string[];
82622
+ type: string;
82623
+ };
82624
+ };
82625
+ };
82626
+ };
82627
+ responses: {
82628
+ 200: {
82629
+ content: {
82630
+ 'application/json': {
82631
+ schema: {
82632
+ properties: {
82633
+ ok: {
82634
+ type: string;
82635
+ };
82636
+ };
82637
+ required: string[];
82638
+ type: string;
82639
+ };
82640
+ };
82641
+ };
82642
+ description: string;
82643
+ };
82644
+ 400: {
82645
+ description: string;
82646
+ };
82647
+ 401: {
82648
+ description: string;
82649
+ };
82650
+ };
82651
+ security: ({
82652
+ api_key: never[];
82653
+ pat_with_workspace?: never;
82654
+ console_session_with_workspace?: never;
82655
+ client_session_with_customer?: never;
82656
+ } | {
82657
+ pat_with_workspace: never[];
82658
+ api_key?: never;
82659
+ console_session_with_workspace?: never;
82660
+ client_session_with_customer?: never;
82661
+ } | {
82662
+ console_session_with_workspace: never[];
82663
+ api_key?: never;
82664
+ pat_with_workspace?: never;
82665
+ client_session_with_customer?: never;
82666
+ } | {
82667
+ client_session_with_customer: never[];
82668
+ api_key?: never;
82669
+ pat_with_workspace?: never;
82670
+ console_session_with_workspace?: never;
82671
+ })[];
82672
+ summary: string;
82673
+ tags: string[];
82674
+ 'x-fern-sdk-group-name': string[];
82675
+ 'x-fern-sdk-method-name': string;
82676
+ 'x-response-key': null;
82677
+ 'x-title': string;
82678
+ };
82679
+ };
82604
82680
  '/devices/simulate/remove': {
82605
82681
  post: {
82606
82682
  description: string;
@@ -135340,6 +135416,18 @@ type Routes = {
135340
135416
  formData: {};
135341
135417
  jsonResponse: {};
135342
135418
  };
135419
+ '/devices/simulate/paid_subscription': {
135420
+ route: '/devices/simulate/paid_subscription';
135421
+ method: 'POST';
135422
+ queryParams: {};
135423
+ jsonBody: {
135424
+ device_id: string;
135425
+ is_expired: boolean;
135426
+ };
135427
+ commonParams: {};
135428
+ formData: {};
135429
+ jsonResponse: {};
135430
+ };
135343
135431
  '/devices/simulate/remove': {
135344
135432
  route: '/devices/simulate/remove';
135345
135433
  method: 'POST';
package/dist/index.cjs CHANGED
@@ -43460,6 +43460,54 @@ var openapi_default = {
43460
43460
  "x-title": "Simulate Hub Disconnection"
43461
43461
  }
43462
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
+ },
43463
43511
  "/devices/simulate/remove": {
43464
43512
  post: {
43465
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).",