@seamapi/types 1.555.0 → 1.556.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 +5 -91
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +8 -294
- package/dist/index.cjs +5 -91
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +4 -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/openapi.d.ts +0 -110
- package/lib/seam/connect/openapi.js +1 -69
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
- package/src/lib/seam/connect/openapi.ts +1 -74
- package/src/lib/seam/connect/route-types.ts +0 -99
package/dist/connect.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."),
|
|
@@ -19144,7 +19126,7 @@ var openapi_default = {
|
|
|
19144
19126
|
"x-route-path": "/access_methods"
|
|
19145
19127
|
},
|
|
19146
19128
|
{
|
|
19147
|
-
description: "An access method was reissued
|
|
19129
|
+
description: "An access method was reissued.",
|
|
19148
19130
|
properties: {
|
|
19149
19131
|
access_grant_ids: {
|
|
19150
19132
|
description: "IDs of the access grants associated with this access method.",
|
|
@@ -19203,66 +19185,6 @@ var openapi_default = {
|
|
|
19203
19185
|
type: "object",
|
|
19204
19186
|
"x-route-path": "/access_methods"
|
|
19205
19187
|
},
|
|
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
19188
|
{
|
|
19267
19189
|
description: "An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
|
|
19268
19190
|
properties: {
|
|
@@ -45570,7 +45492,6 @@ var openapi_default = {
|
|
|
45570
45492
|
"access_method.card_encoding_required",
|
|
45571
45493
|
"access_method.deleted",
|
|
45572
45494
|
"access_method.reissued",
|
|
45573
|
-
"access_method.code_changed",
|
|
45574
45495
|
"acs_system.connected",
|
|
45575
45496
|
"acs_system.added",
|
|
45576
45497
|
"acs_system.disconnected",
|
|
@@ -45673,7 +45594,6 @@ var openapi_default = {
|
|
|
45673
45594
|
"access_method.card_encoding_required",
|
|
45674
45595
|
"access_method.deleted",
|
|
45675
45596
|
"access_method.reissued",
|
|
45676
|
-
"access_method.code_changed",
|
|
45677
45597
|
"acs_system.connected",
|
|
45678
45598
|
"acs_system.added",
|
|
45679
45599
|
"acs_system.disconnected",
|
|
@@ -45918,7 +45838,6 @@ var openapi_default = {
|
|
|
45918
45838
|
"access_method.card_encoding_required",
|
|
45919
45839
|
"access_method.deleted",
|
|
45920
45840
|
"access_method.reissued",
|
|
45921
|
-
"access_method.code_changed",
|
|
45922
45841
|
"acs_system.connected",
|
|
45923
45842
|
"acs_system.added",
|
|
45924
45843
|
"acs_system.disconnected",
|
|
@@ -46017,7 +45936,6 @@ var openapi_default = {
|
|
|
46017
45936
|
"access_method.card_encoding_required",
|
|
46018
45937
|
"access_method.deleted",
|
|
46019
45938
|
"access_method.reissued",
|
|
46020
|
-
"access_method.code_changed",
|
|
46021
45939
|
"acs_system.connected",
|
|
46022
45940
|
"acs_system.added",
|
|
46023
45941
|
"acs_system.disconnected",
|
|
@@ -50990,7 +50908,6 @@ var openapi_default = {
|
|
|
50990
50908
|
"access_method.card_encoding_required",
|
|
50991
50909
|
"access_method.deleted",
|
|
50992
50910
|
"access_method.reissued",
|
|
50993
|
-
"access_method.code_changed",
|
|
50994
50911
|
"acs_system.connected",
|
|
50995
50912
|
"acs_system.added",
|
|
50996
50913
|
"acs_system.disconnected",
|
|
@@ -51094,7 +51011,6 @@ var openapi_default = {
|
|
|
51094
51011
|
"access_method.card_encoding_required",
|
|
51095
51012
|
"access_method.deleted",
|
|
51096
51013
|
"access_method.reissued",
|
|
51097
|
-
"access_method.code_changed",
|
|
51098
51014
|
"acs_system.connected",
|
|
51099
51015
|
"acs_system.added",
|
|
51100
51016
|
"acs_system.disconnected",
|
|
@@ -51259,7 +51175,6 @@ var openapi_default = {
|
|
|
51259
51175
|
"access_method.card_encoding_required",
|
|
51260
51176
|
"access_method.deleted",
|
|
51261
51177
|
"access_method.reissued",
|
|
51262
|
-
"access_method.code_changed",
|
|
51263
51178
|
"acs_system.connected",
|
|
51264
51179
|
"acs_system.added",
|
|
51265
51180
|
"acs_system.disconnected",
|
|
@@ -51358,7 +51273,6 @@ var openapi_default = {
|
|
|
51358
51273
|
"access_method.card_encoding_required",
|
|
51359
51274
|
"access_method.deleted",
|
|
51360
51275
|
"access_method.reissued",
|
|
51361
|
-
"access_method.code_changed",
|
|
51362
51276
|
"acs_system.connected",
|
|
51363
51277
|
"acs_system.added",
|
|
51364
51278
|
"acs_system.disconnected",
|