@seamapi/types 1.370.0 → 1.370.2

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
@@ -2357,6 +2357,9 @@ var schedule = start_end_schedule;
2357
2357
  var common_pending_modification = zod.z.object({
2358
2358
  created_at: zod.z.string().datetime()
2359
2359
  });
2360
+ var lifecycle_create = common_pending_modification.extend({
2361
+ modification_code: zod.z.literal("create")
2362
+ });
2360
2363
  var acs_user_profile = zod.z.object({
2361
2364
  email_address: zod.z.string().email().nullable(),
2362
2365
  full_name: zod.z.string().nullable(),
@@ -2391,6 +2394,7 @@ var acs_access_group_membership_pending_modification = common_pending_modificati
2391
2394
  var acs_user_pending_modification = zod.z.discriminatedUnion(
2392
2395
  "modification_code",
2393
2396
  [
2397
+ lifecycle_create,
2394
2398
  profile_pending_modification,
2395
2399
  access_schedule_pending_modification,
2396
2400
  suspension_state_pending_modification,
@@ -2398,6 +2402,7 @@ var acs_user_pending_modification = zod.z.discriminatedUnion(
2398
2402
  ]
2399
2403
  );
2400
2404
  zod.z.object({
2405
+ lifecycle_create: lifecycle_create.optional().nullable(),
2401
2406
  "profile.full_name": common_pending_modification.extend({
2402
2407
  modification_code: zod.z.literal("profile"),
2403
2408
  modified_from: zod.z.object({
@@ -6354,6 +6359,14 @@ var openapi_default = {
6354
6359
  items: {
6355
6360
  discriminator: { propertyName: "modification_code" },
6356
6361
  oneOf: [
6362
+ {
6363
+ properties: {
6364
+ created_at: { format: "date-time", type: "string" },
6365
+ modification_code: { enum: ["create"], type: "string" }
6366
+ },
6367
+ required: ["created_at", "modification_code"],
6368
+ type: "object"
6369
+ },
6357
6370
  {
6358
6371
  properties: {
6359
6372
  created_at: { format: "date-time", type: "string" },
@@ -17907,6 +17920,14 @@ var openapi_default = {
17907
17920
  items: {
17908
17921
  discriminator: { propertyName: "modification_code" },
17909
17922
  oneOf: [
17923
+ {
17924
+ properties: {
17925
+ created_at: { format: "date-time", type: "string" },
17926
+ modification_code: { enum: ["create"], type: "string" }
17927
+ },
17928
+ required: ["created_at", "modification_code"],
17929
+ type: "object"
17930
+ },
17910
17931
  {
17911
17932
  properties: {
17912
17933
  created_at: { format: "date-time", type: "string" },
@@ -22841,7 +22862,7 @@ var openapi_default = {
22841
22862
  },
22842
22863
  "/acs/systems/list": {
22843
22864
  post: {
22844
- description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the\n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the\nresponse includes all access control systems connected to your workspace.",
22865
+ description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the `connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the response includes all access control systems connected to your workspace.",
22845
22866
  operationId: "acsSystemsListPost",
22846
22867
  requestBody: {
22847
22868
  content: {