@seamapi/types 1.739.0 → 1.740.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.
@@ -12356,6 +12356,17 @@ export type Routes = {
12356
12356
  /** New entrance ID. */
12357
12357
  acs_entrance_id: string | null;
12358
12358
  };
12359
+ } | {
12360
+ /** Date and time at which the mutation was created. */
12361
+ created_at: string;
12362
+ /** Detailed description of the mutation. */
12363
+ message: string;
12364
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
12365
+ mutation_code: 'deferring_user_membership_update';
12366
+ /** ID of the user involved in the scheduled change. */
12367
+ acs_user_id: string;
12368
+ /** Whether the user is scheduled to be added to or removed from this access group. */
12369
+ variant: 'adding' | 'removing';
12359
12370
  })[];
12360
12371
  is_managed: true;
12361
12372
  }[] | undefined;
@@ -17059,6 +17070,17 @@ export type Routes = {
17059
17070
  /** New entrance ID. */
17060
17071
  acs_entrance_id: string | null;
17061
17072
  };
17073
+ } | {
17074
+ /** Date and time at which the mutation was created. */
17075
+ created_at: string;
17076
+ /** Detailed description of the mutation. */
17077
+ message: string;
17078
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
17079
+ mutation_code: 'deferring_user_membership_update';
17080
+ /** ID of the user involved in the scheduled change. */
17081
+ acs_user_id: string;
17082
+ /** Whether the user is scheduled to be added to or removed from this access group. */
17083
+ variant: 'adding' | 'removing';
17062
17084
  })[];
17063
17085
  is_managed: true;
17064
17086
  };
@@ -17216,6 +17238,17 @@ export type Routes = {
17216
17238
  /** New entrance ID. */
17217
17239
  acs_entrance_id: string | null;
17218
17240
  };
17241
+ } | {
17242
+ /** Date and time at which the mutation was created. */
17243
+ created_at: string;
17244
+ /** Detailed description of the mutation. */
17245
+ message: string;
17246
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
17247
+ mutation_code: 'deferring_user_membership_update';
17248
+ /** ID of the user involved in the scheduled change. */
17249
+ acs_user_id: string;
17250
+ /** Whether the user is scheduled to be added to or removed from this access group. */
17251
+ variant: 'adding' | 'removing';
17219
17252
  })[];
17220
17253
  is_managed: true;
17221
17254
  }[];
@@ -17575,6 +17608,17 @@ export type Routes = {
17575
17608
  /** New access group ID. */
17576
17609
  acs_access_group_id: string | null;
17577
17610
  };
17611
+ } | {
17612
+ /** Date and time at which the mutation was created. */
17613
+ created_at: string;
17614
+ /** Detailed description of the mutation. */
17615
+ message: string;
17616
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
17617
+ mutation_code: 'deferring_group_membership_update';
17618
+ /** ID of the access group involved in the scheduled change. */
17619
+ acs_access_group_id: string;
17620
+ /** Whether the user is scheduled to be added to or removed from the access group. */
17621
+ variant: 'adding' | 'removing';
17578
17622
  })[] | undefined;
17579
17623
  /** The last time an internal sync job completed for this access system user. */
17580
17624
  last_successful_sync_at: string | null;
@@ -17766,6 +17810,17 @@ export type Routes = {
17766
17810
  /** New entrance ID. */
17767
17811
  acs_entrance_id: string | null;
17768
17812
  };
17813
+ } | {
17814
+ /** Date and time at which the mutation was created. */
17815
+ created_at: string;
17816
+ /** Detailed description of the mutation. */
17817
+ message: string;
17818
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
17819
+ mutation_code: 'deferring_user_membership_update';
17820
+ /** ID of the user involved in the scheduled change. */
17821
+ acs_user_id: string;
17822
+ /** Whether the user is scheduled to be added to or removed from this access group. */
17823
+ variant: 'adding' | 'removing';
17769
17824
  })[];
17770
17825
  is_managed: false;
17771
17826
  };
@@ -17921,6 +17976,17 @@ export type Routes = {
17921
17976
  /** New entrance ID. */
17922
17977
  acs_entrance_id: string | null;
17923
17978
  };
17979
+ } | {
17980
+ /** Date and time at which the mutation was created. */
17981
+ created_at: string;
17982
+ /** Detailed description of the mutation. */
17983
+ message: string;
17984
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
17985
+ mutation_code: 'deferring_user_membership_update';
17986
+ /** ID of the user involved in the scheduled change. */
17987
+ acs_user_id: string;
17988
+ /** Whether the user is scheduled to be added to or removed from this access group. */
17989
+ variant: 'adding' | 'removing';
17924
17990
  })[];
17925
17991
  is_managed: false;
17926
17992
  }[];
@@ -23506,6 +23572,17 @@ export type Routes = {
23506
23572
  /** New access group ID. */
23507
23573
  acs_access_group_id: string | null;
23508
23574
  };
23575
+ } | {
23576
+ /** Date and time at which the mutation was created. */
23577
+ created_at: string;
23578
+ /** Detailed description of the mutation. */
23579
+ message: string;
23580
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
23581
+ mutation_code: 'deferring_group_membership_update';
23582
+ /** ID of the access group involved in the scheduled change. */
23583
+ acs_access_group_id: string;
23584
+ /** Whether the user is scheduled to be added to or removed from the access group. */
23585
+ variant: 'adding' | 'removing';
23509
23586
  })[] | undefined;
23510
23587
  /** The last time an internal sync job completed for this access system user. */
23511
23588
  last_successful_sync_at: string | null;
@@ -23770,6 +23847,17 @@ export type Routes = {
23770
23847
  /** New access group ID. */
23771
23848
  acs_access_group_id: string | null;
23772
23849
  };
23850
+ } | {
23851
+ /** Date and time at which the mutation was created. */
23852
+ created_at: string;
23853
+ /** Detailed description of the mutation. */
23854
+ message: string;
23855
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
23856
+ mutation_code: 'deferring_group_membership_update';
23857
+ /** ID of the access group involved in the scheduled change. */
23858
+ acs_access_group_id: string;
23859
+ /** Whether the user is scheduled to be added to or removed from the access group. */
23860
+ variant: 'adding' | 'removing';
23773
23861
  })[] | undefined;
23774
23862
  /** The last time an internal sync job completed for this access system user. */
23775
23863
  last_successful_sync_at: string | null;
@@ -24022,6 +24110,17 @@ export type Routes = {
24022
24110
  /** New access group ID. */
24023
24111
  acs_access_group_id: string | null;
24024
24112
  };
24113
+ } | {
24114
+ /** Date and time at which the mutation was created. */
24115
+ created_at: string;
24116
+ /** Detailed description of the mutation. */
24117
+ message: string;
24118
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
24119
+ mutation_code: 'deferring_group_membership_update';
24120
+ /** ID of the access group involved in the scheduled change. */
24121
+ acs_access_group_id: string;
24122
+ /** Whether the user is scheduled to be added to or removed from the access group. */
24123
+ variant: 'adding' | 'removing';
24025
24124
  })[] | undefined;
24026
24125
  /** The last time an internal sync job completed for this access system user. */
24027
24126
  last_successful_sync_at: string | null;
@@ -24468,6 +24567,17 @@ export type Routes = {
24468
24567
  /** New access group ID. */
24469
24568
  acs_access_group_id: string | null;
24470
24569
  };
24570
+ } | {
24571
+ /** Date and time at which the mutation was created. */
24572
+ created_at: string;
24573
+ /** Detailed description of the mutation. */
24574
+ message: string;
24575
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
24576
+ mutation_code: 'deferring_group_membership_update';
24577
+ /** ID of the access group involved in the scheduled change. */
24578
+ acs_access_group_id: string;
24579
+ /** Whether the user is scheduled to be added to or removed from the access group. */
24580
+ variant: 'adding' | 'removing';
24471
24581
  })[] | undefined;
24472
24582
  /** The last time an internal sync job completed for this access system user. */
24473
24583
  last_successful_sync_at: string | null;
@@ -24716,6 +24826,17 @@ export type Routes = {
24716
24826
  /** New access group ID. */
24717
24827
  acs_access_group_id: string | null;
24718
24828
  };
24829
+ } | {
24830
+ /** Date and time at which the mutation was created. */
24831
+ created_at: string;
24832
+ /** Detailed description of the mutation. */
24833
+ message: string;
24834
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
24835
+ mutation_code: 'deferring_group_membership_update';
24836
+ /** ID of the access group involved in the scheduled change. */
24837
+ acs_access_group_id: string;
24838
+ /** Whether the user is scheduled to be added to or removed from the access group. */
24839
+ variant: 'adding' | 'removing';
24719
24840
  })[] | undefined;
24720
24841
  /** The last time an internal sync job completed for this access system user. */
24721
24842
  last_successful_sync_at: string | null;
@@ -84320,6 +84441,17 @@ export type Routes = {
84320
84441
  /** New access group ID. */
84321
84442
  acs_access_group_id: string | null;
84322
84443
  };
84444
+ } | {
84445
+ /** Date and time at which the mutation was created. */
84446
+ created_at: string;
84447
+ /** Detailed description of the mutation. */
84448
+ message: string;
84449
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
84450
+ mutation_code: 'deferring_group_membership_update';
84451
+ /** ID of the access group involved in the scheduled change. */
84452
+ acs_access_group_id: string;
84453
+ /** Whether the user is scheduled to be added to or removed from the access group. */
84454
+ variant: 'adding' | 'removing';
84323
84455
  })[] | undefined;
84324
84456
  /** The last time an internal sync job completed for this access system user. */
84325
84457
  last_successful_sync_at: string | null;
@@ -86695,6 +86827,17 @@ export type Routes = {
86695
86827
  /** New access group ID. */
86696
86828
  acs_access_group_id: string | null;
86697
86829
  };
86830
+ } | {
86831
+ /** Date and time at which the mutation was created. */
86832
+ created_at: string;
86833
+ /** Detailed description of the mutation. */
86834
+ message: string;
86835
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
86836
+ mutation_code: 'deferring_group_membership_update';
86837
+ /** ID of the access group involved in the scheduled change. */
86838
+ acs_access_group_id: string;
86839
+ /** Whether the user is scheduled to be added to or removed from the access group. */
86840
+ variant: 'adding' | 'removing';
86698
86841
  })[] | undefined;
86699
86842
  /** The last time an internal sync job completed for this access system user. */
86700
86843
  last_successful_sync_at: string | null;
@@ -86854,6 +86997,17 @@ export type Routes = {
86854
86997
  /** New entrance ID. */
86855
86998
  acs_entrance_id: string | null;
86856
86999
  };
87000
+ } | {
87001
+ /** Date and time at which the mutation was created. */
87002
+ created_at: string;
87003
+ /** Detailed description of the mutation. */
87004
+ message: string;
87005
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
87006
+ mutation_code: 'deferring_user_membership_update';
87007
+ /** ID of the user involved in the scheduled change. */
87008
+ acs_user_id: string;
87009
+ /** Whether the user is scheduled to be added to or removed from this access group. */
87010
+ variant: 'adding' | 'removing';
86857
87011
  })[];
86858
87012
  is_managed: true;
86859
87013
  }[] | undefined;
@@ -88362,6 +88516,17 @@ export type Routes = {
88362
88516
  /** New access group ID. */
88363
88517
  acs_access_group_id: string | null;
88364
88518
  };
88519
+ } | {
88520
+ /** Date and time at which the mutation was created. */
88521
+ created_at: string;
88522
+ /** Detailed description of the mutation. */
88523
+ message: string;
88524
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
88525
+ mutation_code: 'deferring_group_membership_update';
88526
+ /** ID of the access group involved in the scheduled change. */
88527
+ acs_access_group_id: string;
88528
+ /** Whether the user is scheduled to be added to or removed from the access group. */
88529
+ variant: 'adding' | 'removing';
88365
88530
  })[] | undefined;
88366
88531
  /** The last time an internal sync job completed for this access system user. */
88367
88532
  last_successful_sync_at: string | null;
@@ -88521,6 +88686,17 @@ export type Routes = {
88521
88686
  /** New entrance ID. */
88522
88687
  acs_entrance_id: string | null;
88523
88688
  };
88689
+ } | {
88690
+ /** Date and time at which the mutation was created. */
88691
+ created_at: string;
88692
+ /** Detailed description of the mutation. */
88693
+ message: string;
88694
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
88695
+ mutation_code: 'deferring_user_membership_update';
88696
+ /** ID of the user involved in the scheduled change. */
88697
+ acs_user_id: string;
88698
+ /** Whether the user is scheduled to be added to or removed from this access group. */
88699
+ variant: 'adding' | 'removing';
88524
88700
  })[];
88525
88701
  is_managed: false;
88526
88702
  }[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.739.0",
3
+ "version": "1.740.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -135,6 +135,27 @@ const updating_entrance_membership = common_pending_mutation
135
135
  'Seam is in the process of pushing an entrance membership update to the integrated access system.',
136
136
  )
137
137
 
138
+ const deferring_user_membership_update = common_pending_mutation
139
+ .extend({
140
+ mutation_code: z
141
+ .literal('deferring_user_membership_update')
142
+ .describe(
143
+ 'Mutation code to indicate that a scheduled user membership change is pending for this access group.',
144
+ ),
145
+ acs_user_id: z
146
+ .string()
147
+ .uuid()
148
+ .describe('ID of the user involved in the scheduled change.'),
149
+ variant: z
150
+ .enum(['adding', 'removing'])
151
+ .describe(
152
+ 'Whether the user is scheduled to be added to or removed from this access group.',
153
+ ),
154
+ })
155
+ .describe(
156
+ 'A scheduled user membership change is pending for this access group.',
157
+ )
158
+
138
159
  export const acs_access_group_pending_mutations = z.discriminatedUnion(
139
160
  'mutation_code',
140
161
  [
@@ -144,6 +165,7 @@ export const acs_access_group_pending_mutations = z.discriminatedUnion(
144
165
  updating_access_schedule,
145
166
  updating_user_membership,
146
167
  updating_entrance_membership,
168
+ deferring_user_membership_update,
147
169
  ],
148
170
  )
149
171
 
@@ -164,6 +186,10 @@ const _acs_access_group_pending_mutations_map = z.object({
164
186
  .record(z.string().uuid(), updating_entrance_membership)
165
187
  .optional()
166
188
  .nullable(),
189
+ deferring_user_membership_update: z
190
+ .record(z.string().uuid(), deferring_user_membership_update)
191
+ .optional()
192
+ .nullable(),
167
193
  })
168
194
 
169
195
  export type AcsAccessGroupPendingMutationsMap = z.infer<
@@ -158,6 +158,27 @@ const updating_group_membership_mutation = common_pending_mutation
158
158
  'Seam is in the process of pushing an access group membership update to the integrated access system.',
159
159
  )
160
160
 
161
+ const deferring_group_membership_update_mutation = common_pending_mutation
162
+ .extend({
163
+ mutation_code: z
164
+ .literal('deferring_group_membership_update')
165
+ .describe(
166
+ 'Mutation code to indicate that a scheduled access group membership change is pending for this user.',
167
+ ),
168
+ acs_access_group_id: z
169
+ .string()
170
+ .uuid()
171
+ .describe('ID of the access group involved in the scheduled change.'),
172
+ variant: z
173
+ .enum(['adding', 'removing'])
174
+ .describe(
175
+ 'Whether the user is scheduled to be added to or removed from the access group.',
176
+ ),
177
+ })
178
+ .describe(
179
+ 'A scheduled access group membership change is pending for this user.',
180
+ )
181
+
161
182
  export const acs_user_pending_mutations = z.discriminatedUnion(
162
183
  'mutation_code',
163
184
  [
@@ -168,6 +189,7 @@ export const acs_user_pending_mutations = z.discriminatedUnion(
168
189
  updating_access_schedule_mutation,
169
190
  updating_suspension_state_mutation,
170
191
  updating_group_membership_mutation,
192
+ deferring_group_membership_update_mutation,
171
193
  ],
172
194
  )
173
195
 
@@ -184,6 +206,10 @@ const _acs_user_pending_mutations_map = z.object({
184
206
  .record(z.string().uuid(), updating_group_membership_mutation)
185
207
  .optional()
186
208
  .nullable(),
209
+ deferring_group_membership_update: z
210
+ .record(z.string().uuid(), deferring_group_membership_update_mutation)
211
+ .optional()
212
+ .nullable(),
187
213
  updating_suspension_state: updating_suspension_state_mutation
188
214
  .optional()
189
215
  .nullable(),
@@ -3054,6 +3054,48 @@ export default {
3054
3054
  ],
3055
3055
  type: 'object',
3056
3056
  },
3057
+ {
3058
+ description:
3059
+ 'A scheduled user membership change is pending for this access group.',
3060
+ properties: {
3061
+ acs_user_id: {
3062
+ description:
3063
+ 'ID of the user involved in the scheduled change.',
3064
+ format: 'uuid',
3065
+ type: 'string',
3066
+ },
3067
+ created_at: {
3068
+ description:
3069
+ 'Date and time at which the mutation was created.',
3070
+ format: 'date-time',
3071
+ type: 'string',
3072
+ },
3073
+ message: {
3074
+ description: 'Detailed description of the mutation.',
3075
+ type: 'string',
3076
+ },
3077
+ mutation_code: {
3078
+ description:
3079
+ 'Mutation code to indicate that a scheduled user membership change is pending for this access group.',
3080
+ enum: ['deferring_user_membership_update'],
3081
+ type: 'string',
3082
+ },
3083
+ variant: {
3084
+ description:
3085
+ 'Whether the user is scheduled to be added to or removed from this access group.',
3086
+ enum: ['adding', 'removing'],
3087
+ type: 'string',
3088
+ },
3089
+ },
3090
+ required: [
3091
+ 'created_at',
3092
+ 'message',
3093
+ 'mutation_code',
3094
+ 'acs_user_id',
3095
+ 'variant',
3096
+ ],
3097
+ type: 'object',
3098
+ },
3057
3099
  ],
3058
3100
  },
3059
3101
  type: 'array',
@@ -5060,6 +5102,48 @@ export default {
5060
5102
  ],
5061
5103
  type: 'object',
5062
5104
  },
5105
+ {
5106
+ description:
5107
+ 'A scheduled access group membership change is pending for this user.',
5108
+ properties: {
5109
+ acs_access_group_id: {
5110
+ description:
5111
+ 'ID of the access group involved in the scheduled change.',
5112
+ format: 'uuid',
5113
+ type: 'string',
5114
+ },
5115
+ created_at: {
5116
+ description:
5117
+ 'Date and time at which the mutation was created.',
5118
+ format: 'date-time',
5119
+ type: 'string',
5120
+ },
5121
+ message: {
5122
+ description: 'Detailed description of the mutation.',
5123
+ type: 'string',
5124
+ },
5125
+ mutation_code: {
5126
+ description:
5127
+ 'Mutation code to indicate that a scheduled access group membership change is pending for this user.',
5128
+ enum: ['deferring_group_membership_update'],
5129
+ type: 'string',
5130
+ },
5131
+ variant: {
5132
+ description:
5133
+ 'Whether the user is scheduled to be added to or removed from the access group.',
5134
+ enum: ['adding', 'removing'],
5135
+ type: 'string',
5136
+ },
5137
+ },
5138
+ required: [
5139
+ 'created_at',
5140
+ 'message',
5141
+ 'mutation_code',
5142
+ 'acs_access_group_id',
5143
+ 'variant',
5144
+ ],
5145
+ type: 'object',
5146
+ },
5063
5147
  ],
5064
5148
  },
5065
5149
  type: 'array',
@@ -27151,6 +27235,48 @@ export default {
27151
27235
  ],
27152
27236
  type: 'object',
27153
27237
  },
27238
+ {
27239
+ description:
27240
+ 'A scheduled user membership change is pending for this access group.',
27241
+ properties: {
27242
+ acs_user_id: {
27243
+ description:
27244
+ 'ID of the user involved in the scheduled change.',
27245
+ format: 'uuid',
27246
+ type: 'string',
27247
+ },
27248
+ created_at: {
27249
+ description:
27250
+ 'Date and time at which the mutation was created.',
27251
+ format: 'date-time',
27252
+ type: 'string',
27253
+ },
27254
+ message: {
27255
+ description: 'Detailed description of the mutation.',
27256
+ type: 'string',
27257
+ },
27258
+ mutation_code: {
27259
+ description:
27260
+ 'Mutation code to indicate that a scheduled user membership change is pending for this access group.',
27261
+ enum: ['deferring_user_membership_update'],
27262
+ type: 'string',
27263
+ },
27264
+ variant: {
27265
+ description:
27266
+ 'Whether the user is scheduled to be added to or removed from this access group.',
27267
+ enum: ['adding', 'removing'],
27268
+ type: 'string',
27269
+ },
27270
+ },
27271
+ required: [
27272
+ 'created_at',
27273
+ 'message',
27274
+ 'mutation_code',
27275
+ 'acs_user_id',
27276
+ 'variant',
27277
+ ],
27278
+ type: 'object',
27279
+ },
27154
27280
  ],
27155
27281
  },
27156
27282
  type: 'array',
@@ -28248,6 +28374,48 @@ export default {
28248
28374
  ],
28249
28375
  type: 'object',
28250
28376
  },
28377
+ {
28378
+ description:
28379
+ 'A scheduled access group membership change is pending for this user.',
28380
+ properties: {
28381
+ acs_access_group_id: {
28382
+ description:
28383
+ 'ID of the access group involved in the scheduled change.',
28384
+ format: 'uuid',
28385
+ type: 'string',
28386
+ },
28387
+ created_at: {
28388
+ description:
28389
+ 'Date and time at which the mutation was created.',
28390
+ format: 'date-time',
28391
+ type: 'string',
28392
+ },
28393
+ message: {
28394
+ description: 'Detailed description of the mutation.',
28395
+ type: 'string',
28396
+ },
28397
+ mutation_code: {
28398
+ description:
28399
+ 'Mutation code to indicate that a scheduled access group membership change is pending for this user.',
28400
+ enum: ['deferring_group_membership_update'],
28401
+ type: 'string',
28402
+ },
28403
+ variant: {
28404
+ description:
28405
+ 'Whether the user is scheduled to be added to or removed from the access group.',
28406
+ enum: ['adding', 'removing'],
28407
+ type: 'string',
28408
+ },
28409
+ },
28410
+ required: [
28411
+ 'created_at',
28412
+ 'message',
28413
+ 'mutation_code',
28414
+ 'acs_access_group_id',
28415
+ 'variant',
28416
+ ],
28417
+ type: 'object',
28418
+ },
28251
28419
  ],
28252
28420
  },
28253
28421
  type: 'array',