@seamapi/types 1.605.0 → 1.607.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 (31) hide show
  1. package/dist/connect.cjs +316 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +412 -1
  4. package/dist/index.cjs +316 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +6 -0
  7. package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/batch.d.ts +25 -0
  10. package/lib/seam/connect/models/customer/customer-data.d.ts +34 -0
  11. package/lib/seam/connect/models/customer/customer-data.js +5 -1
  12. package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
  13. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +39 -0
  14. package/lib/seam/connect/models/customer/user-identity-resources.js +15 -0
  15. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
  16. package/lib/seam/connect/models/phones/phone-session.d.ts +16 -0
  17. package/lib/seam/connect/openapi.d.ts +293 -0
  18. package/lib/seam/connect/openapi.js +266 -0
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +88 -0
  21. package/lib/seam/connect/schemas.d.ts +1 -1
  22. package/lib/seam/connect/schemas.js +1 -1
  23. package/lib/seam/connect/schemas.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  27. package/src/lib/seam/connect/models/customer/customer-data.ts +5 -0
  28. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +18 -0
  29. package/src/lib/seam/connect/openapi.ts +287 -0
  30. package/src/lib/seam/connect/route-types.ts +92 -0
  31. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -4684,6 +4684,7 @@ declare const acs_entrance: z.ZodObject<{
4684
4684
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
4685
4685
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
4686
4686
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
4687
+ can_belong_to_reservation: z.ZodOptional<z.ZodBoolean>;
4687
4688
  }, "strip", z.ZodTypeAny, {
4688
4689
  display_name: string;
4689
4690
  created_at: string;
@@ -4723,6 +4724,7 @@ declare const acs_entrance: z.ZodObject<{
4723
4724
  can_unlock_with_code?: boolean | undefined;
4724
4725
  can_unlock_with_mobile_key?: boolean | undefined;
4725
4726
  can_unlock_with_card?: boolean | undefined;
4727
+ can_belong_to_reservation?: boolean | undefined;
4726
4728
  latch_metadata?: {
4727
4729
  door_name: string;
4728
4730
  is_connected: boolean;
@@ -4787,6 +4789,7 @@ declare const acs_entrance: z.ZodObject<{
4787
4789
  can_unlock_with_code?: boolean | undefined;
4788
4790
  can_unlock_with_mobile_key?: boolean | undefined;
4789
4791
  can_unlock_with_card?: boolean | undefined;
4792
+ can_belong_to_reservation?: boolean | undefined;
4790
4793
  latch_metadata?: {
4791
4794
  door_name: string;
4792
4795
  is_connected: boolean;
@@ -14774,6 +14777,7 @@ declare const batch: z.ZodObject<{
14774
14777
  can_unlock_with_mobile_key: z.ZodOptional<z.ZodBoolean>;
14775
14778
  can_unlock_with_card: z.ZodOptional<z.ZodBoolean>;
14776
14779
  can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
14780
+ can_belong_to_reservation: z.ZodOptional<z.ZodBoolean>;
14777
14781
  }, "strip", z.ZodTypeAny, {
14778
14782
  display_name: string;
14779
14783
  created_at: string;
@@ -14813,6 +14817,7 @@ declare const batch: z.ZodObject<{
14813
14817
  can_unlock_with_code?: boolean | undefined;
14814
14818
  can_unlock_with_mobile_key?: boolean | undefined;
14815
14819
  can_unlock_with_card?: boolean | undefined;
14820
+ can_belong_to_reservation?: boolean | undefined;
14816
14821
  latch_metadata?: {
14817
14822
  door_name: string;
14818
14823
  is_connected: boolean;
@@ -14877,6 +14882,7 @@ declare const batch: z.ZodObject<{
14877
14882
  can_unlock_with_code?: boolean | undefined;
14878
14883
  can_unlock_with_mobile_key?: boolean | undefined;
14879
14884
  can_unlock_with_card?: boolean | undefined;
14885
+ can_belong_to_reservation?: boolean | undefined;
14880
14886
  latch_metadata?: {
14881
14887
  door_name: string;
14882
14888
  is_connected: boolean;
@@ -31711,6 +31717,7 @@ declare const batch: z.ZodObject<{
31711
31717
  can_unlock_with_code?: boolean | undefined;
31712
31718
  can_unlock_with_mobile_key?: boolean | undefined;
31713
31719
  can_unlock_with_card?: boolean | undefined;
31720
+ can_belong_to_reservation?: boolean | undefined;
31714
31721
  latch_metadata?: {
31715
31722
  door_name: string;
31716
31723
  is_connected: boolean;
@@ -35621,6 +35628,7 @@ declare const batch: z.ZodObject<{
35621
35628
  can_unlock_with_code?: boolean | undefined;
35622
35629
  can_unlock_with_mobile_key?: boolean | undefined;
35623
35630
  can_unlock_with_card?: boolean | undefined;
35631
+ can_belong_to_reservation?: boolean | undefined;
35624
35632
  latch_metadata?: {
35625
35633
  door_name: string;
35626
35634
  is_connected: boolean;
@@ -39632,6 +39640,27 @@ type ConnectedAccount = z.infer<typeof connected_account>;
39632
39640
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
39633
39641
  type CustomMetadata = z.output<typeof custom_metadata>;
39634
39642
 
39643
+ declare const staff_member_resource: z.ZodObject<{
39644
+ name: z.ZodString;
39645
+ email_address: z.ZodOptional<z.ZodString>;
39646
+ phone_number: z.ZodOptional<z.ZodString>;
39647
+ } & {
39648
+ staff_member_key: z.ZodString;
39649
+ site_keys: z.ZodArray<z.ZodString, "many">;
39650
+ }, "strip", z.ZodTypeAny, {
39651
+ name: string;
39652
+ staff_member_key: string;
39653
+ site_keys: string[];
39654
+ email_address?: string | undefined;
39655
+ phone_number?: string | undefined;
39656
+ }, {
39657
+ name: string;
39658
+ staff_member_key: string;
39659
+ site_keys: string[];
39660
+ email_address?: string | undefined;
39661
+ phone_number?: string | undefined;
39662
+ }>;
39663
+
39635
39664
  declare const customization_profile: z.ZodObject<{
39636
39665
  workspace_id: z.ZodString;
39637
39666
  name: z.ZodNullable<z.ZodString>;
@@ -51479,6 +51508,7 @@ declare const schemas_magic_link: typeof magic_link;
51479
51508
  declare const schemas_noise_threshold: typeof noise_threshold;
51480
51509
  declare const schemas_pagination: typeof pagination;
51481
51510
  declare const schemas_seam_event: typeof seam_event;
51511
+ declare const schemas_staff_member_resource: typeof staff_member_resource;
51482
51512
  declare const schemas_thermostat_daily_program: typeof thermostat_daily_program;
51483
51513
  declare const schemas_thermostat_schedule: typeof thermostat_schedule;
51484
51514
  declare const schemas_thermostat_weekly_program: typeof thermostat_weekly_program;
@@ -51491,7 +51521,7 @@ declare const schemas_user_identity: typeof user_identity;
51491
51521
  declare const schemas_webhook: typeof webhook;
51492
51522
  declare const schemas_workspace: typeof workspace;
51493
51523
  declare namespace schemas {
51494
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
51524
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
51495
51525
  }
51496
51526
 
51497
51527
  declare const _default: {
@@ -52653,6 +52683,10 @@ declare const _default: {
52653
52683
  required: string[];
52654
52684
  type: string;
52655
52685
  };
52686
+ can_belong_to_reservation: {
52687
+ description: string;
52688
+ type: string;
52689
+ };
52656
52690
  can_unlock_with_card: {
52657
52691
  description: string;
52658
52692
  type: string;
@@ -63013,6 +63047,10 @@ declare const _default: {
63013
63047
  required: string[];
63014
63048
  type: string;
63015
63049
  };
63050
+ can_belong_to_reservation: {
63051
+ description: string;
63052
+ type: string;
63053
+ };
63016
63054
  can_unlock_with_card: {
63017
63055
  description: string;
63018
63056
  type: string;
@@ -63706,6 +63744,37 @@ declare const _default: {
63706
63744
  'x-draft': string;
63707
63745
  'x-route-path': string;
63708
63746
  };
63747
+ staff_member: {
63748
+ description: string;
63749
+ properties: {
63750
+ email_address: {
63751
+ description: string;
63752
+ type: string;
63753
+ };
63754
+ name: {
63755
+ description: string;
63756
+ type: string;
63757
+ };
63758
+ phone_number: {
63759
+ description: string;
63760
+ type: string;
63761
+ };
63762
+ site_keys: {
63763
+ description: string;
63764
+ items: {
63765
+ type: string;
63766
+ };
63767
+ type: string;
63768
+ };
63769
+ staff_member_key: {
63770
+ description: string;
63771
+ type: string;
63772
+ };
63773
+ };
63774
+ required: string[];
63775
+ type: string;
63776
+ 'x-route-path': string;
63777
+ };
63709
63778
  thermostat_daily_program: {
63710
63779
  description: string;
63711
63780
  properties: {
@@ -84093,6 +84162,41 @@ declare const _default: {
84093
84162
  };
84094
84163
  type: string;
84095
84164
  };
84165
+ staff_members: {
84166
+ description: string;
84167
+ items: {
84168
+ description: string;
84169
+ properties: {
84170
+ email_address: {
84171
+ description: string;
84172
+ type: string;
84173
+ };
84174
+ name: {
84175
+ description: string;
84176
+ type: string;
84177
+ };
84178
+ phone_number: {
84179
+ description: string;
84180
+ type: string;
84181
+ };
84182
+ site_keys: {
84183
+ description: string;
84184
+ items: {
84185
+ type: string;
84186
+ };
84187
+ type: string;
84188
+ };
84189
+ staff_member_key: {
84190
+ description: string;
84191
+ type: string;
84192
+ };
84193
+ };
84194
+ required: string[];
84195
+ type: string;
84196
+ 'x-route-path': string;
84197
+ };
84198
+ type: string;
84199
+ };
84096
84200
  tenants: {
84097
84201
  description: string;
84098
84202
  items: {
@@ -85055,6 +85159,41 @@ declare const _default: {
85055
85159
  };
85056
85160
  type: string;
85057
85161
  };
85162
+ staff_members: {
85163
+ description: string;
85164
+ items: {
85165
+ description: string;
85166
+ properties: {
85167
+ email_address: {
85168
+ description: string;
85169
+ type: string;
85170
+ };
85171
+ name: {
85172
+ description: string;
85173
+ type: string;
85174
+ };
85175
+ phone_number: {
85176
+ description: string;
85177
+ type: string;
85178
+ };
85179
+ site_keys: {
85180
+ description: string;
85181
+ items: {
85182
+ type: string;
85183
+ };
85184
+ type: string;
85185
+ };
85186
+ staff_member_key: {
85187
+ description: string;
85188
+ type: string;
85189
+ };
85190
+ };
85191
+ required: string[];
85192
+ type: string;
85193
+ 'x-route-path': string;
85194
+ };
85195
+ type: string;
85196
+ };
85058
85197
  tenants: {
85059
85198
  description: string;
85060
85199
  items: {
@@ -96020,6 +96159,190 @@ declare const _default: {
96020
96159
  'x-title': string;
96021
96160
  };
96022
96161
  };
96162
+ '/seam/customer/v1/staff_members/list': {
96163
+ get: {
96164
+ description: string;
96165
+ operationId: string;
96166
+ parameters: ({
96167
+ in: string;
96168
+ name: string;
96169
+ schema: {
96170
+ description: string;
96171
+ type: string;
96172
+ format?: never;
96173
+ default?: never;
96174
+ exclusiveMinimum?: never;
96175
+ minimum?: never;
96176
+ nullable?: never;
96177
+ };
96178
+ } | {
96179
+ in: string;
96180
+ name: string;
96181
+ schema: {
96182
+ description: string;
96183
+ format: string;
96184
+ type: string;
96185
+ default?: never;
96186
+ exclusiveMinimum?: never;
96187
+ minimum?: never;
96188
+ nullable?: never;
96189
+ };
96190
+ } | {
96191
+ in: string;
96192
+ name: string;
96193
+ schema: {
96194
+ default: number;
96195
+ description: string;
96196
+ exclusiveMinimum: boolean;
96197
+ minimum: number;
96198
+ type: string;
96199
+ format?: never;
96200
+ nullable?: never;
96201
+ };
96202
+ } | {
96203
+ in: string;
96204
+ name: string;
96205
+ schema: {
96206
+ description: string;
96207
+ nullable: boolean;
96208
+ type: string;
96209
+ format?: never;
96210
+ default?: never;
96211
+ exclusiveMinimum?: never;
96212
+ minimum?: never;
96213
+ };
96214
+ })[];
96215
+ responses: {
96216
+ 200: {
96217
+ content: {
96218
+ 'application/json': {
96219
+ schema: {
96220
+ properties: {
96221
+ ok: {
96222
+ type: string;
96223
+ };
96224
+ pagination: {
96225
+ $ref: string;
96226
+ };
96227
+ staff_members: {
96228
+ items: {
96229
+ $ref: string;
96230
+ };
96231
+ type: string;
96232
+ };
96233
+ };
96234
+ required: string[];
96235
+ type: string;
96236
+ };
96237
+ };
96238
+ };
96239
+ description: string;
96240
+ };
96241
+ 400: {
96242
+ description: string;
96243
+ };
96244
+ 401: {
96245
+ description: string;
96246
+ };
96247
+ };
96248
+ security: {
96249
+ client_session_with_customer: never[];
96250
+ }[];
96251
+ summary: string;
96252
+ tags: never[];
96253
+ 'x-fern-sdk-group-name': string[];
96254
+ 'x-fern-sdk-method-name': string;
96255
+ 'x-fern-sdk-return-value': string;
96256
+ 'x-response-key': string;
96257
+ 'x-title': string;
96258
+ 'x-undocumented': string;
96259
+ };
96260
+ post: {
96261
+ description: string;
96262
+ operationId: string;
96263
+ requestBody: {
96264
+ content: {
96265
+ 'application/json': {
96266
+ schema: {
96267
+ properties: {
96268
+ created_before: {
96269
+ description: string;
96270
+ format: string;
96271
+ type: string;
96272
+ };
96273
+ limit: {
96274
+ default: number;
96275
+ description: string;
96276
+ exclusiveMinimum: boolean;
96277
+ minimum: number;
96278
+ type: string;
96279
+ };
96280
+ page_cursor: {
96281
+ description: string;
96282
+ nullable: boolean;
96283
+ type: string;
96284
+ };
96285
+ space_id: {
96286
+ description: string;
96287
+ format: string;
96288
+ type: string;
96289
+ };
96290
+ space_key: {
96291
+ description: string;
96292
+ type: string;
96293
+ };
96294
+ };
96295
+ type: string;
96296
+ };
96297
+ };
96298
+ };
96299
+ };
96300
+ responses: {
96301
+ 200: {
96302
+ content: {
96303
+ 'application/json': {
96304
+ schema: {
96305
+ properties: {
96306
+ ok: {
96307
+ type: string;
96308
+ };
96309
+ pagination: {
96310
+ $ref: string;
96311
+ };
96312
+ staff_members: {
96313
+ items: {
96314
+ $ref: string;
96315
+ };
96316
+ type: string;
96317
+ };
96318
+ };
96319
+ required: string[];
96320
+ type: string;
96321
+ };
96322
+ };
96323
+ };
96324
+ description: string;
96325
+ };
96326
+ 400: {
96327
+ description: string;
96328
+ };
96329
+ 401: {
96330
+ description: string;
96331
+ };
96332
+ };
96333
+ security: {
96334
+ client_session_with_customer: never[];
96335
+ }[];
96336
+ summary: string;
96337
+ tags: never[];
96338
+ 'x-fern-sdk-group-name': string[];
96339
+ 'x-fern-sdk-method-name': string;
96340
+ 'x-fern-sdk-return-value': string;
96341
+ 'x-response-key': string;
96342
+ 'x-title': string;
96343
+ 'x-undocumented': string;
96344
+ };
96345
+ };
96023
96346
  '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
96024
96347
  post: {
96025
96348
  description: string;
@@ -119956,6 +120279,8 @@ type Routes = {
119956
120279
  can_unlock_with_card?: boolean | undefined;
119957
120280
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
119958
120281
  can_unlock_with_code?: boolean | undefined;
120282
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
120283
+ can_belong_to_reservation?: boolean | undefined;
119959
120284
  }[] | undefined;
119960
120285
  user_identities?: {
119961
120286
  /** ID of the user identity. */
@@ -123388,6 +123713,8 @@ type Routes = {
123388
123713
  can_unlock_with_card?: boolean | undefined;
123389
123714
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
123390
123715
  can_unlock_with_code?: boolean | undefined;
123716
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
123717
+ can_belong_to_reservation?: boolean | undefined;
123391
123718
  }[] | undefined;
123392
123719
  acs_systems?: {
123393
123720
  /** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
@@ -129445,6 +129772,8 @@ type Routes = {
129445
129772
  can_unlock_with_card?: boolean | undefined;
129446
129773
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
129447
129774
  can_unlock_with_code?: boolean | undefined;
129775
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
129776
+ can_belong_to_reservation?: boolean | undefined;
129448
129777
  }[];
129449
129778
  };
129450
129779
  };
@@ -130811,6 +131140,8 @@ type Routes = {
130811
131140
  can_unlock_with_card?: boolean | undefined;
130812
131141
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
130813
131142
  can_unlock_with_code?: boolean | undefined;
131143
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
131144
+ can_belong_to_reservation?: boolean | undefined;
130814
131145
  }[];
130815
131146
  };
130816
131147
  };
@@ -134277,6 +134608,8 @@ type Routes = {
134277
134608
  can_unlock_with_card?: boolean | undefined;
134278
134609
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
134279
134610
  can_unlock_with_code?: boolean | undefined;
134611
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
134612
+ can_belong_to_reservation?: boolean | undefined;
134280
134613
  };
134281
134614
  };
134282
134615
  };
@@ -134444,6 +134777,8 @@ type Routes = {
134444
134777
  can_unlock_with_card?: boolean | undefined;
134445
134778
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
134446
134779
  can_unlock_with_code?: boolean | undefined;
134780
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
134781
+ can_belong_to_reservation?: boolean | undefined;
134447
134782
  }[];
134448
134783
  /** Information about the current page of results. */
134449
134784
  pagination: {
@@ -135919,6 +136254,8 @@ type Routes = {
135919
136254
  can_unlock_with_card?: boolean | undefined;
135920
136255
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
135921
136256
  can_unlock_with_code?: boolean | undefined;
136257
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
136258
+ can_belong_to_reservation?: boolean | undefined;
135922
136259
  }[];
135923
136260
  };
135924
136261
  };
@@ -140295,6 +140632,19 @@ type Routes = {
140295
140632
  /** Your unique identifier for the user identity. */
140296
140633
  user_identity_key: string;
140297
140634
  }[] | undefined;
140635
+ /** List of staff members. */
140636
+ staff_members?: {
140637
+ /** Your display name for this user identity resource. */
140638
+ name: string;
140639
+ /** Email address associated with the user identity. */
140640
+ email_address?: string | undefined;
140641
+ /** Phone number associated with the user identity. */
140642
+ phone_number?: string | undefined;
140643
+ /** Your unique identifier for the staff. */
140644
+ staff_member_key: string;
140645
+ /** List of unique identifiers for the sites the staff member is associated with. */
140646
+ site_keys: string[];
140647
+ }[] | undefined;
140298
140648
  /** List of reservations. */
140299
140649
  reservations?: {
140300
140650
  /** Your name for this access grant resource. */
@@ -140620,6 +140970,19 @@ type Routes = {
140620
140970
  /** Your unique identifier for the user identity. */
140621
140971
  user_identity_key: string;
140622
140972
  }[] | undefined;
140973
+ /** List of staff members. */
140974
+ staff_members?: {
140975
+ /** Your display name for this user identity resource. */
140976
+ name: string;
140977
+ /** Email address associated with the user identity. */
140978
+ email_address?: string | undefined;
140979
+ /** Phone number associated with the user identity. */
140980
+ phone_number?: string | undefined;
140981
+ /** Your unique identifier for the staff. */
140982
+ staff_member_key: string;
140983
+ /** List of unique identifiers for the sites the staff member is associated with. */
140984
+ site_keys: string[];
140985
+ }[] | undefined;
140623
140986
  /** List of reservations. */
140624
140987
  reservations?: {
140625
140988
  /** Your name for this access grant resource. */
@@ -167645,6 +168008,48 @@ type Routes = {
167645
168008
  }[];
167646
168009
  };
167647
168010
  };
168011
+ '/seam/customer/v1/staff_members/list': {
168012
+ route: '/seam/customer/v1/staff_members/list';
168013
+ method: 'GET' | 'POST';
168014
+ queryParams: {};
168015
+ jsonBody: {};
168016
+ commonParams: {
168017
+ /** Filter staff members by space key. */
168018
+ space_key?: string | undefined;
168019
+ /** Filter staff members by space ID (UUID). */
168020
+ space_id?: string | undefined;
168021
+ /** Maximum number of records to return per page. */
168022
+ limit?: number;
168023
+ /** Timestamp by which to limit returned staff members. Returns staff members created before this timestamp. */
168024
+ created_before?: Date | undefined;
168025
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
168026
+ page_cursor?: ((string | undefined) | null) | undefined;
168027
+ };
168028
+ formData: {};
168029
+ jsonResponse: {
168030
+ staff_members: {
168031
+ /** Your display name for this user identity resource. */
168032
+ name: string;
168033
+ /** Email address associated with the user identity. */
168034
+ email_address?: string | undefined;
168035
+ /** Phone number associated with the user identity. */
168036
+ phone_number?: string | undefined;
168037
+ /** Your unique identifier for the staff. */
168038
+ staff_member_key: string;
168039
+ /** List of unique identifiers for the sites the staff member is associated with. */
168040
+ site_keys: string[];
168041
+ }[];
168042
+ /** Information about the current page of results. */
168043
+ pagination: {
168044
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
168045
+ next_page_cursor: string | null;
168046
+ /** Indicates whether there is another page of results after this one. */
168047
+ has_next_page: boolean;
168048
+ /** URL to get the next page of results. */
168049
+ next_page_url: string | null;
168050
+ };
168051
+ };
168052
+ };
167648
168053
  '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
167649
168054
  route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]';
167650
168055
  method: 'POST';
@@ -168181,6 +168586,8 @@ type Routes = {
168181
168586
  can_unlock_with_card?: boolean | undefined;
168182
168587
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
168183
168588
  can_unlock_with_code?: boolean | undefined;
168589
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
168590
+ can_belong_to_reservation?: boolean | undefined;
168184
168591
  }[];
168185
168592
  }[];
168186
168593
  }[];
@@ -169760,6 +170167,8 @@ type Routes = {
169760
170167
  can_unlock_with_card?: boolean | undefined;
169761
170168
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
169762
170169
  can_unlock_with_code?: boolean | undefined;
170170
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
170171
+ can_belong_to_reservation?: boolean | undefined;
169763
170172
  }[] | undefined;
169764
170173
  connected_accounts?: {
169765
170174
  /** ID of the connected account. */
@@ -190994,6 +191403,8 @@ type Routes = {
190994
191403
  can_unlock_with_card?: boolean | undefined;
190995
191404
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
190996
191405
  can_unlock_with_code?: boolean | undefined;
191406
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
191407
+ can_belong_to_reservation?: boolean | undefined;
190997
191408
  }[] | undefined;
190998
191409
  acs_systems?: {
190999
191410
  /** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */