@seamapi/types 1.727.0 → 1.728.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/index.cjs CHANGED
@@ -2812,6 +2812,19 @@ access_method.omit({
2812
2812
  ---
2813
2813
  Represents an unmanaged access method. Unmanaged access methods do not have client sessions, instant keys, customization profiles, or keys.
2814
2814
  `);
2815
+ var start_end_schedule = zod.z.object({
2816
+ starts_at: zod.z.string().datetime().describe(
2817
+ "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
2818
+ ),
2819
+ ends_at: zod.z.string().datetime().describe(
2820
+ "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
2821
+ ).nullable()
2822
+ }).describe(
2823
+ "Schedule with starting and ending dates and times, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
2824
+ );
2825
+ var schedule = start_end_schedule;
2826
+
2827
+ // src/lib/seam/connect/models/acs/acs-access-group.ts
2815
2828
  var acs_access_group_external_type = zod.z.enum([
2816
2829
  "pti_unit",
2817
2830
  "pti_access_level",
@@ -2873,7 +2886,10 @@ var common_acs_access_group = zod.z.object({
2873
2886
  "Display name that corresponds to the brand-specific terminology for the access group type."
2874
2887
  ),
2875
2888
  created_at: zod.z.string().datetime().describe("Date and time at which the access group was created."),
2876
- warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`.")
2889
+ warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`."),
2890
+ access_schedule: schedule.optional().describe(
2891
+ "`starts_at` and `ends_at` timestamps for the access group's access."
2892
+ )
2877
2893
  });
2878
2894
  var acs_access_group = common_acs_access_group.extend({
2879
2895
  is_managed: zod.z.literal(true)
@@ -3582,17 +3598,6 @@ var phone_number = zod.z.coerce.string().trim().refine(
3582
3598
  message: "Phone number must be in E.164 format: +14155552671"
3583
3599
  }
3584
3600
  );
3585
- var start_end_schedule = zod.z.object({
3586
- starts_at: zod.z.string().datetime().describe(
3587
- "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
3588
- ),
3589
- ends_at: zod.z.string().datetime().describe(
3590
- "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
3591
- ).nullable()
3592
- }).describe(
3593
- "Schedule with starting and ending dates and times, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
3594
- );
3595
- var schedule = start_end_schedule;
3596
3601
  var common_pending_mutation3 = zod.z.object({
3597
3602
  created_at: zod.z.string().datetime().describe("Date and time at which the mutation was created."),
3598
3603
  message: zod.z.string().describe("Detailed description of the mutation.")
@@ -8727,6 +8732,24 @@ var openapi_default = {
8727
8732
  type: "string",
8728
8733
  "x-deprecated": "Use `external_type_display_name`."
8729
8734
  },
8735
+ access_schedule: {
8736
+ description: "`starts_at` and `ends_at` timestamps for the access group's access.",
8737
+ properties: {
8738
+ ends_at: {
8739
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
8740
+ format: "date-time",
8741
+ nullable: true,
8742
+ type: "string"
8743
+ },
8744
+ starts_at: {
8745
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
8746
+ format: "date-time",
8747
+ type: "string"
8748
+ }
8749
+ },
8750
+ required: ["starts_at", "ends_at"],
8751
+ type: "object"
8752
+ },
8730
8753
  acs_access_group_id: {
8731
8754
  description: "ID of the access group.",
8732
8755
  format: "uuid",
@@ -30024,6 +30047,24 @@ var openapi_default = {
30024
30047
  type: "string",
30025
30048
  "x-deprecated": "Use `external_type_display_name`."
30026
30049
  },
30050
+ access_schedule: {
30051
+ description: "`starts_at` and `ends_at` timestamps for the access group's access.",
30052
+ properties: {
30053
+ ends_at: {
30054
+ description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
30055
+ format: "date-time",
30056
+ nullable: true,
30057
+ type: "string"
30058
+ },
30059
+ starts_at: {
30060
+ description: "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
30061
+ format: "date-time",
30062
+ type: "string"
30063
+ }
30064
+ },
30065
+ required: ["starts_at", "ends_at"],
30066
+ type: "object"
30067
+ },
30027
30068
  acs_access_group_id: {
30028
30069
  description: "ID of the access group.",
30029
30070
  format: "uuid",