@seamapi/types 1.906.0 → 1.908.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 CHANGED
@@ -6399,7 +6399,10 @@ var device_removed_event = device_event.extend({
6399
6399
  A [device](https://docs.seam.co/core-concepts/devices) was removed externally from the [connected account](https://docs.seam.co/core-concepts/connected-accounts).
6400
6400
  `);
6401
6401
  var device_deleted_event = device_event.extend({
6402
- event_type: zod.z.literal("device.deleted")
6402
+ event_type: zod.z.literal("device.deleted"),
6403
+ device_name: zod.z.string().nullable().optional().describe(
6404
+ "Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name."
6405
+ )
6403
6406
  }).describe(`
6404
6407
  ---
6405
6408
  route_path: /devices
@@ -28586,6 +28589,11 @@ var openapi = {
28586
28589
  format: "uuid",
28587
28590
  type: "string"
28588
28591
  },
28592
+ device_name: {
28593
+ description: "Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.",
28594
+ nullable: true,
28595
+ type: "string"
28596
+ },
28589
28597
  event_id: {
28590
28598
  description: "ID of the event.",
28591
28599
  format: "uuid",
@@ -56065,6 +56073,28 @@ var openapi = {
56065
56073
  default: {},
56066
56074
  description: "Configuration for the manage feature.",
56067
56075
  properties: {
56076
+ device_management_confirmation: {
56077
+ description: "\n Custom copy for the confirmation modal shown before unmanaged devices are added to a space and begin being managed (and billed). Only takes effect when the MANAGE_DEVICES_CONFIRMATION_MODAL feature flag is enabled for the workspace. Any omitted string falls back to a localized default.\n ",
56078
+ properties: {
56079
+ body: {
56080
+ description: "Custom body text for the confirmation modal. May include the {count} token, which is replaced with the number of devices that will begin being managed.",
56081
+ type: "string"
56082
+ },
56083
+ cancel_button_label: {
56084
+ description: "Custom label for the cancel button.",
56085
+ type: "string"
56086
+ },
56087
+ confirm_button_label: {
56088
+ description: "Custom label for the confirm button.",
56089
+ type: "string"
56090
+ },
56091
+ title: {
56092
+ description: "Custom title for the confirmation modal.",
56093
+ type: "string"
56094
+ }
56095
+ },
56096
+ type: "object"
56097
+ },
56068
56098
  events: {
56069
56099
  description: "Configuration for event type filtering in the manage feature.",
56070
56100
  properties: {
@@ -73902,6 +73932,9 @@ var openapi = {
73902
73932
  },
73903
73933
  feature_flags: {
73904
73934
  properties: {
73935
+ MANAGE_DEVICES_CONFIRMATION_MODAL: {
73936
+ type: "boolean"
73937
+ },
73905
73938
  RESERVATION_UI_V2: { type: "boolean" },
73906
73939
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
73907
73940
  type: "boolean"
@@ -73971,6 +74004,28 @@ var openapi = {
73971
74004
  },
73972
74005
  description: "Configuration for the manage feature.",
73973
74006
  properties: {
74007
+ device_management_confirmation: {
74008
+ description: "\n Custom copy for the confirmation modal shown before unmanaged devices are added to a space and begin being managed (and billed). Only takes effect when the MANAGE_DEVICES_CONFIRMATION_MODAL feature flag is enabled for the workspace. Any omitted string falls back to a localized default.\n ",
74009
+ properties: {
74010
+ body: {
74011
+ description: "Custom body text for the confirmation modal. May include the {count} token, which is replaced with the number of devices that will begin being managed.",
74012
+ type: "string"
74013
+ },
74014
+ cancel_button_label: {
74015
+ description: "Custom label for the cancel button.",
74016
+ type: "string"
74017
+ },
74018
+ confirm_button_label: {
74019
+ description: "Custom label for the confirm button.",
74020
+ type: "string"
74021
+ },
74022
+ title: {
74023
+ description: "Custom title for the confirmation modal.",
74024
+ type: "string"
74025
+ }
74026
+ },
74027
+ type: "object"
74028
+ },
73974
74029
  events: {
73975
74030
  description: "Configuration for event type filtering in the manage feature.",
73976
74031
  properties: {
@@ -74296,6 +74351,9 @@ var openapi = {
74296
74351
  },
74297
74352
  feature_flags: {
74298
74353
  properties: {
74354
+ MANAGE_DEVICES_CONFIRMATION_MODAL: {
74355
+ type: "boolean"
74356
+ },
74299
74357
  RESERVATION_UI_V2: { type: "boolean" },
74300
74358
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
74301
74359
  type: "boolean"
@@ -74365,6 +74423,28 @@ var openapi = {
74365
74423
  },
74366
74424
  description: "Configuration for the manage feature.",
74367
74425
  properties: {
74426
+ device_management_confirmation: {
74427
+ description: "\n Custom copy for the confirmation modal shown before unmanaged devices are added to a space and begin being managed (and billed). Only takes effect when the MANAGE_DEVICES_CONFIRMATION_MODAL feature flag is enabled for the workspace. Any omitted string falls back to a localized default.\n ",
74428
+ properties: {
74429
+ body: {
74430
+ description: "Custom body text for the confirmation modal. May include the {count} token, which is replaced with the number of devices that will begin being managed.",
74431
+ type: "string"
74432
+ },
74433
+ cancel_button_label: {
74434
+ description: "Custom label for the cancel button.",
74435
+ type: "string"
74436
+ },
74437
+ confirm_button_label: {
74438
+ description: "Custom label for the confirm button.",
74439
+ type: "string"
74440
+ },
74441
+ title: {
74442
+ description: "Custom title for the confirmation modal.",
74443
+ type: "string"
74444
+ }
74445
+ },
74446
+ type: "object"
74447
+ },
74368
74448
  events: {
74369
74449
  description: "Configuration for event type filtering in the manage feature.",
74370
74450
  properties: {
@@ -74719,6 +74799,28 @@ var openapi = {
74719
74799
  default: {},
74720
74800
  description: "Configuration for the manage feature.",
74721
74801
  properties: {
74802
+ device_management_confirmation: {
74803
+ description: "\n Custom copy for the confirmation modal shown before unmanaged devices are added to a space and begin being managed (and billed). Only takes effect when the MANAGE_DEVICES_CONFIRMATION_MODAL feature flag is enabled for the workspace. Any omitted string falls back to a localized default.\n ",
74804
+ properties: {
74805
+ body: {
74806
+ description: "Custom body text for the confirmation modal. May include the {count} token, which is replaced with the number of devices that will begin being managed.",
74807
+ type: "string"
74808
+ },
74809
+ cancel_button_label: {
74810
+ description: "Custom label for the cancel button.",
74811
+ type: "string"
74812
+ },
74813
+ confirm_button_label: {
74814
+ description: "Custom label for the confirm button.",
74815
+ type: "string"
74816
+ },
74817
+ title: {
74818
+ description: "Custom title for the confirmation modal.",
74819
+ type: "string"
74820
+ }
74821
+ },
74822
+ type: "object"
74823
+ },
74722
74824
  events: {
74723
74825
  description: "Configuration for event type filtering in the manage feature.",
74724
74826
  properties: {
@@ -75075,6 +75177,28 @@ var openapi = {
75075
75177
  default: {},
75076
75178
  description: "Configuration for the manage feature.",
75077
75179
  properties: {
75180
+ device_management_confirmation: {
75181
+ description: "\n Custom copy for the confirmation modal shown before unmanaged devices are added to a space and begin being managed (and billed). Only takes effect when the MANAGE_DEVICES_CONFIRMATION_MODAL feature flag is enabled for the workspace. Any omitted string falls back to a localized default.\n ",
75182
+ properties: {
75183
+ body: {
75184
+ description: "Custom body text for the confirmation modal. May include the {count} token, which is replaced with the number of devices that will begin being managed.",
75185
+ type: "string"
75186
+ },
75187
+ cancel_button_label: {
75188
+ description: "Custom label for the cancel button.",
75189
+ type: "string"
75190
+ },
75191
+ confirm_button_label: {
75192
+ description: "Custom label for the confirm button.",
75193
+ type: "string"
75194
+ },
75195
+ title: {
75196
+ description: "Custom title for the confirmation modal.",
75197
+ type: "string"
75198
+ }
75199
+ },
75200
+ type: "object"
75201
+ },
75078
75202
  events: {
75079
75203
  description: "Configuration for event type filtering in the manage feature.",
75080
75204
  properties: {