@seamapi/types 1.302.2 → 1.303.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
@@ -1289,6 +1289,9 @@ var common_acs_credential = zod.z.object({
1289
1289
  parent_acs_credential_id: zod.z.string().uuid().optional().describe("ID of the parent credential."),
1290
1290
  display_name: zod.z.string().min(1).describe("Display name that corresponds to the credential type."),
1291
1291
  code: zod.z.string().optional().nullable().describe("Access (PIN) code for the credential."),
1292
+ is_one_time_use: zod.z.boolean().optional().describe(
1293
+ 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.'
1294
+ ),
1292
1295
  card_number: zod.z.string().optional().nullable(),
1293
1296
  is_issued: zod.z.boolean().optional(),
1294
1297
  issued_at: zod.z.string().datetime().optional().nullable(),
@@ -3164,6 +3167,10 @@ var openapi_default = {
3164
3167
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
3165
3168
  type: "boolean"
3166
3169
  },
3170
+ is_one_time_use: {
3171
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
3172
+ type: "boolean"
3173
+ },
3167
3174
  issued_at: { format: "date-time", nullable: true, type: "string" },
3168
3175
  latest_desired_state_synced_with_provider_at: {
3169
3176
  description: "Date and time at which the state of the credential was most recently synced from Seam to the provider.",
@@ -4418,6 +4425,10 @@ var openapi_default = {
4418
4425
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
4419
4426
  type: "boolean"
4420
4427
  },
4428
+ is_one_time_use: {
4429
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
4430
+ type: "boolean"
4431
+ },
4421
4432
  issued_at: {
4422
4433
  format: "date-time",
4423
4434
  nullable: true,
@@ -4676,6 +4687,10 @@ var openapi_default = {
4676
4687
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
4677
4688
  type: "boolean"
4678
4689
  },
4690
+ is_one_time_use: {
4691
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
4692
+ type: "boolean"
4693
+ },
4679
4694
  issued_at: {
4680
4695
  format: "date-time",
4681
4696
  nullable: true,
@@ -5059,6 +5074,10 @@ var openapi_default = {
5059
5074
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
5060
5075
  type: "boolean"
5061
5076
  },
5077
+ is_one_time_use: {
5078
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
5079
+ type: "boolean"
5080
+ },
5062
5081
  issued_at: {
5063
5082
  format: "date-time",
5064
5083
  nullable: true,
@@ -5317,6 +5336,10 @@ var openapi_default = {
5317
5336
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
5318
5337
  type: "boolean"
5319
5338
  },
5339
+ is_one_time_use: {
5340
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
5341
+ type: "boolean"
5342
+ },
5320
5343
  issued_at: {
5321
5344
  format: "date-time",
5322
5345
  nullable: true,
@@ -11446,7 +11469,7 @@ var openapi_default = {
11446
11469
  type: "string"
11447
11470
  }
11448
11471
  },
11449
- required: ["acs_user_id"],
11472
+ required: ["acs_user_id", "allowed_acs_entrance_id"],
11450
11473
  type: "object"
11451
11474
  }
11452
11475
  }
@@ -12003,6 +12026,10 @@ var openapi_default = {
12003
12026
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
12004
12027
  type: "boolean"
12005
12028
  },
12029
+ is_one_time_use: {
12030
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
12031
+ type: "boolean"
12032
+ },
12006
12033
  issued_at: {
12007
12034
  format: "date-time",
12008
12035
  nullable: true,
@@ -12358,6 +12385,10 @@ var openapi_default = {
12358
12385
  description: "Indicates whether the credential is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).",
12359
12386
  type: "boolean"
12360
12387
  },
12388
+ is_one_time_use: {
12389
+ description: 'Indicates whether the credential can only be used once. If "true," the code becomes invalid after the first use.',
12390
+ type: "boolean"
12391
+ },
12361
12392
  issued_at: {
12362
12393
  format: "date-time",
12363
12394
  nullable: true,