@seamapi/types 1.555.0 → 1.557.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 +30 -93
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +62 -294
- package/dist/index.cjs +30 -93
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +24 -110
- package/lib/seam/connect/models/events/access-methods.d.ts +4 -71
- package/lib/seam/connect/models/events/access-methods.js +2 -22
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -36
- package/lib/seam/connect/models/workspaces/workspace.d.ts +6 -0
- package/lib/seam/connect/models/workspaces/workspace.js +7 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -110
- package/lib/seam/connect/openapi.js +18 -69
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
- package/src/lib/seam/connect/models/workspaces/workspace.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +22 -74
- package/src/lib/seam/connect/route-types.ts +22 -99
package/dist/index.cjs
CHANGED
|
@@ -4421,38 +4421,20 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4421
4421
|
---
|
|
4422
4422
|
An access method was deleted.
|
|
4423
4423
|
`);
|
|
4424
|
-
var access_method_reissued_event =
|
|
4425
|
-
event_type: zod.z.literal("access_method.reissued")
|
|
4426
|
-
code: zod.z.string().optional().describe(
|
|
4427
|
-
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4428
|
-
),
|
|
4429
|
-
is_backup_code: zod.z.boolean().optional().describe(
|
|
4430
|
-
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used)."
|
|
4431
|
-
)
|
|
4432
|
-
}).describe(`
|
|
4433
|
-
---
|
|
4434
|
-
route_path: /access_methods
|
|
4435
|
-
---
|
|
4436
|
-
An access method was reissued due to an Access Grant update.
|
|
4437
|
-
`);
|
|
4438
|
-
var access_method_code_changed_event = access_method_event.extend({
|
|
4439
|
-
event_type: zod.z.literal("access_method.code_changed"),
|
|
4440
|
-
code: zod.z.string().describe(
|
|
4441
|
-
"The new PIN code for code access methods (only present when mode is 'code')."
|
|
4442
|
-
)
|
|
4424
|
+
var access_method_reissued_event = access_method_issued_event.extend({
|
|
4425
|
+
event_type: zod.z.literal("access_method.reissued")
|
|
4443
4426
|
}).describe(`
|
|
4444
4427
|
---
|
|
4445
4428
|
route_path: /access_methods
|
|
4446
4429
|
---
|
|
4447
|
-
An access method
|
|
4430
|
+
An access method was reissued.
|
|
4448
4431
|
`);
|
|
4449
4432
|
var access_method_events = [
|
|
4450
4433
|
access_method_issued_event,
|
|
4451
4434
|
access_method_revoked_event,
|
|
4452
4435
|
access_method_card_encoding_required_event,
|
|
4453
4436
|
access_method_deleted_event,
|
|
4454
|
-
access_method_reissued_event
|
|
4455
|
-
access_method_code_changed_event
|
|
4437
|
+
access_method_reissued_event
|
|
4456
4438
|
];
|
|
4457
4439
|
var common_acs_event = common_event.extend({
|
|
4458
4440
|
connected_account_id: zod.z.string().uuid().optional().describe("ID of the connected account."),
|
|
@@ -5453,7 +5435,13 @@ var workspace = zod.z.object({
|
|
|
5453
5435
|
deprecated: Use \`company_name\` instead.
|
|
5454
5436
|
---
|
|
5455
5437
|
`
|
|
5456
|
-
).nullable()
|
|
5438
|
+
).nullable(),
|
|
5439
|
+
publishable_key: zod.z.string().optional().describe(
|
|
5440
|
+
"Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications."
|
|
5441
|
+
),
|
|
5442
|
+
is_publishable_key_auth_enabled: zod.z.boolean().describe(
|
|
5443
|
+
"Indicates whether publishable key authentication is enabled for this workspace."
|
|
5444
|
+
)
|
|
5457
5445
|
}).describe(`
|
|
5458
5446
|
---
|
|
5459
5447
|
route_path: /workspaces
|
|
@@ -19144,7 +19132,7 @@ var openapi_default = {
|
|
|
19144
19132
|
"x-route-path": "/access_methods"
|
|
19145
19133
|
},
|
|
19146
19134
|
{
|
|
19147
|
-
description: "An access method was reissued
|
|
19135
|
+
description: "An access method was reissued.",
|
|
19148
19136
|
properties: {
|
|
19149
19137
|
access_grant_ids: {
|
|
19150
19138
|
description: "IDs of the access grants associated with this access method.",
|
|
@@ -19203,66 +19191,6 @@ var openapi_default = {
|
|
|
19203
19191
|
type: "object",
|
|
19204
19192
|
"x-route-path": "/access_methods"
|
|
19205
19193
|
},
|
|
19206
|
-
{
|
|
19207
|
-
description: "An access method's PIN code was changed.",
|
|
19208
|
-
properties: {
|
|
19209
|
-
access_grant_ids: {
|
|
19210
|
-
description: "IDs of the access grants associated with this access method.",
|
|
19211
|
-
items: { format: "uuid", type: "string" },
|
|
19212
|
-
type: "array"
|
|
19213
|
-
},
|
|
19214
|
-
access_grant_keys: {
|
|
19215
|
-
description: "Keys of the access grants associated with this access method (if present).",
|
|
19216
|
-
items: { type: "string" },
|
|
19217
|
-
type: "array"
|
|
19218
|
-
},
|
|
19219
|
-
access_method_id: {
|
|
19220
|
-
description: "ID of the affected access method.",
|
|
19221
|
-
format: "uuid",
|
|
19222
|
-
type: "string"
|
|
19223
|
-
},
|
|
19224
|
-
code: {
|
|
19225
|
-
description: "The new PIN code for code access methods (only present when mode is 'code').",
|
|
19226
|
-
type: "string"
|
|
19227
|
-
},
|
|
19228
|
-
created_at: {
|
|
19229
|
-
description: "Date and time at which the event was created.",
|
|
19230
|
-
format: "date-time",
|
|
19231
|
-
type: "string"
|
|
19232
|
-
},
|
|
19233
|
-
event_id: {
|
|
19234
|
-
description: "ID of the event.",
|
|
19235
|
-
format: "uuid",
|
|
19236
|
-
type: "string"
|
|
19237
|
-
},
|
|
19238
|
-
event_type: {
|
|
19239
|
-
enum: ["access_method.code_changed"],
|
|
19240
|
-
type: "string"
|
|
19241
|
-
},
|
|
19242
|
-
occurred_at: {
|
|
19243
|
-
description: "Date and time at which the event occurred.",
|
|
19244
|
-
format: "date-time",
|
|
19245
|
-
type: "string"
|
|
19246
|
-
},
|
|
19247
|
-
workspace_id: {
|
|
19248
|
-
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
|
|
19249
|
-
format: "uuid",
|
|
19250
|
-
type: "string"
|
|
19251
|
-
}
|
|
19252
|
-
},
|
|
19253
|
-
required: [
|
|
19254
|
-
"event_id",
|
|
19255
|
-
"workspace_id",
|
|
19256
|
-
"created_at",
|
|
19257
|
-
"occurred_at",
|
|
19258
|
-
"access_method_id",
|
|
19259
|
-
"access_grant_ids",
|
|
19260
|
-
"event_type",
|
|
19261
|
-
"code"
|
|
19262
|
-
],
|
|
19263
|
-
type: "object",
|
|
19264
|
-
"x-route-path": "/access_methods"
|
|
19265
|
-
},
|
|
19266
19194
|
{
|
|
19267
19195
|
description: "An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
|
|
19268
19196
|
properties: {
|
|
@@ -28676,6 +28604,10 @@ var openapi_default = {
|
|
|
28676
28604
|
},
|
|
28677
28605
|
type: "object"
|
|
28678
28606
|
},
|
|
28607
|
+
is_publishable_key_auth_enabled: {
|
|
28608
|
+
description: "Indicates whether publishable key authentication is enabled for this workspace.",
|
|
28609
|
+
type: "boolean"
|
|
28610
|
+
},
|
|
28679
28611
|
is_sandbox: {
|
|
28680
28612
|
description: "Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).",
|
|
28681
28613
|
type: "boolean"
|
|
@@ -28688,6 +28620,10 @@ var openapi_default = {
|
|
|
28688
28620
|
description: "Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
|
|
28689
28621
|
type: "string"
|
|
28690
28622
|
},
|
|
28623
|
+
publishable_key: {
|
|
28624
|
+
description: "Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.",
|
|
28625
|
+
type: "string"
|
|
28626
|
+
},
|
|
28691
28627
|
workspace_id: {
|
|
28692
28628
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
|
|
28693
28629
|
format: "uuid",
|
|
@@ -28701,7 +28637,8 @@ var openapi_default = {
|
|
|
28701
28637
|
"is_sandbox",
|
|
28702
28638
|
"connect_webview_customization",
|
|
28703
28639
|
"is_suspended",
|
|
28704
|
-
"connect_partner_name"
|
|
28640
|
+
"connect_partner_name",
|
|
28641
|
+
"is_publishable_key_auth_enabled"
|
|
28705
28642
|
],
|
|
28706
28643
|
type: "object",
|
|
28707
28644
|
"x-route-path": "/workspaces"
|
|
@@ -45570,7 +45507,6 @@ var openapi_default = {
|
|
|
45570
45507
|
"access_method.card_encoding_required",
|
|
45571
45508
|
"access_method.deleted",
|
|
45572
45509
|
"access_method.reissued",
|
|
45573
|
-
"access_method.code_changed",
|
|
45574
45510
|
"acs_system.connected",
|
|
45575
45511
|
"acs_system.added",
|
|
45576
45512
|
"acs_system.disconnected",
|
|
@@ -45673,7 +45609,6 @@ var openapi_default = {
|
|
|
45673
45609
|
"access_method.card_encoding_required",
|
|
45674
45610
|
"access_method.deleted",
|
|
45675
45611
|
"access_method.reissued",
|
|
45676
|
-
"access_method.code_changed",
|
|
45677
45612
|
"acs_system.connected",
|
|
45678
45613
|
"acs_system.added",
|
|
45679
45614
|
"acs_system.disconnected",
|
|
@@ -45918,7 +45853,6 @@ var openapi_default = {
|
|
|
45918
45853
|
"access_method.card_encoding_required",
|
|
45919
45854
|
"access_method.deleted",
|
|
45920
45855
|
"access_method.reissued",
|
|
45921
|
-
"access_method.code_changed",
|
|
45922
45856
|
"acs_system.connected",
|
|
45923
45857
|
"acs_system.added",
|
|
45924
45858
|
"acs_system.disconnected",
|
|
@@ -46017,7 +45951,6 @@ var openapi_default = {
|
|
|
46017
45951
|
"access_method.card_encoding_required",
|
|
46018
45952
|
"access_method.deleted",
|
|
46019
45953
|
"access_method.reissued",
|
|
46020
|
-
"access_method.code_changed",
|
|
46021
45954
|
"acs_system.connected",
|
|
46022
45955
|
"acs_system.added",
|
|
46023
45956
|
"acs_system.disconnected",
|
|
@@ -50990,7 +50923,6 @@ var openapi_default = {
|
|
|
50990
50923
|
"access_method.card_encoding_required",
|
|
50991
50924
|
"access_method.deleted",
|
|
50992
50925
|
"access_method.reissued",
|
|
50993
|
-
"access_method.code_changed",
|
|
50994
50926
|
"acs_system.connected",
|
|
50995
50927
|
"acs_system.added",
|
|
50996
50928
|
"acs_system.disconnected",
|
|
@@ -51094,7 +51026,6 @@ var openapi_default = {
|
|
|
51094
51026
|
"access_method.card_encoding_required",
|
|
51095
51027
|
"access_method.deleted",
|
|
51096
51028
|
"access_method.reissued",
|
|
51097
|
-
"access_method.code_changed",
|
|
51098
51029
|
"acs_system.connected",
|
|
51099
51030
|
"acs_system.added",
|
|
51100
51031
|
"acs_system.disconnected",
|
|
@@ -51259,7 +51190,6 @@ var openapi_default = {
|
|
|
51259
51190
|
"access_method.card_encoding_required",
|
|
51260
51191
|
"access_method.deleted",
|
|
51261
51192
|
"access_method.reissued",
|
|
51262
|
-
"access_method.code_changed",
|
|
51263
51193
|
"acs_system.connected",
|
|
51264
51194
|
"acs_system.added",
|
|
51265
51195
|
"acs_system.disconnected",
|
|
@@ -51358,7 +51288,6 @@ var openapi_default = {
|
|
|
51358
51288
|
"access_method.card_encoding_required",
|
|
51359
51289
|
"access_method.deleted",
|
|
51360
51290
|
"access_method.reissued",
|
|
51361
|
-
"access_method.code_changed",
|
|
51362
51291
|
"acs_system.connected",
|
|
51363
51292
|
"acs_system.added",
|
|
51364
51293
|
"acs_system.disconnected",
|
|
@@ -60726,6 +60655,10 @@ var openapi_default = {
|
|
|
60726
60655
|
},
|
|
60727
60656
|
type: "object"
|
|
60728
60657
|
},
|
|
60658
|
+
is_publishable_key_auth_enabled: {
|
|
60659
|
+
description: "Indicates whether publishable key authentication is enabled for this workspace.",
|
|
60660
|
+
type: "boolean"
|
|
60661
|
+
},
|
|
60729
60662
|
is_suspended: {
|
|
60730
60663
|
description: "Indicates whether the workspace is suspended.",
|
|
60731
60664
|
type: "boolean"
|
|
@@ -60796,6 +60729,10 @@ var openapi_default = {
|
|
|
60796
60729
|
},
|
|
60797
60730
|
type: "object"
|
|
60798
60731
|
},
|
|
60732
|
+
is_publishable_key_auth_enabled: {
|
|
60733
|
+
description: "Indicates whether publishable key authentication is enabled for this workspace.",
|
|
60734
|
+
type: "boolean"
|
|
60735
|
+
},
|
|
60799
60736
|
is_suspended: {
|
|
60800
60737
|
description: "Indicates whether the workspace is suspended.",
|
|
60801
60738
|
type: "boolean"
|