@seamapi/types 1.725.0 → 1.726.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.
@@ -63000,6 +63000,7 @@ export default {
63000
63000
  description:
63001
63001
  'Business vertical of the customer portal.',
63002
63002
  enum: [
63003
+ 'neutral',
63003
63004
  'short_term_rental',
63004
63005
  'hospitality',
63005
63006
  'multi_family',
@@ -63398,6 +63399,7 @@ export default {
63398
63399
  description:
63399
63400
  'Business vertical of the customer portal.',
63400
63401
  enum: [
63402
+ 'neutral',
63401
63403
  'short_term_rental',
63402
63404
  'hospitality',
63403
63405
  'multi_family',
@@ -64499,6 +64501,120 @@ export default {
64499
64501
  'x-undocumented': 'Internal endpoint for customer portals.',
64500
64502
  },
64501
64503
  },
64504
+ '/seam/customer/v1/settings/business_verticals/list': {
64505
+ get: {
64506
+ description: 'Returns all available business verticals.',
64507
+ operationId: 'seamCustomerV1SettingsBusinessVerticalsListGet',
64508
+ parameters: [],
64509
+ responses: {
64510
+ 200: {
64511
+ content: {
64512
+ 'application/json': {
64513
+ schema: {
64514
+ properties: {
64515
+ business_verticals: {
64516
+ items: {
64517
+ description:
64518
+ 'Business vertical of the customer portal.',
64519
+ enum: [
64520
+ 'neutral',
64521
+ 'short_term_rental',
64522
+ 'hospitality',
64523
+ 'multi_family',
64524
+ 'gym_management',
64525
+ 'property_tours',
64526
+ ],
64527
+ type: 'string',
64528
+ },
64529
+ type: 'array',
64530
+ },
64531
+ ok: { type: 'boolean' },
64532
+ },
64533
+ required: ['business_verticals', 'ok'],
64534
+ type: 'object',
64535
+ },
64536
+ },
64537
+ },
64538
+ description: 'OK',
64539
+ },
64540
+ 400: { description: 'Bad Request' },
64541
+ 401: { description: 'Unauthorized' },
64542
+ },
64543
+ security: [{ console_session_with_workspace: [] }],
64544
+ summary: '/seam/customer/v1/settings/business_verticals/list',
64545
+ tags: [],
64546
+ 'x-fern-sdk-group-name': [
64547
+ 'seam',
64548
+ 'customer',
64549
+ 'v1',
64550
+ 'settings',
64551
+ 'business_verticals',
64552
+ ],
64553
+ 'x-fern-sdk-method-name': 'list',
64554
+ 'x-fern-sdk-return-value': 'business_verticals',
64555
+ 'x-response-key': 'business_verticals',
64556
+ 'x-title': 'List Business Verticals',
64557
+ 'x-undocumented': 'Internal endpoint for customer portals.',
64558
+ },
64559
+ post: {
64560
+ description: 'Returns all available business verticals.',
64561
+ operationId: 'seamCustomerV1SettingsBusinessVerticalsListPost',
64562
+ requestBody: {
64563
+ content: {
64564
+ 'application/json': { schema: { properties: {}, type: 'object' } },
64565
+ },
64566
+ },
64567
+ responses: {
64568
+ 200: {
64569
+ content: {
64570
+ 'application/json': {
64571
+ schema: {
64572
+ properties: {
64573
+ business_verticals: {
64574
+ items: {
64575
+ description:
64576
+ 'Business vertical of the customer portal.',
64577
+ enum: [
64578
+ 'neutral',
64579
+ 'short_term_rental',
64580
+ 'hospitality',
64581
+ 'multi_family',
64582
+ 'gym_management',
64583
+ 'property_tours',
64584
+ ],
64585
+ type: 'string',
64586
+ },
64587
+ type: 'array',
64588
+ },
64589
+ ok: { type: 'boolean' },
64590
+ },
64591
+ required: ['business_verticals', 'ok'],
64592
+ type: 'object',
64593
+ },
64594
+ },
64595
+ },
64596
+ description: 'OK',
64597
+ },
64598
+ 400: { description: 'Bad Request' },
64599
+ 401: { description: 'Unauthorized' },
64600
+ },
64601
+ security: [{ console_session_with_workspace: [] }],
64602
+ summary: '/seam/customer/v1/settings/business_verticals/list',
64603
+ tags: [],
64604
+ 'x-fern-sdk-group-name': [
64605
+ 'seam',
64606
+ 'customer',
64607
+ 'v1',
64608
+ 'settings',
64609
+ 'business_verticals',
64610
+ ],
64611
+ 'x-fern-sdk-method-name': 'list',
64612
+ 'x-fern-sdk-return-value': 'business_verticals',
64613
+ 'x-response-key': 'business_verticals',
64614
+ 'x-title': 'List Business Verticals',
64615
+ 'x-undocumented': 'Internal endpoint for customer portals.',
64616
+ },
64617
+ },
64502
64618
  '/seam/customer/v1/settings/get': {
64503
64619
  get: {
64504
64620
  description: 'Retrieves the settings for a customer portal workspace.',
@@ -64512,6 +64628,7 @@ export default {
64512
64628
  business_vertical: {
64513
64629
  description: 'Business vertical of the customer portal.',
64514
64630
  enum: [
64631
+ 'neutral',
64515
64632
  'short_term_rental',
64516
64633
  'hospitality',
64517
64634
  'multi_family',
@@ -64555,6 +64672,7 @@ export default {
64555
64672
  business_vertical: {
64556
64673
  description: 'Business vertical of the customer portal.',
64557
64674
  enum: [
64675
+ 'neutral',
64558
64676
  'short_term_rental',
64559
64677
  'hospitality',
64560
64678
  'multi_family',
@@ -64599,6 +64717,7 @@ export default {
64599
64717
  business_vertical: {
64600
64718
  description: 'Business vertical to set on the workspace.',
64601
64719
  enum: [
64720
+ 'neutral',
64602
64721
  'short_term_rental',
64603
64722
  'hospitality',
64604
64723
  'multi_family',
@@ -64654,6 +64773,7 @@ export default {
64654
64773
  business_vertical: {
64655
64774
  description: 'Business vertical to set on the workspace.',
64656
64775
  enum: [
64776
+ 'neutral',
64657
64777
  'short_term_rental',
64658
64778
  'hospitality',
64659
64779
  'multi_family',
@@ -64699,6 +64819,386 @@ export default {
64699
64819
  'x-undocumented': 'Internal endpoint for customer portals.',
64700
64820
  },
64701
64821
  },
64822
+ '/seam/customer/v1/settings/vertical_resource_aliases/get': {
64823
+ get: {
64824
+ description:
64825
+ "Returns the resource aliases for the workspace's business vertical, mapping\ngeneric resource types (space, user_identity, access_grant) to their\nvertical-specific terminology. Defaults to neutral if no vertical is set.",
64826
+ operationId: 'seamCustomerV1SettingsVerticalResourceAliasesGetGet',
64827
+ parameters: [],
64828
+ responses: {
64829
+ 200: {
64830
+ content: {
64831
+ 'application/json': {
64832
+ schema: {
64833
+ properties: {
64834
+ ok: { type: 'boolean' },
64835
+ vertical_resource_aliases: {
64836
+ properties: {
64837
+ access_grant: {
64838
+ description:
64839
+ 'Primary access grant alias for this vertical.',
64840
+ properties: {
64841
+ collection_key: {
64842
+ description:
64843
+ 'The key alias for a collection of resources.',
64844
+ type: 'string',
64845
+ },
64846
+ collection_label: {
64847
+ description:
64848
+ 'Human-readable label for a collection of resources.',
64849
+ type: 'string',
64850
+ },
64851
+ resource_key: {
64852
+ description:
64853
+ 'The key alias for a single resource.',
64854
+ type: 'string',
64855
+ },
64856
+ resource_label: {
64857
+ description:
64858
+ 'Human-readable label for a single resource.',
64859
+ type: 'string',
64860
+ },
64861
+ },
64862
+ required: [
64863
+ 'resource_key',
64864
+ 'resource_label',
64865
+ 'collection_key',
64866
+ 'collection_label',
64867
+ ],
64868
+ type: 'object',
64869
+ },
64870
+ additional_spaces: {
64871
+ description:
64872
+ 'Additional space aliases relevant to this vertical.',
64873
+ items: {
64874
+ properties: {
64875
+ collection_key: {
64876
+ description:
64877
+ 'The key alias for a collection of resources.',
64878
+ type: 'string',
64879
+ },
64880
+ collection_label: {
64881
+ description:
64882
+ 'Human-readable label for a collection of resources.',
64883
+ type: 'string',
64884
+ },
64885
+ resource_key: {
64886
+ description:
64887
+ 'The key alias for a single resource.',
64888
+ type: 'string',
64889
+ },
64890
+ resource_label: {
64891
+ description:
64892
+ 'Human-readable label for a single resource.',
64893
+ type: 'string',
64894
+ },
64895
+ },
64896
+ required: [
64897
+ 'resource_key',
64898
+ 'resource_label',
64899
+ 'collection_key',
64900
+ 'collection_label',
64901
+ ],
64902
+ type: 'object',
64903
+ },
64904
+ type: 'array',
64905
+ },
64906
+ space: {
64907
+ description: 'Primary space alias for this vertical.',
64908
+ properties: {
64909
+ collection_key: {
64910
+ description:
64911
+ 'The key alias for a collection of resources.',
64912
+ type: 'string',
64913
+ },
64914
+ collection_label: {
64915
+ description:
64916
+ 'Human-readable label for a collection of resources.',
64917
+ type: 'string',
64918
+ },
64919
+ resource_key: {
64920
+ description:
64921
+ 'The key alias for a single resource.',
64922
+ type: 'string',
64923
+ },
64924
+ resource_label: {
64925
+ description:
64926
+ 'Human-readable label for a single resource.',
64927
+ type: 'string',
64928
+ },
64929
+ },
64930
+ required: [
64931
+ 'resource_key',
64932
+ 'resource_label',
64933
+ 'collection_key',
64934
+ 'collection_label',
64935
+ ],
64936
+ type: 'object',
64937
+ },
64938
+ user_identity: {
64939
+ description:
64940
+ 'Primary user identity alias for this vertical.',
64941
+ properties: {
64942
+ collection_key: {
64943
+ description:
64944
+ 'The key alias for a collection of resources.',
64945
+ type: 'string',
64946
+ },
64947
+ collection_label: {
64948
+ description:
64949
+ 'Human-readable label for a collection of resources.',
64950
+ type: 'string',
64951
+ },
64952
+ resource_key: {
64953
+ description:
64954
+ 'The key alias for a single resource.',
64955
+ type: 'string',
64956
+ },
64957
+ resource_label: {
64958
+ description:
64959
+ 'Human-readable label for a single resource.',
64960
+ type: 'string',
64961
+ },
64962
+ },
64963
+ required: [
64964
+ 'resource_key',
64965
+ 'resource_label',
64966
+ 'collection_key',
64967
+ 'collection_label',
64968
+ ],
64969
+ type: 'object',
64970
+ },
64971
+ },
64972
+ required: [
64973
+ 'space',
64974
+ 'additional_spaces',
64975
+ 'user_identity',
64976
+ 'access_grant',
64977
+ ],
64978
+ type: 'object',
64979
+ },
64980
+ },
64981
+ required: ['vertical_resource_aliases', 'ok'],
64982
+ type: 'object',
64983
+ },
64984
+ },
64985
+ },
64986
+ description: 'OK',
64987
+ },
64988
+ 400: { description: 'Bad Request' },
64989
+ 401: { description: 'Unauthorized' },
64990
+ },
64991
+ security: [
64992
+ { console_session_with_workspace: [] },
64993
+ { client_session_with_customer: [] },
64994
+ ],
64995
+ summary: '/seam/customer/v1/settings/vertical_resource_aliases/get',
64996
+ tags: [],
64997
+ 'x-fern-sdk-group-name': [
64998
+ 'seam',
64999
+ 'customer',
65000
+ 'v1',
65001
+ 'settings',
65002
+ 'vertical_resource_aliases',
65003
+ ],
65004
+ 'x-fern-sdk-method-name': 'get',
65005
+ 'x-fern-sdk-return-value': 'vertical_resource_aliases',
65006
+ 'x-response-key': 'vertical_resource_aliases',
65007
+ 'x-title': 'Get Vertical Resource Aliases',
65008
+ 'x-undocumented': 'Internal endpoint for customer portals.',
65009
+ },
65010
+ post: {
65011
+ description:
65012
+ "Returns the resource aliases for the workspace's business vertical, mapping\ngeneric resource types (space, user_identity, access_grant) to their\nvertical-specific terminology. Defaults to neutral if no vertical is set.",
65013
+ operationId: 'seamCustomerV1SettingsVerticalResourceAliasesGetPost',
65014
+ requestBody: {
65015
+ content: {
65016
+ 'application/json': { schema: { properties: {}, type: 'object' } },
65017
+ },
65018
+ },
65019
+ responses: {
65020
+ 200: {
65021
+ content: {
65022
+ 'application/json': {
65023
+ schema: {
65024
+ properties: {
65025
+ ok: { type: 'boolean' },
65026
+ vertical_resource_aliases: {
65027
+ properties: {
65028
+ access_grant: {
65029
+ description:
65030
+ 'Primary access grant alias for this vertical.',
65031
+ properties: {
65032
+ collection_key: {
65033
+ description:
65034
+ 'The key alias for a collection of resources.',
65035
+ type: 'string',
65036
+ },
65037
+ collection_label: {
65038
+ description:
65039
+ 'Human-readable label for a collection of resources.',
65040
+ type: 'string',
65041
+ },
65042
+ resource_key: {
65043
+ description:
65044
+ 'The key alias for a single resource.',
65045
+ type: 'string',
65046
+ },
65047
+ resource_label: {
65048
+ description:
65049
+ 'Human-readable label for a single resource.',
65050
+ type: 'string',
65051
+ },
65052
+ },
65053
+ required: [
65054
+ 'resource_key',
65055
+ 'resource_label',
65056
+ 'collection_key',
65057
+ 'collection_label',
65058
+ ],
65059
+ type: 'object',
65060
+ },
65061
+ additional_spaces: {
65062
+ description:
65063
+ 'Additional space aliases relevant to this vertical.',
65064
+ items: {
65065
+ properties: {
65066
+ collection_key: {
65067
+ description:
65068
+ 'The key alias for a collection of resources.',
65069
+ type: 'string',
65070
+ },
65071
+ collection_label: {
65072
+ description:
65073
+ 'Human-readable label for a collection of resources.',
65074
+ type: 'string',
65075
+ },
65076
+ resource_key: {
65077
+ description:
65078
+ 'The key alias for a single resource.',
65079
+ type: 'string',
65080
+ },
65081
+ resource_label: {
65082
+ description:
65083
+ 'Human-readable label for a single resource.',
65084
+ type: 'string',
65085
+ },
65086
+ },
65087
+ required: [
65088
+ 'resource_key',
65089
+ 'resource_label',
65090
+ 'collection_key',
65091
+ 'collection_label',
65092
+ ],
65093
+ type: 'object',
65094
+ },
65095
+ type: 'array',
65096
+ },
65097
+ space: {
65098
+ description: 'Primary space alias for this vertical.',
65099
+ properties: {
65100
+ collection_key: {
65101
+ description:
65102
+ 'The key alias for a collection of resources.',
65103
+ type: 'string',
65104
+ },
65105
+ collection_label: {
65106
+ description:
65107
+ 'Human-readable label for a collection of resources.',
65108
+ type: 'string',
65109
+ },
65110
+ resource_key: {
65111
+ description:
65112
+ 'The key alias for a single resource.',
65113
+ type: 'string',
65114
+ },
65115
+ resource_label: {
65116
+ description:
65117
+ 'Human-readable label for a single resource.',
65118
+ type: 'string',
65119
+ },
65120
+ },
65121
+ required: [
65122
+ 'resource_key',
65123
+ 'resource_label',
65124
+ 'collection_key',
65125
+ 'collection_label',
65126
+ ],
65127
+ type: 'object',
65128
+ },
65129
+ user_identity: {
65130
+ description:
65131
+ 'Primary user identity alias for this vertical.',
65132
+ properties: {
65133
+ collection_key: {
65134
+ description:
65135
+ 'The key alias for a collection of resources.',
65136
+ type: 'string',
65137
+ },
65138
+ collection_label: {
65139
+ description:
65140
+ 'Human-readable label for a collection of resources.',
65141
+ type: 'string',
65142
+ },
65143
+ resource_key: {
65144
+ description:
65145
+ 'The key alias for a single resource.',
65146
+ type: 'string',
65147
+ },
65148
+ resource_label: {
65149
+ description:
65150
+ 'Human-readable label for a single resource.',
65151
+ type: 'string',
65152
+ },
65153
+ },
65154
+ required: [
65155
+ 'resource_key',
65156
+ 'resource_label',
65157
+ 'collection_key',
65158
+ 'collection_label',
65159
+ ],
65160
+ type: 'object',
65161
+ },
65162
+ },
65163
+ required: [
65164
+ 'space',
65165
+ 'additional_spaces',
65166
+ 'user_identity',
65167
+ 'access_grant',
65168
+ ],
65169
+ type: 'object',
65170
+ },
65171
+ },
65172
+ required: ['vertical_resource_aliases', 'ok'],
65173
+ type: 'object',
65174
+ },
65175
+ },
65176
+ },
65177
+ description: 'OK',
65178
+ },
65179
+ 400: { description: 'Bad Request' },
65180
+ 401: { description: 'Unauthorized' },
65181
+ },
65182
+ security: [
65183
+ { console_session_with_workspace: [] },
65184
+ { client_session_with_customer: [] },
65185
+ ],
65186
+ summary: '/seam/customer/v1/settings/vertical_resource_aliases/get',
65187
+ tags: [],
65188
+ 'x-fern-sdk-group-name': [
65189
+ 'seam',
65190
+ 'customer',
65191
+ 'v1',
65192
+ 'settings',
65193
+ 'vertical_resource_aliases',
65194
+ ],
65195
+ 'x-fern-sdk-method-name': 'get',
65196
+ 'x-fern-sdk-return-value': 'vertical_resource_aliases',
65197
+ 'x-response-key': 'vertical_resource_aliases',
65198
+ 'x-title': 'Get Vertical Resource Aliases',
65199
+ 'x-undocumented': 'Internal endpoint for customer portals.',
65200
+ },
65201
+ },
64702
65202
  '/seam/customer/v1/spaces/create': {
64703
65203
  post: {
64704
65204
  description: 'Creates a new space with optional parent space support.',
@@ -71966,6 +71966,7 @@ export type Routes = {
71966
71966
  /** Business vertical of the customer portal. */
71967
71967
  business_vertical?:
71968
71968
  | (
71969
+ | 'neutral'
71969
71970
  | 'short_term_rental'
71970
71971
  | 'hospitality'
71971
71972
  | 'multi_family'
@@ -72089,6 +72090,25 @@ export type Routes = {
72089
72090
  }
72090
72091
  maxDuration: undefined
72091
72092
  }
72093
+ '/seam/customer/v1/settings/business_verticals/list': {
72094
+ route: '/seam/customer/v1/settings/business_verticals/list'
72095
+ method: 'GET' | 'POST'
72096
+ queryParams: {}
72097
+ jsonBody: {}
72098
+ commonParams: {}
72099
+ formData: {}
72100
+ jsonResponse: {
72101
+ business_verticals: (
72102
+ | 'neutral'
72103
+ | 'short_term_rental'
72104
+ | 'hospitality'
72105
+ | 'multi_family'
72106
+ | 'gym_management'
72107
+ | 'property_tours'
72108
+ )[]
72109
+ }
72110
+ maxDuration: undefined
72111
+ }
72092
72112
  '/seam/customer/v1/settings/get': {
72093
72113
  route: '/seam/customer/v1/settings/get'
72094
72114
  method: 'GET' | 'POST'
@@ -72100,6 +72120,7 @@ export type Routes = {
72100
72120
  /** Business vertical of the customer portal. */
72101
72121
  business_vertical?:
72102
72122
  | (
72123
+ | 'neutral'
72103
72124
  | 'short_term_rental'
72104
72125
  | 'hospitality'
72105
72126
  | 'multi_family'
@@ -72119,6 +72140,7 @@ export type Routes = {
72119
72140
  /** Business vertical to set on the workspace. */
72120
72141
  business_vertical?:
72121
72142
  | (
72143
+ | 'neutral'
72122
72144
  | 'short_term_rental'
72123
72145
  | 'hospitality'
72124
72146
  | 'multi_family'
@@ -72134,6 +72156,63 @@ export type Routes = {
72134
72156
  jsonResponse: {}
72135
72157
  maxDuration: undefined
72136
72158
  }
72159
+ '/seam/customer/v1/settings/vertical_resource_aliases/get': {
72160
+ route: '/seam/customer/v1/settings/vertical_resource_aliases/get'
72161
+ method: 'GET' | 'POST'
72162
+ queryParams: {}
72163
+ jsonBody: {}
72164
+ commonParams: {}
72165
+ formData: {}
72166
+ jsonResponse: {
72167
+ vertical_resource_aliases: {
72168
+ /** Primary space alias for this vertical. */
72169
+ space: {
72170
+ /** The key alias for a single resource. */
72171
+ resource_key: string
72172
+ /** Human-readable label for a single resource. */
72173
+ resource_label: string
72174
+ /** The key alias for a collection of resources. */
72175
+ collection_key: string
72176
+ /** Human-readable label for a collection of resources. */
72177
+ collection_label: string
72178
+ }
72179
+ /** Additional space aliases relevant to this vertical. */
72180
+ additional_spaces: {
72181
+ /** The key alias for a single resource. */
72182
+ resource_key: string
72183
+ /** Human-readable label for a single resource. */
72184
+ resource_label: string
72185
+ /** The key alias for a collection of resources. */
72186
+ collection_key: string
72187
+ /** Human-readable label for a collection of resources. */
72188
+ collection_label: string
72189
+ }[]
72190
+ /** Primary user identity alias for this vertical. */
72191
+ user_identity: {
72192
+ /** The key alias for a single resource. */
72193
+ resource_key: string
72194
+ /** Human-readable label for a single resource. */
72195
+ resource_label: string
72196
+ /** The key alias for a collection of resources. */
72197
+ collection_key: string
72198
+ /** Human-readable label for a collection of resources. */
72199
+ collection_label: string
72200
+ }
72201
+ /** Primary access grant alias for this vertical. */
72202
+ access_grant: {
72203
+ /** The key alias for a single resource. */
72204
+ resource_key: string
72205
+ /** Human-readable label for a single resource. */
72206
+ resource_label: string
72207
+ /** The key alias for a collection of resources. */
72208
+ collection_key: string
72209
+ /** Human-readable label for a collection of resources. */
72210
+ collection_label: string
72211
+ }
72212
+ }
72213
+ }
72214
+ maxDuration: undefined
72215
+ }
72137
72216
  '/seam/customer/v1/spaces/create': {
72138
72217
  route: '/seam/customer/v1/spaces/create'
72139
72218
  method: 'POST'