@seamapi/types 1.726.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/connect.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",
@@ -36048,7 +36089,8 @@ var openapi_default = {
36048
36089
  "connected_accounts",
36049
36090
  "acs_systems",
36050
36091
  "user_identities",
36051
- "acs_access_groups"
36092
+ "acs_access_groups",
36093
+ "access_methods"
36052
36094
  ],
36053
36095
  type: "string"
36054
36096
  },
@@ -36067,7 +36109,8 @@ var openapi_default = {
36067
36109
  "connected_accounts",
36068
36110
  "acs_systems",
36069
36111
  "user_identities",
36070
- "acs_access_groups"
36112
+ "acs_access_groups",
36113
+ "access_methods"
36071
36114
  ],
36072
36115
  type: "string"
36073
36116
  },
@@ -36084,6 +36127,10 @@ var openapi_default = {
36084
36127
  batch: {
36085
36128
  description: "A batch of workspace resources.",
36086
36129
  properties: {
36130
+ access_methods: {
36131
+ items: { $ref: "#/components/schemas/access_method" },
36132
+ type: "array"
36133
+ },
36087
36134
  acs_access_groups: {
36088
36135
  items: {
36089
36136
  $ref: "#/components/schemas/acs_access_group"
@@ -36146,7 +36193,8 @@ var openapi_default = {
36146
36193
  "connected_accounts",
36147
36194
  "acs_systems",
36148
36195
  "user_identities",
36149
- "acs_access_groups"
36196
+ "acs_access_groups",
36197
+ "access_methods"
36150
36198
  ],
36151
36199
  "x-draft": "Early access.",
36152
36200
  "x-fern-sdk-group-name": ["access_grants"],
@@ -36182,7 +36230,8 @@ var openapi_default = {
36182
36230
  "connected_accounts",
36183
36231
  "acs_systems",
36184
36232
  "user_identities",
36185
- "acs_access_groups"
36233
+ "acs_access_groups",
36234
+ "access_methods"
36186
36235
  ],
36187
36236
  type: "string"
36188
36237
  },
@@ -36197,7 +36246,8 @@ var openapi_default = {
36197
36246
  "connected_accounts",
36198
36247
  "acs_systems",
36199
36248
  "user_identities",
36200
- "acs_access_groups"
36249
+ "acs_access_groups",
36250
+ "access_methods"
36201
36251
  ],
36202
36252
  type: "string"
36203
36253
  },
@@ -36218,6 +36268,10 @@ var openapi_default = {
36218
36268
  batch: {
36219
36269
  description: "A batch of workspace resources.",
36220
36270
  properties: {
36271
+ access_methods: {
36272
+ items: { $ref: "#/components/schemas/access_method" },
36273
+ type: "array"
36274
+ },
36221
36275
  acs_access_groups: {
36222
36276
  items: {
36223
36277
  $ref: "#/components/schemas/acs_access_group"
@@ -36280,7 +36334,8 @@ var openapi_default = {
36280
36334
  "connected_accounts",
36281
36335
  "acs_systems",
36282
36336
  "user_identities",
36283
- "acs_access_groups"
36337
+ "acs_access_groups",
36338
+ "access_methods"
36284
36339
  ],
36285
36340
  "x-draft": "Early access.",
36286
36341
  "x-fern-sdk-group-name": ["access_grants"],