@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.
@@ -34095,6 +34095,18 @@ export type Routes = {
34095
34095
  formData: {};
34096
34096
  jsonResponse: {};
34097
34097
  };
34098
+ '/devices/simulate/paid_subscription': {
34099
+ route: '/devices/simulate/paid_subscription';
34100
+ method: 'POST';
34101
+ queryParams: {};
34102
+ jsonBody: {
34103
+ device_id: string;
34104
+ is_expired: boolean;
34105
+ };
34106
+ commonParams: {};
34107
+ formData: {};
34108
+ jsonResponse: {};
34109
+ };
34098
34110
  '/devices/simulate/remove': {
34099
34111
  route: '/devices/simulate/remove';
34100
34112
  method: 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.529.0",
3
+ "version": "1.530.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -41530,6 +41530,55 @@ export default {
41530
41530
  'x-title': 'Simulate Hub Disconnection',
41531
41531
  },
41532
41532
  },
41533
+ '/devices/simulate/paid_subscription': {
41534
+ post: {
41535
+ description:
41536
+ '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.',
41537
+ operationId: 'devicesSimulatePaidSubscriptionPost',
41538
+ requestBody: {
41539
+ content: {
41540
+ 'application/json': {
41541
+ schema: {
41542
+ properties: {
41543
+ device_id: { format: 'uuid', type: 'string' },
41544
+ is_expired: { type: 'boolean' },
41545
+ },
41546
+ required: ['device_id', 'is_expired'],
41547
+ type: 'object',
41548
+ },
41549
+ },
41550
+ },
41551
+ },
41552
+ responses: {
41553
+ 200: {
41554
+ content: {
41555
+ 'application/json': {
41556
+ schema: {
41557
+ properties: { ok: { type: 'boolean' } },
41558
+ required: ['ok'],
41559
+ type: 'object',
41560
+ },
41561
+ },
41562
+ },
41563
+ description: 'OK',
41564
+ },
41565
+ 400: { description: 'Bad Request' },
41566
+ 401: { description: 'Unauthorized' },
41567
+ },
41568
+ security: [
41569
+ { api_key: [] },
41570
+ { pat_with_workspace: [] },
41571
+ { console_session_with_workspace: [] },
41572
+ { client_session_with_customer: [] },
41573
+ ],
41574
+ summary: '/devices/simulate/paid_subscription',
41575
+ tags: ['/devices'],
41576
+ 'x-fern-sdk-group-name': ['devices', 'simulate'],
41577
+ 'x-fern-sdk-method-name': 'paid_subscription',
41578
+ 'x-response-key': null,
41579
+ 'x-title': 'Simulate Paid Subscription',
41580
+ },
41581
+ },
41533
41582
  '/devices/simulate/remove': {
41534
41583
  post: {
41535
41584
  description:
@@ -39955,6 +39955,18 @@ export type Routes = {
39955
39955
  formData: {}
39956
39956
  jsonResponse: {}
39957
39957
  }
39958
+ '/devices/simulate/paid_subscription': {
39959
+ route: '/devices/simulate/paid_subscription'
39960
+ method: 'POST'
39961
+ queryParams: {}
39962
+ jsonBody: {
39963
+ device_id: string
39964
+ is_expired: boolean
39965
+ }
39966
+ commonParams: {}
39967
+ formData: {}
39968
+ jsonResponse: {}
39969
+ }
39958
39970
  '/devices/simulate/remove': {
39959
39971
  route: '/devices/simulate/remove'
39960
39972
  method: 'POST'