@seamapi/types 1.949.0 → 1.950.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 +27 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +48 -48
- package/dist/index.cjs +27 -25
- 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 +8 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +22 -22
- 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 +8 -8
- package/src/lib/seam/connect/route-types.ts +22 -22
|
@@ -90,7 +90,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
90
90
|
is_access_code_error: z.ZodLiteral<true>;
|
|
91
91
|
created_at: z.ZodOptional<z.ZodString>;
|
|
92
92
|
} & {
|
|
93
|
-
error_code: z.ZodLiteral<"
|
|
93
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
94
94
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
95
95
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
96
96
|
field: z.ZodString;
|
|
@@ -107,7 +107,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
107
107
|
}>, "many">>;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
message: string;
|
|
110
|
-
error_code: "
|
|
110
|
+
error_code: "conflicting_external_modification";
|
|
111
111
|
is_access_code_error: true;
|
|
112
112
|
created_at?: string | undefined;
|
|
113
113
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -118,7 +118,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
118
118
|
}[] | undefined;
|
|
119
119
|
}, {
|
|
120
120
|
message: string;
|
|
121
|
-
error_code: "
|
|
121
|
+
error_code: "conflicting_external_modification";
|
|
122
122
|
is_access_code_error: true;
|
|
123
123
|
created_at?: string | undefined;
|
|
124
124
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -270,12 +270,12 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
270
270
|
is_access_code_error: true;
|
|
271
271
|
created_at?: string | undefined;
|
|
272
272
|
}>>>;
|
|
273
|
-
|
|
273
|
+
conflicting_external_modification: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
274
274
|
message: z.ZodString;
|
|
275
275
|
is_access_code_error: z.ZodLiteral<true>;
|
|
276
276
|
created_at: z.ZodOptional<z.ZodString>;
|
|
277
277
|
} & {
|
|
278
|
-
error_code: z.ZodLiteral<"
|
|
278
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
279
279
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
280
280
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
281
281
|
field: z.ZodString;
|
|
@@ -292,7 +292,7 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
292
292
|
}>, "many">>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
294
|
message: string;
|
|
295
|
-
error_code: "
|
|
295
|
+
error_code: "conflicting_external_modification";
|
|
296
296
|
is_access_code_error: true;
|
|
297
297
|
created_at?: string | undefined;
|
|
298
298
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -303,7 +303,7 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
303
303
|
}[] | undefined;
|
|
304
304
|
}, {
|
|
305
305
|
message: string;
|
|
306
|
-
error_code: "
|
|
306
|
+
error_code: "conflicting_external_modification";
|
|
307
307
|
is_access_code_error: true;
|
|
308
308
|
created_at?: string | undefined;
|
|
309
309
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -343,6 +343,18 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
343
343
|
is_access_code_error: true;
|
|
344
344
|
created_at?: string | undefined;
|
|
345
345
|
} | null | undefined;
|
|
346
|
+
conflicting_external_modification?: {
|
|
347
|
+
message: string;
|
|
348
|
+
error_code: "conflicting_external_modification";
|
|
349
|
+
is_access_code_error: true;
|
|
350
|
+
created_at?: string | undefined;
|
|
351
|
+
change_type?: "modified" | "removed" | undefined;
|
|
352
|
+
modified_fields?: {
|
|
353
|
+
from: string | null;
|
|
354
|
+
to: string | null;
|
|
355
|
+
field: string;
|
|
356
|
+
}[] | undefined;
|
|
357
|
+
} | null | undefined;
|
|
346
358
|
failed_to_set_on_device?: {
|
|
347
359
|
message: string;
|
|
348
360
|
error_code: "failed_to_set_on_device";
|
|
@@ -375,18 +387,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
375
387
|
is_access_code_error: true;
|
|
376
388
|
created_at?: string | undefined;
|
|
377
389
|
} | null | undefined;
|
|
378
|
-
code_modified_external_to_seam_error?: {
|
|
379
|
-
message: string;
|
|
380
|
-
error_code: "code_modified_external_to_seam";
|
|
381
|
-
is_access_code_error: true;
|
|
382
|
-
created_at?: string | undefined;
|
|
383
|
-
change_type?: "modified" | "removed" | undefined;
|
|
384
|
-
modified_fields?: {
|
|
385
|
-
from: string | null;
|
|
386
|
-
to: string | null;
|
|
387
|
-
field: string;
|
|
388
|
-
}[] | undefined;
|
|
389
|
-
} | null | undefined;
|
|
390
390
|
}, {
|
|
391
391
|
provider_issue?: {
|
|
392
392
|
message: string;
|
|
@@ -400,6 +400,18 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
400
400
|
is_access_code_error: true;
|
|
401
401
|
created_at?: string | undefined;
|
|
402
402
|
} | null | undefined;
|
|
403
|
+
conflicting_external_modification?: {
|
|
404
|
+
message: string;
|
|
405
|
+
error_code: "conflicting_external_modification";
|
|
406
|
+
is_access_code_error: true;
|
|
407
|
+
created_at?: string | undefined;
|
|
408
|
+
change_type?: "modified" | "removed" | undefined;
|
|
409
|
+
modified_fields?: {
|
|
410
|
+
from: string | null;
|
|
411
|
+
to: string | null;
|
|
412
|
+
field: string;
|
|
413
|
+
}[] | undefined;
|
|
414
|
+
} | null | undefined;
|
|
403
415
|
failed_to_set_on_device?: {
|
|
404
416
|
message: string;
|
|
405
417
|
error_code: "failed_to_set_on_device";
|
|
@@ -432,18 +444,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
432
444
|
is_access_code_error: true;
|
|
433
445
|
created_at?: string | undefined;
|
|
434
446
|
} | null | undefined;
|
|
435
|
-
code_modified_external_to_seam_error?: {
|
|
436
|
-
message: string;
|
|
437
|
-
error_code: "code_modified_external_to_seam";
|
|
438
|
-
is_access_code_error: true;
|
|
439
|
-
created_at?: string | undefined;
|
|
440
|
-
change_type?: "modified" | "removed" | undefined;
|
|
441
|
-
modified_fields?: {
|
|
442
|
-
from: string | null;
|
|
443
|
-
to: string | null;
|
|
444
|
-
field: string;
|
|
445
|
-
}[] | undefined;
|
|
446
|
-
} | null | undefined;
|
|
447
447
|
}>;
|
|
448
448
|
export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>;
|
|
449
449
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -476,7 +476,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
476
476
|
message: z.ZodString;
|
|
477
477
|
created_at: z.ZodOptional<z.ZodString>;
|
|
478
478
|
} & {
|
|
479
|
-
warning_code: z.ZodLiteral<"
|
|
479
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
480
480
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
481
481
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
482
482
|
field: z.ZodString;
|
|
@@ -493,7 +493,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
493
493
|
}>, "many">>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
495
|
message: string;
|
|
496
|
-
warning_code: "
|
|
496
|
+
warning_code: "external_modification_in_effect";
|
|
497
497
|
created_at?: string | undefined;
|
|
498
498
|
change_type?: "modified" | "removed" | undefined;
|
|
499
499
|
modified_fields?: {
|
|
@@ -503,7 +503,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
503
503
|
}[] | undefined;
|
|
504
504
|
}, {
|
|
505
505
|
message: string;
|
|
506
|
-
warning_code: "
|
|
506
|
+
warning_code: "external_modification_in_effect";
|
|
507
507
|
created_at?: string | undefined;
|
|
508
508
|
change_type?: "modified" | "removed" | undefined;
|
|
509
509
|
modified_fields?: {
|
|
@@ -633,11 +633,11 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
633
633
|
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
634
634
|
created_at?: string | undefined;
|
|
635
635
|
}>>>;
|
|
636
|
-
|
|
636
|
+
external_modification_in_effect: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
637
637
|
message: z.ZodString;
|
|
638
638
|
created_at: z.ZodOptional<z.ZodString>;
|
|
639
639
|
} & {
|
|
640
|
-
warning_code: z.ZodLiteral<"
|
|
640
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
641
641
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
642
642
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
643
643
|
field: z.ZodString;
|
|
@@ -654,7 +654,7 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
654
654
|
}>, "many">>;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
656
|
message: string;
|
|
657
|
-
warning_code: "
|
|
657
|
+
warning_code: "external_modification_in_effect";
|
|
658
658
|
created_at?: string | undefined;
|
|
659
659
|
change_type?: "modified" | "removed" | undefined;
|
|
660
660
|
modified_fields?: {
|
|
@@ -664,7 +664,7 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
664
664
|
}[] | undefined;
|
|
665
665
|
}, {
|
|
666
666
|
message: string;
|
|
667
|
-
warning_code: "
|
|
667
|
+
warning_code: "external_modification_in_effect";
|
|
668
668
|
created_at?: string | undefined;
|
|
669
669
|
change_type?: "modified" | "removed" | undefined;
|
|
670
670
|
modified_fields?: {
|
|
@@ -782,6 +782,17 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
782
782
|
warning_code: "third_party_integration_detected";
|
|
783
783
|
created_at?: string | undefined;
|
|
784
784
|
} | null | undefined;
|
|
785
|
+
external_modification_in_effect?: {
|
|
786
|
+
message: string;
|
|
787
|
+
warning_code: "external_modification_in_effect";
|
|
788
|
+
created_at?: string | undefined;
|
|
789
|
+
change_type?: "modified" | "removed" | undefined;
|
|
790
|
+
modified_fields?: {
|
|
791
|
+
from: string | null;
|
|
792
|
+
to: string | null;
|
|
793
|
+
field: string;
|
|
794
|
+
}[] | undefined;
|
|
795
|
+
} | null | undefined;
|
|
785
796
|
code_rotates_periodically?: {
|
|
786
797
|
message: string;
|
|
787
798
|
warning_code: "code_rotates_periodically";
|
|
@@ -817,17 +828,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
817
828
|
warning_code: "using_backup_access_code";
|
|
818
829
|
created_at?: string | undefined;
|
|
819
830
|
} | null | undefined;
|
|
820
|
-
code_modified_external_to_seam_warning?: {
|
|
821
|
-
message: string;
|
|
822
|
-
warning_code: "code_modified_external_to_seam";
|
|
823
|
-
created_at?: string | undefined;
|
|
824
|
-
change_type?: "modified" | "removed" | undefined;
|
|
825
|
-
modified_fields?: {
|
|
826
|
-
from: string | null;
|
|
827
|
-
to: string | null;
|
|
828
|
-
field: string;
|
|
829
|
-
}[] | undefined;
|
|
830
|
-
} | null | undefined;
|
|
831
831
|
}, {
|
|
832
832
|
being_deleted?: {
|
|
833
833
|
message: string;
|
|
@@ -839,6 +839,17 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
839
839
|
warning_code: "third_party_integration_detected";
|
|
840
840
|
created_at?: string | undefined;
|
|
841
841
|
} | null | undefined;
|
|
842
|
+
external_modification_in_effect?: {
|
|
843
|
+
message: string;
|
|
844
|
+
warning_code: "external_modification_in_effect";
|
|
845
|
+
created_at?: string | undefined;
|
|
846
|
+
change_type?: "modified" | "removed" | undefined;
|
|
847
|
+
modified_fields?: {
|
|
848
|
+
from: string | null;
|
|
849
|
+
to: string | null;
|
|
850
|
+
field: string;
|
|
851
|
+
}[] | undefined;
|
|
852
|
+
} | null | undefined;
|
|
842
853
|
code_rotates_periodically?: {
|
|
843
854
|
message: string;
|
|
844
855
|
warning_code: "code_rotates_periodically";
|
|
@@ -874,17 +885,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
874
885
|
warning_code: "using_backup_access_code";
|
|
875
886
|
created_at?: string | undefined;
|
|
876
887
|
} | null | undefined;
|
|
877
|
-
code_modified_external_to_seam_warning?: {
|
|
878
|
-
message: string;
|
|
879
|
-
warning_code: "code_modified_external_to_seam";
|
|
880
|
-
created_at?: string | undefined;
|
|
881
|
-
change_type?: "modified" | "removed" | undefined;
|
|
882
|
-
modified_fields?: {
|
|
883
|
-
from: string | null;
|
|
884
|
-
to: string | null;
|
|
885
|
-
field: string;
|
|
886
|
-
}[] | undefined;
|
|
887
|
-
} | null | undefined;
|
|
888
888
|
}>;
|
|
889
889
|
export type AccessCodeWarningMap = z.infer<typeof _access_code_warning_map>;
|
|
890
890
|
export declare const dormakaba_oracode_access_code_metadata: z.ZodObject<{
|
|
@@ -1017,7 +1017,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1017
1017
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1018
1018
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1019
1019
|
} & {
|
|
1020
|
-
error_code: z.ZodLiteral<"
|
|
1020
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
1021
1021
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
1022
1022
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1023
1023
|
field: z.ZodString;
|
|
@@ -1034,7 +1034,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1034
1034
|
}>, "many">>;
|
|
1035
1035
|
}, "strip", z.ZodTypeAny, {
|
|
1036
1036
|
message: string;
|
|
1037
|
-
error_code: "
|
|
1037
|
+
error_code: "conflicting_external_modification";
|
|
1038
1038
|
is_access_code_error: true;
|
|
1039
1039
|
created_at?: string | undefined;
|
|
1040
1040
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1045,7 +1045,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1045
1045
|
}[] | undefined;
|
|
1046
1046
|
}, {
|
|
1047
1047
|
message: string;
|
|
1048
|
-
error_code: "
|
|
1048
|
+
error_code: "conflicting_external_modification";
|
|
1049
1049
|
is_access_code_error: true;
|
|
1050
1050
|
created_at?: string | undefined;
|
|
1051
1051
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1490,7 +1490,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1490
1490
|
message: z.ZodString;
|
|
1491
1491
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1492
1492
|
} & {
|
|
1493
|
-
warning_code: z.ZodLiteral<"
|
|
1493
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
1494
1494
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
1495
1495
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1496
1496
|
field: z.ZodString;
|
|
@@ -1507,7 +1507,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1507
1507
|
}>, "many">>;
|
|
1508
1508
|
}, "strip", z.ZodTypeAny, {
|
|
1509
1509
|
message: string;
|
|
1510
|
-
warning_code: "
|
|
1510
|
+
warning_code: "external_modification_in_effect";
|
|
1511
1511
|
created_at?: string | undefined;
|
|
1512
1512
|
change_type?: "modified" | "removed" | undefined;
|
|
1513
1513
|
modified_fields?: {
|
|
@@ -1517,7 +1517,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1517
1517
|
}[] | undefined;
|
|
1518
1518
|
}, {
|
|
1519
1519
|
message: string;
|
|
1520
|
-
warning_code: "
|
|
1520
|
+
warning_code: "external_modification_in_effect";
|
|
1521
1521
|
created_at?: string | undefined;
|
|
1522
1522
|
change_type?: "modified" | "removed" | undefined;
|
|
1523
1523
|
modified_fields?: {
|
|
@@ -1950,7 +1950,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1950
1950
|
created_at?: string | undefined;
|
|
1951
1951
|
} | {
|
|
1952
1952
|
message: string;
|
|
1953
|
-
error_code: "
|
|
1953
|
+
error_code: "conflicting_external_modification";
|
|
1954
1954
|
is_access_code_error: true;
|
|
1955
1955
|
created_at?: string | undefined;
|
|
1956
1956
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1994,7 +1994,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
1994
1994
|
})[];
|
|
1995
1995
|
warnings: ({
|
|
1996
1996
|
message: string;
|
|
1997
|
-
warning_code: "
|
|
1997
|
+
warning_code: "external_modification_in_effect";
|
|
1998
1998
|
created_at?: string | undefined;
|
|
1999
1999
|
change_type?: "modified" | "removed" | undefined;
|
|
2000
2000
|
modified_fields?: {
|
|
@@ -2233,7 +2233,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
2233
2233
|
created_at?: string | undefined;
|
|
2234
2234
|
} | {
|
|
2235
2235
|
message: string;
|
|
2236
|
-
error_code: "
|
|
2236
|
+
error_code: "conflicting_external_modification";
|
|
2237
2237
|
is_access_code_error: true;
|
|
2238
2238
|
created_at?: string | undefined;
|
|
2239
2239
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -2277,7 +2277,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
2277
2277
|
})[];
|
|
2278
2278
|
warnings: ({
|
|
2279
2279
|
message: string;
|
|
2280
|
-
warning_code: "
|
|
2280
|
+
warning_code: "external_modification_in_effect";
|
|
2281
2281
|
created_at?: string | undefined;
|
|
2282
2282
|
change_type?: "modified" | "removed" | undefined;
|
|
2283
2283
|
modified_fields?: {
|
|
@@ -30,9 +30,9 @@ const modified_field = z.object({
|
|
|
30
30
|
from: z.string().nullable().describe('The previous value of the field.'),
|
|
31
31
|
to: z.string().nullable().describe('The new value of the field.'),
|
|
32
32
|
});
|
|
33
|
-
const
|
|
33
|
+
const conflicting_external_modification_error = common_access_code_error.extend({
|
|
34
34
|
error_code: z
|
|
35
|
-
.literal('
|
|
35
|
+
.literal('conflicting_external_modification')
|
|
36
36
|
.describe(error_code_description),
|
|
37
37
|
change_type: z
|
|
38
38
|
.enum(['modified', 'removed'])
|
|
@@ -46,7 +46,7 @@ const code_modified_external_to_seam_error = common_access_code_error.extend({
|
|
|
46
46
|
---
|
|
47
47
|
resource_type: access_code
|
|
48
48
|
---
|
|
49
|
-
Code was modified or removed externally after Seam successfully set it on the device.
|
|
49
|
+
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.
|
|
50
50
|
`);
|
|
51
51
|
const failed_to_set_on_device = common_access_code_error.extend({
|
|
52
52
|
error_code: z
|
|
@@ -125,7 +125,7 @@ const access_code_error = z
|
|
|
125
125
|
failed_to_remove_from_device,
|
|
126
126
|
duplicate_code_on_device,
|
|
127
127
|
no_space_for_access_code_on_device,
|
|
128
|
-
|
|
128
|
+
conflicting_external_modification_error,
|
|
129
129
|
access_code_inactive_error,
|
|
130
130
|
insufficient_permissions,
|
|
131
131
|
])
|
|
@@ -141,7 +141,7 @@ const _access_code_error_map = z.object({
|
|
|
141
141
|
.nullable(),
|
|
142
142
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
143
143
|
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
144
|
-
|
|
144
|
+
conflicting_external_modification: conflicting_external_modification_error
|
|
145
145
|
.optional()
|
|
146
146
|
.nullable(),
|
|
147
147
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
@@ -157,10 +157,10 @@ const common_access_code_warning = z.object({
|
|
|
157
157
|
.describe('Date and time at which Seam created the warning.'),
|
|
158
158
|
});
|
|
159
159
|
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
160
|
-
const
|
|
160
|
+
const external_modification_in_effect_warning = common_access_code_warning
|
|
161
161
|
.extend({
|
|
162
162
|
warning_code: z
|
|
163
|
-
.literal('
|
|
163
|
+
.literal('external_modification_in_effect')
|
|
164
164
|
.describe(warning_code_description),
|
|
165
165
|
change_type: z
|
|
166
166
|
.enum(['modified', 'removed'])
|
|
@@ -171,7 +171,7 @@ const code_modified_external_to_seam_warning = common_access_code_warning
|
|
|
171
171
|
.optional()
|
|
172
172
|
.describe('List of fields that were changed externally, with their previous and new values.'),
|
|
173
173
|
})
|
|
174
|
-
.describe('Code was modified or removed externally after Seam successfully set it on the device.');
|
|
174
|
+
.describe('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.');
|
|
175
175
|
const code_rotates_periodically = common_access_code_warning
|
|
176
176
|
.extend({
|
|
177
177
|
warning_code: z
|
|
@@ -237,7 +237,7 @@ const access_code_warning = z
|
|
|
237
237
|
.discriminatedUnion('warning_code', [
|
|
238
238
|
code_rotates_periodically,
|
|
239
239
|
time_frame_adjusted_for_unknown_time_zone,
|
|
240
|
-
|
|
240
|
+
external_modification_in_effect_warning,
|
|
241
241
|
delay_in_setting_on_device,
|
|
242
242
|
delay_in_removing_from_device,
|
|
243
243
|
third_party_integration_detected,
|
|
@@ -250,7 +250,7 @@ const access_code_warning = z
|
|
|
250
250
|
const _access_code_warning_map = z.object({
|
|
251
251
|
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
252
252
|
time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
|
|
253
|
-
|
|
253
|
+
external_modification_in_effect: external_modification_in_effect_warning
|
|
254
254
|
.optional()
|
|
255
255
|
.nullable(),
|
|
256
256
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,0CAA0C,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AAEtE,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;CAC9D,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,cAAc,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACzE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACP,+EAA+E,CAChF;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IACxE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;CAClE,CAAC,CAAA;AAEF,MAAM,
|
|
1
|
+
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,0CAA0C,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AAEtE,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;CAC9D,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,cAAc,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACrD,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACzE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACP,+EAA+E,CAChF;IACH,IAAI,EAA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CACP,mEAAmE,CACpE;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,wEAAwE,CACzE;IACH,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;SACxD,QAAQ,CACP,8vBAA8vB,CAC/vB;IACH,+BAA+B,EAAE,CAAC;SAC/B,OAAO,EAAE;SACT,QAAQ,CACP,gHAAgH,CACjH;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,6HAA6H,CAC9H;IACH,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,CACP,mFAAmF,CACpF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,CACP,mHAAmH,CACpH;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,CACP,2JAA2J,CAC5J;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,qHAAqH,CACtH;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,6BAA6B,CAAC;SACpC,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|
|
@@ -99,7 +99,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
99
99
|
is_access_code_error: z.ZodLiteral<true>;
|
|
100
100
|
created_at: z.ZodOptional<z.ZodString>;
|
|
101
101
|
} & {
|
|
102
|
-
error_code: z.ZodLiteral<"
|
|
102
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
103
103
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
104
104
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
105
105
|
field: z.ZodString;
|
|
@@ -116,7 +116,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
116
116
|
}>, "many">>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
118
|
message: string;
|
|
119
|
-
error_code: "
|
|
119
|
+
error_code: "conflicting_external_modification";
|
|
120
120
|
is_access_code_error: true;
|
|
121
121
|
created_at?: string | undefined;
|
|
122
122
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -127,7 +127,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
127
127
|
}[] | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
message: string;
|
|
130
|
-
error_code: "
|
|
130
|
+
error_code: "conflicting_external_modification";
|
|
131
131
|
is_access_code_error: true;
|
|
132
132
|
created_at?: string | undefined;
|
|
133
133
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -572,7 +572,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
572
572
|
message: z.ZodString;
|
|
573
573
|
created_at: z.ZodOptional<z.ZodString>;
|
|
574
574
|
} & {
|
|
575
|
-
warning_code: z.ZodLiteral<"
|
|
575
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
576
576
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
577
577
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
578
578
|
field: z.ZodString;
|
|
@@ -589,7 +589,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
589
589
|
}>, "many">>;
|
|
590
590
|
}, "strip", z.ZodTypeAny, {
|
|
591
591
|
message: string;
|
|
592
|
-
warning_code: "
|
|
592
|
+
warning_code: "external_modification_in_effect";
|
|
593
593
|
created_at?: string | undefined;
|
|
594
594
|
change_type?: "modified" | "removed" | undefined;
|
|
595
595
|
modified_fields?: {
|
|
@@ -599,7 +599,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
599
599
|
}[] | undefined;
|
|
600
600
|
}, {
|
|
601
601
|
message: string;
|
|
602
|
-
warning_code: "
|
|
602
|
+
warning_code: "external_modification_in_effect";
|
|
603
603
|
created_at?: string | undefined;
|
|
604
604
|
change_type?: "modified" | "removed" | undefined;
|
|
605
605
|
modified_fields?: {
|
|
@@ -858,7 +858,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
858
858
|
created_at?: string | undefined;
|
|
859
859
|
} | {
|
|
860
860
|
message: string;
|
|
861
|
-
error_code: "
|
|
861
|
+
error_code: "conflicting_external_modification";
|
|
862
862
|
is_access_code_error: true;
|
|
863
863
|
created_at?: string | undefined;
|
|
864
864
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -902,7 +902,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
902
902
|
})[];
|
|
903
903
|
warnings: ({
|
|
904
904
|
message: string;
|
|
905
|
-
warning_code: "
|
|
905
|
+
warning_code: "external_modification_in_effect";
|
|
906
906
|
created_at?: string | undefined;
|
|
907
907
|
change_type?: "modified" | "removed" | undefined;
|
|
908
908
|
modified_fields?: {
|
|
@@ -1088,7 +1088,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1088
1088
|
created_at?: string | undefined;
|
|
1089
1089
|
} | {
|
|
1090
1090
|
message: string;
|
|
1091
|
-
error_code: "
|
|
1091
|
+
error_code: "conflicting_external_modification";
|
|
1092
1092
|
is_access_code_error: true;
|
|
1093
1093
|
created_at?: string | undefined;
|
|
1094
1094
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1132,7 +1132,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1132
1132
|
})[];
|
|
1133
1133
|
warnings: ({
|
|
1134
1134
|
message: string;
|
|
1135
|
-
warning_code: "
|
|
1135
|
+
warning_code: "external_modification_in_effect";
|
|
1136
1136
|
created_at?: string | undefined;
|
|
1137
1137
|
change_type?: "modified" | "removed" | undefined;
|
|
1138
1138
|
modified_fields?: {
|
|
@@ -228,7 +228,7 @@ const openapi = {
|
|
|
228
228
|
'x-resource-type': 'access_code',
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
231
|
+
description: '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.',
|
|
232
232
|
properties: {
|
|
233
233
|
change_type: {
|
|
234
234
|
description: "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.",
|
|
@@ -242,7 +242,7 @@ const openapi = {
|
|
|
242
242
|
},
|
|
243
243
|
error_code: {
|
|
244
244
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
245
|
-
enum: ['
|
|
245
|
+
enum: ['conflicting_external_modification'],
|
|
246
246
|
type: 'string',
|
|
247
247
|
},
|
|
248
248
|
is_access_code_error: {
|
|
@@ -1252,7 +1252,7 @@ const openapi = {
|
|
|
1252
1252
|
type: 'object',
|
|
1253
1253
|
},
|
|
1254
1254
|
{
|
|
1255
|
-
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
1255
|
+
description: '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.',
|
|
1256
1256
|
properties: {
|
|
1257
1257
|
change_type: {
|
|
1258
1258
|
description: "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.",
|
|
@@ -1294,7 +1294,7 @@ const openapi = {
|
|
|
1294
1294
|
},
|
|
1295
1295
|
warning_code: {
|
|
1296
1296
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1297
|
-
enum: ['
|
|
1297
|
+
enum: ['external_modification_in_effect'],
|
|
1298
1298
|
type: 'string',
|
|
1299
1299
|
},
|
|
1300
1300
|
},
|
|
@@ -26606,7 +26606,7 @@ const openapi = {
|
|
|
26606
26606
|
'x-resource-type': 'access_code',
|
|
26607
26607
|
},
|
|
26608
26608
|
{
|
|
26609
|
-
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
26609
|
+
description: '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.',
|
|
26610
26610
|
properties: {
|
|
26611
26611
|
change_type: {
|
|
26612
26612
|
description: "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.",
|
|
@@ -26620,7 +26620,7 @@ const openapi = {
|
|
|
26620
26620
|
},
|
|
26621
26621
|
error_code: {
|
|
26622
26622
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26623
|
-
enum: ['
|
|
26623
|
+
enum: ['conflicting_external_modification'],
|
|
26624
26624
|
type: 'string',
|
|
26625
26625
|
},
|
|
26626
26626
|
is_access_code_error: {
|
|
@@ -27347,7 +27347,7 @@ const openapi = {
|
|
|
27347
27347
|
type: 'object',
|
|
27348
27348
|
},
|
|
27349
27349
|
{
|
|
27350
|
-
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
27350
|
+
description: '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.',
|
|
27351
27351
|
properties: {
|
|
27352
27352
|
change_type: {
|
|
27353
27353
|
description: "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.",
|
|
@@ -27389,7 +27389,7 @@ const openapi = {
|
|
|
27389
27389
|
},
|
|
27390
27390
|
warning_code: {
|
|
27391
27391
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
27392
|
-
enum: ['
|
|
27392
|
+
enum: ['external_modification_in_effect'],
|
|
27393
27393
|
type: 'string',
|
|
27394
27394
|
},
|
|
27395
27395
|
},
|