@seamapi/types 1.500.0 → 1.502.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.
Files changed (44) hide show
  1. package/dist/connect.cjs +46 -151
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +226 -1371
  4. package/dist/index.cjs +46 -151
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
  9. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
  11. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
  12. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
  13. package/lib/seam/connect/models/batch.d.ts +249 -1208
  14. package/lib/seam/connect/models/batch.js +3 -0
  15. package/lib/seam/connect/models/batch.js.map +1 -1
  16. package/lib/seam/connect/models/{customization_profiles/customization_profile.js → customization-profiles/customization-profile.js} +1 -1
  17. package/lib/seam/connect/models/{customization_profiles/customization_profile.js.map → customization-profiles/customization-profile.js.map} +1 -1
  18. package/lib/seam/connect/models/customization-profiles/index.d.ts +1 -0
  19. package/lib/seam/connect/models/customization-profiles/index.js +2 -0
  20. package/lib/seam/connect/models/customization-profiles/index.js.map +1 -0
  21. package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -100
  22. package/lib/seam/connect/models/devices/device-metadata.js +1 -62
  23. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device.d.ts +7 -140
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -100
  26. package/lib/seam/connect/models/index.d.ts +1 -1
  27. package/lib/seam/connect/models/index.js +1 -1
  28. package/lib/seam/connect/models/index.js.map +1 -1
  29. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +4 -4
  30. package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
  31. package/lib/seam/connect/openapi.d.ts +24 -91
  32. package/lib/seam/connect/openapi.js +24 -112
  33. package/lib/seam/connect/openapi.js.map +1 -1
  34. package/lib/seam/connect/route-types.d.ts +35 -663
  35. package/package.json +1 -1
  36. package/src/lib/seam/connect/model-types.ts +1 -0
  37. package/src/lib/seam/connect/models/batch.ts +3 -0
  38. package/src/lib/seam/connect/models/customization-profiles/index.ts +1 -0
  39. package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -62
  40. package/src/lib/seam/connect/models/index.ts +1 -1
  41. package/src/lib/seam/connect/openapi.ts +24 -124
  42. package/src/lib/seam/connect/route-types.ts +39 -663
  43. package/lib/seam/connect/models/{customization_profiles/customization_profile.d.ts → customization-profiles/customization-profile.d.ts} +2 -2
  44. /package/src/lib/seam/connect/models/{customization_profiles/customization_profile.ts → customization-profiles/customization-profile.ts} +0 -0
package/dist/index.cjs CHANGED
@@ -1028,27 +1028,8 @@ var device_metadata = zod.z.object({
1028
1028
  product_type: zod.z.string().describe(`Product type for a Sensi device.`)
1029
1029
  }).describe(`Metadata for a Sensi device.`),
1030
1030
  keynest_metadata: zod.z.object({
1031
- key_id: zod.z.string().describe(`Key ID for a KeyNest device.`),
1032
- device_name: zod.z.string().describe(`Device name for a KeyNest device.`),
1033
- property_id: zod.z.string().nullable().describe(`Property ID for a KeyNest device.`),
1034
- property_postcode: zod.z.string().nullable().describe(`Property postcode for a KeyNest device.`),
1035
- key_notes: zod.z.string().nullable().describe(`Key notes for a KeyNest device.`),
1036
- subscription_plan: zod.z.string().describe(`Subscription plan for a KeyNest device.`),
1037
- status_type: zod.z.string().describe(`Status type for a KeyNest device.`),
1038
- current_or_last_store_id: zod.z.number().describe(`Current or last store ID for a KeyNest device.`),
1039
- last_movement: zod.z.string().describe(`Last movement timestamp for a KeyNest device.`),
1040
- address: zod.z.string().nullable().describe(`Address for a KeyNest device.`),
1041
- current_status: zod.z.string().nullable().describe(`Current status for a KeyNest device.`),
1042
- current_user_name: zod.z.string().nullable().describe(`Current user name for a KeyNest device.`),
1043
- current_user_email: zod.z.string().nullable().describe(`Current user email for a KeyNest device.`),
1044
- current_user_phone_number: zod.z.string().nullable().describe(`Current user phone number for a KeyNest device.`),
1045
- current_user_company: zod.z.string().nullable().describe(`Current user company for a KeyNest device.`),
1046
- handover_method: zod.z.string().nullable().describe(`Handover method for a KeyNest device.`),
1047
- keynest_app_user: zod.z.string().nullable().describe(`KeyNest app user for a KeyNest device.`),
1048
- default_office_id: zod.z.number().describe(`Default office ID for a KeyNest device.`),
1049
- fob_id: zod.z.number().describe(`Fob ID for a KeyNest device.`),
1050
- has_photo: zod.z.boolean().describe(`Whether the KeyNest device has a photo.`)
1051
- }).describe(`Metadata for a KeyNest device.`)
1031
+ device_name: zod.z.string().describe(`Device name for a KeyNest device.`)
1032
+ }).partial().describe(`Metadata for a KeyNest device.`)
1052
1033
  }).partial().describe(`
1053
1034
  ---
1054
1035
  property_group_key: provider_metadata
@@ -4020,6 +4001,22 @@ var connect_webview = zod.z.object({
4020
4001
 
4021
4002
  To list all providers within a category, use \`/devices/list_device_providers\` with the desired \`provider_category\` filter. To list all provider keys, use \`/devices/list_device_providers\` with no filters.
4022
4003
  `);
4004
+ var customization_profile = zod.z.object({
4005
+ workspace_id: zod.z.string().uuid(),
4006
+ name: zod.z.string().nullable(),
4007
+ customization_profile_id: zod.z.string().uuid(),
4008
+ created_at: zod.z.string().datetime(),
4009
+ logo_url: zod.z.string().url().optional(),
4010
+ primary_color: zod.z.string().optional(),
4011
+ secondary_color: zod.z.string().optional()
4012
+ }).describe(`
4013
+ ---
4014
+ title: Customization Profile
4015
+ undocumented: Unreleased.
4016
+ route_path: /workspaces/customization_profiles
4017
+ ---
4018
+ A customization profile.
4019
+ `);
4023
4020
  var common_event = zod.z.object({
4024
4021
  event_id: zod.z.string().uuid().describe("ID of the event."),
4025
4022
  workspace_id: zod.z.string().uuid().describe(
@@ -5364,7 +5361,8 @@ zod.z.object({
5364
5361
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
5365
5362
  thermostat_daily_programs: thermostat_daily_program.array().optional(),
5366
5363
  thermostat_schedules: thermostat_schedule.array().optional(),
5367
- noise_thresholds: noise_threshold.array().optional()
5364
+ noise_thresholds: noise_threshold.array().optional(),
5365
+ customization_profiles: customization_profile.array().optional()
5368
5366
  }).describe("A batch of workspace resources.");
5369
5367
  var batch = zod.z.object({
5370
5368
  batch_type: zod.z.enum([
@@ -5398,7 +5396,8 @@ var batch = zod.z.object({
5398
5396
  unmanaged_access_codes: unmanaged_access_code.array().optional(),
5399
5397
  thermostat_daily_programs: thermostat_daily_program.array().optional(),
5400
5398
  thermostat_schedules: thermostat_schedule.array().optional(),
5401
- noise_thresholds: noise_threshold.array().optional()
5399
+ noise_thresholds: noise_threshold.array().optional(),
5400
+ customization_profiles: customization_profile.array().optional()
5402
5401
  }).describe("A batch of workspace resources.");
5403
5402
  var bridge = zod.z.object({
5404
5403
  bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
@@ -5477,22 +5476,6 @@ var bridge_client_session = zod.z.object({
5477
5476
  ---
5478
5477
  Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
5479
5478
  `);
5480
- var customization_profile = zod.z.object({
5481
- workspace_id: zod.z.string().uuid(),
5482
- name: zod.z.string().nullable(),
5483
- customization_profile_id: zod.z.string().uuid(),
5484
- created_at: zod.z.string().datetime(),
5485
- logo_url: zod.z.string().url().optional(),
5486
- primary_color: zod.z.string().optional(),
5487
- secondary_color: zod.z.string().optional()
5488
- }).describe(`
5489
- ---
5490
- title: Customization Profile
5491
- undocumented: Unreleased.
5492
- route_path: /workspaces/customization_profiles
5493
- ---
5494
- A customization profile.
5495
- `);
5496
5479
  var pagination = zod.z.object({
5497
5480
  next_page_cursor: zod.z.string().base64().nullable().describe(
5498
5481
  "Opaque value that can be used to select the next page of results via the `page_cursor` parameter."
@@ -15012,123 +14995,11 @@ var openapi_default = {
15012
14995
  keynest_metadata: {
15013
14996
  description: "Metadata for a KeyNest device.",
15014
14997
  properties: {
15015
- address: {
15016
- description: "Address for a KeyNest device.",
15017
- nullable: true,
15018
- type: "string"
15019
- },
15020
- current_or_last_store_id: {
15021
- description: "Current or last store ID for a KeyNest device.",
15022
- format: "float",
15023
- type: "number"
15024
- },
15025
- current_status: {
15026
- description: "Current status for a KeyNest device.",
15027
- nullable: true,
15028
- type: "string"
15029
- },
15030
- current_user_company: {
15031
- description: "Current user company for a KeyNest device.",
15032
- nullable: true,
15033
- type: "string"
15034
- },
15035
- current_user_email: {
15036
- description: "Current user email for a KeyNest device.",
15037
- nullable: true,
15038
- type: "string"
15039
- },
15040
- current_user_name: {
15041
- description: "Current user name for a KeyNest device.",
15042
- nullable: true,
15043
- type: "string"
15044
- },
15045
- current_user_phone_number: {
15046
- description: "Current user phone number for a KeyNest device.",
15047
- nullable: true,
15048
- type: "string"
15049
- },
15050
- default_office_id: {
15051
- description: "Default office ID for a KeyNest device.",
15052
- format: "float",
15053
- type: "number"
15054
- },
15055
14998
  device_name: {
15056
14999
  description: "Device name for a KeyNest device.",
15057
15000
  type: "string"
15058
- },
15059
- fob_id: {
15060
- description: "Fob ID for a KeyNest device.",
15061
- format: "float",
15062
- type: "number"
15063
- },
15064
- handover_method: {
15065
- description: "Handover method for a KeyNest device.",
15066
- nullable: true,
15067
- type: "string"
15068
- },
15069
- has_photo: {
15070
- description: "Whether the KeyNest device has a photo.",
15071
- type: "boolean"
15072
- },
15073
- key_id: {
15074
- description: "Key ID for a KeyNest device.",
15075
- type: "string"
15076
- },
15077
- key_notes: {
15078
- description: "Key notes for a KeyNest device.",
15079
- nullable: true,
15080
- type: "string"
15081
- },
15082
- keynest_app_user: {
15083
- description: "KeyNest app user for a KeyNest device.",
15084
- nullable: true,
15085
- type: "string"
15086
- },
15087
- last_movement: {
15088
- description: "Last movement timestamp for a KeyNest device.",
15089
- type: "string"
15090
- },
15091
- property_id: {
15092
- description: "Property ID for a KeyNest device.",
15093
- nullable: true,
15094
- type: "string"
15095
- },
15096
- property_postcode: {
15097
- description: "Property postcode for a KeyNest device.",
15098
- nullable: true,
15099
- type: "string"
15100
- },
15101
- status_type: {
15102
- description: "Status type for a KeyNest device.",
15103
- type: "string"
15104
- },
15105
- subscription_plan: {
15106
- description: "Subscription plan for a KeyNest device.",
15107
- type: "string"
15108
15001
  }
15109
15002
  },
15110
- required: [
15111
- "key_id",
15112
- "device_name",
15113
- "property_id",
15114
- "property_postcode",
15115
- "key_notes",
15116
- "subscription_plan",
15117
- "status_type",
15118
- "current_or_last_store_id",
15119
- "last_movement",
15120
- "address",
15121
- "current_status",
15122
- "current_user_name",
15123
- "current_user_email",
15124
- "current_user_phone_number",
15125
- "current_user_company",
15126
- "handover_method",
15127
- "keynest_app_user",
15128
- "default_office_id",
15129
- "fob_id",
15130
- "has_photo"
15131
- ],
15132
15003
  type: "object"
15133
15004
  },
15134
15005
  kwikset_metadata: {
@@ -31952,6 +31823,12 @@ var openapi_default = {
31952
31823
  },
31953
31824
  type: "array"
31954
31825
  },
31826
+ customization_profiles: {
31827
+ items: {
31828
+ $ref: "#/components/schemas/customization_profile"
31829
+ },
31830
+ type: "array"
31831
+ },
31955
31832
  devices: {
31956
31833
  items: { $ref: "#/components/schemas/device" },
31957
31834
  type: "array"
@@ -32165,6 +32042,12 @@ var openapi_default = {
32165
32042
  },
32166
32043
  type: "array"
32167
32044
  },
32045
+ customization_profiles: {
32046
+ items: {
32047
+ $ref: "#/components/schemas/customization_profile"
32048
+ },
32049
+ type: "array"
32050
+ },
32168
32051
  devices: {
32169
32052
  items: { $ref: "#/components/schemas/device" },
32170
32053
  type: "array"
@@ -58073,6 +57956,12 @@ var openapi_default = {
58073
57956
  },
58074
57957
  type: "array"
58075
57958
  },
57959
+ customization_profiles: {
57960
+ items: {
57961
+ $ref: "#/components/schemas/customization_profile"
57962
+ },
57963
+ type: "array"
57964
+ },
58076
57965
  devices: {
58077
57966
  items: { $ref: "#/components/schemas/device" },
58078
57967
  type: "array"
@@ -58266,6 +58155,12 @@ var openapi_default = {
58266
58155
  },
58267
58156
  type: "array"
58268
58157
  },
58158
+ customization_profiles: {
58159
+ items: {
58160
+ $ref: "#/components/schemas/customization_profile"
58161
+ },
58162
+ type: "array"
58163
+ },
58269
58164
  devices: {
58270
58165
  items: { $ref: "#/components/schemas/device" },
58271
58166
  type: "array"