@seamapi/types 1.742.0 → 1.744.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.
@@ -4504,6 +4504,19 @@ declare const acs_access_group: z.ZodObject<{
4504
4504
  mutation_code: "deferring_user_membership_update";
4505
4505
  acs_user_id: string;
4506
4506
  variant: "removing" | "adding";
4507
+ }>, z.ZodObject<{
4508
+ created_at: z.ZodString;
4509
+ message: z.ZodString;
4510
+ } & {
4511
+ mutation_code: z.ZodLiteral<"deferring_deletion">;
4512
+ }, "strip", z.ZodTypeAny, {
4513
+ message: string;
4514
+ created_at: string;
4515
+ mutation_code: "deferring_deletion";
4516
+ }, {
4517
+ message: string;
4518
+ created_at: string;
4519
+ mutation_code: "deferring_deletion";
4507
4520
  }>]>, "many">;
4508
4521
  } & {
4509
4522
  is_managed: z.ZodLiteral<true>;
@@ -4579,6 +4592,10 @@ declare const acs_access_group: z.ZodObject<{
4579
4592
  mutation_code: "deferring_user_membership_update";
4580
4593
  acs_user_id: string;
4581
4594
  variant: "removing" | "adding";
4595
+ } | {
4596
+ message: string;
4597
+ created_at: string;
4598
+ mutation_code: "deferring_deletion";
4582
4599
  })[];
4583
4600
  acs_access_group_id: string;
4584
4601
  acs_system_id: string;
@@ -4662,6 +4679,10 @@ declare const acs_access_group: z.ZodObject<{
4662
4679
  mutation_code: "deferring_user_membership_update";
4663
4680
  acs_user_id: string;
4664
4681
  variant: "removing" | "adding";
4682
+ } | {
4683
+ message: string;
4684
+ created_at: string;
4685
+ mutation_code: "deferring_deletion";
4665
4686
  })[];
4666
4687
  acs_access_group_id: string;
4667
4688
  acs_system_id: string;
@@ -4934,6 +4955,19 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4934
4955
  mutation_code: "deferring_user_membership_update";
4935
4956
  acs_user_id: string;
4936
4957
  variant: "removing" | "adding";
4958
+ }>, z.ZodObject<{
4959
+ created_at: z.ZodString;
4960
+ message: z.ZodString;
4961
+ } & {
4962
+ mutation_code: z.ZodLiteral<"deferring_deletion">;
4963
+ }, "strip", z.ZodTypeAny, {
4964
+ message: string;
4965
+ created_at: string;
4966
+ mutation_code: "deferring_deletion";
4967
+ }, {
4968
+ message: string;
4969
+ created_at: string;
4970
+ mutation_code: "deferring_deletion";
4937
4971
  }>]>, "many">;
4938
4972
  } & {
4939
4973
  is_managed: z.ZodLiteral<false>;
@@ -5009,6 +5043,10 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5009
5043
  mutation_code: "deferring_user_membership_update";
5010
5044
  acs_user_id: string;
5011
5045
  variant: "removing" | "adding";
5046
+ } | {
5047
+ message: string;
5048
+ created_at: string;
5049
+ mutation_code: "deferring_deletion";
5012
5050
  })[];
5013
5051
  acs_access_group_id: string;
5014
5052
  acs_system_id: string;
@@ -5092,6 +5130,10 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5092
5130
  mutation_code: "deferring_user_membership_update";
5093
5131
  acs_user_id: string;
5094
5132
  variant: "removing" | "adding";
5133
+ } | {
5134
+ message: string;
5135
+ created_at: string;
5136
+ mutation_code: "deferring_deletion";
5095
5137
  })[];
5096
5138
  acs_access_group_id: string;
5097
5139
  acs_system_id: string;
@@ -18310,6 +18352,19 @@ declare const batch: z.ZodObject<{
18310
18352
  mutation_code: "deferring_user_membership_update";
18311
18353
  acs_user_id: string;
18312
18354
  variant: "removing" | "adding";
18355
+ }>, z.ZodObject<{
18356
+ created_at: z.ZodString;
18357
+ message: z.ZodString;
18358
+ } & {
18359
+ mutation_code: z.ZodLiteral<"deferring_deletion">;
18360
+ }, "strip", z.ZodTypeAny, {
18361
+ message: string;
18362
+ created_at: string;
18363
+ mutation_code: "deferring_deletion";
18364
+ }, {
18365
+ message: string;
18366
+ created_at: string;
18367
+ mutation_code: "deferring_deletion";
18313
18368
  }>]>, "many">;
18314
18369
  } & {
18315
18370
  is_managed: z.ZodLiteral<true>;
@@ -18385,6 +18440,10 @@ declare const batch: z.ZodObject<{
18385
18440
  mutation_code: "deferring_user_membership_update";
18386
18441
  acs_user_id: string;
18387
18442
  variant: "removing" | "adding";
18443
+ } | {
18444
+ message: string;
18445
+ created_at: string;
18446
+ mutation_code: "deferring_deletion";
18388
18447
  })[];
18389
18448
  acs_access_group_id: string;
18390
18449
  acs_system_id: string;
@@ -18468,6 +18527,10 @@ declare const batch: z.ZodObject<{
18468
18527
  mutation_code: "deferring_user_membership_update";
18469
18528
  acs_user_id: string;
18470
18529
  variant: "removing" | "adding";
18530
+ } | {
18531
+ message: string;
18532
+ created_at: string;
18533
+ mutation_code: "deferring_deletion";
18471
18534
  })[];
18472
18535
  acs_access_group_id: string;
18473
18536
  acs_system_id: string;
@@ -23982,6 +24045,19 @@ declare const batch: z.ZodObject<{
23982
24045
  mutation_code: "deferring_user_membership_update";
23983
24046
  acs_user_id: string;
23984
24047
  variant: "removing" | "adding";
24048
+ }>, z.ZodObject<{
24049
+ created_at: z.ZodString;
24050
+ message: z.ZodString;
24051
+ } & {
24052
+ mutation_code: z.ZodLiteral<"deferring_deletion">;
24053
+ }, "strip", z.ZodTypeAny, {
24054
+ message: string;
24055
+ created_at: string;
24056
+ mutation_code: "deferring_deletion";
24057
+ }, {
24058
+ message: string;
24059
+ created_at: string;
24060
+ mutation_code: "deferring_deletion";
23985
24061
  }>]>, "many">;
23986
24062
  } & {
23987
24063
  is_managed: z.ZodLiteral<false>;
@@ -24057,6 +24133,10 @@ declare const batch: z.ZodObject<{
24057
24133
  mutation_code: "deferring_user_membership_update";
24058
24134
  acs_user_id: string;
24059
24135
  variant: "removing" | "adding";
24136
+ } | {
24137
+ message: string;
24138
+ created_at: string;
24139
+ mutation_code: "deferring_deletion";
24060
24140
  })[];
24061
24141
  acs_access_group_id: string;
24062
24142
  acs_system_id: string;
@@ -24140,6 +24220,10 @@ declare const batch: z.ZodObject<{
24140
24220
  mutation_code: "deferring_user_membership_update";
24141
24221
  acs_user_id: string;
24142
24222
  variant: "removing" | "adding";
24223
+ } | {
24224
+ message: string;
24225
+ created_at: string;
24226
+ mutation_code: "deferring_deletion";
24143
24227
  })[];
24144
24228
  acs_access_group_id: string;
24145
24229
  acs_system_id: string;
@@ -37903,6 +37987,10 @@ declare const batch: z.ZodObject<{
37903
37987
  mutation_code: "deferring_user_membership_update";
37904
37988
  acs_user_id: string;
37905
37989
  variant: "removing" | "adding";
37990
+ } | {
37991
+ message: string;
37992
+ created_at: string;
37993
+ mutation_code: "deferring_deletion";
37906
37994
  })[];
37907
37995
  acs_access_group_id: string;
37908
37996
  acs_system_id: string;
@@ -39028,6 +39116,10 @@ declare const batch: z.ZodObject<{
39028
39116
  mutation_code: "deferring_user_membership_update";
39029
39117
  acs_user_id: string;
39030
39118
  variant: "removing" | "adding";
39119
+ } | {
39120
+ message: string;
39121
+ created_at: string;
39122
+ mutation_code: "deferring_deletion";
39031
39123
  })[];
39032
39124
  acs_access_group_id: string;
39033
39125
  acs_system_id: string;
@@ -42688,6 +42780,10 @@ declare const batch: z.ZodObject<{
42688
42780
  mutation_code: "deferring_user_membership_update";
42689
42781
  acs_user_id: string;
42690
42782
  variant: "removing" | "adding";
42783
+ } | {
42784
+ message: string;
42785
+ created_at: string;
42786
+ mutation_code: "deferring_deletion";
42691
42787
  })[];
42692
42788
  acs_access_group_id: string;
42693
42789
  acs_system_id: string;
@@ -43813,6 +43909,10 @@ declare const batch: z.ZodObject<{
43813
43909
  mutation_code: "deferring_user_membership_update";
43814
43910
  acs_user_id: string;
43815
43911
  variant: "removing" | "adding";
43912
+ } | {
43913
+ message: string;
43914
+ created_at: string;
43915
+ mutation_code: "deferring_deletion";
43816
43916
  })[];
43817
43917
  acs_access_group_id: string;
43818
43918
  acs_system_id: string;
@@ -111007,6 +111107,9 @@ declare const _default: {
111007
111107
  error: {
111008
111108
  type: string;
111009
111109
  };
111110
+ message: {
111111
+ type: string;
111112
+ };
111010
111113
  rule: {
111011
111114
  enum: string[];
111012
111115
  type: string;
@@ -111184,6 +111287,9 @@ declare const _default: {
111184
111287
  error: {
111185
111288
  type: string;
111186
111289
  };
111290
+ message: {
111291
+ type: string;
111292
+ };
111187
111293
  rule: {
111188
111294
  enum: string[];
111189
111295
  type: string;
@@ -144242,6 +144348,13 @@ type Routes = {
144242
144348
  acs_user_id: string;
144243
144349
  /** Whether the user is scheduled to be added to or removed from this access group. */
144244
144350
  variant: 'adding' | 'removing';
144351
+ } | {
144352
+ /** Date and time at which the mutation was created. */
144353
+ created_at: string;
144354
+ /** Detailed description of the mutation. */
144355
+ message: string;
144356
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
144357
+ mutation_code: 'deferring_deletion';
144245
144358
  })[];
144246
144359
  is_managed: true;
144247
144360
  }[] | undefined;
@@ -148956,6 +149069,13 @@ type Routes = {
148956
149069
  acs_user_id: string;
148957
149070
  /** Whether the user is scheduled to be added to or removed from this access group. */
148958
149071
  variant: 'adding' | 'removing';
149072
+ } | {
149073
+ /** Date and time at which the mutation was created. */
149074
+ created_at: string;
149075
+ /** Detailed description of the mutation. */
149076
+ message: string;
149077
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
149078
+ mutation_code: 'deferring_deletion';
148959
149079
  })[];
148960
149080
  is_managed: true;
148961
149081
  };
@@ -149124,6 +149244,13 @@ type Routes = {
149124
149244
  acs_user_id: string;
149125
149245
  /** Whether the user is scheduled to be added to or removed from this access group. */
149126
149246
  variant: 'adding' | 'removing';
149247
+ } | {
149248
+ /** Date and time at which the mutation was created. */
149249
+ created_at: string;
149250
+ /** Detailed description of the mutation. */
149251
+ message: string;
149252
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
149253
+ mutation_code: 'deferring_deletion';
149127
149254
  })[];
149128
149255
  is_managed: true;
149129
149256
  }[];
@@ -149696,6 +149823,13 @@ type Routes = {
149696
149823
  acs_user_id: string;
149697
149824
  /** Whether the user is scheduled to be added to or removed from this access group. */
149698
149825
  variant: 'adding' | 'removing';
149826
+ } | {
149827
+ /** Date and time at which the mutation was created. */
149828
+ created_at: string;
149829
+ /** Detailed description of the mutation. */
149830
+ message: string;
149831
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
149832
+ mutation_code: 'deferring_deletion';
149699
149833
  })[];
149700
149834
  is_managed: false;
149701
149835
  };
@@ -149862,6 +149996,13 @@ type Routes = {
149862
149996
  acs_user_id: string;
149863
149997
  /** Whether the user is scheduled to be added to or removed from this access group. */
149864
149998
  variant: 'adding' | 'removing';
149999
+ } | {
150000
+ /** Date and time at which the mutation was created. */
150001
+ created_at: string;
150002
+ /** Detailed description of the mutation. */
150003
+ message: string;
150004
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
150005
+ mutation_code: 'deferring_deletion';
149865
150006
  })[];
149866
150007
  is_managed: false;
149867
150008
  }[];
@@ -190071,6 +190212,7 @@ type Routes = {
190071
190212
  access_grant_id: string;
190072
190213
  }[];
190073
190214
  error?: string | undefined;
190215
+ message?: string | undefined;
190074
190216
  } | undefined;
190075
190217
  created_at: string;
190076
190218
  }[];
@@ -219039,6 +219181,13 @@ type Routes = {
219039
219181
  acs_user_id: string;
219040
219182
  /** Whether the user is scheduled to be added to or removed from this access group. */
219041
219183
  variant: 'adding' | 'removing';
219184
+ } | {
219185
+ /** Date and time at which the mutation was created. */
219186
+ created_at: string;
219187
+ /** Detailed description of the mutation. */
219188
+ message: string;
219189
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
219190
+ mutation_code: 'deferring_deletion';
219042
219191
  })[];
219043
219192
  is_managed: true;
219044
219193
  }[] | undefined;
@@ -220728,6 +220877,13 @@ type Routes = {
220728
220877
  acs_user_id: string;
220729
220878
  /** Whether the user is scheduled to be added to or removed from this access group. */
220730
220879
  variant: 'adding' | 'removing';
220880
+ } | {
220881
+ /** Date and time at which the mutation was created. */
220882
+ created_at: string;
220883
+ /** Detailed description of the mutation. */
220884
+ message: string;
220885
+ /** Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes. */
220886
+ mutation_code: 'deferring_deletion';
220731
220887
  })[];
220732
220888
  is_managed: false;
220733
220889
  }[] | undefined;
package/dist/index.cjs CHANGED
@@ -2917,6 +2917,13 @@ var deferring_user_membership_update = common_pending_mutation3.extend({
2917
2917
  }).describe(
2918
2918
  "A scheduled user membership change is pending for this access group."
2919
2919
  );
2920
+ var deferring_deletion = common_pending_mutation3.extend({
2921
+ mutation_code: zod.z.literal("deferring_deletion").describe(
2922
+ "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes."
2923
+ )
2924
+ }).describe(
2925
+ "This access group is scheduled for automatic deletion when its access window expires."
2926
+ );
2920
2927
  var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
2921
2928
  "mutation_code",
2922
2929
  [
@@ -2926,7 +2933,8 @@ var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
2926
2933
  updating_access_schedule,
2927
2934
  updating_user_membership,
2928
2935
  updating_entrance_membership,
2929
- deferring_user_membership_update
2936
+ deferring_user_membership_update,
2937
+ deferring_deletion
2930
2938
  ]
2931
2939
  );
2932
2940
  zod.z.object({
@@ -2936,7 +2944,8 @@ zod.z.object({
2936
2944
  updating_access_schedule: updating_access_schedule.optional().nullable(),
2937
2945
  updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
2938
2946
  updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable(),
2939
- deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
2947
+ deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable(),
2948
+ deferring_deletion: deferring_deletion.optional().nullable()
2940
2949
  });
2941
2950
 
2942
2951
  // src/lib/seam/connect/models/acs/acs-access-group.ts
@@ -9252,6 +9261,27 @@ var openapi_default = {
9252
9261
  "variant"
9253
9262
  ],
9254
9263
  type: "object"
9264
+ },
9265
+ {
9266
+ description: "This access group is scheduled for automatic deletion when its access window expires.",
9267
+ properties: {
9268
+ created_at: {
9269
+ description: "Date and time at which the mutation was created.",
9270
+ format: "date-time",
9271
+ type: "string"
9272
+ },
9273
+ message: {
9274
+ description: "Detailed description of the mutation.",
9275
+ type: "string"
9276
+ },
9277
+ mutation_code: {
9278
+ description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
9279
+ enum: ["deferring_deletion"],
9280
+ type: "string"
9281
+ }
9282
+ },
9283
+ required: ["created_at", "message", "mutation_code"],
9284
+ type: "object"
9255
9285
  }
9256
9286
  ]
9257
9287
  },
@@ -31132,6 +31162,27 @@ var openapi_default = {
31132
31162
  "variant"
31133
31163
  ],
31134
31164
  type: "object"
31165
+ },
31166
+ {
31167
+ description: "This access group is scheduled for automatic deletion when its access window expires.",
31168
+ properties: {
31169
+ created_at: {
31170
+ description: "Date and time at which the mutation was created.",
31171
+ format: "date-time",
31172
+ type: "string"
31173
+ },
31174
+ message: {
31175
+ description: "Detailed description of the mutation.",
31176
+ type: "string"
31177
+ },
31178
+ mutation_code: {
31179
+ description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
31180
+ enum: ["deferring_deletion"],
31181
+ type: "string"
31182
+ }
31183
+ },
31184
+ required: ["created_at", "message", "mutation_code"],
31185
+ type: "object"
31135
31186
  }
31136
31187
  ]
31137
31188
  },
@@ -62115,6 +62166,7 @@ var openapi_default = {
62115
62166
  type: "array"
62116
62167
  },
62117
62168
  error: { type: "string" },
62169
+ message: { type: "string" },
62118
62170
  rule: {
62119
62171
  enum: [
62120
62172
  "reservation_created",
@@ -62278,6 +62330,7 @@ var openapi_default = {
62278
62330
  type: "array"
62279
62331
  },
62280
62332
  error: { type: "string" },
62333
+ message: { type: "string" },
62281
62334
  rule: {
62282
62335
  enum: [
62283
62336
  "reservation_created",