@seamapi/types 1.367.1 → 1.367.2
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 +39 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +10 -0
- package/lib/seam/connect/models/acs/acs-system.js +8 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +178 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +38 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +2 -0
- package/lib/seam/connect/openapi.js +2 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +10 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +47 -0
- package/src/lib/seam/connect/openapi.ts +2 -0
- package/src/lib/seam/connect/route-types.ts +8 -0
|
@@ -10857,6 +10857,8 @@ export interface Routes {
|
|
|
10857
10857
|
message: string;
|
|
10858
10858
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10859
10859
|
warning_code: 'time_zone_does_not_match_location';
|
|
10860
|
+
/**
|
|
10861
|
+
* @deprecated this field is deprecated. */
|
|
10860
10862
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
10861
10863
|
}>;
|
|
10862
10864
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access/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 [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -10984,6 +10986,8 @@ export interface Routes {
|
|
|
10984
10986
|
message: string;
|
|
10985
10987
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10986
10988
|
warning_code: 'time_zone_does_not_match_location';
|
|
10989
|
+
/**
|
|
10990
|
+
* @deprecated this field is deprecated. */
|
|
10987
10991
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
10988
10992
|
}>;
|
|
10989
10993
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access/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 [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -11111,6 +11115,8 @@ export interface Routes {
|
|
|
11111
11115
|
message: string;
|
|
11112
11116
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
11113
11117
|
warning_code: 'time_zone_does_not_match_location';
|
|
11118
|
+
/**
|
|
11119
|
+
* @deprecated this field is deprecated. */
|
|
11114
11120
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
11115
11121
|
}>;
|
|
11116
11122
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access/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 [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -38951,6 +38957,8 @@ export interface Routes {
|
|
|
38951
38957
|
message: string;
|
|
38952
38958
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
38953
38959
|
warning_code: 'time_zone_does_not_match_location';
|
|
38960
|
+
/**
|
|
38961
|
+
* @deprecated this field is deprecated. */
|
|
38954
38962
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
38955
38963
|
}>;
|
|
38956
38964
|
/** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access/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 [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
package/package.json
CHANGED
|
@@ -186,7 +186,16 @@ const time_zone_does_not_match_location = common_acs_system_warning
|
|
|
186
186
|
warning_code: z
|
|
187
187
|
.literal('time_zone_does_not_match_location')
|
|
188
188
|
.describe(warning_code_description),
|
|
189
|
-
misconfigured_acs_entrance_ids: z
|
|
189
|
+
misconfigured_acs_entrance_ids: z
|
|
190
|
+
.array(z.string().uuid())
|
|
191
|
+
.optional()
|
|
192
|
+
.describe(
|
|
193
|
+
`
|
|
194
|
+
---
|
|
195
|
+
deprecated: this field is deprecated.
|
|
196
|
+
---
|
|
197
|
+
`,
|
|
198
|
+
),
|
|
190
199
|
})
|
|
191
200
|
.describe(
|
|
192
201
|
'Indicates the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
@@ -54,3 +54,50 @@ export const acs_user_pending_modification = z.discriminatedUnion(
|
|
|
54
54
|
acs_access_group_membership_pending_modification,
|
|
55
55
|
],
|
|
56
56
|
)
|
|
57
|
+
|
|
58
|
+
export type AcsUserPendingModification = z.infer<
|
|
59
|
+
typeof acs_user_pending_modification
|
|
60
|
+
>
|
|
61
|
+
|
|
62
|
+
const acs_user_pending_modifications_map = z.object({
|
|
63
|
+
'profile.full_name': common_pending_modification
|
|
64
|
+
.extend({
|
|
65
|
+
modification_code: z.literal('profile'),
|
|
66
|
+
modified_from: z.object({
|
|
67
|
+
full_name: z.string().nullable(),
|
|
68
|
+
}),
|
|
69
|
+
modified_to: z.object({
|
|
70
|
+
full_name: z.string().nullable(),
|
|
71
|
+
}),
|
|
72
|
+
})
|
|
73
|
+
.optional()
|
|
74
|
+
.nullable(),
|
|
75
|
+
'profile.email_address': common_pending_modification
|
|
76
|
+
.extend({
|
|
77
|
+
modification_code: z.literal('profile'),
|
|
78
|
+
modified_from: z.object({
|
|
79
|
+
email_address: z.string().email().nullable(),
|
|
80
|
+
}),
|
|
81
|
+
modified_to: z.object({
|
|
82
|
+
email_address: z.string().email().nullable(),
|
|
83
|
+
}),
|
|
84
|
+
})
|
|
85
|
+
.optional()
|
|
86
|
+
.nullable(),
|
|
87
|
+
'profile.phone_number': common_pending_modification
|
|
88
|
+
.extend({
|
|
89
|
+
modification_code: z.literal('profile'),
|
|
90
|
+
modified_from: z.object({
|
|
91
|
+
phone_number: phone_number.nullable(),
|
|
92
|
+
}),
|
|
93
|
+
modified_to: z.object({
|
|
94
|
+
phone_number: phone_number.nullable(),
|
|
95
|
+
}),
|
|
96
|
+
})
|
|
97
|
+
.optional()
|
|
98
|
+
.nullable(),
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
export type AcsUserPendingModificationsMap = z.infer<
|
|
102
|
+
typeof acs_user_pending_modifications_map
|
|
103
|
+
>
|
|
@@ -2169,8 +2169,10 @@ export default {
|
|
|
2169
2169
|
type: 'string',
|
|
2170
2170
|
},
|
|
2171
2171
|
misconfigured_acs_entrance_ids: {
|
|
2172
|
+
deprecated: true,
|
|
2172
2173
|
items: { format: 'uuid', type: 'string' },
|
|
2173
2174
|
type: 'array',
|
|
2175
|
+
'x-deprecated': 'this field is deprecated.',
|
|
2174
2176
|
},
|
|
2175
2177
|
warning_code: {
|
|
2176
2178
|
description:
|
|
@@ -12828,6 +12828,8 @@ export interface Routes {
|
|
|
12828
12828
|
message: string
|
|
12829
12829
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12830
12830
|
warning_code: 'time_zone_does_not_match_location'
|
|
12831
|
+
/**
|
|
12832
|
+
* @deprecated this field is deprecated. */
|
|
12831
12833
|
misconfigured_acs_entrance_ids?: string[] | undefined
|
|
12832
12834
|
}
|
|
12833
12835
|
>
|
|
@@ -12999,6 +13001,8 @@ export interface Routes {
|
|
|
12999
13001
|
message: string
|
|
13000
13002
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13001
13003
|
warning_code: 'time_zone_does_not_match_location'
|
|
13004
|
+
/**
|
|
13005
|
+
* @deprecated this field is deprecated. */
|
|
13002
13006
|
misconfigured_acs_entrance_ids?: string[] | undefined
|
|
13003
13007
|
}
|
|
13004
13008
|
>
|
|
@@ -13170,6 +13174,8 @@ export interface Routes {
|
|
|
13170
13174
|
message: string
|
|
13171
13175
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13172
13176
|
warning_code: 'time_zone_does_not_match_location'
|
|
13177
|
+
/**
|
|
13178
|
+
* @deprecated this field is deprecated. */
|
|
13173
13179
|
misconfigured_acs_entrance_ids?: string[] | undefined
|
|
13174
13180
|
}
|
|
13175
13181
|
>
|
|
@@ -47893,6 +47899,8 @@ export interface Routes {
|
|
|
47893
47899
|
message: string
|
|
47894
47900
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
47895
47901
|
warning_code: 'time_zone_does_not_match_location'
|
|
47902
|
+
/**
|
|
47903
|
+
* @deprecated this field is deprecated. */
|
|
47896
47904
|
misconfigured_acs_entrance_ids?: string[] | undefined
|
|
47897
47905
|
}
|
|
47898
47906
|
>
|