@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.
@@ -31964,6 +31964,82 @@ declare const _default: {
31964
31964
  'x-title': string;
31965
31965
  };
31966
31966
  };
31967
+ '/devices/simulate/paid_subscription': {
31968
+ post: {
31969
+ description: string;
31970
+ operationId: string;
31971
+ requestBody: {
31972
+ content: {
31973
+ 'application/json': {
31974
+ schema: {
31975
+ properties: {
31976
+ device_id: {
31977
+ format: string;
31978
+ type: string;
31979
+ };
31980
+ is_expired: {
31981
+ type: string;
31982
+ };
31983
+ };
31984
+ required: string[];
31985
+ type: string;
31986
+ };
31987
+ };
31988
+ };
31989
+ };
31990
+ responses: {
31991
+ 200: {
31992
+ content: {
31993
+ 'application/json': {
31994
+ schema: {
31995
+ properties: {
31996
+ ok: {
31997
+ type: string;
31998
+ };
31999
+ };
32000
+ required: string[];
32001
+ type: string;
32002
+ };
32003
+ };
32004
+ };
32005
+ description: string;
32006
+ };
32007
+ 400: {
32008
+ description: string;
32009
+ };
32010
+ 401: {
32011
+ description: string;
32012
+ };
32013
+ };
32014
+ security: ({
32015
+ api_key: never[];
32016
+ pat_with_workspace?: never;
32017
+ console_session_with_workspace?: never;
32018
+ client_session_with_customer?: never;
32019
+ } | {
32020
+ pat_with_workspace: never[];
32021
+ api_key?: never;
32022
+ console_session_with_workspace?: never;
32023
+ client_session_with_customer?: never;
32024
+ } | {
32025
+ console_session_with_workspace: never[];
32026
+ api_key?: never;
32027
+ pat_with_workspace?: never;
32028
+ client_session_with_customer?: never;
32029
+ } | {
32030
+ client_session_with_customer: never[];
32031
+ api_key?: never;
32032
+ pat_with_workspace?: never;
32033
+ console_session_with_workspace?: never;
32034
+ })[];
32035
+ summary: string;
32036
+ tags: string[];
32037
+ 'x-fern-sdk-group-name': string[];
32038
+ 'x-fern-sdk-method-name': string;
32039
+ 'x-response-key': null;
32040
+ 'x-title': string;
32041
+ };
32042
+ };
31967
32043
  '/devices/simulate/remove': {
31968
32044
  post: {
31969
32045
  description: string;
@@ -37902,6 +37902,54 @@ export default {
37902
37902
  'x-title': 'Simulate Hub Disconnection',
37903
37903
  },
37904
37904
  },
37905
+ '/devices/simulate/paid_subscription': {
37906
+ post: {
37907
+ 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.',
37908
+ operationId: 'devicesSimulatePaidSubscriptionPost',
37909
+ requestBody: {
37910
+ content: {
37911
+ 'application/json': {
37912
+ schema: {
37913
+ properties: {
37914
+ device_id: { format: 'uuid', type: 'string' },
37915
+ is_expired: { type: 'boolean' },
37916
+ },
37917
+ required: ['device_id', 'is_expired'],
37918
+ type: 'object',
37919
+ },
37920
+ },
37921
+ },
37922
+ },
37923
+ responses: {
37924
+ 200: {
37925
+ content: {
37926
+ 'application/json': {
37927
+ schema: {
37928
+ properties: { ok: { type: 'boolean' } },
37929
+ required: ['ok'],
37930
+ type: 'object',
37931
+ },
37932
+ },
37933
+ },
37934
+ description: 'OK',
37935
+ },
37936
+ 400: { description: 'Bad Request' },
37937
+ 401: { description: 'Unauthorized' },
37938
+ },
37939
+ security: [
37940
+ { api_key: [] },
37941
+ { pat_with_workspace: [] },
37942
+ { console_session_with_workspace: [] },
37943
+ { client_session_with_customer: [] },
37944
+ ],
37945
+ summary: '/devices/simulate/paid_subscription',
37946
+ tags: ['/devices'],
37947
+ 'x-fern-sdk-group-name': ['devices', 'simulate'],
37948
+ 'x-fern-sdk-method-name': 'paid_subscription',
37949
+ 'x-response-key': null,
37950
+ 'x-title': 'Simulate Paid Subscription',
37951
+ },
37952
+ },
37905
37953
  '/devices/simulate/remove': {
37906
37954
  post: {
37907
37955
  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).',