@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.
package/dist/connect.cjs CHANGED
@@ -29264,9 +29264,9 @@ var openapi_default = {
29264
29264
  }
29265
29265
  },
29266
29266
  "/access_grants/delete": {
29267
- get: {
29267
+ delete: {
29268
29268
  description: "Delete an access grant.",
29269
- operationId: "accessGrantsDeleteGet",
29269
+ operationId: "accessGrantsDeleteDelete",
29270
29270
  parameters: [
29271
29271
  {
29272
29272
  in: "query",
@@ -29759,9 +29759,9 @@ var openapi_default = {
29759
29759
  }
29760
29760
  },
29761
29761
  "/access_methods/delete": {
29762
- get: {
29762
+ delete: {
29763
29763
  description: "Delete an access method.",
29764
- operationId: "accessMethodsDeleteGet",
29764
+ operationId: "accessMethodsDeleteDelete",
29765
29765
  parameters: [
29766
29766
  {
29767
29767
  in: "query",
@@ -45649,16 +45649,78 @@ var openapi_default = {
45649
45649
  "x-undocumented": "Seam Bridge Client only."
45650
45650
  }
45651
45651
  },
45652
- "/seam/customer/v1/portals/get": {
45652
+ "/seam/customer/v1/automation_runs/list": {
45653
45653
  get: {
45654
- description: "Retrieves the configuration for a customer portal identified by customer_portal_id.",
45655
- operationId: "seamCustomerV1PortalsGetGet",
45654
+ description: "Returns a list of all automation runs for a workspace or customer.",
45655
+ operationId: "seamCustomerV1AutomationRunsListGet",
45656
45656
  parameters: [
45657
45657
  {
45658
45658
  in: "query",
45659
- name: "customer_portal_id",
45660
- required: true,
45661
- schema: { description: "Customer portal ID.", type: "string" }
45659
+ name: "automation_id",
45660
+ schema: {
45661
+ description: "ID of the automation for which you want to retrieve all automation runs.",
45662
+ format: "uuid",
45663
+ type: "string"
45664
+ }
45665
+ },
45666
+ {
45667
+ in: "query",
45668
+ name: "partner_resource_id",
45669
+ schema: {
45670
+ description: "ID of the partner resource for which you want to retrieve all automation runs.",
45671
+ format: "uuid",
45672
+ type: "string"
45673
+ }
45674
+ },
45675
+ {
45676
+ in: "query",
45677
+ name: "rule",
45678
+ schema: {
45679
+ description: "Filter automation runs by the specific rule that was executed.",
45680
+ enum: [
45681
+ "reservation_created",
45682
+ "reservation_time_updated",
45683
+ "reservation_deleted"
45684
+ ],
45685
+ type: "string"
45686
+ }
45687
+ },
45688
+ {
45689
+ in: "query",
45690
+ name: "success",
45691
+ schema: {
45692
+ description: "Filter automation runs by success status.",
45693
+ type: "boolean"
45694
+ }
45695
+ },
45696
+ {
45697
+ in: "query",
45698
+ name: "limit",
45699
+ schema: {
45700
+ default: 500,
45701
+ description: "Maximum number of records to return per page.",
45702
+ exclusiveMinimum: true,
45703
+ minimum: 0,
45704
+ type: "integer"
45705
+ }
45706
+ },
45707
+ {
45708
+ in: "query",
45709
+ name: "created_before",
45710
+ schema: {
45711
+ description: "Timestamp by which to limit returned automation runs. Returns runs created before this timestamp.",
45712
+ format: "date-time",
45713
+ type: "string"
45714
+ }
45715
+ },
45716
+ {
45717
+ in: "query",
45718
+ name: "page_cursor",
45719
+ schema: {
45720
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
45721
+ nullable: true,
45722
+ type: "string"
45723
+ }
45662
45724
  }
45663
45725
  ],
45664
45726
  responses: {
@@ -45667,43 +45729,71 @@ var openapi_default = {
45667
45729
  "application/json": {
45668
45730
  schema: {
45669
45731
  properties: {
45670
- customer_portal: {
45671
- properties: {
45672
- business_vertical: {
45673
- description: "Business vertical of the customer portal.",
45674
- enum: [
45675
- "short_term_rental",
45676
- "hospitality",
45677
- "multi_family",
45678
- "gym_management",
45679
- "property_tours"
45680
- ],
45681
- type: "string"
45682
- },
45683
- features: {
45684
- properties: {
45685
- connect: {
45686
- properties: { exclude: { type: "boolean" } },
45687
- type: "object"
45688
- },
45689
- manage_devices: {
45690
- properties: { exclude: { type: "boolean" } },
45691
- type: "object"
45732
+ automation_runs: {
45733
+ items: {
45734
+ properties: {
45735
+ automation_id: { format: "uuid", type: "string" },
45736
+ automation_result: {
45737
+ properties: {
45738
+ actions: {
45739
+ items: {
45740
+ properties: {
45741
+ access_grant_id: {
45742
+ format: "uuid",
45743
+ type: "string"
45744
+ },
45745
+ action_type: {
45746
+ enum: ["create", "update", "delete"],
45747
+ type: "string"
45748
+ },
45749
+ resource_type: { type: "string" }
45750
+ },
45751
+ required: [
45752
+ "action_type",
45753
+ "resource_type",
45754
+ "access_grant_id"
45755
+ ],
45756
+ type: "object"
45757
+ },
45758
+ type: "array"
45759
+ },
45760
+ error: { type: "string" },
45761
+ rule: {
45762
+ enum: [
45763
+ "reservation_created",
45764
+ "reservation_time_updated",
45765
+ "reservation_deleted"
45766
+ ],
45767
+ type: "string"
45768
+ },
45769
+ success: { type: "boolean" }
45692
45770
  },
45693
- organize: {
45694
- properties: { exclude: { type: "boolean" } },
45695
- type: "object"
45696
- }
45771
+ required: ["success", "rule", "actions"],
45772
+ type: "object"
45697
45773
  },
45698
- type: "object"
45774
+ automation_run_id: { format: "uuid", type: "string" },
45775
+ created_at: { type: "string" },
45776
+ partner_resource_id: {
45777
+ format: "uuid",
45778
+ type: "string"
45779
+ },
45780
+ workspace_id: { format: "uuid", type: "string" }
45699
45781
  },
45700
- is_embedded: { type: "boolean" }
45782
+ required: [
45783
+ "automation_run_id",
45784
+ "workspace_id",
45785
+ "automation_id",
45786
+ "partner_resource_id",
45787
+ "created_at"
45788
+ ],
45789
+ type: "object"
45701
45790
  },
45702
- type: "object"
45791
+ type: "array"
45703
45792
  },
45704
- ok: { type: "boolean" }
45793
+ ok: { type: "boolean" },
45794
+ pagination: { $ref: "#/components/schemas/pagination" }
45705
45795
  },
45706
- required: ["customer_portal", "ok"],
45796
+ required: ["automation_runs", "pagination", "ok"],
45707
45797
  type: "object"
45708
45798
  }
45709
45799
  }
@@ -45713,30 +45803,69 @@ var openapi_default = {
45713
45803
  400: { description: "Bad Request" },
45714
45804
  401: { description: "Unauthorized" }
45715
45805
  },
45716
- security: [{ client_session_with_customer: [] }],
45717
- summary: "/seam/customer/v1/portals/get",
45806
+ security: [
45807
+ { console_session_with_workspace: [] },
45808
+ { api_key: [] },
45809
+ { client_session_with_customer: [] }
45810
+ ],
45811
+ summary: "/seam/customer/v1/automation_runs/list",
45718
45812
  tags: [],
45719
- "x-fern-sdk-group-name": ["seam", "customer", "v1", "portals"],
45720
- "x-fern-sdk-method-name": "get",
45721
- "x-fern-sdk-return-value": "customer_portal",
45722
- "x-response-key": "customer_portal",
45723
- "x-title": "Get Customer Portal Configuration",
45813
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automation_runs"],
45814
+ "x-fern-sdk-method-name": "list",
45815
+ "x-fern-sdk-return-value": "automation_runs",
45816
+ "x-response-key": "automation_runs",
45817
+ "x-title": "List Automation Runs",
45724
45818
  "x-undocumented": "Internal endpoint for customer portals."
45725
45819
  },
45726
45820
  post: {
45727
- description: "Retrieves the configuration for a customer portal identified by customer_portal_id.",
45728
- operationId: "seamCustomerV1PortalsGetPost",
45821
+ description: "Returns a list of all automation runs for a workspace or customer.",
45822
+ operationId: "seamCustomerV1AutomationRunsListPost",
45729
45823
  requestBody: {
45730
45824
  content: {
45731
45825
  "application/json": {
45732
45826
  schema: {
45733
45827
  properties: {
45734
- customer_portal_id: {
45735
- description: "Customer portal ID.",
45828
+ automation_id: {
45829
+ description: "ID of the automation for which you want to retrieve all automation runs.",
45830
+ format: "uuid",
45831
+ type: "string"
45832
+ },
45833
+ created_before: {
45834
+ description: "Timestamp by which to limit returned automation runs. Returns runs created before this timestamp.",
45835
+ format: "date-time",
45836
+ type: "string"
45837
+ },
45838
+ limit: {
45839
+ default: 500,
45840
+ description: "Maximum number of records to return per page.",
45841
+ exclusiveMinimum: true,
45842
+ minimum: 0,
45843
+ type: "integer"
45844
+ },
45845
+ page_cursor: {
45846
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
45847
+ nullable: true,
45736
45848
  type: "string"
45849
+ },
45850
+ partner_resource_id: {
45851
+ description: "ID of the partner resource for which you want to retrieve all automation runs.",
45852
+ format: "uuid",
45853
+ type: "string"
45854
+ },
45855
+ rule: {
45856
+ description: "Filter automation runs by the specific rule that was executed.",
45857
+ enum: [
45858
+ "reservation_created",
45859
+ "reservation_time_updated",
45860
+ "reservation_deleted"
45861
+ ],
45862
+ type: "string"
45863
+ },
45864
+ success: {
45865
+ description: "Filter automation runs by success status.",
45866
+ type: "boolean"
45737
45867
  }
45738
45868
  },
45739
- required: ["customer_portal_id"],
45740
45869
  type: "object"
45741
45870
  }
45742
45871
  }
@@ -45748,43 +45877,71 @@ var openapi_default = {
45748
45877
  "application/json": {
45749
45878
  schema: {
45750
45879
  properties: {
45751
- customer_portal: {
45752
- properties: {
45753
- business_vertical: {
45754
- description: "Business vertical of the customer portal.",
45755
- enum: [
45756
- "short_term_rental",
45757
- "hospitality",
45758
- "multi_family",
45759
- "gym_management",
45760
- "property_tours"
45761
- ],
45762
- type: "string"
45763
- },
45764
- features: {
45765
- properties: {
45766
- connect: {
45767
- properties: { exclude: { type: "boolean" } },
45768
- type: "object"
45769
- },
45770
- manage_devices: {
45771
- properties: { exclude: { type: "boolean" } },
45772
- type: "object"
45880
+ automation_runs: {
45881
+ items: {
45882
+ properties: {
45883
+ automation_id: { format: "uuid", type: "string" },
45884
+ automation_result: {
45885
+ properties: {
45886
+ actions: {
45887
+ items: {
45888
+ properties: {
45889
+ access_grant_id: {
45890
+ format: "uuid",
45891
+ type: "string"
45892
+ },
45893
+ action_type: {
45894
+ enum: ["create", "update", "delete"],
45895
+ type: "string"
45896
+ },
45897
+ resource_type: { type: "string" }
45898
+ },
45899
+ required: [
45900
+ "action_type",
45901
+ "resource_type",
45902
+ "access_grant_id"
45903
+ ],
45904
+ type: "object"
45905
+ },
45906
+ type: "array"
45907
+ },
45908
+ error: { type: "string" },
45909
+ rule: {
45910
+ enum: [
45911
+ "reservation_created",
45912
+ "reservation_time_updated",
45913
+ "reservation_deleted"
45914
+ ],
45915
+ type: "string"
45916
+ },
45917
+ success: { type: "boolean" }
45773
45918
  },
45774
- organize: {
45775
- properties: { exclude: { type: "boolean" } },
45776
- type: "object"
45777
- }
45919
+ required: ["success", "rule", "actions"],
45920
+ type: "object"
45778
45921
  },
45779
- type: "object"
45922
+ automation_run_id: { format: "uuid", type: "string" },
45923
+ created_at: { type: "string" },
45924
+ partner_resource_id: {
45925
+ format: "uuid",
45926
+ type: "string"
45927
+ },
45928
+ workspace_id: { format: "uuid", type: "string" }
45780
45929
  },
45781
- is_embedded: { type: "boolean" }
45930
+ required: [
45931
+ "automation_run_id",
45932
+ "workspace_id",
45933
+ "automation_id",
45934
+ "partner_resource_id",
45935
+ "created_at"
45936
+ ],
45937
+ type: "object"
45782
45938
  },
45783
- type: "object"
45939
+ type: "array"
45784
45940
  },
45785
- ok: { type: "boolean" }
45941
+ ok: { type: "boolean" },
45942
+ pagination: { $ref: "#/components/schemas/pagination" }
45786
45943
  },
45787
- required: ["customer_portal", "ok"],
45944
+ required: ["automation_runs", "pagination", "ok"],
45788
45945
  type: "object"
45789
45946
  }
45790
45947
  }
@@ -45794,28 +45951,680 @@ var openapi_default = {
45794
45951
  400: { description: "Bad Request" },
45795
45952
  401: { description: "Unauthorized" }
45796
45953
  },
45797
- security: [{ client_session_with_customer: [] }],
45798
- summary: "/seam/customer/v1/portals/get",
45954
+ security: [
45955
+ { console_session_with_workspace: [] },
45956
+ { api_key: [] },
45957
+ { client_session_with_customer: [] }
45958
+ ],
45959
+ summary: "/seam/customer/v1/automation_runs/list",
45799
45960
  tags: [],
45800
- "x-fern-sdk-group-name": ["seam", "customer", "v1", "portals"],
45801
- "x-fern-sdk-method-name": "get",
45802
- "x-fern-sdk-return-value": "customer_portal",
45803
- "x-response-key": "customer_portal",
45804
- "x-title": "Get Customer Portal Configuration",
45961
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automation_runs"],
45962
+ "x-fern-sdk-method-name": "list",
45963
+ "x-fern-sdk-return-value": "automation_runs",
45964
+ "x-response-key": "automation_runs",
45965
+ "x-title": "List Automation Runs",
45805
45966
  "x-undocumented": "Internal endpoint for customer portals."
45806
45967
  }
45807
45968
  },
45808
- "/seam/customer/v1/settings/update": {
45809
- patch: {
45810
- description: "Updates the settings for a customer portal workspace.",
45811
- operationId: "seamCustomerV1SettingsUpdatePatch",
45969
+ "/seam/customer/v1/automations/delete": {
45970
+ delete: {
45971
+ description: "Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.",
45972
+ operationId: "seamCustomerV1AutomationsDeleteDelete",
45812
45973
  requestBody: {
45813
45974
  content: {
45814
- "application/json": {
45815
- schema: {
45816
- properties: {
45817
- business_vertical: {
45818
- description: "Business vertical to set on the workspace.",
45975
+ "application/json": { schema: { properties: {}, type: "object" } }
45976
+ }
45977
+ },
45978
+ responses: {
45979
+ 200: {
45980
+ content: {
45981
+ "application/json": {
45982
+ schema: {
45983
+ properties: { ok: { type: "boolean" } },
45984
+ required: ["ok"],
45985
+ type: "object"
45986
+ }
45987
+ }
45988
+ },
45989
+ description: "OK"
45990
+ },
45991
+ 400: { description: "Bad Request" },
45992
+ 401: { description: "Unauthorized" }
45993
+ },
45994
+ security: [
45995
+ { console_session_with_workspace: [] },
45996
+ { api_key: [] },
45997
+ { client_session_with_customer: [] }
45998
+ ],
45999
+ summary: "/seam/customer/v1/automations/delete",
46000
+ tags: [],
46001
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
46002
+ "x-fern-sdk-method-name": "delete",
46003
+ "x-response-key": null,
46004
+ "x-title": "Delete Customer Portal Automation Configuration",
46005
+ "x-undocumented": "Internal endpoint for customer portals."
46006
+ },
46007
+ post: {
46008
+ description: "Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.",
46009
+ operationId: "seamCustomerV1AutomationsDeletePost",
46010
+ requestBody: {
46011
+ content: {
46012
+ "application/json": { schema: { properties: {}, type: "object" } }
46013
+ }
46014
+ },
46015
+ responses: {
46016
+ 200: {
46017
+ content: {
46018
+ "application/json": {
46019
+ schema: {
46020
+ properties: { ok: { type: "boolean" } },
46021
+ required: ["ok"],
46022
+ type: "object"
46023
+ }
46024
+ }
46025
+ },
46026
+ description: "OK"
46027
+ },
46028
+ 400: { description: "Bad Request" },
46029
+ 401: { description: "Unauthorized" }
46030
+ },
46031
+ security: [
46032
+ { console_session_with_workspace: [] },
46033
+ { api_key: [] },
46034
+ { client_session_with_customer: [] }
46035
+ ],
46036
+ summary: "/seam/customer/v1/automations/delete",
46037
+ tags: [],
46038
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
46039
+ "x-fern-sdk-method-name": "delete",
46040
+ "x-response-key": null,
46041
+ "x-title": "Delete Customer Portal Automation Configuration",
46042
+ "x-undocumented": "Internal endpoint for customer portals."
46043
+ }
46044
+ },
46045
+ "/seam/customer/v1/automations/get": {
46046
+ get: {
46047
+ description: "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.",
46048
+ operationId: "seamCustomerV1AutomationsGetGet",
46049
+ responses: {
46050
+ 200: {
46051
+ content: {
46052
+ "application/json": {
46053
+ schema: {
46054
+ properties: {
46055
+ access_rules: {
46056
+ properties: {
46057
+ reservation_created: {
46058
+ properties: {
46059
+ config: {
46060
+ properties: {
46061
+ access_methods: {
46062
+ items: {
46063
+ enum: ["card", "mobile_key", "code"],
46064
+ type: "string"
46065
+ },
46066
+ minItems: 1,
46067
+ type: "array"
46068
+ },
46069
+ method_issuance_strategy: {
46070
+ enum: [
46071
+ "first_available",
46072
+ "first_two_available",
46073
+ "all_available"
46074
+ ],
46075
+ type: "string"
46076
+ }
46077
+ },
46078
+ required: [
46079
+ "access_methods",
46080
+ "method_issuance_strategy"
46081
+ ],
46082
+ type: "object"
46083
+ },
46084
+ rule: {
46085
+ enum: ["reservation_created"],
46086
+ type: "string"
46087
+ }
46088
+ },
46089
+ required: ["rule", "config"],
46090
+ type: "object"
46091
+ },
46092
+ reservation_deleted: {
46093
+ properties: {
46094
+ config: {
46095
+ $ref: "#/components/schemas/access_code"
46096
+ },
46097
+ rule: {
46098
+ enum: ["reservation_deleted"],
46099
+ type: "string"
46100
+ }
46101
+ },
46102
+ required: ["rule", "config"],
46103
+ type: "object"
46104
+ },
46105
+ reservation_time_updated: {
46106
+ properties: {
46107
+ config: {
46108
+ $ref: "#/components/schemas/access_code"
46109
+ },
46110
+ rule: {
46111
+ enum: ["reservation_time_updated"],
46112
+ type: "string"
46113
+ }
46114
+ },
46115
+ required: ["rule", "config"],
46116
+ type: "object"
46117
+ }
46118
+ },
46119
+ type: "object"
46120
+ },
46121
+ ok: { type: "boolean" }
46122
+ },
46123
+ required: ["ok"],
46124
+ type: "object"
46125
+ }
46126
+ }
46127
+ },
46128
+ description: "OK"
46129
+ },
46130
+ 400: { description: "Bad Request" },
46131
+ 401: { description: "Unauthorized" }
46132
+ },
46133
+ security: [
46134
+ { console_session_with_workspace: [] },
46135
+ { api_key: [] },
46136
+ { client_session_with_customer: [] }
46137
+ ],
46138
+ summary: "/seam/customer/v1/automations/get",
46139
+ tags: [],
46140
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
46141
+ "x-fern-sdk-method-name": "get",
46142
+ "x-response-key": null,
46143
+ "x-title": "Get Customer Portal Automation Configuration",
46144
+ "x-undocumented": "Internal endpoint for customer portals."
46145
+ },
46146
+ post: {
46147
+ description: "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.",
46148
+ operationId: "seamCustomerV1AutomationsGetPost",
46149
+ responses: {
46150
+ 200: {
46151
+ content: {
46152
+ "application/json": {
46153
+ schema: {
46154
+ properties: {
46155
+ access_rules: {
46156
+ properties: {
46157
+ reservation_created: {
46158
+ properties: {
46159
+ config: {
46160
+ properties: {
46161
+ access_methods: {
46162
+ items: {
46163
+ enum: ["card", "mobile_key", "code"],
46164
+ type: "string"
46165
+ },
46166
+ minItems: 1,
46167
+ type: "array"
46168
+ },
46169
+ method_issuance_strategy: {
46170
+ enum: [
46171
+ "first_available",
46172
+ "first_two_available",
46173
+ "all_available"
46174
+ ],
46175
+ type: "string"
46176
+ }
46177
+ },
46178
+ required: [
46179
+ "access_methods",
46180
+ "method_issuance_strategy"
46181
+ ],
46182
+ type: "object"
46183
+ },
46184
+ rule: {
46185
+ enum: ["reservation_created"],
46186
+ type: "string"
46187
+ }
46188
+ },
46189
+ required: ["rule", "config"],
46190
+ type: "object"
46191
+ },
46192
+ reservation_deleted: {
46193
+ properties: {
46194
+ config: {
46195
+ $ref: "#/components/schemas/access_code"
46196
+ },
46197
+ rule: {
46198
+ enum: ["reservation_deleted"],
46199
+ type: "string"
46200
+ }
46201
+ },
46202
+ required: ["rule", "config"],
46203
+ type: "object"
46204
+ },
46205
+ reservation_time_updated: {
46206
+ properties: {
46207
+ config: {
46208
+ $ref: "#/components/schemas/access_code"
46209
+ },
46210
+ rule: {
46211
+ enum: ["reservation_time_updated"],
46212
+ type: "string"
46213
+ }
46214
+ },
46215
+ required: ["rule", "config"],
46216
+ type: "object"
46217
+ }
46218
+ },
46219
+ type: "object"
46220
+ },
46221
+ ok: { type: "boolean" }
46222
+ },
46223
+ required: ["ok"],
46224
+ type: "object"
46225
+ }
46226
+ }
46227
+ },
46228
+ description: "OK"
46229
+ },
46230
+ 400: { description: "Bad Request" },
46231
+ 401: { description: "Unauthorized" }
46232
+ },
46233
+ security: [
46234
+ { console_session_with_workspace: [] },
46235
+ { api_key: [] },
46236
+ { client_session_with_customer: [] }
46237
+ ],
46238
+ summary: "/seam/customer/v1/automations/get",
46239
+ tags: [],
46240
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
46241
+ "x-fern-sdk-method-name": "get",
46242
+ "x-response-key": null,
46243
+ "x-title": "Get Customer Portal Automation Configuration",
46244
+ "x-undocumented": "Internal endpoint for customer portals."
46245
+ }
46246
+ },
46247
+ "/seam/customer/v1/automations/update": {
46248
+ patch: {
46249
+ description: "Updates the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.",
46250
+ operationId: "seamCustomerV1AutomationsUpdatePatch",
46251
+ requestBody: {
46252
+ content: {
46253
+ "application/json": {
46254
+ schema: {
46255
+ properties: {
46256
+ access_rules: {
46257
+ description: "Access automation rules configuration.",
46258
+ properties: {
46259
+ reservation_created: {
46260
+ properties: {
46261
+ config: {
46262
+ properties: {
46263
+ access_methods: {
46264
+ items: {
46265
+ enum: ["card", "mobile_key", "code"],
46266
+ type: "string"
46267
+ },
46268
+ minItems: 1,
46269
+ type: "array"
46270
+ },
46271
+ method_issuance_strategy: {
46272
+ enum: [
46273
+ "first_available",
46274
+ "first_two_available",
46275
+ "all_available"
46276
+ ],
46277
+ type: "string"
46278
+ }
46279
+ },
46280
+ required: [
46281
+ "access_methods",
46282
+ "method_issuance_strategy"
46283
+ ],
46284
+ type: "object"
46285
+ },
46286
+ rule: {
46287
+ enum: ["reservation_created"],
46288
+ type: "string"
46289
+ }
46290
+ },
46291
+ required: ["rule", "config"],
46292
+ type: "object"
46293
+ },
46294
+ reservation_deleted: {
46295
+ properties: {
46296
+ config: { properties: {}, type: "object" },
46297
+ rule: {
46298
+ enum: ["reservation_deleted"],
46299
+ type: "string"
46300
+ }
46301
+ },
46302
+ required: ["rule", "config"],
46303
+ type: "object"
46304
+ },
46305
+ reservation_time_updated: {
46306
+ properties: {
46307
+ config: { properties: {}, type: "object" },
46308
+ rule: {
46309
+ enum: ["reservation_time_updated"],
46310
+ type: "string"
46311
+ }
46312
+ },
46313
+ required: ["rule", "config"],
46314
+ type: "object"
46315
+ }
46316
+ },
46317
+ type: "object"
46318
+ }
46319
+ },
46320
+ type: "object"
46321
+ }
46322
+ }
46323
+ }
46324
+ },
46325
+ responses: {
46326
+ 200: {
46327
+ content: {
46328
+ "application/json": {
46329
+ schema: {
46330
+ properties: { ok: { type: "boolean" } },
46331
+ required: ["ok"],
46332
+ type: "object"
46333
+ }
46334
+ }
46335
+ },
46336
+ description: "OK"
46337
+ },
46338
+ 400: { description: "Bad Request" },
46339
+ 401: { description: "Unauthorized" }
46340
+ },
46341
+ security: [
46342
+ { console_session_with_workspace: [] },
46343
+ { api_key: [] },
46344
+ { client_session_with_customer: [] }
46345
+ ],
46346
+ summary: "/seam/customer/v1/automations/update",
46347
+ tags: [],
46348
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
46349
+ "x-fern-sdk-method-name": "update",
46350
+ "x-response-key": null,
46351
+ "x-title": "Update Customer Portal Automation Configuration",
46352
+ "x-undocumented": "Internal endpoint for customer portals."
46353
+ },
46354
+ post: {
46355
+ description: "Updates the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.",
46356
+ operationId: "seamCustomerV1AutomationsUpdatePost",
46357
+ requestBody: {
46358
+ content: {
46359
+ "application/json": {
46360
+ schema: {
46361
+ properties: {
46362
+ access_rules: {
46363
+ description: "Access automation rules configuration.",
46364
+ properties: {
46365
+ reservation_created: {
46366
+ properties: {
46367
+ config: {
46368
+ properties: {
46369
+ access_methods: {
46370
+ items: {
46371
+ enum: ["card", "mobile_key", "code"],
46372
+ type: "string"
46373
+ },
46374
+ minItems: 1,
46375
+ type: "array"
46376
+ },
46377
+ method_issuance_strategy: {
46378
+ enum: [
46379
+ "first_available",
46380
+ "first_two_available",
46381
+ "all_available"
46382
+ ],
46383
+ type: "string"
46384
+ }
46385
+ },
46386
+ required: [
46387
+ "access_methods",
46388
+ "method_issuance_strategy"
46389
+ ],
46390
+ type: "object"
46391
+ },
46392
+ rule: {
46393
+ enum: ["reservation_created"],
46394
+ type: "string"
46395
+ }
46396
+ },
46397
+ required: ["rule", "config"],
46398
+ type: "object"
46399
+ },
46400
+ reservation_deleted: {
46401
+ properties: {
46402
+ config: { properties: {}, type: "object" },
46403
+ rule: {
46404
+ enum: ["reservation_deleted"],
46405
+ type: "string"
46406
+ }
46407
+ },
46408
+ required: ["rule", "config"],
46409
+ type: "object"
46410
+ },
46411
+ reservation_time_updated: {
46412
+ properties: {
46413
+ config: { properties: {}, type: "object" },
46414
+ rule: {
46415
+ enum: ["reservation_time_updated"],
46416
+ type: "string"
46417
+ }
46418
+ },
46419
+ required: ["rule", "config"],
46420
+ type: "object"
46421
+ }
46422
+ },
46423
+ type: "object"
46424
+ }
46425
+ },
46426
+ type: "object"
46427
+ }
46428
+ }
46429
+ }
46430
+ },
46431
+ responses: {
46432
+ 200: {
46433
+ content: {
46434
+ "application/json": {
46435
+ schema: {
46436
+ properties: { ok: { type: "boolean" } },
46437
+ required: ["ok"],
46438
+ type: "object"
46439
+ }
46440
+ }
46441
+ },
46442
+ description: "OK"
46443
+ },
46444
+ 400: { description: "Bad Request" },
46445
+ 401: { description: "Unauthorized" }
46446
+ },
46447
+ security: [
46448
+ { console_session_with_workspace: [] },
46449
+ { api_key: [] },
46450
+ { client_session_with_customer: [] }
46451
+ ],
46452
+ summary: "/seam/customer/v1/automations/update",
46453
+ tags: [],
46454
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "automations"],
46455
+ "x-fern-sdk-method-name": "update",
46456
+ "x-response-key": null,
46457
+ "x-title": "Update Customer Portal Automation Configuration",
46458
+ "x-undocumented": "Internal endpoint for customer portals."
46459
+ }
46460
+ },
46461
+ "/seam/customer/v1/portals/get": {
46462
+ get: {
46463
+ description: "Retrieves the configuration for a customer portal identified by customer_portal_id.",
46464
+ operationId: "seamCustomerV1PortalsGetGet",
46465
+ parameters: [
46466
+ {
46467
+ in: "query",
46468
+ name: "customer_portal_id",
46469
+ required: true,
46470
+ schema: { description: "Customer portal ID.", type: "string" }
46471
+ }
46472
+ ],
46473
+ responses: {
46474
+ 200: {
46475
+ content: {
46476
+ "application/json": {
46477
+ schema: {
46478
+ properties: {
46479
+ customer_portal: {
46480
+ properties: {
46481
+ business_vertical: {
46482
+ description: "Business vertical of the customer portal.",
46483
+ enum: [
46484
+ "short_term_rental",
46485
+ "hospitality",
46486
+ "multi_family",
46487
+ "gym_management",
46488
+ "property_tours"
46489
+ ],
46490
+ type: "string"
46491
+ },
46492
+ features: {
46493
+ properties: {
46494
+ connect: {
46495
+ properties: { exclude: { type: "boolean" } },
46496
+ type: "object"
46497
+ },
46498
+ manage_devices: {
46499
+ properties: { exclude: { type: "boolean" } },
46500
+ type: "object"
46501
+ },
46502
+ organize: {
46503
+ properties: { exclude: { type: "boolean" } },
46504
+ type: "object"
46505
+ }
46506
+ },
46507
+ type: "object"
46508
+ },
46509
+ is_embedded: { type: "boolean" }
46510
+ },
46511
+ type: "object"
46512
+ },
46513
+ ok: { type: "boolean" }
46514
+ },
46515
+ required: ["customer_portal", "ok"],
46516
+ type: "object"
46517
+ }
46518
+ }
46519
+ },
46520
+ description: "OK"
46521
+ },
46522
+ 400: { description: "Bad Request" },
46523
+ 401: { description: "Unauthorized" }
46524
+ },
46525
+ security: [{ client_session_with_customer: [] }],
46526
+ summary: "/seam/customer/v1/portals/get",
46527
+ tags: [],
46528
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "portals"],
46529
+ "x-fern-sdk-method-name": "get",
46530
+ "x-fern-sdk-return-value": "customer_portal",
46531
+ "x-response-key": "customer_portal",
46532
+ "x-title": "Get Customer Portal Configuration",
46533
+ "x-undocumented": "Internal endpoint for customer portals."
46534
+ },
46535
+ post: {
46536
+ description: "Retrieves the configuration for a customer portal identified by customer_portal_id.",
46537
+ operationId: "seamCustomerV1PortalsGetPost",
46538
+ requestBody: {
46539
+ content: {
46540
+ "application/json": {
46541
+ schema: {
46542
+ properties: {
46543
+ customer_portal_id: {
46544
+ description: "Customer portal ID.",
46545
+ type: "string"
46546
+ }
46547
+ },
46548
+ required: ["customer_portal_id"],
46549
+ type: "object"
46550
+ }
46551
+ }
46552
+ }
46553
+ },
46554
+ responses: {
46555
+ 200: {
46556
+ content: {
46557
+ "application/json": {
46558
+ schema: {
46559
+ properties: {
46560
+ customer_portal: {
46561
+ properties: {
46562
+ business_vertical: {
46563
+ description: "Business vertical of the customer portal.",
46564
+ enum: [
46565
+ "short_term_rental",
46566
+ "hospitality",
46567
+ "multi_family",
46568
+ "gym_management",
46569
+ "property_tours"
46570
+ ],
46571
+ type: "string"
46572
+ },
46573
+ features: {
46574
+ properties: {
46575
+ connect: {
46576
+ properties: { exclude: { type: "boolean" } },
46577
+ type: "object"
46578
+ },
46579
+ manage_devices: {
46580
+ properties: { exclude: { type: "boolean" } },
46581
+ type: "object"
46582
+ },
46583
+ organize: {
46584
+ properties: { exclude: { type: "boolean" } },
46585
+ type: "object"
46586
+ }
46587
+ },
46588
+ type: "object"
46589
+ },
46590
+ is_embedded: { type: "boolean" }
46591
+ },
46592
+ type: "object"
46593
+ },
46594
+ ok: { type: "boolean" }
46595
+ },
46596
+ required: ["customer_portal", "ok"],
46597
+ type: "object"
46598
+ }
46599
+ }
46600
+ },
46601
+ description: "OK"
46602
+ },
46603
+ 400: { description: "Bad Request" },
46604
+ 401: { description: "Unauthorized" }
46605
+ },
46606
+ security: [{ client_session_with_customer: [] }],
46607
+ summary: "/seam/customer/v1/portals/get",
46608
+ tags: [],
46609
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "portals"],
46610
+ "x-fern-sdk-method-name": "get",
46611
+ "x-fern-sdk-return-value": "customer_portal",
46612
+ "x-response-key": "customer_portal",
46613
+ "x-title": "Get Customer Portal Configuration",
46614
+ "x-undocumented": "Internal endpoint for customer portals."
46615
+ }
46616
+ },
46617
+ "/seam/customer/v1/settings/update": {
46618
+ patch: {
46619
+ description: "Updates the settings for a customer portal workspace.",
46620
+ operationId: "seamCustomerV1SettingsUpdatePatch",
46621
+ requestBody: {
46622
+ content: {
46623
+ "application/json": {
46624
+ schema: {
46625
+ properties: {
46626
+ business_vertical: {
46627
+ description: "Business vertical to set on the workspace.",
45819
46628
  enum: [
45820
46629
  "short_term_rental",
45821
46630
  "hospitality",
@@ -50357,9 +51166,9 @@ var openapi_default = {
50357
51166
  }
50358
51167
  },
50359
51168
  "/unstable_access_grants/delete": {
50360
- get: {
51169
+ delete: {
50361
51170
  description: "Deletes an access grant.",
50362
- operationId: "unstableAccessGrantsDeleteGet",
51171
+ operationId: "unstableAccessGrantsDeleteDelete",
50363
51172
  parameters: [
50364
51173
  {
50365
51174
  in: "query",
@@ -50726,9 +51535,9 @@ var openapi_default = {
50726
51535
  }
50727
51536
  },
50728
51537
  "/unstable_access_methods/delete": {
50729
- get: {
51538
+ delete: {
50730
51539
  description: "Deletes an access method.",
50731
- operationId: "unstableAccessMethodsDeleteGet",
51540
+ operationId: "unstableAccessMethodsDeleteDelete",
50732
51541
  parameters: [
50733
51542
  {
50734
51543
  in: "query",