@seamapi/types 1.737.0 → 1.739.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 +1867 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4282 -348
  4. package/dist/index.cjs +1867 -18
  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 +1761 -0
  34. package/lib/seam/connect/openapi.js +1758 -0
  35. package/lib/seam/connect/openapi.js.map +1 -1
  36. package/lib/seam/connect/route-types.d.ts +789 -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 +1800 -0
  43. package/src/lib/seam/connect/route-types.ts +902 -0
@@ -14094,6 +14094,101 @@ export type Routes = {
14094
14094
  ends_at: string | null
14095
14095
  }
14096
14096
  | undefined
14097
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
14098
+ pending_mutations: (
14099
+ | {
14100
+ /** Date and time at which the mutation was created. */
14101
+ created_at: string
14102
+ /** Detailed description of the mutation. */
14103
+ message: string
14104
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
14105
+ mutation_code: 'creating'
14106
+ }
14107
+ | {
14108
+ /** Date and time at which the mutation was created. */
14109
+ created_at: string
14110
+ /** Detailed description of the mutation. */
14111
+ message: string
14112
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
14113
+ mutation_code: 'deleting'
14114
+ }
14115
+ | {
14116
+ /** Date and time at which the mutation was created. */
14117
+ created_at: string
14118
+ /** Detailed description of the mutation. */
14119
+ message: string
14120
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
14121
+ mutation_code: 'updating_group_information'
14122
+ /** Old access group information. */
14123
+ from: {
14124
+ /** Name of the access group. */
14125
+ name?: (string | null) | undefined
14126
+ }
14127
+ /** New access group information. */
14128
+ to: {
14129
+ /** Name of the access group. */
14130
+ name?: (string | null) | undefined
14131
+ }
14132
+ }
14133
+ | {
14134
+ /** Date and time at which the mutation was created. */
14135
+ created_at: string
14136
+ /** Detailed description of the mutation. */
14137
+ message: string
14138
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
14139
+ mutation_code: 'updating_access_schedule'
14140
+ /** Old access schedule information. */
14141
+ from: {
14142
+ /** Starting time for the access schedule. */
14143
+ starts_at: string | null
14144
+ /** Ending time for the access schedule. */
14145
+ ends_at: string | null
14146
+ }
14147
+ /** New access schedule information. */
14148
+ to: {
14149
+ /** Starting time for the access schedule. */
14150
+ starts_at: string | null
14151
+ /** Ending time for the access schedule. */
14152
+ ends_at: string | null
14153
+ }
14154
+ }
14155
+ | {
14156
+ /** Date and time at which the mutation was created. */
14157
+ created_at: string
14158
+ /** Detailed description of the mutation. */
14159
+ message: string
14160
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
14161
+ mutation_code: 'updating_user_membership'
14162
+ /** Old user membership. */
14163
+ from: {
14164
+ /** Old user ID. */
14165
+ acs_user_id: string | null
14166
+ }
14167
+ /** New user membership. */
14168
+ to: {
14169
+ /** New user ID. */
14170
+ acs_user_id: string | null
14171
+ }
14172
+ }
14173
+ | {
14174
+ /** Date and time at which the mutation was created. */
14175
+ created_at: string
14176
+ /** Detailed description of the mutation. */
14177
+ message: string
14178
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
14179
+ mutation_code: 'updating_entrance_membership'
14180
+ /** Old entrance membership. */
14181
+ from: {
14182
+ /** Old entrance ID. */
14183
+ acs_entrance_id: string | null
14184
+ }
14185
+ /** New entrance membership. */
14186
+ to: {
14187
+ /** New entrance ID. */
14188
+ acs_entrance_id: string | null
14189
+ }
14190
+ }
14191
+ )[]
14097
14192
  is_managed: true
14098
14193
  }[]
14099
14194
  | undefined
@@ -19463,6 +19558,101 @@ export type Routes = {
19463
19558
  ends_at: string | null
19464
19559
  }
19465
19560
  | undefined
19561
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
19562
+ pending_mutations: (
19563
+ | {
19564
+ /** Date and time at which the mutation was created. */
19565
+ created_at: string
19566
+ /** Detailed description of the mutation. */
19567
+ message: string
19568
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
19569
+ mutation_code: 'creating'
19570
+ }
19571
+ | {
19572
+ /** Date and time at which the mutation was created. */
19573
+ created_at: string
19574
+ /** Detailed description of the mutation. */
19575
+ message: string
19576
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
19577
+ mutation_code: 'deleting'
19578
+ }
19579
+ | {
19580
+ /** Date and time at which the mutation was created. */
19581
+ created_at: string
19582
+ /** Detailed description of the mutation. */
19583
+ message: string
19584
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
19585
+ mutation_code: 'updating_group_information'
19586
+ /** Old access group information. */
19587
+ from: {
19588
+ /** Name of the access group. */
19589
+ name?: (string | null) | undefined
19590
+ }
19591
+ /** New access group information. */
19592
+ to: {
19593
+ /** Name of the access group. */
19594
+ name?: (string | null) | undefined
19595
+ }
19596
+ }
19597
+ | {
19598
+ /** Date and time at which the mutation was created. */
19599
+ created_at: string
19600
+ /** Detailed description of the mutation. */
19601
+ message: string
19602
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
19603
+ mutation_code: 'updating_access_schedule'
19604
+ /** Old access schedule information. */
19605
+ from: {
19606
+ /** Starting time for the access schedule. */
19607
+ starts_at: string | null
19608
+ /** Ending time for the access schedule. */
19609
+ ends_at: string | null
19610
+ }
19611
+ /** New access schedule information. */
19612
+ to: {
19613
+ /** Starting time for the access schedule. */
19614
+ starts_at: string | null
19615
+ /** Ending time for the access schedule. */
19616
+ ends_at: string | null
19617
+ }
19618
+ }
19619
+ | {
19620
+ /** Date and time at which the mutation was created. */
19621
+ created_at: string
19622
+ /** Detailed description of the mutation. */
19623
+ message: string
19624
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
19625
+ mutation_code: 'updating_user_membership'
19626
+ /** Old user membership. */
19627
+ from: {
19628
+ /** Old user ID. */
19629
+ acs_user_id: string | null
19630
+ }
19631
+ /** New user membership. */
19632
+ to: {
19633
+ /** New user ID. */
19634
+ acs_user_id: string | null
19635
+ }
19636
+ }
19637
+ | {
19638
+ /** Date and time at which the mutation was created. */
19639
+ created_at: string
19640
+ /** Detailed description of the mutation. */
19641
+ message: string
19642
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
19643
+ mutation_code: 'updating_entrance_membership'
19644
+ /** Old entrance membership. */
19645
+ from: {
19646
+ /** Old entrance ID. */
19647
+ acs_entrance_id: string | null
19648
+ }
19649
+ /** New entrance membership. */
19650
+ to: {
19651
+ /** New entrance ID. */
19652
+ acs_entrance_id: string | null
19653
+ }
19654
+ }
19655
+ )[]
19466
19656
  is_managed: true
19467
19657
  }
19468
19658
  }
@@ -19551,6 +19741,101 @@ export type Routes = {
19551
19741
  ends_at: string | null
19552
19742
  }
19553
19743
  | undefined
19744
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
19745
+ pending_mutations: (
19746
+ | {
19747
+ /** Date and time at which the mutation was created. */
19748
+ created_at: string
19749
+ /** Detailed description of the mutation. */
19750
+ message: string
19751
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
19752
+ mutation_code: 'creating'
19753
+ }
19754
+ | {
19755
+ /** Date and time at which the mutation was created. */
19756
+ created_at: string
19757
+ /** Detailed description of the mutation. */
19758
+ message: string
19759
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
19760
+ mutation_code: 'deleting'
19761
+ }
19762
+ | {
19763
+ /** Date and time at which the mutation was created. */
19764
+ created_at: string
19765
+ /** Detailed description of the mutation. */
19766
+ message: string
19767
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
19768
+ mutation_code: 'updating_group_information'
19769
+ /** Old access group information. */
19770
+ from: {
19771
+ /** Name of the access group. */
19772
+ name?: (string | null) | undefined
19773
+ }
19774
+ /** New access group information. */
19775
+ to: {
19776
+ /** Name of the access group. */
19777
+ name?: (string | null) | undefined
19778
+ }
19779
+ }
19780
+ | {
19781
+ /** Date and time at which the mutation was created. */
19782
+ created_at: string
19783
+ /** Detailed description of the mutation. */
19784
+ message: string
19785
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
19786
+ mutation_code: 'updating_access_schedule'
19787
+ /** Old access schedule information. */
19788
+ from: {
19789
+ /** Starting time for the access schedule. */
19790
+ starts_at: string | null
19791
+ /** Ending time for the access schedule. */
19792
+ ends_at: string | null
19793
+ }
19794
+ /** New access schedule information. */
19795
+ to: {
19796
+ /** Starting time for the access schedule. */
19797
+ starts_at: string | null
19798
+ /** Ending time for the access schedule. */
19799
+ ends_at: string | null
19800
+ }
19801
+ }
19802
+ | {
19803
+ /** Date and time at which the mutation was created. */
19804
+ created_at: string
19805
+ /** Detailed description of the mutation. */
19806
+ message: string
19807
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
19808
+ mutation_code: 'updating_user_membership'
19809
+ /** Old user membership. */
19810
+ from: {
19811
+ /** Old user ID. */
19812
+ acs_user_id: string | null
19813
+ }
19814
+ /** New user membership. */
19815
+ to: {
19816
+ /** New user ID. */
19817
+ acs_user_id: string | null
19818
+ }
19819
+ }
19820
+ | {
19821
+ /** Date and time at which the mutation was created. */
19822
+ created_at: string
19823
+ /** Detailed description of the mutation. */
19824
+ message: string
19825
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
19826
+ mutation_code: 'updating_entrance_membership'
19827
+ /** Old entrance membership. */
19828
+ from: {
19829
+ /** Old entrance ID. */
19830
+ acs_entrance_id: string | null
19831
+ }
19832
+ /** New entrance membership. */
19833
+ to: {
19834
+ /** New entrance ID. */
19835
+ acs_entrance_id: string | null
19836
+ }
19837
+ }
19838
+ )[]
19554
19839
  is_managed: true
19555
19840
  }[]
19556
19841
  }
@@ -20097,6 +20382,101 @@ export type Routes = {
20097
20382
  ends_at: string | null
20098
20383
  }
20099
20384
  | undefined
20385
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
20386
+ pending_mutations: (
20387
+ | {
20388
+ /** Date and time at which the mutation was created. */
20389
+ created_at: string
20390
+ /** Detailed description of the mutation. */
20391
+ message: string
20392
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
20393
+ mutation_code: 'creating'
20394
+ }
20395
+ | {
20396
+ /** Date and time at which the mutation was created. */
20397
+ created_at: string
20398
+ /** Detailed description of the mutation. */
20399
+ message: string
20400
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
20401
+ mutation_code: 'deleting'
20402
+ }
20403
+ | {
20404
+ /** Date and time at which the mutation was created. */
20405
+ created_at: string
20406
+ /** Detailed description of the mutation. */
20407
+ message: string
20408
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
20409
+ mutation_code: 'updating_group_information'
20410
+ /** Old access group information. */
20411
+ from: {
20412
+ /** Name of the access group. */
20413
+ name?: (string | null) | undefined
20414
+ }
20415
+ /** New access group information. */
20416
+ to: {
20417
+ /** Name of the access group. */
20418
+ name?: (string | null) | undefined
20419
+ }
20420
+ }
20421
+ | {
20422
+ /** Date and time at which the mutation was created. */
20423
+ created_at: string
20424
+ /** Detailed description of the mutation. */
20425
+ message: string
20426
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
20427
+ mutation_code: 'updating_access_schedule'
20428
+ /** Old access schedule information. */
20429
+ from: {
20430
+ /** Starting time for the access schedule. */
20431
+ starts_at: string | null
20432
+ /** Ending time for the access schedule. */
20433
+ ends_at: string | null
20434
+ }
20435
+ /** New access schedule information. */
20436
+ to: {
20437
+ /** Starting time for the access schedule. */
20438
+ starts_at: string | null
20439
+ /** Ending time for the access schedule. */
20440
+ ends_at: string | null
20441
+ }
20442
+ }
20443
+ | {
20444
+ /** Date and time at which the mutation was created. */
20445
+ created_at: string
20446
+ /** Detailed description of the mutation. */
20447
+ message: string
20448
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
20449
+ mutation_code: 'updating_user_membership'
20450
+ /** Old user membership. */
20451
+ from: {
20452
+ /** Old user ID. */
20453
+ acs_user_id: string | null
20454
+ }
20455
+ /** New user membership. */
20456
+ to: {
20457
+ /** New user ID. */
20458
+ acs_user_id: string | null
20459
+ }
20460
+ }
20461
+ | {
20462
+ /** Date and time at which the mutation was created. */
20463
+ created_at: string
20464
+ /** Detailed description of the mutation. */
20465
+ message: string
20466
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
20467
+ mutation_code: 'updating_entrance_membership'
20468
+ /** Old entrance membership. */
20469
+ from: {
20470
+ /** Old entrance ID. */
20471
+ acs_entrance_id: string | null
20472
+ }
20473
+ /** New entrance membership. */
20474
+ to: {
20475
+ /** New entrance ID. */
20476
+ acs_entrance_id: string | null
20477
+ }
20478
+ }
20479
+ )[]
20100
20480
  is_managed: false
20101
20481
  }
20102
20482
  }
@@ -20183,6 +20563,101 @@ export type Routes = {
20183
20563
  ends_at: string | null
20184
20564
  }
20185
20565
  | undefined
20566
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
20567
+ pending_mutations: (
20568
+ | {
20569
+ /** Date and time at which the mutation was created. */
20570
+ created_at: string
20571
+ /** Detailed description of the mutation. */
20572
+ message: string
20573
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
20574
+ mutation_code: 'creating'
20575
+ }
20576
+ | {
20577
+ /** Date and time at which the mutation was created. */
20578
+ created_at: string
20579
+ /** Detailed description of the mutation. */
20580
+ message: string
20581
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
20582
+ mutation_code: 'deleting'
20583
+ }
20584
+ | {
20585
+ /** Date and time at which the mutation was created. */
20586
+ created_at: string
20587
+ /** Detailed description of the mutation. */
20588
+ message: string
20589
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
20590
+ mutation_code: 'updating_group_information'
20591
+ /** Old access group information. */
20592
+ from: {
20593
+ /** Name of the access group. */
20594
+ name?: (string | null) | undefined
20595
+ }
20596
+ /** New access group information. */
20597
+ to: {
20598
+ /** Name of the access group. */
20599
+ name?: (string | null) | undefined
20600
+ }
20601
+ }
20602
+ | {
20603
+ /** Date and time at which the mutation was created. */
20604
+ created_at: string
20605
+ /** Detailed description of the mutation. */
20606
+ message: string
20607
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
20608
+ mutation_code: 'updating_access_schedule'
20609
+ /** Old access schedule information. */
20610
+ from: {
20611
+ /** Starting time for the access schedule. */
20612
+ starts_at: string | null
20613
+ /** Ending time for the access schedule. */
20614
+ ends_at: string | null
20615
+ }
20616
+ /** New access schedule information. */
20617
+ to: {
20618
+ /** Starting time for the access schedule. */
20619
+ starts_at: string | null
20620
+ /** Ending time for the access schedule. */
20621
+ ends_at: string | null
20622
+ }
20623
+ }
20624
+ | {
20625
+ /** Date and time at which the mutation was created. */
20626
+ created_at: string
20627
+ /** Detailed description of the mutation. */
20628
+ message: string
20629
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
20630
+ mutation_code: 'updating_user_membership'
20631
+ /** Old user membership. */
20632
+ from: {
20633
+ /** Old user ID. */
20634
+ acs_user_id: string | null
20635
+ }
20636
+ /** New user membership. */
20637
+ to: {
20638
+ /** New user ID. */
20639
+ acs_user_id: string | null
20640
+ }
20641
+ }
20642
+ | {
20643
+ /** Date and time at which the mutation was created. */
20644
+ created_at: string
20645
+ /** Detailed description of the mutation. */
20646
+ message: string
20647
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
20648
+ mutation_code: 'updating_entrance_membership'
20649
+ /** Old entrance membership. */
20650
+ from: {
20651
+ /** Old entrance ID. */
20652
+ acs_entrance_id: string | null
20653
+ }
20654
+ /** New entrance membership. */
20655
+ to: {
20656
+ /** New entrance ID. */
20657
+ acs_entrance_id: string | null
20658
+ }
20659
+ }
20660
+ )[]
20186
20661
  is_managed: false
20187
20662
  }[]
20188
20663
  }
@@ -68822,6 +69297,243 @@ export type Routes = {
68822
69297
  }
68823
69298
  maxDuration: undefined
68824
69299
  }
69300
+ '/seam/customer/v1/customers/automations/get': {
69301
+ route: '/seam/customer/v1/customers/automations/get'
69302
+ method: 'GET' | 'POST'
69303
+ queryParams: {}
69304
+ jsonBody: {}
69305
+ commonParams: {
69306
+ /** Key of the customer. */
69307
+ customer_key: string
69308
+ }
69309
+ formData: {}
69310
+ jsonResponse: {
69311
+ automation: {
69312
+ access_rules?:
69313
+ | {
69314
+ reservation_created?:
69315
+ | {
69316
+ rule: 'reservation_created'
69317
+ config: {
69318
+ access_methods: ('card' | 'mobile_key' | 'code')[]
69319
+ method_issuance_strategy:
69320
+ | 'first_available'
69321
+ | 'first_two_available'
69322
+ | 'all_available'
69323
+ card_count_on_reservation_create?: number | undefined
69324
+ code_count_on_reservation_create?: number | undefined
69325
+ instant_key_max_use_count?: number | undefined
69326
+ }
69327
+ }
69328
+ | undefined
69329
+ reservation_time_updated?:
69330
+ | {
69331
+ rule: 'reservation_time_updated'
69332
+ config?: {} | undefined
69333
+ }
69334
+ | undefined
69335
+ reservation_spaces_updated?:
69336
+ | {
69337
+ rule: 'reservation_spaces_updated'
69338
+ config?: {} | undefined
69339
+ }
69340
+ | undefined
69341
+ reservation_deleted?:
69342
+ | {
69343
+ rule: 'reservation_deleted'
69344
+ config?: {} | undefined
69345
+ }
69346
+ | undefined
69347
+ space_name_updated?:
69348
+ | {
69349
+ rule: 'space_name_updated'
69350
+ config?: {} | undefined
69351
+ }
69352
+ | undefined
69353
+ user_identity_name_updated?:
69354
+ | {
69355
+ rule: 'user_identity_name_updated'
69356
+ config?: {} | undefined
69357
+ }
69358
+ | undefined
69359
+ staff_member_name_updated?:
69360
+ | {
69361
+ rule: 'staff_member_name_updated'
69362
+ config?: {} | undefined
69363
+ }
69364
+ | undefined
69365
+ staff_member_created?:
69366
+ | {
69367
+ rule: 'staff_member_created'
69368
+ config: {}
69369
+ }
69370
+ | undefined
69371
+ }
69372
+ | undefined
69373
+ climate_rules?:
69374
+ | {
69375
+ rules: {
69376
+ reservation_created?:
69377
+ | {
69378
+ occupied_preset_key?: string | undefined
69379
+ automated_occupied_preset?:
69380
+ | {
69381
+ mode: 'heat' | 'cool' | 'auto'
69382
+ heating_set_point_celsius?: number | undefined
69383
+ heating_set_point_fahrenheit?: number | undefined
69384
+ cooling_set_point_celsius?: number | undefined
69385
+ cooling_set_point_fahrenheit?: number | undefined
69386
+ fan_mode: 'on' | 'auto' | 'circulate'
69387
+ is_override_allowed: boolean
69388
+ max_override_period_minutes: number
69389
+ }
69390
+ | undefined
69391
+ unoccupied_preset_key?: string | undefined
69392
+ automated_unoccupied_preset?:
69393
+ | {
69394
+ mode: 'heat' | 'cool' | 'auto'
69395
+ heating_set_point_celsius?: number | undefined
69396
+ heating_set_point_fahrenheit?: number | undefined
69397
+ cooling_set_point_celsius?: number | undefined
69398
+ cooling_set_point_fahrenheit?: number | undefined
69399
+ fan_mode: 'on' | 'auto' | 'circulate'
69400
+ is_override_allowed: boolean
69401
+ max_override_period_minutes: number
69402
+ }
69403
+ | undefined
69404
+ precondition_minutes_before_reservation?:
69405
+ | number
69406
+ | undefined
69407
+ }
69408
+ | undefined
69409
+ reservation_time_updated?: {} | undefined
69410
+ reservation_deleted?: {} | undefined
69411
+ }
69412
+ }
69413
+ | undefined
69414
+ }
69415
+ }
69416
+ maxDuration: undefined
69417
+ }
69418
+ '/seam/customer/v1/customers/automations/update': {
69419
+ route: '/seam/customer/v1/customers/automations/update'
69420
+ method: 'PATCH' | 'POST'
69421
+ queryParams: {}
69422
+ jsonBody: {
69423
+ /** Key of the customer. */
69424
+ customer_key: string
69425
+ /** Access automation rules configuration. */
69426
+ access_rules?:
69427
+ | {
69428
+ reservation_created?:
69429
+ | {
69430
+ rule: 'reservation_created'
69431
+ config: {
69432
+ access_methods: ('card' | 'mobile_key' | 'code')[]
69433
+ method_issuance_strategy:
69434
+ | 'first_available'
69435
+ | 'first_two_available'
69436
+ | 'all_available'
69437
+ card_count_on_reservation_create?: number | undefined
69438
+ code_count_on_reservation_create?: number | undefined
69439
+ instant_key_max_use_count?: number | undefined
69440
+ }
69441
+ }
69442
+ | undefined
69443
+ reservation_time_updated?:
69444
+ | {
69445
+ rule: 'reservation_time_updated'
69446
+ config?: {} | undefined
69447
+ }
69448
+ | undefined
69449
+ reservation_spaces_updated?:
69450
+ | {
69451
+ rule: 'reservation_spaces_updated'
69452
+ config?: {} | undefined
69453
+ }
69454
+ | undefined
69455
+ reservation_deleted?:
69456
+ | {
69457
+ rule: 'reservation_deleted'
69458
+ config?: {} | undefined
69459
+ }
69460
+ | undefined
69461
+ space_name_updated?:
69462
+ | {
69463
+ rule: 'space_name_updated'
69464
+ config?: {} | undefined
69465
+ }
69466
+ | undefined
69467
+ user_identity_name_updated?:
69468
+ | {
69469
+ rule: 'user_identity_name_updated'
69470
+ config?: {} | undefined
69471
+ }
69472
+ | undefined
69473
+ staff_member_name_updated?:
69474
+ | {
69475
+ rule: 'staff_member_name_updated'
69476
+ config?: {} | undefined
69477
+ }
69478
+ | undefined
69479
+ staff_member_created?:
69480
+ | {
69481
+ rule: 'staff_member_created'
69482
+ config: {}
69483
+ }
69484
+ | undefined
69485
+ }
69486
+ | undefined
69487
+ /** Climate automation rules configuration. */
69488
+ climate_rules?:
69489
+ | {
69490
+ rules?:
69491
+ | {
69492
+ reservation_created?:
69493
+ | {
69494
+ occupied_preset_key?: string | undefined
69495
+ automated_occupied_preset?:
69496
+ | {
69497
+ mode: 'heat' | 'cool' | 'auto'
69498
+ heating_set_point_celsius?: number | undefined
69499
+ heating_set_point_fahrenheit?: number | undefined
69500
+ cooling_set_point_celsius?: number | undefined
69501
+ cooling_set_point_fahrenheit?: number | undefined
69502
+ fan_mode: 'on' | 'auto' | 'circulate'
69503
+ is_override_allowed: boolean
69504
+ max_override_period_minutes: number
69505
+ }
69506
+ | undefined
69507
+ unoccupied_preset_key?: string | undefined
69508
+ automated_unoccupied_preset?:
69509
+ | {
69510
+ mode: 'heat' | 'cool' | 'auto'
69511
+ heating_set_point_celsius?: number | undefined
69512
+ heating_set_point_fahrenheit?: number | undefined
69513
+ cooling_set_point_celsius?: number | undefined
69514
+ cooling_set_point_fahrenheit?: number | undefined
69515
+ fan_mode: 'on' | 'auto' | 'circulate'
69516
+ is_override_allowed: boolean
69517
+ max_override_period_minutes: number
69518
+ }
69519
+ | undefined
69520
+ precondition_minutes_before_reservation?:
69521
+ | number
69522
+ | undefined
69523
+ }
69524
+ | undefined
69525
+ reservation_time_updated?: {} | undefined
69526
+ reservation_deleted?: {} | undefined
69527
+ }
69528
+ | undefined
69529
+ }
69530
+ | undefined
69531
+ }
69532
+ commonParams: {}
69533
+ formData: {}
69534
+ jsonResponse: {}
69535
+ maxDuration: undefined
69536
+ }
68825
69537
  '/seam/customer/v1/customers/list': {
68826
69538
  route: '/seam/customer/v1/customers/list'
68827
69539
  method: 'GET' | 'POST'
@@ -102301,6 +103013,101 @@ export type Routes = {
102301
103013
  ends_at: string | null
102302
103014
  }
102303
103015
  | undefined
103016
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
103017
+ pending_mutations: (
103018
+ | {
103019
+ /** Date and time at which the mutation was created. */
103020
+ created_at: string
103021
+ /** Detailed description of the mutation. */
103022
+ message: string
103023
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
103024
+ mutation_code: 'creating'
103025
+ }
103026
+ | {
103027
+ /** Date and time at which the mutation was created. */
103028
+ created_at: string
103029
+ /** Detailed description of the mutation. */
103030
+ message: string
103031
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
103032
+ mutation_code: 'deleting'
103033
+ }
103034
+ | {
103035
+ /** Date and time at which the mutation was created. */
103036
+ created_at: string
103037
+ /** Detailed description of the mutation. */
103038
+ message: string
103039
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
103040
+ mutation_code: 'updating_group_information'
103041
+ /** Old access group information. */
103042
+ from: {
103043
+ /** Name of the access group. */
103044
+ name?: (string | null) | undefined
103045
+ }
103046
+ /** New access group information. */
103047
+ to: {
103048
+ /** Name of the access group. */
103049
+ name?: (string | null) | undefined
103050
+ }
103051
+ }
103052
+ | {
103053
+ /** Date and time at which the mutation was created. */
103054
+ created_at: string
103055
+ /** Detailed description of the mutation. */
103056
+ message: string
103057
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
103058
+ mutation_code: 'updating_access_schedule'
103059
+ /** Old access schedule information. */
103060
+ from: {
103061
+ /** Starting time for the access schedule. */
103062
+ starts_at: string | null
103063
+ /** Ending time for the access schedule. */
103064
+ ends_at: string | null
103065
+ }
103066
+ /** New access schedule information. */
103067
+ to: {
103068
+ /** Starting time for the access schedule. */
103069
+ starts_at: string | null
103070
+ /** Ending time for the access schedule. */
103071
+ ends_at: string | null
103072
+ }
103073
+ }
103074
+ | {
103075
+ /** Date and time at which the mutation was created. */
103076
+ created_at: string
103077
+ /** Detailed description of the mutation. */
103078
+ message: string
103079
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
103080
+ mutation_code: 'updating_user_membership'
103081
+ /** Old user membership. */
103082
+ from: {
103083
+ /** Old user ID. */
103084
+ acs_user_id: string | null
103085
+ }
103086
+ /** New user membership. */
103087
+ to: {
103088
+ /** New user ID. */
103089
+ acs_user_id: string | null
103090
+ }
103091
+ }
103092
+ | {
103093
+ /** Date and time at which the mutation was created. */
103094
+ created_at: string
103095
+ /** Detailed description of the mutation. */
103096
+ message: string
103097
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
103098
+ mutation_code: 'updating_entrance_membership'
103099
+ /** Old entrance membership. */
103100
+ from: {
103101
+ /** Old entrance ID. */
103102
+ acs_entrance_id: string | null
103103
+ }
103104
+ /** New entrance membership. */
103105
+ to: {
103106
+ /** New entrance ID. */
103107
+ acs_entrance_id: string | null
103108
+ }
103109
+ }
103110
+ )[]
102304
103111
  is_managed: true
102305
103112
  }[]
102306
103113
  | undefined
@@ -104161,6 +104968,101 @@ export type Routes = {
104161
104968
  ends_at: string | null
104162
104969
  }
104163
104970
  | undefined
104971
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
104972
+ pending_mutations: (
104973
+ | {
104974
+ /** Date and time at which the mutation was created. */
104975
+ created_at: string
104976
+ /** Detailed description of the mutation. */
104977
+ message: string
104978
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
104979
+ mutation_code: 'creating'
104980
+ }
104981
+ | {
104982
+ /** Date and time at which the mutation was created. */
104983
+ created_at: string
104984
+ /** Detailed description of the mutation. */
104985
+ message: string
104986
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
104987
+ mutation_code: 'deleting'
104988
+ }
104989
+ | {
104990
+ /** Date and time at which the mutation was created. */
104991
+ created_at: string
104992
+ /** Detailed description of the mutation. */
104993
+ message: string
104994
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
104995
+ mutation_code: 'updating_group_information'
104996
+ /** Old access group information. */
104997
+ from: {
104998
+ /** Name of the access group. */
104999
+ name?: (string | null) | undefined
105000
+ }
105001
+ /** New access group information. */
105002
+ to: {
105003
+ /** Name of the access group. */
105004
+ name?: (string | null) | undefined
105005
+ }
105006
+ }
105007
+ | {
105008
+ /** Date and time at which the mutation was created. */
105009
+ created_at: string
105010
+ /** Detailed description of the mutation. */
105011
+ message: string
105012
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
105013
+ mutation_code: 'updating_access_schedule'
105014
+ /** Old access schedule information. */
105015
+ from: {
105016
+ /** Starting time for the access schedule. */
105017
+ starts_at: string | null
105018
+ /** Ending time for the access schedule. */
105019
+ ends_at: string | null
105020
+ }
105021
+ /** New access schedule information. */
105022
+ to: {
105023
+ /** Starting time for the access schedule. */
105024
+ starts_at: string | null
105025
+ /** Ending time for the access schedule. */
105026
+ ends_at: string | null
105027
+ }
105028
+ }
105029
+ | {
105030
+ /** Date and time at which the mutation was created. */
105031
+ created_at: string
105032
+ /** Detailed description of the mutation. */
105033
+ message: string
105034
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
105035
+ mutation_code: 'updating_user_membership'
105036
+ /** Old user membership. */
105037
+ from: {
105038
+ /** Old user ID. */
105039
+ acs_user_id: string | null
105040
+ }
105041
+ /** New user membership. */
105042
+ to: {
105043
+ /** New user ID. */
105044
+ acs_user_id: string | null
105045
+ }
105046
+ }
105047
+ | {
105048
+ /** Date and time at which the mutation was created. */
105049
+ created_at: string
105050
+ /** Detailed description of the mutation. */
105051
+ message: string
105052
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
105053
+ mutation_code: 'updating_entrance_membership'
105054
+ /** Old entrance membership. */
105055
+ from: {
105056
+ /** Old entrance ID. */
105057
+ acs_entrance_id: string | null
105058
+ }
105059
+ /** New entrance membership. */
105060
+ to: {
105061
+ /** New entrance ID. */
105062
+ acs_entrance_id: string | null
105063
+ }
105064
+ }
105065
+ )[]
104164
105066
  is_managed: false
104165
105067
  }[]
104166
105068
  | undefined