@seamapi/types 1.328.0 → 1.329.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
@@ -1401,19 +1401,26 @@ var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
1401
1401
  }).describe(
1402
1402
  "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
1403
1403
  );
1404
+ var needs_to_be_reissued = common_acs_credential_warning.extend({
1405
+ warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description3)
1406
+ }).describe(
1407
+ "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential."
1408
+ );
1404
1409
  var acs_credential_warning = zod.z.union([
1405
1410
  waiting_to_be_issued,
1406
1411
  schedule_externally_modified,
1407
1412
  schedule_modified,
1408
1413
  being_deleted,
1409
- unknown_issue_with_acs_credential
1414
+ unknown_issue_with_acs_credential,
1415
+ needs_to_be_reissued
1410
1416
  ]).describe("Warning associated with the `acs_credential`.");
1411
1417
  zod.z.object({
1412
1418
  waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
1413
1419
  schedule_externally_modified: schedule_externally_modified.optional().nullable(),
1414
1420
  schedule_modified: schedule_modified.optional().nullable(),
1415
1421
  being_deleted: being_deleted.optional().nullable(),
1416
- unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable()
1422
+ unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable(),
1423
+ needs_to_be_reissued: needs_to_be_reissued.optional().nullable()
1417
1424
  });
1418
1425
  var common_acs_credential = zod.z.object({
1419
1426
  acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
@@ -2527,9 +2534,15 @@ var acs_credential_issued = acs_credential_event.extend({
2527
2534
  ---
2528
2535
  An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was issued.
2529
2536
  `);
2537
+ var acs_credential_reissued = acs_credential_event.extend({
2538
+ event_type: zod.z.literal("acs_credential.reissued")
2539
+ }).describe(
2540
+ "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued."
2541
+ );
2530
2542
  var acs_credential_events = [
2531
2543
  acs_credential_deleted_event,
2532
- acs_credential_issued
2544
+ acs_credential_issued,
2545
+ acs_credential_reissued
2533
2546
  ];
2534
2547
  var acs_encoder_event = common_acs_event.extend({
2535
2548
  acs_encoder_id: zod.z.string().uuid().describe(
@@ -3978,6 +3991,27 @@ var openapi_default = {
3978
3991
  },
3979
3992
  required: ["created_at", "message", "warning_code"],
3980
3993
  type: "object"
3994
+ },
3995
+ {
3996
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
3997
+ properties: {
3998
+ created_at: {
3999
+ description: "Date and time at which Seam created the warning.",
4000
+ format: "date-time",
4001
+ type: "string"
4002
+ },
4003
+ message: {
4004
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
4005
+ type: "string"
4006
+ },
4007
+ warning_code: {
4008
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4009
+ enum: ["needs_to_be_reissued"],
4010
+ type: "string"
4011
+ }
4012
+ },
4013
+ required: ["created_at", "message", "warning_code"],
4014
+ type: "object"
3981
4015
  }
3982
4016
  ]
3983
4017
  },
@@ -5343,6 +5377,31 @@ var openapi_default = {
5343
5377
  "warning_code"
5344
5378
  ],
5345
5379
  type: "object"
5380
+ },
5381
+ {
5382
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
5383
+ properties: {
5384
+ created_at: {
5385
+ description: "Date and time at which Seam created the warning.",
5386
+ format: "date-time",
5387
+ type: "string"
5388
+ },
5389
+ message: {
5390
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5391
+ type: "string"
5392
+ },
5393
+ warning_code: {
5394
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5395
+ enum: ["needs_to_be_reissued"],
5396
+ type: "string"
5397
+ }
5398
+ },
5399
+ required: [
5400
+ "created_at",
5401
+ "message",
5402
+ "warning_code"
5403
+ ],
5404
+ type: "object"
5346
5405
  }
5347
5406
  ]
5348
5407
  },
@@ -5634,6 +5693,31 @@ var openapi_default = {
5634
5693
  "warning_code"
5635
5694
  ],
5636
5695
  type: "object"
5696
+ },
5697
+ {
5698
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
5699
+ properties: {
5700
+ created_at: {
5701
+ description: "Date and time at which Seam created the warning.",
5702
+ format: "date-time",
5703
+ type: "string"
5704
+ },
5705
+ message: {
5706
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5707
+ type: "string"
5708
+ },
5709
+ warning_code: {
5710
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5711
+ enum: ["needs_to_be_reissued"],
5712
+ type: "string"
5713
+ }
5714
+ },
5715
+ required: [
5716
+ "created_at",
5717
+ "message",
5718
+ "warning_code"
5719
+ ],
5720
+ type: "object"
5637
5721
  }
5638
5722
  ]
5639
5723
  },
@@ -6054,6 +6138,31 @@ var openapi_default = {
6054
6138
  "warning_code"
6055
6139
  ],
6056
6140
  type: "object"
6141
+ },
6142
+ {
6143
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
6144
+ properties: {
6145
+ created_at: {
6146
+ description: "Date and time at which Seam created the warning.",
6147
+ format: "date-time",
6148
+ type: "string"
6149
+ },
6150
+ message: {
6151
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
6152
+ type: "string"
6153
+ },
6154
+ warning_code: {
6155
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
6156
+ enum: ["needs_to_be_reissued"],
6157
+ type: "string"
6158
+ }
6159
+ },
6160
+ required: [
6161
+ "created_at",
6162
+ "message",
6163
+ "warning_code"
6164
+ ],
6165
+ type: "object"
6057
6166
  }
6058
6167
  ]
6059
6168
  },
@@ -6343,6 +6452,31 @@ var openapi_default = {
6343
6452
  "warning_code"
6344
6453
  ],
6345
6454
  type: "object"
6455
+ },
6456
+ {
6457
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
6458
+ properties: {
6459
+ created_at: {
6460
+ description: "Date and time at which Seam created the warning.",
6461
+ format: "date-time",
6462
+ type: "string"
6463
+ },
6464
+ message: {
6465
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
6466
+ type: "string"
6467
+ },
6468
+ warning_code: {
6469
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
6470
+ enum: ["needs_to_be_reissued"],
6471
+ type: "string"
6472
+ }
6473
+ },
6474
+ required: [
6475
+ "created_at",
6476
+ "message",
6477
+ "warning_code"
6478
+ ],
6479
+ type: "object"
6346
6480
  }
6347
6481
  ]
6348
6482
  },
@@ -10368,6 +10502,53 @@ var openapi_default = {
10368
10502
  type: "object",
10369
10503
  "x-route-path": "/acs/credentials"
10370
10504
  },
10505
+ {
10506
+ description: "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued.",
10507
+ properties: {
10508
+ acs_credential_id: { format: "uuid", type: "string" },
10509
+ acs_system_id: {
10510
+ description: "ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).",
10511
+ format: "uuid",
10512
+ type: "string"
10513
+ },
10514
+ connected_account_id: {
10515
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
10516
+ format: "uuid",
10517
+ type: "string"
10518
+ },
10519
+ created_at: {
10520
+ description: "Date and time at which the event was created.",
10521
+ format: "date-time",
10522
+ type: "string"
10523
+ },
10524
+ event_id: {
10525
+ description: "ID of the event.",
10526
+ format: "uuid",
10527
+ type: "string"
10528
+ },
10529
+ event_type: { enum: ["acs_credential.reissued"], type: "string" },
10530
+ occurred_at: {
10531
+ description: "Date and time at which the event occurred.",
10532
+ format: "date-time",
10533
+ type: "string"
10534
+ },
10535
+ workspace_id: {
10536
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).",
10537
+ format: "uuid",
10538
+ type: "string"
10539
+ }
10540
+ },
10541
+ required: [
10542
+ "event_id",
10543
+ "workspace_id",
10544
+ "created_at",
10545
+ "occurred_at",
10546
+ "acs_system_id",
10547
+ "acs_credential_id",
10548
+ "event_type"
10549
+ ],
10550
+ type: "object"
10551
+ },
10371
10552
  {
10372
10553
  description: "An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.",
10373
10554
  properties: {
@@ -17577,6 +17758,31 @@ var openapi_default = {
17577
17758
  "warning_code"
17578
17759
  ],
17579
17760
  type: "object"
17761
+ },
17762
+ {
17763
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
17764
+ properties: {
17765
+ created_at: {
17766
+ description: "Date and time at which Seam created the warning.",
17767
+ format: "date-time",
17768
+ type: "string"
17769
+ },
17770
+ message: {
17771
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
17772
+ type: "string"
17773
+ },
17774
+ warning_code: {
17775
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
17776
+ enum: ["needs_to_be_reissued"],
17777
+ type: "string"
17778
+ }
17779
+ },
17780
+ required: [
17781
+ "created_at",
17782
+ "message",
17783
+ "warning_code"
17784
+ ],
17785
+ type: "object"
17580
17786
  }
17581
17787
  ]
17582
17788
  },
@@ -17965,6 +18171,31 @@ var openapi_default = {
17965
18171
  "warning_code"
17966
18172
  ],
17967
18173
  type: "object"
18174
+ },
18175
+ {
18176
+ description: "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential.",
18177
+ properties: {
18178
+ created_at: {
18179
+ description: "Date and time at which Seam created the warning.",
18180
+ format: "date-time",
18181
+ type: "string"
18182
+ },
18183
+ message: {
18184
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
18185
+ type: "string"
18186
+ },
18187
+ warning_code: {
18188
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
18189
+ enum: ["needs_to_be_reissued"],
18190
+ type: "string"
18191
+ }
18192
+ },
18193
+ required: [
18194
+ "created_at",
18195
+ "message",
18196
+ "warning_code"
18197
+ ],
18198
+ type: "object"
17968
18199
  }
17969
18200
  ]
17970
18201
  },
@@ -23009,6 +23240,7 @@ var openapi_default = {
23009
23240
  "acs_user.deleted",
23010
23241
  "acs_credential.deleted",
23011
23242
  "acs_credential.issued",
23243
+ "acs_credential.reissued",
23012
23244
  "acs_encoder.added",
23013
23245
  "acs_encoder.removed",
23014
23246
  "enrollment_automation.deleted",
@@ -23088,6 +23320,7 @@ var openapi_default = {
23088
23320
  "acs_user.deleted",
23089
23321
  "acs_credential.deleted",
23090
23322
  "acs_credential.issued",
23323
+ "acs_credential.reissued",
23091
23324
  "acs_encoder.added",
23092
23325
  "acs_encoder.removed",
23093
23326
  "enrollment_automation.deleted",