@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.
@@ -23592,7 +23592,7 @@ declare const batch: z.ZodObject<{
23592
23592
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
23593
23593
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
23594
23594
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
23595
- }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
23595
+ }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
23596
23596
  is_managed: z.ZodLiteral<false>;
23597
23597
  properties: z.ZodObject<Pick<{
23598
23598
  online: z.ZodBoolean;
@@ -23924,6 +23924,7 @@ declare const batch: z.ZodObject<{
23924
23924
  created_at: string;
23925
23925
  warning_code: "unknown_issue_with_phone";
23926
23926
  })[];
23927
+ custom_metadata: Record<string, string | boolean>;
23927
23928
  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");
23928
23929
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
23929
23930
  properties: {
@@ -24155,6 +24156,7 @@ declare const batch: z.ZodObject<{
24155
24156
  created_at: string;
24156
24157
  warning_code: "unknown_issue_with_phone";
24157
24158
  })[];
24159
+ custom_metadata: Record<string, string | boolean>;
24158
24160
  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");
24159
24161
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
24160
24162
  properties: {
@@ -32790,6 +32792,7 @@ declare const batch: z.ZodObject<{
32790
32792
  created_at: string;
32791
32793
  warning_code: "unknown_issue_with_phone";
32792
32794
  })[];
32795
+ custom_metadata: Record<string, string | boolean>;
32793
32796
  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");
32794
32797
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
32795
32798
  properties: {
@@ -36642,6 +36645,7 @@ declare const batch: z.ZodObject<{
36642
36645
  created_at: string;
36643
36646
  warning_code: "unknown_issue_with_phone";
36644
36647
  })[];
36648
+ custom_metadata: Record<string, string | boolean>;
36645
36649
  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");
36646
36650
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
36647
36651
  properties: {
@@ -46506,7 +46510,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
46506
46510
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
46507
46511
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
46508
46512
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
46509
- }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
46513
+ }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
46510
46514
  is_managed: z.ZodLiteral<false>;
46511
46515
  properties: z.ZodObject<Pick<{
46512
46516
  online: z.ZodBoolean;
@@ -46838,6 +46842,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
46838
46842
  created_at: string;
46839
46843
  warning_code: "unknown_issue_with_phone";
46840
46844
  })[];
46845
+ custom_metadata: Record<string, string | boolean>;
46841
46846
  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");
46842
46847
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
46843
46848
  properties: {
@@ -47069,6 +47074,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
47069
47074
  created_at: string;
47070
47075
  warning_code: "unknown_issue_with_phone";
47071
47076
  })[];
47077
+ custom_metadata: Record<string, string | boolean>;
47072
47078
  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");
47073
47079
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
47074
47080
  properties: {
@@ -63549,6 +63555,15 @@ declare const _default: {
63549
63555
  format: string;
63550
63556
  type: string;
63551
63557
  };
63558
+ custom_metadata: {
63559
+ additionalProperties: {
63560
+ oneOf: {
63561
+ type: string;
63562
+ }[];
63563
+ };
63564
+ description: string;
63565
+ type: string;
63566
+ };
63552
63567
  device_id: {
63553
63568
  description: string;
63554
63569
  format: string;
@@ -83403,6 +83418,20 @@ declare const _default: {
83403
83418
  'application/json': {
83404
83419
  schema: {
83405
83420
  properties: {
83421
+ custom_metadata: {
83422
+ additionalProperties: {
83423
+ nullable: boolean;
83424
+ oneOf: ({
83425
+ maxLength: number;
83426
+ type: string;
83427
+ } | {
83428
+ type: string;
83429
+ maxLength?: never;
83430
+ })[];
83431
+ };
83432
+ description: string;
83433
+ type: string;
83434
+ };
83406
83435
  device_id: {
83407
83436
  description: string;
83408
83437
  format: string;
@@ -83472,6 +83501,20 @@ declare const _default: {
83472
83501
  'application/json': {
83473
83502
  schema: {
83474
83503
  properties: {
83504
+ custom_metadata: {
83505
+ additionalProperties: {
83506
+ nullable: boolean;
83507
+ oneOf: ({
83508
+ maxLength: number;
83509
+ type: string;
83510
+ } | {
83511
+ type: string;
83512
+ maxLength?: never;
83513
+ })[];
83514
+ };
83515
+ description: string;
83516
+ type: string;
83517
+ };
83475
83518
  device_id: {
83476
83519
  description: string;
83477
83520
  format: string;
@@ -118343,6 +118386,10 @@ type Routes = {
118343
118386
  })[];
118344
118387
  /** Date and time at which the device object was created. */
118345
118388
  created_at: string;
118389
+ /** 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. */
118390
+ custom_metadata: {
118391
+ [x: string]: string | boolean;
118392
+ };
118346
118393
  is_managed: false;
118347
118394
  /** properties of the device. */
118348
118395
  properties: {
@@ -135753,6 +135800,10 @@ type Routes = {
135753
135800
  })[];
135754
135801
  /** Date and time at which the device object was created. */
135755
135802
  created_at: string;
135803
+ /** 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. */
135804
+ custom_metadata: {
135805
+ [x: string]: string | boolean;
135806
+ };
135756
135807
  is_managed: false;
135757
135808
  /** properties of the device. */
135758
135809
  properties: {
@@ -136192,6 +136243,10 @@ type Routes = {
136192
136243
  })[];
136193
136244
  /** Date and time at which the device object was created. */
136194
136245
  created_at: string;
136246
+ /** 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. */
136247
+ custom_metadata: {
136248
+ [x: string]: string | boolean;
136249
+ };
136195
136250
  is_managed: false;
136196
136251
  /** properties of the device. */
136197
136252
  properties: {
@@ -136291,7 +136346,11 @@ type Routes = {
136291
136346
  /** ID of the unmanaged device that you want to update. */
136292
136347
  device_id: string;
136293
136348
  /** Indicates whether the device is managed. Set this parameter to `true` to convert an unmanaged device to managed. */
136294
- is_managed: true;
136349
+ is_managed?: true | undefined;
136350
+ /** Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. */
136351
+ custom_metadata?: {
136352
+ [x: string]: string | boolean | null;
136353
+ } | undefined;
136295
136354
  };
136296
136355
  formData: {};
136297
136356
  jsonResponse: {};
@@ -184109,6 +184168,10 @@ type Routes = {
184109
184168
  })[];
184110
184169
  /** Date and time at which the device object was created. */
184111
184170
  created_at: string;
184171
+ /** 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. */
184172
+ custom_metadata: {
184173
+ [x: string]: string | boolean;
184174
+ };
184112
184175
  is_managed: false;
184113
184176
  /** properties of the device. */
184114
184177
  properties: {
package/dist/index.cjs CHANGED
@@ -1841,7 +1841,8 @@ var unmanaged_device = device.pick({
1841
1841
  workspace_id: true,
1842
1842
  errors: true,
1843
1843
  warnings: true,
1844
- created_at: true
1844
+ created_at: true,
1845
+ custom_metadata: true
1845
1846
  }).extend({
1846
1847
  is_managed: zod.z.literal(false),
1847
1848
  properties: common_device_properties.pick({
@@ -26787,6 +26788,13 @@ var openapi_default = {
26787
26788
  format: "date-time",
26788
26789
  type: "string"
26789
26790
  },
26791
+ custom_metadata: {
26792
+ additionalProperties: {
26793
+ oneOf: [{ type: "string" }, { type: "boolean" }]
26794
+ },
26795
+ 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.",
26796
+ type: "object"
26797
+ },
26790
26798
  device_id: {
26791
26799
  description: "ID of the device.",
26792
26800
  format: "uuid",
@@ -27942,6 +27950,7 @@ var openapi_default = {
27942
27950
  "errors",
27943
27951
  "warnings",
27944
27952
  "created_at",
27953
+ "custom_metadata",
27945
27954
  "is_managed",
27946
27955
  "properties"
27947
27956
  ],
@@ -44432,6 +44441,17 @@ var openapi_default = {
44432
44441
  "application/json": {
44433
44442
  schema: {
44434
44443
  properties: {
44444
+ custom_metadata: {
44445
+ additionalProperties: {
44446
+ nullable: true,
44447
+ oneOf: [
44448
+ { maxLength: 500, type: "string" },
44449
+ { type: "boolean" }
44450
+ ]
44451
+ },
44452
+ description: "Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.",
44453
+ type: "object"
44454
+ },
44435
44455
  device_id: {
44436
44456
  description: "ID of the unmanaged device that you want to update.",
44437
44457
  format: "uuid",
@@ -44443,7 +44463,7 @@ var openapi_default = {
44443
44463
  type: "boolean"
44444
44464
  }
44445
44465
  },
44446
- required: ["device_id", "is_managed"],
44466
+ required: ["device_id"],
44447
44467
  type: "object"
44448
44468
  }
44449
44469
  }
@@ -44485,6 +44505,17 @@ var openapi_default = {
44485
44505
  "application/json": {
44486
44506
  schema: {
44487
44507
  properties: {
44508
+ custom_metadata: {
44509
+ additionalProperties: {
44510
+ nullable: true,
44511
+ oneOf: [
44512
+ { maxLength: 500, type: "string" },
44513
+ { type: "boolean" }
44514
+ ]
44515
+ },
44516
+ description: "Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs.",
44517
+ type: "object"
44518
+ },
44488
44519
  device_id: {
44489
44520
  description: "ID of the unmanaged device that you want to update.",
44490
44521
  format: "uuid",
@@ -44496,7 +44527,7 @@ var openapi_default = {
44496
44527
  type: "boolean"
44497
44528
  }
44498
44529
  },
44499
- required: ["device_id", "is_managed"],
44530
+ required: ["device_id"],
44500
44531
  type: "object"
44501
44532
  }
44502
44533
  }