@seamapi/types 1.956.0 → 1.958.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 CHANGED
@@ -40082,7 +40082,7 @@ var openapi = {
40082
40082
  },
40083
40083
  "/access_codes/list": {
40084
40084
  get: {
40085
- description: "Returns a list of all [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40085
+ description: "Returns a list of all [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40086
40086
  operationId: "accessCodesListGet",
40087
40087
  parameters: [
40088
40088
  {
@@ -40097,7 +40097,7 @@ var openapi = {
40097
40097
  in: "query",
40098
40098
  name: "device_id",
40099
40099
  schema: {
40100
- description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40100
+ description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40101
40101
  format: "uuid",
40102
40102
  type: "string"
40103
40103
  }
@@ -40106,7 +40106,7 @@ var openapi = {
40106
40106
  in: "query",
40107
40107
  name: "access_code_ids",
40108
40108
  schema: {
40109
- description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40109
+ description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40110
40110
  items: { format: "uuid", type: "string" },
40111
40111
  type: "array"
40112
40112
  }
@@ -40115,7 +40115,7 @@ var openapi = {
40115
40115
  in: "query",
40116
40116
  name: "access_method_id",
40117
40117
  schema: {
40118
- description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40118
+ description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40119
40119
  format: "uuid",
40120
40120
  type: "string"
40121
40121
  }
@@ -40124,11 +40124,19 @@ var openapi = {
40124
40124
  in: "query",
40125
40125
  name: "access_grant_id",
40126
40126
  schema: {
40127
- description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40127
+ description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40128
40128
  format: "uuid",
40129
40129
  type: "string"
40130
40130
  }
40131
40131
  },
40132
+ {
40133
+ in: "query",
40134
+ name: "access_grant_key",
40135
+ schema: {
40136
+ description: "Key of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40137
+ type: "string"
40138
+ }
40139
+ },
40132
40140
  {
40133
40141
  in: "query",
40134
40142
  name: "user_identifier_key",
@@ -40205,7 +40213,7 @@ var openapi = {
40205
40213
  "x-title": "List Access Codes"
40206
40214
  },
40207
40215
  post: {
40208
- description: "Returns a list of all [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40216
+ description: "Returns a list of all [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40209
40217
  operationId: "accessCodesListPost",
40210
40218
  requestBody: {
40211
40219
  content: {
@@ -40213,17 +40221,21 @@ var openapi = {
40213
40221
  schema: {
40214
40222
  properties: {
40215
40223
  access_code_ids: {
40216
- description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40224
+ description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40217
40225
  items: { format: "uuid", type: "string" },
40218
40226
  type: "array"
40219
40227
  },
40220
40228
  access_grant_id: {
40221
- description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40229
+ description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40222
40230
  format: "uuid",
40223
40231
  type: "string"
40224
40232
  },
40233
+ access_grant_key: {
40234
+ description: "Key of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40235
+ type: "string"
40236
+ },
40225
40237
  access_method_id: {
40226
- description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40238
+ description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40227
40239
  format: "uuid",
40228
40240
  type: "string"
40229
40241
  },
@@ -40232,7 +40244,7 @@ var openapi = {
40232
40244
  type: "string"
40233
40245
  },
40234
40246
  device_id: {
40235
- description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
40247
+ description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, `access_grant_id`, or `access_grant_key`.",
40236
40248
  format: "uuid",
40237
40249
  type: "string"
40238
40250
  },
@@ -68935,6 +68947,1724 @@ var openapi = {
68935
68947
  "x-undocumented": "Internal endpoint for Console"
68936
68948
  }
68937
68949
  },
68950
+ "/seam/console/v1/organizations/create": {
68951
+ post: {
68952
+ description: "Creates an organization.",
68953
+ operationId: "seamConsoleV1OrganizationsCreatePost",
68954
+ requestBody: {
68955
+ content: {
68956
+ "application/json": {
68957
+ schema: {
68958
+ properties: {
68959
+ logo_image_base64: { type: "string" },
68960
+ name: { maxLength: 255, minLength: 1, type: "string" }
68961
+ },
68962
+ required: ["name"],
68963
+ type: "object"
68964
+ }
68965
+ }
68966
+ }
68967
+ },
68968
+ responses: {
68969
+ 200: {
68970
+ content: {
68971
+ "application/json": {
68972
+ schema: {
68973
+ properties: {
68974
+ ok: { type: "boolean" },
68975
+ organization: {
68976
+ properties: {
68977
+ connect_webview_customization: {
68978
+ properties: {
68979
+ logo_shape: {
68980
+ enum: ["circle", "square"],
68981
+ nullable: true,
68982
+ type: "string"
68983
+ },
68984
+ primary_button_color: {
68985
+ nullable: true,
68986
+ type: "string"
68987
+ },
68988
+ primary_button_text_color: {
68989
+ nullable: true,
68990
+ type: "string"
68991
+ }
68992
+ },
68993
+ required: [
68994
+ "primary_button_color",
68995
+ "primary_button_text_color",
68996
+ "logo_shape"
68997
+ ],
68998
+ type: "object"
68999
+ },
69000
+ created_at: { format: "date-time", type: "string" },
69001
+ logo_url: { nullable: true, type: "string" },
69002
+ name: { type: "string" },
69003
+ organization_id: { format: "uuid", type: "string" },
69004
+ updated_at: { format: "date-time", type: "string" }
69005
+ },
69006
+ required: [
69007
+ "organization_id",
69008
+ "name",
69009
+ "logo_url",
69010
+ "connect_webview_customization",
69011
+ "created_at",
69012
+ "updated_at"
69013
+ ],
69014
+ type: "object"
69015
+ }
69016
+ },
69017
+ required: ["organization", "ok"],
69018
+ type: "object"
69019
+ }
69020
+ }
69021
+ },
69022
+ description: "OK"
69023
+ },
69024
+ 400: { description: "Bad Request" },
69025
+ 401: { description: "Unauthorized" }
69026
+ },
69027
+ security: [{ console_session_without_workspace: [] }],
69028
+ summary: "/seam/console/v1/organizations/create",
69029
+ tags: [],
69030
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
69031
+ "x-fern-sdk-method-name": "create",
69032
+ "x-fern-sdk-return-value": "organization",
69033
+ "x-response-key": "organization",
69034
+ "x-title": "Create an Organization",
69035
+ "x-undocumented": "Internal endpoint for Console"
69036
+ }
69037
+ },
69038
+ "/seam/console/v1/organizations/customization_profiles/copy": {
69039
+ post: {
69040
+ description: "Copies a customization profile to an organization.",
69041
+ operationId: "seamConsoleV1OrganizationsCustomizationProfilesCopyPost",
69042
+ requestBody: {
69043
+ content: {
69044
+ "application/json": {
69045
+ schema: {
69046
+ properties: {
69047
+ destination_customization_profile_id: {
69048
+ format: "uuid",
69049
+ type: "string"
69050
+ },
69051
+ destination_workspace_id: { format: "uuid", type: "string" },
69052
+ source_customization_profile_id: {
69053
+ format: "uuid",
69054
+ type: "string"
69055
+ },
69056
+ source_workspace_id: { format: "uuid", type: "string" }
69057
+ },
69058
+ required: [
69059
+ "source_workspace_id",
69060
+ "source_customization_profile_id",
69061
+ "destination_workspace_id"
69062
+ ],
69063
+ type: "object"
69064
+ }
69065
+ }
69066
+ }
69067
+ },
69068
+ responses: {
69069
+ 200: {
69070
+ content: {
69071
+ "application/json": {
69072
+ schema: {
69073
+ properties: {
69074
+ customization_profile: {
69075
+ $ref: "#/components/schemas/customization_profile"
69076
+ },
69077
+ ok: { type: "boolean" }
69078
+ },
69079
+ required: ["customization_profile", "ok"],
69080
+ type: "object"
69081
+ }
69082
+ }
69083
+ },
69084
+ description: "OK"
69085
+ },
69086
+ 400: { description: "Bad Request" },
69087
+ 401: { description: "Unauthorized" }
69088
+ },
69089
+ security: [{ console_session_without_workspace: [] }],
69090
+ summary: "/seam/console/v1/organizations/customization_profiles/copy",
69091
+ tags: [],
69092
+ "x-fern-sdk-group-name": [
69093
+ "seam",
69094
+ "console",
69095
+ "v1",
69096
+ "organizations",
69097
+ "customization_profiles"
69098
+ ],
69099
+ "x-fern-sdk-method-name": "copy",
69100
+ "x-fern-sdk-return-value": "customization_profile",
69101
+ "x-response-key": "customization_profile",
69102
+ "x-title": "Copy a Customization Profile",
69103
+ "x-undocumented": "Internal endpoint for Console"
69104
+ }
69105
+ },
69106
+ "/seam/console/v1/organizations/delete": {
69107
+ post: {
69108
+ description: "Deletes an organization.",
69109
+ operationId: "seamConsoleV1OrganizationsDeletePost",
69110
+ requestBody: {
69111
+ content: {
69112
+ "application/json": {
69113
+ schema: {
69114
+ properties: {
69115
+ organization_id: { format: "uuid", type: "string" }
69116
+ },
69117
+ required: ["organization_id"],
69118
+ type: "object"
69119
+ }
69120
+ }
69121
+ }
69122
+ },
69123
+ responses: {
69124
+ 200: {
69125
+ content: {
69126
+ "application/json": {
69127
+ schema: {
69128
+ properties: {
69129
+ ok: { type: "boolean" },
69130
+ organization: {
69131
+ properties: {
69132
+ connect_webview_customization: {
69133
+ properties: {
69134
+ logo_shape: {
69135
+ enum: ["circle", "square"],
69136
+ nullable: true,
69137
+ type: "string"
69138
+ },
69139
+ primary_button_color: {
69140
+ nullable: true,
69141
+ type: "string"
69142
+ },
69143
+ primary_button_text_color: {
69144
+ nullable: true,
69145
+ type: "string"
69146
+ }
69147
+ },
69148
+ required: [
69149
+ "primary_button_color",
69150
+ "primary_button_text_color",
69151
+ "logo_shape"
69152
+ ],
69153
+ type: "object"
69154
+ },
69155
+ created_at: { format: "date-time", type: "string" },
69156
+ logo_url: { nullable: true, type: "string" },
69157
+ name: { type: "string" },
69158
+ organization_id: { format: "uuid", type: "string" },
69159
+ updated_at: { format: "date-time", type: "string" }
69160
+ },
69161
+ required: [
69162
+ "organization_id",
69163
+ "name",
69164
+ "logo_url",
69165
+ "connect_webview_customization",
69166
+ "created_at",
69167
+ "updated_at"
69168
+ ],
69169
+ type: "object"
69170
+ }
69171
+ },
69172
+ required: ["organization", "ok"],
69173
+ type: "object"
69174
+ }
69175
+ }
69176
+ },
69177
+ description: "OK"
69178
+ },
69179
+ 400: { description: "Bad Request" },
69180
+ 401: { description: "Unauthorized" }
69181
+ },
69182
+ security: [{ console_session_without_workspace: [] }],
69183
+ summary: "/seam/console/v1/organizations/delete",
69184
+ tags: [],
69185
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
69186
+ "x-fern-sdk-method-name": "delete",
69187
+ "x-fern-sdk-return-value": "organization",
69188
+ "x-response-key": "organization",
69189
+ "x-title": "Delete an Organization",
69190
+ "x-undocumented": "Internal endpoint for Console"
69191
+ }
69192
+ },
69193
+ "/seam/console/v1/organizations/get": {
69194
+ get: {
69195
+ description: "Returns a specified organization.",
69196
+ operationId: "seamConsoleV1OrganizationsGetGet",
69197
+ parameters: [
69198
+ {
69199
+ in: "query",
69200
+ name: "organization_id",
69201
+ required: true,
69202
+ schema: { format: "uuid", type: "string" }
69203
+ }
69204
+ ],
69205
+ responses: {
69206
+ 200: {
69207
+ content: {
69208
+ "application/json": {
69209
+ schema: {
69210
+ properties: {
69211
+ members: {
69212
+ items: {
69213
+ properties: {
69214
+ created_at: { format: "date-time", type: "string" },
69215
+ email: { nullable: true, type: "string" },
69216
+ first_name: { nullable: true, type: "string" },
69217
+ last_name: { nullable: true, type: "string" },
69218
+ organization_id: { format: "uuid", type: "string" },
69219
+ organization_member_id: {
69220
+ format: "uuid",
69221
+ type: "string"
69222
+ },
69223
+ role: { enum: ["admin", "member"], type: "string" },
69224
+ user_id: { format: "uuid", type: "string" }
69225
+ },
69226
+ required: [
69227
+ "organization_member_id",
69228
+ "organization_id",
69229
+ "user_id",
69230
+ "email",
69231
+ "first_name",
69232
+ "last_name",
69233
+ "role",
69234
+ "created_at"
69235
+ ],
69236
+ type: "object"
69237
+ },
69238
+ type: "array"
69239
+ },
69240
+ ok: { type: "boolean" },
69241
+ organization: {
69242
+ properties: {
69243
+ connect_webview_customization: {
69244
+ properties: {
69245
+ logo_shape: {
69246
+ enum: ["circle", "square"],
69247
+ nullable: true,
69248
+ type: "string"
69249
+ },
69250
+ primary_button_color: {
69251
+ nullable: true,
69252
+ type: "string"
69253
+ },
69254
+ primary_button_text_color: {
69255
+ nullable: true,
69256
+ type: "string"
69257
+ }
69258
+ },
69259
+ required: [
69260
+ "primary_button_color",
69261
+ "primary_button_text_color",
69262
+ "logo_shape"
69263
+ ],
69264
+ type: "object"
69265
+ },
69266
+ created_at: { format: "date-time", type: "string" },
69267
+ logo_url: { nullable: true, type: "string" },
69268
+ name: { type: "string" },
69269
+ organization_id: { format: "uuid", type: "string" },
69270
+ updated_at: { format: "date-time", type: "string" }
69271
+ },
69272
+ required: [
69273
+ "organization_id",
69274
+ "name",
69275
+ "logo_url",
69276
+ "connect_webview_customization",
69277
+ "created_at",
69278
+ "updated_at"
69279
+ ],
69280
+ type: "object"
69281
+ },
69282
+ pending_invitations: {
69283
+ items: {
69284
+ properties: {
69285
+ email: { type: "string" },
69286
+ expires_at: { format: "date-time", type: "string" },
69287
+ invited_at: { format: "date-time", type: "string" },
69288
+ organization_id: { format: "uuid", type: "string" },
69289
+ organization_invitation_id: {
69290
+ format: "uuid",
69291
+ type: "string"
69292
+ },
69293
+ role: { enum: ["admin", "member"], type: "string" },
69294
+ status: {
69295
+ enum: ["pending", "accepted", "revoked"],
69296
+ type: "string"
69297
+ }
69298
+ },
69299
+ required: [
69300
+ "organization_invitation_id",
69301
+ "organization_id",
69302
+ "email",
69303
+ "role",
69304
+ "status",
69305
+ "invited_at",
69306
+ "expires_at"
69307
+ ],
69308
+ type: "object"
69309
+ },
69310
+ type: "array"
69311
+ },
69312
+ workspaces: {
69313
+ items: { $ref: "#/components/schemas/workspace" },
69314
+ type: "array"
69315
+ }
69316
+ },
69317
+ required: [
69318
+ "organization",
69319
+ "members",
69320
+ "pending_invitations",
69321
+ "workspaces",
69322
+ "ok"
69323
+ ],
69324
+ type: "object"
69325
+ }
69326
+ }
69327
+ },
69328
+ description: "OK"
69329
+ },
69330
+ 400: { description: "Bad Request" },
69331
+ 401: { description: "Unauthorized" }
69332
+ },
69333
+ security: [{ console_session_without_workspace: [] }],
69334
+ summary: "/seam/console/v1/organizations/get",
69335
+ tags: [],
69336
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
69337
+ "x-fern-sdk-method-name": "get",
69338
+ "x-fern-sdk-return-value": "organization",
69339
+ "x-response-key": "organization",
69340
+ "x-title": "Get an Organization",
69341
+ "x-undocumented": "Internal endpoint for Console"
69342
+ },
69343
+ post: {
69344
+ description: "Returns a specified organization.",
69345
+ operationId: "seamConsoleV1OrganizationsGetPost",
69346
+ requestBody: {
69347
+ content: {
69348
+ "application/json": {
69349
+ schema: {
69350
+ properties: {
69351
+ organization_id: { format: "uuid", type: "string" }
69352
+ },
69353
+ required: ["organization_id"],
69354
+ type: "object"
69355
+ }
69356
+ }
69357
+ }
69358
+ },
69359
+ responses: {
69360
+ 200: {
69361
+ content: {
69362
+ "application/json": {
69363
+ schema: {
69364
+ properties: {
69365
+ members: {
69366
+ items: {
69367
+ properties: {
69368
+ created_at: { format: "date-time", type: "string" },
69369
+ email: { nullable: true, type: "string" },
69370
+ first_name: { nullable: true, type: "string" },
69371
+ last_name: { nullable: true, type: "string" },
69372
+ organization_id: { format: "uuid", type: "string" },
69373
+ organization_member_id: {
69374
+ format: "uuid",
69375
+ type: "string"
69376
+ },
69377
+ role: { enum: ["admin", "member"], type: "string" },
69378
+ user_id: { format: "uuid", type: "string" }
69379
+ },
69380
+ required: [
69381
+ "organization_member_id",
69382
+ "organization_id",
69383
+ "user_id",
69384
+ "email",
69385
+ "first_name",
69386
+ "last_name",
69387
+ "role",
69388
+ "created_at"
69389
+ ],
69390
+ type: "object"
69391
+ },
69392
+ type: "array"
69393
+ },
69394
+ ok: { type: "boolean" },
69395
+ organization: {
69396
+ properties: {
69397
+ connect_webview_customization: {
69398
+ properties: {
69399
+ logo_shape: {
69400
+ enum: ["circle", "square"],
69401
+ nullable: true,
69402
+ type: "string"
69403
+ },
69404
+ primary_button_color: {
69405
+ nullable: true,
69406
+ type: "string"
69407
+ },
69408
+ primary_button_text_color: {
69409
+ nullable: true,
69410
+ type: "string"
69411
+ }
69412
+ },
69413
+ required: [
69414
+ "primary_button_color",
69415
+ "primary_button_text_color",
69416
+ "logo_shape"
69417
+ ],
69418
+ type: "object"
69419
+ },
69420
+ created_at: { format: "date-time", type: "string" },
69421
+ logo_url: { nullable: true, type: "string" },
69422
+ name: { type: "string" },
69423
+ organization_id: { format: "uuid", type: "string" },
69424
+ updated_at: { format: "date-time", type: "string" }
69425
+ },
69426
+ required: [
69427
+ "organization_id",
69428
+ "name",
69429
+ "logo_url",
69430
+ "connect_webview_customization",
69431
+ "created_at",
69432
+ "updated_at"
69433
+ ],
69434
+ type: "object"
69435
+ },
69436
+ pending_invitations: {
69437
+ items: {
69438
+ properties: {
69439
+ email: { type: "string" },
69440
+ expires_at: { format: "date-time", type: "string" },
69441
+ invited_at: { format: "date-time", type: "string" },
69442
+ organization_id: { format: "uuid", type: "string" },
69443
+ organization_invitation_id: {
69444
+ format: "uuid",
69445
+ type: "string"
69446
+ },
69447
+ role: { enum: ["admin", "member"], type: "string" },
69448
+ status: {
69449
+ enum: ["pending", "accepted", "revoked"],
69450
+ type: "string"
69451
+ }
69452
+ },
69453
+ required: [
69454
+ "organization_invitation_id",
69455
+ "organization_id",
69456
+ "email",
69457
+ "role",
69458
+ "status",
69459
+ "invited_at",
69460
+ "expires_at"
69461
+ ],
69462
+ type: "object"
69463
+ },
69464
+ type: "array"
69465
+ },
69466
+ workspaces: {
69467
+ items: { $ref: "#/components/schemas/workspace" },
69468
+ type: "array"
69469
+ }
69470
+ },
69471
+ required: [
69472
+ "organization",
69473
+ "members",
69474
+ "pending_invitations",
69475
+ "workspaces",
69476
+ "ok"
69477
+ ],
69478
+ type: "object"
69479
+ }
69480
+ }
69481
+ },
69482
+ description: "OK"
69483
+ },
69484
+ 400: { description: "Bad Request" },
69485
+ 401: { description: "Unauthorized" }
69486
+ },
69487
+ security: [{ console_session_without_workspace: [] }],
69488
+ summary: "/seam/console/v1/organizations/get",
69489
+ tags: [],
69490
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
69491
+ "x-fern-sdk-method-name": "get",
69492
+ "x-fern-sdk-return-value": "organization",
69493
+ "x-response-key": "organization",
69494
+ "x-title": "Get an Organization",
69495
+ "x-undocumented": "Internal endpoint for Console"
69496
+ }
69497
+ },
69498
+ "/seam/console/v1/organizations/invitations/revoke": {
69499
+ post: {
69500
+ description: "Revokes an organization invitation.",
69501
+ operationId: "seamConsoleV1OrganizationsInvitationsRevokePost",
69502
+ requestBody: {
69503
+ content: {
69504
+ "application/json": {
69505
+ schema: {
69506
+ properties: {
69507
+ organization_invitation_id: {
69508
+ format: "uuid",
69509
+ type: "string"
69510
+ }
69511
+ },
69512
+ required: ["organization_invitation_id"],
69513
+ type: "object"
69514
+ }
69515
+ }
69516
+ }
69517
+ },
69518
+ responses: {
69519
+ 200: {
69520
+ content: {
69521
+ "application/json": {
69522
+ schema: {
69523
+ properties: {
69524
+ ok: { type: "boolean" },
69525
+ organization_invitation: {
69526
+ properties: {
69527
+ email: { type: "string" },
69528
+ expires_at: { format: "date-time", type: "string" },
69529
+ invited_at: { format: "date-time", type: "string" },
69530
+ organization_id: { format: "uuid", type: "string" },
69531
+ organization_invitation_id: {
69532
+ format: "uuid",
69533
+ type: "string"
69534
+ },
69535
+ role: { enum: ["admin", "member"], type: "string" },
69536
+ status: {
69537
+ enum: ["pending", "accepted", "revoked"],
69538
+ type: "string"
69539
+ }
69540
+ },
69541
+ required: [
69542
+ "organization_invitation_id",
69543
+ "organization_id",
69544
+ "email",
69545
+ "role",
69546
+ "status",
69547
+ "invited_at",
69548
+ "expires_at"
69549
+ ],
69550
+ type: "object"
69551
+ }
69552
+ },
69553
+ required: ["organization_invitation", "ok"],
69554
+ type: "object"
69555
+ }
69556
+ }
69557
+ },
69558
+ description: "OK"
69559
+ },
69560
+ 400: { description: "Bad Request" },
69561
+ 401: { description: "Unauthorized" }
69562
+ },
69563
+ security: [{ console_session_without_workspace: [] }],
69564
+ summary: "/seam/console/v1/organizations/invitations/revoke",
69565
+ tags: [],
69566
+ "x-fern-sdk-group-name": [
69567
+ "seam",
69568
+ "console",
69569
+ "v1",
69570
+ "organizations",
69571
+ "invitations"
69572
+ ],
69573
+ "x-fern-sdk-method-name": "revoke",
69574
+ "x-fern-sdk-return-value": "organization_invitation",
69575
+ "x-response-key": "organization_invitation",
69576
+ "x-title": "Revoke an Organization Invitation",
69577
+ "x-undocumented": "Internal endpoint for Console"
69578
+ }
69579
+ },
69580
+ "/seam/console/v1/organizations/list": {
69581
+ get: {
69582
+ description: "Returns a list of organizations.",
69583
+ operationId: "seamConsoleV1OrganizationsListGet",
69584
+ responses: {
69585
+ 200: {
69586
+ content: {
69587
+ "application/json": {
69588
+ schema: {
69589
+ properties: {
69590
+ ok: { type: "boolean" },
69591
+ organizations: {
69592
+ items: {
69593
+ properties: {
69594
+ connect_webview_customization: {
69595
+ properties: {
69596
+ logo_shape: {
69597
+ enum: ["circle", "square"],
69598
+ nullable: true,
69599
+ type: "string"
69600
+ },
69601
+ primary_button_color: {
69602
+ nullable: true,
69603
+ type: "string"
69604
+ },
69605
+ primary_button_text_color: {
69606
+ nullable: true,
69607
+ type: "string"
69608
+ }
69609
+ },
69610
+ required: [
69611
+ "primary_button_color",
69612
+ "primary_button_text_color",
69613
+ "logo_shape"
69614
+ ],
69615
+ type: "object"
69616
+ },
69617
+ created_at: { format: "date-time", type: "string" },
69618
+ logo_url: { nullable: true, type: "string" },
69619
+ member_count: { format: "float", type: "number" },
69620
+ name: { type: "string" },
69621
+ organization_id: { format: "uuid", type: "string" },
69622
+ updated_at: { format: "date-time", type: "string" },
69623
+ workspace_count: { format: "float", type: "number" }
69624
+ },
69625
+ required: [
69626
+ "organization_id",
69627
+ "name",
69628
+ "logo_url",
69629
+ "connect_webview_customization",
69630
+ "created_at",
69631
+ "updated_at",
69632
+ "workspace_count",
69633
+ "member_count"
69634
+ ],
69635
+ type: "object"
69636
+ },
69637
+ type: "array"
69638
+ }
69639
+ },
69640
+ required: ["organizations", "ok"],
69641
+ type: "object"
69642
+ }
69643
+ }
69644
+ },
69645
+ description: "OK"
69646
+ },
69647
+ 400: { description: "Bad Request" },
69648
+ 401: { description: "Unauthorized" }
69649
+ },
69650
+ security: [{ console_session_without_workspace: [] }],
69651
+ summary: "/seam/console/v1/organizations/list",
69652
+ tags: [],
69653
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
69654
+ "x-fern-sdk-method-name": "list",
69655
+ "x-fern-sdk-return-value": "organizations",
69656
+ "x-response-key": "organizations",
69657
+ "x-title": "List Organizations",
69658
+ "x-undocumented": "Internal endpoint for Console"
69659
+ },
69660
+ post: {
69661
+ description: "Returns a list of organizations.",
69662
+ operationId: "seamConsoleV1OrganizationsListPost",
69663
+ responses: {
69664
+ 200: {
69665
+ content: {
69666
+ "application/json": {
69667
+ schema: {
69668
+ properties: {
69669
+ ok: { type: "boolean" },
69670
+ organizations: {
69671
+ items: {
69672
+ properties: {
69673
+ connect_webview_customization: {
69674
+ properties: {
69675
+ logo_shape: {
69676
+ enum: ["circle", "square"],
69677
+ nullable: true,
69678
+ type: "string"
69679
+ },
69680
+ primary_button_color: {
69681
+ nullable: true,
69682
+ type: "string"
69683
+ },
69684
+ primary_button_text_color: {
69685
+ nullable: true,
69686
+ type: "string"
69687
+ }
69688
+ },
69689
+ required: [
69690
+ "primary_button_color",
69691
+ "primary_button_text_color",
69692
+ "logo_shape"
69693
+ ],
69694
+ type: "object"
69695
+ },
69696
+ created_at: { format: "date-time", type: "string" },
69697
+ logo_url: { nullable: true, type: "string" },
69698
+ member_count: { format: "float", type: "number" },
69699
+ name: { type: "string" },
69700
+ organization_id: { format: "uuid", type: "string" },
69701
+ updated_at: { format: "date-time", type: "string" },
69702
+ workspace_count: { format: "float", type: "number" }
69703
+ },
69704
+ required: [
69705
+ "organization_id",
69706
+ "name",
69707
+ "logo_url",
69708
+ "connect_webview_customization",
69709
+ "created_at",
69710
+ "updated_at",
69711
+ "workspace_count",
69712
+ "member_count"
69713
+ ],
69714
+ type: "object"
69715
+ },
69716
+ type: "array"
69717
+ }
69718
+ },
69719
+ required: ["organizations", "ok"],
69720
+ type: "object"
69721
+ }
69722
+ }
69723
+ },
69724
+ description: "OK"
69725
+ },
69726
+ 400: { description: "Bad Request" },
69727
+ 401: { description: "Unauthorized" }
69728
+ },
69729
+ security: [{ console_session_without_workspace: [] }],
69730
+ summary: "/seam/console/v1/organizations/list",
69731
+ tags: [],
69732
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
69733
+ "x-fern-sdk-method-name": "list",
69734
+ "x-fern-sdk-return-value": "organizations",
69735
+ "x-response-key": "organizations",
69736
+ "x-title": "List Organizations",
69737
+ "x-undocumented": "Internal endpoint for Console"
69738
+ }
69739
+ },
69740
+ "/seam/console/v1/organizations/members/add": {
69741
+ post: {
69742
+ description: "Adds a member to an organization, inviting them by email if needed.",
69743
+ operationId: "seamConsoleV1OrganizationsMembersAddPost",
69744
+ requestBody: {
69745
+ content: {
69746
+ "application/json": {
69747
+ schema: {
69748
+ properties: {
69749
+ email: { format: "email", type: "string" },
69750
+ organization_id: { format: "uuid", type: "string" },
69751
+ role: {
69752
+ default: "member",
69753
+ enum: ["admin", "member"],
69754
+ type: "string"
69755
+ }
69756
+ },
69757
+ required: ["organization_id", "email"],
69758
+ type: "object"
69759
+ }
69760
+ }
69761
+ }
69762
+ },
69763
+ responses: {
69764
+ 200: {
69765
+ content: {
69766
+ "application/json": {
69767
+ schema: {
69768
+ properties: {
69769
+ ok: { type: "boolean" },
69770
+ organization_invitation: {
69771
+ properties: {
69772
+ email: { type: "string" },
69773
+ expires_at: { format: "date-time", type: "string" },
69774
+ invited_at: { format: "date-time", type: "string" },
69775
+ organization_id: { format: "uuid", type: "string" },
69776
+ organization_invitation_id: {
69777
+ format: "uuid",
69778
+ type: "string"
69779
+ },
69780
+ role: { enum: ["admin", "member"], type: "string" },
69781
+ status: {
69782
+ enum: ["pending", "accepted", "revoked"],
69783
+ type: "string"
69784
+ }
69785
+ },
69786
+ required: [
69787
+ "organization_invitation_id",
69788
+ "organization_id",
69789
+ "email",
69790
+ "role",
69791
+ "status",
69792
+ "invited_at",
69793
+ "expires_at"
69794
+ ],
69795
+ type: "object"
69796
+ },
69797
+ organization_member: {
69798
+ properties: {
69799
+ created_at: { format: "date-time", type: "string" },
69800
+ email: { nullable: true, type: "string" },
69801
+ first_name: { nullable: true, type: "string" },
69802
+ last_name: { nullable: true, type: "string" },
69803
+ organization_id: { format: "uuid", type: "string" },
69804
+ organization_member_id: {
69805
+ format: "uuid",
69806
+ type: "string"
69807
+ },
69808
+ role: { enum: ["admin", "member"], type: "string" },
69809
+ user_id: { format: "uuid", type: "string" }
69810
+ },
69811
+ required: [
69812
+ "organization_member_id",
69813
+ "organization_id",
69814
+ "user_id",
69815
+ "email",
69816
+ "first_name",
69817
+ "last_name",
69818
+ "role",
69819
+ "created_at"
69820
+ ],
69821
+ type: "object"
69822
+ }
69823
+ },
69824
+ required: ["ok"],
69825
+ type: "object"
69826
+ }
69827
+ }
69828
+ },
69829
+ description: "OK"
69830
+ },
69831
+ 400: { description: "Bad Request" },
69832
+ 401: { description: "Unauthorized" }
69833
+ },
69834
+ security: [{ console_session_without_workspace: [] }],
69835
+ summary: "/seam/console/v1/organizations/members/add",
69836
+ tags: [],
69837
+ "x-fern-sdk-group-name": [
69838
+ "seam",
69839
+ "console",
69840
+ "v1",
69841
+ "organizations",
69842
+ "members"
69843
+ ],
69844
+ "x-fern-sdk-method-name": "add",
69845
+ "x-response-key": null,
69846
+ "x-title": "Add an Organization Member",
69847
+ "x-undocumented": "Internal endpoint for Console"
69848
+ }
69849
+ },
69850
+ "/seam/console/v1/organizations/members/remove": {
69851
+ post: {
69852
+ description: "Removes a member from an organization.",
69853
+ operationId: "seamConsoleV1OrganizationsMembersRemovePost",
69854
+ requestBody: {
69855
+ content: {
69856
+ "application/json": {
69857
+ schema: {
69858
+ properties: {
69859
+ organization_id: { format: "uuid", type: "string" },
69860
+ user_id: { format: "uuid", type: "string" }
69861
+ },
69862
+ required: ["organization_id", "user_id"],
69863
+ type: "object"
69864
+ }
69865
+ }
69866
+ }
69867
+ },
69868
+ responses: {
69869
+ 200: {
69870
+ content: {
69871
+ "application/json": {
69872
+ schema: {
69873
+ properties: { ok: { type: "boolean" } },
69874
+ required: ["ok"],
69875
+ type: "object"
69876
+ }
69877
+ }
69878
+ },
69879
+ description: "OK"
69880
+ },
69881
+ 400: { description: "Bad Request" },
69882
+ 401: { description: "Unauthorized" }
69883
+ },
69884
+ security: [{ console_session_without_workspace: [] }],
69885
+ summary: "/seam/console/v1/organizations/members/remove",
69886
+ tags: [],
69887
+ "x-fern-sdk-group-name": [
69888
+ "seam",
69889
+ "console",
69890
+ "v1",
69891
+ "organizations",
69892
+ "members"
69893
+ ],
69894
+ "x-fern-sdk-method-name": "remove",
69895
+ "x-response-key": null,
69896
+ "x-title": "Remove an Organization Member",
69897
+ "x-undocumented": "Internal endpoint for Console"
69898
+ }
69899
+ },
69900
+ "/seam/console/v1/organizations/members/update": {
69901
+ post: {
69902
+ description: "Updates a member of an organization.",
69903
+ operationId: "seamConsoleV1OrganizationsMembersUpdatePost",
69904
+ requestBody: {
69905
+ content: {
69906
+ "application/json": {
69907
+ schema: {
69908
+ properties: {
69909
+ organization_id: { format: "uuid", type: "string" },
69910
+ role: { enum: ["admin", "member"], type: "string" },
69911
+ user_id: { format: "uuid", type: "string" }
69912
+ },
69913
+ required: ["organization_id", "user_id", "role"],
69914
+ type: "object"
69915
+ }
69916
+ }
69917
+ }
69918
+ },
69919
+ responses: {
69920
+ 200: {
69921
+ content: {
69922
+ "application/json": {
69923
+ schema: {
69924
+ properties: {
69925
+ ok: { type: "boolean" },
69926
+ organization_member: {
69927
+ properties: {
69928
+ created_at: { format: "date-time", type: "string" },
69929
+ email: { nullable: true, type: "string" },
69930
+ first_name: { nullable: true, type: "string" },
69931
+ last_name: { nullable: true, type: "string" },
69932
+ organization_id: { format: "uuid", type: "string" },
69933
+ organization_member_id: {
69934
+ format: "uuid",
69935
+ type: "string"
69936
+ },
69937
+ role: { enum: ["admin", "member"], type: "string" },
69938
+ user_id: { format: "uuid", type: "string" }
69939
+ },
69940
+ required: [
69941
+ "organization_member_id",
69942
+ "organization_id",
69943
+ "user_id",
69944
+ "email",
69945
+ "first_name",
69946
+ "last_name",
69947
+ "role",
69948
+ "created_at"
69949
+ ],
69950
+ type: "object"
69951
+ }
69952
+ },
69953
+ required: ["organization_member", "ok"],
69954
+ type: "object"
69955
+ }
69956
+ }
69957
+ },
69958
+ description: "OK"
69959
+ },
69960
+ 400: { description: "Bad Request" },
69961
+ 401: { description: "Unauthorized" }
69962
+ },
69963
+ security: [{ console_session_without_workspace: [] }],
69964
+ summary: "/seam/console/v1/organizations/members/update",
69965
+ tags: [],
69966
+ "x-fern-sdk-group-name": [
69967
+ "seam",
69968
+ "console",
69969
+ "v1",
69970
+ "organizations",
69971
+ "members"
69972
+ ],
69973
+ "x-fern-sdk-method-name": "update",
69974
+ "x-fern-sdk-return-value": "organization_member",
69975
+ "x-response-key": "organization_member",
69976
+ "x-title": "Update an Organization Member",
69977
+ "x-undocumented": "Internal endpoint for Console"
69978
+ }
69979
+ },
69980
+ "/seam/console/v1/organizations/members/workspaces/grant": {
69981
+ post: {
69982
+ description: "Grants an organization member access to a workspace.",
69983
+ operationId: "seamConsoleV1OrganizationsMembersWorkspacesGrantPost",
69984
+ requestBody: {
69985
+ content: {
69986
+ "application/json": {
69987
+ schema: {
69988
+ properties: {
69989
+ organization_id: { format: "uuid", type: "string" },
69990
+ user_id: { format: "uuid", type: "string" },
69991
+ workspace_id: { format: "uuid", type: "string" }
69992
+ },
69993
+ required: ["organization_id", "user_id", "workspace_id"],
69994
+ type: "object"
69995
+ }
69996
+ }
69997
+ }
69998
+ },
69999
+ responses: {
70000
+ 200: {
70001
+ content: {
70002
+ "application/json": {
70003
+ schema: {
70004
+ properties: { ok: { type: "boolean" } },
70005
+ required: ["ok"],
70006
+ type: "object"
70007
+ }
70008
+ }
70009
+ },
70010
+ description: "OK"
70011
+ },
70012
+ 400: { description: "Bad Request" },
70013
+ 401: { description: "Unauthorized" }
70014
+ },
70015
+ security: [{ console_session_without_workspace: [] }],
70016
+ summary: "/seam/console/v1/organizations/members/workspaces/grant",
70017
+ tags: ["/workspaces"],
70018
+ "x-fern-sdk-group-name": [
70019
+ "seam",
70020
+ "console",
70021
+ "v1",
70022
+ "organizations",
70023
+ "members",
70024
+ "workspaces"
70025
+ ],
70026
+ "x-fern-sdk-method-name": "grant",
70027
+ "x-response-key": null,
70028
+ "x-title": "Grant an Organization Member Workspace Access",
70029
+ "x-undocumented": "Internal endpoint for Console"
70030
+ }
70031
+ },
70032
+ "/seam/console/v1/organizations/members/workspaces/list": {
70033
+ get: {
70034
+ description: "Returns the workspaces an organization member can access.",
70035
+ operationId: "seamConsoleV1OrganizationsMembersWorkspacesListGet",
70036
+ parameters: [
70037
+ {
70038
+ in: "query",
70039
+ name: "organization_id",
70040
+ required: true,
70041
+ schema: { format: "uuid", type: "string" }
70042
+ },
70043
+ {
70044
+ in: "query",
70045
+ name: "user_id",
70046
+ required: true,
70047
+ schema: { format: "uuid", type: "string" }
70048
+ }
70049
+ ],
70050
+ responses: {
70051
+ 200: {
70052
+ content: {
70053
+ "application/json": {
70054
+ schema: {
70055
+ properties: {
70056
+ ok: { type: "boolean" },
70057
+ workspaces: {
70058
+ items: {
70059
+ properties: {
70060
+ created_at: { format: "date-time", type: "string" },
70061
+ is_owner: { type: "boolean" },
70062
+ is_sandbox: { type: "boolean" },
70063
+ name: { type: "string" },
70064
+ workspace_id: { format: "uuid", type: "string" }
70065
+ },
70066
+ required: [
70067
+ "workspace_id",
70068
+ "name",
70069
+ "is_sandbox",
70070
+ "is_owner",
70071
+ "created_at"
70072
+ ],
70073
+ type: "object"
70074
+ },
70075
+ type: "array"
70076
+ }
70077
+ },
70078
+ required: ["workspaces", "ok"],
70079
+ type: "object"
70080
+ }
70081
+ }
70082
+ },
70083
+ description: "OK"
70084
+ },
70085
+ 400: { description: "Bad Request" },
70086
+ 401: { description: "Unauthorized" }
70087
+ },
70088
+ security: [{ console_session_without_workspace: [] }],
70089
+ summary: "/seam/console/v1/organizations/members/workspaces/list",
70090
+ tags: ["/workspaces"],
70091
+ "x-fern-sdk-group-name": [
70092
+ "seam",
70093
+ "console",
70094
+ "v1",
70095
+ "organizations",
70096
+ "members",
70097
+ "workspaces"
70098
+ ],
70099
+ "x-fern-sdk-method-name": "list",
70100
+ "x-fern-sdk-return-value": "workspaces",
70101
+ "x-response-key": "workspaces",
70102
+ "x-title": "List an Organization Member's Workspaces",
70103
+ "x-undocumented": "Internal endpoint for Console"
70104
+ },
70105
+ post: {
70106
+ description: "Returns the workspaces an organization member can access.",
70107
+ operationId: "seamConsoleV1OrganizationsMembersWorkspacesListPost",
70108
+ requestBody: {
70109
+ content: {
70110
+ "application/json": {
70111
+ schema: {
70112
+ properties: {
70113
+ organization_id: { format: "uuid", type: "string" },
70114
+ user_id: { format: "uuid", type: "string" }
70115
+ },
70116
+ required: ["organization_id", "user_id"],
70117
+ type: "object"
70118
+ }
70119
+ }
70120
+ }
70121
+ },
70122
+ responses: {
70123
+ 200: {
70124
+ content: {
70125
+ "application/json": {
70126
+ schema: {
70127
+ properties: {
70128
+ ok: { type: "boolean" },
70129
+ workspaces: {
70130
+ items: {
70131
+ properties: {
70132
+ created_at: { format: "date-time", type: "string" },
70133
+ is_owner: { type: "boolean" },
70134
+ is_sandbox: { type: "boolean" },
70135
+ name: { type: "string" },
70136
+ workspace_id: { format: "uuid", type: "string" }
70137
+ },
70138
+ required: [
70139
+ "workspace_id",
70140
+ "name",
70141
+ "is_sandbox",
70142
+ "is_owner",
70143
+ "created_at"
70144
+ ],
70145
+ type: "object"
70146
+ },
70147
+ type: "array"
70148
+ }
70149
+ },
70150
+ required: ["workspaces", "ok"],
70151
+ type: "object"
70152
+ }
70153
+ }
70154
+ },
70155
+ description: "OK"
70156
+ },
70157
+ 400: { description: "Bad Request" },
70158
+ 401: { description: "Unauthorized" }
70159
+ },
70160
+ security: [{ console_session_without_workspace: [] }],
70161
+ summary: "/seam/console/v1/organizations/members/workspaces/list",
70162
+ tags: ["/workspaces"],
70163
+ "x-fern-sdk-group-name": [
70164
+ "seam",
70165
+ "console",
70166
+ "v1",
70167
+ "organizations",
70168
+ "members",
70169
+ "workspaces"
70170
+ ],
70171
+ "x-fern-sdk-method-name": "list",
70172
+ "x-fern-sdk-return-value": "workspaces",
70173
+ "x-response-key": "workspaces",
70174
+ "x-title": "List an Organization Member's Workspaces",
70175
+ "x-undocumented": "Internal endpoint for Console"
70176
+ }
70177
+ },
70178
+ "/seam/console/v1/organizations/members/workspaces/revoke": {
70179
+ post: {
70180
+ description: "Revokes an organization member's access to a workspace.",
70181
+ operationId: "seamConsoleV1OrganizationsMembersWorkspacesRevokePost",
70182
+ requestBody: {
70183
+ content: {
70184
+ "application/json": {
70185
+ schema: {
70186
+ properties: {
70187
+ organization_id: { format: "uuid", type: "string" },
70188
+ user_id: { format: "uuid", type: "string" },
70189
+ workspace_id: { format: "uuid", type: "string" }
70190
+ },
70191
+ required: ["organization_id", "user_id", "workspace_id"],
70192
+ type: "object"
70193
+ }
70194
+ }
70195
+ }
70196
+ },
70197
+ responses: {
70198
+ 200: {
70199
+ content: {
70200
+ "application/json": {
70201
+ schema: {
70202
+ properties: { ok: { type: "boolean" } },
70203
+ required: ["ok"],
70204
+ type: "object"
70205
+ }
70206
+ }
70207
+ },
70208
+ description: "OK"
70209
+ },
70210
+ 400: { description: "Bad Request" },
70211
+ 401: { description: "Unauthorized" }
70212
+ },
70213
+ security: [{ console_session_without_workspace: [] }],
70214
+ summary: "/seam/console/v1/organizations/members/workspaces/revoke",
70215
+ tags: ["/workspaces"],
70216
+ "x-fern-sdk-group-name": [
70217
+ "seam",
70218
+ "console",
70219
+ "v1",
70220
+ "organizations",
70221
+ "members",
70222
+ "workspaces"
70223
+ ],
70224
+ "x-fern-sdk-method-name": "revoke",
70225
+ "x-response-key": null,
70226
+ "x-title": "Revoke an Organization Member's Workspace Access",
70227
+ "x-undocumented": "Internal endpoint for Console"
70228
+ }
70229
+ },
70230
+ "/seam/console/v1/organizations/update": {
70231
+ patch: {
70232
+ description: "Updates an organization.",
70233
+ operationId: "seamConsoleV1OrganizationsUpdatePatch",
70234
+ requestBody: {
70235
+ content: {
70236
+ "application/json": {
70237
+ schema: {
70238
+ properties: {
70239
+ connect_webview_customization: {
70240
+ properties: {
70241
+ logo_shape: {
70242
+ enum: ["circle", "square"],
70243
+ nullable: true,
70244
+ type: "string"
70245
+ },
70246
+ primary_button_color: { nullable: true, type: "string" },
70247
+ primary_button_text_color: {
70248
+ nullable: true,
70249
+ type: "string"
70250
+ }
70251
+ },
70252
+ type: "object"
70253
+ },
70254
+ logo_image_base64: { nullable: true, type: "string" },
70255
+ name: { maxLength: 255, minLength: 1, type: "string" },
70256
+ organization_id: { format: "uuid", type: "string" }
70257
+ },
70258
+ required: ["organization_id"],
70259
+ type: "object"
70260
+ }
70261
+ }
70262
+ }
70263
+ },
70264
+ responses: {
70265
+ 200: {
70266
+ content: {
70267
+ "application/json": {
70268
+ schema: {
70269
+ properties: {
70270
+ ok: { type: "boolean" },
70271
+ organization: {
70272
+ properties: {
70273
+ connect_webview_customization: {
70274
+ properties: {
70275
+ logo_shape: {
70276
+ enum: ["circle", "square"],
70277
+ nullable: true,
70278
+ type: "string"
70279
+ },
70280
+ primary_button_color: {
70281
+ nullable: true,
70282
+ type: "string"
70283
+ },
70284
+ primary_button_text_color: {
70285
+ nullable: true,
70286
+ type: "string"
70287
+ }
70288
+ },
70289
+ required: [
70290
+ "primary_button_color",
70291
+ "primary_button_text_color",
70292
+ "logo_shape"
70293
+ ],
70294
+ type: "object"
70295
+ },
70296
+ created_at: { format: "date-time", type: "string" },
70297
+ logo_url: { nullable: true, type: "string" },
70298
+ name: { type: "string" },
70299
+ organization_id: { format: "uuid", type: "string" },
70300
+ updated_at: { format: "date-time", type: "string" }
70301
+ },
70302
+ required: [
70303
+ "organization_id",
70304
+ "name",
70305
+ "logo_url",
70306
+ "connect_webview_customization",
70307
+ "created_at",
70308
+ "updated_at"
70309
+ ],
70310
+ type: "object"
70311
+ }
70312
+ },
70313
+ required: ["organization", "ok"],
70314
+ type: "object"
70315
+ }
70316
+ }
70317
+ },
70318
+ description: "OK"
70319
+ },
70320
+ 400: { description: "Bad Request" },
70321
+ 401: { description: "Unauthorized" }
70322
+ },
70323
+ security: [{ console_session_without_workspace: [] }],
70324
+ summary: "/seam/console/v1/organizations/update",
70325
+ tags: [],
70326
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
70327
+ "x-fern-sdk-method-name": "update",
70328
+ "x-fern-sdk-return-value": "organization",
70329
+ "x-response-key": "organization",
70330
+ "x-title": "Update an Organization",
70331
+ "x-undocumented": "Internal endpoint for Console"
70332
+ },
70333
+ post: {
70334
+ description: "Updates an organization.",
70335
+ operationId: "seamConsoleV1OrganizationsUpdatePost",
70336
+ requestBody: {
70337
+ content: {
70338
+ "application/json": {
70339
+ schema: {
70340
+ properties: {
70341
+ connect_webview_customization: {
70342
+ properties: {
70343
+ logo_shape: {
70344
+ enum: ["circle", "square"],
70345
+ nullable: true,
70346
+ type: "string"
70347
+ },
70348
+ primary_button_color: { nullable: true, type: "string" },
70349
+ primary_button_text_color: {
70350
+ nullable: true,
70351
+ type: "string"
70352
+ }
70353
+ },
70354
+ type: "object"
70355
+ },
70356
+ logo_image_base64: { nullable: true, type: "string" },
70357
+ name: { maxLength: 255, minLength: 1, type: "string" },
70358
+ organization_id: { format: "uuid", type: "string" }
70359
+ },
70360
+ required: ["organization_id"],
70361
+ type: "object"
70362
+ }
70363
+ }
70364
+ }
70365
+ },
70366
+ responses: {
70367
+ 200: {
70368
+ content: {
70369
+ "application/json": {
70370
+ schema: {
70371
+ properties: {
70372
+ ok: { type: "boolean" },
70373
+ organization: {
70374
+ properties: {
70375
+ connect_webview_customization: {
70376
+ properties: {
70377
+ logo_shape: {
70378
+ enum: ["circle", "square"],
70379
+ nullable: true,
70380
+ type: "string"
70381
+ },
70382
+ primary_button_color: {
70383
+ nullable: true,
70384
+ type: "string"
70385
+ },
70386
+ primary_button_text_color: {
70387
+ nullable: true,
70388
+ type: "string"
70389
+ }
70390
+ },
70391
+ required: [
70392
+ "primary_button_color",
70393
+ "primary_button_text_color",
70394
+ "logo_shape"
70395
+ ],
70396
+ type: "object"
70397
+ },
70398
+ created_at: { format: "date-time", type: "string" },
70399
+ logo_url: { nullable: true, type: "string" },
70400
+ name: { type: "string" },
70401
+ organization_id: { format: "uuid", type: "string" },
70402
+ updated_at: { format: "date-time", type: "string" }
70403
+ },
70404
+ required: [
70405
+ "organization_id",
70406
+ "name",
70407
+ "logo_url",
70408
+ "connect_webview_customization",
70409
+ "created_at",
70410
+ "updated_at"
70411
+ ],
70412
+ type: "object"
70413
+ }
70414
+ },
70415
+ required: ["organization", "ok"],
70416
+ type: "object"
70417
+ }
70418
+ }
70419
+ },
70420
+ description: "OK"
70421
+ },
70422
+ 400: { description: "Bad Request" },
70423
+ 401: { description: "Unauthorized" }
70424
+ },
70425
+ security: [{ console_session_without_workspace: [] }],
70426
+ summary: "/seam/console/v1/organizations/update",
70427
+ tags: [],
70428
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
70429
+ "x-fern-sdk-method-name": "update",
70430
+ "x-fern-sdk-return-value": "organization",
70431
+ "x-response-key": "organization",
70432
+ "x-title": "Update an Organization",
70433
+ "x-undocumented": "Internal endpoint for Console"
70434
+ }
70435
+ },
70436
+ "/seam/console/v1/organizations/upload_logo": {
70437
+ post: {
70438
+ description: "Uploads a logo image for an organization.",
70439
+ operationId: "seamConsoleV1OrganizationsUploadLogoPost",
70440
+ responses: {
70441
+ 200: {
70442
+ content: {
70443
+ "application/json": {
70444
+ schema: {
70445
+ properties: {
70446
+ ok: { type: "boolean" },
70447
+ organization: {
70448
+ properties: {
70449
+ connect_webview_customization: {
70450
+ properties: {
70451
+ logo_shape: {
70452
+ enum: ["circle", "square"],
70453
+ nullable: true,
70454
+ type: "string"
70455
+ },
70456
+ primary_button_color: {
70457
+ nullable: true,
70458
+ type: "string"
70459
+ },
70460
+ primary_button_text_color: {
70461
+ nullable: true,
70462
+ type: "string"
70463
+ }
70464
+ },
70465
+ required: [
70466
+ "primary_button_color",
70467
+ "primary_button_text_color",
70468
+ "logo_shape"
70469
+ ],
70470
+ type: "object"
70471
+ },
70472
+ created_at: { format: "date-time", type: "string" },
70473
+ logo_url: { nullable: true, type: "string" },
70474
+ name: { type: "string" },
70475
+ organization_id: { format: "uuid", type: "string" },
70476
+ updated_at: { format: "date-time", type: "string" }
70477
+ },
70478
+ required: [
70479
+ "organization_id",
70480
+ "name",
70481
+ "logo_url",
70482
+ "connect_webview_customization",
70483
+ "created_at",
70484
+ "updated_at"
70485
+ ],
70486
+ type: "object"
70487
+ }
70488
+ },
70489
+ required: ["organization", "ok"],
70490
+ type: "object"
70491
+ }
70492
+ }
70493
+ },
70494
+ description: "OK"
70495
+ },
70496
+ 400: { description: "Bad Request" },
70497
+ 401: { description: "Unauthorized" }
70498
+ },
70499
+ security: [{ console_session_without_workspace: [] }],
70500
+ summary: "/seam/console/v1/organizations/upload_logo",
70501
+ tags: [],
70502
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "organizations"],
70503
+ "x-fern-sdk-method-name": "upload_logo",
70504
+ "x-fern-sdk-return-value": "organization",
70505
+ "x-response-key": "organization",
70506
+ "x-title": "Upload an Organization Logo",
70507
+ "x-undocumented": "Internal endpoint for Console"
70508
+ }
70509
+ },
70510
+ "/seam/console/v1/organizations/workspaces/create": {
70511
+ post: {
70512
+ description: "Creates a workspace in an organization.",
70513
+ operationId: "seamConsoleV1OrganizationsWorkspacesCreatePost",
70514
+ requestBody: {
70515
+ content: {
70516
+ "application/json": {
70517
+ schema: {
70518
+ properties: {
70519
+ is_sandbox: { default: false, type: "boolean" },
70520
+ name: { minLength: 1, type: "string" },
70521
+ organization_id: { format: "uuid", type: "string" }
70522
+ },
70523
+ required: ["organization_id", "name"],
70524
+ type: "object"
70525
+ }
70526
+ }
70527
+ }
70528
+ },
70529
+ responses: {
70530
+ 200: {
70531
+ content: {
70532
+ "application/json": {
70533
+ schema: {
70534
+ properties: {
70535
+ ok: { type: "boolean" },
70536
+ workspace: { $ref: "#/components/schemas/workspace" }
70537
+ },
70538
+ required: ["workspace", "ok"],
70539
+ type: "object"
70540
+ }
70541
+ }
70542
+ },
70543
+ description: "OK"
70544
+ },
70545
+ 400: { description: "Bad Request" },
70546
+ 401: { description: "Unauthorized" }
70547
+ },
70548
+ security: [{ console_session_without_workspace: [] }],
70549
+ summary: "/seam/console/v1/organizations/workspaces/create",
70550
+ tags: ["/workspaces"],
70551
+ "x-fern-sdk-group-name": [
70552
+ "seam",
70553
+ "console",
70554
+ "v1",
70555
+ "organizations",
70556
+ "workspaces"
70557
+ ],
70558
+ "x-fern-sdk-method-name": "create",
70559
+ "x-fern-sdk-return-value": "workspace",
70560
+ "x-response-key": "workspace",
70561
+ "x-title": "Create an Organization Workspace",
70562
+ "x-undocumented": "Internal endpoint for Console"
70563
+ }
70564
+ },
70565
+ "/seam/console/v1/organizations/workspaces/remove": {
70566
+ post: {
70567
+ description: "Removes a workspace from an organization.",
70568
+ operationId: "seamConsoleV1OrganizationsWorkspacesRemovePost",
70569
+ requestBody: {
70570
+ content: {
70571
+ "application/json": {
70572
+ schema: {
70573
+ properties: {
70574
+ workspace_id: { format: "uuid", type: "string" }
70575
+ },
70576
+ required: ["workspace_id"],
70577
+ type: "object"
70578
+ }
70579
+ }
70580
+ }
70581
+ },
70582
+ responses: {
70583
+ 200: {
70584
+ content: {
70585
+ "application/json": {
70586
+ schema: {
70587
+ properties: { ok: { type: "boolean" } },
70588
+ required: ["ok"],
70589
+ type: "object"
70590
+ }
70591
+ }
70592
+ },
70593
+ description: "OK"
70594
+ },
70595
+ 400: { description: "Bad Request" },
70596
+ 401: { description: "Unauthorized" }
70597
+ },
70598
+ security: [{ console_session_without_workspace: [] }],
70599
+ summary: "/seam/console/v1/organizations/workspaces/remove",
70600
+ tags: ["/workspaces"],
70601
+ "x-fern-sdk-group-name": [
70602
+ "seam",
70603
+ "console",
70604
+ "v1",
70605
+ "organizations",
70606
+ "workspaces"
70607
+ ],
70608
+ "x-fern-sdk-method-name": "remove",
70609
+ "x-response-key": null,
70610
+ "x-title": "Remove an Organization Workspace",
70611
+ "x-undocumented": "Internal endpoint for Console"
70612
+ }
70613
+ },
70614
+ "/seam/console/v1/organizations/workspaces/update": {
70615
+ post: {
70616
+ description: "Updates a workspace in an organization.",
70617
+ operationId: "seamConsoleV1OrganizationsWorkspacesUpdatePost",
70618
+ requestBody: {
70619
+ content: {
70620
+ "application/json": {
70621
+ schema: {
70622
+ properties: {
70623
+ name: { minLength: 1, type: "string" },
70624
+ workspace_id: { format: "uuid", type: "string" }
70625
+ },
70626
+ required: ["workspace_id", "name"],
70627
+ type: "object"
70628
+ }
70629
+ }
70630
+ }
70631
+ },
70632
+ responses: {
70633
+ 200: {
70634
+ content: {
70635
+ "application/json": {
70636
+ schema: {
70637
+ properties: {
70638
+ ok: { type: "boolean" },
70639
+ workspace: { $ref: "#/components/schemas/workspace" }
70640
+ },
70641
+ required: ["workspace", "ok"],
70642
+ type: "object"
70643
+ }
70644
+ }
70645
+ },
70646
+ description: "OK"
70647
+ },
70648
+ 400: { description: "Bad Request" },
70649
+ 401: { description: "Unauthorized" }
70650
+ },
70651
+ security: [{ console_session_without_workspace: [] }],
70652
+ summary: "/seam/console/v1/organizations/workspaces/update",
70653
+ tags: ["/workspaces"],
70654
+ "x-fern-sdk-group-name": [
70655
+ "seam",
70656
+ "console",
70657
+ "v1",
70658
+ "organizations",
70659
+ "workspaces"
70660
+ ],
70661
+ "x-fern-sdk-method-name": "update",
70662
+ "x-fern-sdk-return-value": "workspace",
70663
+ "x-response-key": "workspace",
70664
+ "x-title": "Update an Organization Workspace",
70665
+ "x-undocumented": "Internal endpoint for Console"
70666
+ }
70667
+ },
68938
70668
  "/seam/console/v1/sites/create": {
68939
70669
  post: {
68940
70670
  description: "Creates a new site, a top-level space in the property hierarchy.",