@seamapi/types 1.966.0 → 1.968.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 +123 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +97 -0
- package/dist/index.cjs +123 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +26 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +4 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +8 -0
- package/lib/seam/connect/models/acs/metadata/salto.js +9 -0
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/openapi.js +112 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +71 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +123 -0
- package/src/lib/seam/connect/route-types.ts +89 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6646,6 +6646,13 @@ declare const acs_user: z.ZodObject<{
|
|
|
6646
6646
|
user_id?: string | undefined;
|
|
6647
6647
|
audit_openings?: boolean | undefined;
|
|
6648
6648
|
}>>;
|
|
6649
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
6650
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6651
|
+
}, "strip", z.ZodTypeAny, {
|
|
6652
|
+
is_subscribed?: boolean | undefined;
|
|
6653
|
+
}, {
|
|
6654
|
+
is_subscribed?: boolean | undefined;
|
|
6655
|
+
}>>;
|
|
6649
6656
|
} & {
|
|
6650
6657
|
full_name: z.ZodOptional<z.ZodString>;
|
|
6651
6658
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -6704,6 +6711,9 @@ declare const acs_user: z.ZodObject<{
|
|
|
6704
6711
|
acs_user_id: string;
|
|
6705
6712
|
acs_system_id: string;
|
|
6706
6713
|
last_successful_sync_at: string | null;
|
|
6714
|
+
salto_ks_metadata?: {
|
|
6715
|
+
is_subscribed?: boolean | undefined;
|
|
6716
|
+
} | undefined;
|
|
6707
6717
|
email?: string | undefined;
|
|
6708
6718
|
pending_mutations?: ({
|
|
6709
6719
|
message: string;
|
|
@@ -6851,6 +6861,9 @@ declare const acs_user: z.ZodObject<{
|
|
|
6851
6861
|
acs_user_id: string;
|
|
6852
6862
|
acs_system_id: string;
|
|
6853
6863
|
last_successful_sync_at: string | null;
|
|
6864
|
+
salto_ks_metadata?: {
|
|
6865
|
+
is_subscribed?: boolean | undefined;
|
|
6866
|
+
} | undefined;
|
|
6854
6867
|
email?: string | undefined;
|
|
6855
6868
|
pending_mutations?: ({
|
|
6856
6869
|
message: string;
|
|
@@ -7403,6 +7416,13 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7403
7416
|
user_id?: string | undefined;
|
|
7404
7417
|
audit_openings?: boolean | undefined;
|
|
7405
7418
|
}>>;
|
|
7419
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
7420
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7421
|
+
}, "strip", z.ZodTypeAny, {
|
|
7422
|
+
is_subscribed?: boolean | undefined;
|
|
7423
|
+
}, {
|
|
7424
|
+
is_subscribed?: boolean | undefined;
|
|
7425
|
+
}>>;
|
|
7406
7426
|
} & {
|
|
7407
7427
|
full_name: z.ZodOptional<z.ZodString>;
|
|
7408
7428
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -7461,6 +7481,9 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7461
7481
|
acs_user_id: string;
|
|
7462
7482
|
acs_system_id: string;
|
|
7463
7483
|
last_successful_sync_at: string | null;
|
|
7484
|
+
salto_ks_metadata?: {
|
|
7485
|
+
is_subscribed?: boolean | undefined;
|
|
7486
|
+
} | undefined;
|
|
7464
7487
|
email?: string | undefined;
|
|
7465
7488
|
pending_mutations?: ({
|
|
7466
7489
|
message: string;
|
|
@@ -7608,6 +7631,9 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7608
7631
|
acs_user_id: string;
|
|
7609
7632
|
acs_system_id: string;
|
|
7610
7633
|
last_successful_sync_at: string | null;
|
|
7634
|
+
salto_ks_metadata?: {
|
|
7635
|
+
is_subscribed?: boolean | undefined;
|
|
7636
|
+
} | undefined;
|
|
7611
7637
|
email?: string | undefined;
|
|
7612
7638
|
pending_mutations?: ({
|
|
7613
7639
|
message: string;
|
|
@@ -53610,6 +53636,11 @@ type Routes = {
|
|
|
53610
53636
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
53611
53637
|
audit_openings?: (boolean | undefined) | undefined;
|
|
53612
53638
|
} | undefined;
|
|
53639
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
53640
|
+
salto_ks_metadata?: {
|
|
53641
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
53642
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
53643
|
+
} | undefined;
|
|
53613
53644
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
53614
53645
|
full_name?: string | undefined;
|
|
53615
53646
|
/**
|
|
@@ -64204,6 +64235,11 @@ type Routes = {
|
|
|
64204
64235
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
64205
64236
|
audit_openings?: (boolean | undefined) | undefined;
|
|
64206
64237
|
} | undefined;
|
|
64238
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64239
|
+
salto_ks_metadata?: {
|
|
64240
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
64241
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
64242
|
+
} | undefined;
|
|
64207
64243
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64208
64244
|
full_name?: string | undefined;
|
|
64209
64245
|
/**
|
|
@@ -64498,6 +64534,11 @@ type Routes = {
|
|
|
64498
64534
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
64499
64535
|
audit_openings?: (boolean | undefined) | undefined;
|
|
64500
64536
|
} | undefined;
|
|
64537
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64538
|
+
salto_ks_metadata?: {
|
|
64539
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
64540
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
64541
|
+
} | undefined;
|
|
64501
64542
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64502
64543
|
full_name?: string | undefined;
|
|
64503
64544
|
/**
|
|
@@ -64780,6 +64821,11 @@ type Routes = {
|
|
|
64780
64821
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
64781
64822
|
audit_openings?: (boolean | undefined) | undefined;
|
|
64782
64823
|
} | undefined;
|
|
64824
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64825
|
+
salto_ks_metadata?: {
|
|
64826
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
64827
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
64828
|
+
} | undefined;
|
|
64783
64829
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64784
64830
|
full_name?: string | undefined;
|
|
64785
64831
|
/**
|
|
@@ -65316,6 +65362,11 @@ type Routes = {
|
|
|
65316
65362
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
65317
65363
|
audit_openings?: (boolean | undefined) | undefined;
|
|
65318
65364
|
} | undefined;
|
|
65365
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65366
|
+
salto_ks_metadata?: {
|
|
65367
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
65368
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
65369
|
+
} | undefined;
|
|
65319
65370
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65320
65371
|
full_name?: string | undefined;
|
|
65321
65372
|
/**
|
|
@@ -65593,6 +65644,11 @@ type Routes = {
|
|
|
65593
65644
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
65594
65645
|
audit_openings?: (boolean | undefined) | undefined;
|
|
65595
65646
|
} | undefined;
|
|
65647
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65648
|
+
salto_ks_metadata?: {
|
|
65649
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
65650
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
65651
|
+
} | undefined;
|
|
65596
65652
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65597
65653
|
full_name?: string | undefined;
|
|
65598
65654
|
/**
|
|
@@ -113669,6 +113725,32 @@ type Routes = {
|
|
|
113669
113725
|
};
|
|
113670
113726
|
maxDuration: undefined;
|
|
113671
113727
|
};
|
|
113728
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
113729
|
+
route: '/seam/mcp/v1/create_ro_token';
|
|
113730
|
+
method: 'POST';
|
|
113731
|
+
queryParams: {};
|
|
113732
|
+
jsonBody: {
|
|
113733
|
+
/** ID of the workspace the token will be bound to. */
|
|
113734
|
+
workspace_id: string;
|
|
113735
|
+
/** Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing. */
|
|
113736
|
+
created_by?: string | undefined;
|
|
113737
|
+
};
|
|
113738
|
+
commonParams: {};
|
|
113739
|
+
formData: {};
|
|
113740
|
+
jsonResponse: {
|
|
113741
|
+
support_read_only_token: {
|
|
113742
|
+
/** Support read-only token to use as a Bearer token. */
|
|
113743
|
+
token: string;
|
|
113744
|
+
/** ID of the workspace the token is bound to. */
|
|
113745
|
+
workspace_id: string;
|
|
113746
|
+
/** Date and time at which the token was created. */
|
|
113747
|
+
created_at: string;
|
|
113748
|
+
/** Date and time at which the token expires. Tokens live for one hour. */
|
|
113749
|
+
expires_at: string;
|
|
113750
|
+
};
|
|
113751
|
+
};
|
|
113752
|
+
maxDuration: undefined;
|
|
113753
|
+
};
|
|
113672
113754
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
113673
113755
|
route: '/seam/mobile_sdk/v1/acs/credentials/list';
|
|
113674
113756
|
method: 'GET' | 'POST';
|
|
@@ -141272,6 +141354,11 @@ type Routes = {
|
|
|
141272
141354
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
141273
141355
|
audit_openings?: (boolean | undefined) | undefined;
|
|
141274
141356
|
} | undefined;
|
|
141357
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
141358
|
+
salto_ks_metadata?: {
|
|
141359
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
141360
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
141361
|
+
} | undefined;
|
|
141275
141362
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
141276
141363
|
full_name?: string | undefined;
|
|
141277
141364
|
/**
|
|
@@ -143945,6 +144032,11 @@ type Routes = {
|
|
|
143945
144032
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
143946
144033
|
audit_openings?: (boolean | undefined) | undefined;
|
|
143947
144034
|
} | undefined;
|
|
144035
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
144036
|
+
salto_ks_metadata?: {
|
|
144037
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
144038
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
144039
|
+
} | undefined;
|
|
143948
144040
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
143949
144041
|
full_name?: string | undefined;
|
|
143950
144042
|
/**
|
|
@@ -146102,6 +146194,11 @@ type Routes = {
|
|
|
146102
146194
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
146103
146195
|
audit_openings?: (boolean | undefined) | undefined;
|
|
146104
146196
|
} | undefined;
|
|
146197
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
146198
|
+
salto_ks_metadata?: {
|
|
146199
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
146200
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
146201
|
+
} | undefined;
|
|
146105
146202
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
146106
146203
|
full_name?: string | undefined;
|
|
146107
146204
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -3619,6 +3619,13 @@ var acs_entrance_salto_ks_metadata = zod.z.object({
|
|
|
3619
3619
|
intrusion_alarm: zod.z.boolean().optional().describe("Indicates whether an intrusion alarm is active on the door."),
|
|
3620
3620
|
privacy_mode: zod.z.boolean().optional().describe("Indicates whether privacy mode is enabled for the lock.")
|
|
3621
3621
|
}).partial().describe("Salto KS-specific metadata associated with the entrance.");
|
|
3622
|
+
var acs_user_salto_ks_metadata = zod.z.object({
|
|
3623
|
+
is_subscribed: zod.z.boolean().optional().describe(
|
|
3624
|
+
"Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked."
|
|
3625
|
+
)
|
|
3626
|
+
}).partial().describe(
|
|
3627
|
+
"Salto KS-specific metadata associated with the access system user."
|
|
3628
|
+
);
|
|
3622
3629
|
var acs_entrance_salto_space_metadata = zod.z.object({
|
|
3623
3630
|
door_id: zod.z.string().optional().describe("Door ID in the Salto Space access system."),
|
|
3624
3631
|
door_name: zod.z.string().optional().describe("Name of the door in the Salto Space access system."),
|
|
@@ -4741,6 +4748,9 @@ var common_acs_user = zod.z.object({
|
|
|
4741
4748
|
`),
|
|
4742
4749
|
salto_space_metadata: acs_user_salto_space_metadata.optional().describe(
|
|
4743
4750
|
"Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management)."
|
|
4751
|
+
),
|
|
4752
|
+
salto_ks_metadata: acs_user_salto_ks_metadata.optional().describe(
|
|
4753
|
+
"Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management)."
|
|
4744
4754
|
)
|
|
4745
4755
|
}).merge(user_fields);
|
|
4746
4756
|
var acs_user = common_acs_user.merge(
|
|
@@ -12515,6 +12525,16 @@ var openapi = {
|
|
|
12515
12525
|
description: "Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
12516
12526
|
type: "string"
|
|
12517
12527
|
},
|
|
12528
|
+
salto_ks_metadata: {
|
|
12529
|
+
description: "Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
12530
|
+
properties: {
|
|
12531
|
+
is_subscribed: {
|
|
12532
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
12533
|
+
type: "boolean"
|
|
12534
|
+
}
|
|
12535
|
+
},
|
|
12536
|
+
type: "object"
|
|
12537
|
+
},
|
|
12518
12538
|
salto_space_metadata: {
|
|
12519
12539
|
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
12520
12540
|
properties: {
|
|
@@ -36535,6 +36555,16 @@ var openapi = {
|
|
|
36535
36555
|
description: "Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
36536
36556
|
type: "string"
|
|
36537
36557
|
},
|
|
36558
|
+
salto_ks_metadata: {
|
|
36559
|
+
description: "Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
36560
|
+
properties: {
|
|
36561
|
+
is_subscribed: {
|
|
36562
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
36563
|
+
type: "boolean"
|
|
36564
|
+
}
|
|
36565
|
+
},
|
|
36566
|
+
type: "object"
|
|
36567
|
+
},
|
|
36538
36568
|
salto_space_metadata: {
|
|
36539
36569
|
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
36540
36570
|
properties: {
|
|
@@ -38490,6 +38520,11 @@ var openapi = {
|
|
|
38490
38520
|
scheme: "bearer",
|
|
38491
38521
|
type: "http"
|
|
38492
38522
|
},
|
|
38523
|
+
internal_service_agent: {
|
|
38524
|
+
bearerFormat: "Internal Service Agent Key",
|
|
38525
|
+
scheme: "bearer",
|
|
38526
|
+
type: "http"
|
|
38527
|
+
},
|
|
38493
38528
|
pat_with_workspace: {
|
|
38494
38529
|
bearerFormat: "API Token",
|
|
38495
38530
|
scheme: "bearer",
|
|
@@ -38510,7 +38545,12 @@ var openapi = {
|
|
|
38510
38545
|
name: "seam-client-session-token",
|
|
38511
38546
|
type: "apiKey"
|
|
38512
38547
|
},
|
|
38513
|
-
seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" }
|
|
38548
|
+
seam_workspace: { in: "header", name: "seam-workspace", type: "apiKey" },
|
|
38549
|
+
support_read_only_token: {
|
|
38550
|
+
bearerFormat: "Support Read-Only Token",
|
|
38551
|
+
scheme: "bearer",
|
|
38552
|
+
type: "http"
|
|
38553
|
+
}
|
|
38514
38554
|
}
|
|
38515
38555
|
},
|
|
38516
38556
|
info: { title: "Seam Connect", version: "1.0.0" },
|
|
@@ -82072,6 +82112,88 @@ var openapi = {
|
|
|
82072
82112
|
"x-undocumented": "Seam Instant Key only."
|
|
82073
82113
|
}
|
|
82074
82114
|
},
|
|
82115
|
+
"/seam/mcp/v1/create_ro_token": {
|
|
82116
|
+
post: {
|
|
82117
|
+
description: "Mints a short-lived, read-only token bound to a single workspace. Used by the Seam support agent to inspect a customer workspace via read-only public API endpoints.",
|
|
82118
|
+
operationId: "seamMcpV1CreateRoTokenPost",
|
|
82119
|
+
requestBody: {
|
|
82120
|
+
content: {
|
|
82121
|
+
"application/json": {
|
|
82122
|
+
schema: {
|
|
82123
|
+
properties: {
|
|
82124
|
+
created_by: {
|
|
82125
|
+
description: "Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing.",
|
|
82126
|
+
type: "string"
|
|
82127
|
+
},
|
|
82128
|
+
workspace_id: {
|
|
82129
|
+
description: "ID of the workspace the token will be bound to.",
|
|
82130
|
+
format: "uuid",
|
|
82131
|
+
type: "string"
|
|
82132
|
+
}
|
|
82133
|
+
},
|
|
82134
|
+
required: ["workspace_id"],
|
|
82135
|
+
type: "object"
|
|
82136
|
+
}
|
|
82137
|
+
}
|
|
82138
|
+
}
|
|
82139
|
+
},
|
|
82140
|
+
responses: {
|
|
82141
|
+
200: {
|
|
82142
|
+
content: {
|
|
82143
|
+
"application/json": {
|
|
82144
|
+
schema: {
|
|
82145
|
+
properties: {
|
|
82146
|
+
ok: { type: "boolean" },
|
|
82147
|
+
support_read_only_token: {
|
|
82148
|
+
properties: {
|
|
82149
|
+
created_at: {
|
|
82150
|
+
description: "Date and time at which the token was created.",
|
|
82151
|
+
type: "string"
|
|
82152
|
+
},
|
|
82153
|
+
expires_at: {
|
|
82154
|
+
description: "Date and time at which the token expires. Tokens live for one hour.",
|
|
82155
|
+
type: "string"
|
|
82156
|
+
},
|
|
82157
|
+
token: {
|
|
82158
|
+
description: "Support read-only token to use as a Bearer token.",
|
|
82159
|
+
type: "string"
|
|
82160
|
+
},
|
|
82161
|
+
workspace_id: {
|
|
82162
|
+
description: "ID of the workspace the token is bound to.",
|
|
82163
|
+
format: "uuid",
|
|
82164
|
+
type: "string"
|
|
82165
|
+
}
|
|
82166
|
+
},
|
|
82167
|
+
required: [
|
|
82168
|
+
"token",
|
|
82169
|
+
"workspace_id",
|
|
82170
|
+
"created_at",
|
|
82171
|
+
"expires_at"
|
|
82172
|
+
],
|
|
82173
|
+
type: "object"
|
|
82174
|
+
}
|
|
82175
|
+
},
|
|
82176
|
+
required: ["support_read_only_token", "ok"],
|
|
82177
|
+
type: "object"
|
|
82178
|
+
}
|
|
82179
|
+
}
|
|
82180
|
+
},
|
|
82181
|
+
description: "OK"
|
|
82182
|
+
},
|
|
82183
|
+
400: { description: "Bad Request" },
|
|
82184
|
+
401: { description: "Unauthorized" }
|
|
82185
|
+
},
|
|
82186
|
+
security: [{ internal_service_agent: [] }],
|
|
82187
|
+
summary: "/seam/mcp/v1/create_ro_token",
|
|
82188
|
+
tags: [],
|
|
82189
|
+
"x-fern-sdk-group-name": ["seam", "mcp", "v1"],
|
|
82190
|
+
"x-fern-sdk-method-name": "create_ro_token",
|
|
82191
|
+
"x-fern-sdk-return-value": "support_read_only_token",
|
|
82192
|
+
"x-response-key": "support_read_only_token",
|
|
82193
|
+
"x-title": "Create Support Read-Only Token",
|
|
82194
|
+
"x-undocumented": "Seam support agent only."
|
|
82195
|
+
}
|
|
82196
|
+
},
|
|
82075
82197
|
"/seam/mobile_sdk/v1/acs/credentials/list": {
|
|
82076
82198
|
get: {
|
|
82077
82199
|
description: "Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).",
|