@seamapi/types 1.510.0 → 1.511.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.
@@ -3637,6 +3637,7 @@ declare const access_grant: z.ZodObject<{
3637
3637
  created_at: z.ZodString;
3638
3638
  starts_at: z.ZodString;
3639
3639
  ends_at: z.ZodNullable<z.ZodString>;
3640
+ customization_profile_id: z.ZodOptional<z.ZodString>;
3640
3641
  }, "strip", z.ZodTypeAny, {
3641
3642
  name: string | null;
3642
3643
  display_name: string;
@@ -3658,6 +3659,7 @@ declare const access_grant: z.ZodObject<{
3658
3659
  access_grant_key?: string | undefined;
3659
3660
  client_session_token?: string | undefined;
3660
3661
  instant_key_url?: string | undefined;
3662
+ customization_profile_id?: string | undefined;
3661
3663
  }, {
3662
3664
  name: string | null;
3663
3665
  display_name: string;
@@ -3679,6 +3681,7 @@ declare const access_grant: z.ZodObject<{
3679
3681
  access_grant_key?: string | undefined;
3680
3682
  client_session_token?: string | undefined;
3681
3683
  instant_key_url?: string | undefined;
3684
+ customization_profile_id?: string | undefined;
3682
3685
  }>;
3683
3686
  type AccessGrant = z.infer<typeof access_grant>;
3684
3687
 
@@ -3694,6 +3697,7 @@ declare const access_method: z.ZodObject<{
3694
3697
  client_session_token: z.ZodOptional<z.ZodString>;
3695
3698
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
3696
3699
  code: z.ZodOptional<z.ZodString>;
3700
+ customization_profile_id: z.ZodOptional<z.ZodString>;
3697
3701
  }, "strip", z.ZodTypeAny, {
3698
3702
  display_name: string;
3699
3703
  workspace_id: string;
@@ -3705,6 +3709,7 @@ declare const access_method: z.ZodObject<{
3705
3709
  code?: string | undefined;
3706
3710
  client_session_token?: string | undefined;
3707
3711
  instant_key_url?: string | undefined;
3712
+ customization_profile_id?: string | undefined;
3708
3713
  is_encoding_required?: boolean | undefined;
3709
3714
  }, {
3710
3715
  display_name: string;
@@ -3717,6 +3722,7 @@ declare const access_method: z.ZodObject<{
3717
3722
  code?: string | undefined;
3718
3723
  client_session_token?: string | undefined;
3719
3724
  instant_key_url?: string | undefined;
3725
+ customization_profile_id?: string | undefined;
3720
3726
  is_encoding_required?: boolean | undefined;
3721
3727
  }>;
3722
3728
  type AccessMethod = z.infer<typeof access_method>;
@@ -24257,6 +24263,7 @@ declare const batch: z.ZodObject<{
24257
24263
  client_session_token: z.ZodOptional<z.ZodString>;
24258
24264
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
24259
24265
  code: z.ZodOptional<z.ZodString>;
24266
+ customization_profile_id: z.ZodOptional<z.ZodString>;
24260
24267
  }, "strip", z.ZodTypeAny, {
24261
24268
  display_name: string;
24262
24269
  workspace_id: string;
@@ -24268,6 +24275,7 @@ declare const batch: z.ZodObject<{
24268
24275
  code?: string | undefined;
24269
24276
  client_session_token?: string | undefined;
24270
24277
  instant_key_url?: string | undefined;
24278
+ customization_profile_id?: string | undefined;
24271
24279
  is_encoding_required?: boolean | undefined;
24272
24280
  }, {
24273
24281
  display_name: string;
@@ -24280,6 +24288,7 @@ declare const batch: z.ZodObject<{
24280
24288
  code?: string | undefined;
24281
24289
  client_session_token?: string | undefined;
24282
24290
  instant_key_url?: string | undefined;
24291
+ customization_profile_id?: string | undefined;
24283
24292
  is_encoding_required?: boolean | undefined;
24284
24293
  }>, "many">>;
24285
24294
  access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -24313,6 +24322,7 @@ declare const batch: z.ZodObject<{
24313
24322
  created_at: z.ZodString;
24314
24323
  starts_at: z.ZodString;
24315
24324
  ends_at: z.ZodNullable<z.ZodString>;
24325
+ customization_profile_id: z.ZodOptional<z.ZodString>;
24316
24326
  }, "strip", z.ZodTypeAny, {
24317
24327
  name: string | null;
24318
24328
  display_name: string;
@@ -24334,6 +24344,7 @@ declare const batch: z.ZodObject<{
24334
24344
  access_grant_key?: string | undefined;
24335
24345
  client_session_token?: string | undefined;
24336
24346
  instant_key_url?: string | undefined;
24347
+ customization_profile_id?: string | undefined;
24337
24348
  }, {
24338
24349
  name: string | null;
24339
24350
  display_name: string;
@@ -24355,6 +24366,7 @@ declare const batch: z.ZodObject<{
24355
24366
  access_grant_key?: string | undefined;
24356
24367
  client_session_token?: string | undefined;
24357
24368
  instant_key_url?: string | undefined;
24369
+ customization_profile_id?: string | undefined;
24358
24370
  }>, "many">>;
24359
24371
  events: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
24360
24372
  event_id: z.ZodString;
@@ -31299,6 +31311,7 @@ declare const batch: z.ZodObject<{
31299
31311
  access_grant_key?: string | undefined;
31300
31312
  client_session_token?: string | undefined;
31301
31313
  instant_key_url?: string | undefined;
31314
+ customization_profile_id?: string | undefined;
31302
31315
  }[] | undefined;
31303
31316
  user_identities?: {
31304
31317
  display_name: string;
@@ -31357,6 +31370,7 @@ declare const batch: z.ZodObject<{
31357
31370
  code?: string | undefined;
31358
31371
  client_session_token?: string | undefined;
31359
31372
  instant_key_url?: string | undefined;
31373
+ customization_profile_id?: string | undefined;
31360
31374
  is_encoding_required?: boolean | undefined;
31361
31375
  }[] | undefined;
31362
31376
  workspaces?: {
@@ -35134,6 +35148,7 @@ declare const batch: z.ZodObject<{
35134
35148
  access_grant_key?: string | undefined;
35135
35149
  client_session_token?: string | undefined;
35136
35150
  instant_key_url?: string | undefined;
35151
+ customization_profile_id?: string | undefined;
35137
35152
  }[] | undefined;
35138
35153
  user_identities?: {
35139
35154
  display_name: string;
@@ -35192,6 +35207,7 @@ declare const batch: z.ZodObject<{
35192
35207
  code?: string | undefined;
35193
35208
  client_session_token?: string | undefined;
35194
35209
  instant_key_url?: string | undefined;
35210
+ customization_profile_id?: string | undefined;
35195
35211
  is_encoding_required?: boolean | undefined;
35196
35212
  }[] | undefined;
35197
35213
  workspaces?: {
@@ -50880,6 +50896,11 @@ declare const _default: {
50880
50896
  format: string;
50881
50897
  type: string;
50882
50898
  };
50899
+ customization_profile_id: {
50900
+ description: string;
50901
+ format: string;
50902
+ type: string;
50903
+ };
50883
50904
  display_name: {
50884
50905
  description: string;
50885
50906
  type: string;
@@ -50991,6 +51012,11 @@ declare const _default: {
50991
51012
  format: string;
50992
51013
  type: string;
50993
51014
  };
51015
+ customization_profile_id: {
51016
+ description: string;
51017
+ format: string;
51018
+ type: string;
51019
+ };
50994
51020
  display_name: {
50995
51021
  description: string;
50996
51022
  type: string;
@@ -67121,6 +67147,11 @@ declare const _default: {
67121
67147
  };
67122
67148
  type: string;
67123
67149
  };
67150
+ customization_profile_id: {
67151
+ description: string;
67152
+ format: string;
67153
+ type: string;
67154
+ };
67124
67155
  device_ids: {
67125
67156
  default: never[];
67126
67157
  description: string;
@@ -110354,6 +110385,8 @@ type Routes = {
110354
110385
  starts_at?: string | undefined;
110355
110386
  /** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
110356
110387
  ends_at?: (string | undefined) | null;
110388
+ /** ID of the customization profile to apply to the Access Grant and its access methods. */
110389
+ customization_profile_id?: string | undefined;
110357
110390
  };
110358
110391
  formData: {};
110359
110392
  jsonResponse: {
@@ -110399,6 +110432,8 @@ type Routes = {
110399
110432
  starts_at: string;
110400
110433
  /** Date and time at which the Access Grant ends. */
110401
110434
  ends_at: string | null;
110435
+ /** ID of the customization profile associated with the Access Grant. */
110436
+ customization_profile_id?: string | undefined;
110402
110437
  };
110403
110438
  };
110404
110439
  };
@@ -110470,6 +110505,8 @@ type Routes = {
110470
110505
  starts_at: string;
110471
110506
  /** Date and time at which the Access Grant ends. */
110472
110507
  ends_at: string | null;
110508
+ /** ID of the customization profile associated with the Access Grant. */
110509
+ customization_profile_id?: string | undefined;
110473
110510
  };
110474
110511
  };
110475
110512
  };
@@ -112179,6 +112216,8 @@ type Routes = {
112179
112216
  starts_at: string;
112180
112217
  /** Date and time at which the Access Grant ends. */
112181
112218
  ends_at: string | null;
112219
+ /** ID of the customization profile associated with the Access Grant. */
112220
+ customization_profile_id?: string | undefined;
112182
112221
  }[];
112183
112222
  };
112184
112223
  };
@@ -113507,6 +113546,8 @@ type Routes = {
113507
113546
  is_encoding_required?: boolean | undefined;
113508
113547
  /** The actual PIN code for code access methods. */
113509
113548
  code?: string | undefined;
113549
+ /** ID of the customization profile associated with the access method. */
113550
+ customization_profile_id?: string | undefined;
113510
113551
  };
113511
113552
  };
113512
113553
  };
@@ -117507,6 +117548,8 @@ type Routes = {
117507
117548
  is_encoding_required?: boolean | undefined;
117508
117549
  /** The actual PIN code for code access methods. */
117509
117550
  code?: string | undefined;
117551
+ /** ID of the customization profile associated with the access method. */
117552
+ customization_profile_id?: string | undefined;
117510
117553
  }[] | undefined;
117511
117554
  access_grants?: {
117512
117555
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -117549,6 +117592,8 @@ type Routes = {
117549
117592
  starts_at: string;
117550
117593
  /** Date and time at which the Access Grant ends. */
117551
117594
  ends_at: string | null;
117595
+ /** ID of the customization profile associated with the Access Grant. */
117596
+ customization_profile_id?: string | undefined;
117552
117597
  }[] | undefined;
117553
117598
  events?: ({
117554
117599
  /** ID of the event. */
@@ -120519,6 +120564,8 @@ type Routes = {
120519
120564
  is_encoding_required?: boolean | undefined;
120520
120565
  /** The actual PIN code for code access methods. */
120521
120566
  code?: string | undefined;
120567
+ /** ID of the customization profile associated with the access method. */
120568
+ customization_profile_id?: string | undefined;
120522
120569
  }[];
120523
120570
  };
120524
120571
  };
@@ -183014,6 +183061,8 @@ type Routes = {
183014
183061
  is_encoding_required?: boolean | undefined;
183015
183062
  /** The actual PIN code for code access methods. */
183016
183063
  code?: string | undefined;
183064
+ /** ID of the customization profile associated with the access method. */
183065
+ customization_profile_id?: string | undefined;
183017
183066
  }[] | undefined;
183018
183067
  access_grants?: {
183019
183068
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -183056,6 +183105,8 @@ type Routes = {
183056
183105
  starts_at: string;
183057
183106
  /** Date and time at which the Access Grant ends. */
183058
183107
  ends_at: string | null;
183108
+ /** ID of the customization profile associated with the Access Grant. */
183109
+ customization_profile_id?: string | undefined;
183059
183110
  }[] | undefined;
183060
183111
  events?: ({
183061
183112
  /** ID of the event. */
package/dist/index.cjs CHANGED
@@ -2296,7 +2296,10 @@ var access_grant = zod.z.object({
2296
2296
  ),
2297
2297
  created_at: zod.z.string().datetime().describe("Date and time at which the Access Grant was created."),
2298
2298
  starts_at: zod.z.string().datetime().describe("Date and time at which the Access Grant starts."),
2299
- ends_at: zod.z.string().datetime().nullable().describe("Date and time at which the Access Grant ends.")
2299
+ ends_at: zod.z.string().datetime().nullable().describe("Date and time at which the Access Grant ends."),
2300
+ customization_profile_id: zod.z.string().uuid().optional().describe(
2301
+ "ID of the customization profile associated with the Access Grant."
2302
+ )
2300
2303
  }).describe(`
2301
2304
  ---
2302
2305
  draft: Early access.
@@ -2319,7 +2322,10 @@ var access_method = zod.z.object({
2319
2322
  is_encoding_required: zod.z.boolean().optional().describe(
2320
2323
  "Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
2321
2324
  ),
2322
- code: zod.z.string().optional().describe("The actual PIN code for code access methods.")
2325
+ code: zod.z.string().optional().describe("The actual PIN code for code access methods."),
2326
+ customization_profile_id: zod.z.string().uuid().optional().describe(
2327
+ "ID of the customization profile associated with the access method."
2328
+ )
2323
2329
  }).describe(`
2324
2330
  ---
2325
2331
  draft: Early access.
@@ -7135,6 +7141,11 @@ var openapi_default = {
7135
7141
  format: "date-time",
7136
7142
  type: "string"
7137
7143
  },
7144
+ customization_profile_id: {
7145
+ description: "ID of the customization profile associated with the Access Grant.",
7146
+ format: "uuid",
7147
+ type: "string"
7148
+ },
7138
7149
  display_name: {
7139
7150
  description: "Display name of the Access Grant.",
7140
7151
  type: "string"
@@ -7255,6 +7266,11 @@ var openapi_default = {
7255
7266
  format: "date-time",
7256
7267
  type: "string"
7257
7268
  },
7269
+ customization_profile_id: {
7270
+ description: "ID of the customization profile associated with the access method.",
7271
+ format: "uuid",
7272
+ type: "string"
7273
+ },
7258
7274
  display_name: {
7259
7275
  description: "Display name of the access method.",
7260
7276
  type: "string"
@@ -30582,6 +30598,11 @@ var openapi_default = {
30582
30598
  items: { format: "uuid", type: "string" },
30583
30599
  type: "array"
30584
30600
  },
30601
+ customization_profile_id: {
30602
+ description: "ID of the customization profile to apply to the Access Grant and its access methods.",
30603
+ format: "uuid",
30604
+ type: "string"
30605
+ },
30585
30606
  device_ids: {
30586
30607
  default: [],
30587
30608
  description: "Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to which access is being granted.",