@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.
@@ -41253,6 +41253,19 @@ export type Routes = {
41253
41253
  /** List of event types that are pre-selected in the events filter when the user first loads the events tab. */
41254
41254
  default_events?: string[] | undefined;
41255
41255
  } | undefined;
41256
+ /**
41257
+ 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.
41258
+ */
41259
+ device_management_confirmation?: {
41260
+ /** Custom title for the confirmation modal. */
41261
+ title?: string | undefined;
41262
+ /** 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. */
41263
+ body?: string | undefined;
41264
+ /** Custom label for the confirm button. */
41265
+ confirm_button_label?: string | undefined;
41266
+ /** Custom label for the cancel button. */
41267
+ cancel_button_label?: string | undefined;
41268
+ } | undefined;
41256
41269
  };
41257
41270
  /** Configuration for the manage devices feature.
41258
41271
  ---
@@ -48032,6 +48045,8 @@ export type Routes = {
48032
48045
  [x: string]: string | boolean;
48033
48046
  } | undefined;
48034
48047
  event_type: 'device.deleted';
48048
+ /** 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. */
48049
+ device_name?: (string | null) | undefined;
48035
48050
  } | {
48036
48051
  /** ID of the event. */
48037
48052
  event_id: string;
@@ -50889,6 +50904,8 @@ export type Routes = {
50889
50904
  [x: string]: string | boolean;
50890
50905
  } | undefined;
50891
50906
  event_type: 'device.deleted';
50907
+ /** 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. */
50908
+ device_name?: (string | null) | undefined;
50892
50909
  } | {
50893
50910
  /** ID of the event. */
50894
50911
  event_id: string;
@@ -79378,6 +79395,8 @@ export type Routes = {
79378
79395
  [x: string]: string | boolean;
79379
79396
  } | undefined;
79380
79397
  event_type: 'device.deleted';
79398
+ /** 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. */
79399
+ device_name?: (string | null) | undefined;
79381
79400
  } | {
79382
79401
  /** ID of the event. */
79383
79402
  event_id: string;
@@ -80310,6 +80329,19 @@ export type Routes = {
80310
80329
  /** List of event types that are pre-selected in the events filter when the user first loads the events tab. */
80311
80330
  default_events?: string[] | undefined;
80312
80331
  } | undefined;
80332
+ /**
80333
+ 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.
80334
+ */
80335
+ device_management_confirmation?: {
80336
+ /** Custom title for the confirmation modal. */
80337
+ title?: string | undefined;
80338
+ /** 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. */
80339
+ body?: string | undefined;
80340
+ /** Custom label for the confirm button. */
80341
+ confirm_button_label?: string | undefined;
80342
+ /** Custom label for the cancel button. */
80343
+ cancel_button_label?: string | undefined;
80344
+ } | undefined;
80313
80345
  };
80314
80346
  /** Configuration for the manage devices feature.
80315
80347
  ---
@@ -80395,6 +80427,7 @@ export type Routes = {
80395
80427
  feature_flags?: {
80396
80428
  RESERVATION_UI_V2?: boolean | undefined;
80397
80429
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES?: boolean | undefined;
80430
+ MANAGE_DEVICES_CONFIRMATION_MODAL?: boolean | undefined;
80398
80431
  } | undefined;
80399
80432
  };
80400
80433
  };
@@ -80436,6 +80469,19 @@ export type Routes = {
80436
80469
  /** List of event types that are pre-selected in the events filter when the user first loads the events tab. */
80437
80470
  default_events?: string[] | undefined;
80438
80471
  } | undefined;
80472
+ /**
80473
+ 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.
80474
+ */
80475
+ device_management_confirmation?: {
80476
+ /** Custom title for the confirmation modal. */
80477
+ title?: string | undefined;
80478
+ /** 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. */
80479
+ body?: string | undefined;
80480
+ /** Custom label for the confirm button. */
80481
+ confirm_button_label?: string | undefined;
80482
+ /** Custom label for the cancel button. */
80483
+ cancel_button_label?: string | undefined;
80484
+ } | undefined;
80439
80485
  };
80440
80486
  /** Configuration for the manage devices feature.
80441
80487
  ---
@@ -116043,6 +116089,8 @@ export type Routes = {
116043
116089
  [x: string]: string | boolean;
116044
116090
  } | undefined;
116045
116091
  event_type: 'device.deleted';
116092
+ /** 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. */
116093
+ device_name?: (string | null) | undefined;
116046
116094
  } | {
116047
116095
  /** ID of the event. */
116048
116096
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.906.0",
3
+ "version": "1.908.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -62,6 +62,30 @@ const base_manage_feature = base_feature.extend({
62
62
  })
63
63
  .optional()
64
64
  .describe('Configuration for event type filtering in the manage feature.'),
65
+ device_management_confirmation: z
66
+ .object({
67
+ title: z
68
+ .string()
69
+ .optional()
70
+ .describe('Custom title for the confirmation modal.'),
71
+ body: z
72
+ .string()
73
+ .optional()
74
+ .describe(
75
+ '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.',
76
+ ),
77
+ confirm_button_label: z
78
+ .string()
79
+ .optional()
80
+ .describe('Custom label for the confirm button.'),
81
+ cancel_button_label: z
82
+ .string()
83
+ .optional()
84
+ .describe('Custom label for the cancel button.'),
85
+ })
86
+ .optional().describe(`
87
+ 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.
88
+ `),
65
89
  })
66
90
 
67
91
  const base_organize_feature = base_feature
@@ -214,6 +214,13 @@ export type DeviceRemovedEvent = z.infer<typeof device_removed_event>
214
214
 
215
215
  export const device_deleted_event = device_event.extend({
216
216
  event_type: z.literal('device.deleted'),
217
+ device_name: z
218
+ .string()
219
+ .nullable()
220
+ .optional()
221
+ .describe(
222
+ '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.',
223
+ ),
217
224
  }).describe(`
218
225
  ---
219
226
  route_path: /devices
@@ -23709,6 +23709,12 @@ const openapi: OpenAPISpec = {
23709
23709
  format: 'uuid',
23710
23710
  type: 'string',
23711
23711
  },
23712
+ device_name: {
23713
+ description:
23714
+ '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.',
23715
+ nullable: true,
23716
+ type: 'string',
23717
+ },
23712
23718
  event_id: {
23713
23719
  description: 'ID of the event.',
23714
23720
  format: 'uuid',
@@ -53770,6 +53776,33 @@ const openapi: OpenAPISpec = {
53770
53776
  description:
53771
53777
  'Configuration for the manage feature.',
53772
53778
  properties: {
53779
+ device_management_confirmation: {
53780
+ description:
53781
+ '\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 ',
53782
+ properties: {
53783
+ body: {
53784
+ description:
53785
+ '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.',
53786
+ type: 'string',
53787
+ },
53788
+ cancel_button_label: {
53789
+ description:
53790
+ 'Custom label for the cancel button.',
53791
+ type: 'string',
53792
+ },
53793
+ confirm_button_label: {
53794
+ description:
53795
+ 'Custom label for the confirm button.',
53796
+ type: 'string',
53797
+ },
53798
+ title: {
53799
+ description:
53800
+ 'Custom title for the confirmation modal.',
53801
+ type: 'string',
53802
+ },
53803
+ },
53804
+ type: 'object',
53805
+ },
53773
53806
  events: {
53774
53807
  description:
53775
53808
  'Configuration for event type filtering in the manage feature.',
@@ -72362,6 +72395,9 @@ const openapi: OpenAPISpec = {
72362
72395
  },
72363
72396
  feature_flags: {
72364
72397
  properties: {
72398
+ MANAGE_DEVICES_CONFIRMATION_MODAL: {
72399
+ type: 'boolean',
72400
+ },
72365
72401
  RESERVATION_UI_V2: { type: 'boolean' },
72366
72402
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
72367
72403
  type: 'boolean',
@@ -72441,6 +72477,33 @@ const openapi: OpenAPISpec = {
72441
72477
  description:
72442
72478
  'Configuration for the manage feature.',
72443
72479
  properties: {
72480
+ device_management_confirmation: {
72481
+ description:
72482
+ '\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 ',
72483
+ properties: {
72484
+ body: {
72485
+ description:
72486
+ '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.',
72487
+ type: 'string',
72488
+ },
72489
+ cancel_button_label: {
72490
+ description:
72491
+ 'Custom label for the cancel button.',
72492
+ type: 'string',
72493
+ },
72494
+ confirm_button_label: {
72495
+ description:
72496
+ 'Custom label for the confirm button.',
72497
+ type: 'string',
72498
+ },
72499
+ title: {
72500
+ description:
72501
+ 'Custom title for the confirmation modal.',
72502
+ type: 'string',
72503
+ },
72504
+ },
72505
+ type: 'object',
72506
+ },
72444
72507
  events: {
72445
72508
  description:
72446
72509
  'Configuration for event type filtering in the manage feature.',
@@ -72789,6 +72852,9 @@ const openapi: OpenAPISpec = {
72789
72852
  },
72790
72853
  feature_flags: {
72791
72854
  properties: {
72855
+ MANAGE_DEVICES_CONFIRMATION_MODAL: {
72856
+ type: 'boolean',
72857
+ },
72792
72858
  RESERVATION_UI_V2: { type: 'boolean' },
72793
72859
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES: {
72794
72860
  type: 'boolean',
@@ -72868,6 +72934,33 @@ const openapi: OpenAPISpec = {
72868
72934
  description:
72869
72935
  'Configuration for the manage feature.',
72870
72936
  properties: {
72937
+ device_management_confirmation: {
72938
+ description:
72939
+ '\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 ',
72940
+ properties: {
72941
+ body: {
72942
+ description:
72943
+ '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.',
72944
+ type: 'string',
72945
+ },
72946
+ cancel_button_label: {
72947
+ description:
72948
+ 'Custom label for the cancel button.',
72949
+ type: 'string',
72950
+ },
72951
+ confirm_button_label: {
72952
+ description:
72953
+ 'Custom label for the confirm button.',
72954
+ type: 'string',
72955
+ },
72956
+ title: {
72957
+ description:
72958
+ 'Custom title for the confirmation modal.',
72959
+ type: 'string',
72960
+ },
72961
+ },
72962
+ type: 'object',
72963
+ },
72871
72964
  events: {
72872
72965
  description:
72873
72966
  'Configuration for event type filtering in the manage feature.',
@@ -73254,6 +73347,33 @@ const openapi: OpenAPISpec = {
73254
73347
  description:
73255
73348
  'Configuration for the manage feature.',
73256
73349
  properties: {
73350
+ device_management_confirmation: {
73351
+ description:
73352
+ '\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 ',
73353
+ properties: {
73354
+ body: {
73355
+ description:
73356
+ '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.',
73357
+ type: 'string',
73358
+ },
73359
+ cancel_button_label: {
73360
+ description:
73361
+ 'Custom label for the cancel button.',
73362
+ type: 'string',
73363
+ },
73364
+ confirm_button_label: {
73365
+ description:
73366
+ 'Custom label for the confirm button.',
73367
+ type: 'string',
73368
+ },
73369
+ title: {
73370
+ description:
73371
+ 'Custom title for the confirmation modal.',
73372
+ type: 'string',
73373
+ },
73374
+ },
73375
+ type: 'object',
73376
+ },
73257
73377
  events: {
73258
73378
  description:
73259
73379
  'Configuration for event type filtering in the manage feature.',
@@ -73642,6 +73762,33 @@ const openapi: OpenAPISpec = {
73642
73762
  description:
73643
73763
  'Configuration for the manage feature.',
73644
73764
  properties: {
73765
+ device_management_confirmation: {
73766
+ description:
73767
+ '\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 ',
73768
+ properties: {
73769
+ body: {
73770
+ description:
73771
+ '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.',
73772
+ type: 'string',
73773
+ },
73774
+ cancel_button_label: {
73775
+ description:
73776
+ 'Custom label for the cancel button.',
73777
+ type: 'string',
73778
+ },
73779
+ confirm_button_label: {
73780
+ description:
73781
+ 'Custom label for the confirm button.',
73782
+ type: 'string',
73783
+ },
73784
+ title: {
73785
+ description:
73786
+ 'Custom title for the confirmation modal.',
73787
+ type: 'string',
73788
+ },
73789
+ },
73790
+ type: 'object',
73791
+ },
73645
73792
  events: {
73646
73793
  description:
73647
73794
  'Configuration for event type filtering in the manage feature.',
@@ -47783,6 +47783,21 @@ export type Routes = {
47783
47783
  default_events?: string[] | undefined
47784
47784
  }
47785
47785
  | undefined
47786
+ /**
47787
+ 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.
47788
+ */
47789
+ device_management_confirmation?:
47790
+ | {
47791
+ /** Custom title for the confirmation modal. */
47792
+ title?: string | undefined
47793
+ /** 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. */
47794
+ body?: string | undefined
47795
+ /** Custom label for the confirm button. */
47796
+ confirm_button_label?: string | undefined
47797
+ /** Custom label for the cancel button. */
47798
+ cancel_button_label?: string | undefined
47799
+ }
47800
+ | undefined
47786
47801
  }
47787
47802
  /** Configuration for the manage devices feature.
47788
47803
  ---
@@ -57544,6 +57559,8 @@ export type Routes = {
57544
57559
  }
57545
57560
  | undefined
57546
57561
  event_type: 'device.deleted'
57562
+ /** 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. */
57563
+ device_name?: (string | null) | undefined
57547
57564
  }
57548
57565
  | {
57549
57566
  /** ID of the event. */
@@ -60977,6 +60994,8 @@ export type Routes = {
60977
60994
  }
60978
60995
  | undefined
60979
60996
  event_type: 'device.deleted'
60997
+ /** 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. */
60998
+ device_name?: (string | null) | undefined
60980
60999
  }
60981
61000
  | {
60982
61001
  /** ID of the event. */
@@ -94866,6 +94885,8 @@ export type Routes = {
94866
94885
  }
94867
94886
  | undefined
94868
94887
  event_type: 'device.deleted'
94888
+ /** 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. */
94889
+ device_name?: (string | null) | undefined
94869
94890
  }
94870
94891
  | {
94871
94892
  /** ID of the event. */
@@ -95933,6 +95954,21 @@ export type Routes = {
95933
95954
  default_events?: string[] | undefined
95934
95955
  }
95935
95956
  | undefined
95957
+ /**
95958
+ 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.
95959
+ */
95960
+ device_management_confirmation?:
95961
+ | {
95962
+ /** Custom title for the confirmation modal. */
95963
+ title?: string | undefined
95964
+ /** 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. */
95965
+ body?: string | undefined
95966
+ /** Custom label for the confirm button. */
95967
+ confirm_button_label?: string | undefined
95968
+ /** Custom label for the cancel button. */
95969
+ cancel_button_label?: string | undefined
95970
+ }
95971
+ | undefined
95936
95972
  }
95937
95973
  /** Configuration for the manage devices feature.
95938
95974
  ---
@@ -96067,6 +96103,7 @@ export type Routes = {
96067
96103
  | {
96068
96104
  RESERVATION_UI_V2?: boolean | undefined
96069
96105
  SALTO_KS_ENTRANCES_ONLY_FOR_SPACES?: boolean | undefined
96106
+ MANAGE_DEVICES_CONFIRMATION_MODAL?: boolean | undefined
96070
96107
  }
96071
96108
  | undefined
96072
96109
  }
@@ -96112,6 +96149,21 @@ export type Routes = {
96112
96149
  default_events?: string[] | undefined
96113
96150
  }
96114
96151
  | undefined
96152
+ /**
96153
+ 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.
96154
+ */
96155
+ device_management_confirmation?:
96156
+ | {
96157
+ /** Custom title for the confirmation modal. */
96158
+ title?: string | undefined
96159
+ /** 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. */
96160
+ body?: string | undefined
96161
+ /** Custom label for the confirm button. */
96162
+ confirm_button_label?: string | undefined
96163
+ /** Custom label for the cancel button. */
96164
+ cancel_button_label?: string | undefined
96165
+ }
96166
+ | undefined
96115
96167
  }
96116
96168
  /** Configuration for the manage devices feature.
96117
96169
  ---
@@ -138119,6 +138171,8 @@ export type Routes = {
138119
138171
  }
138120
138172
  | undefined
138121
138173
  event_type: 'device.deleted'
138174
+ /** 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. */
138175
+ device_name?: (string | null) | undefined
138122
138176
  }
138123
138177
  | {
138124
138178
  /** ID of the event. */