@seamapi/types 1.896.0 → 1.898.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
@@ -67078,6 +67078,395 @@ var openapi = {
67078
67078
  "x-undocumented": "Internal endpoint for Console"
67079
67079
  }
67080
67080
  },
67081
+ "/seam/console/v1/sites/create": {
67082
+ post: {
67083
+ description: "Creates a new site, a top-level space in the property hierarchy.",
67084
+ operationId: "seamConsoleV1SitesCreatePost",
67085
+ requestBody: {
67086
+ content: {
67087
+ "application/json": {
67088
+ schema: {
67089
+ properties: {
67090
+ name: {
67091
+ description: "Name of the site that you want to create.",
67092
+ type: "string"
67093
+ },
67094
+ site_key: {
67095
+ description: "Unique key for the site within the workspace.",
67096
+ type: "string"
67097
+ }
67098
+ },
67099
+ required: ["name"],
67100
+ type: "object"
67101
+ }
67102
+ }
67103
+ }
67104
+ },
67105
+ responses: {
67106
+ 200: {
67107
+ content: {
67108
+ "application/json": {
67109
+ schema: {
67110
+ properties: {
67111
+ ok: { type: "boolean" },
67112
+ site: { $ref: "#/components/schemas/space" }
67113
+ },
67114
+ required: ["site", "ok"],
67115
+ type: "object"
67116
+ }
67117
+ }
67118
+ },
67119
+ description: "OK"
67120
+ },
67121
+ 400: { description: "Bad Request" },
67122
+ 401: { description: "Unauthorized" }
67123
+ },
67124
+ security: [
67125
+ { pat_with_workspace: [] },
67126
+ { console_session_with_workspace: [] },
67127
+ { api_key: [] }
67128
+ ],
67129
+ summary: "/seam/console/v1/sites/create",
67130
+ tags: [],
67131
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67132
+ "x-fern-sdk-method-name": "create",
67133
+ "x-fern-sdk-return-value": "site",
67134
+ "x-response-key": "site",
67135
+ "x-title": "Create a Site",
67136
+ "x-undocumented": "Internal endpoint for Console"
67137
+ }
67138
+ },
67139
+ "/seam/console/v1/sites/delete": {
67140
+ delete: {
67141
+ description: "Deletes a site.",
67142
+ operationId: "seamConsoleV1SitesDeleteDelete",
67143
+ requestBody: {
67144
+ content: {
67145
+ "application/json": {
67146
+ schema: {
67147
+ properties: {
67148
+ site_id: {
67149
+ description: "ID of the site that you want to delete.",
67150
+ format: "uuid",
67151
+ type: "string"
67152
+ }
67153
+ },
67154
+ required: ["site_id"],
67155
+ type: "object"
67156
+ }
67157
+ }
67158
+ }
67159
+ },
67160
+ responses: {
67161
+ 200: {
67162
+ content: {
67163
+ "application/json": {
67164
+ schema: {
67165
+ properties: { ok: { type: "boolean" } },
67166
+ required: ["ok"],
67167
+ type: "object"
67168
+ }
67169
+ }
67170
+ },
67171
+ description: "OK"
67172
+ },
67173
+ 400: { description: "Bad Request" },
67174
+ 401: { description: "Unauthorized" }
67175
+ },
67176
+ security: [
67177
+ { pat_with_workspace: [] },
67178
+ { console_session_with_workspace: [] },
67179
+ { api_key: [] }
67180
+ ],
67181
+ summary: "/seam/console/v1/sites/delete",
67182
+ tags: [],
67183
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67184
+ "x-fern-sdk-method-name": "delete",
67185
+ "x-response-key": null,
67186
+ "x-title": "Delete a Site",
67187
+ "x-undocumented": "Internal endpoint for Console"
67188
+ },
67189
+ post: {
67190
+ description: "Deletes a site.",
67191
+ operationId: "seamConsoleV1SitesDeletePost",
67192
+ requestBody: {
67193
+ content: {
67194
+ "application/json": {
67195
+ schema: {
67196
+ properties: {
67197
+ site_id: {
67198
+ description: "ID of the site that you want to delete.",
67199
+ format: "uuid",
67200
+ type: "string"
67201
+ }
67202
+ },
67203
+ required: ["site_id"],
67204
+ type: "object"
67205
+ }
67206
+ }
67207
+ }
67208
+ },
67209
+ responses: {
67210
+ 200: {
67211
+ content: {
67212
+ "application/json": {
67213
+ schema: {
67214
+ properties: { ok: { type: "boolean" } },
67215
+ required: ["ok"],
67216
+ type: "object"
67217
+ }
67218
+ }
67219
+ },
67220
+ description: "OK"
67221
+ },
67222
+ 400: { description: "Bad Request" },
67223
+ 401: { description: "Unauthorized" }
67224
+ },
67225
+ security: [
67226
+ { pat_with_workspace: [] },
67227
+ { console_session_with_workspace: [] },
67228
+ { api_key: [] }
67229
+ ],
67230
+ summary: "/seam/console/v1/sites/delete",
67231
+ tags: [],
67232
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67233
+ "x-fern-sdk-method-name": "delete",
67234
+ "x-response-key": null,
67235
+ "x-title": "Delete a Site",
67236
+ "x-undocumented": "Internal endpoint for Console"
67237
+ }
67238
+ },
67239
+ "/seam/console/v1/sites/list": {
67240
+ get: {
67241
+ description: "Lists sites (top-level spaces) in the workspace.",
67242
+ operationId: "seamConsoleV1SitesListGet",
67243
+ parameters: [
67244
+ {
67245
+ in: "query",
67246
+ name: "search",
67247
+ schema: {
67248
+ description: "String for which to search. Filters sites to those with a partial match on `name` or `site_key`.",
67249
+ minLength: 1,
67250
+ type: "string"
67251
+ }
67252
+ }
67253
+ ],
67254
+ responses: {
67255
+ 200: {
67256
+ content: {
67257
+ "application/json": {
67258
+ schema: {
67259
+ properties: {
67260
+ ok: { type: "boolean" },
67261
+ sites: {
67262
+ items: { $ref: "#/components/schemas/space" },
67263
+ type: "array"
67264
+ }
67265
+ },
67266
+ required: ["sites", "ok"],
67267
+ type: "object"
67268
+ }
67269
+ }
67270
+ },
67271
+ description: "OK"
67272
+ },
67273
+ 400: { description: "Bad Request" },
67274
+ 401: { description: "Unauthorized" }
67275
+ },
67276
+ security: [
67277
+ { pat_with_workspace: [] },
67278
+ { console_session_with_workspace: [] },
67279
+ { api_key: [] }
67280
+ ],
67281
+ summary: "/seam/console/v1/sites/list",
67282
+ tags: [],
67283
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67284
+ "x-fern-sdk-method-name": "list",
67285
+ "x-fern-sdk-return-value": "sites",
67286
+ "x-response-key": "sites",
67287
+ "x-title": "List Sites",
67288
+ "x-undocumented": "Internal endpoint for Console"
67289
+ },
67290
+ post: {
67291
+ description: "Lists sites (top-level spaces) in the workspace.",
67292
+ operationId: "seamConsoleV1SitesListPost",
67293
+ requestBody: {
67294
+ content: {
67295
+ "application/json": {
67296
+ schema: {
67297
+ properties: {
67298
+ search: {
67299
+ description: "String for which to search. Filters sites to those with a partial match on `name` or `site_key`.",
67300
+ minLength: 1,
67301
+ type: "string"
67302
+ }
67303
+ },
67304
+ type: "object"
67305
+ }
67306
+ }
67307
+ }
67308
+ },
67309
+ responses: {
67310
+ 200: {
67311
+ content: {
67312
+ "application/json": {
67313
+ schema: {
67314
+ properties: {
67315
+ ok: { type: "boolean" },
67316
+ sites: {
67317
+ items: { $ref: "#/components/schemas/space" },
67318
+ type: "array"
67319
+ }
67320
+ },
67321
+ required: ["sites", "ok"],
67322
+ type: "object"
67323
+ }
67324
+ }
67325
+ },
67326
+ description: "OK"
67327
+ },
67328
+ 400: { description: "Bad Request" },
67329
+ 401: { description: "Unauthorized" }
67330
+ },
67331
+ security: [
67332
+ { pat_with_workspace: [] },
67333
+ { console_session_with_workspace: [] },
67334
+ { api_key: [] }
67335
+ ],
67336
+ summary: "/seam/console/v1/sites/list",
67337
+ tags: [],
67338
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67339
+ "x-fern-sdk-method-name": "list",
67340
+ "x-fern-sdk-return-value": "sites",
67341
+ "x-response-key": "sites",
67342
+ "x-title": "List Sites",
67343
+ "x-undocumented": "Internal endpoint for Console"
67344
+ }
67345
+ },
67346
+ "/seam/console/v1/sites/update": {
67347
+ patch: {
67348
+ description: "Updates an existing site.",
67349
+ operationId: "seamConsoleV1SitesUpdatePatch",
67350
+ requestBody: {
67351
+ content: {
67352
+ "application/json": {
67353
+ schema: {
67354
+ properties: {
67355
+ name: {
67356
+ description: "New name for the site.",
67357
+ type: "string"
67358
+ },
67359
+ site_id: {
67360
+ description: "ID of the site that you want to update.",
67361
+ format: "uuid",
67362
+ type: "string"
67363
+ },
67364
+ site_key: {
67365
+ description: "New unique key for the site within the workspace.",
67366
+ type: "string"
67367
+ }
67368
+ },
67369
+ required: ["site_id"],
67370
+ type: "object"
67371
+ }
67372
+ }
67373
+ }
67374
+ },
67375
+ responses: {
67376
+ 200: {
67377
+ content: {
67378
+ "application/json": {
67379
+ schema: {
67380
+ properties: {
67381
+ ok: { type: "boolean" },
67382
+ site: { $ref: "#/components/schemas/space" }
67383
+ },
67384
+ required: ["site", "ok"],
67385
+ type: "object"
67386
+ }
67387
+ }
67388
+ },
67389
+ description: "OK"
67390
+ },
67391
+ 400: { description: "Bad Request" },
67392
+ 401: { description: "Unauthorized" }
67393
+ },
67394
+ security: [
67395
+ { pat_with_workspace: [] },
67396
+ { console_session_with_workspace: [] },
67397
+ { api_key: [] }
67398
+ ],
67399
+ summary: "/seam/console/v1/sites/update",
67400
+ tags: [],
67401
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67402
+ "x-fern-sdk-method-name": "update",
67403
+ "x-fern-sdk-return-value": "site",
67404
+ "x-response-key": "site",
67405
+ "x-title": "Update a Site",
67406
+ "x-undocumented": "Internal endpoint for Console"
67407
+ },
67408
+ post: {
67409
+ description: "Updates an existing site.",
67410
+ operationId: "seamConsoleV1SitesUpdatePost",
67411
+ requestBody: {
67412
+ content: {
67413
+ "application/json": {
67414
+ schema: {
67415
+ properties: {
67416
+ name: {
67417
+ description: "New name for the site.",
67418
+ type: "string"
67419
+ },
67420
+ site_id: {
67421
+ description: "ID of the site that you want to update.",
67422
+ format: "uuid",
67423
+ type: "string"
67424
+ },
67425
+ site_key: {
67426
+ description: "New unique key for the site within the workspace.",
67427
+ type: "string"
67428
+ }
67429
+ },
67430
+ required: ["site_id"],
67431
+ type: "object"
67432
+ }
67433
+ }
67434
+ }
67435
+ },
67436
+ responses: {
67437
+ 200: {
67438
+ content: {
67439
+ "application/json": {
67440
+ schema: {
67441
+ properties: {
67442
+ ok: { type: "boolean" },
67443
+ site: { $ref: "#/components/schemas/space" }
67444
+ },
67445
+ required: ["site", "ok"],
67446
+ type: "object"
67447
+ }
67448
+ }
67449
+ },
67450
+ description: "OK"
67451
+ },
67452
+ 400: { description: "Bad Request" },
67453
+ 401: { description: "Unauthorized" }
67454
+ },
67455
+ security: [
67456
+ { pat_with_workspace: [] },
67457
+ { console_session_with_workspace: [] },
67458
+ { api_key: [] }
67459
+ ],
67460
+ summary: "/seam/console/v1/sites/update",
67461
+ tags: [],
67462
+ "x-fern-sdk-group-name": ["seam", "console", "v1", "sites"],
67463
+ "x-fern-sdk-method-name": "update",
67464
+ "x-fern-sdk-return-value": "site",
67465
+ "x-response-key": "site",
67466
+ "x-title": "Update a Site",
67467
+ "x-undocumented": "Internal endpoint for Console"
67468
+ }
67469
+ },
67081
67470
  "/seam/console/v1/timelines/get": {
67082
67471
  get: {
67083
67472
  description: "Returns timeline entries for a resource and its child resources, grouped by entry groups.",
@@ -79895,6 +80284,17 @@ var openapi = {
79895
80284
  type: "array"
79896
80285
  },
79897
80286
  name: { description: "Name of the space.", type: "string" },
80287
+ parent_space_id: {
80288
+ description: "Reassign this space to the parent space (site) with this `parent_space_id`.",
80289
+ format: "uuid",
80290
+ type: "string",
80291
+ "x-undocumented": "Only used internally."
80292
+ },
80293
+ parent_space_key: {
80294
+ description: "Reassign this space to the parent space (site) with this `parent_space_key`.",
80295
+ type: "string",
80296
+ "x-undocumented": "Only used internally."
80297
+ },
79898
80298
  space_id: {
79899
80299
  description: "ID of the space that you want to update.",
79900
80300
  format: "uuid",
@@ -79985,6 +80385,17 @@ var openapi = {
79985
80385
  type: "array"
79986
80386
  },
79987
80387
  name: { description: "Name of the space.", type: "string" },
80388
+ parent_space_id: {
80389
+ description: "Reassign this space to the parent space (site) with this `parent_space_id`.",
80390
+ format: "uuid",
80391
+ type: "string",
80392
+ "x-undocumented": "Only used internally."
80393
+ },
80394
+ parent_space_key: {
80395
+ description: "Reassign this space to the parent space (site) with this `parent_space_key`.",
80396
+ type: "string",
80397
+ "x-undocumented": "Only used internally."
80398
+ },
79988
80399
  space_id: {
79989
80400
  description: "ID of the space that you want to update.",
79990
80401
  format: "uuid",