@seamapi/types 1.337.0 → 1.338.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.
@@ -13722,6 +13722,10 @@ export interface Routes {
13722
13722
  message: string;
13723
13723
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13724
13724
  warning_code: 'salto_privacy_mode';
13725
+ } | {
13726
+ message: string;
13727
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13728
+ warning_code: 'unknown_issue_with_phone';
13725
13729
  }>;
13726
13730
  /** Date and time at which the device object was created. */
13727
13731
  created_at: string;
@@ -14403,6 +14407,10 @@ export interface Routes {
14403
14407
  message: string;
14404
14408
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14405
14409
  warning_code: 'salto_privacy_mode';
14410
+ } | {
14411
+ message: string;
14412
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14413
+ warning_code: 'unknown_issue_with_phone';
14406
14414
  }>;
14407
14415
  /** Date and time at which the device object was created. */
14408
14416
  created_at: string;
@@ -14653,6 +14661,10 @@ export interface Routes {
14653
14661
  message: string;
14654
14662
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14655
14663
  warning_code: 'salto_privacy_mode';
14664
+ } | {
14665
+ message: string;
14666
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14667
+ warning_code: 'unknown_issue_with_phone';
14656
14668
  }>;
14657
14669
  /** Date and time at which the device object was created. */
14658
14670
  created_at: string;
@@ -14912,6 +14924,10 @@ export interface Routes {
14912
14924
  message: string;
14913
14925
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14914
14926
  warning_code: 'salto_privacy_mode';
14927
+ } | {
14928
+ message: string;
14929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14930
+ warning_code: 'unknown_issue_with_phone';
14915
14931
  }>;
14916
14932
  /** Date and time at which the device object was created. */
14917
14933
  created_at: string;
@@ -18022,6 +18038,10 @@ export interface Routes {
18022
18038
  message: string;
18023
18039
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18024
18040
  warning_code: 'salto_privacy_mode';
18041
+ } | {
18042
+ message: string;
18043
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18044
+ warning_code: 'unknown_issue_with_phone';
18025
18045
  }>;
18026
18046
  /** Date and time at which the device object was created. */
18027
18047
  created_at: string;
@@ -18667,6 +18687,10 @@ export interface Routes {
18667
18687
  message: string;
18668
18688
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18669
18689
  warning_code: 'salto_privacy_mode';
18690
+ } | {
18691
+ message: string;
18692
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18693
+ warning_code: 'unknown_issue_with_phone';
18670
18694
  }>;
18671
18695
  /** Date and time at which the device object was created. */
18672
18696
  created_at: string;
@@ -19348,6 +19372,10 @@ export interface Routes {
19348
19372
  message: string;
19349
19373
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19350
19374
  warning_code: 'salto_privacy_mode';
19375
+ } | {
19376
+ message: string;
19377
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19378
+ warning_code: 'unknown_issue_with_phone';
19351
19379
  }>;
19352
19380
  /** Date and time at which the device object was created. */
19353
19381
  created_at: string;
@@ -19992,6 +20020,10 @@ export interface Routes {
19992
20020
  message: string;
19993
20021
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19994
20022
  warning_code: 'salto_privacy_mode';
20023
+ } | {
20024
+ message: string;
20025
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20026
+ warning_code: 'unknown_issue_with_phone';
19995
20027
  }>;
19996
20028
  /** Date and time at which the device object was created. */
19997
20029
  created_at: string;
@@ -22446,6 +22478,10 @@ export interface Routes {
22446
22478
  message: string;
22447
22479
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22448
22480
  warning_code: 'salto_privacy_mode';
22481
+ } | {
22482
+ message: string;
22483
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22484
+ warning_code: 'unknown_issue_with_phone';
22449
22485
  }>;
22450
22486
  /** Date and time at which the device object was created. */
22451
22487
  created_at: string;
@@ -23090,6 +23126,10 @@ export interface Routes {
23090
23126
  message: string;
23091
23127
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23092
23128
  warning_code: 'salto_privacy_mode';
23129
+ } | {
23130
+ message: string;
23131
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23132
+ warning_code: 'unknown_issue_with_phone';
23093
23133
  }>;
23094
23134
  /** Date and time at which the device object was created. */
23095
23135
  created_at: string;
@@ -25982,6 +26022,10 @@ export interface Routes {
25982
26022
  message: string;
25983
26023
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25984
26024
  warning_code: 'salto_privacy_mode';
26025
+ } | {
26026
+ message: string;
26027
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26028
+ warning_code: 'unknown_issue_with_phone';
25985
26029
  }>;
25986
26030
  /** Date and time at which the device object was created. */
25987
26031
  created_at: string;
@@ -26194,6 +26238,10 @@ export interface Routes {
26194
26238
  message: string;
26195
26239
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26196
26240
  warning_code: 'salto_privacy_mode';
26241
+ } | {
26242
+ message: string;
26243
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26244
+ warning_code: 'unknown_issue_with_phone';
26197
26245
  }>;
26198
26246
  /** Date and time at which the device object was created. */
26199
26247
  created_at: string;
@@ -28645,6 +28693,10 @@ export interface Routes {
28645
28693
  message: string;
28646
28694
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28647
28695
  warning_code: 'salto_privacy_mode';
28696
+ } | {
28697
+ message: string;
28698
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28699
+ warning_code: 'unknown_issue_with_phone';
28648
28700
  }>;
28649
28701
  /** Date and time at which the device object was created. */
28650
28702
  created_at: string;
@@ -31080,6 +31132,10 @@ export interface Routes {
31080
31132
  message: string;
31081
31133
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31082
31134
  warning_code: 'salto_privacy_mode';
31135
+ } | {
31136
+ message: string;
31137
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31138
+ warning_code: 'unknown_issue_with_phone';
31083
31139
  }>;
31084
31140
  /** Date and time at which the device object was created. */
31085
31141
  created_at: string;
@@ -31724,6 +31780,10 @@ export interface Routes {
31724
31780
  message: string;
31725
31781
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31726
31782
  warning_code: 'salto_privacy_mode';
31783
+ } | {
31784
+ message: string;
31785
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31786
+ warning_code: 'unknown_issue_with_phone';
31727
31787
  }>;
31728
31788
  /** Date and time at which the device object was created. */
31729
31789
  created_at: string;
@@ -35484,6 +35544,10 @@ export interface Routes {
35484
35544
  message: string;
35485
35545
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35486
35546
  warning_code: 'salto_privacy_mode';
35547
+ } | {
35548
+ message: string;
35549
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35550
+ warning_code: 'unknown_issue_with_phone';
35487
35551
  }>;
35488
35552
  /** Date and time at which the device object was created. */
35489
35553
  created_at: string;
@@ -36130,6 +36194,10 @@ export interface Routes {
36130
36194
  message: string;
36131
36195
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36132
36196
  warning_code: 'salto_privacy_mode';
36197
+ } | {
36198
+ message: string;
36199
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36200
+ warning_code: 'unknown_issue_with_phone';
36133
36201
  }>;
36134
36202
  /** Date and time at which the device object was created. */
36135
36203
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.337.0",
3
+ "version": "1.338.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.21.4"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.33.0",
95
+ "@seamapi/blueprint": "^0.34.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -274,6 +274,17 @@ const device_has_flaky_connection = common_device_warning
274
274
  })
275
275
  .describe('Device has flaky connection.')
276
276
 
277
+ export const unknown_issue_with_phone = common_device_warning
278
+ .extend({
279
+ warning_code: z
280
+ .literal('unknown_issue_with_phone')
281
+ .describe(warning_code_description),
282
+ })
283
+ .describe(
284
+ 'An unknown issue occurred while syncing the state of this phone with the provider. ' +
285
+ 'This issue may affect the proper functioning of this phone.',
286
+ )
287
+
277
288
  const device_warning = z.union([
278
289
  partial_backup_access_code_pool,
279
290
  many_active_backup_codes,
@@ -290,6 +301,7 @@ const device_warning = z.union([
290
301
  device_has_flaky_connection,
291
302
  salto_office_mode,
292
303
  salto_privacy_mode,
304
+ unknown_issue_with_phone,
293
305
  ])
294
306
 
295
307
  export type DeviceWarning = z.infer<typeof device_warning>
@@ -7223,6 +7223,21 @@ export default {
7223
7223
  required: ['message', 'warning_code'],
7224
7224
  type: 'object',
7225
7225
  },
7226
+ {
7227
+ description:
7228
+ 'An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.',
7229
+ properties: {
7230
+ message: { type: 'string' },
7231
+ warning_code: {
7232
+ description:
7233
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
7234
+ enum: ['unknown_issue_with_phone'],
7235
+ type: 'string',
7236
+ },
7237
+ },
7238
+ required: ['message', 'warning_code'],
7239
+ type: 'object',
7240
+ },
7226
7241
  ],
7227
7242
  },
7228
7243
  type: 'array',
@@ -12283,6 +12298,21 @@ export default {
12283
12298
  required: ['message', 'warning_code'],
12284
12299
  type: 'object',
12285
12300
  },
12301
+ {
12302
+ description:
12303
+ 'An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.',
12304
+ properties: {
12305
+ message: { type: 'string' },
12306
+ warning_code: {
12307
+ description:
12308
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12309
+ enum: ['unknown_issue_with_phone'],
12310
+ type: 'string',
12311
+ },
12312
+ },
12313
+ required: ['message', 'warning_code'],
12314
+ type: 'object',
12315
+ },
12286
12316
  ],
12287
12317
  },
12288
12318
  type: 'array',
@@ -13980,6 +14010,21 @@ export default {
13980
14010
  required: ['message', 'warning_code'],
13981
14011
  type: 'object',
13982
14012
  },
14013
+ {
14014
+ description:
14015
+ 'An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.',
14016
+ properties: {
14017
+ message: { type: 'string' },
14018
+ warning_code: {
14019
+ description:
14020
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
14021
+ enum: ['unknown_issue_with_phone'],
14022
+ type: 'string',
14023
+ },
14024
+ },
14025
+ required: ['message', 'warning_code'],
14026
+ type: 'object',
14027
+ },
13983
14028
  ],
13984
14029
  },
13985
14030
  type: 'array',
@@ -16573,6 +16573,11 @@ export interface Routes {
16573
16573
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16574
16574
  warning_code: 'salto_privacy_mode'
16575
16575
  }
16576
+ | {
16577
+ message: string
16578
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16579
+ warning_code: 'unknown_issue_with_phone'
16580
+ }
16576
16581
  >
16577
16582
  /** Date and time at which the device object was created. */
16578
16583
  created_at: string
@@ -17619,6 +17624,11 @@ export interface Routes {
17619
17624
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17620
17625
  warning_code: 'salto_privacy_mode'
17621
17626
  }
17627
+ | {
17628
+ message: string
17629
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17630
+ warning_code: 'unknown_issue_with_phone'
17631
+ }
17622
17632
  >
17623
17633
  /** Date and time at which the device object was created. */
17624
17634
  created_at: string
@@ -18008,6 +18018,11 @@ export interface Routes {
18008
18018
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18009
18019
  warning_code: 'salto_privacy_mode'
18010
18020
  }
18021
+ | {
18022
+ message: string
18023
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18024
+ warning_code: 'unknown_issue_with_phone'
18025
+ }
18011
18026
  >
18012
18027
  /** Date and time at which the device object was created. */
18013
18028
  created_at: string
@@ -18500,6 +18515,11 @@ export interface Routes {
18500
18515
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18501
18516
  warning_code: 'salto_privacy_mode'
18502
18517
  }
18518
+ | {
18519
+ message: string
18520
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18521
+ warning_code: 'unknown_issue_with_phone'
18522
+ }
18503
18523
  >
18504
18524
  /** Date and time at which the device object was created. */
18505
18525
  created_at: string
@@ -22172,6 +22192,11 @@ export interface Routes {
22172
22192
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22173
22193
  warning_code: 'salto_privacy_mode'
22174
22194
  }
22195
+ | {
22196
+ message: string
22197
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22198
+ warning_code: 'unknown_issue_with_phone'
22199
+ }
22175
22200
  >
22176
22201
  /** Date and time at which the device object was created. */
22177
22202
  created_at: string
@@ -23035,6 +23060,11 @@ export interface Routes {
23035
23060
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23036
23061
  warning_code: 'salto_privacy_mode'
23037
23062
  }
23063
+ | {
23064
+ message: string
23065
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23066
+ warning_code: 'unknown_issue_with_phone'
23067
+ }
23038
23068
  >
23039
23069
  /** Date and time at which the device object was created. */
23040
23070
  created_at: string
@@ -24081,6 +24111,11 @@ export interface Routes {
24081
24111
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24082
24112
  warning_code: 'salto_privacy_mode'
24083
24113
  }
24114
+ | {
24115
+ message: string
24116
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24117
+ warning_code: 'unknown_issue_with_phone'
24118
+ }
24084
24119
  >
24085
24120
  /** Date and time at which the device object was created. */
24086
24121
  created_at: string
@@ -24943,6 +24978,11 @@ export interface Routes {
24943
24978
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24944
24979
  warning_code: 'salto_privacy_mode'
24945
24980
  }
24981
+ | {
24982
+ message: string
24983
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24984
+ warning_code: 'unknown_issue_with_phone'
24985
+ }
24946
24986
  >
24947
24987
  /** Date and time at which the device object was created. */
24948
24988
  created_at: string
@@ -28098,6 +28138,11 @@ export interface Routes {
28098
28138
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28099
28139
  warning_code: 'salto_privacy_mode'
28100
28140
  }
28141
+ | {
28142
+ message: string
28143
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28144
+ warning_code: 'unknown_issue_with_phone'
28145
+ }
28101
28146
  >
28102
28147
  /** Date and time at which the device object was created. */
28103
28148
  created_at: string
@@ -28960,6 +29005,11 @@ export interface Routes {
28960
29005
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28961
29006
  warning_code: 'salto_privacy_mode'
28962
29007
  }
29008
+ | {
29009
+ message: string
29010
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29011
+ warning_code: 'unknown_issue_with_phone'
29012
+ }
28963
29013
  >
28964
29014
  /** Date and time at which the device object was created. */
28965
29015
  created_at: string
@@ -32401,6 +32451,11 @@ export interface Routes {
32401
32451
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32402
32452
  warning_code: 'salto_privacy_mode'
32403
32453
  }
32454
+ | {
32455
+ message: string
32456
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32457
+ warning_code: 'unknown_issue_with_phone'
32458
+ }
32404
32459
  >
32405
32460
  /** Date and time at which the device object was created. */
32406
32461
  created_at: string
@@ -32658,6 +32713,11 @@ export interface Routes {
32658
32713
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32659
32714
  warning_code: 'salto_privacy_mode'
32660
32715
  }
32716
+ | {
32717
+ message: string
32718
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32719
+ warning_code: 'unknown_issue_with_phone'
32720
+ }
32661
32721
  >
32662
32722
  /** Date and time at which the device object was created. */
32663
32723
  created_at: string
@@ -35663,6 +35723,11 @@ export interface Routes {
35663
35723
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35664
35724
  warning_code: 'salto_privacy_mode'
35665
35725
  }
35726
+ | {
35727
+ message: string
35728
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35729
+ warning_code: 'unknown_issue_with_phone'
35730
+ }
35666
35731
  >
35667
35732
  /** Date and time at which the device object was created. */
35668
35733
  created_at: string
@@ -38799,6 +38864,11 @@ export interface Routes {
38799
38864
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38800
38865
  warning_code: 'salto_privacy_mode'
38801
38866
  }
38867
+ | {
38868
+ message: string
38869
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38870
+ warning_code: 'unknown_issue_with_phone'
38871
+ }
38802
38872
  >
38803
38873
  /** Date and time at which the device object was created. */
38804
38874
  created_at: string
@@ -39661,6 +39731,11 @@ export interface Routes {
39661
39731
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39662
39732
  warning_code: 'salto_privacy_mode'
39663
39733
  }
39734
+ | {
39735
+ message: string
39736
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39737
+ warning_code: 'unknown_issue_with_phone'
39738
+ }
39664
39739
  >
39665
39740
  /** Date and time at which the device object was created. */
39666
39741
  created_at: string
@@ -44149,6 +44224,11 @@ export interface Routes {
44149
44224
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44150
44225
  warning_code: 'salto_privacy_mode'
44151
44226
  }
44227
+ | {
44228
+ message: string
44229
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44230
+ warning_code: 'unknown_issue_with_phone'
44231
+ }
44152
44232
  >
44153
44233
  /** Date and time at which the device object was created. */
44154
44234
  created_at: string
@@ -45013,6 +45093,11 @@ export interface Routes {
45013
45093
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45014
45094
  warning_code: 'salto_privacy_mode'
45015
45095
  }
45096
+ | {
45097
+ message: string
45098
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45099
+ warning_code: 'unknown_issue_with_phone'
45100
+ }
45016
45101
  >
45017
45102
  /** Date and time at which the device object was created. */
45018
45103
  created_at: string