@seamapi/types 1.370.1 → 1.370.3

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.
@@ -7315,6 +7315,9 @@ export interface Routes {
7315
7315
  }>;
7316
7316
  /** */
7317
7317
  pending_modifications?: Array<{
7318
+ created_at: string;
7319
+ modification_code: 'create';
7320
+ } | {
7318
7321
  created_at: string;
7319
7322
  modification_code: 'profile';
7320
7323
  modified_from: {
@@ -11728,6 +11731,9 @@ export interface Routes {
11728
11731
  }>;
11729
11732
  /** */
11730
11733
  pending_modifications?: Array<{
11734
+ created_at: string;
11735
+ modification_code: 'create';
11736
+ } | {
11731
11737
  created_at: string;
11732
11738
  modification_code: 'profile';
11733
11739
  modified_from: {
@@ -11906,6 +11912,9 @@ export interface Routes {
11906
11912
  }>;
11907
11913
  /** */
11908
11914
  pending_modifications?: Array<{
11915
+ created_at: string;
11916
+ modification_code: 'create';
11917
+ } | {
11909
11918
  created_at: string;
11910
11919
  modification_code: 'profile';
11911
11920
  modified_from: {
@@ -12080,6 +12089,9 @@ export interface Routes {
12080
12089
  }>;
12081
12090
  /** */
12082
12091
  pending_modifications?: Array<{
12092
+ created_at: string;
12093
+ modification_code: 'create';
12094
+ } | {
12083
12095
  created_at: string;
12084
12096
  modification_code: 'profile';
12085
12097
  modified_from: {
@@ -12363,6 +12375,9 @@ export interface Routes {
12363
12375
  }>;
12364
12376
  /** */
12365
12377
  pending_modifications?: Array<{
12378
+ created_at: string;
12379
+ modification_code: 'create';
12380
+ } | {
12366
12381
  created_at: string;
12367
12382
  modification_code: 'profile';
12368
12383
  modified_from: {
@@ -12527,6 +12542,9 @@ export interface Routes {
12527
12542
  }>;
12528
12543
  /** */
12529
12544
  pending_modifications?: Array<{
12545
+ created_at: string;
12546
+ modification_code: 'create';
12547
+ } | {
12530
12548
  created_at: string;
12531
12549
  modification_code: 'profile';
12532
12550
  modified_from: {
@@ -15409,6 +15427,7 @@ export interface Routes {
15409
15427
  unlock_via_gateway: boolean;
15410
15428
  lock_command: boolean;
15411
15429
  incomplete_keyboard_passcode: boolean;
15430
+ wifi: boolean;
15412
15431
  };
15413
15432
  has_gateway?: boolean | undefined;
15414
15433
  wireless_keypads?: Array<{
@@ -16136,6 +16155,7 @@ export interface Routes {
16136
16155
  unlock_via_gateway: boolean;
16137
16156
  lock_command: boolean;
16138
16157
  incomplete_keyboard_passcode: boolean;
16158
+ wifi: boolean;
16139
16159
  };
16140
16160
  has_gateway?: boolean | undefined;
16141
16161
  wireless_keypads?: Array<{
@@ -20018,6 +20038,7 @@ export interface Routes {
20018
20038
  unlock_via_gateway: boolean;
20019
20039
  lock_command: boolean;
20020
20040
  incomplete_keyboard_passcode: boolean;
20041
+ wifi: boolean;
20021
20042
  };
20022
20043
  has_gateway?: boolean | undefined;
20023
20044
  wireless_keypads?: Array<{
@@ -20707,6 +20728,7 @@ export interface Routes {
20707
20728
  unlock_via_gateway: boolean;
20708
20729
  lock_command: boolean;
20709
20730
  incomplete_keyboard_passcode: boolean;
20731
+ wifi: boolean;
20710
20732
  };
20711
20733
  has_gateway?: boolean | undefined;
20712
20734
  wireless_keypads?: Array<{
@@ -21434,6 +21456,7 @@ export interface Routes {
21434
21456
  unlock_via_gateway: boolean;
21435
21457
  lock_command: boolean;
21436
21458
  incomplete_keyboard_passcode: boolean;
21459
+ wifi: boolean;
21437
21460
  };
21438
21461
  has_gateway?: boolean | undefined;
21439
21462
  wireless_keypads?: Array<{
@@ -22122,6 +22145,7 @@ export interface Routes {
22122
22145
  unlock_via_gateway: boolean;
22123
22146
  lock_command: boolean;
22124
22147
  incomplete_keyboard_passcode: boolean;
22148
+ wifi: boolean;
22125
22149
  };
22126
22150
  has_gateway?: boolean | undefined;
22127
22151
  wireless_keypads?: Array<{
@@ -24810,6 +24834,7 @@ export interface Routes {
24810
24834
  unlock_via_gateway: boolean;
24811
24835
  lock_command: boolean;
24812
24836
  incomplete_keyboard_passcode: boolean;
24837
+ wifi: boolean;
24813
24838
  };
24814
24839
  has_gateway?: boolean | undefined;
24815
24840
  wireless_keypads?: Array<{
@@ -25498,6 +25523,7 @@ export interface Routes {
25498
25523
  unlock_via_gateway: boolean;
25499
25524
  lock_command: boolean;
25500
25525
  incomplete_keyboard_passcode: boolean;
25526
+ wifi: boolean;
25501
25527
  };
25502
25528
  has_gateway?: boolean | undefined;
25503
25529
  wireless_keypads?: Array<{
@@ -31524,6 +31550,7 @@ export interface Routes {
31524
31550
  unlock_via_gateway: boolean;
31525
31551
  lock_command: boolean;
31526
31552
  incomplete_keyboard_passcode: boolean;
31553
+ wifi: boolean;
31527
31554
  };
31528
31555
  has_gateway?: boolean | undefined;
31529
31556
  wireless_keypads?: Array<{
@@ -34193,6 +34220,7 @@ export interface Routes {
34193
34220
  unlock_via_gateway: boolean;
34194
34221
  lock_command: boolean;
34195
34222
  incomplete_keyboard_passcode: boolean;
34223
+ wifi: boolean;
34196
34224
  };
34197
34225
  has_gateway?: boolean | undefined;
34198
34226
  wireless_keypads?: Array<{
@@ -34881,6 +34909,7 @@ export interface Routes {
34881
34909
  unlock_via_gateway: boolean;
34882
34910
  lock_command: boolean;
34883
34911
  incomplete_keyboard_passcode: boolean;
34912
+ wifi: boolean;
34884
34913
  };
34885
34914
  has_gateway?: boolean | undefined;
34886
34915
  wireless_keypads?: Array<{
@@ -39270,6 +39299,7 @@ export interface Routes {
39270
39299
  unlock_via_gateway: boolean;
39271
39300
  lock_command: boolean;
39272
39301
  incomplete_keyboard_passcode: boolean;
39302
+ wifi: boolean;
39273
39303
  };
39274
39304
  has_gateway?: boolean | undefined;
39275
39305
  wireless_keypads?: Array<{
@@ -39960,6 +39990,7 @@ export interface Routes {
39960
39990
  unlock_via_gateway: boolean;
39961
39991
  lock_command: boolean;
39962
39992
  incomplete_keyboard_passcode: boolean;
39993
+ wifi: boolean;
39963
39994
  };
39964
39995
  has_gateway?: boolean | undefined;
39965
39996
  wireless_keypads?: Array<{
@@ -40647,6 +40678,9 @@ export interface Routes {
40647
40678
  }>;
40648
40679
  /** */
40649
40680
  pending_modifications?: Array<{
40681
+ created_at: string;
40682
+ modification_code: 'create';
40683
+ } | {
40650
40684
  created_at: string;
40651
40685
  modification_code: 'profile';
40652
40686
  modified_from: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.370.1",
3
+ "version": "1.370.3",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -7,6 +7,10 @@ const common_pending_modification = z.object({
7
7
  created_at: z.string().datetime(),
8
8
  })
9
9
 
10
+ const lifecycle_create = common_pending_modification.extend({
11
+ modification_code: z.literal('create'),
12
+ })
13
+
10
14
  const acs_user_profile = z.object({
11
15
  email_address: z.string().email().nullable(),
12
16
  full_name: z.string().nullable(),
@@ -48,6 +52,7 @@ const acs_access_group_membership_pending_modification =
48
52
  export const acs_user_pending_modification = z.discriminatedUnion(
49
53
  'modification_code',
50
54
  [
55
+ lifecycle_create,
51
56
  profile_pending_modification,
52
57
  access_schedule_pending_modification,
53
58
  suspension_state_pending_modification,
@@ -60,6 +65,7 @@ export type AcsUserPendingModification = z.infer<
60
65
  >
61
66
 
62
67
  const acs_user_pending_modifications_map = z.object({
68
+ lifecycle_create: lifecycle_create.optional().nullable(),
63
69
  'profile.full_name': common_pending_modification
64
70
  .extend({
65
71
  modification_code: z.literal('profile'),
@@ -168,6 +168,7 @@ export const device_metadata = z
168
168
  unlock_via_gateway: z.boolean(),
169
169
  lock_command: z.boolean(),
170
170
  incomplete_keyboard_passcode: z.boolean(),
171
+ wifi: z.boolean(),
171
172
  }),
172
173
  has_gateway: z.boolean().optional(),
173
174
  wireless_keypads: z
@@ -2446,6 +2446,14 @@ export default {
2446
2446
  items: {
2447
2447
  discriminator: { propertyName: 'modification_code' },
2448
2448
  oneOf: [
2449
+ {
2450
+ properties: {
2451
+ created_at: { format: 'date-time', type: 'string' },
2452
+ modification_code: { enum: ['create'], type: 'string' },
2453
+ },
2454
+ required: ['created_at', 'modification_code'],
2455
+ type: 'object',
2456
+ },
2449
2457
  {
2450
2458
  properties: {
2451
2459
  created_at: { format: 'date-time', type: 'string' },
@@ -7474,6 +7482,7 @@ export default {
7474
7482
  passcode: { type: 'boolean' },
7475
7483
  passcode_management: { type: 'boolean' },
7476
7484
  unlock_via_gateway: { type: 'boolean' },
7485
+ wifi: { type: 'boolean' },
7477
7486
  },
7478
7487
  required: [
7479
7488
  'passcode',
@@ -7481,6 +7490,7 @@ export default {
7481
7490
  'unlock_via_gateway',
7482
7491
  'lock_command',
7483
7492
  'incomplete_keyboard_passcode',
7493
+ 'wifi',
7484
7494
  ],
7485
7495
  type: 'object',
7486
7496
  },
@@ -14974,6 +14984,14 @@ export default {
14974
14984
  items: {
14975
14985
  discriminator: { propertyName: 'modification_code' },
14976
14986
  oneOf: [
14987
+ {
14988
+ properties: {
14989
+ created_at: { format: 'date-time', type: 'string' },
14990
+ modification_code: { enum: ['create'], type: 'string' },
14991
+ },
14992
+ required: ['created_at', 'modification_code'],
14993
+ type: 'object',
14994
+ },
14977
14995
  {
14978
14996
  properties: {
14979
14997
  created_at: { format: 'date-time', type: 'string' },
@@ -8529,6 +8529,10 @@ export interface Routes {
8529
8529
  /** */
8530
8530
  pending_modifications?:
8531
8531
  | Array<
8532
+ | {
8533
+ created_at: string
8534
+ modification_code: 'create'
8535
+ }
8532
8536
  | {
8533
8537
  created_at: string
8534
8538
  modification_code: 'profile'
@@ -13817,6 +13821,10 @@ export interface Routes {
13817
13821
  /** */
13818
13822
  pending_modifications?:
13819
13823
  | Array<
13824
+ | {
13825
+ created_at: string
13826
+ modification_code: 'create'
13827
+ }
13820
13828
  | {
13821
13829
  created_at: string
13822
13830
  modification_code: 'profile'
@@ -14028,6 +14036,10 @@ export interface Routes {
14028
14036
  /** */
14029
14037
  pending_modifications?:
14030
14038
  | Array<
14039
+ | {
14040
+ created_at: string
14041
+ modification_code: 'create'
14042
+ }
14031
14043
  | {
14032
14044
  created_at: string
14033
14045
  modification_code: 'profile'
@@ -14235,6 +14247,10 @@ export interface Routes {
14235
14247
  /** */
14236
14248
  pending_modifications?:
14237
14249
  | Array<
14250
+ | {
14251
+ created_at: string
14252
+ modification_code: 'create'
14253
+ }
14238
14254
  | {
14239
14255
  created_at: string
14240
14256
  modification_code: 'profile'
@@ -14574,6 +14590,10 @@ export interface Routes {
14574
14590
  /** */
14575
14591
  pending_modifications?:
14576
14592
  | Array<
14593
+ | {
14594
+ created_at: string
14595
+ modification_code: 'create'
14596
+ }
14577
14597
  | {
14578
14598
  created_at: string
14579
14599
  modification_code: 'profile'
@@ -14771,6 +14791,10 @@ export interface Routes {
14771
14791
  /** */
14772
14792
  pending_modifications?:
14773
14793
  | Array<
14794
+ | {
14795
+ created_at: string
14796
+ modification_code: 'create'
14797
+ }
14774
14798
  | {
14775
14799
  created_at: string
14776
14800
  modification_code: 'profile'
@@ -18185,6 +18209,7 @@ export interface Routes {
18185
18209
  unlock_via_gateway: boolean
18186
18210
  lock_command: boolean
18187
18211
  incomplete_keyboard_passcode: boolean
18212
+ wifi: boolean
18188
18213
  }
18189
18214
  has_gateway?: boolean | undefined
18190
18215
  wireless_keypads?:
@@ -19278,6 +19303,7 @@ export interface Routes {
19278
19303
  unlock_via_gateway: boolean
19279
19304
  lock_command: boolean
19280
19305
  incomplete_keyboard_passcode: boolean
19306
+ wifi: boolean
19281
19307
  }
19282
19308
  has_gateway?: boolean | undefined
19283
19309
  wireless_keypads?:
@@ -24103,6 +24129,7 @@ export interface Routes {
24103
24129
  unlock_via_gateway: boolean
24104
24130
  lock_command: boolean
24105
24131
  incomplete_keyboard_passcode: boolean
24132
+ wifi: boolean
24106
24133
  }
24107
24134
  has_gateway?: boolean | undefined
24108
24135
  wireless_keypads?:
@@ -25011,6 +25038,7 @@ export interface Routes {
25011
25038
  unlock_via_gateway: boolean
25012
25039
  lock_command: boolean
25013
25040
  incomplete_keyboard_passcode: boolean
25041
+ wifi: boolean
25014
25042
  }
25015
25043
  has_gateway?: boolean | undefined
25016
25044
  wireless_keypads?:
@@ -26104,6 +26132,7 @@ export interface Routes {
26104
26132
  unlock_via_gateway: boolean
26105
26133
  lock_command: boolean
26106
26134
  incomplete_keyboard_passcode: boolean
26135
+ wifi: boolean
26107
26136
  }
26108
26137
  has_gateway?: boolean | undefined
26109
26138
  wireless_keypads?:
@@ -27011,6 +27040,7 @@ export interface Routes {
27011
27040
  unlock_via_gateway: boolean
27012
27041
  lock_command: boolean
27013
27042
  incomplete_keyboard_passcode: boolean
27043
+ wifi: boolean
27014
27044
  }
27015
27045
  has_gateway?: boolean | undefined
27016
27046
  wireless_keypads?:
@@ -30401,6 +30431,7 @@ export interface Routes {
30401
30431
  unlock_via_gateway: boolean
30402
30432
  lock_command: boolean
30403
30433
  incomplete_keyboard_passcode: boolean
30434
+ wifi: boolean
30404
30435
  }
30405
30436
  has_gateway?: boolean | undefined
30406
30437
  wireless_keypads?:
@@ -31308,6 +31339,7 @@ export interface Routes {
31308
31339
  unlock_via_gateway: boolean
31309
31340
  lock_command: boolean
31310
31341
  incomplete_keyboard_passcode: boolean
31342
+ wifi: boolean
31311
31343
  }
31312
31344
  has_gateway?: boolean | undefined
31313
31345
  wireless_keypads?:
@@ -38414,6 +38446,7 @@ export interface Routes {
38414
38446
  unlock_via_gateway: boolean
38415
38447
  lock_command: boolean
38416
38448
  incomplete_keyboard_passcode: boolean
38449
+ wifi: boolean
38417
38450
  }
38418
38451
  has_gateway?: boolean | undefined
38419
38452
  wireless_keypads?:
@@ -41785,6 +41818,7 @@ export interface Routes {
41785
41818
  unlock_via_gateway: boolean
41786
41819
  lock_command: boolean
41787
41820
  incomplete_keyboard_passcode: boolean
41821
+ wifi: boolean
41788
41822
  }
41789
41823
  has_gateway?: boolean | undefined
41790
41824
  wireless_keypads?:
@@ -42692,6 +42726,7 @@ export interface Routes {
42692
42726
  unlock_via_gateway: boolean
42693
42727
  lock_command: boolean
42694
42728
  incomplete_keyboard_passcode: boolean
42729
+ wifi: boolean
42695
42730
  }
42696
42731
  has_gateway?: boolean | undefined
42697
42732
  wireless_keypads?:
@@ -47833,6 +47868,7 @@ export interface Routes {
47833
47868
  unlock_via_gateway: boolean
47834
47869
  lock_command: boolean
47835
47870
  incomplete_keyboard_passcode: boolean
47871
+ wifi: boolean
47836
47872
  }
47837
47873
  has_gateway?: boolean | undefined
47838
47874
  wireless_keypads?:
@@ -48742,6 +48778,7 @@ export interface Routes {
48742
48778
  unlock_via_gateway: boolean
48743
48779
  lock_command: boolean
48744
48780
  incomplete_keyboard_passcode: boolean
48781
+ wifi: boolean
48745
48782
  }
48746
48783
  has_gateway?: boolean | undefined
48747
48784
  wireless_keypads?:
@@ -49624,6 +49661,10 @@ export interface Routes {
49624
49661
  /** */
49625
49662
  pending_modifications?:
49626
49663
  | Array<
49664
+ | {
49665
+ created_at: string
49666
+ modification_code: 'create'
49667
+ }
49627
49668
  | {
49628
49669
  created_at: string
49629
49670
  modification_code: 'profile'