@seamapi/types 1.406.9 → 1.407.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 CHANGED
@@ -4237,10 +4237,19 @@ var access_method_revoked_event = access_method_event.extend({
4237
4237
  ---
4238
4238
  An access method was revoked.
4239
4239
  `);
4240
+ var access_method_deleted_event = access_method_event.extend({
4241
+ event_type: zod.z.literal("access_method.deleted")
4242
+ }).describe(`
4243
+ ---
4244
+ route_path: /unstable_access_methods
4245
+ ---
4246
+ An access method was deleted.
4247
+ `);
4240
4248
  var access_method_events = [
4241
4249
  access_method_issued_event,
4242
4250
  access_method_revoked_event,
4243
- access_method_card_encoding_required_event
4251
+ access_method_card_encoding_required_event,
4252
+ access_method_deleted_event
4244
4253
  ];
4245
4254
  var common_acs_event = common_event.extend({
4246
4255
  connected_account_id: zod.z.string().uuid().optional().describe("ID of the connected account."),
@@ -16281,6 +16290,47 @@ var openapi_default = {
16281
16290
  type: "object",
16282
16291
  "x-route-path": "/unstable_access_methods"
16283
16292
  },
16293
+ {
16294
+ description: "An access method was deleted.",
16295
+ properties: {
16296
+ access_method_id: {
16297
+ description: "ID of the affected access method.",
16298
+ format: "uuid",
16299
+ type: "string"
16300
+ },
16301
+ created_at: {
16302
+ description: "Date and time at which the event was created.",
16303
+ format: "date-time",
16304
+ type: "string"
16305
+ },
16306
+ event_id: {
16307
+ description: "ID of the event.",
16308
+ format: "uuid",
16309
+ type: "string"
16310
+ },
16311
+ event_type: { enum: ["access_method.deleted"], type: "string" },
16312
+ occurred_at: {
16313
+ description: "Date and time at which the event occurred.",
16314
+ format: "date-time",
16315
+ type: "string"
16316
+ },
16317
+ workspace_id: {
16318
+ description: "ID of the workspace associated with the event.",
16319
+ format: "uuid",
16320
+ type: "string"
16321
+ }
16322
+ },
16323
+ required: [
16324
+ "event_id",
16325
+ "workspace_id",
16326
+ "created_at",
16327
+ "occurred_at",
16328
+ "access_method_id",
16329
+ "event_type"
16330
+ ],
16331
+ type: "object",
16332
+ "x-route-path": "/unstable_access_methods"
16333
+ },
16284
16334
  {
16285
16335
  description: "An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
16286
16336
  properties: {
@@ -32555,6 +32605,7 @@ var openapi_default = {
32555
32605
  "access_method.issued",
32556
32606
  "access_method.revoked",
32557
32607
  "access_method.card_encoding_required",
32608
+ "access_method.deleted",
32558
32609
  "acs_system.connected",
32559
32610
  "acs_system.added",
32560
32611
  "acs_system.disconnected",
@@ -32650,6 +32701,7 @@ var openapi_default = {
32650
32701
  "access_method.issued",
32651
32702
  "access_method.revoked",
32652
32703
  "access_method.card_encoding_required",
32704
+ "access_method.deleted",
32653
32705
  "acs_system.connected",
32654
32706
  "acs_system.added",
32655
32707
  "acs_system.disconnected",