@seamapi/types 1.612.0 → 1.613.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.
@@ -15217,6 +15217,15 @@ export type Routes = {
15217
15217
  message: string;
15218
15218
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
15219
15219
  mutation_code: 'deleting';
15220
+ } | {
15221
+ /** Date and time at which the mutation was created. */
15222
+ created_at: string;
15223
+ /** Detailed description of the mutation. */
15224
+ message: string;
15225
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
15226
+ mutation_code: 'deferring_creation';
15227
+ /** Optional: When the user creation is scheduled to occur. */
15228
+ scheduled_at?: (string | undefined) | null;
15220
15229
  } | {
15221
15230
  /** Date and time at which the mutation was created. */
15222
15231
  created_at: string;
@@ -17022,6 +17031,15 @@ export type Routes = {
17022
17031
  message: string;
17023
17032
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
17024
17033
  mutation_code: 'deleting';
17034
+ } | {
17035
+ /** Date and time at which the mutation was created. */
17036
+ created_at: string;
17037
+ /** Detailed description of the mutation. */
17038
+ message: string;
17039
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
17040
+ mutation_code: 'deferring_creation';
17041
+ /** Optional: When the user creation is scheduled to occur. */
17042
+ scheduled_at?: (string | undefined) | null;
17025
17043
  } | {
17026
17044
  /** Date and time at which the mutation was created. */
17027
17045
  created_at: string;
@@ -21189,6 +21207,15 @@ export type Routes = {
21189
21207
  message: string;
21190
21208
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
21191
21209
  mutation_code: 'deleting';
21210
+ } | {
21211
+ /** Date and time at which the mutation was created. */
21212
+ created_at: string;
21213
+ /** Detailed description of the mutation. */
21214
+ message: string;
21215
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
21216
+ mutation_code: 'deferring_creation';
21217
+ /** Optional: When the user creation is scheduled to occur. */
21218
+ scheduled_at?: (string | undefined) | null;
21192
21219
  } | {
21193
21220
  /** Date and time at which the mutation was created. */
21194
21221
  created_at: string;
@@ -26822,6 +26849,15 @@ export type Routes = {
26822
26849
  message: string;
26823
26850
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
26824
26851
  mutation_code: 'deleting';
26852
+ } | {
26853
+ /** Date and time at which the mutation was created. */
26854
+ created_at: string;
26855
+ /** Detailed description of the mutation. */
26856
+ message: string;
26857
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
26858
+ mutation_code: 'deferring_creation';
26859
+ /** Optional: When the user creation is scheduled to occur. */
26860
+ scheduled_at?: (string | undefined) | null;
26825
26861
  } | {
26826
26862
  /** Date and time at which the mutation was created. */
26827
26863
  created_at: string;
@@ -27068,6 +27104,15 @@ export type Routes = {
27068
27104
  message: string;
27069
27105
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
27070
27106
  mutation_code: 'deleting';
27107
+ } | {
27108
+ /** Date and time at which the mutation was created. */
27109
+ created_at: string;
27110
+ /** Detailed description of the mutation. */
27111
+ message: string;
27112
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
27113
+ mutation_code: 'deferring_creation';
27114
+ /** Optional: When the user creation is scheduled to occur. */
27115
+ scheduled_at?: (string | undefined) | null;
27071
27116
  } | {
27072
27117
  /** Date and time at which the mutation was created. */
27073
27118
  created_at: string;
@@ -27303,6 +27348,15 @@ export type Routes = {
27303
27348
  message: string;
27304
27349
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
27305
27350
  mutation_code: 'deleting';
27351
+ } | {
27352
+ /** Date and time at which the mutation was created. */
27353
+ created_at: string;
27354
+ /** Detailed description of the mutation. */
27355
+ message: string;
27356
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
27357
+ mutation_code: 'deferring_creation';
27358
+ /** Optional: When the user creation is scheduled to occur. */
27359
+ scheduled_at?: (string | undefined) | null;
27306
27360
  } | {
27307
27361
  /** Date and time at which the mutation was created. */
27308
27362
  created_at: string;
@@ -27720,6 +27774,15 @@ export type Routes = {
27720
27774
  message: string;
27721
27775
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
27722
27776
  mutation_code: 'deleting';
27777
+ } | {
27778
+ /** Date and time at which the mutation was created. */
27779
+ created_at: string;
27780
+ /** Detailed description of the mutation. */
27781
+ message: string;
27782
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
27783
+ mutation_code: 'deferring_creation';
27784
+ /** Optional: When the user creation is scheduled to occur. */
27785
+ scheduled_at?: (string | undefined) | null;
27723
27786
  } | {
27724
27787
  /** Date and time at which the mutation was created. */
27725
27788
  created_at: string;
@@ -27949,6 +28012,15 @@ export type Routes = {
27949
28012
  message: string;
27950
28013
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
27951
28014
  mutation_code: 'deleting';
28015
+ } | {
28016
+ /** Date and time at which the mutation was created. */
28017
+ created_at: string;
28018
+ /** Detailed description of the mutation. */
28019
+ message: string;
28020
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
28021
+ mutation_code: 'deferring_creation';
28022
+ /** Optional: When the user creation is scheduled to occur. */
28023
+ scheduled_at?: (string | undefined) | null;
27952
28024
  } | {
27953
28025
  /** Date and time at which the mutation was created. */
27954
28026
  created_at: string;
@@ -80695,6 +80767,15 @@ export type Routes = {
80695
80767
  message: string;
80696
80768
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
80697
80769
  mutation_code: 'deleting';
80770
+ } | {
80771
+ /** Date and time at which the mutation was created. */
80772
+ created_at: string;
80773
+ /** Detailed description of the mutation. */
80774
+ message: string;
80775
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
80776
+ mutation_code: 'deferring_creation';
80777
+ /** Optional: When the user creation is scheduled to occur. */
80778
+ scheduled_at?: (string | undefined) | null;
80698
80779
  } | {
80699
80780
  /** Date and time at which the mutation was created. */
80700
80781
  created_at: string;
@@ -82927,6 +83008,15 @@ export type Routes = {
82927
83008
  message: string;
82928
83009
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
82929
83010
  mutation_code: 'deleting';
83011
+ } | {
83012
+ /** Date and time at which the mutation was created. */
83013
+ created_at: string;
83014
+ /** Detailed description of the mutation. */
83015
+ message: string;
83016
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
83017
+ mutation_code: 'deferring_creation';
83018
+ /** Optional: When the user creation is scheduled to occur. */
83019
+ scheduled_at?: (string | undefined) | null;
82930
83020
  } | {
82931
83021
  /** Date and time at which the mutation was created. */
82932
83022
  created_at: string;
@@ -84732,6 +84822,15 @@ export type Routes = {
84732
84822
  message: string;
84733
84823
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
84734
84824
  mutation_code: 'deleting';
84825
+ } | {
84826
+ /** Date and time at which the mutation was created. */
84827
+ created_at: string;
84828
+ /** Detailed description of the mutation. */
84829
+ message: string;
84830
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
84831
+ mutation_code: 'deferring_creation';
84832
+ /** Optional: When the user creation is scheduled to occur. */
84833
+ scheduled_at?: (string | undefined) | null;
84735
84834
  } | {
84736
84835
  /** Date and time at which the mutation was created. */
84737
84836
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.612.0",
3
+ "version": "1.613.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -34,6 +34,24 @@ const deleting = common_pending_mutation
34
34
  'Seam is in the process of pushing a user deletion to the integrated access system.',
35
35
  )
36
36
 
37
+ const deferring_creation = common_pending_mutation
38
+ .extend({
39
+ mutation_code: z
40
+ .literal('deferring_creation')
41
+ .describe(
42
+ 'Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.',
43
+ ),
44
+ scheduled_at: z
45
+ .string()
46
+ .datetime()
47
+ .optional()
48
+ .nullable()
49
+ .describe('Optional: When the user creation is scheduled to occur.'),
50
+ })
51
+ .describe(
52
+ 'User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.',
53
+ )
54
+
37
55
  const acs_user_info = z.object({
38
56
  email_address: z
39
57
  .string()
@@ -145,6 +163,7 @@ export const acs_user_pending_mutations = z.discriminatedUnion(
145
163
  [
146
164
  creating,
147
165
  deleting,
166
+ deferring_creation,
148
167
  updating_user_information_mutation,
149
168
  updating_access_schedule_mutation,
150
169
  updating_suspension_state_mutation,
@@ -157,6 +176,7 @@ export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>
157
176
  const _acs_user_pending_mutations_map = z.object({
158
177
  creating: creating.optional().nullable(),
159
178
  deleting: deleting.optional().nullable(),
179
+ deferring_creation: deferring_creation.optional().nullable(),
160
180
  updating_access_schedule: updating_access_schedule_mutation
161
181
  .optional()
162
182
  .nullable(),
@@ -3871,6 +3871,37 @@ export default {
3871
3871
  required: ['created_at', 'message', 'mutation_code'],
3872
3872
  type: 'object',
3873
3873
  },
3874
+ {
3875
+ description:
3876
+ 'User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.',
3877
+ properties: {
3878
+ created_at: {
3879
+ description:
3880
+ 'Date and time at which the mutation was created.',
3881
+ format: 'date-time',
3882
+ type: 'string',
3883
+ },
3884
+ message: {
3885
+ description: 'Detailed description of the mutation.',
3886
+ type: 'string',
3887
+ },
3888
+ mutation_code: {
3889
+ description:
3890
+ 'Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.',
3891
+ enum: ['deferring_creation'],
3892
+ type: 'string',
3893
+ },
3894
+ scheduled_at: {
3895
+ description:
3896
+ 'Optional: When the user creation is scheduled to occur.',
3897
+ format: 'date-time',
3898
+ nullable: true,
3899
+ type: 'string',
3900
+ },
3901
+ },
3902
+ required: ['created_at', 'message', 'mutation_code'],
3903
+ type: 'object',
3904
+ },
3874
3905
  {
3875
3906
  properties: {
3876
3907
  created_at: {
@@ -23718,6 +23749,37 @@ export default {
23718
23749
  required: ['created_at', 'message', 'mutation_code'],
23719
23750
  type: 'object',
23720
23751
  },
23752
+ {
23753
+ description:
23754
+ 'User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.',
23755
+ properties: {
23756
+ created_at: {
23757
+ description:
23758
+ 'Date and time at which the mutation was created.',
23759
+ format: 'date-time',
23760
+ type: 'string',
23761
+ },
23762
+ message: {
23763
+ description: 'Detailed description of the mutation.',
23764
+ type: 'string',
23765
+ },
23766
+ mutation_code: {
23767
+ description:
23768
+ 'Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.',
23769
+ enum: ['deferring_creation'],
23770
+ type: 'string',
23771
+ },
23772
+ scheduled_at: {
23773
+ description:
23774
+ 'Optional: When the user creation is scheduled to occur.',
23775
+ format: 'date-time',
23776
+ nullable: true,
23777
+ type: 'string',
23778
+ },
23779
+ },
23780
+ required: ['created_at', 'message', 'mutation_code'],
23781
+ type: 'object',
23782
+ },
23721
23783
  {
23722
23784
  properties: {
23723
23785
  created_at: {
@@ -17635,6 +17635,16 @@ export type Routes = {
17635
17635
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
17636
17636
  mutation_code: 'deleting'
17637
17637
  }
17638
+ | {
17639
+ /** Date and time at which the mutation was created. */
17640
+ created_at: string
17641
+ /** Detailed description of the mutation. */
17642
+ message: string
17643
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
17644
+ mutation_code: 'deferring_creation'
17645
+ /** Optional: When the user creation is scheduled to occur. */
17646
+ scheduled_at?: (string | undefined) | null
17647
+ }
17638
17648
  | {
17639
17649
  /** Date and time at which the mutation was created. */
17640
17650
  created_at: string
@@ -19773,6 +19783,16 @@ export type Routes = {
19773
19783
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
19774
19784
  mutation_code: 'deleting'
19775
19785
  }
19786
+ | {
19787
+ /** Date and time at which the mutation was created. */
19788
+ created_at: string
19789
+ /** Detailed description of the mutation. */
19790
+ message: string
19791
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
19792
+ mutation_code: 'deferring_creation'
19793
+ /** Optional: When the user creation is scheduled to occur. */
19794
+ scheduled_at?: (string | undefined) | null
19795
+ }
19776
19796
  | {
19777
19797
  /** Date and time at which the mutation was created. */
19778
19798
  created_at: string
@@ -24628,6 +24648,16 @@ export type Routes = {
24628
24648
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
24629
24649
  mutation_code: 'deleting'
24630
24650
  }
24651
+ | {
24652
+ /** Date and time at which the mutation was created. */
24653
+ created_at: string
24654
+ /** Detailed description of the mutation. */
24655
+ message: string
24656
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
24657
+ mutation_code: 'deferring_creation'
24658
+ /** Optional: When the user creation is scheduled to occur. */
24659
+ scheduled_at?: (string | undefined) | null
24660
+ }
24631
24661
  | {
24632
24662
  /** Date and time at which the mutation was created. */
24633
24663
  created_at: string
@@ -31251,6 +31281,16 @@ export type Routes = {
31251
31281
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
31252
31282
  mutation_code: 'deleting'
31253
31283
  }
31284
+ | {
31285
+ /** Date and time at which the mutation was created. */
31286
+ created_at: string
31287
+ /** Detailed description of the mutation. */
31288
+ message: string
31289
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
31290
+ mutation_code: 'deferring_creation'
31291
+ /** Optional: When the user creation is scheduled to occur. */
31292
+ scheduled_at?: (string | undefined) | null
31293
+ }
31254
31294
  | {
31255
31295
  /** Date and time at which the mutation was created. */
31256
31296
  created_at: string
@@ -31530,6 +31570,16 @@ export type Routes = {
31530
31570
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
31531
31571
  mutation_code: 'deleting'
31532
31572
  }
31573
+ | {
31574
+ /** Date and time at which the mutation was created. */
31575
+ created_at: string
31576
+ /** Detailed description of the mutation. */
31577
+ message: string
31578
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
31579
+ mutation_code: 'deferring_creation'
31580
+ /** Optional: When the user creation is scheduled to occur. */
31581
+ scheduled_at?: (string | undefined) | null
31582
+ }
31533
31583
  | {
31534
31584
  /** Date and time at which the mutation was created. */
31535
31585
  created_at: string
@@ -31798,6 +31848,16 @@ export type Routes = {
31798
31848
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
31799
31849
  mutation_code: 'deleting'
31800
31850
  }
31851
+ | {
31852
+ /** Date and time at which the mutation was created. */
31853
+ created_at: string
31854
+ /** Detailed description of the mutation. */
31855
+ message: string
31856
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
31857
+ mutation_code: 'deferring_creation'
31858
+ /** Optional: When the user creation is scheduled to occur. */
31859
+ scheduled_at?: (string | undefined) | null
31860
+ }
31801
31861
  | {
31802
31862
  /** Date and time at which the mutation was created. */
31803
31863
  created_at: string
@@ -32275,6 +32335,16 @@ export type Routes = {
32275
32335
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
32276
32336
  mutation_code: 'deleting'
32277
32337
  }
32338
+ | {
32339
+ /** Date and time at which the mutation was created. */
32340
+ created_at: string
32341
+ /** Detailed description of the mutation. */
32342
+ message: string
32343
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
32344
+ mutation_code: 'deferring_creation'
32345
+ /** Optional: When the user creation is scheduled to occur. */
32346
+ scheduled_at?: (string | undefined) | null
32347
+ }
32278
32348
  | {
32279
32349
  /** Date and time at which the mutation was created. */
32280
32350
  created_at: string
@@ -32537,6 +32607,16 @@ export type Routes = {
32537
32607
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
32538
32608
  mutation_code: 'deleting'
32539
32609
  }
32610
+ | {
32611
+ /** Date and time at which the mutation was created. */
32612
+ created_at: string
32613
+ /** Detailed description of the mutation. */
32614
+ message: string
32615
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
32616
+ mutation_code: 'deferring_creation'
32617
+ /** Optional: When the user creation is scheduled to occur. */
32618
+ scheduled_at?: (string | undefined) | null
32619
+ }
32540
32620
  | {
32541
32621
  /** Date and time at which the mutation was created. */
32542
32622
  created_at: string
@@ -96060,6 +96140,16 @@ export type Routes = {
96060
96140
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
96061
96141
  mutation_code: 'deleting'
96062
96142
  }
96143
+ | {
96144
+ /** Date and time at which the mutation was created. */
96145
+ created_at: string
96146
+ /** Detailed description of the mutation. */
96147
+ message: string
96148
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
96149
+ mutation_code: 'deferring_creation'
96150
+ /** Optional: When the user creation is scheduled to occur. */
96151
+ scheduled_at?: (string | undefined) | null
96152
+ }
96063
96153
  | {
96064
96154
  /** Date and time at which the mutation was created. */
96065
96155
  created_at: string
@@ -98764,6 +98854,16 @@ export type Routes = {
98764
98854
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
98765
98855
  mutation_code: 'deleting'
98766
98856
  }
98857
+ | {
98858
+ /** Date and time at which the mutation was created. */
98859
+ created_at: string
98860
+ /** Detailed description of the mutation. */
98861
+ message: string
98862
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
98863
+ mutation_code: 'deferring_creation'
98864
+ /** Optional: When the user creation is scheduled to occur. */
98865
+ scheduled_at?: (string | undefined) | null
98866
+ }
98767
98867
  | {
98768
98868
  /** Date and time at which the mutation was created. */
98769
98869
  created_at: string
@@ -100902,6 +101002,16 @@ export type Routes = {
100902
101002
  /** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
100903
101003
  mutation_code: 'deleting'
100904
101004
  }
101005
+ | {
101006
+ /** Date and time at which the mutation was created. */
101007
+ created_at: string
101008
+ /** Detailed description of the mutation. */
101009
+ message: string
101010
+ /** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
101011
+ mutation_code: 'deferring_creation'
101012
+ /** Optional: When the user creation is scheduled to occur. */
101013
+ scheduled_at?: (string | undefined) | null
101014
+ }
100905
101015
  | {
100906
101016
  /** Date and time at which the mutation was created. */
100907
101017
  created_at: string