@seamapi/types 1.737.0 → 1.738.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.
Files changed (43) hide show
  1. package/dist/connect.cjs +655 -20
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2935 -423
  4. package/dist/index.cjs +655 -20
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +590 -0
  7. package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-access-groups/index.d.ts +1 -0
  10. package/lib/seam/connect/models/acs/acs-access-groups/index.js +2 -0
  11. package/lib/seam/connect/models/acs/acs-access-groups/index.js.map +1 -0
  12. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +511 -0
  13. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +126 -0
  14. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -0
  15. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  16. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  17. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  18. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +12 -12
  19. package/lib/seam/connect/models/acs/index.d.ts +1 -0
  20. package/lib/seam/connect/models/acs/index.js +1 -0
  21. package/lib/seam/connect/models/acs/index.js.map +1 -1
  22. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +20 -20
  23. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  24. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  25. package/lib/seam/connect/models/batch.d.ts +868 -74
  26. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  27. package/lib/seam/connect/models/events/acs/index.d.ts +8 -8
  28. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  29. package/lib/seam/connect/models/events/devices.d.ts +4 -4
  30. package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
  31. package/lib/seam/connect/models/phones/phone-session.d.ts +30 -30
  32. package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
  33. package/lib/seam/connect/openapi.d.ts +512 -0
  34. package/lib/seam/connect/openapi.js +544 -0
  35. package/lib/seam/connect/openapi.js.map +1 -1
  36. package/lib/seam/connect/route-types.d.ts +616 -0
  37. package/package.json +1 -1
  38. package/src/lib/seam/connect/models/acs/acs-access-group.ts +6 -0
  39. package/src/lib/seam/connect/models/acs/acs-access-groups/index.ts +1 -0
  40. package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +171 -0
  41. package/src/lib/seam/connect/models/acs/index.ts +1 -0
  42. package/src/lib/seam/connect/openapi.ts +754 -172
  43. package/src/lib/seam/connect/route-types.ts +665 -0
@@ -11,30 +11,30 @@ declare const _user_identity_error_map: z.ZodObject<{
11
11
  message: string;
12
12
  created_at: string;
13
13
  error_code: "issue_with_acs_user";
14
- acs_system_id: string;
15
14
  acs_user_id: string;
15
+ acs_system_id: string;
16
16
  }, {
17
17
  message: string;
18
18
  created_at: string;
19
19
  error_code: "issue_with_acs_user";
20
- acs_system_id: string;
21
20
  acs_user_id: string;
21
+ acs_system_id: string;
22
22
  }>>>>;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  issue_with_acs_user?: Record<string, {
25
25
  message: string;
26
26
  created_at: string;
27
27
  error_code: "issue_with_acs_user";
28
- acs_system_id: string;
29
28
  acs_user_id: string;
29
+ acs_system_id: string;
30
30
  }> | null | undefined;
31
31
  }, {
32
32
  issue_with_acs_user?: Record<string, {
33
33
  message: string;
34
34
  created_at: string;
35
35
  error_code: "issue_with_acs_user";
36
- acs_system_id: string;
37
36
  acs_user_id: string;
37
+ acs_system_id: string;
38
38
  }> | null | undefined;
39
39
  }>;
40
40
  export type UserIdentityErrorMap = z.infer<typeof _user_identity_error_map>;
@@ -111,14 +111,14 @@ export declare const user_identity: z.ZodObject<{
111
111
  message: string;
112
112
  created_at: string;
113
113
  error_code: "issue_with_acs_user";
114
- acs_system_id: string;
115
114
  acs_user_id: string;
115
+ acs_system_id: string;
116
116
  }, {
117
117
  message: string;
118
118
  created_at: string;
119
119
  error_code: "issue_with_acs_user";
120
- acs_system_id: string;
121
120
  acs_user_id: string;
121
+ acs_system_id: string;
122
122
  }>]>, "many">;
123
123
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
124
124
  created_at: z.ZodString;
@@ -156,8 +156,8 @@ export declare const user_identity: z.ZodObject<{
156
156
  message: string;
157
157
  created_at: string;
158
158
  error_code: "issue_with_acs_user";
159
- acs_system_id: string;
160
159
  acs_user_id: string;
160
+ acs_system_id: string;
161
161
  }[];
162
162
  warnings: ({
163
163
  message: string;
@@ -182,8 +182,8 @@ export declare const user_identity: z.ZodObject<{
182
182
  message: string;
183
183
  created_at: string;
184
184
  error_code: "issue_with_acs_user";
185
- acs_system_id: string;
186
185
  acs_user_id: string;
186
+ acs_system_id: string;
187
187
  }[];
188
188
  warnings: ({
189
189
  message: string;
@@ -222,14 +222,14 @@ export declare const unmanaged_user_identity: z.ZodObject<Omit<{
222
222
  message: string;
223
223
  created_at: string;
224
224
  error_code: "issue_with_acs_user";
225
- acs_system_id: string;
226
225
  acs_user_id: string;
226
+ acs_system_id: string;
227
227
  }, {
228
228
  message: string;
229
229
  created_at: string;
230
230
  error_code: "issue_with_acs_user";
231
- acs_system_id: string;
232
231
  acs_user_id: string;
232
+ acs_system_id: string;
233
233
  }>]>, "many">;
234
234
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
235
235
  created_at: z.ZodString;
@@ -267,8 +267,8 @@ export declare const unmanaged_user_identity: z.ZodObject<Omit<{
267
267
  message: string;
268
268
  created_at: string;
269
269
  error_code: "issue_with_acs_user";
270
- acs_system_id: string;
271
270
  acs_user_id: string;
271
+ acs_system_id: string;
272
272
  }[];
273
273
  warnings: ({
274
274
  message: string;
@@ -292,8 +292,8 @@ export declare const unmanaged_user_identity: z.ZodObject<Omit<{
292
292
  message: string;
293
293
  created_at: string;
294
294
  error_code: "issue_with_acs_user";
295
- acs_system_id: string;
296
295
  acs_user_id: string;
296
+ acs_system_id: string;
297
297
  }[];
298
298
  warnings: ({
299
299
  message: string;
@@ -1148,6 +1148,262 @@ declare const _default: {
1148
1148
  description: string;
1149
1149
  type: string;
1150
1150
  };
1151
+ pending_mutations: {
1152
+ description: string;
1153
+ items: {
1154
+ discriminator: {
1155
+ propertyName: string;
1156
+ };
1157
+ oneOf: ({
1158
+ description: string;
1159
+ properties: {
1160
+ created_at: {
1161
+ description: string;
1162
+ format: string;
1163
+ type: string;
1164
+ };
1165
+ message: {
1166
+ description: string;
1167
+ type: string;
1168
+ };
1169
+ mutation_code: {
1170
+ description: string;
1171
+ enum: string[];
1172
+ type: string;
1173
+ };
1174
+ from?: never;
1175
+ to?: never;
1176
+ };
1177
+ required: string[];
1178
+ type: string;
1179
+ } | {
1180
+ description: string;
1181
+ properties: {
1182
+ created_at: {
1183
+ description: string;
1184
+ format: string;
1185
+ type: string;
1186
+ };
1187
+ from: {
1188
+ description: string;
1189
+ properties: {
1190
+ name: {
1191
+ description: string;
1192
+ nullable: boolean;
1193
+ type: string;
1194
+ };
1195
+ ends_at?: never;
1196
+ starts_at?: never;
1197
+ acs_user_id?: never;
1198
+ acs_entrance_id?: never;
1199
+ };
1200
+ type: string;
1201
+ required?: never;
1202
+ };
1203
+ message: {
1204
+ description: string;
1205
+ type: string;
1206
+ };
1207
+ mutation_code: {
1208
+ description: string;
1209
+ enum: string[];
1210
+ type: string;
1211
+ };
1212
+ to: {
1213
+ description: string;
1214
+ properties: {
1215
+ name: {
1216
+ description: string;
1217
+ nullable: boolean;
1218
+ type: string;
1219
+ };
1220
+ ends_at?: never;
1221
+ starts_at?: never;
1222
+ acs_user_id?: never;
1223
+ acs_entrance_id?: never;
1224
+ };
1225
+ type: string;
1226
+ required?: never;
1227
+ };
1228
+ };
1229
+ required: string[];
1230
+ type: string;
1231
+ } | {
1232
+ description: string;
1233
+ properties: {
1234
+ created_at: {
1235
+ description: string;
1236
+ format: string;
1237
+ type: string;
1238
+ };
1239
+ from: {
1240
+ description: string;
1241
+ properties: {
1242
+ ends_at: {
1243
+ description: string;
1244
+ format: string;
1245
+ nullable: boolean;
1246
+ type: string;
1247
+ };
1248
+ starts_at: {
1249
+ description: string;
1250
+ format: string;
1251
+ nullable: boolean;
1252
+ type: string;
1253
+ };
1254
+ name?: never;
1255
+ acs_user_id?: never;
1256
+ acs_entrance_id?: never;
1257
+ };
1258
+ required: string[];
1259
+ type: string;
1260
+ };
1261
+ message: {
1262
+ description: string;
1263
+ type: string;
1264
+ };
1265
+ mutation_code: {
1266
+ description: string;
1267
+ enum: string[];
1268
+ type: string;
1269
+ };
1270
+ to: {
1271
+ description: string;
1272
+ properties: {
1273
+ ends_at: {
1274
+ description: string;
1275
+ format: string;
1276
+ nullable: boolean;
1277
+ type: string;
1278
+ };
1279
+ starts_at: {
1280
+ description: string;
1281
+ format: string;
1282
+ nullable: boolean;
1283
+ type: string;
1284
+ };
1285
+ name?: never;
1286
+ acs_user_id?: never;
1287
+ acs_entrance_id?: never;
1288
+ };
1289
+ required: string[];
1290
+ type: string;
1291
+ };
1292
+ };
1293
+ required: string[];
1294
+ type: string;
1295
+ } | {
1296
+ description: string;
1297
+ properties: {
1298
+ created_at: {
1299
+ description: string;
1300
+ format: string;
1301
+ type: string;
1302
+ };
1303
+ from: {
1304
+ description: string;
1305
+ properties: {
1306
+ acs_user_id: {
1307
+ description: string;
1308
+ format: string;
1309
+ nullable: boolean;
1310
+ type: string;
1311
+ };
1312
+ name?: never;
1313
+ ends_at?: never;
1314
+ starts_at?: never;
1315
+ acs_entrance_id?: never;
1316
+ };
1317
+ required: string[];
1318
+ type: string;
1319
+ };
1320
+ message: {
1321
+ description: string;
1322
+ type: string;
1323
+ };
1324
+ mutation_code: {
1325
+ description: string;
1326
+ enum: string[];
1327
+ type: string;
1328
+ };
1329
+ to: {
1330
+ description: string;
1331
+ properties: {
1332
+ acs_user_id: {
1333
+ description: string;
1334
+ format: string;
1335
+ nullable: boolean;
1336
+ type: string;
1337
+ };
1338
+ name?: never;
1339
+ ends_at?: never;
1340
+ starts_at?: never;
1341
+ acs_entrance_id?: never;
1342
+ };
1343
+ required: string[];
1344
+ type: string;
1345
+ };
1346
+ };
1347
+ required: string[];
1348
+ type: string;
1349
+ } | {
1350
+ description: string;
1351
+ properties: {
1352
+ created_at: {
1353
+ description: string;
1354
+ format: string;
1355
+ type: string;
1356
+ };
1357
+ from: {
1358
+ description: string;
1359
+ properties: {
1360
+ acs_entrance_id: {
1361
+ description: string;
1362
+ format: string;
1363
+ nullable: boolean;
1364
+ type: string;
1365
+ };
1366
+ name?: never;
1367
+ ends_at?: never;
1368
+ starts_at?: never;
1369
+ acs_user_id?: never;
1370
+ };
1371
+ required: string[];
1372
+ type: string;
1373
+ };
1374
+ message: {
1375
+ description: string;
1376
+ type: string;
1377
+ };
1378
+ mutation_code: {
1379
+ description: string;
1380
+ enum: string[];
1381
+ type: string;
1382
+ };
1383
+ to: {
1384
+ description: string;
1385
+ properties: {
1386
+ acs_entrance_id: {
1387
+ description: string;
1388
+ format: string;
1389
+ nullable: boolean;
1390
+ type: string;
1391
+ };
1392
+ name?: never;
1393
+ ends_at?: never;
1394
+ starts_at?: never;
1395
+ acs_user_id?: never;
1396
+ };
1397
+ required: string[];
1398
+ type: string;
1399
+ };
1400
+ };
1401
+ required: string[];
1402
+ type: string;
1403
+ })[];
1404
+ };
1405
+ type: string;
1406
+ };
1151
1407
  warnings: {
1152
1408
  description: string;
1153
1409
  items: {
@@ -16121,6 +16377,262 @@ declare const _default: {
16121
16377
  description: string;
16122
16378
  type: string;
16123
16379
  };
16380
+ pending_mutations: {
16381
+ description: string;
16382
+ items: {
16383
+ discriminator: {
16384
+ propertyName: string;
16385
+ };
16386
+ oneOf: ({
16387
+ description: string;
16388
+ properties: {
16389
+ created_at: {
16390
+ description: string;
16391
+ format: string;
16392
+ type: string;
16393
+ };
16394
+ message: {
16395
+ description: string;
16396
+ type: string;
16397
+ };
16398
+ mutation_code: {
16399
+ description: string;
16400
+ enum: string[];
16401
+ type: string;
16402
+ };
16403
+ from?: never;
16404
+ to?: never;
16405
+ };
16406
+ required: string[];
16407
+ type: string;
16408
+ } | {
16409
+ description: string;
16410
+ properties: {
16411
+ created_at: {
16412
+ description: string;
16413
+ format: string;
16414
+ type: string;
16415
+ };
16416
+ from: {
16417
+ description: string;
16418
+ properties: {
16419
+ name: {
16420
+ description: string;
16421
+ nullable: boolean;
16422
+ type: string;
16423
+ };
16424
+ ends_at?: never;
16425
+ starts_at?: never;
16426
+ acs_user_id?: never;
16427
+ acs_entrance_id?: never;
16428
+ };
16429
+ type: string;
16430
+ required?: never;
16431
+ };
16432
+ message: {
16433
+ description: string;
16434
+ type: string;
16435
+ };
16436
+ mutation_code: {
16437
+ description: string;
16438
+ enum: string[];
16439
+ type: string;
16440
+ };
16441
+ to: {
16442
+ description: string;
16443
+ properties: {
16444
+ name: {
16445
+ description: string;
16446
+ nullable: boolean;
16447
+ type: string;
16448
+ };
16449
+ ends_at?: never;
16450
+ starts_at?: never;
16451
+ acs_user_id?: never;
16452
+ acs_entrance_id?: never;
16453
+ };
16454
+ type: string;
16455
+ required?: never;
16456
+ };
16457
+ };
16458
+ required: string[];
16459
+ type: string;
16460
+ } | {
16461
+ description: string;
16462
+ properties: {
16463
+ created_at: {
16464
+ description: string;
16465
+ format: string;
16466
+ type: string;
16467
+ };
16468
+ from: {
16469
+ description: string;
16470
+ properties: {
16471
+ ends_at: {
16472
+ description: string;
16473
+ format: string;
16474
+ nullable: boolean;
16475
+ type: string;
16476
+ };
16477
+ starts_at: {
16478
+ description: string;
16479
+ format: string;
16480
+ nullable: boolean;
16481
+ type: string;
16482
+ };
16483
+ name?: never;
16484
+ acs_user_id?: never;
16485
+ acs_entrance_id?: never;
16486
+ };
16487
+ required: string[];
16488
+ type: string;
16489
+ };
16490
+ message: {
16491
+ description: string;
16492
+ type: string;
16493
+ };
16494
+ mutation_code: {
16495
+ description: string;
16496
+ enum: string[];
16497
+ type: string;
16498
+ };
16499
+ to: {
16500
+ description: string;
16501
+ properties: {
16502
+ ends_at: {
16503
+ description: string;
16504
+ format: string;
16505
+ nullable: boolean;
16506
+ type: string;
16507
+ };
16508
+ starts_at: {
16509
+ description: string;
16510
+ format: string;
16511
+ nullable: boolean;
16512
+ type: string;
16513
+ };
16514
+ name?: never;
16515
+ acs_user_id?: never;
16516
+ acs_entrance_id?: never;
16517
+ };
16518
+ required: string[];
16519
+ type: string;
16520
+ };
16521
+ };
16522
+ required: string[];
16523
+ type: string;
16524
+ } | {
16525
+ description: string;
16526
+ properties: {
16527
+ created_at: {
16528
+ description: string;
16529
+ format: string;
16530
+ type: string;
16531
+ };
16532
+ from: {
16533
+ description: string;
16534
+ properties: {
16535
+ acs_user_id: {
16536
+ description: string;
16537
+ format: string;
16538
+ nullable: boolean;
16539
+ type: string;
16540
+ };
16541
+ name?: never;
16542
+ ends_at?: never;
16543
+ starts_at?: never;
16544
+ acs_entrance_id?: never;
16545
+ };
16546
+ required: string[];
16547
+ type: string;
16548
+ };
16549
+ message: {
16550
+ description: string;
16551
+ type: string;
16552
+ };
16553
+ mutation_code: {
16554
+ description: string;
16555
+ enum: string[];
16556
+ type: string;
16557
+ };
16558
+ to: {
16559
+ description: string;
16560
+ properties: {
16561
+ acs_user_id: {
16562
+ description: string;
16563
+ format: string;
16564
+ nullable: boolean;
16565
+ type: string;
16566
+ };
16567
+ name?: never;
16568
+ ends_at?: never;
16569
+ starts_at?: never;
16570
+ acs_entrance_id?: never;
16571
+ };
16572
+ required: string[];
16573
+ type: string;
16574
+ };
16575
+ };
16576
+ required: string[];
16577
+ type: string;
16578
+ } | {
16579
+ description: string;
16580
+ properties: {
16581
+ created_at: {
16582
+ description: string;
16583
+ format: string;
16584
+ type: string;
16585
+ };
16586
+ from: {
16587
+ description: string;
16588
+ properties: {
16589
+ acs_entrance_id: {
16590
+ description: string;
16591
+ format: string;
16592
+ nullable: boolean;
16593
+ type: string;
16594
+ };
16595
+ name?: never;
16596
+ ends_at?: never;
16597
+ starts_at?: never;
16598
+ acs_user_id?: never;
16599
+ };
16600
+ required: string[];
16601
+ type: string;
16602
+ };
16603
+ message: {
16604
+ description: string;
16605
+ type: string;
16606
+ };
16607
+ mutation_code: {
16608
+ description: string;
16609
+ enum: string[];
16610
+ type: string;
16611
+ };
16612
+ to: {
16613
+ description: string;
16614
+ properties: {
16615
+ acs_entrance_id: {
16616
+ description: string;
16617
+ format: string;
16618
+ nullable: boolean;
16619
+ type: string;
16620
+ };
16621
+ name?: never;
16622
+ ends_at?: never;
16623
+ starts_at?: never;
16624
+ acs_user_id?: never;
16625
+ };
16626
+ required: string[];
16627
+ type: string;
16628
+ };
16629
+ };
16630
+ required: string[];
16631
+ type: string;
16632
+ })[];
16633
+ };
16634
+ type: string;
16635
+ };
16124
16636
  warnings: {
16125
16637
  description: string;
16126
16638
  items: {