@seamapi/types 1.174.1 → 1.176.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.
@@ -1300,6 +1300,14 @@ export interface Routes {
1300
1300
  connected_account_ids: string[];
1301
1301
  image_url: string;
1302
1302
  image_alt_text: string;
1303
+ errors: Array<{
1304
+ error_code: string;
1305
+ message: string;
1306
+ }>;
1307
+ warnings: Array<{
1308
+ warning_code: string;
1309
+ message: string;
1310
+ }>;
1303
1311
  can_automate_enrollment?: boolean | undefined;
1304
1312
  can_create_acs_access_groups?: boolean | undefined;
1305
1313
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
@@ -1339,6 +1347,14 @@ export interface Routes {
1339
1347
  connected_account_ids: string[];
1340
1348
  image_url: string;
1341
1349
  image_alt_text: string;
1350
+ errors: Array<{
1351
+ error_code: string;
1352
+ message: string;
1353
+ }>;
1354
+ warnings: Array<{
1355
+ warning_code: string;
1356
+ message: string;
1357
+ }>;
1342
1358
  can_automate_enrollment?: boolean | undefined;
1343
1359
  can_create_acs_access_groups?: boolean | undefined;
1344
1360
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
@@ -1378,6 +1394,14 @@ export interface Routes {
1378
1394
  connected_account_ids: string[];
1379
1395
  image_url: string;
1380
1396
  image_alt_text: string;
1397
+ errors: Array<{
1398
+ error_code: string;
1399
+ message: string;
1400
+ }>;
1401
+ warnings: Array<{
1402
+ warning_code: string;
1403
+ message: string;
1404
+ }>;
1381
1405
  can_automate_enrollment?: boolean | undefined;
1382
1406
  can_create_acs_access_groups?: boolean | undefined;
1383
1407
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
@@ -1987,6 +2011,7 @@ export interface Routes {
1987
2011
  user_identifier_key?: string | undefined;
1988
2012
  /** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
1989
2013
  custom_metadata_has?: Record<string, string | boolean> | undefined;
2014
+ limit?: number;
1990
2015
  };
1991
2016
  formData: {};
1992
2017
  jsonResponse: {
@@ -8755,6 +8780,14 @@ export interface Routes {
8755
8780
  connected_account_ids: string[];
8756
8781
  image_url: string;
8757
8782
  image_alt_text: string;
8783
+ errors: Array<{
8784
+ error_code: string;
8785
+ message: string;
8786
+ }>;
8787
+ warnings: Array<{
8788
+ warning_code: string;
8789
+ message: string;
8790
+ }>;
8758
8791
  can_automate_enrollment?: boolean | undefined;
8759
8792
  can_create_acs_access_groups?: boolean | undefined;
8760
8793
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.174.1",
3
+ "version": "1.176.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -41,6 +41,18 @@ export const acs_system = z
41
41
  connected_account_ids: z.array(z.string()),
42
42
  image_url: z.string(),
43
43
  image_alt_text: z.string(),
44
+ errors: z.array(
45
+ z.object({
46
+ error_code: z.string(),
47
+ message: z.string(),
48
+ }),
49
+ ),
50
+ warnings: z.array(
51
+ z.object({
52
+ warning_code: z.string(),
53
+ message: z.string(),
54
+ }),
55
+ ),
44
56
  })
45
57
  .merge(acs_system_capability_flags)
46
58
 
@@ -396,6 +396,17 @@ export default {
396
396
  can_remove_acs_users_from_acs_access_groups: { type: 'boolean' },
397
397
  connected_account_ids: { items: { type: 'string' }, type: 'array' },
398
398
  created_at: { format: 'date-time', type: 'string' },
399
+ errors: {
400
+ items: {
401
+ properties: {
402
+ error_code: { type: 'string' },
403
+ message: { type: 'string' },
404
+ },
405
+ required: ['error_code', 'message'],
406
+ type: 'object',
407
+ },
408
+ type: 'array',
409
+ },
399
410
  external_type: {
400
411
  enum: [
401
412
  'pti_site',
@@ -433,6 +444,17 @@ export default {
433
444
  '\n ---\n deprecated: use external_type_display_name\n ---\n ',
434
445
  type: 'string',
435
446
  },
447
+ warnings: {
448
+ items: {
449
+ properties: {
450
+ message: { type: 'string' },
451
+ warning_code: { type: 'string' },
452
+ },
453
+ required: ['warning_code', 'message'],
454
+ type: 'object',
455
+ },
456
+ type: 'array',
457
+ },
436
458
  workspace_id: { format: 'uuid', type: 'string' },
437
459
  },
438
460
  required: [
@@ -443,6 +465,8 @@ export default {
443
465
  'connected_account_ids',
444
466
  'image_url',
445
467
  'image_alt_text',
468
+ 'errors',
469
+ 'warnings',
446
470
  ],
447
471
  type: 'object',
448
472
  },
@@ -6727,6 +6751,7 @@ export default {
6727
6751
  "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
6728
6752
  type: 'object',
6729
6753
  },
6754
+ limit: { default: 500, nullable: true, type: 'number' },
6730
6755
  user_identifier_key: { type: 'string' },
6731
6756
  },
6732
6757
  type: 'object',
@@ -1453,6 +1453,14 @@ export interface Routes {
1453
1453
  connected_account_ids: string[]
1454
1454
  image_url: string
1455
1455
  image_alt_text: string
1456
+ errors: Array<{
1457
+ error_code: string
1458
+ message: string
1459
+ }>
1460
+ warnings: Array<{
1461
+ warning_code: string
1462
+ message: string
1463
+ }>
1456
1464
  can_automate_enrollment?: boolean | undefined
1457
1465
  can_create_acs_access_groups?: boolean | undefined
1458
1466
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined
@@ -1514,6 +1522,14 @@ export interface Routes {
1514
1522
  connected_account_ids: string[]
1515
1523
  image_url: string
1516
1524
  image_alt_text: string
1525
+ errors: Array<{
1526
+ error_code: string
1527
+ message: string
1528
+ }>
1529
+ warnings: Array<{
1530
+ warning_code: string
1531
+ message: string
1532
+ }>
1517
1533
  can_automate_enrollment?: boolean | undefined
1518
1534
  can_create_acs_access_groups?: boolean | undefined
1519
1535
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined
@@ -1575,6 +1591,14 @@ export interface Routes {
1575
1591
  connected_account_ids: string[]
1576
1592
  image_url: string
1577
1593
  image_alt_text: string
1594
+ errors: Array<{
1595
+ error_code: string
1596
+ message: string
1597
+ }>
1598
+ warnings: Array<{
1599
+ warning_code: string
1600
+ message: string
1601
+ }>
1578
1602
  can_automate_enrollment?: boolean | undefined
1579
1603
  can_create_acs_access_groups?: boolean | undefined
1580
1604
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined
@@ -2284,6 +2308,7 @@ export interface Routes {
2284
2308
  user_identifier_key?: string | undefined
2285
2309
  /** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
2286
2310
  custom_metadata_has?: Record<string, string | boolean> | undefined
2311
+ limit?: number
2287
2312
  }
2288
2313
  formData: {}
2289
2314
  jsonResponse: {
@@ -12119,6 +12144,14 @@ export interface Routes {
12119
12144
  connected_account_ids: string[]
12120
12145
  image_url: string
12121
12146
  image_alt_text: string
12147
+ errors: Array<{
12148
+ error_code: string
12149
+ message: string
12150
+ }>
12151
+ warnings: Array<{
12152
+ warning_code: string
12153
+ message: string
12154
+ }>
12122
12155
  can_automate_enrollment?: boolean | undefined
12123
12156
  can_create_acs_access_groups?: boolean | undefined
12124
12157
  can_remove_acs_users_from_acs_access_groups?: boolean | undefined