@seamapi/types 1.949.0 → 1.951.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 +31 -27
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +50 -50
- package/dist/index.cjs +31 -27
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +70 -70
- package/lib/seam/connect/models/access-codes/managed-access-code.js +10 -10
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +10 -10
- package/lib/seam/connect/openapi.js +10 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -24
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +27 -25
- package/src/lib/seam/connect/openapi.ts +10 -8
- package/src/lib/seam/connect/route-types.ts +24 -22
|
@@ -1802,7 +1802,7 @@ export type Routes = {
|
|
|
1802
1802
|
/** Date and time at which Seam created the error. */
|
|
1803
1803
|
created_at?: string | undefined;
|
|
1804
1804
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1805
|
-
error_code: '
|
|
1805
|
+
error_code: 'conflicting_external_modification';
|
|
1806
1806
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
1807
1807
|
change_type?: ('modified' | 'removed') | undefined;
|
|
1808
1808
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -2006,7 +2006,7 @@ export type Routes = {
|
|
|
2006
2006
|
/** Date and time at which Seam created the warning. */
|
|
2007
2007
|
created_at?: string | undefined;
|
|
2008
2008
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2009
|
-
warning_code: '
|
|
2009
|
+
warning_code: 'external_modification_in_effect';
|
|
2010
2010
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2011
2011
|
change_type?: ('modified' | 'removed') | undefined;
|
|
2012
2012
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -2308,7 +2308,7 @@ export type Routes = {
|
|
|
2308
2308
|
/** Date and time at which Seam created the error. */
|
|
2309
2309
|
created_at?: string | undefined;
|
|
2310
2310
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2311
|
-
error_code: '
|
|
2311
|
+
error_code: 'conflicting_external_modification';
|
|
2312
2312
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2313
2313
|
change_type?: ('modified' | 'removed') | undefined;
|
|
2314
2314
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -2512,7 +2512,7 @@ export type Routes = {
|
|
|
2512
2512
|
/** Date and time at which Seam created the warning. */
|
|
2513
2513
|
created_at?: string | undefined;
|
|
2514
2514
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2515
|
-
warning_code: '
|
|
2515
|
+
warning_code: 'external_modification_in_effect';
|
|
2516
2516
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2517
2517
|
change_type?: ('modified' | 'removed') | undefined;
|
|
2518
2518
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -4502,7 +4502,7 @@ export type Routes = {
|
|
|
4502
4502
|
/** Date and time at which Seam created the error. */
|
|
4503
4503
|
created_at?: string | undefined;
|
|
4504
4504
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4505
|
-
error_code: '
|
|
4505
|
+
error_code: 'conflicting_external_modification';
|
|
4506
4506
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
4507
4507
|
change_type?: ('modified' | 'removed') | undefined;
|
|
4508
4508
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -4706,7 +4706,7 @@ export type Routes = {
|
|
|
4706
4706
|
/** Date and time at which Seam created the warning. */
|
|
4707
4707
|
created_at?: string | undefined;
|
|
4708
4708
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4709
|
-
warning_code: '
|
|
4709
|
+
warning_code: 'external_modification_in_effect';
|
|
4710
4710
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
4711
4711
|
change_type?: ('modified' | 'removed') | undefined;
|
|
4712
4712
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5054,7 +5054,7 @@ export type Routes = {
|
|
|
5054
5054
|
/** Date and time at which Seam created the error. */
|
|
5055
5055
|
created_at?: string | undefined;
|
|
5056
5056
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5057
|
-
error_code: '
|
|
5057
|
+
error_code: 'conflicting_external_modification';
|
|
5058
5058
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5059
5059
|
change_type?: ('modified' | 'removed') | undefined;
|
|
5060
5060
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5258,7 +5258,7 @@ export type Routes = {
|
|
|
5258
5258
|
/** Date and time at which Seam created the warning. */
|
|
5259
5259
|
created_at?: string | undefined;
|
|
5260
5260
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5261
|
-
warning_code: '
|
|
5261
|
+
warning_code: 'external_modification_in_effect';
|
|
5262
5262
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5263
5263
|
change_type?: ('modified' | 'removed') | undefined;
|
|
5264
5264
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5551,7 +5551,7 @@ export type Routes = {
|
|
|
5551
5551
|
/** Date and time at which Seam created the error. */
|
|
5552
5552
|
created_at?: string | undefined;
|
|
5553
5553
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5554
|
-
error_code: '
|
|
5554
|
+
error_code: 'conflicting_external_modification';
|
|
5555
5555
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5556
5556
|
change_type?: ('modified' | 'removed') | undefined;
|
|
5557
5557
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5755,7 +5755,7 @@ export type Routes = {
|
|
|
5755
5755
|
/** Date and time at which Seam created the warning. */
|
|
5756
5756
|
created_at?: string | undefined;
|
|
5757
5757
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5758
|
-
warning_code: '
|
|
5758
|
+
warning_code: 'external_modification_in_effect';
|
|
5759
5759
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5760
5760
|
change_type?: ('modified' | 'removed') | undefined;
|
|
5761
5761
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6025,7 +6025,7 @@ export type Routes = {
|
|
|
6025
6025
|
/** Date and time at which Seam created the error. */
|
|
6026
6026
|
created_at?: string | undefined;
|
|
6027
6027
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6028
|
-
error_code: '
|
|
6028
|
+
error_code: 'conflicting_external_modification';
|
|
6029
6029
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6030
6030
|
change_type?: ('modified' | 'removed') | undefined;
|
|
6031
6031
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6229,7 +6229,7 @@ export type Routes = {
|
|
|
6229
6229
|
/** Date and time at which Seam created the warning. */
|
|
6230
6230
|
created_at?: string | undefined;
|
|
6231
6231
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6232
|
-
warning_code: '
|
|
6232
|
+
warning_code: 'external_modification_in_effect';
|
|
6233
6233
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6234
6234
|
change_type?: ('modified' | 'removed') | undefined;
|
|
6235
6235
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6532,7 +6532,7 @@ export type Routes = {
|
|
|
6532
6532
|
/** Date and time at which Seam created the error. */
|
|
6533
6533
|
created_at?: string | undefined;
|
|
6534
6534
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6535
|
-
error_code: '
|
|
6535
|
+
error_code: 'conflicting_external_modification';
|
|
6536
6536
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6537
6537
|
change_type?: ('modified' | 'removed') | undefined;
|
|
6538
6538
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6736,7 +6736,7 @@ export type Routes = {
|
|
|
6736
6736
|
/** Date and time at which Seam created the warning. */
|
|
6737
6737
|
created_at?: string | undefined;
|
|
6738
6738
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6739
|
-
warning_code: '
|
|
6739
|
+
warning_code: 'external_modification_in_effect';
|
|
6740
6740
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6741
6741
|
change_type?: ('modified' | 'removed') | undefined;
|
|
6742
6742
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -8635,7 +8635,7 @@ export type Routes = {
|
|
|
8635
8635
|
/** Date and time at which Seam created the error. */
|
|
8636
8636
|
created_at?: string | undefined;
|
|
8637
8637
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8638
|
-
error_code: '
|
|
8638
|
+
error_code: 'conflicting_external_modification';
|
|
8639
8639
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
8640
8640
|
change_type?: ('modified' | 'removed') | undefined;
|
|
8641
8641
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -8839,7 +8839,7 @@ export type Routes = {
|
|
|
8839
8839
|
/** Date and time at which Seam created the warning. */
|
|
8840
8840
|
created_at?: string | undefined;
|
|
8841
8841
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
8842
|
-
warning_code: '
|
|
8842
|
+
warning_code: 'external_modification_in_effect';
|
|
8843
8843
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
8844
8844
|
change_type?: ('modified' | 'removed') | undefined;
|
|
8845
8845
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -9028,7 +9028,7 @@ export type Routes = {
|
|
|
9028
9028
|
/** Date and time at which Seam created the error. */
|
|
9029
9029
|
created_at?: string | undefined;
|
|
9030
9030
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9031
|
-
error_code: '
|
|
9031
|
+
error_code: 'conflicting_external_modification';
|
|
9032
9032
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
9033
9033
|
change_type?: ('modified' | 'removed') | undefined;
|
|
9034
9034
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -9232,7 +9232,7 @@ export type Routes = {
|
|
|
9232
9232
|
/** Date and time at which Seam created the warning. */
|
|
9233
9233
|
created_at?: string | undefined;
|
|
9234
9234
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9235
|
-
warning_code: '
|
|
9235
|
+
warning_code: 'external_modification_in_effect';
|
|
9236
9236
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
9237
9237
|
change_type?: ('modified' | 'removed') | undefined;
|
|
9238
9238
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -75410,14 +75410,14 @@ export type Routes = {
|
|
|
75410
75410
|
jsonBody: {};
|
|
75411
75411
|
commonParams: {
|
|
75412
75412
|
/** Name of the workspace feature flag to update. */
|
|
75413
|
-
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED';
|
|
75413
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED' | 'AURORA_CUSTOMER_FILTER_ENABLED';
|
|
75414
75414
|
/** Whether the feature flag should be enabled for the workspace. */
|
|
75415
75415
|
enabled: boolean;
|
|
75416
75416
|
};
|
|
75417
75417
|
formData: {};
|
|
75418
75418
|
jsonResponse: {
|
|
75419
75419
|
feature_flag: {
|
|
75420
|
-
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED';
|
|
75420
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES' | 'LYNX_MIGRATION_ENABLED' | 'AURORA_CUSTOMER_FILTER_ENABLED';
|
|
75421
75421
|
enabled: boolean;
|
|
75422
75422
|
};
|
|
75423
75423
|
};
|
|
@@ -119730,7 +119730,7 @@ export type Routes = {
|
|
|
119730
119730
|
/** Date and time at which Seam created the error. */
|
|
119731
119731
|
created_at?: string | undefined;
|
|
119732
119732
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
119733
|
-
error_code: '
|
|
119733
|
+
error_code: 'conflicting_external_modification';
|
|
119734
119734
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
119735
119735
|
change_type?: ('modified' | 'removed') | undefined;
|
|
119736
119736
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -119934,7 +119934,7 @@ export type Routes = {
|
|
|
119934
119934
|
/** Date and time at which Seam created the warning. */
|
|
119935
119935
|
created_at?: string | undefined;
|
|
119936
119936
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
119937
|
-
warning_code: '
|
|
119937
|
+
warning_code: 'external_modification_in_effect';
|
|
119938
119938
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
119939
119939
|
change_type?: ('modified' | 'removed') | undefined;
|
|
119940
119940
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -120107,7 +120107,7 @@ export type Routes = {
|
|
|
120107
120107
|
/** Date and time at which Seam created the error. */
|
|
120108
120108
|
created_at?: string | undefined;
|
|
120109
120109
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
120110
|
-
error_code: '
|
|
120110
|
+
error_code: 'conflicting_external_modification';
|
|
120111
120111
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
120112
120112
|
change_type?: ('modified' | 'removed') | undefined;
|
|
120113
120113
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -120311,7 +120311,7 @@ export type Routes = {
|
|
|
120311
120311
|
/** Date and time at which Seam created the warning. */
|
|
120312
120312
|
created_at?: string | undefined;
|
|
120313
120313
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
120314
|
-
warning_code: '
|
|
120314
|
+
warning_code: 'external_modification_in_effect';
|
|
120315
120315
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
120316
120316
|
change_type?: ('modified' | 'removed') | undefined;
|
|
120317
120317
|
/** List of fields that were changed externally, with their previous and new values. */
|
package/package.json
CHANGED
|
@@ -41,27 +41,29 @@ const modified_field = z.object({
|
|
|
41
41
|
to: z.string().nullable().describe('The new value of the field.'),
|
|
42
42
|
})
|
|
43
43
|
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
44
|
+
const conflicting_external_modification_error = common_access_code_error.extend(
|
|
45
|
+
{
|
|
46
|
+
error_code: z
|
|
47
|
+
.literal('conflicting_external_modification')
|
|
48
|
+
.describe(error_code_description),
|
|
49
|
+
change_type: z
|
|
50
|
+
.enum(['modified', 'removed'])
|
|
51
|
+
.optional()
|
|
52
|
+
.describe(
|
|
53
|
+
"Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
54
|
+
),
|
|
55
|
+
modified_fields: z
|
|
56
|
+
.array(modified_field)
|
|
57
|
+
.optional()
|
|
58
|
+
.describe(
|
|
59
|
+
'List of fields that were changed externally, with their previous and new values.',
|
|
60
|
+
),
|
|
61
|
+
},
|
|
62
|
+
).describe(`
|
|
61
63
|
---
|
|
62
64
|
resource_type: access_code
|
|
63
65
|
---
|
|
64
|
-
Code was modified or removed externally after Seam successfully set it on the device.
|
|
66
|
+
Code was modified or removed externally after Seam successfully set it on the device. The external change conflicts with the state that Seam is trying to apply, so Seam will attempt to set the code on the device again.
|
|
65
67
|
`)
|
|
66
68
|
|
|
67
69
|
const failed_to_set_on_device = common_access_code_error.extend({
|
|
@@ -151,7 +153,7 @@ const access_code_error = z
|
|
|
151
153
|
failed_to_remove_from_device,
|
|
152
154
|
duplicate_code_on_device,
|
|
153
155
|
no_space_for_access_code_on_device,
|
|
154
|
-
|
|
156
|
+
conflicting_external_modification_error,
|
|
155
157
|
access_code_inactive_error,
|
|
156
158
|
insufficient_permissions,
|
|
157
159
|
])
|
|
@@ -172,7 +174,7 @@ const _access_code_error_map = z.object({
|
|
|
172
174
|
.nullable(),
|
|
173
175
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
174
176
|
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
175
|
-
|
|
177
|
+
conflicting_external_modification: conflicting_external_modification_error
|
|
176
178
|
.optional()
|
|
177
179
|
.nullable(),
|
|
178
180
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
@@ -196,10 +198,10 @@ const common_access_code_warning = z.object({
|
|
|
196
198
|
const warning_code_description =
|
|
197
199
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.'
|
|
198
200
|
|
|
199
|
-
const
|
|
201
|
+
const external_modification_in_effect_warning = common_access_code_warning
|
|
200
202
|
.extend({
|
|
201
203
|
warning_code: z
|
|
202
|
-
.literal('
|
|
204
|
+
.literal('external_modification_in_effect')
|
|
203
205
|
.describe(warning_code_description),
|
|
204
206
|
change_type: z
|
|
205
207
|
.enum(['modified', 'removed'])
|
|
@@ -215,7 +217,7 @@ const code_modified_external_to_seam_warning = common_access_code_warning
|
|
|
215
217
|
),
|
|
216
218
|
})
|
|
217
219
|
.describe(
|
|
218
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
220
|
+
'Code was modified or removed externally after Seam successfully set it on the device. External modification is allowed for this code, so the externally modified state is being honored.',
|
|
219
221
|
)
|
|
220
222
|
|
|
221
223
|
const code_rotates_periodically = common_access_code_warning
|
|
@@ -300,7 +302,7 @@ const access_code_warning = z
|
|
|
300
302
|
.discriminatedUnion('warning_code', [
|
|
301
303
|
code_rotates_periodically,
|
|
302
304
|
time_frame_adjusted_for_unknown_time_zone,
|
|
303
|
-
|
|
305
|
+
external_modification_in_effect_warning,
|
|
304
306
|
delay_in_setting_on_device,
|
|
305
307
|
delay_in_removing_from_device,
|
|
306
308
|
third_party_integration_detected,
|
|
@@ -319,7 +321,7 @@ const _access_code_warning_map = z.object({
|
|
|
319
321
|
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
320
322
|
time_frame_adjusted_for_unknown_time_zone:
|
|
321
323
|
time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
|
|
322
|
-
|
|
324
|
+
external_modification_in_effect: external_modification_in_effect_warning
|
|
323
325
|
.optional()
|
|
324
326
|
.nullable(),
|
|
325
327
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
@@ -274,7 +274,7 @@ const openapi: OpenAPISpec = {
|
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
description:
|
|
277
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
277
|
+
'Code was modified or removed externally after Seam successfully set it on the device. The external change conflicts with the state that Seam is trying to apply, so Seam will attempt to set the code on the device again.',
|
|
278
278
|
properties: {
|
|
279
279
|
change_type: {
|
|
280
280
|
description:
|
|
@@ -291,7 +291,7 @@ const openapi: OpenAPISpec = {
|
|
|
291
291
|
error_code: {
|
|
292
292
|
description:
|
|
293
293
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
294
|
-
enum: ['
|
|
294
|
+
enum: ['conflicting_external_modification'],
|
|
295
295
|
type: 'string',
|
|
296
296
|
},
|
|
297
297
|
is_access_code_error: {
|
|
@@ -1435,7 +1435,7 @@ const openapi: OpenAPISpec = {
|
|
|
1435
1435
|
},
|
|
1436
1436
|
{
|
|
1437
1437
|
description:
|
|
1438
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
1438
|
+
'Code was modified or removed externally after Seam successfully set it on the device. External modification is allowed for this code, so the externally modified state is being honored.',
|
|
1439
1439
|
properties: {
|
|
1440
1440
|
change_type: {
|
|
1441
1441
|
description:
|
|
@@ -1483,7 +1483,7 @@ const openapi: OpenAPISpec = {
|
|
|
1483
1483
|
warning_code: {
|
|
1484
1484
|
description:
|
|
1485
1485
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1486
|
-
enum: ['
|
|
1486
|
+
enum: ['external_modification_in_effect'],
|
|
1487
1487
|
type: 'string',
|
|
1488
1488
|
},
|
|
1489
1489
|
},
|
|
@@ -29668,7 +29668,7 @@ const openapi: OpenAPISpec = {
|
|
|
29668
29668
|
},
|
|
29669
29669
|
{
|
|
29670
29670
|
description:
|
|
29671
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
29671
|
+
'Code was modified or removed externally after Seam successfully set it on the device. The external change conflicts with the state that Seam is trying to apply, so Seam will attempt to set the code on the device again.',
|
|
29672
29672
|
properties: {
|
|
29673
29673
|
change_type: {
|
|
29674
29674
|
description:
|
|
@@ -29685,7 +29685,7 @@ const openapi: OpenAPISpec = {
|
|
|
29685
29685
|
error_code: {
|
|
29686
29686
|
description:
|
|
29687
29687
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
29688
|
-
enum: ['
|
|
29688
|
+
enum: ['conflicting_external_modification'],
|
|
29689
29689
|
type: 'string',
|
|
29690
29690
|
},
|
|
29691
29691
|
is_access_code_error: {
|
|
@@ -30518,7 +30518,7 @@ const openapi: OpenAPISpec = {
|
|
|
30518
30518
|
},
|
|
30519
30519
|
{
|
|
30520
30520
|
description:
|
|
30521
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
30521
|
+
'Code was modified or removed externally after Seam successfully set it on the device. External modification is allowed for this code, so the externally modified state is being honored.',
|
|
30522
30522
|
properties: {
|
|
30523
30523
|
change_type: {
|
|
30524
30524
|
description:
|
|
@@ -30566,7 +30566,7 @@ const openapi: OpenAPISpec = {
|
|
|
30566
30566
|
warning_code: {
|
|
30567
30567
|
description:
|
|
30568
30568
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30569
|
-
enum: ['
|
|
30569
|
+
enum: ['external_modification_in_effect'],
|
|
30570
30570
|
type: 'string',
|
|
30571
30571
|
},
|
|
30572
30572
|
},
|
|
@@ -68281,6 +68281,7 @@ const openapi: OpenAPISpec = {
|
|
|
68281
68281
|
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
68282
68282
|
'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES',
|
|
68283
68283
|
'LYNX_MIGRATION_ENABLED',
|
|
68284
|
+
'AURORA_CUSTOMER_FILTER_ENABLED',
|
|
68284
68285
|
],
|
|
68285
68286
|
type: 'string',
|
|
68286
68287
|
},
|
|
@@ -68310,6 +68311,7 @@ const openapi: OpenAPISpec = {
|
|
|
68310
68311
|
'MANAGE_DEVICES_CONFIRMATION_MODAL',
|
|
68311
68312
|
'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES',
|
|
68312
68313
|
'LYNX_MIGRATION_ENABLED',
|
|
68314
|
+
'AURORA_CUSTOMER_FILTER_ENABLED',
|
|
68313
68315
|
],
|
|
68314
68316
|
type: 'string',
|
|
68315
68317
|
},
|
|
@@ -2079,7 +2079,7 @@ export type Routes = {
|
|
|
2079
2079
|
/** Date and time at which Seam created the error. */
|
|
2080
2080
|
created_at?: string | undefined
|
|
2081
2081
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2082
|
-
error_code: '
|
|
2082
|
+
error_code: 'conflicting_external_modification'
|
|
2083
2083
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2084
2084
|
change_type?: ('modified' | 'removed') | undefined
|
|
2085
2085
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -2307,7 +2307,7 @@ export type Routes = {
|
|
|
2307
2307
|
/** Date and time at which Seam created the warning. */
|
|
2308
2308
|
created_at?: string | undefined
|
|
2309
2309
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2310
|
-
warning_code: '
|
|
2310
|
+
warning_code: 'external_modification_in_effect'
|
|
2311
2311
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2312
2312
|
change_type?: ('modified' | 'removed') | undefined
|
|
2313
2313
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -2634,7 +2634,7 @@ export type Routes = {
|
|
|
2634
2634
|
/** Date and time at which Seam created the error. */
|
|
2635
2635
|
created_at?: string | undefined
|
|
2636
2636
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2637
|
-
error_code: '
|
|
2637
|
+
error_code: 'conflicting_external_modification'
|
|
2638
2638
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2639
2639
|
change_type?: ('modified' | 'removed') | undefined
|
|
2640
2640
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -2862,7 +2862,7 @@ export type Routes = {
|
|
|
2862
2862
|
/** Date and time at which Seam created the warning. */
|
|
2863
2863
|
created_at?: string | undefined
|
|
2864
2864
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2865
|
-
warning_code: '
|
|
2865
|
+
warning_code: 'external_modification_in_effect'
|
|
2866
2866
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
2867
2867
|
change_type?: ('modified' | 'removed') | undefined
|
|
2868
2868
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5148,7 +5148,7 @@ export type Routes = {
|
|
|
5148
5148
|
/** Date and time at which Seam created the error. */
|
|
5149
5149
|
created_at?: string | undefined
|
|
5150
5150
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5151
|
-
error_code: '
|
|
5151
|
+
error_code: 'conflicting_external_modification'
|
|
5152
5152
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5153
5153
|
change_type?: ('modified' | 'removed') | undefined
|
|
5154
5154
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5376,7 +5376,7 @@ export type Routes = {
|
|
|
5376
5376
|
/** Date and time at which Seam created the warning. */
|
|
5377
5377
|
created_at?: string | undefined
|
|
5378
5378
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5379
|
-
warning_code: '
|
|
5379
|
+
warning_code: 'external_modification_in_effect'
|
|
5380
5380
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5381
5381
|
change_type?: ('modified' | 'removed') | undefined
|
|
5382
5382
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -5802,7 +5802,7 @@ export type Routes = {
|
|
|
5802
5802
|
/** Date and time at which Seam created the error. */
|
|
5803
5803
|
created_at?: string | undefined
|
|
5804
5804
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5805
|
-
error_code: '
|
|
5805
|
+
error_code: 'conflicting_external_modification'
|
|
5806
5806
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
5807
5807
|
change_type?: ('modified' | 'removed') | undefined
|
|
5808
5808
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6030,7 +6030,7 @@ export type Routes = {
|
|
|
6030
6030
|
/** Date and time at which Seam created the warning. */
|
|
6031
6031
|
created_at?: string | undefined
|
|
6032
6032
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6033
|
-
warning_code: '
|
|
6033
|
+
warning_code: 'external_modification_in_effect'
|
|
6034
6034
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6035
6035
|
change_type?: ('modified' | 'removed') | undefined
|
|
6036
6036
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6348,7 +6348,7 @@ export type Routes = {
|
|
|
6348
6348
|
/** Date and time at which Seam created the error. */
|
|
6349
6349
|
created_at?: string | undefined
|
|
6350
6350
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6351
|
-
error_code: '
|
|
6351
|
+
error_code: 'conflicting_external_modification'
|
|
6352
6352
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6353
6353
|
change_type?: ('modified' | 'removed') | undefined
|
|
6354
6354
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6576,7 +6576,7 @@ export type Routes = {
|
|
|
6576
6576
|
/** Date and time at which Seam created the warning. */
|
|
6577
6577
|
created_at?: string | undefined
|
|
6578
6578
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6579
|
-
warning_code: '
|
|
6579
|
+
warning_code: 'external_modification_in_effect'
|
|
6580
6580
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6581
6581
|
change_type?: ('modified' | 'removed') | undefined
|
|
6582
6582
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -6871,7 +6871,7 @@ export type Routes = {
|
|
|
6871
6871
|
/** Date and time at which Seam created the error. */
|
|
6872
6872
|
created_at?: string | undefined
|
|
6873
6873
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6874
|
-
error_code: '
|
|
6874
|
+
error_code: 'conflicting_external_modification'
|
|
6875
6875
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
6876
6876
|
change_type?: ('modified' | 'removed') | undefined
|
|
6877
6877
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -7099,7 +7099,7 @@ export type Routes = {
|
|
|
7099
7099
|
/** Date and time at which Seam created the warning. */
|
|
7100
7100
|
created_at?: string | undefined
|
|
7101
7101
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7102
|
-
warning_code: '
|
|
7102
|
+
warning_code: 'external_modification_in_effect'
|
|
7103
7103
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
7104
7104
|
change_type?: ('modified' | 'removed') | undefined
|
|
7105
7105
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -7427,7 +7427,7 @@ export type Routes = {
|
|
|
7427
7427
|
/** Date and time at which Seam created the error. */
|
|
7428
7428
|
created_at?: string | undefined
|
|
7429
7429
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7430
|
-
error_code: '
|
|
7430
|
+
error_code: 'conflicting_external_modification'
|
|
7431
7431
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
7432
7432
|
change_type?: ('modified' | 'removed') | undefined
|
|
7433
7433
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -7655,7 +7655,7 @@ export type Routes = {
|
|
|
7655
7655
|
/** Date and time at which Seam created the warning. */
|
|
7656
7656
|
created_at?: string | undefined
|
|
7657
7657
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7658
|
-
warning_code: '
|
|
7658
|
+
warning_code: 'external_modification_in_effect'
|
|
7659
7659
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
7660
7660
|
change_type?: ('modified' | 'removed') | undefined
|
|
7661
7661
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -9843,7 +9843,7 @@ export type Routes = {
|
|
|
9843
9843
|
/** Date and time at which Seam created the error. */
|
|
9844
9844
|
created_at?: string | undefined
|
|
9845
9845
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9846
|
-
error_code: '
|
|
9846
|
+
error_code: 'conflicting_external_modification'
|
|
9847
9847
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
9848
9848
|
change_type?: ('modified' | 'removed') | undefined
|
|
9849
9849
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -10071,7 +10071,7 @@ export type Routes = {
|
|
|
10071
10071
|
/** Date and time at which Seam created the warning. */
|
|
10072
10072
|
created_at?: string | undefined
|
|
10073
10073
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10074
|
-
warning_code: '
|
|
10074
|
+
warning_code: 'external_modification_in_effect'
|
|
10075
10075
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
10076
10076
|
change_type?: ('modified' | 'removed') | undefined
|
|
10077
10077
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -10278,7 +10278,7 @@ export type Routes = {
|
|
|
10278
10278
|
/** Date and time at which Seam created the error. */
|
|
10279
10279
|
created_at?: string | undefined
|
|
10280
10280
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10281
|
-
error_code: '
|
|
10281
|
+
error_code: 'conflicting_external_modification'
|
|
10282
10282
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
10283
10283
|
change_type?: ('modified' | 'removed') | undefined
|
|
10284
10284
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -10506,7 +10506,7 @@ export type Routes = {
|
|
|
10506
10506
|
/** Date and time at which Seam created the warning. */
|
|
10507
10507
|
created_at?: string | undefined
|
|
10508
10508
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10509
|
-
warning_code: '
|
|
10509
|
+
warning_code: 'external_modification_in_effect'
|
|
10510
10510
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
10511
10511
|
change_type?: ('modified' | 'removed') | undefined
|
|
10512
10512
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -90253,6 +90253,7 @@ export type Routes = {
|
|
|
90253
90253
|
| 'MANAGE_DEVICES_CONFIRMATION_MODAL'
|
|
90254
90254
|
| 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES'
|
|
90255
90255
|
| 'LYNX_MIGRATION_ENABLED'
|
|
90256
|
+
| 'AURORA_CUSTOMER_FILTER_ENABLED'
|
|
90256
90257
|
/** Whether the feature flag should be enabled for the workspace. */
|
|
90257
90258
|
enabled: boolean
|
|
90258
90259
|
}
|
|
@@ -90268,6 +90269,7 @@ export type Routes = {
|
|
|
90268
90269
|
| 'MANAGE_DEVICES_CONFIRMATION_MODAL'
|
|
90269
90270
|
| 'RECLAIM_ORPHANED_BACKUP_ACCESS_CODES'
|
|
90270
90271
|
| 'LYNX_MIGRATION_ENABLED'
|
|
90272
|
+
| 'AURORA_CUSTOMER_FILTER_ENABLED'
|
|
90271
90273
|
enabled: boolean
|
|
90272
90274
|
}
|
|
90273
90275
|
}
|
|
@@ -142571,7 +142573,7 @@ export type Routes = {
|
|
|
142571
142573
|
/** Date and time at which Seam created the error. */
|
|
142572
142574
|
created_at?: string | undefined
|
|
142573
142575
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
142574
|
-
error_code: '
|
|
142576
|
+
error_code: 'conflicting_external_modification'
|
|
142575
142577
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
142576
142578
|
change_type?: ('modified' | 'removed') | undefined
|
|
142577
142579
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -142799,7 +142801,7 @@ export type Routes = {
|
|
|
142799
142801
|
/** Date and time at which Seam created the warning. */
|
|
142800
142802
|
created_at?: string | undefined
|
|
142801
142803
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142802
|
-
warning_code: '
|
|
142804
|
+
warning_code: 'external_modification_in_effect'
|
|
142803
142805
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
142804
142806
|
change_type?: ('modified' | 'removed') | undefined
|
|
142805
142807
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -142992,7 +142994,7 @@ export type Routes = {
|
|
|
142992
142994
|
/** Date and time at which Seam created the error. */
|
|
142993
142995
|
created_at?: string | undefined
|
|
142994
142996
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
142995
|
-
error_code: '
|
|
142997
|
+
error_code: 'conflicting_external_modification'
|
|
142996
142998
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
142997
142999
|
change_type?: ('modified' | 'removed') | undefined
|
|
142998
143000
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -143220,7 +143222,7 @@ export type Routes = {
|
|
|
143220
143222
|
/** Date and time at which Seam created the warning. */
|
|
143221
143223
|
created_at?: string | undefined
|
|
143222
143224
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
143223
|
-
warning_code: '
|
|
143225
|
+
warning_code: 'external_modification_in_effect'
|
|
143224
143226
|
/** Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device. */
|
|
143225
143227
|
change_type?: ('modified' | 'removed') | undefined
|
|
143226
143228
|
/** List of fields that were changed externally, with their previous and new values. */
|