@seamapi/types 1.377.0 → 1.378.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 +92 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +224 -118
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +28 -28
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +195 -10
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +16 -3
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +80 -80
- package/lib/seam/connect/models/bridges/bridge-client-session.js +5 -0
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +94 -8
- package/lib/seam/connect/openapi.js +78 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +77 -57
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +17 -3
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +79 -16
- package/src/lib/seam/connect/route-types.ts +77 -57
|
@@ -8391,15 +8391,11 @@ export interface Routes {
|
|
|
8391
8391
|
created_at: string;
|
|
8392
8392
|
mutation_code: 'updating_access_schedule';
|
|
8393
8393
|
from: {
|
|
8394
|
-
|
|
8395
|
-
starts_at: string;
|
|
8396
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
8394
|
+
starts_at: string | null;
|
|
8397
8395
|
ends_at: string | null;
|
|
8398
8396
|
};
|
|
8399
8397
|
to: {
|
|
8400
|
-
|
|
8401
|
-
starts_at: string;
|
|
8402
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
8398
|
+
starts_at: string | null;
|
|
8403
8399
|
ends_at: string | null;
|
|
8404
8400
|
};
|
|
8405
8401
|
} | {
|
|
@@ -10880,6 +10876,54 @@ export interface Routes {
|
|
|
10880
10876
|
};
|
|
10881
10877
|
};
|
|
10882
10878
|
};
|
|
10879
|
+
'/acs/encoders/get': {
|
|
10880
|
+
route: '/acs/encoders/get';
|
|
10881
|
+
method: 'GET' | 'POST';
|
|
10882
|
+
queryParams: {};
|
|
10883
|
+
jsonBody: {};
|
|
10884
|
+
commonParams: {
|
|
10885
|
+
/** ID of the desired encoder. */
|
|
10886
|
+
acs_encoder_id: string;
|
|
10887
|
+
};
|
|
10888
|
+
formData: {};
|
|
10889
|
+
jsonResponse: {
|
|
10890
|
+
/** Represents a hardware device that encodes [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) data onto physical cards within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
10891
|
+
|
|
10892
|
+
Some access control systems require credentials to be encoded onto plastic key cards using a card encoder. This process involves the following two key steps:
|
|
10893
|
+
|
|
10894
|
+
1. Credential creation
|
|
10895
|
+
Configure the access parameters for the credential.
|
|
10896
|
+
2. Card encoding
|
|
10897
|
+
Write the credential data onto the card using a compatible card encoder.
|
|
10898
|
+
|
|
10899
|
+
Separately, the Seam API also supports card scanning, which enables you to scan and read the encoded data on a card. You can use this action to confirm consistency with access control system records or diagnose discrepancies if needed.
|
|
10900
|
+
|
|
10901
|
+
See [Working with Card Encoders and Scanners](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).
|
|
10902
|
+
|
|
10903
|
+
To verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems). */
|
|
10904
|
+
acs_encoder: {
|
|
10905
|
+
/** ID of the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners. */
|
|
10906
|
+
acs_encoder_id: string;
|
|
10907
|
+
/** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
10908
|
+
acs_system_id: string;
|
|
10909
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
10910
|
+
workspace_id: string;
|
|
10911
|
+
/** Errors associated with the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
10912
|
+
errors: Array<{
|
|
10913
|
+
/** Date and time at which Seam created the error. */
|
|
10914
|
+
created_at: string;
|
|
10915
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
10916
|
+
message: string;
|
|
10917
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
10918
|
+
error_code: 'acs_encoder_removed';
|
|
10919
|
+
}>;
|
|
10920
|
+
/** Date and time at which the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners) was created. */
|
|
10921
|
+
created_at: string;
|
|
10922
|
+
/** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
|
|
10923
|
+
display_name: string;
|
|
10924
|
+
};
|
|
10925
|
+
};
|
|
10926
|
+
};
|
|
10883
10927
|
'/acs/encoders/list': {
|
|
10884
10928
|
route: '/acs/encoders/list';
|
|
10885
10929
|
method: 'GET' | 'POST';
|
|
@@ -12840,15 +12884,11 @@ export interface Routes {
|
|
|
12840
12884
|
created_at: string;
|
|
12841
12885
|
mutation_code: 'updating_access_schedule';
|
|
12842
12886
|
from: {
|
|
12843
|
-
|
|
12844
|
-
starts_at: string;
|
|
12845
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
12887
|
+
starts_at: string | null;
|
|
12846
12888
|
ends_at: string | null;
|
|
12847
12889
|
};
|
|
12848
12890
|
to: {
|
|
12849
|
-
|
|
12850
|
-
starts_at: string;
|
|
12851
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
12891
|
+
starts_at: string | null;
|
|
12852
12892
|
ends_at: string | null;
|
|
12853
12893
|
};
|
|
12854
12894
|
} | {
|
|
@@ -13024,15 +13064,11 @@ export interface Routes {
|
|
|
13024
13064
|
created_at: string;
|
|
13025
13065
|
mutation_code: 'updating_access_schedule';
|
|
13026
13066
|
from: {
|
|
13027
|
-
|
|
13028
|
-
starts_at: string;
|
|
13029
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13067
|
+
starts_at: string | null;
|
|
13030
13068
|
ends_at: string | null;
|
|
13031
13069
|
};
|
|
13032
13070
|
to: {
|
|
13033
|
-
|
|
13034
|
-
starts_at: string;
|
|
13035
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13071
|
+
starts_at: string | null;
|
|
13036
13072
|
ends_at: string | null;
|
|
13037
13073
|
};
|
|
13038
13074
|
} | {
|
|
@@ -13204,15 +13240,11 @@ export interface Routes {
|
|
|
13204
13240
|
created_at: string;
|
|
13205
13241
|
mutation_code: 'updating_access_schedule';
|
|
13206
13242
|
from: {
|
|
13207
|
-
|
|
13208
|
-
starts_at: string;
|
|
13209
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13243
|
+
starts_at: string | null;
|
|
13210
13244
|
ends_at: string | null;
|
|
13211
13245
|
};
|
|
13212
13246
|
to: {
|
|
13213
|
-
|
|
13214
|
-
starts_at: string;
|
|
13215
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13247
|
+
starts_at: string | null;
|
|
13216
13248
|
ends_at: string | null;
|
|
13217
13249
|
};
|
|
13218
13250
|
} | {
|
|
@@ -13493,15 +13525,11 @@ export interface Routes {
|
|
|
13493
13525
|
created_at: string;
|
|
13494
13526
|
mutation_code: 'updating_access_schedule';
|
|
13495
13527
|
from: {
|
|
13496
|
-
|
|
13497
|
-
starts_at: string;
|
|
13498
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13528
|
+
starts_at: string | null;
|
|
13499
13529
|
ends_at: string | null;
|
|
13500
13530
|
};
|
|
13501
13531
|
to: {
|
|
13502
|
-
|
|
13503
|
-
starts_at: string;
|
|
13504
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13532
|
+
starts_at: string | null;
|
|
13505
13533
|
ends_at: string | null;
|
|
13506
13534
|
};
|
|
13507
13535
|
} | {
|
|
@@ -13663,15 +13691,11 @@ export interface Routes {
|
|
|
13663
13691
|
created_at: string;
|
|
13664
13692
|
mutation_code: 'updating_access_schedule';
|
|
13665
13693
|
from: {
|
|
13666
|
-
|
|
13667
|
-
starts_at: string;
|
|
13668
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13694
|
+
starts_at: string | null;
|
|
13669
13695
|
ends_at: string | null;
|
|
13670
13696
|
};
|
|
13671
13697
|
to: {
|
|
13672
|
-
|
|
13673
|
-
starts_at: string;
|
|
13674
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
13698
|
+
starts_at: string | null;
|
|
13675
13699
|
ends_at: string | null;
|
|
13676
13700
|
};
|
|
13677
13701
|
} | {
|
|
@@ -30505,15 +30529,15 @@ export interface Routes {
|
|
|
30505
30529
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30506
30530
|
error_code: 'bridge_lan_unreachable';
|
|
30507
30531
|
/** Seam cannot reach the tailscale proxy */
|
|
30508
|
-
is_tailscale_proxy_reachable: boolean;
|
|
30532
|
+
is_tailscale_proxy_reachable: boolean | null;
|
|
30509
30533
|
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
30510
|
-
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
30534
|
+
is_tailscale_proxy_socks_server_healthy: boolean | null;
|
|
30511
30535
|
/** Tailscale proxy cannot reach the Tailscale network */
|
|
30512
|
-
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
30536
|
+
can_tailscale_proxy_reach_tailscale_network: boolean | null;
|
|
30513
30537
|
/** Tailscale proxy cannot reach the bridge */
|
|
30514
|
-
can_tailscale_proxy_reach_bridge: boolean;
|
|
30538
|
+
can_tailscale_proxy_reach_bridge: boolean | null;
|
|
30515
30539
|
/** Bridge's SOCKS server is unhealthy */
|
|
30516
|
-
is_bridge_socks_server_healthy: boolean;
|
|
30540
|
+
is_bridge_socks_server_healthy: boolean | null;
|
|
30517
30541
|
} | {
|
|
30518
30542
|
message: string;
|
|
30519
30543
|
created_at: string;
|
|
@@ -30549,15 +30573,15 @@ export interface Routes {
|
|
|
30549
30573
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30550
30574
|
error_code: 'bridge_lan_unreachable';
|
|
30551
30575
|
/** Seam cannot reach the tailscale proxy */
|
|
30552
|
-
is_tailscale_proxy_reachable: boolean;
|
|
30576
|
+
is_tailscale_proxy_reachable: boolean | null;
|
|
30553
30577
|
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
30554
|
-
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
30578
|
+
is_tailscale_proxy_socks_server_healthy: boolean | null;
|
|
30555
30579
|
/** Tailscale proxy cannot reach the Tailscale network */
|
|
30556
|
-
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
30580
|
+
can_tailscale_proxy_reach_tailscale_network: boolean | null;
|
|
30557
30581
|
/** Tailscale proxy cannot reach the bridge */
|
|
30558
|
-
can_tailscale_proxy_reach_bridge: boolean;
|
|
30582
|
+
can_tailscale_proxy_reach_bridge: boolean | null;
|
|
30559
30583
|
/** Bridge's SOCKS server is unhealthy */
|
|
30560
|
-
is_bridge_socks_server_healthy: boolean;
|
|
30584
|
+
is_bridge_socks_server_healthy: boolean | null;
|
|
30561
30585
|
} | {
|
|
30562
30586
|
message: string;
|
|
30563
30587
|
created_at: string;
|
|
@@ -30593,15 +30617,15 @@ export interface Routes {
|
|
|
30593
30617
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
30594
30618
|
error_code: 'bridge_lan_unreachable';
|
|
30595
30619
|
/** Seam cannot reach the tailscale proxy */
|
|
30596
|
-
is_tailscale_proxy_reachable: boolean;
|
|
30620
|
+
is_tailscale_proxy_reachable: boolean | null;
|
|
30597
30621
|
/** Tailscale proxy's SOCKS server is unhealthy */
|
|
30598
|
-
is_tailscale_proxy_socks_server_healthy: boolean;
|
|
30622
|
+
is_tailscale_proxy_socks_server_healthy: boolean | null;
|
|
30599
30623
|
/** Tailscale proxy cannot reach the Tailscale network */
|
|
30600
|
-
can_tailscale_proxy_reach_tailscale_network: boolean;
|
|
30624
|
+
can_tailscale_proxy_reach_tailscale_network: boolean | null;
|
|
30601
30625
|
/** Tailscale proxy cannot reach the bridge */
|
|
30602
|
-
can_tailscale_proxy_reach_bridge: boolean;
|
|
30626
|
+
can_tailscale_proxy_reach_bridge: boolean | null;
|
|
30603
30627
|
/** Bridge's SOCKS server is unhealthy */
|
|
30604
|
-
is_bridge_socks_server_healthy: boolean;
|
|
30628
|
+
is_bridge_socks_server_healthy: boolean | null;
|
|
30605
30629
|
} | {
|
|
30606
30630
|
message: string;
|
|
30607
30631
|
created_at: string;
|
|
@@ -42088,15 +42112,11 @@ export interface Routes {
|
|
|
42088
42112
|
created_at: string;
|
|
42089
42113
|
mutation_code: 'updating_access_schedule';
|
|
42090
42114
|
from: {
|
|
42091
|
-
|
|
42092
|
-
starts_at: string;
|
|
42093
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
42115
|
+
starts_at: string | null;
|
|
42094
42116
|
ends_at: string | null;
|
|
42095
42117
|
};
|
|
42096
42118
|
to: {
|
|
42097
|
-
|
|
42098
|
-
starts_at: string;
|
|
42099
|
-
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
42119
|
+
starts_at: string | null;
|
|
42100
42120
|
ends_at: string | null;
|
|
42101
42121
|
};
|
|
42102
42122
|
} | {
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
import { phone_number } from '../../phone-number.js'
|
|
4
|
-
import { schedule } from '../../schedule.js'
|
|
5
4
|
|
|
6
5
|
const common_pending_mutation = z.object({
|
|
7
6
|
created_at: z.string().datetime(),
|
|
@@ -28,10 +27,15 @@ export const updating_user_information_mutation =
|
|
|
28
27
|
to: acs_user_info.partial(),
|
|
29
28
|
})
|
|
30
29
|
|
|
30
|
+
const access_schedule = z.object({
|
|
31
|
+
starts_at: z.string().datetime().nullable(),
|
|
32
|
+
ends_at: z.string().datetime().nullable(),
|
|
33
|
+
})
|
|
34
|
+
|
|
31
35
|
const updating_access_schedule_mutation = common_pending_mutation.extend({
|
|
32
36
|
mutation_code: z.literal('updating_access_schedule'),
|
|
33
|
-
from:
|
|
34
|
-
to:
|
|
37
|
+
from: access_schedule,
|
|
38
|
+
to: access_schedule,
|
|
35
39
|
})
|
|
36
40
|
|
|
37
41
|
const updating_suspension_state_mutation = common_pending_mutation.extend({
|
|
@@ -67,6 +71,16 @@ export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>
|
|
|
67
71
|
export const acs_user_pending_mutations_map = z.object({
|
|
68
72
|
creating: creating.optional().nullable(),
|
|
69
73
|
deleting: deleting.optional().nullable(),
|
|
74
|
+
updating_access_schedule: updating_access_schedule_mutation
|
|
75
|
+
.optional()
|
|
76
|
+
.nullable(),
|
|
77
|
+
updating_group_membership: z
|
|
78
|
+
.map(z.string().uuid(), updating_group_membership_mutation)
|
|
79
|
+
.optional()
|
|
80
|
+
.nullable(),
|
|
81
|
+
updating_suspension_state: updating_suspension_state_mutation
|
|
82
|
+
.optional()
|
|
83
|
+
.nullable(),
|
|
70
84
|
'updating_user_information.full_name': common_pending_mutation
|
|
71
85
|
.extend({
|
|
72
86
|
mutation_code: z.literal('updating_user_information'),
|
|
@@ -15,18 +15,23 @@ export const bridge_lan_unreachable = common_bridge_client_session_error
|
|
|
15
15
|
.describe(error_code_description),
|
|
16
16
|
is_tailscale_proxy_reachable: z
|
|
17
17
|
.boolean()
|
|
18
|
+
.nullable()
|
|
18
19
|
.describe('Seam cannot reach the tailscale proxy'),
|
|
19
20
|
is_tailscale_proxy_socks_server_healthy: z
|
|
20
21
|
.boolean()
|
|
22
|
+
.nullable()
|
|
21
23
|
.describe("Tailscale proxy's SOCKS server is unhealthy"),
|
|
22
24
|
can_tailscale_proxy_reach_tailscale_network: z
|
|
23
25
|
.boolean()
|
|
26
|
+
.nullable()
|
|
24
27
|
.describe('Tailscale proxy cannot reach the Tailscale network'),
|
|
25
28
|
can_tailscale_proxy_reach_bridge: z
|
|
26
29
|
.boolean()
|
|
30
|
+
.nullable()
|
|
27
31
|
.describe('Tailscale proxy cannot reach the bridge'),
|
|
28
32
|
is_bridge_socks_server_healthy: z
|
|
29
33
|
.boolean()
|
|
34
|
+
.nullable()
|
|
30
35
|
.describe("Bridge's SOCKS server is unhealthy"),
|
|
31
36
|
})
|
|
32
37
|
.describe("Seam cannot reach the bridge's LAN")
|
|
@@ -2995,16 +2995,13 @@ export default {
|
|
|
2995
2995
|
from: {
|
|
2996
2996
|
properties: {
|
|
2997
2997
|
ends_at: {
|
|
2998
|
-
description:
|
|
2999
|
-
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
3000
2998
|
format: 'date-time',
|
|
3001
2999
|
nullable: true,
|
|
3002
3000
|
type: 'string',
|
|
3003
3001
|
},
|
|
3004
3002
|
starts_at: {
|
|
3005
|
-
description:
|
|
3006
|
-
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
3007
3003
|
format: 'date-time',
|
|
3004
|
+
nullable: true,
|
|
3008
3005
|
type: 'string',
|
|
3009
3006
|
},
|
|
3010
3007
|
},
|
|
@@ -3018,16 +3015,13 @@ export default {
|
|
|
3018
3015
|
to: {
|
|
3019
3016
|
properties: {
|
|
3020
3017
|
ends_at: {
|
|
3021
|
-
description:
|
|
3022
|
-
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
3023
3018
|
format: 'date-time',
|
|
3024
3019
|
nullable: true,
|
|
3025
3020
|
type: 'string',
|
|
3026
3021
|
},
|
|
3027
3022
|
starts_at: {
|
|
3028
|
-
description:
|
|
3029
|
-
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
3030
3023
|
format: 'date-time',
|
|
3024
|
+
nullable: true,
|
|
3031
3025
|
type: 'string',
|
|
3032
3026
|
},
|
|
3033
3027
|
},
|
|
@@ -16085,16 +16079,13 @@ export default {
|
|
|
16085
16079
|
from: {
|
|
16086
16080
|
properties: {
|
|
16087
16081
|
ends_at: {
|
|
16088
|
-
description:
|
|
16089
|
-
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
16090
16082
|
format: 'date-time',
|
|
16091
16083
|
nullable: true,
|
|
16092
16084
|
type: 'string',
|
|
16093
16085
|
},
|
|
16094
16086
|
starts_at: {
|
|
16095
|
-
description:
|
|
16096
|
-
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
16097
16087
|
format: 'date-time',
|
|
16088
|
+
nullable: true,
|
|
16098
16089
|
type: 'string',
|
|
16099
16090
|
},
|
|
16100
16091
|
},
|
|
@@ -16108,16 +16099,13 @@ export default {
|
|
|
16108
16099
|
to: {
|
|
16109
16100
|
properties: {
|
|
16110
16101
|
ends_at: {
|
|
16111
|
-
description:
|
|
16112
|
-
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
16113
16102
|
format: 'date-time',
|
|
16114
16103
|
nullable: true,
|
|
16115
16104
|
type: 'string',
|
|
16116
16105
|
},
|
|
16117
16106
|
starts_at: {
|
|
16118
|
-
description:
|
|
16119
|
-
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
16120
16107
|
format: 'date-time',
|
|
16108
|
+
nullable: true,
|
|
16121
16109
|
type: 'string',
|
|
16122
16110
|
},
|
|
16123
16111
|
},
|
|
@@ -20975,6 +20963,61 @@ export default {
|
|
|
20975
20963
|
'x-title': 'Encode a Credential',
|
|
20976
20964
|
},
|
|
20977
20965
|
},
|
|
20966
|
+
'/acs/encoders/get': {
|
|
20967
|
+
post: {
|
|
20968
|
+
description:
|
|
20969
|
+
'Returns a specified [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).',
|
|
20970
|
+
operationId: 'acsEncodersGetPost',
|
|
20971
|
+
requestBody: {
|
|
20972
|
+
content: {
|
|
20973
|
+
'application/json': {
|
|
20974
|
+
schema: {
|
|
20975
|
+
properties: {
|
|
20976
|
+
acs_encoder_id: {
|
|
20977
|
+
description: 'ID of the desired encoder.',
|
|
20978
|
+
format: 'uuid',
|
|
20979
|
+
type: 'string',
|
|
20980
|
+
},
|
|
20981
|
+
},
|
|
20982
|
+
required: ['acs_encoder_id'],
|
|
20983
|
+
type: 'object',
|
|
20984
|
+
},
|
|
20985
|
+
},
|
|
20986
|
+
},
|
|
20987
|
+
},
|
|
20988
|
+
responses: {
|
|
20989
|
+
200: {
|
|
20990
|
+
content: {
|
|
20991
|
+
'application/json': {
|
|
20992
|
+
schema: {
|
|
20993
|
+
properties: {
|
|
20994
|
+
acs_encoder: { $ref: '#/components/schemas/acs_encoder' },
|
|
20995
|
+
ok: { type: 'boolean' },
|
|
20996
|
+
},
|
|
20997
|
+
required: ['acs_encoder', 'ok'],
|
|
20998
|
+
type: 'object',
|
|
20999
|
+
},
|
|
21000
|
+
},
|
|
21001
|
+
},
|
|
21002
|
+
description: 'OK',
|
|
21003
|
+
},
|
|
21004
|
+
400: { description: 'Bad Request' },
|
|
21005
|
+
401: { description: 'Unauthorized' },
|
|
21006
|
+
},
|
|
21007
|
+
security: [
|
|
21008
|
+
{ pat_with_workspace: [] },
|
|
21009
|
+
{ console_session_with_workspace: [] },
|
|
21010
|
+
{ api_key: [] },
|
|
21011
|
+
],
|
|
21012
|
+
summary: '/acs/encoders/get',
|
|
21013
|
+
tags: ['/acs'],
|
|
21014
|
+
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
21015
|
+
'x-fern-sdk-method-name': 'get',
|
|
21016
|
+
'x-fern-sdk-return-value': 'acs_encoder',
|
|
21017
|
+
'x-response-key': 'acs_encoder',
|
|
21018
|
+
'x-title': 'Get an Encoder',
|
|
21019
|
+
},
|
|
21020
|
+
},
|
|
20978
21021
|
'/acs/encoders/list': {
|
|
20979
21022
|
post: {
|
|
20980
21023
|
description:
|
|
@@ -27075,11 +27118,13 @@ export default {
|
|
|
27075
27118
|
can_tailscale_proxy_reach_bridge: {
|
|
27076
27119
|
description:
|
|
27077
27120
|
'Tailscale proxy cannot reach the bridge',
|
|
27121
|
+
nullable: true,
|
|
27078
27122
|
type: 'boolean',
|
|
27079
27123
|
},
|
|
27080
27124
|
can_tailscale_proxy_reach_tailscale_network: {
|
|
27081
27125
|
description:
|
|
27082
27126
|
'Tailscale proxy cannot reach the Tailscale network',
|
|
27127
|
+
nullable: true,
|
|
27083
27128
|
type: 'boolean',
|
|
27084
27129
|
},
|
|
27085
27130
|
created_at: {
|
|
@@ -27095,16 +27140,19 @@ export default {
|
|
|
27095
27140
|
is_bridge_socks_server_healthy: {
|
|
27096
27141
|
description:
|
|
27097
27142
|
"Bridge's SOCKS server is unhealthy",
|
|
27143
|
+
nullable: true,
|
|
27098
27144
|
type: 'boolean',
|
|
27099
27145
|
},
|
|
27100
27146
|
is_tailscale_proxy_reachable: {
|
|
27101
27147
|
description:
|
|
27102
27148
|
'Seam cannot reach the tailscale proxy',
|
|
27149
|
+
nullable: true,
|
|
27103
27150
|
type: 'boolean',
|
|
27104
27151
|
},
|
|
27105
27152
|
is_tailscale_proxy_socks_server_healthy: {
|
|
27106
27153
|
description:
|
|
27107
27154
|
"Tailscale proxy's SOCKS server is unhealthy",
|
|
27155
|
+
nullable: true,
|
|
27108
27156
|
type: 'boolean',
|
|
27109
27157
|
},
|
|
27110
27158
|
message: { type: 'string' },
|
|
@@ -27242,11 +27290,13 @@ export default {
|
|
|
27242
27290
|
can_tailscale_proxy_reach_bridge: {
|
|
27243
27291
|
description:
|
|
27244
27292
|
'Tailscale proxy cannot reach the bridge',
|
|
27293
|
+
nullable: true,
|
|
27245
27294
|
type: 'boolean',
|
|
27246
27295
|
},
|
|
27247
27296
|
can_tailscale_proxy_reach_tailscale_network: {
|
|
27248
27297
|
description:
|
|
27249
27298
|
'Tailscale proxy cannot reach the Tailscale network',
|
|
27299
|
+
nullable: true,
|
|
27250
27300
|
type: 'boolean',
|
|
27251
27301
|
},
|
|
27252
27302
|
created_at: {
|
|
@@ -27262,16 +27312,19 @@ export default {
|
|
|
27262
27312
|
is_bridge_socks_server_healthy: {
|
|
27263
27313
|
description:
|
|
27264
27314
|
"Bridge's SOCKS server is unhealthy",
|
|
27315
|
+
nullable: true,
|
|
27265
27316
|
type: 'boolean',
|
|
27266
27317
|
},
|
|
27267
27318
|
is_tailscale_proxy_reachable: {
|
|
27268
27319
|
description:
|
|
27269
27320
|
'Seam cannot reach the tailscale proxy',
|
|
27321
|
+
nullable: true,
|
|
27270
27322
|
type: 'boolean',
|
|
27271
27323
|
},
|
|
27272
27324
|
is_tailscale_proxy_socks_server_healthy: {
|
|
27273
27325
|
description:
|
|
27274
27326
|
"Tailscale proxy's SOCKS server is unhealthy",
|
|
27327
|
+
nullable: true,
|
|
27275
27328
|
type: 'boolean',
|
|
27276
27329
|
},
|
|
27277
27330
|
message: { type: 'string' },
|
|
@@ -27400,11 +27453,13 @@ export default {
|
|
|
27400
27453
|
can_tailscale_proxy_reach_bridge: {
|
|
27401
27454
|
description:
|
|
27402
27455
|
'Tailscale proxy cannot reach the bridge',
|
|
27456
|
+
nullable: true,
|
|
27403
27457
|
type: 'boolean',
|
|
27404
27458
|
},
|
|
27405
27459
|
can_tailscale_proxy_reach_tailscale_network: {
|
|
27406
27460
|
description:
|
|
27407
27461
|
'Tailscale proxy cannot reach the Tailscale network',
|
|
27462
|
+
nullable: true,
|
|
27408
27463
|
type: 'boolean',
|
|
27409
27464
|
},
|
|
27410
27465
|
created_at: {
|
|
@@ -27420,16 +27475,19 @@ export default {
|
|
|
27420
27475
|
is_bridge_socks_server_healthy: {
|
|
27421
27476
|
description:
|
|
27422
27477
|
"Bridge's SOCKS server is unhealthy",
|
|
27478
|
+
nullable: true,
|
|
27423
27479
|
type: 'boolean',
|
|
27424
27480
|
},
|
|
27425
27481
|
is_tailscale_proxy_reachable: {
|
|
27426
27482
|
description:
|
|
27427
27483
|
'Seam cannot reach the tailscale proxy',
|
|
27484
|
+
nullable: true,
|
|
27428
27485
|
type: 'boolean',
|
|
27429
27486
|
},
|
|
27430
27487
|
is_tailscale_proxy_socks_server_healthy: {
|
|
27431
27488
|
description:
|
|
27432
27489
|
"Tailscale proxy's SOCKS server is unhealthy",
|
|
27490
|
+
nullable: true,
|
|
27433
27491
|
type: 'boolean',
|
|
27434
27492
|
},
|
|
27435
27493
|
message: { type: 'string' },
|
|
@@ -27568,11 +27626,13 @@ export default {
|
|
|
27568
27626
|
can_tailscale_proxy_reach_bridge: {
|
|
27569
27627
|
description:
|
|
27570
27628
|
'Tailscale proxy cannot reach the bridge',
|
|
27629
|
+
nullable: true,
|
|
27571
27630
|
type: 'boolean',
|
|
27572
27631
|
},
|
|
27573
27632
|
can_tailscale_proxy_reach_tailscale_network: {
|
|
27574
27633
|
description:
|
|
27575
27634
|
'Tailscale proxy cannot reach the Tailscale network',
|
|
27635
|
+
nullable: true,
|
|
27576
27636
|
type: 'boolean',
|
|
27577
27637
|
},
|
|
27578
27638
|
created_at: {
|
|
@@ -27588,16 +27648,19 @@ export default {
|
|
|
27588
27648
|
is_bridge_socks_server_healthy: {
|
|
27589
27649
|
description:
|
|
27590
27650
|
"Bridge's SOCKS server is unhealthy",
|
|
27651
|
+
nullable: true,
|
|
27591
27652
|
type: 'boolean',
|
|
27592
27653
|
},
|
|
27593
27654
|
is_tailscale_proxy_reachable: {
|
|
27594
27655
|
description:
|
|
27595
27656
|
'Seam cannot reach the tailscale proxy',
|
|
27657
|
+
nullable: true,
|
|
27596
27658
|
type: 'boolean',
|
|
27597
27659
|
},
|
|
27598
27660
|
is_tailscale_proxy_socks_server_healthy: {
|
|
27599
27661
|
description:
|
|
27600
27662
|
"Tailscale proxy's SOCKS server is unhealthy",
|
|
27663
|
+
nullable: true,
|
|
27601
27664
|
type: 'boolean',
|
|
27602
27665
|
},
|
|
27603
27666
|
message: { type: 'string' },
|