@seamapi/types 1.221.0 → 1.223.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 +74 -14
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +150 -15
- package/lib/seam/connect/models/acs/acs-system.d.ts +97 -4
- package/lib/seam/connect/models/acs/acs-system.js +40 -8
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +41 -4
- package/lib/seam/connect/openapi.js +42 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +64 -8
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +49 -10
- package/src/lib/seam/connect/openapi.ts +48 -3
- package/src/lib/seam/connect/route-types.ts +68 -8
package/dist/connect.d.cts
CHANGED
|
@@ -624,8 +624,34 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
624
624
|
message: string;
|
|
625
625
|
error_code: "visionline_instance_unreachable";
|
|
626
626
|
created_at: string;
|
|
627
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
628
|
+
created_at: z.ZodString;
|
|
629
|
+
message: z.ZodString;
|
|
630
|
+
}, {
|
|
631
|
+
error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
|
|
632
|
+
}>, "strip", z.ZodTypeAny, {
|
|
633
|
+
message: string;
|
|
634
|
+
error_code: "salto_site_user_limit_reached";
|
|
635
|
+
created_at: string;
|
|
636
|
+
}, {
|
|
637
|
+
message: string;
|
|
638
|
+
error_code: "salto_site_user_limit_reached";
|
|
639
|
+
created_at: string;
|
|
627
640
|
}>]>, "many">;
|
|
628
|
-
warnings: z.ZodArray<z.ZodObject<
|
|
641
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
642
|
+
created_at: z.ZodString;
|
|
643
|
+
message: z.ZodString;
|
|
644
|
+
}, {
|
|
645
|
+
warning_code: z.ZodLiteral<"salto_site_user_limit_almost_reached">;
|
|
646
|
+
}>, "strip", z.ZodTypeAny, {
|
|
647
|
+
message: string;
|
|
648
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
649
|
+
created_at: string;
|
|
650
|
+
}, {
|
|
651
|
+
message: string;
|
|
652
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
653
|
+
created_at: string;
|
|
654
|
+
}>, "many">;
|
|
629
655
|
}, {
|
|
630
656
|
can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
|
|
631
657
|
can_create_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -641,8 +667,16 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
641
667
|
message: string;
|
|
642
668
|
error_code: "visionline_instance_unreachable";
|
|
643
669
|
created_at: string;
|
|
670
|
+
} | {
|
|
671
|
+
message: string;
|
|
672
|
+
error_code: "salto_site_user_limit_reached";
|
|
673
|
+
created_at: string;
|
|
644
674
|
})[];
|
|
645
|
-
warnings: {
|
|
675
|
+
warnings: {
|
|
676
|
+
message: string;
|
|
677
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
678
|
+
created_at: string;
|
|
679
|
+
}[];
|
|
646
680
|
name: string;
|
|
647
681
|
image_url: string;
|
|
648
682
|
image_alt_text: string;
|
|
@@ -672,8 +706,16 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
672
706
|
message: string;
|
|
673
707
|
error_code: "visionline_instance_unreachable";
|
|
674
708
|
created_at: string;
|
|
709
|
+
} | {
|
|
710
|
+
message: string;
|
|
711
|
+
error_code: "salto_site_user_limit_reached";
|
|
712
|
+
created_at: string;
|
|
675
713
|
})[];
|
|
676
|
-
warnings: {
|
|
714
|
+
warnings: {
|
|
715
|
+
message: string;
|
|
716
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
717
|
+
created_at: string;
|
|
718
|
+
}[];
|
|
677
719
|
name: string;
|
|
678
720
|
image_url: string;
|
|
679
721
|
image_alt_text: string;
|
|
@@ -9984,7 +10026,7 @@ declare const _default: {
|
|
|
9984
10026
|
description: string;
|
|
9985
10027
|
items: {
|
|
9986
10028
|
description: string;
|
|
9987
|
-
oneOf: {
|
|
10029
|
+
oneOf: ({
|
|
9988
10030
|
description: string;
|
|
9989
10031
|
properties: {
|
|
9990
10032
|
created_at: {
|
|
@@ -10004,7 +10046,27 @@ declare const _default: {
|
|
|
10004
10046
|
};
|
|
10005
10047
|
required: string[];
|
|
10006
10048
|
type: string;
|
|
10007
|
-
}
|
|
10049
|
+
} | {
|
|
10050
|
+
properties: {
|
|
10051
|
+
created_at: {
|
|
10052
|
+
description: string;
|
|
10053
|
+
format: string;
|
|
10054
|
+
type: string;
|
|
10055
|
+
};
|
|
10056
|
+
error_code: {
|
|
10057
|
+
description: string;
|
|
10058
|
+
enum: string[];
|
|
10059
|
+
type: string;
|
|
10060
|
+
};
|
|
10061
|
+
message: {
|
|
10062
|
+
description: string;
|
|
10063
|
+
type: string;
|
|
10064
|
+
};
|
|
10065
|
+
};
|
|
10066
|
+
required: string[];
|
|
10067
|
+
type: string;
|
|
10068
|
+
description?: never;
|
|
10069
|
+
})[];
|
|
10008
10070
|
};
|
|
10009
10071
|
type: string;
|
|
10010
10072
|
};
|
|
@@ -10056,12 +10118,29 @@ declare const _default: {
|
|
|
10056
10118
|
type: string;
|
|
10057
10119
|
};
|
|
10058
10120
|
warnings: {
|
|
10121
|
+
description: string;
|
|
10059
10122
|
items: {
|
|
10060
|
-
|
|
10123
|
+
description: string;
|
|
10124
|
+
properties: {
|
|
10125
|
+
created_at: {
|
|
10126
|
+
description: string;
|
|
10127
|
+
format: string;
|
|
10128
|
+
type: string;
|
|
10129
|
+
};
|
|
10130
|
+
message: {
|
|
10131
|
+
description: string;
|
|
10132
|
+
type: string;
|
|
10133
|
+
};
|
|
10134
|
+
warning_code: {
|
|
10135
|
+
description: string;
|
|
10136
|
+
enum: string[];
|
|
10137
|
+
type: string;
|
|
10138
|
+
};
|
|
10139
|
+
};
|
|
10140
|
+
required: string[];
|
|
10061
10141
|
type: string;
|
|
10062
10142
|
};
|
|
10063
10143
|
type: string;
|
|
10064
|
-
'x-undocumented': string;
|
|
10065
10144
|
};
|
|
10066
10145
|
workspace_id: {
|
|
10067
10146
|
description: string;
|
|
@@ -29102,9 +29181,23 @@ interface Routes {
|
|
|
29102
29181
|
message: string;
|
|
29103
29182
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
29104
29183
|
error_code: 'visionline_instance_unreachable';
|
|
29184
|
+
} | {
|
|
29185
|
+
/** Date and time at which Seam created the error. */
|
|
29186
|
+
created_at: string;
|
|
29187
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
29188
|
+
message: string;
|
|
29189
|
+
/** You have reached the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
29190
|
+
error_code: 'salto_site_user_limit_reached';
|
|
29191
|
+
}>;
|
|
29192
|
+
/** Warnings associated with the `acs_system`. */
|
|
29193
|
+
warnings: Array<{
|
|
29194
|
+
/** Date and time at which Seam created the warning. */
|
|
29195
|
+
created_at: string;
|
|
29196
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29197
|
+
message: string;
|
|
29198
|
+
/** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
29199
|
+
warning_code: 'salto_site_user_limit_almost_reached';
|
|
29105
29200
|
}>;
|
|
29106
|
-
/** */
|
|
29107
|
-
warnings: Array<{}>;
|
|
29108
29201
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
29109
29202
|
can_automate_enrollment?: boolean | undefined;
|
|
29110
29203
|
/** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
|
|
@@ -29172,9 +29265,23 @@ interface Routes {
|
|
|
29172
29265
|
message: string;
|
|
29173
29266
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
29174
29267
|
error_code: 'visionline_instance_unreachable';
|
|
29268
|
+
} | {
|
|
29269
|
+
/** Date and time at which Seam created the error. */
|
|
29270
|
+
created_at: string;
|
|
29271
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
29272
|
+
message: string;
|
|
29273
|
+
/** You have reached the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
29274
|
+
error_code: 'salto_site_user_limit_reached';
|
|
29275
|
+
}>;
|
|
29276
|
+
/** Warnings associated with the `acs_system`. */
|
|
29277
|
+
warnings: Array<{
|
|
29278
|
+
/** Date and time at which Seam created the warning. */
|
|
29279
|
+
created_at: string;
|
|
29280
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29281
|
+
message: string;
|
|
29282
|
+
/** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
29283
|
+
warning_code: 'salto_site_user_limit_almost_reached';
|
|
29175
29284
|
}>;
|
|
29176
|
-
/** */
|
|
29177
|
-
warnings: Array<{}>;
|
|
29178
29285
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
29179
29286
|
can_automate_enrollment?: boolean | undefined;
|
|
29180
29287
|
/** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
|
|
@@ -29242,9 +29349,23 @@ interface Routes {
|
|
|
29242
29349
|
message: string;
|
|
29243
29350
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
29244
29351
|
error_code: 'visionline_instance_unreachable';
|
|
29352
|
+
} | {
|
|
29353
|
+
/** Date and time at which Seam created the error. */
|
|
29354
|
+
created_at: string;
|
|
29355
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
29356
|
+
message: string;
|
|
29357
|
+
/** You have reached the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
29358
|
+
error_code: 'salto_site_user_limit_reached';
|
|
29359
|
+
}>;
|
|
29360
|
+
/** Warnings associated with the `acs_system`. */
|
|
29361
|
+
warnings: Array<{
|
|
29362
|
+
/** Date and time at which Seam created the warning. */
|
|
29363
|
+
created_at: string;
|
|
29364
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29365
|
+
message: string;
|
|
29366
|
+
/** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
29367
|
+
warning_code: 'salto_site_user_limit_almost_reached';
|
|
29245
29368
|
}>;
|
|
29246
|
-
/** */
|
|
29247
|
-
warnings: Array<{}>;
|
|
29248
29369
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
29249
29370
|
can_automate_enrollment?: boolean | undefined;
|
|
29250
29371
|
/** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
|
|
@@ -41864,9 +41985,23 @@ interface Routes {
|
|
|
41864
41985
|
message: string;
|
|
41865
41986
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
41866
41987
|
error_code: 'visionline_instance_unreachable';
|
|
41988
|
+
} | {
|
|
41989
|
+
/** Date and time at which Seam created the error. */
|
|
41990
|
+
created_at: string;
|
|
41991
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
41992
|
+
message: string;
|
|
41993
|
+
/** You have reached the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
41994
|
+
error_code: 'salto_site_user_limit_reached';
|
|
41995
|
+
}>;
|
|
41996
|
+
/** Warnings associated with the `acs_system`. */
|
|
41997
|
+
warnings: Array<{
|
|
41998
|
+
/** Date and time at which Seam created the warning. */
|
|
41999
|
+
created_at: string;
|
|
42000
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
42001
|
+
message: string;
|
|
42002
|
+
/** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
|
|
42003
|
+
warning_code: 'salto_site_user_limit_almost_reached';
|
|
41867
42004
|
}>;
|
|
41868
|
-
/** */
|
|
41869
|
-
warnings: Array<{}>;
|
|
41870
42005
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
|
|
41871
42006
|
can_automate_enrollment?: boolean | undefined;
|
|
41872
42007
|
/** Indicates whether the `acs_system` supports creating [access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems). */
|
|
@@ -46,6 +46,20 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
46
46
|
error_code: "visionline_instance_unreachable";
|
|
47
47
|
created_at: string;
|
|
48
48
|
}>>>;
|
|
49
|
+
salto_site_user_limit_reached: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
50
|
+
created_at: z.ZodString;
|
|
51
|
+
message: z.ZodString;
|
|
52
|
+
}, {
|
|
53
|
+
error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
|
|
54
|
+
}>, "strip", z.ZodTypeAny, {
|
|
55
|
+
message: string;
|
|
56
|
+
error_code: "salto_site_user_limit_reached";
|
|
57
|
+
created_at: string;
|
|
58
|
+
}, {
|
|
59
|
+
message: string;
|
|
60
|
+
error_code: "salto_site_user_limit_reached";
|
|
61
|
+
created_at: string;
|
|
62
|
+
}>>>;
|
|
49
63
|
}, "strip", z.ZodTypeAny, {
|
|
50
64
|
seam_bridge_disconnected?: {
|
|
51
65
|
message: string;
|
|
@@ -57,6 +71,11 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
57
71
|
error_code: "visionline_instance_unreachable";
|
|
58
72
|
created_at: string;
|
|
59
73
|
} | null | undefined;
|
|
74
|
+
salto_site_user_limit_reached?: {
|
|
75
|
+
message: string;
|
|
76
|
+
error_code: "salto_site_user_limit_reached";
|
|
77
|
+
created_at: string;
|
|
78
|
+
} | null | undefined;
|
|
60
79
|
}, {
|
|
61
80
|
seam_bridge_disconnected?: {
|
|
62
81
|
message: string;
|
|
@@ -68,9 +87,41 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
68
87
|
error_code: "visionline_instance_unreachable";
|
|
69
88
|
created_at: string;
|
|
70
89
|
} | null | undefined;
|
|
90
|
+
salto_site_user_limit_reached?: {
|
|
91
|
+
message: string;
|
|
92
|
+
error_code: "salto_site_user_limit_reached";
|
|
93
|
+
created_at: string;
|
|
94
|
+
} | null | undefined;
|
|
71
95
|
}>;
|
|
72
96
|
export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
|
|
73
|
-
declare const acs_system_warning_map: z.ZodObject<{
|
|
97
|
+
declare const acs_system_warning_map: z.ZodObject<{
|
|
98
|
+
salto_site_user_limit_almost_reached: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
99
|
+
created_at: z.ZodString;
|
|
100
|
+
message: z.ZodString;
|
|
101
|
+
}, {
|
|
102
|
+
warning_code: z.ZodLiteral<"salto_site_user_limit_almost_reached">;
|
|
103
|
+
}>, "strip", z.ZodTypeAny, {
|
|
104
|
+
message: string;
|
|
105
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
106
|
+
created_at: string;
|
|
107
|
+
}, {
|
|
108
|
+
message: string;
|
|
109
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
110
|
+
created_at: string;
|
|
111
|
+
}>>>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
salto_site_user_limit_almost_reached?: {
|
|
114
|
+
message: string;
|
|
115
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
116
|
+
created_at: string;
|
|
117
|
+
} | null | undefined;
|
|
118
|
+
}, {
|
|
119
|
+
salto_site_user_limit_almost_reached?: {
|
|
120
|
+
message: string;
|
|
121
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
122
|
+
created_at: string;
|
|
123
|
+
} | null | undefined;
|
|
124
|
+
}>;
|
|
74
125
|
export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>;
|
|
75
126
|
export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
76
127
|
acs_system_id: z.ZodString;
|
|
@@ -123,8 +174,34 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
123
174
|
message: string;
|
|
124
175
|
error_code: "visionline_instance_unreachable";
|
|
125
176
|
created_at: string;
|
|
177
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
178
|
+
created_at: z.ZodString;
|
|
179
|
+
message: z.ZodString;
|
|
180
|
+
}, {
|
|
181
|
+
error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
|
|
182
|
+
}>, "strip", z.ZodTypeAny, {
|
|
183
|
+
message: string;
|
|
184
|
+
error_code: "salto_site_user_limit_reached";
|
|
185
|
+
created_at: string;
|
|
186
|
+
}, {
|
|
187
|
+
message: string;
|
|
188
|
+
error_code: "salto_site_user_limit_reached";
|
|
189
|
+
created_at: string;
|
|
126
190
|
}>]>, "many">;
|
|
127
|
-
warnings: z.ZodArray<z.ZodObject<
|
|
191
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
192
|
+
created_at: z.ZodString;
|
|
193
|
+
message: z.ZodString;
|
|
194
|
+
}, {
|
|
195
|
+
warning_code: z.ZodLiteral<"salto_site_user_limit_almost_reached">;
|
|
196
|
+
}>, "strip", z.ZodTypeAny, {
|
|
197
|
+
message: string;
|
|
198
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
199
|
+
created_at: string;
|
|
200
|
+
}, {
|
|
201
|
+
message: string;
|
|
202
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
203
|
+
created_at: string;
|
|
204
|
+
}>, "many">;
|
|
128
205
|
}, {
|
|
129
206
|
can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
|
|
130
207
|
can_create_acs_access_groups: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -141,8 +218,16 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
141
218
|
message: string;
|
|
142
219
|
error_code: "visionline_instance_unreachable";
|
|
143
220
|
created_at: string;
|
|
221
|
+
} | {
|
|
222
|
+
message: string;
|
|
223
|
+
error_code: "salto_site_user_limit_reached";
|
|
224
|
+
created_at: string;
|
|
144
225
|
})[];
|
|
145
|
-
warnings: {
|
|
226
|
+
warnings: {
|
|
227
|
+
message: string;
|
|
228
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
229
|
+
created_at: string;
|
|
230
|
+
}[];
|
|
146
231
|
image_url: string;
|
|
147
232
|
image_alt_text: string;
|
|
148
233
|
workspace_id: string;
|
|
@@ -172,8 +257,16 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
172
257
|
message: string;
|
|
173
258
|
error_code: "visionline_instance_unreachable";
|
|
174
259
|
created_at: string;
|
|
260
|
+
} | {
|
|
261
|
+
message: string;
|
|
262
|
+
error_code: "salto_site_user_limit_reached";
|
|
263
|
+
created_at: string;
|
|
175
264
|
})[];
|
|
176
|
-
warnings: {
|
|
265
|
+
warnings: {
|
|
266
|
+
message: string;
|
|
267
|
+
warning_code: "salto_site_user_limit_almost_reached";
|
|
268
|
+
created_at: string;
|
|
269
|
+
}[];
|
|
177
270
|
image_url: string;
|
|
178
271
|
image_alt_text: string;
|
|
179
272
|
workspace_id: string;
|
|
@@ -54,17 +54,51 @@ const visionline_instance_unreachable = common_acs_system_error.extend({
|
|
|
54
54
|
.describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
|
|
55
55
|
For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
|
|
56
56
|
See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
|
|
57
|
+
const salto_site_user_limit_reached = common_acs_system_error.extend({
|
|
58
|
+
error_code: z
|
|
59
|
+
.literal('salto_site_user_limit_reached')
|
|
60
|
+
.describe('You have reached the maximum number of users allowed for your site; Please contact Salto support to increase your user limit.'),
|
|
61
|
+
});
|
|
57
62
|
const acs_system_error = z
|
|
58
|
-
.union([
|
|
63
|
+
.union([
|
|
64
|
+
seam_bridge_disconnected,
|
|
65
|
+
visionline_instance_unreachable,
|
|
66
|
+
salto_site_user_limit_reached,
|
|
67
|
+
])
|
|
59
68
|
.describe('Error associated with the `acs_system`.');
|
|
60
69
|
const acs_system_error_map = z.object({
|
|
61
70
|
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
62
71
|
visionline_instance_unreachable: visionline_instance_unreachable
|
|
63
72
|
.optional()
|
|
64
73
|
.nullable(),
|
|
74
|
+
salto_site_user_limit_reached: salto_site_user_limit_reached
|
|
75
|
+
.optional()
|
|
76
|
+
.nullable(),
|
|
77
|
+
});
|
|
78
|
+
const common_acs_system_warning = z.object({
|
|
79
|
+
created_at: z
|
|
80
|
+
.string()
|
|
81
|
+
.datetime()
|
|
82
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
83
|
+
message: z
|
|
84
|
+
.string()
|
|
85
|
+
.describe('Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.'),
|
|
86
|
+
});
|
|
87
|
+
const salto_site_user_limit_almost_reached = common_acs_system_warning.extend({
|
|
88
|
+
warning_code: z
|
|
89
|
+
.literal('salto_site_user_limit_almost_reached')
|
|
90
|
+
.describe('You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit.'),
|
|
91
|
+
});
|
|
92
|
+
const acs_system_warning =
|
|
93
|
+
// z.union([
|
|
94
|
+
salto_site_user_limit_almost_reached
|
|
95
|
+
// ])
|
|
96
|
+
.describe('Warning associated with the `acs_system`.');
|
|
97
|
+
const acs_system_warning_map = z.object({
|
|
98
|
+
salto_site_user_limit_almost_reached: salto_site_user_limit_almost_reached
|
|
99
|
+
.optional()
|
|
100
|
+
.nullable(),
|
|
65
101
|
});
|
|
66
|
-
const acs_system_warning = z.object({});
|
|
67
|
-
const acs_system_warning_map = z.object({});
|
|
68
102
|
export const acs_system = z
|
|
69
103
|
.object({
|
|
70
104
|
acs_system_id: z.string().uuid().describe('ID of the `acs_system`.'),
|
|
@@ -115,11 +149,9 @@ export const acs_system = z
|
|
|
115
149
|
errors: z
|
|
116
150
|
.array(acs_system_error)
|
|
117
151
|
.describe('Errors associated with the `acs_system`.'),
|
|
118
|
-
warnings: z
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
`),
|
|
152
|
+
warnings: z
|
|
153
|
+
.array(acs_system_warning)
|
|
154
|
+
.describe('Warnings associated with the `acs_system`.'),
|
|
123
155
|
})
|
|
124
156
|
.merge(acs_system_capability_flags)
|
|
125
157
|
.describe('Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC;SACvB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qUAAqU,CACtU;IACH,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oXAAoX,CACrX;IACH,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uaAAua,CACxa;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8ZAA8Z,CAC/Z;CACJ,CAAC,CAAA;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;IAC/B,gBAAgB;CACjB,CAAC,CAAA;AAIF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG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AAC;SACD,QAAQ,EAAE;IACb,WAAW,EAAE,wBAAwB;SAClC,QAAQ,CACP;;;;OAID,CACA;SACA,QAAQ,EAAE;IACb,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;OAItD,CAAC;IACJ,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACtD,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,6GAA6G,CAC9G;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,iIAAiI,CAClI;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,qDAAqD,CAAC;IAClE,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,gBAAgB,CAAC;SACvB,QAAQ,CAAC,0CAA0C,CAAC;IACvD,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC;KAClC,QAAQ,CACP,sGAAsG,CACvG,CAAA"}
|
|
@@ -531,7 +531,7 @@ declare const _default: {
|
|
|
531
531
|
description: string;
|
|
532
532
|
items: {
|
|
533
533
|
description: string;
|
|
534
|
-
oneOf: {
|
|
534
|
+
oneOf: ({
|
|
535
535
|
description: string;
|
|
536
536
|
properties: {
|
|
537
537
|
created_at: {
|
|
@@ -551,7 +551,27 @@ declare const _default: {
|
|
|
551
551
|
};
|
|
552
552
|
required: string[];
|
|
553
553
|
type: string;
|
|
554
|
-
}
|
|
554
|
+
} | {
|
|
555
|
+
properties: {
|
|
556
|
+
created_at: {
|
|
557
|
+
description: string;
|
|
558
|
+
format: string;
|
|
559
|
+
type: string;
|
|
560
|
+
};
|
|
561
|
+
error_code: {
|
|
562
|
+
description: string;
|
|
563
|
+
enum: string[];
|
|
564
|
+
type: string;
|
|
565
|
+
};
|
|
566
|
+
message: {
|
|
567
|
+
description: string;
|
|
568
|
+
type: string;
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
required: string[];
|
|
572
|
+
type: string;
|
|
573
|
+
description?: never;
|
|
574
|
+
})[];
|
|
555
575
|
};
|
|
556
576
|
type: string;
|
|
557
577
|
};
|
|
@@ -603,12 +623,29 @@ declare const _default: {
|
|
|
603
623
|
type: string;
|
|
604
624
|
};
|
|
605
625
|
warnings: {
|
|
626
|
+
description: string;
|
|
606
627
|
items: {
|
|
607
|
-
|
|
628
|
+
description: string;
|
|
629
|
+
properties: {
|
|
630
|
+
created_at: {
|
|
631
|
+
description: string;
|
|
632
|
+
format: string;
|
|
633
|
+
type: string;
|
|
634
|
+
};
|
|
635
|
+
message: {
|
|
636
|
+
description: string;
|
|
637
|
+
type: string;
|
|
638
|
+
};
|
|
639
|
+
warning_code: {
|
|
640
|
+
description: string;
|
|
641
|
+
enum: string[];
|
|
642
|
+
type: string;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
required: string[];
|
|
608
646
|
type: string;
|
|
609
647
|
};
|
|
610
648
|
type: string;
|
|
611
|
-
'x-undocumented': string;
|
|
612
649
|
};
|
|
613
650
|
workspace_id: {
|
|
614
651
|
description: string;
|
|
@@ -502,6 +502,26 @@ export default {
|
|
|
502
502
|
required: ['created_at', 'message', 'error_code'],
|
|
503
503
|
type: 'object',
|
|
504
504
|
},
|
|
505
|
+
{
|
|
506
|
+
properties: {
|
|
507
|
+
created_at: {
|
|
508
|
+
description: 'Date and time at which Seam created the error.',
|
|
509
|
+
format: 'date-time',
|
|
510
|
+
type: 'string',
|
|
511
|
+
},
|
|
512
|
+
error_code: {
|
|
513
|
+
description: 'You have reached the maximum number of users allowed for your site; Please contact Salto support to increase your user limit.',
|
|
514
|
+
enum: ['salto_site_user_limit_reached'],
|
|
515
|
+
type: 'string',
|
|
516
|
+
},
|
|
517
|
+
message: {
|
|
518
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
519
|
+
type: 'string',
|
|
520
|
+
},
|
|
521
|
+
},
|
|
522
|
+
required: ['created_at', 'message', 'error_code'],
|
|
523
|
+
type: 'object',
|
|
524
|
+
},
|
|
505
525
|
],
|
|
506
526
|
},
|
|
507
527
|
type: 'array',
|
|
@@ -563,9 +583,29 @@ export default {
|
|
|
563
583
|
type: 'object',
|
|
564
584
|
},
|
|
565
585
|
warnings: {
|
|
566
|
-
|
|
586
|
+
description: 'Warnings associated with the `acs_system`.',
|
|
587
|
+
items: {
|
|
588
|
+
description: 'Warning associated with the `acs_system`.',
|
|
589
|
+
properties: {
|
|
590
|
+
created_at: {
|
|
591
|
+
description: 'Date and time at which Seam created the warning.',
|
|
592
|
+
format: 'date-time',
|
|
593
|
+
type: 'string',
|
|
594
|
+
},
|
|
595
|
+
message: {
|
|
596
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
597
|
+
type: 'string',
|
|
598
|
+
},
|
|
599
|
+
warning_code: {
|
|
600
|
+
description: 'You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit.',
|
|
601
|
+
enum: ['salto_site_user_limit_almost_reached'],
|
|
602
|
+
type: 'string',
|
|
603
|
+
},
|
|
604
|
+
},
|
|
605
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
606
|
+
type: 'object',
|
|
607
|
+
},
|
|
567
608
|
type: 'array',
|
|
568
|
-
'x-undocumented': 'Currently, no warnings defined for `acs_system`s.',
|
|
569
609
|
},
|
|
570
610
|
workspace_id: {
|
|
571
611
|
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
|