@seamapi/types 1.536.0 → 1.538.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.
@@ -21568,7 +21568,7 @@ export type Routes = {
21568
21568
  created_before?: Date | undefined;
21569
21569
  /** Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials. */
21570
21570
  is_multi_phone_sync_credential?: boolean | undefined;
21571
- /** String for which to search. Filters returned credentials to include all records that satisfy a partial match using `code`, `card_number`, `acs_user_id` or `acs_credential_id`. */
21571
+ /** String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`. */
21572
21572
  search?: string | undefined;
21573
21573
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
21574
21574
  page_cursor?: (string | undefined) | null;
@@ -31061,6 +31061,28 @@ export type Routes = {
31061
31061
  };
31062
31062
  /** Whether the portal is embedded in another application. */
31063
31063
  is_embedded?: boolean;
31064
+ /** Configuration for the landing page when the portal loads. */
31065
+ landing_page?: {
31066
+ manage?: ({
31067
+ space_key: string;
31068
+ } | {
31069
+ property_key: string;
31070
+ } | {
31071
+ room_key: string;
31072
+ } | {
31073
+ common_area_key: string;
31074
+ } | {
31075
+ unit_key: string;
31076
+ } | {
31077
+ facility_key: string;
31078
+ } | {
31079
+ building_key: string;
31080
+ } | {
31081
+ listing_key: string;
31082
+ } | {
31083
+ property_listing_key: string;
31084
+ }) | undefined;
31085
+ } | undefined;
31064
31086
  } & {
31065
31087
  customer_data?: {
31066
31088
  /** Your unique identifier for the customer. */
@@ -57671,6 +57693,27 @@ export type Routes = {
57671
57693
  } | undefined;
57672
57694
  } | undefined;
57673
57695
  is_embedded?: boolean | undefined;
57696
+ landing_page?: {
57697
+ manage?: ({
57698
+ space_key: string;
57699
+ } | {
57700
+ property_key: string;
57701
+ } | {
57702
+ room_key: string;
57703
+ } | {
57704
+ common_area_key: string;
57705
+ } | {
57706
+ unit_key: string;
57707
+ } | {
57708
+ facility_key: string;
57709
+ } | {
57710
+ building_key: string;
57711
+ } | {
57712
+ listing_key: string;
57713
+ } | {
57714
+ property_listing_key: string;
57715
+ }) | undefined;
57716
+ } | undefined;
57674
57717
  /** Business vertical of the customer portal. */
57675
57718
  business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
57676
57719
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.536.0",
3
+ "version": "1.538.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { location_key_aliases } from './location-resources.js'
4
+
3
5
  const base_feature = z.object({
4
6
  exclude: z
5
7
  .boolean()
@@ -48,6 +50,12 @@ export const portal_configuration = z
48
50
  .boolean()
49
51
  .default(false)
50
52
  .describe('Whether the portal is embedded in another application.'),
53
+ landing_page: z
54
+ .object({
55
+ manage: location_key_aliases.optional(),
56
+ })
57
+ .optional()
58
+ .describe('Configuration for the landing page when the portal loads.'),
51
59
  })
52
60
  .default({
53
61
  features: {
@@ -31776,7 +31776,7 @@ export default {
31776
31776
  },
31777
31777
  search: {
31778
31778
  description:
31779
- 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
31779
+ 'String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.',
31780
31780
  minLength: 1,
31781
31781
  type: 'string',
31782
31782
  },
@@ -38450,6 +38450,72 @@ export default {
38450
38450
  'Whether the portal is embedded in another application.',
38451
38451
  type: 'boolean',
38452
38452
  },
38453
+ landing_page: {
38454
+ description:
38455
+ 'Configuration for the landing page when the portal loads.',
38456
+ properties: {
38457
+ manage: {
38458
+ oneOf: [
38459
+ {
38460
+ properties: { space_key: { type: 'string' } },
38461
+ required: ['space_key'],
38462
+ type: 'object',
38463
+ },
38464
+ {
38465
+ properties: {
38466
+ property_key: { type: 'string' },
38467
+ },
38468
+ required: ['property_key'],
38469
+ type: 'object',
38470
+ },
38471
+ {
38472
+ properties: { room_key: { type: 'string' } },
38473
+ required: ['room_key'],
38474
+ type: 'object',
38475
+ },
38476
+ {
38477
+ properties: {
38478
+ common_area_key: { type: 'string' },
38479
+ },
38480
+ required: ['common_area_key'],
38481
+ type: 'object',
38482
+ },
38483
+ {
38484
+ properties: { unit_key: { type: 'string' } },
38485
+ required: ['unit_key'],
38486
+ type: 'object',
38487
+ },
38488
+ {
38489
+ properties: {
38490
+ facility_key: { type: 'string' },
38491
+ },
38492
+ required: ['facility_key'],
38493
+ type: 'object',
38494
+ },
38495
+ {
38496
+ properties: {
38497
+ building_key: { type: 'string' },
38498
+ },
38499
+ required: ['building_key'],
38500
+ type: 'object',
38501
+ },
38502
+ {
38503
+ properties: { listing_key: { type: 'string' } },
38504
+ required: ['listing_key'],
38505
+ type: 'object',
38506
+ },
38507
+ {
38508
+ properties: {
38509
+ property_listing_key: { type: 'string' },
38510
+ },
38511
+ required: ['property_listing_key'],
38512
+ type: 'object',
38513
+ },
38514
+ ],
38515
+ },
38516
+ },
38517
+ type: 'object',
38518
+ },
38453
38519
  },
38454
38520
  type: 'object',
38455
38521
  },
@@ -49232,6 +49298,72 @@ export default {
49232
49298
  type: 'object',
49233
49299
  },
49234
49300
  is_embedded: { type: 'boolean' },
49301
+ landing_page: {
49302
+ properties: {
49303
+ manage: {
49304
+ oneOf: [
49305
+ {
49306
+ properties: { space_key: { type: 'string' } },
49307
+ required: ['space_key'],
49308
+ type: 'object',
49309
+ },
49310
+ {
49311
+ properties: {
49312
+ property_key: { type: 'string' },
49313
+ },
49314
+ required: ['property_key'],
49315
+ type: 'object',
49316
+ },
49317
+ {
49318
+ properties: { room_key: { type: 'string' } },
49319
+ required: ['room_key'],
49320
+ type: 'object',
49321
+ },
49322
+ {
49323
+ properties: {
49324
+ common_area_key: { type: 'string' },
49325
+ },
49326
+ required: ['common_area_key'],
49327
+ type: 'object',
49328
+ },
49329
+ {
49330
+ properties: { unit_key: { type: 'string' } },
49331
+ required: ['unit_key'],
49332
+ type: 'object',
49333
+ },
49334
+ {
49335
+ properties: {
49336
+ facility_key: { type: 'string' },
49337
+ },
49338
+ required: ['facility_key'],
49339
+ type: 'object',
49340
+ },
49341
+ {
49342
+ properties: {
49343
+ building_key: { type: 'string' },
49344
+ },
49345
+ required: ['building_key'],
49346
+ type: 'object',
49347
+ },
49348
+ {
49349
+ properties: {
49350
+ listing_key: { type: 'string' },
49351
+ },
49352
+ required: ['listing_key'],
49353
+ type: 'object',
49354
+ },
49355
+ {
49356
+ properties: {
49357
+ property_listing_key: { type: 'string' },
49358
+ },
49359
+ required: ['property_listing_key'],
49360
+ type: 'object',
49361
+ },
49362
+ ],
49363
+ },
49364
+ },
49365
+ type: 'object',
49366
+ },
49235
49367
  },
49236
49368
  type: 'object',
49237
49369
  },
@@ -49328,6 +49460,72 @@ export default {
49328
49460
  type: 'object',
49329
49461
  },
49330
49462
  is_embedded: { type: 'boolean' },
49463
+ landing_page: {
49464
+ properties: {
49465
+ manage: {
49466
+ oneOf: [
49467
+ {
49468
+ properties: { space_key: { type: 'string' } },
49469
+ required: ['space_key'],
49470
+ type: 'object',
49471
+ },
49472
+ {
49473
+ properties: {
49474
+ property_key: { type: 'string' },
49475
+ },
49476
+ required: ['property_key'],
49477
+ type: 'object',
49478
+ },
49479
+ {
49480
+ properties: { room_key: { type: 'string' } },
49481
+ required: ['room_key'],
49482
+ type: 'object',
49483
+ },
49484
+ {
49485
+ properties: {
49486
+ common_area_key: { type: 'string' },
49487
+ },
49488
+ required: ['common_area_key'],
49489
+ type: 'object',
49490
+ },
49491
+ {
49492
+ properties: { unit_key: { type: 'string' } },
49493
+ required: ['unit_key'],
49494
+ type: 'object',
49495
+ },
49496
+ {
49497
+ properties: {
49498
+ facility_key: { type: 'string' },
49499
+ },
49500
+ required: ['facility_key'],
49501
+ type: 'object',
49502
+ },
49503
+ {
49504
+ properties: {
49505
+ building_key: { type: 'string' },
49506
+ },
49507
+ required: ['building_key'],
49508
+ type: 'object',
49509
+ },
49510
+ {
49511
+ properties: {
49512
+ listing_key: { type: 'string' },
49513
+ },
49514
+ required: ['listing_key'],
49515
+ type: 'object',
49516
+ },
49517
+ {
49518
+ properties: {
49519
+ property_listing_key: { type: 'string' },
49520
+ },
49521
+ required: ['property_listing_key'],
49522
+ type: 'object',
49523
+ },
49524
+ ],
49525
+ },
49526
+ },
49527
+ type: 'object',
49528
+ },
49331
49529
  },
49332
49530
  type: 'object',
49333
49531
  },
@@ -25059,7 +25059,7 @@ export type Routes = {
25059
25059
  created_before?: Date | undefined
25060
25060
  /** Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials. */
25061
25061
  is_multi_phone_sync_credential?: boolean | undefined
25062
- /** String for which to search. Filters returned credentials to include all records that satisfy a partial match using `code`, `card_number`, `acs_user_id` or `acs_credential_id`. */
25062
+ /** String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`. */
25063
25063
  search?: string | undefined
25064
25064
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
25065
25065
  page_cursor?: (string | undefined) | null
@@ -36031,6 +36031,42 @@ export type Routes = {
36031
36031
  }
36032
36032
  /** Whether the portal is embedded in another application. */
36033
36033
  is_embedded?: boolean
36034
+ /** Configuration for the landing page when the portal loads. */
36035
+ landing_page?:
36036
+ | {
36037
+ manage?:
36038
+ | (
36039
+ | {
36040
+ space_key: string
36041
+ }
36042
+ | {
36043
+ property_key: string
36044
+ }
36045
+ | {
36046
+ room_key: string
36047
+ }
36048
+ | {
36049
+ common_area_key: string
36050
+ }
36051
+ | {
36052
+ unit_key: string
36053
+ }
36054
+ | {
36055
+ facility_key: string
36056
+ }
36057
+ | {
36058
+ building_key: string
36059
+ }
36060
+ | {
36061
+ listing_key: string
36062
+ }
36063
+ | {
36064
+ property_listing_key: string
36065
+ }
36066
+ )
36067
+ | undefined
36068
+ }
36069
+ | undefined
36034
36070
  } & {
36035
36071
  customer_data?:
36036
36072
  | {
@@ -68618,6 +68654,41 @@ export type Routes = {
68618
68654
  }
68619
68655
  | undefined
68620
68656
  is_embedded?: boolean | undefined
68657
+ landing_page?:
68658
+ | {
68659
+ manage?:
68660
+ | (
68661
+ | {
68662
+ space_key: string
68663
+ }
68664
+ | {
68665
+ property_key: string
68666
+ }
68667
+ | {
68668
+ room_key: string
68669
+ }
68670
+ | {
68671
+ common_area_key: string
68672
+ }
68673
+ | {
68674
+ unit_key: string
68675
+ }
68676
+ | {
68677
+ facility_key: string
68678
+ }
68679
+ | {
68680
+ building_key: string
68681
+ }
68682
+ | {
68683
+ listing_key: string
68684
+ }
68685
+ | {
68686
+ property_listing_key: string
68687
+ }
68688
+ )
68689
+ | undefined
68690
+ }
68691
+ | undefined
68621
68692
  /** Business vertical of the customer portal. */
68622
68693
  business_vertical?:
68623
68694
  | (