@seamapi/types 1.362.0 → 1.363.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
@@ -3140,6 +3140,31 @@ var acs_encoder_events = [
3140
3140
  acs_encoder_added_event,
3141
3141
  acs_encoder_removed_event
3142
3142
  ];
3143
+ var acs_entrance_event = common_acs_event.extend({
3144
+ acs_entrance_id: zod.z.string().uuid()
3145
+ }).describe(
3146
+ "ID of the [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details)."
3147
+ );
3148
+ var acs_entrance_added_event = acs_entrance_event.extend({
3149
+ event_type: zod.z.literal("acs_entrance.added")
3150
+ }).describe(`
3151
+ ---
3152
+ route_path: /acs/entrances
3153
+ ---
3154
+ An [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details) was added.
3155
+ `);
3156
+ var acs_entrance_removed_event = acs_entrance_event.extend({
3157
+ event_type: zod.z.literal("acs_entrance.removed")
3158
+ }).describe(`
3159
+ ---
3160
+ route_path: /acs/entrances
3161
+ ---
3162
+ An [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details) was removed.
3163
+ `);
3164
+ var acs_entrance_events = [
3165
+ acs_entrance_added_event,
3166
+ acs_entrance_removed_event
3167
+ ];
3143
3168
  var acs_system_event = common_acs_event.extend({});
3144
3169
  var acs_system_connected_event = acs_system_event.extend({
3145
3170
  event_type: zod.z.literal("acs_system.connected")
@@ -3191,7 +3216,8 @@ var acs_events = [
3191
3216
  ...acs_credential_events,
3192
3217
  ...acs_user_events,
3193
3218
  ...acs_encoder_events,
3194
- ...acs_access_group_events
3219
+ ...acs_access_group_events,
3220
+ ...acs_entrance_events
3195
3221
  ];
3196
3222
  var action_attempt_event = common_event.extend({
3197
3223
  action_attempt_id: zod.z.string().uuid().describe(
@@ -12713,6 +12739,102 @@ var openapi_default = {
12713
12739
  type: "object",
12714
12740
  "x-route-path": "/acs/access_groups"
12715
12741
  },
12742
+ {
12743
+ description: "An [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details) was added.",
12744
+ properties: {
12745
+ acs_entrance_id: { format: "uuid", type: "string" },
12746
+ acs_system_id: {
12747
+ description: "ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).",
12748
+ format: "uuid",
12749
+ type: "string"
12750
+ },
12751
+ connected_account_id: {
12752
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
12753
+ format: "uuid",
12754
+ type: "string"
12755
+ },
12756
+ created_at: {
12757
+ description: "Date and time at which the event was created.",
12758
+ format: "date-time",
12759
+ type: "string"
12760
+ },
12761
+ event_id: {
12762
+ description: "ID of the event.",
12763
+ format: "uuid",
12764
+ type: "string"
12765
+ },
12766
+ event_type: { enum: ["acs_entrance.added"], type: "string" },
12767
+ occurred_at: {
12768
+ description: "Date and time at which the event occurred.",
12769
+ format: "date-time",
12770
+ type: "string"
12771
+ },
12772
+ workspace_id: {
12773
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
12774
+ format: "uuid",
12775
+ type: "string"
12776
+ }
12777
+ },
12778
+ required: [
12779
+ "event_id",
12780
+ "workspace_id",
12781
+ "created_at",
12782
+ "occurred_at",
12783
+ "acs_system_id",
12784
+ "acs_entrance_id",
12785
+ "event_type"
12786
+ ],
12787
+ type: "object",
12788
+ "x-route-path": "/acs/entrances"
12789
+ },
12790
+ {
12791
+ description: "An [ACS entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details) was removed.",
12792
+ properties: {
12793
+ acs_entrance_id: { format: "uuid", type: "string" },
12794
+ acs_system_id: {
12795
+ description: "ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).",
12796
+ format: "uuid",
12797
+ type: "string"
12798
+ },
12799
+ connected_account_id: {
12800
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
12801
+ format: "uuid",
12802
+ type: "string"
12803
+ },
12804
+ created_at: {
12805
+ description: "Date and time at which the event was created.",
12806
+ format: "date-time",
12807
+ type: "string"
12808
+ },
12809
+ event_id: {
12810
+ description: "ID of the event.",
12811
+ format: "uuid",
12812
+ type: "string"
12813
+ },
12814
+ event_type: { enum: ["acs_entrance.removed"], type: "string" },
12815
+ occurred_at: {
12816
+ description: "Date and time at which the event occurred.",
12817
+ format: "date-time",
12818
+ type: "string"
12819
+ },
12820
+ workspace_id: {
12821
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
12822
+ format: "uuid",
12823
+ type: "string"
12824
+ }
12825
+ },
12826
+ required: [
12827
+ "event_id",
12828
+ "workspace_id",
12829
+ "created_at",
12830
+ "occurred_at",
12831
+ "acs_system_id",
12832
+ "acs_entrance_id",
12833
+ "event_type"
12834
+ ],
12835
+ type: "object",
12836
+ "x-route-path": "/acs/entrances"
12837
+ },
12716
12838
  {
12717
12839
  description: "A [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was deleted.",
12718
12840
  properties: {
@@ -25295,6 +25417,8 @@ var openapi_default = {
25295
25417
  "acs_encoder.added",
25296
25418
  "acs_encoder.removed",
25297
25419
  "acs_access_group.deleted",
25420
+ "acs_entrance.added",
25421
+ "acs_entrance.removed",
25298
25422
  "client_session.deleted",
25299
25423
  "connected_account.connected",
25300
25424
  "connected_account.created",
@@ -25377,6 +25501,8 @@ var openapi_default = {
25377
25501
  "acs_encoder.added",
25378
25502
  "acs_encoder.removed",
25379
25503
  "acs_access_group.deleted",
25504
+ "acs_entrance.added",
25505
+ "acs_entrance.removed",
25380
25506
  "client_session.deleted",
25381
25507
  "connected_account.connected",
25382
25508
  "connected_account.created",