@seamapi/types 1.209.0 → 1.209.1

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.
@@ -33713,7 +33713,7 @@ interface Routes {
33713
33713
  }) & ({
33714
33714
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
33715
33715
  code_constraints?: (Array<{
33716
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
33716
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
33717
33717
  } | {
33718
33718
  constraint_type: 'name_length' | 'name_must_be_unique';
33719
33719
  min_length?: number | undefined;
@@ -33922,13 +33922,18 @@ interface Routes {
33922
33922
  workspace_id: string;
33923
33923
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
33924
33924
  errors: Array<{
33925
+ message: string;
33926
+ is_device_error: true;
33925
33927
  error_code: string;
33928
+ } | {
33926
33929
  message: string;
33930
+ is_connected_account_error: true;
33931
+ error_code: string;
33927
33932
  }>;
33928
33933
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
33929
33934
  warnings: Array<{
33930
- warning_code: string;
33931
33935
  message: string;
33936
+ warning_code: string;
33932
33937
  }>;
33933
33938
  /** Date and time at which the device object was created. */
33934
33939
  created_at: string;
@@ -34223,7 +34228,7 @@ interface Routes {
34223
34228
  }) & ({
34224
34229
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
34225
34230
  code_constraints?: (Array<{
34226
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
34231
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
34227
34232
  } | {
34228
34233
  constraint_type: 'name_length' | 'name_must_be_unique';
34229
34234
  min_length?: number | undefined;
@@ -34432,13 +34437,18 @@ interface Routes {
34432
34437
  workspace_id: string;
34433
34438
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
34434
34439
  errors: Array<{
34440
+ message: string;
34441
+ is_device_error: true;
34435
34442
  error_code: string;
34443
+ } | {
34436
34444
  message: string;
34445
+ is_connected_account_error: true;
34446
+ error_code: string;
34437
34447
  }>;
34438
34448
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
34439
34449
  warnings: Array<{
34440
- warning_code: string;
34441
34450
  message: string;
34451
+ warning_code: string;
34442
34452
  }>;
34443
34453
  /** Date and time at which the device object was created. */
34444
34454
  created_at: string;
@@ -9019,7 +9019,7 @@ export interface Routes {
9019
9019
  }) & ({
9020
9020
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
9021
9021
  code_constraints?: (Array<{
9022
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
9022
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
9023
9023
  } | {
9024
9024
  constraint_type: 'name_length' | 'name_must_be_unique';
9025
9025
  min_length?: number | undefined;
@@ -9228,13 +9228,18 @@ export interface Routes {
9228
9228
  workspace_id: string;
9229
9229
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
9230
9230
  errors: Array<{
9231
+ message: string;
9232
+ is_device_error: true;
9231
9233
  error_code: string;
9234
+ } | {
9232
9235
  message: string;
9236
+ is_connected_account_error: true;
9237
+ error_code: string;
9233
9238
  }>;
9234
9239
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
9235
9240
  warnings: Array<{
9236
- warning_code: string;
9237
9241
  message: string;
9242
+ warning_code: string;
9238
9243
  }>;
9239
9244
  /** Date and time at which the device object was created. */
9240
9245
  created_at: string;
@@ -9529,7 +9534,7 @@ export interface Routes {
9529
9534
  }) & ({
9530
9535
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
9531
9536
  code_constraints?: (Array<{
9532
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
9537
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
9533
9538
  } | {
9534
9539
  constraint_type: 'name_length' | 'name_must_be_unique';
9535
9540
  min_length?: number | undefined;
@@ -9738,13 +9743,18 @@ export interface Routes {
9738
9743
  workspace_id: string;
9739
9744
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
9740
9745
  errors: Array<{
9746
+ message: string;
9747
+ is_device_error: true;
9741
9748
  error_code: string;
9749
+ } | {
9742
9750
  message: string;
9751
+ is_connected_account_error: true;
9752
+ error_code: string;
9743
9753
  }>;
9744
9754
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
9745
9755
  warnings: Array<{
9746
- warning_code: string;
9747
9756
  message: string;
9757
+ warning_code: string;
9748
9758
  }>;
9749
9759
  /** Date and time at which the device object was created. */
9750
9760
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.209.0",
3
+ "version": "1.209.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -12003,6 +12003,7 @@ export interface Routes {
12003
12003
  | 'no_ascending_or_descending_sequence'
12004
12004
  | 'at_least_three_unique_digits'
12005
12005
  | 'cannot_contain_089'
12006
+ | 'cannot_contain_0789'
12006
12007
  }
12007
12008
  | {
12008
12009
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -12308,14 +12309,22 @@ export interface Routes {
12308
12309
  /** Unique identifier for the Seam workspace associated with the device. */
12309
12310
  workspace_id: string
12310
12311
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
12311
- errors: Array<{
12312
- error_code: string
12313
- message: string
12314
- }>
12312
+ errors: Array<
12313
+ | {
12314
+ message: string
12315
+ is_device_error: true
12316
+ error_code: string
12317
+ }
12318
+ | {
12319
+ message: string
12320
+ is_connected_account_error: true
12321
+ error_code: string
12322
+ }
12323
+ >
12315
12324
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
12316
12325
  warnings: Array<{
12317
- warning_code: string
12318
12326
  message: string
12327
+ warning_code: string
12319
12328
  }>
12320
12329
  /** Date and time at which the device object was created. */
12321
12330
  created_at: string
@@ -12733,6 +12742,7 @@ export interface Routes {
12733
12742
  | 'no_ascending_or_descending_sequence'
12734
12743
  | 'at_least_three_unique_digits'
12735
12744
  | 'cannot_contain_089'
12745
+ | 'cannot_contain_0789'
12736
12746
  }
12737
12747
  | {
12738
12748
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -13038,14 +13048,22 @@ export interface Routes {
13038
13048
  /** Unique identifier for the Seam workspace associated with the device. */
13039
13049
  workspace_id: string
13040
13050
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
13041
- errors: Array<{
13042
- error_code: string
13043
- message: string
13044
- }>
13051
+ errors: Array<
13052
+ | {
13053
+ message: string
13054
+ is_device_error: true
13055
+ error_code: string
13056
+ }
13057
+ | {
13058
+ message: string
13059
+ is_connected_account_error: true
13060
+ error_code: string
13061
+ }
13062
+ >
13045
13063
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
13046
13064
  warnings: Array<{
13047
- warning_code: string
13048
13065
  message: string
13066
+ warning_code: string
13049
13067
  }>
13050
13068
  /** Date and time at which the device object was created. */
13051
13069
  created_at: string