@seamapi/types 1.725.0 → 1.727.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.
@@ -81293,6 +81293,12 @@ declare const _default: {
81293
81293
  batch: {
81294
81294
  description: string;
81295
81295
  properties: {
81296
+ access_methods: {
81297
+ items: {
81298
+ $ref: string;
81299
+ };
81300
+ type: string;
81301
+ };
81296
81302
  acs_access_groups: {
81297
81303
  items: {
81298
81304
  $ref: string;
@@ -81432,6 +81438,12 @@ declare const _default: {
81432
81438
  batch: {
81433
81439
  description: string;
81434
81440
  properties: {
81441
+ access_methods: {
81442
+ items: {
81443
+ $ref: string;
81444
+ };
81445
+ type: string;
81446
+ };
81435
81447
  acs_access_groups: {
81436
81448
  items: {
81437
81449
  $ref: string;
@@ -113035,6 +113047,113 @@ declare const _default: {
113035
113047
  'x-undocumented': string;
113036
113048
  };
113037
113049
  };
113050
+ '/seam/customer/v1/settings/business_verticals/list': {
113051
+ get: {
113052
+ description: string;
113053
+ operationId: string;
113054
+ parameters: never[];
113055
+ responses: {
113056
+ 200: {
113057
+ content: {
113058
+ 'application/json': {
113059
+ schema: {
113060
+ properties: {
113061
+ business_verticals: {
113062
+ items: {
113063
+ description: string;
113064
+ enum: string[];
113065
+ type: string;
113066
+ };
113067
+ type: string;
113068
+ };
113069
+ ok: {
113070
+ type: string;
113071
+ };
113072
+ };
113073
+ required: string[];
113074
+ type: string;
113075
+ };
113076
+ };
113077
+ };
113078
+ description: string;
113079
+ };
113080
+ 400: {
113081
+ description: string;
113082
+ };
113083
+ 401: {
113084
+ description: string;
113085
+ };
113086
+ };
113087
+ security: {
113088
+ console_session_with_workspace: never[];
113089
+ }[];
113090
+ summary: string;
113091
+ tags: never[];
113092
+ 'x-fern-sdk-group-name': string[];
113093
+ 'x-fern-sdk-method-name': string;
113094
+ 'x-fern-sdk-return-value': string;
113095
+ 'x-response-key': string;
113096
+ 'x-title': string;
113097
+ 'x-undocumented': string;
113098
+ };
113099
+ post: {
113100
+ description: string;
113101
+ operationId: string;
113102
+ requestBody: {
113103
+ content: {
113104
+ 'application/json': {
113105
+ schema: {
113106
+ properties: {};
113107
+ type: string;
113108
+ };
113109
+ };
113110
+ };
113111
+ };
113112
+ responses: {
113113
+ 200: {
113114
+ content: {
113115
+ 'application/json': {
113116
+ schema: {
113117
+ properties: {
113118
+ business_verticals: {
113119
+ items: {
113120
+ description: string;
113121
+ enum: string[];
113122
+ type: string;
113123
+ };
113124
+ type: string;
113125
+ };
113126
+ ok: {
113127
+ type: string;
113128
+ };
113129
+ };
113130
+ required: string[];
113131
+ type: string;
113132
+ };
113133
+ };
113134
+ };
113135
+ description: string;
113136
+ };
113137
+ 400: {
113138
+ description: string;
113139
+ };
113140
+ 401: {
113141
+ description: string;
113142
+ };
113143
+ };
113144
+ security: {
113145
+ console_session_with_workspace: never[];
113146
+ }[];
113147
+ summary: string;
113148
+ tags: never[];
113149
+ 'x-fern-sdk-group-name': string[];
113150
+ 'x-fern-sdk-method-name': string;
113151
+ 'x-fern-sdk-return-value': string;
113152
+ 'x-response-key': string;
113153
+ 'x-title': string;
113154
+ 'x-undocumented': string;
113155
+ };
113156
+ };
113038
113157
  '/seam/customer/v1/settings/get': {
113039
113158
  get: {
113040
113159
  description: string;
@@ -113269,6 +113388,307 @@ declare const _default: {
113269
113388
  'x-undocumented': string;
113270
113389
  };
113271
113390
  };
113391
+ '/seam/customer/v1/settings/vertical_resource_aliases/get': {
113392
+ get: {
113393
+ description: string;
113394
+ operationId: string;
113395
+ parameters: never[];
113396
+ responses: {
113397
+ 200: {
113398
+ content: {
113399
+ 'application/json': {
113400
+ schema: {
113401
+ properties: {
113402
+ ok: {
113403
+ type: string;
113404
+ };
113405
+ vertical_resource_aliases: {
113406
+ properties: {
113407
+ access_grant: {
113408
+ description: string;
113409
+ properties: {
113410
+ collection_key: {
113411
+ description: string;
113412
+ type: string;
113413
+ };
113414
+ collection_label: {
113415
+ description: string;
113416
+ type: string;
113417
+ };
113418
+ resource_key: {
113419
+ description: string;
113420
+ type: string;
113421
+ };
113422
+ resource_label: {
113423
+ description: string;
113424
+ type: string;
113425
+ };
113426
+ };
113427
+ required: string[];
113428
+ type: string;
113429
+ };
113430
+ additional_spaces: {
113431
+ description: string;
113432
+ items: {
113433
+ properties: {
113434
+ collection_key: {
113435
+ description: string;
113436
+ type: string;
113437
+ };
113438
+ collection_label: {
113439
+ description: string;
113440
+ type: string;
113441
+ };
113442
+ resource_key: {
113443
+ description: string;
113444
+ type: string;
113445
+ };
113446
+ resource_label: {
113447
+ description: string;
113448
+ type: string;
113449
+ };
113450
+ };
113451
+ required: string[];
113452
+ type: string;
113453
+ };
113454
+ type: string;
113455
+ };
113456
+ space: {
113457
+ description: string;
113458
+ properties: {
113459
+ collection_key: {
113460
+ description: string;
113461
+ type: string;
113462
+ };
113463
+ collection_label: {
113464
+ description: string;
113465
+ type: string;
113466
+ };
113467
+ resource_key: {
113468
+ description: string;
113469
+ type: string;
113470
+ };
113471
+ resource_label: {
113472
+ description: string;
113473
+ type: string;
113474
+ };
113475
+ };
113476
+ required: string[];
113477
+ type: string;
113478
+ };
113479
+ user_identity: {
113480
+ description: string;
113481
+ properties: {
113482
+ collection_key: {
113483
+ description: string;
113484
+ type: string;
113485
+ };
113486
+ collection_label: {
113487
+ description: string;
113488
+ type: string;
113489
+ };
113490
+ resource_key: {
113491
+ description: string;
113492
+ type: string;
113493
+ };
113494
+ resource_label: {
113495
+ description: string;
113496
+ type: string;
113497
+ };
113498
+ };
113499
+ required: string[];
113500
+ type: string;
113501
+ };
113502
+ };
113503
+ required: string[];
113504
+ type: string;
113505
+ };
113506
+ };
113507
+ required: string[];
113508
+ type: string;
113509
+ };
113510
+ };
113511
+ };
113512
+ description: string;
113513
+ };
113514
+ 400: {
113515
+ description: string;
113516
+ };
113517
+ 401: {
113518
+ description: string;
113519
+ };
113520
+ };
113521
+ security: ({
113522
+ console_session_with_workspace: never[];
113523
+ client_session_with_customer?: never;
113524
+ } | {
113525
+ client_session_with_customer: never[];
113526
+ console_session_with_workspace?: never;
113527
+ })[];
113528
+ summary: string;
113529
+ tags: never[];
113530
+ 'x-fern-sdk-group-name': string[];
113531
+ 'x-fern-sdk-method-name': string;
113532
+ 'x-fern-sdk-return-value': string;
113533
+ 'x-response-key': string;
113534
+ 'x-title': string;
113535
+ 'x-undocumented': string;
113536
+ };
113537
+ post: {
113538
+ description: string;
113539
+ operationId: string;
113540
+ requestBody: {
113541
+ content: {
113542
+ 'application/json': {
113543
+ schema: {
113544
+ properties: {};
113545
+ type: string;
113546
+ };
113547
+ };
113548
+ };
113549
+ };
113550
+ responses: {
113551
+ 200: {
113552
+ content: {
113553
+ 'application/json': {
113554
+ schema: {
113555
+ properties: {
113556
+ ok: {
113557
+ type: string;
113558
+ };
113559
+ vertical_resource_aliases: {
113560
+ properties: {
113561
+ access_grant: {
113562
+ description: string;
113563
+ properties: {
113564
+ collection_key: {
113565
+ description: string;
113566
+ type: string;
113567
+ };
113568
+ collection_label: {
113569
+ description: string;
113570
+ type: string;
113571
+ };
113572
+ resource_key: {
113573
+ description: string;
113574
+ type: string;
113575
+ };
113576
+ resource_label: {
113577
+ description: string;
113578
+ type: string;
113579
+ };
113580
+ };
113581
+ required: string[];
113582
+ type: string;
113583
+ };
113584
+ additional_spaces: {
113585
+ description: string;
113586
+ items: {
113587
+ properties: {
113588
+ collection_key: {
113589
+ description: string;
113590
+ type: string;
113591
+ };
113592
+ collection_label: {
113593
+ description: string;
113594
+ type: string;
113595
+ };
113596
+ resource_key: {
113597
+ description: string;
113598
+ type: string;
113599
+ };
113600
+ resource_label: {
113601
+ description: string;
113602
+ type: string;
113603
+ };
113604
+ };
113605
+ required: string[];
113606
+ type: string;
113607
+ };
113608
+ type: string;
113609
+ };
113610
+ space: {
113611
+ description: string;
113612
+ properties: {
113613
+ collection_key: {
113614
+ description: string;
113615
+ type: string;
113616
+ };
113617
+ collection_label: {
113618
+ description: string;
113619
+ type: string;
113620
+ };
113621
+ resource_key: {
113622
+ description: string;
113623
+ type: string;
113624
+ };
113625
+ resource_label: {
113626
+ description: string;
113627
+ type: string;
113628
+ };
113629
+ };
113630
+ required: string[];
113631
+ type: string;
113632
+ };
113633
+ user_identity: {
113634
+ description: string;
113635
+ properties: {
113636
+ collection_key: {
113637
+ description: string;
113638
+ type: string;
113639
+ };
113640
+ collection_label: {
113641
+ description: string;
113642
+ type: string;
113643
+ };
113644
+ resource_key: {
113645
+ description: string;
113646
+ type: string;
113647
+ };
113648
+ resource_label: {
113649
+ description: string;
113650
+ type: string;
113651
+ };
113652
+ };
113653
+ required: string[];
113654
+ type: string;
113655
+ };
113656
+ };
113657
+ required: string[];
113658
+ type: string;
113659
+ };
113660
+ };
113661
+ required: string[];
113662
+ type: string;
113663
+ };
113664
+ };
113665
+ };
113666
+ description: string;
113667
+ };
113668
+ 400: {
113669
+ description: string;
113670
+ };
113671
+ 401: {
113672
+ description: string;
113673
+ };
113674
+ };
113675
+ security: ({
113676
+ console_session_with_workspace: never[];
113677
+ client_session_with_customer?: never;
113678
+ } | {
113679
+ client_session_with_customer: never[];
113680
+ console_session_with_workspace?: never;
113681
+ })[];
113682
+ summary: string;
113683
+ tags: never[];
113684
+ 'x-fern-sdk-group-name': string[];
113685
+ 'x-fern-sdk-method-name': string;
113686
+ 'x-fern-sdk-return-value': string;
113687
+ 'x-response-key': string;
113688
+ 'x-title': string;
113689
+ 'x-undocumented': string;
113690
+ };
113691
+ };
113272
113692
  '/seam/customer/v1/spaces/create': {
113273
113693
  post: {
113274
113694
  description: string;
@@ -137411,8 +137831,8 @@ type Routes = {
137411
137831
  access_grant_ids?: string[] | undefined;
137412
137832
  /** Keys of the access grants that you want to get along with their related resources. */
137413
137833
  access_grant_keys?: string[] | undefined;
137414
- include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups')[] | undefined;
137415
- exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups')[] | undefined;
137834
+ include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups' | 'access_methods')[] | undefined;
137835
+ exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups' | 'access_methods')[] | undefined;
137416
137836
  };
137417
137837
  formData: {};
137418
137838
  jsonResponse: {
@@ -139203,6 +139623,105 @@ type Routes = {
139203
139623
  })[];
139204
139624
  is_managed: true;
139205
139625
  }[] | undefined;
139626
+ access_methods?: {
139627
+ /** ID of the Seam workspace associated with the access method. */
139628
+ workspace_id: string;
139629
+ /** ID of the access method. */
139630
+ access_method_id: string;
139631
+ /** Display name of the access method. */
139632
+ display_name: string;
139633
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
139634
+ mode: 'code' | 'card' | 'mobile_key';
139635
+ /** Date and time at which the access method was created. */
139636
+ created_at: string;
139637
+ /** Date and time at which the access method was issued. */
139638
+ issued_at: string | null;
139639
+ /** Indicates whether the access method has been issued. */
139640
+ is_issued: boolean;
139641
+ /** URL of the Instant Key for mobile key access methods. */
139642
+ instant_key_url?: string | undefined;
139643
+ /** Token of the client session associated with the access method. */
139644
+ client_session_token?: string | undefined;
139645
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
139646
+ is_encoding_required?: boolean | undefined;
139647
+ /** The actual PIN code for code access methods. */
139648
+ code?: (string | null) | undefined;
139649
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
139650
+ warnings: ({
139651
+ /** Date and time at which Seam created the warning. */
139652
+ created_at: string;
139653
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
139654
+ message: string;
139655
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
139656
+ warning_code: 'being_deleted';
139657
+ } | {
139658
+ /** Date and time at which Seam created the warning. */
139659
+ created_at: string;
139660
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
139661
+ message: string;
139662
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
139663
+ warning_code: 'updating_access_times';
139664
+ })[];
139665
+ /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
139666
+ pending_mutations: ({
139667
+ /** Date and time at which the mutation was created. */
139668
+ created_at: string;
139669
+ /** Detailed description of the mutation. */
139670
+ message: string;
139671
+ /** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
139672
+ mutation_code: 'provisioning_access';
139673
+ /** Previous device configuration. */
139674
+ from: {
139675
+ /** Previous device IDs where access was provisioned. */
139676
+ device_ids: string[];
139677
+ };
139678
+ /** New device configuration. */
139679
+ to: {
139680
+ /** New device IDs where access is being provisioned. */
139681
+ device_ids: string[];
139682
+ };
139683
+ } | {
139684
+ /** Date and time at which the mutation was created. */
139685
+ created_at: string;
139686
+ /** Detailed description of the mutation. */
139687
+ message: string;
139688
+ /** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
139689
+ mutation_code: 'revoking_access';
139690
+ /** Previous device configuration. */
139691
+ from: {
139692
+ /** Previous device IDs where access existed. */
139693
+ device_ids: string[];
139694
+ };
139695
+ /** New device configuration. */
139696
+ to: {
139697
+ /** New device IDs where access should remain. */
139698
+ device_ids: string[];
139699
+ };
139700
+ } | {
139701
+ /** Date and time at which the mutation was created. */
139702
+ created_at: string;
139703
+ /** Detailed description of the mutation. */
139704
+ message: string;
139705
+ /** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
139706
+ mutation_code: 'updating_access_times';
139707
+ /** Previous access time configuration. */
139708
+ from: {
139709
+ /** Previous start time for access. */
139710
+ starts_at: string | null;
139711
+ /** Previous end time for access. */
139712
+ ends_at: string | null;
139713
+ };
139714
+ /** New access time configuration. */
139715
+ to: {
139716
+ /** New start time for access. */
139717
+ starts_at: string | null;
139718
+ /** New end time for access. */
139719
+ ends_at: string | null;
139720
+ };
139721
+ })[];
139722
+ /** ID of the customization profile associated with the access method. */
139723
+ customization_profile_id?: string | undefined;
139724
+ }[] | undefined;
139206
139725
  };
139207
139726
  };
139208
139727
  maxDuration: undefined;
@@ -187553,7 +188072,7 @@ type Routes = {
187553
188072
  resource_key: string;
187554
188073
  } | undefined;
187555
188074
  /** Business vertical of the customer portal. */
187556
- business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
188075
+ business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
187557
188076
  };
187558
188077
  };
187559
188078
  maxDuration: undefined;
@@ -187670,6 +188189,18 @@ type Routes = {
187670
188189
  };
187671
188190
  maxDuration: undefined;
187672
188191
  };
188192
+ '/seam/customer/v1/settings/business_verticals/list': {
188193
+ route: '/seam/customer/v1/settings/business_verticals/list';
188194
+ method: 'GET' | 'POST';
188195
+ queryParams: {};
188196
+ jsonBody: {};
188197
+ commonParams: {};
188198
+ formData: {};
188199
+ jsonResponse: {
188200
+ business_verticals: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours')[];
188201
+ };
188202
+ maxDuration: undefined;
188203
+ };
187673
188204
  '/seam/customer/v1/settings/get': {
187674
188205
  route: '/seam/customer/v1/settings/get';
187675
188206
  method: 'GET' | 'POST';
@@ -187679,7 +188210,7 @@ type Routes = {
187679
188210
  formData: {};
187680
188211
  jsonResponse: {
187681
188212
  /** Business vertical of the customer portal. */
187682
- business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
188213
+ business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
187683
188214
  slug?: (string | null) | undefined;
187684
188215
  };
187685
188216
  maxDuration: undefined;
@@ -187690,7 +188221,7 @@ type Routes = {
187690
188221
  queryParams: {};
187691
188222
  jsonBody: {
187692
188223
  /** Business vertical to set on the workspace. */
187693
- business_vertical?: ('short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
188224
+ business_vertical?: ('neutral' | 'short_term_rental' | 'hospitality' | 'multi_family' | 'gym_management' | 'property_tours') | undefined;
187694
188225
  /** Slug to set on the workspace. */
187695
188226
  slug?: (string | null) | undefined;
187696
188227
  };
@@ -187699,6 +188230,63 @@ type Routes = {
187699
188230
  jsonResponse: {};
187700
188231
  maxDuration: undefined;
187701
188232
  };
188233
+ '/seam/customer/v1/settings/vertical_resource_aliases/get': {
188234
+ route: '/seam/customer/v1/settings/vertical_resource_aliases/get';
188235
+ method: 'GET' | 'POST';
188236
+ queryParams: {};
188237
+ jsonBody: {};
188238
+ commonParams: {};
188239
+ formData: {};
188240
+ jsonResponse: {
188241
+ vertical_resource_aliases: {
188242
+ /** Primary space alias for this vertical. */
188243
+ space: {
188244
+ /** The key alias for a single resource. */
188245
+ resource_key: string;
188246
+ /** Human-readable label for a single resource. */
188247
+ resource_label: string;
188248
+ /** The key alias for a collection of resources. */
188249
+ collection_key: string;
188250
+ /** Human-readable label for a collection of resources. */
188251
+ collection_label: string;
188252
+ };
188253
+ /** Additional space aliases relevant to this vertical. */
188254
+ additional_spaces: {
188255
+ /** The key alias for a single resource. */
188256
+ resource_key: string;
188257
+ /** Human-readable label for a single resource. */
188258
+ resource_label: string;
188259
+ /** The key alias for a collection of resources. */
188260
+ collection_key: string;
188261
+ /** Human-readable label for a collection of resources. */
188262
+ collection_label: string;
188263
+ }[];
188264
+ /** Primary user identity alias for this vertical. */
188265
+ user_identity: {
188266
+ /** The key alias for a single resource. */
188267
+ resource_key: string;
188268
+ /** Human-readable label for a single resource. */
188269
+ resource_label: string;
188270
+ /** The key alias for a collection of resources. */
188271
+ collection_key: string;
188272
+ /** Human-readable label for a collection of resources. */
188273
+ collection_label: string;
188274
+ };
188275
+ /** Primary access grant alias for this vertical. */
188276
+ access_grant: {
188277
+ /** The key alias for a single resource. */
188278
+ resource_key: string;
188279
+ /** Human-readable label for a single resource. */
188280
+ resource_label: string;
188281
+ /** The key alias for a collection of resources. */
188282
+ collection_key: string;
188283
+ /** Human-readable label for a collection of resources. */
188284
+ collection_label: string;
188285
+ };
188286
+ };
188287
+ };
188288
+ maxDuration: undefined;
188289
+ };
187702
188290
  '/seam/customer/v1/spaces/create': {
187703
188291
  route: '/seam/customer/v1/spaces/create';
187704
188292
  method: 'POST';