@seamapi/types 1.736.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 (47) hide show
  1. package/dist/connect.cjs +659 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2935 -423
  4. package/dist/index.cjs +659 -22
  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/devices/device-provider.d.ts +2 -2
  27. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  28. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  29. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  30. package/lib/seam/connect/models/events/acs/index.d.ts +8 -8
  31. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  32. package/lib/seam/connect/models/events/devices.d.ts +4 -4
  33. package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
  34. package/lib/seam/connect/models/phones/phone-session.d.ts +30 -30
  35. package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
  36. package/lib/seam/connect/openapi.d.ts +512 -0
  37. package/lib/seam/connect/openapi.js +544 -0
  38. package/lib/seam/connect/openapi.js.map +1 -1
  39. package/lib/seam/connect/route-types.d.ts +616 -0
  40. package/package.json +1 -1
  41. package/src/lib/seam/connect/models/acs/acs-access-group.ts +6 -0
  42. package/src/lib/seam/connect/models/acs/acs-access-groups/index.ts +1 -0
  43. package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +171 -0
  44. package/src/lib/seam/connect/models/acs/index.ts +1 -0
  45. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  46. package/src/lib/seam/connect/openapi.ts +754 -172
  47. package/src/lib/seam/connect/route-types.ts +665 -0
@@ -2423,6 +2423,277 @@ export default {
2423
2423
  },
2424
2424
  is_managed: { enum: [true], type: 'boolean' },
2425
2425
  name: { description: 'Name of the access group.', type: 'string' },
2426
+ pending_mutations: {
2427
+ description: 'Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.',
2428
+ items: {
2429
+ discriminator: { propertyName: 'mutation_code' },
2430
+ oneOf: [
2431
+ {
2432
+ description: 'Seam is in the process of pushing an access group creation to the integrated access system.',
2433
+ properties: {
2434
+ created_at: {
2435
+ description: 'Date and time at which the mutation was created.',
2436
+ format: 'date-time',
2437
+ type: 'string',
2438
+ },
2439
+ message: {
2440
+ description: 'Detailed description of the mutation.',
2441
+ type: 'string',
2442
+ },
2443
+ mutation_code: {
2444
+ description: 'Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.',
2445
+ enum: ['creating'],
2446
+ type: 'string',
2447
+ },
2448
+ },
2449
+ required: ['created_at', 'message', 'mutation_code'],
2450
+ type: 'object',
2451
+ },
2452
+ {
2453
+ description: 'Seam is in the process of pushing an access group deletion to the integrated access system.',
2454
+ properties: {
2455
+ created_at: {
2456
+ description: 'Date and time at which the mutation was created.',
2457
+ format: 'date-time',
2458
+ type: 'string',
2459
+ },
2460
+ message: {
2461
+ description: 'Detailed description of the mutation.',
2462
+ type: 'string',
2463
+ },
2464
+ mutation_code: {
2465
+ description: 'Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.',
2466
+ enum: ['deleting'],
2467
+ type: 'string',
2468
+ },
2469
+ },
2470
+ required: ['created_at', 'message', 'mutation_code'],
2471
+ type: 'object',
2472
+ },
2473
+ {
2474
+ description: 'Seam is in the process of pushing an access group information update to the integrated access system.',
2475
+ properties: {
2476
+ created_at: {
2477
+ description: 'Date and time at which the mutation was created.',
2478
+ format: 'date-time',
2479
+ type: 'string',
2480
+ },
2481
+ from: {
2482
+ description: 'Old access group information.',
2483
+ properties: {
2484
+ name: {
2485
+ description: 'Name of the access group.',
2486
+ nullable: true,
2487
+ type: 'string',
2488
+ },
2489
+ },
2490
+ type: 'object',
2491
+ },
2492
+ message: {
2493
+ description: 'Detailed description of the mutation.',
2494
+ type: 'string',
2495
+ },
2496
+ mutation_code: {
2497
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.',
2498
+ enum: ['updating_group_information'],
2499
+ type: 'string',
2500
+ },
2501
+ to: {
2502
+ description: 'New access group information.',
2503
+ properties: {
2504
+ name: {
2505
+ description: 'Name of the access group.',
2506
+ nullable: true,
2507
+ type: 'string',
2508
+ },
2509
+ },
2510
+ type: 'object',
2511
+ },
2512
+ },
2513
+ required: [
2514
+ 'created_at',
2515
+ 'message',
2516
+ 'mutation_code',
2517
+ 'from',
2518
+ 'to',
2519
+ ],
2520
+ type: 'object',
2521
+ },
2522
+ {
2523
+ description: 'Seam is in the process of pushing an access schedule update to the integrated access system.',
2524
+ properties: {
2525
+ created_at: {
2526
+ description: 'Date and time at which the mutation was created.',
2527
+ format: 'date-time',
2528
+ type: 'string',
2529
+ },
2530
+ from: {
2531
+ description: 'Old access schedule information.',
2532
+ properties: {
2533
+ ends_at: {
2534
+ description: 'Ending time for the access schedule.',
2535
+ format: 'date-time',
2536
+ nullable: true,
2537
+ type: 'string',
2538
+ },
2539
+ starts_at: {
2540
+ description: 'Starting time for the access schedule.',
2541
+ format: 'date-time',
2542
+ nullable: true,
2543
+ type: 'string',
2544
+ },
2545
+ },
2546
+ required: ['starts_at', 'ends_at'],
2547
+ type: 'object',
2548
+ },
2549
+ message: {
2550
+ description: 'Detailed description of the mutation.',
2551
+ type: 'string',
2552
+ },
2553
+ mutation_code: {
2554
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.',
2555
+ enum: ['updating_access_schedule'],
2556
+ type: 'string',
2557
+ },
2558
+ to: {
2559
+ description: 'New access schedule information.',
2560
+ properties: {
2561
+ ends_at: {
2562
+ description: 'Ending time for the access schedule.',
2563
+ format: 'date-time',
2564
+ nullable: true,
2565
+ type: 'string',
2566
+ },
2567
+ starts_at: {
2568
+ description: 'Starting time for the access schedule.',
2569
+ format: 'date-time',
2570
+ nullable: true,
2571
+ type: 'string',
2572
+ },
2573
+ },
2574
+ required: ['starts_at', 'ends_at'],
2575
+ type: 'object',
2576
+ },
2577
+ },
2578
+ required: [
2579
+ 'created_at',
2580
+ 'message',
2581
+ 'mutation_code',
2582
+ 'from',
2583
+ 'to',
2584
+ ],
2585
+ type: 'object',
2586
+ },
2587
+ {
2588
+ description: 'Seam is in the process of pushing a user membership update to the integrated access system.',
2589
+ properties: {
2590
+ created_at: {
2591
+ description: 'Date and time at which the mutation was created.',
2592
+ format: 'date-time',
2593
+ type: 'string',
2594
+ },
2595
+ from: {
2596
+ description: 'Old user membership.',
2597
+ properties: {
2598
+ acs_user_id: {
2599
+ description: 'Old user ID.',
2600
+ format: 'uuid',
2601
+ nullable: true,
2602
+ type: 'string',
2603
+ },
2604
+ },
2605
+ required: ['acs_user_id'],
2606
+ type: 'object',
2607
+ },
2608
+ message: {
2609
+ description: 'Detailed description of the mutation.',
2610
+ type: 'string',
2611
+ },
2612
+ mutation_code: {
2613
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.',
2614
+ enum: ['updating_user_membership'],
2615
+ type: 'string',
2616
+ },
2617
+ to: {
2618
+ description: 'New user membership.',
2619
+ properties: {
2620
+ acs_user_id: {
2621
+ description: 'New user ID.',
2622
+ format: 'uuid',
2623
+ nullable: true,
2624
+ type: 'string',
2625
+ },
2626
+ },
2627
+ required: ['acs_user_id'],
2628
+ type: 'object',
2629
+ },
2630
+ },
2631
+ required: [
2632
+ 'created_at',
2633
+ 'message',
2634
+ 'mutation_code',
2635
+ 'from',
2636
+ 'to',
2637
+ ],
2638
+ type: 'object',
2639
+ },
2640
+ {
2641
+ description: 'Seam is in the process of pushing an entrance membership update to the integrated access system.',
2642
+ properties: {
2643
+ created_at: {
2644
+ description: 'Date and time at which the mutation was created.',
2645
+ format: 'date-time',
2646
+ type: 'string',
2647
+ },
2648
+ from: {
2649
+ description: 'Old entrance membership.',
2650
+ properties: {
2651
+ acs_entrance_id: {
2652
+ description: 'Old entrance ID.',
2653
+ format: 'uuid',
2654
+ nullable: true,
2655
+ type: 'string',
2656
+ },
2657
+ },
2658
+ required: ['acs_entrance_id'],
2659
+ type: 'object',
2660
+ },
2661
+ message: {
2662
+ description: 'Detailed description of the mutation.',
2663
+ type: 'string',
2664
+ },
2665
+ mutation_code: {
2666
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.',
2667
+ enum: ['updating_entrance_membership'],
2668
+ type: 'string',
2669
+ },
2670
+ to: {
2671
+ description: 'New entrance membership.',
2672
+ properties: {
2673
+ acs_entrance_id: {
2674
+ description: 'New entrance ID.',
2675
+ format: 'uuid',
2676
+ nullable: true,
2677
+ type: 'string',
2678
+ },
2679
+ },
2680
+ required: ['acs_entrance_id'],
2681
+ type: 'object',
2682
+ },
2683
+ },
2684
+ required: [
2685
+ 'created_at',
2686
+ 'message',
2687
+ 'mutation_code',
2688
+ 'from',
2689
+ 'to',
2690
+ ],
2691
+ type: 'object',
2692
+ },
2693
+ ],
2694
+ },
2695
+ type: 'array',
2696
+ },
2426
2697
  warnings: {
2427
2698
  description: 'Warnings associated with the `acs_access_group`.',
2428
2699
  items: {
@@ -2493,6 +2764,7 @@ export default {
2493
2764
  'external_type_display_name',
2494
2765
  'created_at',
2495
2766
  'warnings',
2767
+ 'pending_mutations',
2496
2768
  'is_managed',
2497
2769
  ],
2498
2770
  type: 'object',
@@ -23816,6 +24088,277 @@ export default {
23816
24088
  },
23817
24089
  is_managed: { enum: [false], type: 'boolean' },
23818
24090
  name: { description: 'Name of the access group.', type: 'string' },
24091
+ pending_mutations: {
24092
+ description: 'Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.',
24093
+ items: {
24094
+ discriminator: { propertyName: 'mutation_code' },
24095
+ oneOf: [
24096
+ {
24097
+ description: 'Seam is in the process of pushing an access group creation to the integrated access system.',
24098
+ properties: {
24099
+ created_at: {
24100
+ description: 'Date and time at which the mutation was created.',
24101
+ format: 'date-time',
24102
+ type: 'string',
24103
+ },
24104
+ message: {
24105
+ description: 'Detailed description of the mutation.',
24106
+ type: 'string',
24107
+ },
24108
+ mutation_code: {
24109
+ description: 'Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.',
24110
+ enum: ['creating'],
24111
+ type: 'string',
24112
+ },
24113
+ },
24114
+ required: ['created_at', 'message', 'mutation_code'],
24115
+ type: 'object',
24116
+ },
24117
+ {
24118
+ description: 'Seam is in the process of pushing an access group deletion to the integrated access system.',
24119
+ properties: {
24120
+ created_at: {
24121
+ description: 'Date and time at which the mutation was created.',
24122
+ format: 'date-time',
24123
+ type: 'string',
24124
+ },
24125
+ message: {
24126
+ description: 'Detailed description of the mutation.',
24127
+ type: 'string',
24128
+ },
24129
+ mutation_code: {
24130
+ description: 'Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.',
24131
+ enum: ['deleting'],
24132
+ type: 'string',
24133
+ },
24134
+ },
24135
+ required: ['created_at', 'message', 'mutation_code'],
24136
+ type: 'object',
24137
+ },
24138
+ {
24139
+ description: 'Seam is in the process of pushing an access group information update to the integrated access system.',
24140
+ properties: {
24141
+ created_at: {
24142
+ description: 'Date and time at which the mutation was created.',
24143
+ format: 'date-time',
24144
+ type: 'string',
24145
+ },
24146
+ from: {
24147
+ description: 'Old access group information.',
24148
+ properties: {
24149
+ name: {
24150
+ description: 'Name of the access group.',
24151
+ nullable: true,
24152
+ type: 'string',
24153
+ },
24154
+ },
24155
+ type: 'object',
24156
+ },
24157
+ message: {
24158
+ description: 'Detailed description of the mutation.',
24159
+ type: 'string',
24160
+ },
24161
+ mutation_code: {
24162
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.',
24163
+ enum: ['updating_group_information'],
24164
+ type: 'string',
24165
+ },
24166
+ to: {
24167
+ description: 'New access group information.',
24168
+ properties: {
24169
+ name: {
24170
+ description: 'Name of the access group.',
24171
+ nullable: true,
24172
+ type: 'string',
24173
+ },
24174
+ },
24175
+ type: 'object',
24176
+ },
24177
+ },
24178
+ required: [
24179
+ 'created_at',
24180
+ 'message',
24181
+ 'mutation_code',
24182
+ 'from',
24183
+ 'to',
24184
+ ],
24185
+ type: 'object',
24186
+ },
24187
+ {
24188
+ description: 'Seam is in the process of pushing an access schedule update to the integrated access system.',
24189
+ properties: {
24190
+ created_at: {
24191
+ description: 'Date and time at which the mutation was created.',
24192
+ format: 'date-time',
24193
+ type: 'string',
24194
+ },
24195
+ from: {
24196
+ description: 'Old access schedule information.',
24197
+ properties: {
24198
+ ends_at: {
24199
+ description: 'Ending time for the access schedule.',
24200
+ format: 'date-time',
24201
+ nullable: true,
24202
+ type: 'string',
24203
+ },
24204
+ starts_at: {
24205
+ description: 'Starting time for the access schedule.',
24206
+ format: 'date-time',
24207
+ nullable: true,
24208
+ type: 'string',
24209
+ },
24210
+ },
24211
+ required: ['starts_at', 'ends_at'],
24212
+ type: 'object',
24213
+ },
24214
+ message: {
24215
+ description: 'Detailed description of the mutation.',
24216
+ type: 'string',
24217
+ },
24218
+ mutation_code: {
24219
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.',
24220
+ enum: ['updating_access_schedule'],
24221
+ type: 'string',
24222
+ },
24223
+ to: {
24224
+ description: 'New access schedule information.',
24225
+ properties: {
24226
+ ends_at: {
24227
+ description: 'Ending time for the access schedule.',
24228
+ format: 'date-time',
24229
+ nullable: true,
24230
+ type: 'string',
24231
+ },
24232
+ starts_at: {
24233
+ description: 'Starting time for the access schedule.',
24234
+ format: 'date-time',
24235
+ nullable: true,
24236
+ type: 'string',
24237
+ },
24238
+ },
24239
+ required: ['starts_at', 'ends_at'],
24240
+ type: 'object',
24241
+ },
24242
+ },
24243
+ required: [
24244
+ 'created_at',
24245
+ 'message',
24246
+ 'mutation_code',
24247
+ 'from',
24248
+ 'to',
24249
+ ],
24250
+ type: 'object',
24251
+ },
24252
+ {
24253
+ description: 'Seam is in the process of pushing a user membership update to the integrated access system.',
24254
+ properties: {
24255
+ created_at: {
24256
+ description: 'Date and time at which the mutation was created.',
24257
+ format: 'date-time',
24258
+ type: 'string',
24259
+ },
24260
+ from: {
24261
+ description: 'Old user membership.',
24262
+ properties: {
24263
+ acs_user_id: {
24264
+ description: 'Old user ID.',
24265
+ format: 'uuid',
24266
+ nullable: true,
24267
+ type: 'string',
24268
+ },
24269
+ },
24270
+ required: ['acs_user_id'],
24271
+ type: 'object',
24272
+ },
24273
+ message: {
24274
+ description: 'Detailed description of the mutation.',
24275
+ type: 'string',
24276
+ },
24277
+ mutation_code: {
24278
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.',
24279
+ enum: ['updating_user_membership'],
24280
+ type: 'string',
24281
+ },
24282
+ to: {
24283
+ description: 'New user membership.',
24284
+ properties: {
24285
+ acs_user_id: {
24286
+ description: 'New user ID.',
24287
+ format: 'uuid',
24288
+ nullable: true,
24289
+ type: 'string',
24290
+ },
24291
+ },
24292
+ required: ['acs_user_id'],
24293
+ type: 'object',
24294
+ },
24295
+ },
24296
+ required: [
24297
+ 'created_at',
24298
+ 'message',
24299
+ 'mutation_code',
24300
+ 'from',
24301
+ 'to',
24302
+ ],
24303
+ type: 'object',
24304
+ },
24305
+ {
24306
+ description: 'Seam is in the process of pushing an entrance membership update to the integrated access system.',
24307
+ properties: {
24308
+ created_at: {
24309
+ description: 'Date and time at which the mutation was created.',
24310
+ format: 'date-time',
24311
+ type: 'string',
24312
+ },
24313
+ from: {
24314
+ description: 'Old entrance membership.',
24315
+ properties: {
24316
+ acs_entrance_id: {
24317
+ description: 'Old entrance ID.',
24318
+ format: 'uuid',
24319
+ nullable: true,
24320
+ type: 'string',
24321
+ },
24322
+ },
24323
+ required: ['acs_entrance_id'],
24324
+ type: 'object',
24325
+ },
24326
+ message: {
24327
+ description: 'Detailed description of the mutation.',
24328
+ type: 'string',
24329
+ },
24330
+ mutation_code: {
24331
+ description: 'Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.',
24332
+ enum: ['updating_entrance_membership'],
24333
+ type: 'string',
24334
+ },
24335
+ to: {
24336
+ description: 'New entrance membership.',
24337
+ properties: {
24338
+ acs_entrance_id: {
24339
+ description: 'New entrance ID.',
24340
+ format: 'uuid',
24341
+ nullable: true,
24342
+ type: 'string',
24343
+ },
24344
+ },
24345
+ required: ['acs_entrance_id'],
24346
+ type: 'object',
24347
+ },
24348
+ },
24349
+ required: [
24350
+ 'created_at',
24351
+ 'message',
24352
+ 'mutation_code',
24353
+ 'from',
24354
+ 'to',
24355
+ ],
24356
+ type: 'object',
24357
+ },
24358
+ ],
24359
+ },
24360
+ type: 'array',
24361
+ },
23819
24362
  warnings: {
23820
24363
  description: 'Warnings associated with the `acs_access_group`.',
23821
24364
  items: {
@@ -23886,6 +24429,7 @@ export default {
23886
24429
  'external_type_display_name',
23887
24430
  'created_at',
23888
24431
  'warnings',
24432
+ 'pending_mutations',
23889
24433
  'is_managed',
23890
24434
  ],
23891
24435
  type: 'object',