@seamapi/types 1.429.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",
@@ -46003,6 +46003,43 @@ var openapi_default = {
46003
46003
  "x-response-key": null,
46004
46004
  "x-title": "Delete Customer Portal Automation Configuration",
46005
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."
46006
46043
  }
46007
46044
  },
46008
46045
  "/seam/customer/v1/automations/get": {
@@ -46105,6 +46142,106 @@ var openapi_default = {
46105
46142
  "x-response-key": null,
46106
46143
  "x-title": "Get Customer Portal Automation Configuration",
46107
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."
46108
46245
  }
46109
46246
  },
46110
46247
  "/seam/customer/v1/automations/update": {
@@ -51029,9 +51166,9 @@ var openapi_default = {
51029
51166
  }
51030
51167
  },
51031
51168
  "/unstable_access_grants/delete": {
51032
- get: {
51169
+ delete: {
51033
51170
  description: "Deletes an access grant.",
51034
- operationId: "unstableAccessGrantsDeleteGet",
51171
+ operationId: "unstableAccessGrantsDeleteDelete",
51035
51172
  parameters: [
51036
51173
  {
51037
51174
  in: "query",
@@ -51398,9 +51535,9 @@ var openapi_default = {
51398
51535
  }
51399
51536
  },
51400
51537
  "/unstable_access_methods/delete": {
51401
- get: {
51538
+ delete: {
51402
51539
  description: "Deletes an access method.",
51403
- operationId: "unstableAccessMethodsDeleteGet",
51540
+ operationId: "unstableAccessMethodsDeleteDelete",
51404
51541
  parameters: [
51405
51542
  {
51406
51543
  in: "query",