@seamapi/types 1.812.0 → 1.813.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.
- package/dist/connect.cjs +220 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +330 -0
- package/dist/index.cjs +220 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +300 -0
- package/lib/seam/connect/openapi.js +220 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +232 -0
- package/src/lib/seam/connect/route-types.ts +30 -0
package/dist/connect.cjs
CHANGED
|
@@ -74960,6 +74960,116 @@ var openapi_default = {
|
|
|
74960
74960
|
"x-title": "Add Entrances to a Space"
|
|
74961
74961
|
}
|
|
74962
74962
|
},
|
|
74963
|
+
"/spaces/add_connected_account": {
|
|
74964
|
+
post: {
|
|
74965
|
+
description: "Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.",
|
|
74966
|
+
operationId: "spacesAddConnectedAccountPost",
|
|
74967
|
+
requestBody: {
|
|
74968
|
+
content: {
|
|
74969
|
+
"application/json": {
|
|
74970
|
+
schema: {
|
|
74971
|
+
properties: {
|
|
74972
|
+
connected_account_id: {
|
|
74973
|
+
description: "ID of the connected account that you want to add to the space.",
|
|
74974
|
+
format: "uuid",
|
|
74975
|
+
type: "string"
|
|
74976
|
+
},
|
|
74977
|
+
space_id: {
|
|
74978
|
+
description: "ID of the space to which you want to add the connected account.",
|
|
74979
|
+
format: "uuid",
|
|
74980
|
+
type: "string"
|
|
74981
|
+
}
|
|
74982
|
+
},
|
|
74983
|
+
required: ["space_id", "connected_account_id"],
|
|
74984
|
+
type: "object"
|
|
74985
|
+
}
|
|
74986
|
+
}
|
|
74987
|
+
}
|
|
74988
|
+
},
|
|
74989
|
+
responses: {
|
|
74990
|
+
200: {
|
|
74991
|
+
content: {
|
|
74992
|
+
"application/json": {
|
|
74993
|
+
schema: {
|
|
74994
|
+
properties: { ok: { type: "boolean" } },
|
|
74995
|
+
required: ["ok"],
|
|
74996
|
+
type: "object"
|
|
74997
|
+
}
|
|
74998
|
+
}
|
|
74999
|
+
},
|
|
75000
|
+
description: "OK"
|
|
75001
|
+
},
|
|
75002
|
+
400: { description: "Bad Request" },
|
|
75003
|
+
401: { description: "Unauthorized" }
|
|
75004
|
+
},
|
|
75005
|
+
security: [
|
|
75006
|
+
{ pat_with_workspace: [] },
|
|
75007
|
+
{ console_session_with_workspace: [] },
|
|
75008
|
+
{ api_key: [] },
|
|
75009
|
+
{ client_session_with_customer: [] }
|
|
75010
|
+
],
|
|
75011
|
+
summary: "/spaces/add_connected_account",
|
|
75012
|
+
tags: [],
|
|
75013
|
+
"x-fern-sdk-group-name": ["spaces"],
|
|
75014
|
+
"x-fern-sdk-method-name": "add_connected_account",
|
|
75015
|
+
"x-response-key": null,
|
|
75016
|
+
"x-title": "Add a Connected Account to a Space"
|
|
75017
|
+
},
|
|
75018
|
+
put: {
|
|
75019
|
+
description: "Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.",
|
|
75020
|
+
operationId: "spacesAddConnectedAccountPut",
|
|
75021
|
+
requestBody: {
|
|
75022
|
+
content: {
|
|
75023
|
+
"application/json": {
|
|
75024
|
+
schema: {
|
|
75025
|
+
properties: {
|
|
75026
|
+
connected_account_id: {
|
|
75027
|
+
description: "ID of the connected account that you want to add to the space.",
|
|
75028
|
+
format: "uuid",
|
|
75029
|
+
type: "string"
|
|
75030
|
+
},
|
|
75031
|
+
space_id: {
|
|
75032
|
+
description: "ID of the space to which you want to add the connected account.",
|
|
75033
|
+
format: "uuid",
|
|
75034
|
+
type: "string"
|
|
75035
|
+
}
|
|
75036
|
+
},
|
|
75037
|
+
required: ["space_id", "connected_account_id"],
|
|
75038
|
+
type: "object"
|
|
75039
|
+
}
|
|
75040
|
+
}
|
|
75041
|
+
}
|
|
75042
|
+
},
|
|
75043
|
+
responses: {
|
|
75044
|
+
200: {
|
|
75045
|
+
content: {
|
|
75046
|
+
"application/json": {
|
|
75047
|
+
schema: {
|
|
75048
|
+
properties: { ok: { type: "boolean" } },
|
|
75049
|
+
required: ["ok"],
|
|
75050
|
+
type: "object"
|
|
75051
|
+
}
|
|
75052
|
+
}
|
|
75053
|
+
},
|
|
75054
|
+
description: "OK"
|
|
75055
|
+
},
|
|
75056
|
+
400: { description: "Bad Request" },
|
|
75057
|
+
401: { description: "Unauthorized" }
|
|
75058
|
+
},
|
|
75059
|
+
security: [
|
|
75060
|
+
{ pat_with_workspace: [] },
|
|
75061
|
+
{ console_session_with_workspace: [] },
|
|
75062
|
+
{ api_key: [] },
|
|
75063
|
+
{ client_session_with_customer: [] }
|
|
75064
|
+
],
|
|
75065
|
+
summary: "/spaces/add_connected_account",
|
|
75066
|
+
tags: [],
|
|
75067
|
+
"x-fern-sdk-group-name": ["spaces"],
|
|
75068
|
+
"x-fern-sdk-method-name": "add_connected_account",
|
|
75069
|
+
"x-response-key": null,
|
|
75070
|
+
"x-title": "Add a Connected Account to a Space"
|
|
75071
|
+
}
|
|
75072
|
+
},
|
|
74963
75073
|
"/spaces/add_devices": {
|
|
74964
75074
|
post: {
|
|
74965
75075
|
description: "Adds devices to a specific space.",
|
|
@@ -75923,6 +76033,116 @@ var openapi_default = {
|
|
|
75923
76033
|
"x-title": "Remove Entrances from a Space"
|
|
75924
76034
|
}
|
|
75925
76035
|
},
|
|
76036
|
+
"/spaces/remove_connected_account": {
|
|
76037
|
+
delete: {
|
|
76038
|
+
description: "Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.",
|
|
76039
|
+
operationId: "spacesRemoveConnectedAccountDelete",
|
|
76040
|
+
parameters: [
|
|
76041
|
+
{
|
|
76042
|
+
in: "query",
|
|
76043
|
+
name: "space_id",
|
|
76044
|
+
required: true,
|
|
76045
|
+
schema: {
|
|
76046
|
+
description: "ID of the space from which you want to remove the connected account.",
|
|
76047
|
+
format: "uuid",
|
|
76048
|
+
type: "string"
|
|
76049
|
+
}
|
|
76050
|
+
},
|
|
76051
|
+
{
|
|
76052
|
+
in: "query",
|
|
76053
|
+
name: "connected_account_id",
|
|
76054
|
+
required: true,
|
|
76055
|
+
schema: {
|
|
76056
|
+
description: "ID of the connected account that you want to remove from the space.",
|
|
76057
|
+
format: "uuid",
|
|
76058
|
+
type: "string"
|
|
76059
|
+
}
|
|
76060
|
+
}
|
|
76061
|
+
],
|
|
76062
|
+
responses: {
|
|
76063
|
+
200: {
|
|
76064
|
+
content: {
|
|
76065
|
+
"application/json": {
|
|
76066
|
+
schema: {
|
|
76067
|
+
properties: { ok: { type: "boolean" } },
|
|
76068
|
+
required: ["ok"],
|
|
76069
|
+
type: "object"
|
|
76070
|
+
}
|
|
76071
|
+
}
|
|
76072
|
+
},
|
|
76073
|
+
description: "OK"
|
|
76074
|
+
},
|
|
76075
|
+
400: { description: "Bad Request" },
|
|
76076
|
+
401: { description: "Unauthorized" }
|
|
76077
|
+
},
|
|
76078
|
+
security: [
|
|
76079
|
+
{ pat_with_workspace: [] },
|
|
76080
|
+
{ console_session_with_workspace: [] },
|
|
76081
|
+
{ api_key: [] },
|
|
76082
|
+
{ client_session_with_customer: [] }
|
|
76083
|
+
],
|
|
76084
|
+
summary: "/spaces/remove_connected_account",
|
|
76085
|
+
tags: [],
|
|
76086
|
+
"x-fern-sdk-group-name": ["spaces"],
|
|
76087
|
+
"x-fern-sdk-method-name": "remove_connected_account",
|
|
76088
|
+
"x-response-key": null,
|
|
76089
|
+
"x-title": "Remove a Connected Account from a Space"
|
|
76090
|
+
},
|
|
76091
|
+
post: {
|
|
76092
|
+
description: "Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.",
|
|
76093
|
+
operationId: "spacesRemoveConnectedAccountPost",
|
|
76094
|
+
requestBody: {
|
|
76095
|
+
content: {
|
|
76096
|
+
"application/json": {
|
|
76097
|
+
schema: {
|
|
76098
|
+
properties: {
|
|
76099
|
+
connected_account_id: {
|
|
76100
|
+
description: "ID of the connected account that you want to remove from the space.",
|
|
76101
|
+
format: "uuid",
|
|
76102
|
+
type: "string"
|
|
76103
|
+
},
|
|
76104
|
+
space_id: {
|
|
76105
|
+
description: "ID of the space from which you want to remove the connected account.",
|
|
76106
|
+
format: "uuid",
|
|
76107
|
+
type: "string"
|
|
76108
|
+
}
|
|
76109
|
+
},
|
|
76110
|
+
required: ["space_id", "connected_account_id"],
|
|
76111
|
+
type: "object"
|
|
76112
|
+
}
|
|
76113
|
+
}
|
|
76114
|
+
}
|
|
76115
|
+
},
|
|
76116
|
+
responses: {
|
|
76117
|
+
200: {
|
|
76118
|
+
content: {
|
|
76119
|
+
"application/json": {
|
|
76120
|
+
schema: {
|
|
76121
|
+
properties: { ok: { type: "boolean" } },
|
|
76122
|
+
required: ["ok"],
|
|
76123
|
+
type: "object"
|
|
76124
|
+
}
|
|
76125
|
+
}
|
|
76126
|
+
},
|
|
76127
|
+
description: "OK"
|
|
76128
|
+
},
|
|
76129
|
+
400: { description: "Bad Request" },
|
|
76130
|
+
401: { description: "Unauthorized" }
|
|
76131
|
+
},
|
|
76132
|
+
security: [
|
|
76133
|
+
{ pat_with_workspace: [] },
|
|
76134
|
+
{ console_session_with_workspace: [] },
|
|
76135
|
+
{ api_key: [] },
|
|
76136
|
+
{ client_session_with_customer: [] }
|
|
76137
|
+
],
|
|
76138
|
+
summary: "/spaces/remove_connected_account",
|
|
76139
|
+
tags: [],
|
|
76140
|
+
"x-fern-sdk-group-name": ["spaces"],
|
|
76141
|
+
"x-fern-sdk-method-name": "remove_connected_account",
|
|
76142
|
+
"x-response-key": null,
|
|
76143
|
+
"x-title": "Remove a Connected Account from a Space"
|
|
76144
|
+
}
|
|
76145
|
+
},
|
|
75926
76146
|
"/spaces/remove_devices": {
|
|
75927
76147
|
delete: {
|
|
75928
76148
|
description: "Removes devices from a specific space.",
|