@seamapi/types 1.510.0 → 1.512.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;
@@ -83992,7 +84023,6 @@ declare const _default: {
83992
84023
  parameters: {
83993
84024
  in: string;
83994
84025
  name: string;
83995
- required: boolean;
83996
84026
  schema: {
83997
84027
  description: string;
83998
84028
  format: string;
@@ -84060,8 +84090,12 @@ declare const _default: {
84060
84090
  format: string;
84061
84091
  type: string;
84062
84092
  };
84093
+ instant_key_url: {
84094
+ description: string;
84095
+ format: string;
84096
+ type: string;
84097
+ };
84063
84098
  };
84064
- required: string[];
84065
84099
  type: string;
84066
84100
  };
84067
84101
  };
@@ -110354,6 +110388,8 @@ type Routes = {
110354
110388
  starts_at?: string | undefined;
110355
110389
  /** 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
110390
  ends_at?: (string | undefined) | null;
110391
+ /** ID of the customization profile to apply to the Access Grant and its access methods. */
110392
+ customization_profile_id?: string | undefined;
110357
110393
  };
110358
110394
  formData: {};
110359
110395
  jsonResponse: {
@@ -110399,6 +110435,8 @@ type Routes = {
110399
110435
  starts_at: string;
110400
110436
  /** Date and time at which the Access Grant ends. */
110401
110437
  ends_at: string | null;
110438
+ /** ID of the customization profile associated with the Access Grant. */
110439
+ customization_profile_id?: string | undefined;
110402
110440
  };
110403
110441
  };
110404
110442
  };
@@ -110470,6 +110508,8 @@ type Routes = {
110470
110508
  starts_at: string;
110471
110509
  /** Date and time at which the Access Grant ends. */
110472
110510
  ends_at: string | null;
110511
+ /** ID of the customization profile associated with the Access Grant. */
110512
+ customization_profile_id?: string | undefined;
110473
110513
  };
110474
110514
  };
110475
110515
  };
@@ -112179,6 +112219,8 @@ type Routes = {
112179
112219
  starts_at: string;
112180
112220
  /** Date and time at which the Access Grant ends. */
112181
112221
  ends_at: string | null;
112222
+ /** ID of the customization profile associated with the Access Grant. */
112223
+ customization_profile_id?: string | undefined;
112182
112224
  }[];
112183
112225
  };
112184
112226
  };
@@ -113507,6 +113549,8 @@ type Routes = {
113507
113549
  is_encoding_required?: boolean | undefined;
113508
113550
  /** The actual PIN code for code access methods. */
113509
113551
  code?: string | undefined;
113552
+ /** ID of the customization profile associated with the access method. */
113553
+ customization_profile_id?: string | undefined;
113510
113554
  };
113511
113555
  };
113512
113556
  };
@@ -117507,6 +117551,8 @@ type Routes = {
117507
117551
  is_encoding_required?: boolean | undefined;
117508
117552
  /** The actual PIN code for code access methods. */
117509
117553
  code?: string | undefined;
117554
+ /** ID of the customization profile associated with the access method. */
117555
+ customization_profile_id?: string | undefined;
117510
117556
  }[] | undefined;
117511
117557
  access_grants?: {
117512
117558
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -117549,6 +117595,8 @@ type Routes = {
117549
117595
  starts_at: string;
117550
117596
  /** Date and time at which the Access Grant ends. */
117551
117597
  ends_at: string | null;
117598
+ /** ID of the customization profile associated with the Access Grant. */
117599
+ customization_profile_id?: string | undefined;
117552
117600
  }[] | undefined;
117553
117601
  events?: ({
117554
117602
  /** ID of the event. */
@@ -120519,6 +120567,8 @@ type Routes = {
120519
120567
  is_encoding_required?: boolean | undefined;
120520
120568
  /** The actual PIN code for code access methods. */
120521
120569
  code?: string | undefined;
120570
+ /** ID of the customization profile associated with the access method. */
120571
+ customization_profile_id?: string | undefined;
120522
120572
  }[];
120523
120573
  };
120524
120574
  };
@@ -138996,7 +139046,9 @@ type Routes = {
138996
139046
  jsonBody: {};
138997
139047
  commonParams: {
138998
139048
  /** ID of the instant key to get. */
138999
- instant_key_id: string;
139049
+ instant_key_id?: string | undefined;
139050
+ /** URL of the instant key to get. */
139051
+ instant_key_url?: string | undefined;
139000
139052
  };
139001
139053
  formData: {};
139002
139054
  jsonResponse: {
@@ -183014,6 +183066,8 @@ type Routes = {
183014
183066
  is_encoding_required?: boolean | undefined;
183015
183067
  /** The actual PIN code for code access methods. */
183016
183068
  code?: string | undefined;
183069
+ /** ID of the customization profile associated with the access method. */
183070
+ customization_profile_id?: string | undefined;
183017
183071
  }[] | undefined;
183018
183072
  access_grants?: {
183019
183073
  /** ID of the Seam workspace associated with the Access Grant. */
@@ -183056,6 +183110,8 @@ type Routes = {
183056
183110
  starts_at: string;
183057
183111
  /** Date and time at which the Access Grant ends. */
183058
183112
  ends_at: string | null;
183113
+ /** ID of the customization profile associated with the Access Grant. */
183114
+ customization_profile_id?: string | undefined;
183059
183115
  }[] | undefined;
183060
183116
  events?: ({
183061
183117
  /** 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.",
@@ -45413,12 +45434,20 @@ var openapi_default = {
45413
45434
  {
45414
45435
  in: "query",
45415
45436
  name: "instant_key_id",
45416
- required: true,
45417
45437
  schema: {
45418
45438
  description: "ID of the instant key to get.",
45419
45439
  format: "uuid",
45420
45440
  type: "string"
45421
45441
  }
45442
+ },
45443
+ {
45444
+ in: "query",
45445
+ name: "instant_key_url",
45446
+ schema: {
45447
+ description: "URL of the instant key to get.",
45448
+ format: "uri",
45449
+ type: "string"
45450
+ }
45422
45451
  }
45423
45452
  ],
45424
45453
  responses: {
@@ -45465,9 +45494,13 @@ var openapi_default = {
45465
45494
  description: "ID of the instant key to get.",
45466
45495
  format: "uuid",
45467
45496
  type: "string"
45497
+ },
45498
+ instant_key_url: {
45499
+ description: "URL of the instant key to get.",
45500
+ format: "uri",
45501
+ type: "string"
45468
45502
  }
45469
45503
  },
45470
- required: ["instant_key_id"],
45471
45504
  type: "object"
45472
45505
  }
45473
45506
  }