@seamapi/types 1.428.0 → 1.429.1

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.
@@ -26540,9 +26540,9 @@ export default {
26540
26540
  },
26541
26541
  },
26542
26542
  '/access_grants/delete': {
26543
- get: {
26543
+ delete: {
26544
26544
  description: 'Delete an access grant.',
26545
- operationId: 'accessGrantsDeleteGet',
26545
+ operationId: 'accessGrantsDeleteDelete',
26546
26546
  parameters: [
26547
26547
  {
26548
26548
  in: 'query',
@@ -27044,9 +27044,9 @@ export default {
27044
27044
  },
27045
27045
  },
27046
27046
  '/access_methods/delete': {
27047
- get: {
27047
+ delete: {
27048
27048
  description: 'Delete an access method.',
27049
- operationId: 'accessMethodsDeleteGet',
27049
+ operationId: 'accessMethodsDeleteDelete',
27050
27050
  parameters: [
27051
27051
  {
27052
27052
  in: 'query',
@@ -43858,17 +43858,84 @@ export default {
43858
43858
  'x-undocumented': 'Seam Bridge Client only.',
43859
43859
  },
43860
43860
  },
43861
- '/seam/customer/v1/portals/get': {
43861
+ '/seam/customer/v1/automation_runs/list': {
43862
43862
  get: {
43863
43863
  description:
43864
- 'Retrieves the configuration for a customer portal identified by customer_portal_id.',
43865
- operationId: 'seamCustomerV1PortalsGetGet',
43864
+ 'Returns a list of all automation runs for a workspace or customer.',
43865
+ operationId: 'seamCustomerV1AutomationRunsListGet',
43866
43866
  parameters: [
43867
43867
  {
43868
43868
  in: 'query',
43869
- name: 'customer_portal_id',
43870
- required: true,
43871
- schema: { description: 'Customer portal ID.', type: 'string' },
43869
+ name: 'automation_id',
43870
+ schema: {
43871
+ description:
43872
+ 'ID of the automation for which you want to retrieve all automation runs.',
43873
+ format: 'uuid',
43874
+ type: 'string',
43875
+ },
43876
+ },
43877
+ {
43878
+ in: 'query',
43879
+ name: 'partner_resource_id',
43880
+ schema: {
43881
+ description:
43882
+ 'ID of the partner resource for which you want to retrieve all automation runs.',
43883
+ format: 'uuid',
43884
+ type: 'string',
43885
+ },
43886
+ },
43887
+ {
43888
+ in: 'query',
43889
+ name: 'rule',
43890
+ schema: {
43891
+ description:
43892
+ 'Filter automation runs by the specific rule that was executed.',
43893
+ enum: [
43894
+ 'reservation_created',
43895
+ 'reservation_time_updated',
43896
+ 'reservation_deleted',
43897
+ ],
43898
+ type: 'string',
43899
+ },
43900
+ },
43901
+ {
43902
+ in: 'query',
43903
+ name: 'success',
43904
+ schema: {
43905
+ description: 'Filter automation runs by success status.',
43906
+ type: 'boolean',
43907
+ },
43908
+ },
43909
+ {
43910
+ in: 'query',
43911
+ name: 'limit',
43912
+ schema: {
43913
+ default: 500,
43914
+ description: 'Maximum number of records to return per page.',
43915
+ exclusiveMinimum: true,
43916
+ minimum: 0,
43917
+ type: 'integer',
43918
+ },
43919
+ },
43920
+ {
43921
+ in: 'query',
43922
+ name: 'created_before',
43923
+ schema: {
43924
+ description:
43925
+ 'Timestamp by which to limit returned automation runs. Returns runs created before this timestamp.',
43926
+ format: 'date-time',
43927
+ type: 'string',
43928
+ },
43929
+ },
43930
+ {
43931
+ in: 'query',
43932
+ name: 'page_cursor',
43933
+ schema: {
43934
+ description:
43935
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
43936
+ nullable: true,
43937
+ type: 'string',
43938
+ },
43872
43939
  },
43873
43940
  ],
43874
43941
  responses: {
@@ -43877,44 +43944,71 @@ export default {
43877
43944
  'application/json': {
43878
43945
  schema: {
43879
43946
  properties: {
43880
- customer_portal: {
43881
- properties: {
43882
- business_vertical: {
43883
- description:
43884
- 'Business vertical of the customer portal.',
43885
- enum: [
43886
- 'short_term_rental',
43887
- 'hospitality',
43888
- 'multi_family',
43889
- 'gym_management',
43890
- 'property_tours',
43891
- ],
43892
- type: 'string',
43893
- },
43894
- features: {
43895
- properties: {
43896
- connect: {
43897
- properties: { exclude: { type: 'boolean' } },
43898
- type: 'object',
43899
- },
43900
- manage_devices: {
43901
- properties: { exclude: { type: 'boolean' } },
43902
- type: 'object',
43903
- },
43904
- organize: {
43905
- properties: { exclude: { type: 'boolean' } },
43906
- type: 'object',
43947
+ automation_runs: {
43948
+ items: {
43949
+ properties: {
43950
+ automation_id: { format: 'uuid', type: 'string' },
43951
+ automation_result: {
43952
+ properties: {
43953
+ actions: {
43954
+ items: {
43955
+ properties: {
43956
+ access_grant_id: {
43957
+ format: 'uuid',
43958
+ type: 'string',
43959
+ },
43960
+ action_type: {
43961
+ enum: ['create', 'update', 'delete'],
43962
+ type: 'string',
43963
+ },
43964
+ resource_type: { type: 'string' },
43965
+ },
43966
+ required: [
43967
+ 'action_type',
43968
+ 'resource_type',
43969
+ 'access_grant_id',
43970
+ ],
43971
+ type: 'object',
43972
+ },
43973
+ type: 'array',
43974
+ },
43975
+ error: { type: 'string' },
43976
+ rule: {
43977
+ enum: [
43978
+ 'reservation_created',
43979
+ 'reservation_time_updated',
43980
+ 'reservation_deleted',
43981
+ ],
43982
+ type: 'string',
43983
+ },
43984
+ success: { type: 'boolean' },
43907
43985
  },
43986
+ required: ['success', 'rule', 'actions'],
43987
+ type: 'object',
43908
43988
  },
43909
- type: 'object',
43989
+ automation_run_id: { format: 'uuid', type: 'string' },
43990
+ created_at: { type: 'string' },
43991
+ partner_resource_id: {
43992
+ format: 'uuid',
43993
+ type: 'string',
43994
+ },
43995
+ workspace_id: { format: 'uuid', type: 'string' },
43910
43996
  },
43911
- is_embedded: { type: 'boolean' },
43997
+ required: [
43998
+ 'automation_run_id',
43999
+ 'workspace_id',
44000
+ 'automation_id',
44001
+ 'partner_resource_id',
44002
+ 'created_at',
44003
+ ],
44004
+ type: 'object',
43912
44005
  },
43913
- type: 'object',
44006
+ type: 'array',
43914
44007
  },
43915
44008
  ok: { type: 'boolean' },
44009
+ pagination: { $ref: '#/components/schemas/pagination' },
43916
44010
  },
43917
- required: ['customer_portal', 'ok'],
44011
+ required: ['automation_runs', 'pagination', 'ok'],
43918
44012
  type: 'object',
43919
44013
  },
43920
44014
  },
@@ -43924,31 +44018,76 @@ export default {
43924
44018
  400: { description: 'Bad Request' },
43925
44019
  401: { description: 'Unauthorized' },
43926
44020
  },
43927
- security: [{ client_session_with_customer: [] }],
43928
- summary: '/seam/customer/v1/portals/get',
44021
+ security: [
44022
+ { console_session_with_workspace: [] },
44023
+ { api_key: [] },
44024
+ { client_session_with_customer: [] },
44025
+ ],
44026
+ summary: '/seam/customer/v1/automation_runs/list',
43929
44027
  tags: [],
43930
- 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'portals'],
43931
- 'x-fern-sdk-method-name': 'get',
43932
- 'x-fern-sdk-return-value': 'customer_portal',
43933
- 'x-response-key': 'customer_portal',
43934
- 'x-title': 'Get Customer Portal Configuration',
44028
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automation_runs'],
44029
+ 'x-fern-sdk-method-name': 'list',
44030
+ 'x-fern-sdk-return-value': 'automation_runs',
44031
+ 'x-response-key': 'automation_runs',
44032
+ 'x-title': 'List Automation Runs',
43935
44033
  'x-undocumented': 'Internal endpoint for customer portals.',
43936
44034
  },
43937
44035
  post: {
43938
44036
  description:
43939
- 'Retrieves the configuration for a customer portal identified by customer_portal_id.',
43940
- operationId: 'seamCustomerV1PortalsGetPost',
44037
+ 'Returns a list of all automation runs for a workspace or customer.',
44038
+ operationId: 'seamCustomerV1AutomationRunsListPost',
43941
44039
  requestBody: {
43942
44040
  content: {
43943
44041
  'application/json': {
43944
44042
  schema: {
43945
44043
  properties: {
43946
- customer_portal_id: {
43947
- description: 'Customer portal ID.',
44044
+ automation_id: {
44045
+ description:
44046
+ 'ID of the automation for which you want to retrieve all automation runs.',
44047
+ format: 'uuid',
44048
+ type: 'string',
44049
+ },
44050
+ created_before: {
44051
+ description:
44052
+ 'Timestamp by which to limit returned automation runs. Returns runs created before this timestamp.',
44053
+ format: 'date-time',
44054
+ type: 'string',
44055
+ },
44056
+ limit: {
44057
+ default: 500,
44058
+ description:
44059
+ 'Maximum number of records to return per page.',
44060
+ exclusiveMinimum: true,
44061
+ minimum: 0,
44062
+ type: 'integer',
44063
+ },
44064
+ page_cursor: {
44065
+ description:
44066
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
44067
+ nullable: true,
44068
+ type: 'string',
44069
+ },
44070
+ partner_resource_id: {
44071
+ description:
44072
+ 'ID of the partner resource for which you want to retrieve all automation runs.',
44073
+ format: 'uuid',
44074
+ type: 'string',
44075
+ },
44076
+ rule: {
44077
+ description:
44078
+ 'Filter automation runs by the specific rule that was executed.',
44079
+ enum: [
44080
+ 'reservation_created',
44081
+ 'reservation_time_updated',
44082
+ 'reservation_deleted',
44083
+ ],
43948
44084
  type: 'string',
43949
44085
  },
44086
+ success: {
44087
+ description: 'Filter automation runs by success status.',
44088
+ type: 'boolean',
44089
+ },
43950
44090
  },
43951
- required: ['customer_portal_id'],
43952
44091
  type: 'object',
43953
44092
  },
43954
44093
  },
@@ -43960,44 +44099,71 @@ export default {
43960
44099
  'application/json': {
43961
44100
  schema: {
43962
44101
  properties: {
43963
- customer_portal: {
43964
- properties: {
43965
- business_vertical: {
43966
- description:
43967
- 'Business vertical of the customer portal.',
43968
- enum: [
43969
- 'short_term_rental',
43970
- 'hospitality',
43971
- 'multi_family',
43972
- 'gym_management',
43973
- 'property_tours',
43974
- ],
43975
- type: 'string',
43976
- },
43977
- features: {
43978
- properties: {
43979
- connect: {
43980
- properties: { exclude: { type: 'boolean' } },
43981
- type: 'object',
43982
- },
43983
- manage_devices: {
43984
- properties: { exclude: { type: 'boolean' } },
43985
- type: 'object',
43986
- },
43987
- organize: {
43988
- properties: { exclude: { type: 'boolean' } },
43989
- type: 'object',
44102
+ automation_runs: {
44103
+ items: {
44104
+ properties: {
44105
+ automation_id: { format: 'uuid', type: 'string' },
44106
+ automation_result: {
44107
+ properties: {
44108
+ actions: {
44109
+ items: {
44110
+ properties: {
44111
+ access_grant_id: {
44112
+ format: 'uuid',
44113
+ type: 'string',
44114
+ },
44115
+ action_type: {
44116
+ enum: ['create', 'update', 'delete'],
44117
+ type: 'string',
44118
+ },
44119
+ resource_type: { type: 'string' },
44120
+ },
44121
+ required: [
44122
+ 'action_type',
44123
+ 'resource_type',
44124
+ 'access_grant_id',
44125
+ ],
44126
+ type: 'object',
44127
+ },
44128
+ type: 'array',
44129
+ },
44130
+ error: { type: 'string' },
44131
+ rule: {
44132
+ enum: [
44133
+ 'reservation_created',
44134
+ 'reservation_time_updated',
44135
+ 'reservation_deleted',
44136
+ ],
44137
+ type: 'string',
44138
+ },
44139
+ success: { type: 'boolean' },
43990
44140
  },
44141
+ required: ['success', 'rule', 'actions'],
44142
+ type: 'object',
43991
44143
  },
43992
- type: 'object',
44144
+ automation_run_id: { format: 'uuid', type: 'string' },
44145
+ created_at: { type: 'string' },
44146
+ partner_resource_id: {
44147
+ format: 'uuid',
44148
+ type: 'string',
44149
+ },
44150
+ workspace_id: { format: 'uuid', type: 'string' },
43993
44151
  },
43994
- is_embedded: { type: 'boolean' },
44152
+ required: [
44153
+ 'automation_run_id',
44154
+ 'workspace_id',
44155
+ 'automation_id',
44156
+ 'partner_resource_id',
44157
+ 'created_at',
44158
+ ],
44159
+ type: 'object',
43995
44160
  },
43996
- type: 'object',
44161
+ type: 'array',
43997
44162
  },
43998
44163
  ok: { type: 'boolean' },
44164
+ pagination: { $ref: '#/components/schemas/pagination' },
43999
44165
  },
44000
- required: ['customer_portal', 'ok'],
44166
+ required: ['automation_runs', 'pagination', 'ok'],
44001
44167
  type: 'object',
44002
44168
  },
44003
44169
  },
@@ -44007,18 +44173,680 @@ export default {
44007
44173
  400: { description: 'Bad Request' },
44008
44174
  401: { description: 'Unauthorized' },
44009
44175
  },
44010
- security: [{ client_session_with_customer: [] }],
44011
- summary: '/seam/customer/v1/portals/get',
44176
+ security: [
44177
+ { console_session_with_workspace: [] },
44178
+ { api_key: [] },
44179
+ { client_session_with_customer: [] },
44180
+ ],
44181
+ summary: '/seam/customer/v1/automation_runs/list',
44012
44182
  tags: [],
44013
- 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'portals'],
44014
- 'x-fern-sdk-method-name': 'get',
44015
- 'x-fern-sdk-return-value': 'customer_portal',
44016
- 'x-response-key': 'customer_portal',
44017
- 'x-title': 'Get Customer Portal Configuration',
44183
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automation_runs'],
44184
+ 'x-fern-sdk-method-name': 'list',
44185
+ 'x-fern-sdk-return-value': 'automation_runs',
44186
+ 'x-response-key': 'automation_runs',
44187
+ 'x-title': 'List Automation Runs',
44018
44188
  'x-undocumented': 'Internal endpoint for customer portals.',
44019
44189
  },
44020
44190
  },
44021
- '/seam/customer/v1/settings/update': {
44191
+ '/seam/customer/v1/automations/delete': {
44192
+ delete: {
44193
+ description:
44194
+ 'Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
44195
+ operationId: 'seamCustomerV1AutomationsDeleteDelete',
44196
+ requestBody: {
44197
+ content: {
44198
+ 'application/json': { schema: { properties: {}, type: 'object' } },
44199
+ },
44200
+ },
44201
+ responses: {
44202
+ 200: {
44203
+ content: {
44204
+ 'application/json': {
44205
+ schema: {
44206
+ properties: { ok: { type: 'boolean' } },
44207
+ required: ['ok'],
44208
+ type: 'object',
44209
+ },
44210
+ },
44211
+ },
44212
+ description: 'OK',
44213
+ },
44214
+ 400: { description: 'Bad Request' },
44215
+ 401: { description: 'Unauthorized' },
44216
+ },
44217
+ security: [
44218
+ { console_session_with_workspace: [] },
44219
+ { api_key: [] },
44220
+ { client_session_with_customer: [] },
44221
+ ],
44222
+ summary: '/seam/customer/v1/automations/delete',
44223
+ tags: [],
44224
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
44225
+ 'x-fern-sdk-method-name': 'delete',
44226
+ 'x-response-key': null,
44227
+ 'x-title': 'Delete Customer Portal Automation Configuration',
44228
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44229
+ },
44230
+ post: {
44231
+ description:
44232
+ 'Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
44233
+ operationId: 'seamCustomerV1AutomationsDeletePost',
44234
+ requestBody: {
44235
+ content: {
44236
+ 'application/json': { schema: { properties: {}, type: 'object' } },
44237
+ },
44238
+ },
44239
+ responses: {
44240
+ 200: {
44241
+ content: {
44242
+ 'application/json': {
44243
+ schema: {
44244
+ properties: { ok: { type: 'boolean' } },
44245
+ required: ['ok'],
44246
+ type: 'object',
44247
+ },
44248
+ },
44249
+ },
44250
+ description: 'OK',
44251
+ },
44252
+ 400: { description: 'Bad Request' },
44253
+ 401: { description: 'Unauthorized' },
44254
+ },
44255
+ security: [
44256
+ { console_session_with_workspace: [] },
44257
+ { api_key: [] },
44258
+ { client_session_with_customer: [] },
44259
+ ],
44260
+ summary: '/seam/customer/v1/automations/delete',
44261
+ tags: [],
44262
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
44263
+ 'x-fern-sdk-method-name': 'delete',
44264
+ 'x-response-key': null,
44265
+ 'x-title': 'Delete Customer Portal Automation Configuration',
44266
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44267
+ },
44268
+ },
44269
+ '/seam/customer/v1/automations/get': {
44270
+ get: {
44271
+ description:
44272
+ 'Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
44273
+ operationId: 'seamCustomerV1AutomationsGetGet',
44274
+ responses: {
44275
+ 200: {
44276
+ content: {
44277
+ 'application/json': {
44278
+ schema: {
44279
+ properties: {
44280
+ access_rules: {
44281
+ properties: {
44282
+ reservation_created: {
44283
+ properties: {
44284
+ config: {
44285
+ properties: {
44286
+ access_methods: {
44287
+ items: {
44288
+ enum: ['card', 'mobile_key', 'code'],
44289
+ type: 'string',
44290
+ },
44291
+ minItems: 1,
44292
+ type: 'array',
44293
+ },
44294
+ method_issuance_strategy: {
44295
+ enum: [
44296
+ 'first_available',
44297
+ 'first_two_available',
44298
+ 'all_available',
44299
+ ],
44300
+ type: 'string',
44301
+ },
44302
+ },
44303
+ required: [
44304
+ 'access_methods',
44305
+ 'method_issuance_strategy',
44306
+ ],
44307
+ type: 'object',
44308
+ },
44309
+ rule: {
44310
+ enum: ['reservation_created'],
44311
+ type: 'string',
44312
+ },
44313
+ },
44314
+ required: ['rule', 'config'],
44315
+ type: 'object',
44316
+ },
44317
+ reservation_deleted: {
44318
+ properties: {
44319
+ config: {
44320
+ $ref: '#/components/schemas/access_code',
44321
+ },
44322
+ rule: {
44323
+ enum: ['reservation_deleted'],
44324
+ type: 'string',
44325
+ },
44326
+ },
44327
+ required: ['rule', 'config'],
44328
+ type: 'object',
44329
+ },
44330
+ reservation_time_updated: {
44331
+ properties: {
44332
+ config: {
44333
+ $ref: '#/components/schemas/access_code',
44334
+ },
44335
+ rule: {
44336
+ enum: ['reservation_time_updated'],
44337
+ type: 'string',
44338
+ },
44339
+ },
44340
+ required: ['rule', 'config'],
44341
+ type: 'object',
44342
+ },
44343
+ },
44344
+ type: 'object',
44345
+ },
44346
+ ok: { type: 'boolean' },
44347
+ },
44348
+ required: ['ok'],
44349
+ type: 'object',
44350
+ },
44351
+ },
44352
+ },
44353
+ description: 'OK',
44354
+ },
44355
+ 400: { description: 'Bad Request' },
44356
+ 401: { description: 'Unauthorized' },
44357
+ },
44358
+ security: [
44359
+ { console_session_with_workspace: [] },
44360
+ { api_key: [] },
44361
+ { client_session_with_customer: [] },
44362
+ ],
44363
+ summary: '/seam/customer/v1/automations/get',
44364
+ tags: [],
44365
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
44366
+ 'x-fern-sdk-method-name': 'get',
44367
+ 'x-response-key': null,
44368
+ 'x-title': 'Get Customer Portal Automation Configuration',
44369
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44370
+ },
44371
+ post: {
44372
+ description:
44373
+ 'Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
44374
+ operationId: 'seamCustomerV1AutomationsGetPost',
44375
+ responses: {
44376
+ 200: {
44377
+ content: {
44378
+ 'application/json': {
44379
+ schema: {
44380
+ properties: {
44381
+ access_rules: {
44382
+ properties: {
44383
+ reservation_created: {
44384
+ properties: {
44385
+ config: {
44386
+ properties: {
44387
+ access_methods: {
44388
+ items: {
44389
+ enum: ['card', 'mobile_key', 'code'],
44390
+ type: 'string',
44391
+ },
44392
+ minItems: 1,
44393
+ type: 'array',
44394
+ },
44395
+ method_issuance_strategy: {
44396
+ enum: [
44397
+ 'first_available',
44398
+ 'first_two_available',
44399
+ 'all_available',
44400
+ ],
44401
+ type: 'string',
44402
+ },
44403
+ },
44404
+ required: [
44405
+ 'access_methods',
44406
+ 'method_issuance_strategy',
44407
+ ],
44408
+ type: 'object',
44409
+ },
44410
+ rule: {
44411
+ enum: ['reservation_created'],
44412
+ type: 'string',
44413
+ },
44414
+ },
44415
+ required: ['rule', 'config'],
44416
+ type: 'object',
44417
+ },
44418
+ reservation_deleted: {
44419
+ properties: {
44420
+ config: {
44421
+ $ref: '#/components/schemas/access_code',
44422
+ },
44423
+ rule: {
44424
+ enum: ['reservation_deleted'],
44425
+ type: 'string',
44426
+ },
44427
+ },
44428
+ required: ['rule', 'config'],
44429
+ type: 'object',
44430
+ },
44431
+ reservation_time_updated: {
44432
+ properties: {
44433
+ config: {
44434
+ $ref: '#/components/schemas/access_code',
44435
+ },
44436
+ rule: {
44437
+ enum: ['reservation_time_updated'],
44438
+ type: 'string',
44439
+ },
44440
+ },
44441
+ required: ['rule', 'config'],
44442
+ type: 'object',
44443
+ },
44444
+ },
44445
+ type: 'object',
44446
+ },
44447
+ ok: { type: 'boolean' },
44448
+ },
44449
+ required: ['ok'],
44450
+ type: 'object',
44451
+ },
44452
+ },
44453
+ },
44454
+ description: 'OK',
44455
+ },
44456
+ 400: { description: 'Bad Request' },
44457
+ 401: { description: 'Unauthorized' },
44458
+ },
44459
+ security: [
44460
+ { console_session_with_workspace: [] },
44461
+ { api_key: [] },
44462
+ { client_session_with_customer: [] },
44463
+ ],
44464
+ summary: '/seam/customer/v1/automations/get',
44465
+ tags: [],
44466
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
44467
+ 'x-fern-sdk-method-name': 'get',
44468
+ 'x-response-key': null,
44469
+ 'x-title': 'Get Customer Portal Automation Configuration',
44470
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44471
+ },
44472
+ },
44473
+ '/seam/customer/v1/automations/update': {
44474
+ patch: {
44475
+ description:
44476
+ 'Updates the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
44477
+ operationId: 'seamCustomerV1AutomationsUpdatePatch',
44478
+ requestBody: {
44479
+ content: {
44480
+ 'application/json': {
44481
+ schema: {
44482
+ properties: {
44483
+ access_rules: {
44484
+ description: 'Access automation rules configuration.',
44485
+ properties: {
44486
+ reservation_created: {
44487
+ properties: {
44488
+ config: {
44489
+ properties: {
44490
+ access_methods: {
44491
+ items: {
44492
+ enum: ['card', 'mobile_key', 'code'],
44493
+ type: 'string',
44494
+ },
44495
+ minItems: 1,
44496
+ type: 'array',
44497
+ },
44498
+ method_issuance_strategy: {
44499
+ enum: [
44500
+ 'first_available',
44501
+ 'first_two_available',
44502
+ 'all_available',
44503
+ ],
44504
+ type: 'string',
44505
+ },
44506
+ },
44507
+ required: [
44508
+ 'access_methods',
44509
+ 'method_issuance_strategy',
44510
+ ],
44511
+ type: 'object',
44512
+ },
44513
+ rule: {
44514
+ enum: ['reservation_created'],
44515
+ type: 'string',
44516
+ },
44517
+ },
44518
+ required: ['rule', 'config'],
44519
+ type: 'object',
44520
+ },
44521
+ reservation_deleted: {
44522
+ properties: {
44523
+ config: { properties: {}, type: 'object' },
44524
+ rule: {
44525
+ enum: ['reservation_deleted'],
44526
+ type: 'string',
44527
+ },
44528
+ },
44529
+ required: ['rule', 'config'],
44530
+ type: 'object',
44531
+ },
44532
+ reservation_time_updated: {
44533
+ properties: {
44534
+ config: { properties: {}, type: 'object' },
44535
+ rule: {
44536
+ enum: ['reservation_time_updated'],
44537
+ type: 'string',
44538
+ },
44539
+ },
44540
+ required: ['rule', 'config'],
44541
+ type: 'object',
44542
+ },
44543
+ },
44544
+ type: 'object',
44545
+ },
44546
+ },
44547
+ type: 'object',
44548
+ },
44549
+ },
44550
+ },
44551
+ },
44552
+ responses: {
44553
+ 200: {
44554
+ content: {
44555
+ 'application/json': {
44556
+ schema: {
44557
+ properties: { ok: { type: 'boolean' } },
44558
+ required: ['ok'],
44559
+ type: 'object',
44560
+ },
44561
+ },
44562
+ },
44563
+ description: 'OK',
44564
+ },
44565
+ 400: { description: 'Bad Request' },
44566
+ 401: { description: 'Unauthorized' },
44567
+ },
44568
+ security: [
44569
+ { console_session_with_workspace: [] },
44570
+ { api_key: [] },
44571
+ { client_session_with_customer: [] },
44572
+ ],
44573
+ summary: '/seam/customer/v1/automations/update',
44574
+ tags: [],
44575
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
44576
+ 'x-fern-sdk-method-name': 'update',
44577
+ 'x-response-key': null,
44578
+ 'x-title': 'Update Customer Portal Automation Configuration',
44579
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44580
+ },
44581
+ post: {
44582
+ description:
44583
+ 'Updates the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
44584
+ operationId: 'seamCustomerV1AutomationsUpdatePost',
44585
+ requestBody: {
44586
+ content: {
44587
+ 'application/json': {
44588
+ schema: {
44589
+ properties: {
44590
+ access_rules: {
44591
+ description: 'Access automation rules configuration.',
44592
+ properties: {
44593
+ reservation_created: {
44594
+ properties: {
44595
+ config: {
44596
+ properties: {
44597
+ access_methods: {
44598
+ items: {
44599
+ enum: ['card', 'mobile_key', 'code'],
44600
+ type: 'string',
44601
+ },
44602
+ minItems: 1,
44603
+ type: 'array',
44604
+ },
44605
+ method_issuance_strategy: {
44606
+ enum: [
44607
+ 'first_available',
44608
+ 'first_two_available',
44609
+ 'all_available',
44610
+ ],
44611
+ type: 'string',
44612
+ },
44613
+ },
44614
+ required: [
44615
+ 'access_methods',
44616
+ 'method_issuance_strategy',
44617
+ ],
44618
+ type: 'object',
44619
+ },
44620
+ rule: {
44621
+ enum: ['reservation_created'],
44622
+ type: 'string',
44623
+ },
44624
+ },
44625
+ required: ['rule', 'config'],
44626
+ type: 'object',
44627
+ },
44628
+ reservation_deleted: {
44629
+ properties: {
44630
+ config: { properties: {}, type: 'object' },
44631
+ rule: {
44632
+ enum: ['reservation_deleted'],
44633
+ type: 'string',
44634
+ },
44635
+ },
44636
+ required: ['rule', 'config'],
44637
+ type: 'object',
44638
+ },
44639
+ reservation_time_updated: {
44640
+ properties: {
44641
+ config: { properties: {}, type: 'object' },
44642
+ rule: {
44643
+ enum: ['reservation_time_updated'],
44644
+ type: 'string',
44645
+ },
44646
+ },
44647
+ required: ['rule', 'config'],
44648
+ type: 'object',
44649
+ },
44650
+ },
44651
+ type: 'object',
44652
+ },
44653
+ },
44654
+ type: 'object',
44655
+ },
44656
+ },
44657
+ },
44658
+ },
44659
+ responses: {
44660
+ 200: {
44661
+ content: {
44662
+ 'application/json': {
44663
+ schema: {
44664
+ properties: { ok: { type: 'boolean' } },
44665
+ required: ['ok'],
44666
+ type: 'object',
44667
+ },
44668
+ },
44669
+ },
44670
+ description: 'OK',
44671
+ },
44672
+ 400: { description: 'Bad Request' },
44673
+ 401: { description: 'Unauthorized' },
44674
+ },
44675
+ security: [
44676
+ { console_session_with_workspace: [] },
44677
+ { api_key: [] },
44678
+ { client_session_with_customer: [] },
44679
+ ],
44680
+ summary: '/seam/customer/v1/automations/update',
44681
+ tags: [],
44682
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
44683
+ 'x-fern-sdk-method-name': 'update',
44684
+ 'x-response-key': null,
44685
+ 'x-title': 'Update Customer Portal Automation Configuration',
44686
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44687
+ },
44688
+ },
44689
+ '/seam/customer/v1/portals/get': {
44690
+ get: {
44691
+ description:
44692
+ 'Retrieves the configuration for a customer portal identified by customer_portal_id.',
44693
+ operationId: 'seamCustomerV1PortalsGetGet',
44694
+ parameters: [
44695
+ {
44696
+ in: 'query',
44697
+ name: 'customer_portal_id',
44698
+ required: true,
44699
+ schema: { description: 'Customer portal ID.', type: 'string' },
44700
+ },
44701
+ ],
44702
+ responses: {
44703
+ 200: {
44704
+ content: {
44705
+ 'application/json': {
44706
+ schema: {
44707
+ properties: {
44708
+ customer_portal: {
44709
+ properties: {
44710
+ business_vertical: {
44711
+ description:
44712
+ 'Business vertical of the customer portal.',
44713
+ enum: [
44714
+ 'short_term_rental',
44715
+ 'hospitality',
44716
+ 'multi_family',
44717
+ 'gym_management',
44718
+ 'property_tours',
44719
+ ],
44720
+ type: 'string',
44721
+ },
44722
+ features: {
44723
+ properties: {
44724
+ connect: {
44725
+ properties: { exclude: { type: 'boolean' } },
44726
+ type: 'object',
44727
+ },
44728
+ manage_devices: {
44729
+ properties: { exclude: { type: 'boolean' } },
44730
+ type: 'object',
44731
+ },
44732
+ organize: {
44733
+ properties: { exclude: { type: 'boolean' } },
44734
+ type: 'object',
44735
+ },
44736
+ },
44737
+ type: 'object',
44738
+ },
44739
+ is_embedded: { type: 'boolean' },
44740
+ },
44741
+ type: 'object',
44742
+ },
44743
+ ok: { type: 'boolean' },
44744
+ },
44745
+ required: ['customer_portal', 'ok'],
44746
+ type: 'object',
44747
+ },
44748
+ },
44749
+ },
44750
+ description: 'OK',
44751
+ },
44752
+ 400: { description: 'Bad Request' },
44753
+ 401: { description: 'Unauthorized' },
44754
+ },
44755
+ security: [{ client_session_with_customer: [] }],
44756
+ summary: '/seam/customer/v1/portals/get',
44757
+ tags: [],
44758
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'portals'],
44759
+ 'x-fern-sdk-method-name': 'get',
44760
+ 'x-fern-sdk-return-value': 'customer_portal',
44761
+ 'x-response-key': 'customer_portal',
44762
+ 'x-title': 'Get Customer Portal Configuration',
44763
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44764
+ },
44765
+ post: {
44766
+ description:
44767
+ 'Retrieves the configuration for a customer portal identified by customer_portal_id.',
44768
+ operationId: 'seamCustomerV1PortalsGetPost',
44769
+ requestBody: {
44770
+ content: {
44771
+ 'application/json': {
44772
+ schema: {
44773
+ properties: {
44774
+ customer_portal_id: {
44775
+ description: 'Customer portal ID.',
44776
+ type: 'string',
44777
+ },
44778
+ },
44779
+ required: ['customer_portal_id'],
44780
+ type: 'object',
44781
+ },
44782
+ },
44783
+ },
44784
+ },
44785
+ responses: {
44786
+ 200: {
44787
+ content: {
44788
+ 'application/json': {
44789
+ schema: {
44790
+ properties: {
44791
+ customer_portal: {
44792
+ properties: {
44793
+ business_vertical: {
44794
+ description:
44795
+ 'Business vertical of the customer portal.',
44796
+ enum: [
44797
+ 'short_term_rental',
44798
+ 'hospitality',
44799
+ 'multi_family',
44800
+ 'gym_management',
44801
+ 'property_tours',
44802
+ ],
44803
+ type: 'string',
44804
+ },
44805
+ features: {
44806
+ properties: {
44807
+ connect: {
44808
+ properties: { exclude: { type: 'boolean' } },
44809
+ type: 'object',
44810
+ },
44811
+ manage_devices: {
44812
+ properties: { exclude: { type: 'boolean' } },
44813
+ type: 'object',
44814
+ },
44815
+ organize: {
44816
+ properties: { exclude: { type: 'boolean' } },
44817
+ type: 'object',
44818
+ },
44819
+ },
44820
+ type: 'object',
44821
+ },
44822
+ is_embedded: { type: 'boolean' },
44823
+ },
44824
+ type: 'object',
44825
+ },
44826
+ ok: { type: 'boolean' },
44827
+ },
44828
+ required: ['customer_portal', 'ok'],
44829
+ type: 'object',
44830
+ },
44831
+ },
44832
+ },
44833
+ description: 'OK',
44834
+ },
44835
+ 400: { description: 'Bad Request' },
44836
+ 401: { description: 'Unauthorized' },
44837
+ },
44838
+ security: [{ client_session_with_customer: [] }],
44839
+ summary: '/seam/customer/v1/portals/get',
44840
+ tags: [],
44841
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'portals'],
44842
+ 'x-fern-sdk-method-name': 'get',
44843
+ 'x-fern-sdk-return-value': 'customer_portal',
44844
+ 'x-response-key': 'customer_portal',
44845
+ 'x-title': 'Get Customer Portal Configuration',
44846
+ 'x-undocumented': 'Internal endpoint for customer portals.',
44847
+ },
44848
+ },
44849
+ '/seam/customer/v1/settings/update': {
44022
44850
  patch: {
44023
44851
  description: 'Updates the settings for a customer portal workspace.',
44024
44852
  operationId: 'seamCustomerV1SettingsUpdatePatch',
@@ -48822,9 +49650,9 @@ export default {
48822
49650
  },
48823
49651
  },
48824
49652
  '/unstable_access_grants/delete': {
48825
- get: {
49653
+ delete: {
48826
49654
  description: 'Deletes an access grant.',
48827
- operationId: 'unstableAccessGrantsDeleteGet',
49655
+ operationId: 'unstableAccessGrantsDeleteDelete',
48828
49656
  parameters: [
48829
49657
  {
48830
49658
  in: 'query',
@@ -49199,9 +50027,9 @@ export default {
49199
50027
  },
49200
50028
  },
49201
50029
  '/unstable_access_methods/delete': {
49202
- get: {
50030
+ delete: {
49203
50031
  description: 'Deletes an access method.',
49204
- operationId: 'unstableAccessMethodsDeleteGet',
50032
+ operationId: 'unstableAccessMethodsDeleteDelete',
49205
50033
  parameters: [
49206
50034
  {
49207
50035
  in: 'query',