@seamapi/types 1.380.1 → 1.382.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 +111 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +134 -2
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/acs/users.d.ts +62 -0
- package/lib/seam/connect/models/events/acs/users.js +12 -1
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +31 -1
- package/lib/seam/connect/openapi.d.ts +60 -0
- package/lib/seam/connect/openapi.js +99 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +44 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/models/events/acs/users.ts +15 -1
- package/src/lib/seam/connect/openapi.ts +103 -0
- package/src/lib/seam/connect/route-types.ts +46 -0
package/dist/connect.cjs
CHANGED
|
@@ -3490,7 +3490,18 @@ var acs_user_deleted_event = acs_user_event.extend({
|
|
|
3490
3490
|
---
|
|
3491
3491
|
An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.
|
|
3492
3492
|
`);
|
|
3493
|
-
var
|
|
3493
|
+
var acs_user_created_event = acs_user_event.extend({
|
|
3494
|
+
event_type: zod.z.literal("acs_user.created")
|
|
3495
|
+
}).describe(`
|
|
3496
|
+
---
|
|
3497
|
+
route_path: /acs/users
|
|
3498
|
+
---
|
|
3499
|
+
An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.
|
|
3500
|
+
`);
|
|
3501
|
+
var acs_user_events = [
|
|
3502
|
+
acs_user_created_event,
|
|
3503
|
+
acs_user_deleted_event
|
|
3504
|
+
];
|
|
3494
3505
|
|
|
3495
3506
|
// src/lib/seam/connect/models/events/acs/index.ts
|
|
3496
3507
|
var acs_events = [
|
|
@@ -13744,6 +13755,54 @@ var openapi_default = {
|
|
|
13744
13755
|
type: "object",
|
|
13745
13756
|
"x-route-path": "/acs/credentials"
|
|
13746
13757
|
},
|
|
13758
|
+
{
|
|
13759
|
+
description: "An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.",
|
|
13760
|
+
properties: {
|
|
13761
|
+
acs_system_id: {
|
|
13762
|
+
description: "ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).",
|
|
13763
|
+
format: "uuid",
|
|
13764
|
+
type: "string"
|
|
13765
|
+
},
|
|
13766
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
13767
|
+
connected_account_id: {
|
|
13768
|
+
description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
|
|
13769
|
+
format: "uuid",
|
|
13770
|
+
type: "string"
|
|
13771
|
+
},
|
|
13772
|
+
created_at: {
|
|
13773
|
+
description: "Date and time at which the event was created.",
|
|
13774
|
+
format: "date-time",
|
|
13775
|
+
type: "string"
|
|
13776
|
+
},
|
|
13777
|
+
event_id: {
|
|
13778
|
+
description: "ID of the event.",
|
|
13779
|
+
format: "uuid",
|
|
13780
|
+
type: "string"
|
|
13781
|
+
},
|
|
13782
|
+
event_type: { enum: ["acs_user.created"], type: "string" },
|
|
13783
|
+
occurred_at: {
|
|
13784
|
+
description: "Date and time at which the event occurred.",
|
|
13785
|
+
format: "date-time",
|
|
13786
|
+
type: "string"
|
|
13787
|
+
},
|
|
13788
|
+
workspace_id: {
|
|
13789
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
|
|
13790
|
+
format: "uuid",
|
|
13791
|
+
type: "string"
|
|
13792
|
+
}
|
|
13793
|
+
},
|
|
13794
|
+
required: [
|
|
13795
|
+
"event_id",
|
|
13796
|
+
"workspace_id",
|
|
13797
|
+
"created_at",
|
|
13798
|
+
"occurred_at",
|
|
13799
|
+
"acs_system_id",
|
|
13800
|
+
"acs_user_id",
|
|
13801
|
+
"event_type"
|
|
13802
|
+
],
|
|
13803
|
+
type: "object",
|
|
13804
|
+
"x-route-path": "/acs/users"
|
|
13805
|
+
},
|
|
13747
13806
|
{
|
|
13748
13807
|
description: "An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.",
|
|
13749
13808
|
properties: {
|
|
@@ -27943,6 +28002,7 @@ var openapi_default = {
|
|
|
27943
28002
|
"acs_credential.issued",
|
|
27944
28003
|
"acs_credential.reissued",
|
|
27945
28004
|
"acs_credential.invalidated",
|
|
28005
|
+
"acs_user.created",
|
|
27946
28006
|
"acs_user.deleted",
|
|
27947
28007
|
"acs_encoder.added",
|
|
27948
28008
|
"acs_encoder.removed",
|
|
@@ -28028,6 +28088,7 @@ var openapi_default = {
|
|
|
28028
28088
|
"acs_credential.issued",
|
|
28029
28089
|
"acs_credential.reissued",
|
|
28030
28090
|
"acs_credential.invalidated",
|
|
28091
|
+
"acs_user.created",
|
|
28031
28092
|
"acs_user.deleted",
|
|
28032
28093
|
"acs_encoder.added",
|
|
28033
28094
|
"acs_encoder.removed",
|
|
@@ -30148,6 +30209,55 @@ var openapi_default = {
|
|
|
30148
30209
|
"x-undocumented": "Seam Bridge Client only."
|
|
30149
30210
|
}
|
|
30150
30211
|
},
|
|
30212
|
+
"/seam/bridge/v1/bridge_client_sessions/report_status": {
|
|
30213
|
+
post: {
|
|
30214
|
+
description: "Report a Seam Bridge Bridge client's status.",
|
|
30215
|
+
operationId: "seamBridgeV1BridgeClientSessionsReportStatusPost",
|
|
30216
|
+
requestBody: {
|
|
30217
|
+
content: {
|
|
30218
|
+
"application/json": {
|
|
30219
|
+
schema: {
|
|
30220
|
+
properties: {
|
|
30221
|
+
is_tailscale_connected: { nullable: true, type: "boolean" },
|
|
30222
|
+
tailscale_ip_v4: { nullable: true, type: "string" }
|
|
30223
|
+
},
|
|
30224
|
+
required: ["is_tailscale_connected", "tailscale_ip_v4"],
|
|
30225
|
+
type: "object"
|
|
30226
|
+
}
|
|
30227
|
+
}
|
|
30228
|
+
}
|
|
30229
|
+
},
|
|
30230
|
+
responses: {
|
|
30231
|
+
200: {
|
|
30232
|
+
content: {
|
|
30233
|
+
"application/json": {
|
|
30234
|
+
schema: {
|
|
30235
|
+
properties: { ok: { type: "boolean" } },
|
|
30236
|
+
required: ["ok"],
|
|
30237
|
+
type: "object"
|
|
30238
|
+
}
|
|
30239
|
+
}
|
|
30240
|
+
},
|
|
30241
|
+
description: "OK"
|
|
30242
|
+
},
|
|
30243
|
+
400: { description: "Bad Request" },
|
|
30244
|
+
401: { description: "Unauthorized" }
|
|
30245
|
+
},
|
|
30246
|
+
security: [{ bridge_client_session: [] }],
|
|
30247
|
+
summary: "/seam/bridge/v1/bridge_client_sessions/report_status",
|
|
30248
|
+
tags: [],
|
|
30249
|
+
"x-fern-sdk-group-name": [
|
|
30250
|
+
"seam",
|
|
30251
|
+
"bridge",
|
|
30252
|
+
"v1",
|
|
30253
|
+
"bridge_client_sessions"
|
|
30254
|
+
],
|
|
30255
|
+
"x-fern-sdk-method-name": "report_status",
|
|
30256
|
+
"x-response-key": null,
|
|
30257
|
+
"x-title": "Report a Bridge Client's Status",
|
|
30258
|
+
"x-undocumented": "Seam Bridge Client only."
|
|
30259
|
+
}
|
|
30260
|
+
},
|
|
30151
30261
|
"/seam/bridge/v1/bridge_connected_systems/list": {
|
|
30152
30262
|
get: {
|
|
30153
30263
|
description: "Returns the bridge connected systems associated with the session token used.",
|