@seamapi/types 1.530.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 +34 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +66 -3
- package/dist/index.cjs +34 -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 +37 -0
- package/lib/seam/connect/openapi.js +32 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -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 +35 -2
- package/src/lib/seam/connect/route-types.ts +23 -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;
|
|
@@ -32766,6 +32775,20 @@ declare const _default: {
|
|
|
32766
32775
|
'application/json': {
|
|
32767
32776
|
schema: {
|
|
32768
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
|
+
};
|
|
32769
32792
|
device_id: {
|
|
32770
32793
|
description: string;
|
|
32771
32794
|
format: string;
|
|
@@ -32835,6 +32858,20 @@ declare const _default: {
|
|
|
32835
32858
|
'application/json': {
|
|
32836
32859
|
schema: {
|
|
32837
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
|
+
};
|
|
32838
32875
|
device_id: {
|
|
32839
32876
|
description: string;
|
|
32840
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
|
],
|
|
@@ -38874,6 +38882,17 @@ export default {
|
|
|
38874
38882
|
'application/json': {
|
|
38875
38883
|
schema: {
|
|
38876
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
|
+
},
|
|
38877
38896
|
device_id: {
|
|
38878
38897
|
description: 'ID of the unmanaged device that you want to update.',
|
|
38879
38898
|
format: 'uuid',
|
|
@@ -38885,7 +38904,7 @@ export default {
|
|
|
38885
38904
|
type: 'boolean',
|
|
38886
38905
|
},
|
|
38887
38906
|
},
|
|
38888
|
-
required: ['device_id'
|
|
38907
|
+
required: ['device_id'],
|
|
38889
38908
|
type: 'object',
|
|
38890
38909
|
},
|
|
38891
38910
|
},
|
|
@@ -38927,6 +38946,17 @@ export default {
|
|
|
38927
38946
|
'application/json': {
|
|
38928
38947
|
schema: {
|
|
38929
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
|
+
},
|
|
38930
38960
|
device_id: {
|
|
38931
38961
|
description: 'ID of the unmanaged device that you want to update.',
|
|
38932
38962
|
format: 'uuid',
|
|
@@ -38938,7 +38968,7 @@ export default {
|
|
|
38938
38968
|
type: 'boolean',
|
|
38939
38969
|
},
|
|
38940
38970
|
},
|
|
38941
|
-
required: ['device_id'
|
|
38971
|
+
required: ['device_id'],
|
|
38942
38972
|
type: 'object',
|
|
38943
38973
|
},
|
|
38944
38974
|
},
|