@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
package/dist/connect.d.cts
CHANGED
|
@@ -91,7 +91,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
91
91
|
is_access_code_error: z.ZodLiteral<true>;
|
|
92
92
|
created_at: z.ZodOptional<z.ZodString>;
|
|
93
93
|
} & {
|
|
94
|
-
error_code: z.ZodLiteral<"
|
|
94
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
95
95
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
96
96
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
97
97
|
field: z.ZodString;
|
|
@@ -108,7 +108,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
108
108
|
}>, "many">>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
message: string;
|
|
111
|
-
error_code: "
|
|
111
|
+
error_code: "conflicting_external_modification";
|
|
112
112
|
is_access_code_error: true;
|
|
113
113
|
created_at?: string | undefined;
|
|
114
114
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -119,7 +119,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
119
119
|
}[] | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
message: string;
|
|
122
|
-
error_code: "
|
|
122
|
+
error_code: "conflicting_external_modification";
|
|
123
123
|
is_access_code_error: true;
|
|
124
124
|
created_at?: string | undefined;
|
|
125
125
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -192,7 +192,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
192
192
|
message: z.ZodString;
|
|
193
193
|
created_at: z.ZodOptional<z.ZodString>;
|
|
194
194
|
} & {
|
|
195
|
-
warning_code: z.ZodLiteral<"
|
|
195
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
196
196
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
197
197
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
198
|
field: z.ZodString;
|
|
@@ -209,7 +209,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
209
209
|
}>, "many">>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
211
|
message: string;
|
|
212
|
-
warning_code: "
|
|
212
|
+
warning_code: "external_modification_in_effect";
|
|
213
213
|
created_at?: string | undefined;
|
|
214
214
|
change_type?: "modified" | "removed" | undefined;
|
|
215
215
|
modified_fields?: {
|
|
@@ -219,7 +219,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
219
219
|
}[] | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
message: string;
|
|
222
|
-
warning_code: "
|
|
222
|
+
warning_code: "external_modification_in_effect";
|
|
223
223
|
created_at?: string | undefined;
|
|
224
224
|
change_type?: "modified" | "removed" | undefined;
|
|
225
225
|
modified_fields?: {
|
|
@@ -422,7 +422,7 @@ declare const access_code: z.ZodObject<{
|
|
|
422
422
|
is_access_code_error: z.ZodLiteral<true>;
|
|
423
423
|
created_at: z.ZodOptional<z.ZodString>;
|
|
424
424
|
} & {
|
|
425
|
-
error_code: z.ZodLiteral<"
|
|
425
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
426
426
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
427
427
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
428
428
|
field: z.ZodString;
|
|
@@ -439,7 +439,7 @@ declare const access_code: z.ZodObject<{
|
|
|
439
439
|
}>, "many">>;
|
|
440
440
|
}, "strip", z.ZodTypeAny, {
|
|
441
441
|
message: string;
|
|
442
|
-
error_code: "
|
|
442
|
+
error_code: "conflicting_external_modification";
|
|
443
443
|
is_access_code_error: true;
|
|
444
444
|
created_at?: string | undefined;
|
|
445
445
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -450,7 +450,7 @@ declare const access_code: z.ZodObject<{
|
|
|
450
450
|
}[] | undefined;
|
|
451
451
|
}, {
|
|
452
452
|
message: string;
|
|
453
|
-
error_code: "
|
|
453
|
+
error_code: "conflicting_external_modification";
|
|
454
454
|
is_access_code_error: true;
|
|
455
455
|
created_at?: string | undefined;
|
|
456
456
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -895,7 +895,7 @@ declare const access_code: z.ZodObject<{
|
|
|
895
895
|
message: z.ZodString;
|
|
896
896
|
created_at: z.ZodOptional<z.ZodString>;
|
|
897
897
|
} & {
|
|
898
|
-
warning_code: z.ZodLiteral<"
|
|
898
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
899
899
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
900
900
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
901
901
|
field: z.ZodString;
|
|
@@ -912,7 +912,7 @@ declare const access_code: z.ZodObject<{
|
|
|
912
912
|
}>, "many">>;
|
|
913
913
|
}, "strip", z.ZodTypeAny, {
|
|
914
914
|
message: string;
|
|
915
|
-
warning_code: "
|
|
915
|
+
warning_code: "external_modification_in_effect";
|
|
916
916
|
created_at?: string | undefined;
|
|
917
917
|
change_type?: "modified" | "removed" | undefined;
|
|
918
918
|
modified_fields?: {
|
|
@@ -922,7 +922,7 @@ declare const access_code: z.ZodObject<{
|
|
|
922
922
|
}[] | undefined;
|
|
923
923
|
}, {
|
|
924
924
|
message: string;
|
|
925
|
-
warning_code: "
|
|
925
|
+
warning_code: "external_modification_in_effect";
|
|
926
926
|
created_at?: string | undefined;
|
|
927
927
|
change_type?: "modified" | "removed" | undefined;
|
|
928
928
|
modified_fields?: {
|
|
@@ -1355,7 +1355,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1355
1355
|
created_at?: string | undefined;
|
|
1356
1356
|
} | {
|
|
1357
1357
|
message: string;
|
|
1358
|
-
error_code: "
|
|
1358
|
+
error_code: "conflicting_external_modification";
|
|
1359
1359
|
is_access_code_error: true;
|
|
1360
1360
|
created_at?: string | undefined;
|
|
1361
1361
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1399,7 +1399,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1399
1399
|
})[];
|
|
1400
1400
|
warnings: ({
|
|
1401
1401
|
message: string;
|
|
1402
|
-
warning_code: "
|
|
1402
|
+
warning_code: "external_modification_in_effect";
|
|
1403
1403
|
created_at?: string | undefined;
|
|
1404
1404
|
change_type?: "modified" | "removed" | undefined;
|
|
1405
1405
|
modified_fields?: {
|
|
@@ -1638,7 +1638,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1638
1638
|
created_at?: string | undefined;
|
|
1639
1639
|
} | {
|
|
1640
1640
|
message: string;
|
|
1641
|
-
error_code: "
|
|
1641
|
+
error_code: "conflicting_external_modification";
|
|
1642
1642
|
is_access_code_error: true;
|
|
1643
1643
|
created_at?: string | undefined;
|
|
1644
1644
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1682,7 +1682,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1682
1682
|
})[];
|
|
1683
1683
|
warnings: ({
|
|
1684
1684
|
message: string;
|
|
1685
|
-
warning_code: "
|
|
1685
|
+
warning_code: "external_modification_in_effect";
|
|
1686
1686
|
created_at?: string | undefined;
|
|
1687
1687
|
change_type?: "modified" | "removed" | undefined;
|
|
1688
1688
|
modified_fields?: {
|
|
@@ -1899,7 +1899,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1899
1899
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1900
1900
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1901
1901
|
} & {
|
|
1902
|
-
error_code: z.ZodLiteral<"
|
|
1902
|
+
error_code: z.ZodLiteral<"conflicting_external_modification">;
|
|
1903
1903
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
1904
1904
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1905
1905
|
field: z.ZodString;
|
|
@@ -1916,7 +1916,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1916
1916
|
}>, "many">>;
|
|
1917
1917
|
}, "strip", z.ZodTypeAny, {
|
|
1918
1918
|
message: string;
|
|
1919
|
-
error_code: "
|
|
1919
|
+
error_code: "conflicting_external_modification";
|
|
1920
1920
|
is_access_code_error: true;
|
|
1921
1921
|
created_at?: string | undefined;
|
|
1922
1922
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -1927,7 +1927,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1927
1927
|
}[] | undefined;
|
|
1928
1928
|
}, {
|
|
1929
1929
|
message: string;
|
|
1930
|
-
error_code: "
|
|
1930
|
+
error_code: "conflicting_external_modification";
|
|
1931
1931
|
is_access_code_error: true;
|
|
1932
1932
|
created_at?: string | undefined;
|
|
1933
1933
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -2372,7 +2372,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2372
2372
|
message: z.ZodString;
|
|
2373
2373
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2374
2374
|
} & {
|
|
2375
|
-
warning_code: z.ZodLiteral<"
|
|
2375
|
+
warning_code: z.ZodLiteral<"external_modification_in_effect">;
|
|
2376
2376
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
2377
2377
|
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2378
2378
|
field: z.ZodString;
|
|
@@ -2389,7 +2389,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2389
2389
|
}>, "many">>;
|
|
2390
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2391
2391
|
message: string;
|
|
2392
|
-
warning_code: "
|
|
2392
|
+
warning_code: "external_modification_in_effect";
|
|
2393
2393
|
created_at?: string | undefined;
|
|
2394
2394
|
change_type?: "modified" | "removed" | undefined;
|
|
2395
2395
|
modified_fields?: {
|
|
@@ -2399,7 +2399,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2399
2399
|
}[] | undefined;
|
|
2400
2400
|
}, {
|
|
2401
2401
|
message: string;
|
|
2402
|
-
warning_code: "
|
|
2402
|
+
warning_code: "external_modification_in_effect";
|
|
2403
2403
|
created_at?: string | undefined;
|
|
2404
2404
|
change_type?: "modified" | "removed" | undefined;
|
|
2405
2405
|
modified_fields?: {
|
|
@@ -2658,7 +2658,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2658
2658
|
created_at?: string | undefined;
|
|
2659
2659
|
} | {
|
|
2660
2660
|
message: string;
|
|
2661
|
-
error_code: "
|
|
2661
|
+
error_code: "conflicting_external_modification";
|
|
2662
2662
|
is_access_code_error: true;
|
|
2663
2663
|
created_at?: string | undefined;
|
|
2664
2664
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -2702,7 +2702,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2702
2702
|
})[];
|
|
2703
2703
|
warnings: ({
|
|
2704
2704
|
message: string;
|
|
2705
|
-
warning_code: "
|
|
2705
|
+
warning_code: "external_modification_in_effect";
|
|
2706
2706
|
created_at?: string | undefined;
|
|
2707
2707
|
change_type?: "modified" | "removed" | undefined;
|
|
2708
2708
|
modified_fields?: {
|
|
@@ -2888,7 +2888,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2888
2888
|
created_at?: string | undefined;
|
|
2889
2889
|
} | {
|
|
2890
2890
|
message: string;
|
|
2891
|
-
error_code: "
|
|
2891
|
+
error_code: "conflicting_external_modification";
|
|
2892
2892
|
is_access_code_error: true;
|
|
2893
2893
|
created_at?: string | undefined;
|
|
2894
2894
|
change_type?: "modified" | "removed" | undefined;
|
|
@@ -2932,7 +2932,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2932
2932
|
})[];
|
|
2933
2933
|
warnings: ({
|
|
2934
2934
|
message: string;
|
|
2935
|
-
warning_code: "
|
|
2935
|
+
warning_code: "external_modification_in_effect";
|
|
2936
2936
|
created_at?: string | undefined;
|
|
2937
2937
|
change_type?: "modified" | "removed" | undefined;
|
|
2938
2938
|
modified_fields?: {
|
|
@@ -31939,7 +31939,7 @@ type Routes = {
|
|
|
31939
31939
|
/** Date and time at which Seam created the error. */
|
|
31940
31940
|
created_at?: string | undefined;
|
|
31941
31941
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31942
|
-
error_code: '
|
|
31942
|
+
error_code: 'conflicting_external_modification';
|
|
31943
31943
|
/** 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. */
|
|
31944
31944
|
change_type?: ('modified' | 'removed') | undefined;
|
|
31945
31945
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -32143,7 +32143,7 @@ type Routes = {
|
|
|
32143
32143
|
/** Date and time at which Seam created the warning. */
|
|
32144
32144
|
created_at?: string | undefined;
|
|
32145
32145
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32146
|
-
warning_code: '
|
|
32146
|
+
warning_code: 'external_modification_in_effect';
|
|
32147
32147
|
/** 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. */
|
|
32148
32148
|
change_type?: ('modified' | 'removed') | undefined;
|
|
32149
32149
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -32445,7 +32445,7 @@ type Routes = {
|
|
|
32445
32445
|
/** Date and time at which Seam created the error. */
|
|
32446
32446
|
created_at?: string | undefined;
|
|
32447
32447
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32448
|
-
error_code: '
|
|
32448
|
+
error_code: 'conflicting_external_modification';
|
|
32449
32449
|
/** 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. */
|
|
32450
32450
|
change_type?: ('modified' | 'removed') | undefined;
|
|
32451
32451
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -32649,7 +32649,7 @@ type Routes = {
|
|
|
32649
32649
|
/** Date and time at which Seam created the warning. */
|
|
32650
32650
|
created_at?: string | undefined;
|
|
32651
32651
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32652
|
-
warning_code: '
|
|
32652
|
+
warning_code: 'external_modification_in_effect';
|
|
32653
32653
|
/** 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. */
|
|
32654
32654
|
change_type?: ('modified' | 'removed') | undefined;
|
|
32655
32655
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -34639,7 +34639,7 @@ type Routes = {
|
|
|
34639
34639
|
/** Date and time at which Seam created the error. */
|
|
34640
34640
|
created_at?: string | undefined;
|
|
34641
34641
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34642
|
-
error_code: '
|
|
34642
|
+
error_code: 'conflicting_external_modification';
|
|
34643
34643
|
/** 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. */
|
|
34644
34644
|
change_type?: ('modified' | 'removed') | undefined;
|
|
34645
34645
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -34843,7 +34843,7 @@ type Routes = {
|
|
|
34843
34843
|
/** Date and time at which Seam created the warning. */
|
|
34844
34844
|
created_at?: string | undefined;
|
|
34845
34845
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34846
|
-
warning_code: '
|
|
34846
|
+
warning_code: 'external_modification_in_effect';
|
|
34847
34847
|
/** 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. */
|
|
34848
34848
|
change_type?: ('modified' | 'removed') | undefined;
|
|
34849
34849
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -35191,7 +35191,7 @@ type Routes = {
|
|
|
35191
35191
|
/** Date and time at which Seam created the error. */
|
|
35192
35192
|
created_at?: string | undefined;
|
|
35193
35193
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35194
|
-
error_code: '
|
|
35194
|
+
error_code: 'conflicting_external_modification';
|
|
35195
35195
|
/** 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. */
|
|
35196
35196
|
change_type?: ('modified' | 'removed') | undefined;
|
|
35197
35197
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -35395,7 +35395,7 @@ type Routes = {
|
|
|
35395
35395
|
/** Date and time at which Seam created the warning. */
|
|
35396
35396
|
created_at?: string | undefined;
|
|
35397
35397
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35398
|
-
warning_code: '
|
|
35398
|
+
warning_code: 'external_modification_in_effect';
|
|
35399
35399
|
/** 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. */
|
|
35400
35400
|
change_type?: ('modified' | 'removed') | undefined;
|
|
35401
35401
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -35688,7 +35688,7 @@ type Routes = {
|
|
|
35688
35688
|
/** Date and time at which Seam created the error. */
|
|
35689
35689
|
created_at?: string | undefined;
|
|
35690
35690
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35691
|
-
error_code: '
|
|
35691
|
+
error_code: 'conflicting_external_modification';
|
|
35692
35692
|
/** 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. */
|
|
35693
35693
|
change_type?: ('modified' | 'removed') | undefined;
|
|
35694
35694
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -35892,7 +35892,7 @@ type Routes = {
|
|
|
35892
35892
|
/** Date and time at which Seam created the warning. */
|
|
35893
35893
|
created_at?: string | undefined;
|
|
35894
35894
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35895
|
-
warning_code: '
|
|
35895
|
+
warning_code: 'external_modification_in_effect';
|
|
35896
35896
|
/** 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. */
|
|
35897
35897
|
change_type?: ('modified' | 'removed') | undefined;
|
|
35898
35898
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -36162,7 +36162,7 @@ type Routes = {
|
|
|
36162
36162
|
/** Date and time at which Seam created the error. */
|
|
36163
36163
|
created_at?: string | undefined;
|
|
36164
36164
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36165
|
-
error_code: '
|
|
36165
|
+
error_code: 'conflicting_external_modification';
|
|
36166
36166
|
/** 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. */
|
|
36167
36167
|
change_type?: ('modified' | 'removed') | undefined;
|
|
36168
36168
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -36366,7 +36366,7 @@ type Routes = {
|
|
|
36366
36366
|
/** Date and time at which Seam created the warning. */
|
|
36367
36367
|
created_at?: string | undefined;
|
|
36368
36368
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36369
|
-
warning_code: '
|
|
36369
|
+
warning_code: 'external_modification_in_effect';
|
|
36370
36370
|
/** 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. */
|
|
36371
36371
|
change_type?: ('modified' | 'removed') | undefined;
|
|
36372
36372
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -36669,7 +36669,7 @@ type Routes = {
|
|
|
36669
36669
|
/** Date and time at which Seam created the error. */
|
|
36670
36670
|
created_at?: string | undefined;
|
|
36671
36671
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36672
|
-
error_code: '
|
|
36672
|
+
error_code: 'conflicting_external_modification';
|
|
36673
36673
|
/** 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. */
|
|
36674
36674
|
change_type?: ('modified' | 'removed') | undefined;
|
|
36675
36675
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -36873,7 +36873,7 @@ type Routes = {
|
|
|
36873
36873
|
/** Date and time at which Seam created the warning. */
|
|
36874
36874
|
created_at?: string | undefined;
|
|
36875
36875
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36876
|
-
warning_code: '
|
|
36876
|
+
warning_code: 'external_modification_in_effect';
|
|
36877
36877
|
/** 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. */
|
|
36878
36878
|
change_type?: ('modified' | 'removed') | undefined;
|
|
36879
36879
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -38772,7 +38772,7 @@ type Routes = {
|
|
|
38772
38772
|
/** Date and time at which Seam created the error. */
|
|
38773
38773
|
created_at?: string | undefined;
|
|
38774
38774
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38775
|
-
error_code: '
|
|
38775
|
+
error_code: 'conflicting_external_modification';
|
|
38776
38776
|
/** 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. */
|
|
38777
38777
|
change_type?: ('modified' | 'removed') | undefined;
|
|
38778
38778
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -38976,7 +38976,7 @@ type Routes = {
|
|
|
38976
38976
|
/** Date and time at which Seam created the warning. */
|
|
38977
38977
|
created_at?: string | undefined;
|
|
38978
38978
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
38979
|
-
warning_code: '
|
|
38979
|
+
warning_code: 'external_modification_in_effect';
|
|
38980
38980
|
/** 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. */
|
|
38981
38981
|
change_type?: ('modified' | 'removed') | undefined;
|
|
38982
38982
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -39165,7 +39165,7 @@ type Routes = {
|
|
|
39165
39165
|
/** Date and time at which Seam created the error. */
|
|
39166
39166
|
created_at?: string | undefined;
|
|
39167
39167
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39168
|
-
error_code: '
|
|
39168
|
+
error_code: 'conflicting_external_modification';
|
|
39169
39169
|
/** 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. */
|
|
39170
39170
|
change_type?: ('modified' | 'removed') | undefined;
|
|
39171
39171
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -39369,7 +39369,7 @@ type Routes = {
|
|
|
39369
39369
|
/** Date and time at which Seam created the warning. */
|
|
39370
39370
|
created_at?: string | undefined;
|
|
39371
39371
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
39372
|
-
warning_code: '
|
|
39372
|
+
warning_code: 'external_modification_in_effect';
|
|
39373
39373
|
/** 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. */
|
|
39374
39374
|
change_type?: ('modified' | 'removed') | undefined;
|
|
39375
39375
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -105547,14 +105547,14 @@ type Routes = {
|
|
|
105547
105547
|
jsonBody: {};
|
|
105548
105548
|
commonParams: {
|
|
105549
105549
|
/** Name of the workspace feature flag to update. */
|
|
105550
|
-
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';
|
|
105550
|
+
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';
|
|
105551
105551
|
/** Whether the feature flag should be enabled for the workspace. */
|
|
105552
105552
|
enabled: boolean;
|
|
105553
105553
|
};
|
|
105554
105554
|
formData: {};
|
|
105555
105555
|
jsonResponse: {
|
|
105556
105556
|
feature_flag: {
|
|
105557
|
-
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';
|
|
105557
|
+
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';
|
|
105558
105558
|
enabled: boolean;
|
|
105559
105559
|
};
|
|
105560
105560
|
};
|
|
@@ -149867,7 +149867,7 @@ type Routes = {
|
|
|
149867
149867
|
/** Date and time at which Seam created the error. */
|
|
149868
149868
|
created_at?: string | undefined;
|
|
149869
149869
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149870
|
-
error_code: '
|
|
149870
|
+
error_code: 'conflicting_external_modification';
|
|
149871
149871
|
/** 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. */
|
|
149872
149872
|
change_type?: ('modified' | 'removed') | undefined;
|
|
149873
149873
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -150071,7 +150071,7 @@ type Routes = {
|
|
|
150071
150071
|
/** Date and time at which Seam created the warning. */
|
|
150072
150072
|
created_at?: string | undefined;
|
|
150073
150073
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
150074
|
-
warning_code: '
|
|
150074
|
+
warning_code: 'external_modification_in_effect';
|
|
150075
150075
|
/** 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. */
|
|
150076
150076
|
change_type?: ('modified' | 'removed') | undefined;
|
|
150077
150077
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -150244,7 +150244,7 @@ type Routes = {
|
|
|
150244
150244
|
/** Date and time at which Seam created the error. */
|
|
150245
150245
|
created_at?: string | undefined;
|
|
150246
150246
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
150247
|
-
error_code: '
|
|
150247
|
+
error_code: 'conflicting_external_modification';
|
|
150248
150248
|
/** 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. */
|
|
150249
150249
|
change_type?: ('modified' | 'removed') | undefined;
|
|
150250
150250
|
/** List of fields that were changed externally, with their previous and new values. */
|
|
@@ -150448,7 +150448,7 @@ type Routes = {
|
|
|
150448
150448
|
/** Date and time at which Seam created the warning. */
|
|
150449
150449
|
created_at?: string | undefined;
|
|
150450
150450
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
150451
|
-
warning_code: '
|
|
150451
|
+
warning_code: 'external_modification_in_effect';
|
|
150452
150452
|
/** 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. */
|
|
150453
150453
|
change_type?: ('modified' | 'removed') | undefined;
|
|
150454
150454
|
/** List of fields that were changed externally, with their previous and new values. */
|
package/dist/index.cjs
CHANGED
|
@@ -2570,19 +2570,21 @@ var modified_field = zod.z.object({
|
|
|
2570
2570
|
from: zod.z.string().nullable().describe("The previous value of the field."),
|
|
2571
2571
|
to: zod.z.string().nullable().describe("The new value of the field.")
|
|
2572
2572
|
});
|
|
2573
|
-
var
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2573
|
+
var conflicting_external_modification_error = common_access_code_error.extend(
|
|
2574
|
+
{
|
|
2575
|
+
error_code: zod.z.literal("conflicting_external_modification").describe(error_code_description3),
|
|
2576
|
+
change_type: zod.z.enum(["modified", "removed"]).optional().describe(
|
|
2577
|
+
"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."
|
|
2578
|
+
),
|
|
2579
|
+
modified_fields: zod.z.array(modified_field).optional().describe(
|
|
2580
|
+
"List of fields that were changed externally, with their previous and new values."
|
|
2581
|
+
)
|
|
2582
|
+
}
|
|
2583
|
+
).describe(`
|
|
2582
2584
|
---
|
|
2583
2585
|
resource_type: access_code
|
|
2584
2586
|
---
|
|
2585
|
-
Code was modified or removed externally after Seam successfully set it on the device.
|
|
2587
|
+
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.
|
|
2586
2588
|
`);
|
|
2587
2589
|
var failed_to_set_on_device = common_access_code_error.extend({
|
|
2588
2590
|
error_code: zod.z.literal("failed_to_set_on_device").describe(error_code_description3)
|
|
@@ -2644,7 +2646,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2644
2646
|
failed_to_remove_from_device,
|
|
2645
2647
|
duplicate_code_on_device,
|
|
2646
2648
|
no_space_for_access_code_on_device,
|
|
2647
|
-
|
|
2649
|
+
conflicting_external_modification_error,
|
|
2648
2650
|
access_code_inactive_error,
|
|
2649
2651
|
insufficient_permissions2
|
|
2650
2652
|
]).describe(
|
|
@@ -2657,7 +2659,7 @@ zod.z.object({
|
|
|
2657
2659
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
2658
2660
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
2659
2661
|
insufficient_permissions: insufficient_permissions2.optional().nullable(),
|
|
2660
|
-
|
|
2662
|
+
conflicting_external_modification: conflicting_external_modification_error.optional().nullable(),
|
|
2661
2663
|
access_code_inactive: access_code_inactive_error.optional().nullable()
|
|
2662
2664
|
});
|
|
2663
2665
|
var common_access_code_warning = zod.z.object({
|
|
@@ -2667,8 +2669,8 @@ var common_access_code_warning = zod.z.object({
|
|
|
2667
2669
|
created_at: zod.z.string().datetime().optional().describe("Date and time at which Seam created the warning.")
|
|
2668
2670
|
});
|
|
2669
2671
|
var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
2670
|
-
var
|
|
2671
|
-
warning_code: zod.z.literal("
|
|
2672
|
+
var external_modification_in_effect_warning = common_access_code_warning.extend({
|
|
2673
|
+
warning_code: zod.z.literal("external_modification_in_effect").describe(warning_code_description3),
|
|
2672
2674
|
change_type: zod.z.enum(["modified", "removed"]).optional().describe(
|
|
2673
2675
|
"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."
|
|
2674
2676
|
),
|
|
@@ -2676,7 +2678,7 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
|
|
|
2676
2678
|
"List of fields that were changed externally, with their previous and new values."
|
|
2677
2679
|
)
|
|
2678
2680
|
}).describe(
|
|
2679
|
-
"Code was modified or removed externally after Seam successfully set it on the device."
|
|
2681
|
+
"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."
|
|
2680
2682
|
);
|
|
2681
2683
|
var code_rotates_periodically = common_access_code_warning.extend({
|
|
2682
2684
|
warning_code: zod.z.literal("code_rotates_periodically").describe(warning_code_description3)
|
|
@@ -2716,7 +2718,7 @@ var being_deleted2 = common_access_code_warning.extend({
|
|
|
2716
2718
|
var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
2717
2719
|
code_rotates_periodically,
|
|
2718
2720
|
time_frame_adjusted_for_unknown_time_zone,
|
|
2719
|
-
|
|
2721
|
+
external_modification_in_effect_warning,
|
|
2720
2722
|
delay_in_setting_on_device,
|
|
2721
2723
|
delay_in_removing_from_device,
|
|
2722
2724
|
third_party_integration_detected2,
|
|
@@ -2730,7 +2732,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2730
2732
|
zod.z.object({
|
|
2731
2733
|
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
2732
2734
|
time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
|
|
2733
|
-
|
|
2735
|
+
external_modification_in_effect: external_modification_in_effect_warning.optional().nullable(),
|
|
2734
2736
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
2735
2737
|
delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
|
|
2736
2738
|
third_party_integration_detected: third_party_integration_detected2.optional().nullable(),
|
|
@@ -7779,7 +7781,7 @@ var openapi = {
|
|
|
7779
7781
|
"x-resource-type": "access_code"
|
|
7780
7782
|
},
|
|
7781
7783
|
{
|
|
7782
|
-
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
7784
|
+
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.",
|
|
7783
7785
|
properties: {
|
|
7784
7786
|
change_type: {
|
|
7785
7787
|
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.",
|
|
@@ -7793,7 +7795,7 @@ var openapi = {
|
|
|
7793
7795
|
},
|
|
7794
7796
|
error_code: {
|
|
7795
7797
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7796
|
-
enum: ["
|
|
7798
|
+
enum: ["conflicting_external_modification"],
|
|
7797
7799
|
type: "string"
|
|
7798
7800
|
},
|
|
7799
7801
|
is_access_code_error: {
|
|
@@ -8803,7 +8805,7 @@ var openapi = {
|
|
|
8803
8805
|
type: "object"
|
|
8804
8806
|
},
|
|
8805
8807
|
{
|
|
8806
|
-
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
8808
|
+
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.",
|
|
8807
8809
|
properties: {
|
|
8808
8810
|
change_type: {
|
|
8809
8811
|
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.",
|
|
@@ -8845,7 +8847,7 @@ var openapi = {
|
|
|
8845
8847
|
},
|
|
8846
8848
|
warning_code: {
|
|
8847
8849
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8848
|
-
enum: ["
|
|
8850
|
+
enum: ["external_modification_in_effect"],
|
|
8849
8851
|
type: "string"
|
|
8850
8852
|
}
|
|
8851
8853
|
},
|
|
@@ -34157,7 +34159,7 @@ var openapi = {
|
|
|
34157
34159
|
"x-resource-type": "access_code"
|
|
34158
34160
|
},
|
|
34159
34161
|
{
|
|
34160
|
-
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
34162
|
+
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.",
|
|
34161
34163
|
properties: {
|
|
34162
34164
|
change_type: {
|
|
34163
34165
|
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.",
|
|
@@ -34171,7 +34173,7 @@ var openapi = {
|
|
|
34171
34173
|
},
|
|
34172
34174
|
error_code: {
|
|
34173
34175
|
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
34174
|
-
enum: ["
|
|
34176
|
+
enum: ["conflicting_external_modification"],
|
|
34175
34177
|
type: "string"
|
|
34176
34178
|
},
|
|
34177
34179
|
is_access_code_error: {
|
|
@@ -34898,7 +34900,7 @@ var openapi = {
|
|
|
34898
34900
|
type: "object"
|
|
34899
34901
|
},
|
|
34900
34902
|
{
|
|
34901
|
-
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
34903
|
+
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.",
|
|
34902
34904
|
properties: {
|
|
34903
34905
|
change_type: {
|
|
34904
34906
|
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.",
|
|
@@ -34940,7 +34942,7 @@ var openapi = {
|
|
|
34940
34942
|
},
|
|
34941
34943
|
warning_code: {
|
|
34942
34944
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
34943
|
-
enum: ["
|
|
34945
|
+
enum: ["external_modification_in_effect"],
|
|
34944
34946
|
type: "string"
|
|
34945
34947
|
}
|
|
34946
34948
|
},
|
|
@@ -70085,7 +70087,8 @@ var openapi = {
|
|
|
70085
70087
|
"SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
|
|
70086
70088
|
"MANAGE_DEVICES_CONFIRMATION_MODAL",
|
|
70087
70089
|
"RECLAIM_ORPHANED_BACKUP_ACCESS_CODES",
|
|
70088
|
-
"LYNX_MIGRATION_ENABLED"
|
|
70090
|
+
"LYNX_MIGRATION_ENABLED",
|
|
70091
|
+
"AURORA_CUSTOMER_FILTER_ENABLED"
|
|
70089
70092
|
],
|
|
70090
70093
|
type: "string"
|
|
70091
70094
|
}
|
|
@@ -70114,7 +70117,8 @@ var openapi = {
|
|
|
70114
70117
|
"SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
|
|
70115
70118
|
"MANAGE_DEVICES_CONFIRMATION_MODAL",
|
|
70116
70119
|
"RECLAIM_ORPHANED_BACKUP_ACCESS_CODES",
|
|
70117
|
-
"LYNX_MIGRATION_ENABLED"
|
|
70120
|
+
"LYNX_MIGRATION_ENABLED",
|
|
70121
|
+
"AURORA_CUSTOMER_FILTER_ENABLED"
|
|
70118
70122
|
],
|
|
70119
70123
|
type: "string"
|
|
70120
70124
|
}
|