@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
|
@@ -23491,6 +23491,11 @@ export type Routes = {
|
|
|
23491
23491
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
23492
23492
|
audit_openings?: (boolean | undefined) | undefined;
|
|
23493
23493
|
} | undefined;
|
|
23494
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
23495
|
+
salto_ks_metadata?: {
|
|
23496
|
+
/** 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. */
|
|
23497
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
23498
|
+
} | undefined;
|
|
23494
23499
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
23495
23500
|
full_name?: string | undefined;
|
|
23496
23501
|
/**
|
|
@@ -34085,6 +34090,11 @@ export type Routes = {
|
|
|
34085
34090
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
34086
34091
|
audit_openings?: (boolean | undefined) | undefined;
|
|
34087
34092
|
} | undefined;
|
|
34093
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34094
|
+
salto_ks_metadata?: {
|
|
34095
|
+
/** 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. */
|
|
34096
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
34097
|
+
} | undefined;
|
|
34088
34098
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34089
34099
|
full_name?: string | undefined;
|
|
34090
34100
|
/**
|
|
@@ -34379,6 +34389,11 @@ export type Routes = {
|
|
|
34379
34389
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
34380
34390
|
audit_openings?: (boolean | undefined) | undefined;
|
|
34381
34391
|
} | undefined;
|
|
34392
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34393
|
+
salto_ks_metadata?: {
|
|
34394
|
+
/** 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. */
|
|
34395
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
34396
|
+
} | undefined;
|
|
34382
34397
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34383
34398
|
full_name?: string | undefined;
|
|
34384
34399
|
/**
|
|
@@ -34661,6 +34676,11 @@ export type Routes = {
|
|
|
34661
34676
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
34662
34677
|
audit_openings?: (boolean | undefined) | undefined;
|
|
34663
34678
|
} | undefined;
|
|
34679
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34680
|
+
salto_ks_metadata?: {
|
|
34681
|
+
/** 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. */
|
|
34682
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
34683
|
+
} | undefined;
|
|
34664
34684
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
34665
34685
|
full_name?: string | undefined;
|
|
34666
34686
|
/**
|
|
@@ -35197,6 +35217,11 @@ export type Routes = {
|
|
|
35197
35217
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
35198
35218
|
audit_openings?: (boolean | undefined) | undefined;
|
|
35199
35219
|
} | undefined;
|
|
35220
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35221
|
+
salto_ks_metadata?: {
|
|
35222
|
+
/** 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. */
|
|
35223
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
35224
|
+
} | undefined;
|
|
35200
35225
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35201
35226
|
full_name?: string | undefined;
|
|
35202
35227
|
/**
|
|
@@ -35474,6 +35499,11 @@ export type Routes = {
|
|
|
35474
35499
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
35475
35500
|
audit_openings?: (boolean | undefined) | undefined;
|
|
35476
35501
|
} | undefined;
|
|
35502
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35503
|
+
salto_ks_metadata?: {
|
|
35504
|
+
/** 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. */
|
|
35505
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
35506
|
+
} | undefined;
|
|
35477
35507
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
35478
35508
|
full_name?: string | undefined;
|
|
35479
35509
|
/**
|
|
@@ -83550,6 +83580,32 @@ export type Routes = {
|
|
|
83550
83580
|
};
|
|
83551
83581
|
maxDuration: undefined;
|
|
83552
83582
|
};
|
|
83583
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
83584
|
+
route: '/seam/mcp/v1/create_ro_token';
|
|
83585
|
+
method: 'POST';
|
|
83586
|
+
queryParams: {};
|
|
83587
|
+
jsonBody: {
|
|
83588
|
+
/** ID of the workspace the token will be bound to. */
|
|
83589
|
+
workspace_id: string;
|
|
83590
|
+
/** Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing. */
|
|
83591
|
+
created_by?: string | undefined;
|
|
83592
|
+
};
|
|
83593
|
+
commonParams: {};
|
|
83594
|
+
formData: {};
|
|
83595
|
+
jsonResponse: {
|
|
83596
|
+
support_read_only_token: {
|
|
83597
|
+
/** Support read-only token to use as a Bearer token. */
|
|
83598
|
+
token: string;
|
|
83599
|
+
/** ID of the workspace the token is bound to. */
|
|
83600
|
+
workspace_id: string;
|
|
83601
|
+
/** Date and time at which the token was created. */
|
|
83602
|
+
created_at: string;
|
|
83603
|
+
/** Date and time at which the token expires. Tokens live for one hour. */
|
|
83604
|
+
expires_at: string;
|
|
83605
|
+
};
|
|
83606
|
+
};
|
|
83607
|
+
maxDuration: undefined;
|
|
83608
|
+
};
|
|
83553
83609
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
83554
83610
|
route: '/seam/mobile_sdk/v1/acs/credentials/list';
|
|
83555
83611
|
method: 'GET' | 'POST';
|
|
@@ -111153,6 +111209,11 @@ export type Routes = {
|
|
|
111153
111209
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
111154
111210
|
audit_openings?: (boolean | undefined) | undefined;
|
|
111155
111211
|
} | undefined;
|
|
111212
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
111213
|
+
salto_ks_metadata?: {
|
|
111214
|
+
/** 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. */
|
|
111215
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
111216
|
+
} | undefined;
|
|
111156
111217
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
111157
111218
|
full_name?: string | undefined;
|
|
111158
111219
|
/**
|
|
@@ -113826,6 +113887,11 @@ export type Routes = {
|
|
|
113826
113887
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
113827
113888
|
audit_openings?: (boolean | undefined) | undefined;
|
|
113828
113889
|
} | undefined;
|
|
113890
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
113891
|
+
salto_ks_metadata?: {
|
|
113892
|
+
/** 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. */
|
|
113893
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
113894
|
+
} | undefined;
|
|
113829
113895
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
113830
113896
|
full_name?: string | undefined;
|
|
113831
113897
|
/**
|
|
@@ -115983,6 +116049,11 @@ export type Routes = {
|
|
|
115983
116049
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
115984
116050
|
audit_openings?: (boolean | undefined) | undefined;
|
|
115985
116051
|
} | undefined;
|
|
116052
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
116053
|
+
salto_ks_metadata?: {
|
|
116054
|
+
/** 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. */
|
|
116055
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
116056
|
+
} | undefined;
|
|
115986
116057
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
115987
116058
|
full_name?: string | undefined;
|
|
115988
116059
|
/**
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
import { loose_phone_number } from '../../phone-number.js'
|
|
4
4
|
import { schedule } from '../../schedule.js'
|
|
5
|
+
import { acs_user_salto_ks_metadata } from '../metadata/salto.js'
|
|
5
6
|
import { acs_user_salto_space_metadata } from '../metadata/salto-space.js'
|
|
6
7
|
import { acs_user_pending_mutations } from './pending-mutations.js'
|
|
7
8
|
|
|
@@ -333,6 +334,11 @@ const common_acs_user = z
|
|
|
333
334
|
.describe(
|
|
334
335
|
'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
335
336
|
),
|
|
337
|
+
salto_ks_metadata: acs_user_salto_ks_metadata
|
|
338
|
+
.optional()
|
|
339
|
+
.describe(
|
|
340
|
+
'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
341
|
+
),
|
|
336
342
|
})
|
|
337
343
|
.merge(user_fields)
|
|
338
344
|
|
|
@@ -41,3 +41,19 @@ export const acs_entrance_salto_ks_metadata = z
|
|
|
41
41
|
export type AcsEntranceSaltoKSMetadata = z.infer<
|
|
42
42
|
typeof acs_entrance_salto_ks_metadata
|
|
43
43
|
>
|
|
44
|
+
|
|
45
|
+
export const acs_user_salto_ks_metadata = z
|
|
46
|
+
.object({
|
|
47
|
+
is_subscribed: z
|
|
48
|
+
.boolean()
|
|
49
|
+
.optional()
|
|
50
|
+
.describe(
|
|
51
|
+
"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.",
|
|
52
|
+
),
|
|
53
|
+
})
|
|
54
|
+
.partial()
|
|
55
|
+
.describe(
|
|
56
|
+
'Salto KS-specific metadata associated with the access system user.',
|
|
57
|
+
)
|
|
58
|
+
|
|
59
|
+
export type AcsUserSaltoKSMetadata = z.infer<typeof acs_user_salto_ks_metadata>
|
|
@@ -5569,6 +5569,18 @@ const openapi: OpenAPISpec = {
|
|
|
5569
5569
|
'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`).',
|
|
5570
5570
|
type: 'string',
|
|
5571
5571
|
},
|
|
5572
|
+
salto_ks_metadata: {
|
|
5573
|
+
description:
|
|
5574
|
+
'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
5575
|
+
properties: {
|
|
5576
|
+
is_subscribed: {
|
|
5577
|
+
description:
|
|
5578
|
+
"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.",
|
|
5579
|
+
type: 'boolean',
|
|
5580
|
+
},
|
|
5581
|
+
},
|
|
5582
|
+
type: 'object',
|
|
5583
|
+
},
|
|
5572
5584
|
salto_space_metadata: {
|
|
5573
5585
|
description:
|
|
5574
5586
|
'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
@@ -32326,6 +32338,18 @@ const openapi: OpenAPISpec = {
|
|
|
32326
32338
|
'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`).',
|
|
32327
32339
|
type: 'string',
|
|
32328
32340
|
},
|
|
32341
|
+
salto_ks_metadata: {
|
|
32342
|
+
description:
|
|
32343
|
+
'Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
32344
|
+
properties: {
|
|
32345
|
+
is_subscribed: {
|
|
32346
|
+
description:
|
|
32347
|
+
"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.",
|
|
32348
|
+
type: 'boolean',
|
|
32349
|
+
},
|
|
32350
|
+
},
|
|
32351
|
+
type: 'object',
|
|
32352
|
+
},
|
|
32329
32353
|
salto_space_metadata: {
|
|
32330
32354
|
description:
|
|
32331
32355
|
'Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).',
|
|
@@ -34556,6 +34580,11 @@ const openapi: OpenAPISpec = {
|
|
|
34556
34580
|
scheme: 'bearer',
|
|
34557
34581
|
type: 'http',
|
|
34558
34582
|
},
|
|
34583
|
+
internal_service_agent: {
|
|
34584
|
+
bearerFormat: 'Internal Service Agent Key',
|
|
34585
|
+
scheme: 'bearer',
|
|
34586
|
+
type: 'http',
|
|
34587
|
+
},
|
|
34559
34588
|
pat_with_workspace: {
|
|
34560
34589
|
bearerFormat: 'API Token',
|
|
34561
34590
|
scheme: 'bearer',
|
|
@@ -34577,6 +34606,11 @@ const openapi: OpenAPISpec = {
|
|
|
34577
34606
|
type: 'apiKey',
|
|
34578
34607
|
},
|
|
34579
34608
|
seam_workspace: { in: 'header', name: 'seam-workspace', type: 'apiKey' },
|
|
34609
|
+
support_read_only_token: {
|
|
34610
|
+
bearerFormat: 'Support Read-Only Token',
|
|
34611
|
+
scheme: 'bearer',
|
|
34612
|
+
type: 'http',
|
|
34613
|
+
},
|
|
34580
34614
|
},
|
|
34581
34615
|
},
|
|
34582
34616
|
info: { title: 'Seam Connect', version: '1.0.0' },
|
|
@@ -80637,6 +80671,95 @@ const openapi: OpenAPISpec = {
|
|
|
80637
80671
|
'x-undocumented': 'Seam Instant Key only.',
|
|
80638
80672
|
},
|
|
80639
80673
|
},
|
|
80674
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
80675
|
+
post: {
|
|
80676
|
+
description:
|
|
80677
|
+
'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.',
|
|
80678
|
+
operationId: 'seamMcpV1CreateRoTokenPost',
|
|
80679
|
+
requestBody: {
|
|
80680
|
+
content: {
|
|
80681
|
+
'application/json': {
|
|
80682
|
+
schema: {
|
|
80683
|
+
properties: {
|
|
80684
|
+
created_by: {
|
|
80685
|
+
description:
|
|
80686
|
+
'Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing.',
|
|
80687
|
+
type: 'string',
|
|
80688
|
+
},
|
|
80689
|
+
workspace_id: {
|
|
80690
|
+
description:
|
|
80691
|
+
'ID of the workspace the token will be bound to.',
|
|
80692
|
+
format: 'uuid',
|
|
80693
|
+
type: 'string',
|
|
80694
|
+
},
|
|
80695
|
+
},
|
|
80696
|
+
required: ['workspace_id'],
|
|
80697
|
+
type: 'object',
|
|
80698
|
+
},
|
|
80699
|
+
},
|
|
80700
|
+
},
|
|
80701
|
+
},
|
|
80702
|
+
responses: {
|
|
80703
|
+
200: {
|
|
80704
|
+
content: {
|
|
80705
|
+
'application/json': {
|
|
80706
|
+
schema: {
|
|
80707
|
+
properties: {
|
|
80708
|
+
ok: { type: 'boolean' },
|
|
80709
|
+
support_read_only_token: {
|
|
80710
|
+
properties: {
|
|
80711
|
+
created_at: {
|
|
80712
|
+
description:
|
|
80713
|
+
'Date and time at which the token was created.',
|
|
80714
|
+
type: 'string',
|
|
80715
|
+
},
|
|
80716
|
+
expires_at: {
|
|
80717
|
+
description:
|
|
80718
|
+
'Date and time at which the token expires. Tokens live for one hour.',
|
|
80719
|
+
type: 'string',
|
|
80720
|
+
},
|
|
80721
|
+
token: {
|
|
80722
|
+
description:
|
|
80723
|
+
'Support read-only token to use as a Bearer token.',
|
|
80724
|
+
type: 'string',
|
|
80725
|
+
},
|
|
80726
|
+
workspace_id: {
|
|
80727
|
+
description:
|
|
80728
|
+
'ID of the workspace the token is bound to.',
|
|
80729
|
+
format: 'uuid',
|
|
80730
|
+
type: 'string',
|
|
80731
|
+
},
|
|
80732
|
+
},
|
|
80733
|
+
required: [
|
|
80734
|
+
'token',
|
|
80735
|
+
'workspace_id',
|
|
80736
|
+
'created_at',
|
|
80737
|
+
'expires_at',
|
|
80738
|
+
],
|
|
80739
|
+
type: 'object',
|
|
80740
|
+
},
|
|
80741
|
+
},
|
|
80742
|
+
required: ['support_read_only_token', 'ok'],
|
|
80743
|
+
type: 'object',
|
|
80744
|
+
},
|
|
80745
|
+
},
|
|
80746
|
+
},
|
|
80747
|
+
description: 'OK',
|
|
80748
|
+
},
|
|
80749
|
+
400: { description: 'Bad Request' },
|
|
80750
|
+
401: { description: 'Unauthorized' },
|
|
80751
|
+
},
|
|
80752
|
+
security: [{ internal_service_agent: [] }],
|
|
80753
|
+
summary: '/seam/mcp/v1/create_ro_token',
|
|
80754
|
+
tags: [],
|
|
80755
|
+
'x-fern-sdk-group-name': ['seam', 'mcp', 'v1'],
|
|
80756
|
+
'x-fern-sdk-method-name': 'create_ro_token',
|
|
80757
|
+
'x-fern-sdk-return-value': 'support_read_only_token',
|
|
80758
|
+
'x-response-key': 'support_read_only_token',
|
|
80759
|
+
'x-title': 'Create Support Read-Only Token',
|
|
80760
|
+
'x-undocumented': 'Seam support agent only.',
|
|
80761
|
+
},
|
|
80762
|
+
},
|
|
80640
80763
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
80641
80764
|
get: {
|
|
80642
80765
|
description:
|
|
@@ -27886,6 +27886,13 @@ export type Routes = {
|
|
|
27886
27886
|
audit_openings?: (boolean | undefined) | undefined
|
|
27887
27887
|
}
|
|
27888
27888
|
| undefined
|
|
27889
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
27890
|
+
salto_ks_metadata?:
|
|
27891
|
+
| {
|
|
27892
|
+
/** 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. */
|
|
27893
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
27894
|
+
}
|
|
27895
|
+
| undefined
|
|
27889
27896
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
27890
27897
|
full_name?: string | undefined
|
|
27891
27898
|
/**
|
|
@@ -40582,6 +40589,13 @@ export type Routes = {
|
|
|
40582
40589
|
audit_openings?: (boolean | undefined) | undefined
|
|
40583
40590
|
}
|
|
40584
40591
|
| undefined
|
|
40592
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
40593
|
+
salto_ks_metadata?:
|
|
40594
|
+
| {
|
|
40595
|
+
/** 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. */
|
|
40596
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
40597
|
+
}
|
|
40598
|
+
| undefined
|
|
40585
40599
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
40586
40600
|
full_name?: string | undefined
|
|
40587
40601
|
/**
|
|
@@ -40916,6 +40930,13 @@ export type Routes = {
|
|
|
40916
40930
|
audit_openings?: (boolean | undefined) | undefined
|
|
40917
40931
|
}
|
|
40918
40932
|
| undefined
|
|
40933
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
40934
|
+
salto_ks_metadata?:
|
|
40935
|
+
| {
|
|
40936
|
+
/** 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. */
|
|
40937
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
40938
|
+
}
|
|
40939
|
+
| undefined
|
|
40919
40940
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
40920
40941
|
full_name?: string | undefined
|
|
40921
40942
|
/**
|
|
@@ -41238,6 +41259,13 @@ export type Routes = {
|
|
|
41238
41259
|
audit_openings?: (boolean | undefined) | undefined
|
|
41239
41260
|
}
|
|
41240
41261
|
| undefined
|
|
41262
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
41263
|
+
salto_ks_metadata?:
|
|
41264
|
+
| {
|
|
41265
|
+
/** 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. */
|
|
41266
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
41267
|
+
}
|
|
41268
|
+
| undefined
|
|
41241
41269
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
41242
41270
|
full_name?: string | undefined
|
|
41243
41271
|
/**
|
|
@@ -41865,6 +41893,13 @@ export type Routes = {
|
|
|
41865
41893
|
audit_openings?: (boolean | undefined) | undefined
|
|
41866
41894
|
}
|
|
41867
41895
|
| undefined
|
|
41896
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
41897
|
+
salto_ks_metadata?:
|
|
41898
|
+
| {
|
|
41899
|
+
/** 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. */
|
|
41900
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
41901
|
+
}
|
|
41902
|
+
| undefined
|
|
41868
41903
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
41869
41904
|
full_name?: string | undefined
|
|
41870
41905
|
/**
|
|
@@ -42182,6 +42217,13 @@ export type Routes = {
|
|
|
42182
42217
|
audit_openings?: (boolean | undefined) | undefined
|
|
42183
42218
|
}
|
|
42184
42219
|
| undefined
|
|
42220
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
42221
|
+
salto_ks_metadata?:
|
|
42222
|
+
| {
|
|
42223
|
+
/** 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. */
|
|
42224
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
42225
|
+
}
|
|
42226
|
+
| undefined
|
|
42185
42227
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
42186
42228
|
full_name?: string | undefined
|
|
42187
42229
|
/**
|
|
@@ -101710,6 +101752,32 @@ export type Routes = {
|
|
|
101710
101752
|
}
|
|
101711
101753
|
maxDuration: undefined
|
|
101712
101754
|
}
|
|
101755
|
+
'/seam/mcp/v1/create_ro_token': {
|
|
101756
|
+
route: '/seam/mcp/v1/create_ro_token'
|
|
101757
|
+
method: 'POST'
|
|
101758
|
+
queryParams: {}
|
|
101759
|
+
jsonBody: {
|
|
101760
|
+
/** ID of the workspace the token will be bound to. */
|
|
101761
|
+
workspace_id: string
|
|
101762
|
+
/** Identity of the automation minting the token (e.g. an agent session ID), recorded for auditing. */
|
|
101763
|
+
created_by?: string | undefined
|
|
101764
|
+
}
|
|
101765
|
+
commonParams: {}
|
|
101766
|
+
formData: {}
|
|
101767
|
+
jsonResponse: {
|
|
101768
|
+
support_read_only_token: {
|
|
101769
|
+
/** Support read-only token to use as a Bearer token. */
|
|
101770
|
+
token: string
|
|
101771
|
+
/** ID of the workspace the token is bound to. */
|
|
101772
|
+
workspace_id: string
|
|
101773
|
+
/** Date and time at which the token was created. */
|
|
101774
|
+
created_at: string
|
|
101775
|
+
/** Date and time at which the token expires. Tokens live for one hour. */
|
|
101776
|
+
expires_at: string
|
|
101777
|
+
}
|
|
101778
|
+
}
|
|
101779
|
+
maxDuration: undefined
|
|
101780
|
+
}
|
|
101713
101781
|
'/seam/mobile_sdk/v1/acs/credentials/list': {
|
|
101714
101782
|
route: '/seam/mobile_sdk/v1/acs/credentials/list'
|
|
101715
101783
|
method: 'GET' | 'POST'
|
|
@@ -135327,6 +135395,13 @@ export type Routes = {
|
|
|
135327
135395
|
audit_openings?: (boolean | undefined) | undefined
|
|
135328
135396
|
}
|
|
135329
135397
|
| undefined
|
|
135398
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
135399
|
+
salto_ks_metadata?:
|
|
135400
|
+
| {
|
|
135401
|
+
/** 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. */
|
|
135402
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
135403
|
+
}
|
|
135404
|
+
| undefined
|
|
135330
135405
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
135331
135406
|
full_name?: string | undefined
|
|
135332
135407
|
/**
|
|
@@ -138676,6 +138751,13 @@ export type Routes = {
|
|
|
138676
138751
|
audit_openings?: (boolean | undefined) | undefined
|
|
138677
138752
|
}
|
|
138678
138753
|
| undefined
|
|
138754
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
138755
|
+
salto_ks_metadata?:
|
|
138756
|
+
| {
|
|
138757
|
+
/** 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. */
|
|
138758
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
138759
|
+
}
|
|
138760
|
+
| undefined
|
|
138679
138761
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
138680
138762
|
full_name?: string | undefined
|
|
138681
138763
|
/**
|
|
@@ -141290,6 +141372,13 @@ export type Routes = {
|
|
|
141290
141372
|
audit_openings?: (boolean | undefined) | undefined
|
|
141291
141373
|
}
|
|
141292
141374
|
| undefined
|
|
141375
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
141376
|
+
salto_ks_metadata?:
|
|
141377
|
+
| {
|
|
141378
|
+
/** 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. */
|
|
141379
|
+
is_subscribed?: (boolean | undefined) | undefined
|
|
141380
|
+
}
|
|
141381
|
+
| undefined
|
|
141293
141382
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
141294
141383
|
full_name?: string | undefined
|
|
141295
141384
|
/**
|