@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
@@ -13111,6 +13111,8 @@ export type Routes = {
13111
13111
  can_unlock_with_card?: boolean | undefined
13112
13112
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
13113
13113
  can_unlock_with_code?: boolean | undefined
13114
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
13115
+ can_belong_to_reservation?: boolean | undefined
13114
13116
  }[]
13115
13117
  | undefined
13116
13118
  user_identities?:
@@ -17223,6 +17225,8 @@ export type Routes = {
17223
17225
  can_unlock_with_card?: boolean | undefined
17224
17226
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
17225
17227
  can_unlock_with_code?: boolean | undefined
17228
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
17229
+ can_belong_to_reservation?: boolean | undefined
17226
17230
  }[]
17227
17231
  | undefined
17228
17232
  acs_systems?:
@@ -24354,6 +24358,8 @@ export type Routes = {
24354
24358
  can_unlock_with_card?: boolean | undefined
24355
24359
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
24356
24360
  can_unlock_with_code?: boolean | undefined
24361
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
24362
+ can_belong_to_reservation?: boolean | undefined
24357
24363
  }[]
24358
24364
  }
24359
24365
  }
@@ -25964,6 +25970,8 @@ export type Routes = {
25964
25970
  can_unlock_with_card?: boolean | undefined
25965
25971
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
25966
25972
  can_unlock_with_code?: boolean | undefined
25973
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
25974
+ can_belong_to_reservation?: boolean | undefined
25967
25975
  }[]
25968
25976
  }
25969
25977
  }
@@ -29968,6 +29976,8 @@ export type Routes = {
29968
29976
  can_unlock_with_card?: boolean | undefined
29969
29977
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
29970
29978
  can_unlock_with_code?: boolean | undefined
29979
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
29980
+ can_belong_to_reservation?: boolean | undefined
29971
29981
  }
29972
29982
  }
29973
29983
  }
@@ -30162,6 +30172,8 @@ export type Routes = {
30162
30172
  can_unlock_with_card?: boolean | undefined
30163
30173
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
30164
30174
  can_unlock_with_code?: boolean | undefined
30175
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
30176
+ can_belong_to_reservation?: boolean | undefined
30165
30177
  }[]
30166
30178
  /** Information about the current page of results. */
30167
30179
  pagination: {
@@ -31944,6 +31956,8 @@ export type Routes = {
31944
31956
  can_unlock_with_card?: boolean | undefined
31945
31957
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
31946
31958
  can_unlock_with_code?: boolean | undefined
31959
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
31960
+ can_belong_to_reservation?: boolean | undefined
31947
31961
  }[]
31948
31962
  }
31949
31963
  }
@@ -36966,6 +36980,21 @@ export type Routes = {
36966
36980
  user_identity_key: string
36967
36981
  }[]
36968
36982
  | undefined
36983
+ /** List of staff members. */
36984
+ staff_members?:
36985
+ | {
36986
+ /** Your display name for this user identity resource. */
36987
+ name: string
36988
+ /** Email address associated with the user identity. */
36989
+ email_address?: string | undefined
36990
+ /** Phone number associated with the user identity. */
36991
+ phone_number?: string | undefined
36992
+ /** Your unique identifier for the staff. */
36993
+ staff_member_key: string
36994
+ /** List of unique identifiers for the sites the staff member is associated with. */
36995
+ site_keys: string[]
36996
+ }[]
36997
+ | undefined
36969
36998
  /** List of reservations. */
36970
36999
  reservations?:
36971
37000
  | {
@@ -37328,6 +37357,21 @@ export type Routes = {
37328
37357
  user_identity_key: string
37329
37358
  }[]
37330
37359
  | undefined
37360
+ /** List of staff members. */
37361
+ staff_members?:
37362
+ | {
37363
+ /** Your display name for this user identity resource. */
37364
+ name: string
37365
+ /** Email address associated with the user identity. */
37366
+ email_address?: string | undefined
37367
+ /** Phone number associated with the user identity. */
37368
+ phone_number?: string | undefined
37369
+ /** Your unique identifier for the staff. */
37370
+ staff_member_key: string
37371
+ /** List of unique identifiers for the sites the staff member is associated with. */
37372
+ site_keys: string[]
37373
+ }[]
37374
+ | undefined
37331
37375
  /** List of reservations. */
37332
37376
  reservations?:
37333
37377
  | {
@@ -70477,6 +70521,48 @@ export type Routes = {
70477
70521
  }[]
70478
70522
  }
70479
70523
  }
70524
+ '/seam/customer/v1/staff_members/list': {
70525
+ route: '/seam/customer/v1/staff_members/list'
70526
+ method: 'GET' | 'POST'
70527
+ queryParams: {}
70528
+ jsonBody: {}
70529
+ commonParams: {
70530
+ /** Filter staff members by space key. */
70531
+ space_key?: string | undefined
70532
+ /** Filter staff members by space ID (UUID). */
70533
+ space_id?: string | undefined
70534
+ /** Maximum number of records to return per page. */
70535
+ limit?: number
70536
+ /** Timestamp by which to limit returned staff members. Returns staff members created before this timestamp. */
70537
+ created_before?: Date | undefined
70538
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
70539
+ page_cursor?: ((string | undefined) | null) | undefined
70540
+ }
70541
+ formData: {}
70542
+ jsonResponse: {
70543
+ staff_members: {
70544
+ /** Your display name for this user identity resource. */
70545
+ name: string
70546
+ /** Email address associated with the user identity. */
70547
+ email_address?: string | undefined
70548
+ /** Phone number associated with the user identity. */
70549
+ phone_number?: string | undefined
70550
+ /** Your unique identifier for the staff. */
70551
+ staff_member_key: string
70552
+ /** List of unique identifiers for the sites the staff member is associated with. */
70553
+ site_keys: string[]
70554
+ }[]
70555
+ /** Information about the current page of results. */
70556
+ pagination: {
70557
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
70558
+ next_page_cursor: string | null
70559
+ /** Indicates whether there is another page of results after this one. */
70560
+ has_next_page: boolean
70561
+ /** URL to get the next page of results. */
70562
+ next_page_url: string | null
70563
+ }
70564
+ }
70565
+ }
70480
70566
  '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
70481
70567
  route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]'
70482
70568
  method: 'POST'
@@ -71101,6 +71187,8 @@ export type Routes = {
71101
71187
  can_unlock_with_card?: boolean | undefined
71102
71188
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
71103
71189
  can_unlock_with_code?: boolean | undefined
71190
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
71191
+ can_belong_to_reservation?: boolean | undefined
71104
71192
  }[]
71105
71193
  }[]
71106
71194
  }[]
@@ -73070,6 +73158,8 @@ export type Routes = {
73070
73158
  can_unlock_with_card?: boolean | undefined
73071
73159
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
73072
73160
  can_unlock_with_code?: boolean | undefined
73161
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
73162
+ can_belong_to_reservation?: boolean | undefined
73073
73163
  }[]
73074
73164
  | undefined
73075
73165
  connected_accounts?:
@@ -98242,6 +98332,8 @@ export type Routes = {
98242
98332
  can_unlock_with_card?: boolean | undefined
98243
98333
  /** Indicates whether the ACS entrance can be unlocked with pin codes. */
98244
98334
  can_unlock_with_code?: boolean | undefined
98335
+ /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */
98336
+ can_belong_to_reservation?: boolean | undefined
98245
98337
  }[]
98246
98338
  | undefined
98247
98339
  acs_systems?:
@@ -26,6 +26,7 @@ export {
26
26
  noise_threshold,
27
27
  pagination,
28
28
  seam_event,
29
+ staff_member_resource,
29
30
  thermostat_daily_program,
30
31
  thermostat_schedule,
31
32
  thermostat_weekly_program,