@seamapi/types 1.529.0 → 1.531.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 +82 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +154 -3
- package/dist/index.cjs +82 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -2
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +113 -0
- package/lib/seam/connect/openapi.js +80 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +84 -2
- package/src/lib/seam/connect/route-types.ts +35 -1
|
@@ -32851,7 +32851,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
32851
32851
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
32852
32852
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
32853
32853
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
32854
|
-
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
32854
|
+
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
32855
32855
|
is_managed: z.ZodLiteral<false>;
|
|
32856
32856
|
properties: z.ZodObject<Pick<{
|
|
32857
32857
|
online: z.ZodBoolean;
|
|
@@ -33183,6 +33183,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33183
33183
|
created_at: string;
|
|
33184
33184
|
warning_code: "unknown_issue_with_phone";
|
|
33185
33185
|
})[];
|
|
33186
|
+
custom_metadata: Record<string, string | boolean>;
|
|
33186
33187
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
33187
33188
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
33188
33189
|
properties: {
|
|
@@ -33414,6 +33415,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
33414
33415
|
created_at: string;
|
|
33415
33416
|
warning_code: "unknown_issue_with_phone";
|
|
33416
33417
|
})[];
|
|
33418
|
+
custom_metadata: Record<string, string | boolean>;
|
|
33417
33419
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
33418
33420
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
33419
33421
|
properties: {
|
|
@@ -42502,6 +42504,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42502
42504
|
created_at: string;
|
|
42503
42505
|
warning_code: "unknown_issue_with_phone";
|
|
42504
42506
|
})[];
|
|
42507
|
+
custom_metadata: Record<string, string | boolean>;
|
|
42505
42508
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
42506
42509
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
42507
42510
|
properties: {
|
|
@@ -46425,6 +46428,7 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46425
46428
|
created_at: string;
|
|
46426
46429
|
warning_code: "unknown_issue_with_phone";
|
|
46427
46430
|
})[];
|
|
46431
|
+
custom_metadata: Record<string, string | boolean>;
|
|
46428
46432
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
46429
46433
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
46430
46434
|
properties: {
|
|
@@ -61465,7 +61469,7 @@ export declare const batch: z.ZodObject<{
|
|
|
61465
61469
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
61466
61470
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
61467
61471
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
61468
|
-
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
61472
|
+
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
61469
61473
|
is_managed: z.ZodLiteral<false>;
|
|
61470
61474
|
properties: z.ZodObject<Pick<{
|
|
61471
61475
|
online: z.ZodBoolean;
|
|
@@ -61797,6 +61801,7 @@ export declare const batch: z.ZodObject<{
|
|
|
61797
61801
|
created_at: string;
|
|
61798
61802
|
warning_code: "unknown_issue_with_phone";
|
|
61799
61803
|
})[];
|
|
61804
|
+
custom_metadata: Record<string, string | boolean>;
|
|
61800
61805
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
61801
61806
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
61802
61807
|
properties: {
|
|
@@ -62028,6 +62033,7 @@ export declare const batch: z.ZodObject<{
|
|
|
62028
62033
|
created_at: string;
|
|
62029
62034
|
warning_code: "unknown_issue_with_phone";
|
|
62030
62035
|
})[];
|
|
62036
|
+
custom_metadata: Record<string, string | boolean>;
|
|
62031
62037
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
62032
62038
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
62033
62039
|
properties: {
|
|
@@ -70663,6 +70669,7 @@ export declare const batch: z.ZodObject<{
|
|
|
70663
70669
|
created_at: string;
|
|
70664
70670
|
warning_code: "unknown_issue_with_phone";
|
|
70665
70671
|
})[];
|
|
70672
|
+
custom_metadata: Record<string, string | boolean>;
|
|
70666
70673
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
70667
70674
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
70668
70675
|
properties: {
|
|
@@ -74515,6 +74522,7 @@ export declare const batch: z.ZodObject<{
|
|
|
74515
74522
|
created_at: string;
|
|
74516
74523
|
warning_code: "unknown_issue_with_phone";
|
|
74517
74524
|
})[];
|
|
74525
|
+
custom_metadata: Record<string, string | boolean>;
|
|
74518
74526
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
74519
74527
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
74520
74528
|
properties: {
|
|
@@ -2753,7 +2753,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2753
2753
|
can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
|
|
2754
2754
|
can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
2755
2755
|
can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
|
|
2756
|
-
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
|
|
2756
|
+
}, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
2757
2757
|
is_managed: z.ZodLiteral<false>;
|
|
2758
2758
|
properties: z.ZodObject<Pick<{
|
|
2759
2759
|
online: z.ZodBoolean;
|
|
@@ -3085,6 +3085,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3085
3085
|
created_at: string;
|
|
3086
3086
|
warning_code: "unknown_issue_with_phone";
|
|
3087
3087
|
})[];
|
|
3088
|
+
custom_metadata: Record<string, string | boolean>;
|
|
3088
3089
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3089
3090
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3090
3091
|
properties: {
|
|
@@ -3316,6 +3317,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3316
3317
|
created_at: string;
|
|
3317
3318
|
warning_code: "unknown_issue_with_phone";
|
|
3318
3319
|
})[];
|
|
3320
|
+
custom_metadata: Record<string, string | boolean>;
|
|
3319
3321
|
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3320
3322
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3321
3323
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;CACtB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC;QACxC,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;GAmBb,CAAC;CACD,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;GAoBxC,CAAC,CAAA"}
|
|
@@ -12912,6 +12912,15 @@ declare const _default: {
|
|
|
12912
12912
|
format: string;
|
|
12913
12913
|
type: string;
|
|
12914
12914
|
};
|
|
12915
|
+
custom_metadata: {
|
|
12916
|
+
additionalProperties: {
|
|
12917
|
+
oneOf: {
|
|
12918
|
+
type: string;
|
|
12919
|
+
}[];
|
|
12920
|
+
};
|
|
12921
|
+
description: string;
|
|
12922
|
+
type: string;
|
|
12923
|
+
};
|
|
12915
12924
|
device_id: {
|
|
12916
12925
|
description: string;
|
|
12917
12926
|
format: string;
|
|
@@ -31964,6 +31973,82 @@ declare const _default: {
|
|
|
31964
31973
|
'x-title': string;
|
|
31965
31974
|
};
|
|
31966
31975
|
};
|
|
31976
|
+
'/devices/simulate/paid_subscription': {
|
|
31977
|
+
post: {
|
|
31978
|
+
description: string;
|
|
31979
|
+
operationId: string;
|
|
31980
|
+
requestBody: {
|
|
31981
|
+
content: {
|
|
31982
|
+
'application/json': {
|
|
31983
|
+
schema: {
|
|
31984
|
+
properties: {
|
|
31985
|
+
device_id: {
|
|
31986
|
+
format: string;
|
|
31987
|
+
type: string;
|
|
31988
|
+
};
|
|
31989
|
+
is_expired: {
|
|
31990
|
+
type: string;
|
|
31991
|
+
};
|
|
31992
|
+
};
|
|
31993
|
+
required: string[];
|
|
31994
|
+
type: string;
|
|
31995
|
+
};
|
|
31996
|
+
};
|
|
31997
|
+
};
|
|
31998
|
+
};
|
|
31999
|
+
responses: {
|
|
32000
|
+
200: {
|
|
32001
|
+
content: {
|
|
32002
|
+
'application/json': {
|
|
32003
|
+
schema: {
|
|
32004
|
+
properties: {
|
|
32005
|
+
ok: {
|
|
32006
|
+
type: string;
|
|
32007
|
+
};
|
|
32008
|
+
};
|
|
32009
|
+
required: string[];
|
|
32010
|
+
type: string;
|
|
32011
|
+
};
|
|
32012
|
+
};
|
|
32013
|
+
};
|
|
32014
|
+
description: string;
|
|
32015
|
+
};
|
|
32016
|
+
400: {
|
|
32017
|
+
description: string;
|
|
32018
|
+
};
|
|
32019
|
+
401: {
|
|
32020
|
+
description: string;
|
|
32021
|
+
};
|
|
32022
|
+
};
|
|
32023
|
+
security: ({
|
|
32024
|
+
api_key: never[];
|
|
32025
|
+
pat_with_workspace?: never;
|
|
32026
|
+
console_session_with_workspace?: never;
|
|
32027
|
+
client_session_with_customer?: never;
|
|
32028
|
+
} | {
|
|
32029
|
+
pat_with_workspace: never[];
|
|
32030
|
+
api_key?: never;
|
|
32031
|
+
console_session_with_workspace?: never;
|
|
32032
|
+
client_session_with_customer?: never;
|
|
32033
|
+
} | {
|
|
32034
|
+
console_session_with_workspace: never[];
|
|
32035
|
+
api_key?: never;
|
|
32036
|
+
pat_with_workspace?: never;
|
|
32037
|
+
client_session_with_customer?: never;
|
|
32038
|
+
} | {
|
|
32039
|
+
client_session_with_customer: never[];
|
|
32040
|
+
api_key?: never;
|
|
32041
|
+
pat_with_workspace?: never;
|
|
32042
|
+
console_session_with_workspace?: never;
|
|
32043
|
+
})[];
|
|
32044
|
+
summary: string;
|
|
32045
|
+
tags: string[];
|
|
32046
|
+
'x-fern-sdk-group-name': string[];
|
|
32047
|
+
'x-fern-sdk-method-name': string;
|
|
32048
|
+
'x-response-key': null;
|
|
32049
|
+
'x-title': string;
|
|
32050
|
+
};
|
|
32051
|
+
};
|
|
31967
32052
|
'/devices/simulate/remove': {
|
|
31968
32053
|
post: {
|
|
31969
32054
|
description: string;
|
|
@@ -32690,6 +32775,20 @@ declare const _default: {
|
|
|
32690
32775
|
'application/json': {
|
|
32691
32776
|
schema: {
|
|
32692
32777
|
properties: {
|
|
32778
|
+
custom_metadata: {
|
|
32779
|
+
additionalProperties: {
|
|
32780
|
+
nullable: boolean;
|
|
32781
|
+
oneOf: ({
|
|
32782
|
+
maxLength: number;
|
|
32783
|
+
type: string;
|
|
32784
|
+
} | {
|
|
32785
|
+
type: string;
|
|
32786
|
+
maxLength?: never;
|
|
32787
|
+
})[];
|
|
32788
|
+
};
|
|
32789
|
+
description: string;
|
|
32790
|
+
type: string;
|
|
32791
|
+
};
|
|
32693
32792
|
device_id: {
|
|
32694
32793
|
description: string;
|
|
32695
32794
|
format: string;
|
|
@@ -32759,6 +32858,20 @@ declare const _default: {
|
|
|
32759
32858
|
'application/json': {
|
|
32760
32859
|
schema: {
|
|
32761
32860
|
properties: {
|
|
32861
|
+
custom_metadata: {
|
|
32862
|
+
additionalProperties: {
|
|
32863
|
+
nullable: boolean;
|
|
32864
|
+
oneOf: ({
|
|
32865
|
+
maxLength: number;
|
|
32866
|
+
type: string;
|
|
32867
|
+
} | {
|
|
32868
|
+
type: string;
|
|
32869
|
+
maxLength?: never;
|
|
32870
|
+
})[];
|
|
32871
|
+
};
|
|
32872
|
+
description: string;
|
|
32873
|
+
type: string;
|
|
32874
|
+
};
|
|
32762
32875
|
device_id: {
|
|
32763
32876
|
description: string;
|
|
32764
32877
|
format: string;
|
|
@@ -21229,6 +21229,13 @@ export default {
|
|
|
21229
21229
|
format: 'date-time',
|
|
21230
21230
|
type: 'string',
|
|
21231
21231
|
},
|
|
21232
|
+
custom_metadata: {
|
|
21233
|
+
additionalProperties: {
|
|
21234
|
+
oneOf: [{ type: 'string' }, { type: 'boolean' }],
|
|
21235
|
+
},
|
|
21236
|
+
description: 'Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.',
|
|
21237
|
+
type: 'object',
|
|
21238
|
+
},
|
|
21232
21239
|
device_id: {
|
|
21233
21240
|
description: 'ID of the device.',
|
|
21234
21241
|
format: 'uuid',
|
|
@@ -22384,6 +22391,7 @@ export default {
|
|
|
22384
22391
|
'errors',
|
|
22385
22392
|
'warnings',
|
|
22386
22393
|
'created_at',
|
|
22394
|
+
'custom_metadata',
|
|
22387
22395
|
'is_managed',
|
|
22388
22396
|
'properties',
|
|
22389
22397
|
],
|
|
@@ -37902,6 +37910,54 @@ export default {
|
|
|
37902
37910
|
'x-title': 'Simulate Hub Disconnection',
|
|
37903
37911
|
},
|
|
37904
37912
|
},
|
|
37913
|
+
'/devices/simulate/paid_subscription': {
|
|
37914
|
+
post: {
|
|
37915
|
+
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.',
|
|
37916
|
+
operationId: 'devicesSimulatePaidSubscriptionPost',
|
|
37917
|
+
requestBody: {
|
|
37918
|
+
content: {
|
|
37919
|
+
'application/json': {
|
|
37920
|
+
schema: {
|
|
37921
|
+
properties: {
|
|
37922
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
37923
|
+
is_expired: { type: 'boolean' },
|
|
37924
|
+
},
|
|
37925
|
+
required: ['device_id', 'is_expired'],
|
|
37926
|
+
type: 'object',
|
|
37927
|
+
},
|
|
37928
|
+
},
|
|
37929
|
+
},
|
|
37930
|
+
},
|
|
37931
|
+
responses: {
|
|
37932
|
+
200: {
|
|
37933
|
+
content: {
|
|
37934
|
+
'application/json': {
|
|
37935
|
+
schema: {
|
|
37936
|
+
properties: { ok: { type: 'boolean' } },
|
|
37937
|
+
required: ['ok'],
|
|
37938
|
+
type: 'object',
|
|
37939
|
+
},
|
|
37940
|
+
},
|
|
37941
|
+
},
|
|
37942
|
+
description: 'OK',
|
|
37943
|
+
},
|
|
37944
|
+
400: { description: 'Bad Request' },
|
|
37945
|
+
401: { description: 'Unauthorized' },
|
|
37946
|
+
},
|
|
37947
|
+
security: [
|
|
37948
|
+
{ api_key: [] },
|
|
37949
|
+
{ pat_with_workspace: [] },
|
|
37950
|
+
{ console_session_with_workspace: [] },
|
|
37951
|
+
{ client_session_with_customer: [] },
|
|
37952
|
+
],
|
|
37953
|
+
summary: '/devices/simulate/paid_subscription',
|
|
37954
|
+
tags: ['/devices'],
|
|
37955
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
37956
|
+
'x-fern-sdk-method-name': 'paid_subscription',
|
|
37957
|
+
'x-response-key': null,
|
|
37958
|
+
'x-title': 'Simulate Paid Subscription',
|
|
37959
|
+
},
|
|
37960
|
+
},
|
|
37905
37961
|
'/devices/simulate/remove': {
|
|
37906
37962
|
post: {
|
|
37907
37963
|
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).',
|
|
@@ -38826,6 +38882,17 @@ export default {
|
|
|
38826
38882
|
'application/json': {
|
|
38827
38883
|
schema: {
|
|
38828
38884
|
properties: {
|
|
38885
|
+
custom_metadata: {
|
|
38886
|
+
additionalProperties: {
|
|
38887
|
+
nullable: true,
|
|
38888
|
+
oneOf: [
|
|
38889
|
+
{ maxLength: 500, type: 'string' },
|
|
38890
|
+
{ type: 'boolean' },
|
|
38891
|
+
],
|
|
38892
|
+
},
|
|
38893
|
+
description: 'Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.',
|
|
38894
|
+
type: 'object',
|
|
38895
|
+
},
|
|
38829
38896
|
device_id: {
|
|
38830
38897
|
description: 'ID of the unmanaged device that you want to update.',
|
|
38831
38898
|
format: 'uuid',
|
|
@@ -38837,7 +38904,7 @@ export default {
|
|
|
38837
38904
|
type: 'boolean',
|
|
38838
38905
|
},
|
|
38839
38906
|
},
|
|
38840
|
-
required: ['device_id'
|
|
38907
|
+
required: ['device_id'],
|
|
38841
38908
|
type: 'object',
|
|
38842
38909
|
},
|
|
38843
38910
|
},
|
|
@@ -38879,6 +38946,17 @@ export default {
|
|
|
38879
38946
|
'application/json': {
|
|
38880
38947
|
schema: {
|
|
38881
38948
|
properties: {
|
|
38949
|
+
custom_metadata: {
|
|
38950
|
+
additionalProperties: {
|
|
38951
|
+
nullable: true,
|
|
38952
|
+
oneOf: [
|
|
38953
|
+
{ maxLength: 500, type: 'string' },
|
|
38954
|
+
{ type: 'boolean' },
|
|
38955
|
+
],
|
|
38956
|
+
},
|
|
38957
|
+
description: 'Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.',
|
|
38958
|
+
type: 'object',
|
|
38959
|
+
},
|
|
38882
38960
|
device_id: {
|
|
38883
38961
|
description: 'ID of the unmanaged device that you want to update.',
|
|
38884
38962
|
format: 'uuid',
|
|
@@ -38890,7 +38968,7 @@ export default {
|
|
|
38890
38968
|
type: 'boolean',
|
|
38891
38969
|
},
|
|
38892
38970
|
},
|
|
38893
|
-
required: ['device_id'
|
|
38971
|
+
required: ['device_id'],
|
|
38894
38972
|
type: 'object',
|
|
38895
38973
|
},
|
|
38896
38974
|
},
|