@seamapi/types 1.896.0 → 1.897.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 +389 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +162 -0
- package/dist/index.cjs +389 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.js +389 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +162 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +395 -0
- package/src/lib/seam/connect/route-types.ts +168 -0
package/dist/connect.d.cts
CHANGED
|
@@ -104563,6 +104563,168 @@ type Routes = {
|
|
|
104563
104563
|
};
|
|
104564
104564
|
maxDuration: undefined;
|
|
104565
104565
|
};
|
|
104566
|
+
'/seam/console/v1/sites/create': {
|
|
104567
|
+
route: '/seam/console/v1/sites/create';
|
|
104568
|
+
method: 'POST';
|
|
104569
|
+
queryParams: {};
|
|
104570
|
+
jsonBody: {
|
|
104571
|
+
/** Name of the site that you want to create. */
|
|
104572
|
+
name: string;
|
|
104573
|
+
/** Unique key for the site within the workspace. */
|
|
104574
|
+
site_key?: string | undefined;
|
|
104575
|
+
};
|
|
104576
|
+
commonParams: {};
|
|
104577
|
+
formData: {};
|
|
104578
|
+
jsonResponse: {
|
|
104579
|
+
/** Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient. */
|
|
104580
|
+
site: {
|
|
104581
|
+
/** ID of the space. */
|
|
104582
|
+
space_id: string;
|
|
104583
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space. */
|
|
104584
|
+
workspace_id: string;
|
|
104585
|
+
/** Unique key for the space within the workspace. */
|
|
104586
|
+
space_key?: string | undefined;
|
|
104587
|
+
/** Name of the space. */
|
|
104588
|
+
name: string;
|
|
104589
|
+
/** Display name for the space. */
|
|
104590
|
+
display_name: string;
|
|
104591
|
+
/** Date and time at which the space was created. */
|
|
104592
|
+
created_at: string;
|
|
104593
|
+
/** Number of devices in the space. */
|
|
104594
|
+
device_count: number;
|
|
104595
|
+
/** Number of entrances in the space. */
|
|
104596
|
+
acs_entrance_count: number;
|
|
104597
|
+
/** Customer key associated with the space. */
|
|
104598
|
+
customer_key?: string | undefined;
|
|
104599
|
+
/** Reservation/stay-related defaults for the space. */
|
|
104600
|
+
customer_data?: {
|
|
104601
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
104602
|
+
time_zone?: (string | null) | undefined;
|
|
104603
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
104604
|
+
default_checkin_time?: (string | null) | undefined;
|
|
104605
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
104606
|
+
default_checkout_time?: (string | null) | undefined;
|
|
104607
|
+
} | undefined;
|
|
104608
|
+
/** */
|
|
104609
|
+
parent_space_id?: string | undefined;
|
|
104610
|
+
/** */
|
|
104611
|
+
parent_space_key?: string | undefined;
|
|
104612
|
+
};
|
|
104613
|
+
};
|
|
104614
|
+
maxDuration: undefined;
|
|
104615
|
+
};
|
|
104616
|
+
'/seam/console/v1/sites/delete': {
|
|
104617
|
+
route: '/seam/console/v1/sites/delete';
|
|
104618
|
+
method: 'DELETE' | 'POST';
|
|
104619
|
+
queryParams: {};
|
|
104620
|
+
jsonBody: {
|
|
104621
|
+
/** ID of the site that you want to delete. */
|
|
104622
|
+
site_id: string;
|
|
104623
|
+
};
|
|
104624
|
+
commonParams: {};
|
|
104625
|
+
formData: {};
|
|
104626
|
+
jsonResponse: {};
|
|
104627
|
+
maxDuration: undefined;
|
|
104628
|
+
};
|
|
104629
|
+
'/seam/console/v1/sites/list': {
|
|
104630
|
+
route: '/seam/console/v1/sites/list';
|
|
104631
|
+
method: 'GET' | 'POST';
|
|
104632
|
+
queryParams: {};
|
|
104633
|
+
jsonBody: {};
|
|
104634
|
+
commonParams: {
|
|
104635
|
+
/** String for which to search. Filters sites to those with a partial match on `name` or `site_key`. */
|
|
104636
|
+
search?: string | undefined;
|
|
104637
|
+
};
|
|
104638
|
+
formData: {};
|
|
104639
|
+
jsonResponse: {
|
|
104640
|
+
sites: {
|
|
104641
|
+
/** ID of the space. */
|
|
104642
|
+
space_id: string;
|
|
104643
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space. */
|
|
104644
|
+
workspace_id: string;
|
|
104645
|
+
/** Unique key for the space within the workspace. */
|
|
104646
|
+
space_key?: string | undefined;
|
|
104647
|
+
/** Name of the space. */
|
|
104648
|
+
name: string;
|
|
104649
|
+
/** Display name for the space. */
|
|
104650
|
+
display_name: string;
|
|
104651
|
+
/** Date and time at which the space was created. */
|
|
104652
|
+
created_at: string;
|
|
104653
|
+
/** Number of devices in the space. */
|
|
104654
|
+
device_count: number;
|
|
104655
|
+
/** Number of entrances in the space. */
|
|
104656
|
+
acs_entrance_count: number;
|
|
104657
|
+
/** Customer key associated with the space. */
|
|
104658
|
+
customer_key?: string | undefined;
|
|
104659
|
+
/** Reservation/stay-related defaults for the space. */
|
|
104660
|
+
customer_data?: {
|
|
104661
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
104662
|
+
time_zone?: (string | null) | undefined;
|
|
104663
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
104664
|
+
default_checkin_time?: (string | null) | undefined;
|
|
104665
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
104666
|
+
default_checkout_time?: (string | null) | undefined;
|
|
104667
|
+
} | undefined;
|
|
104668
|
+
/** */
|
|
104669
|
+
parent_space_id?: string | undefined;
|
|
104670
|
+
/** */
|
|
104671
|
+
parent_space_key?: string | undefined;
|
|
104672
|
+
}[];
|
|
104673
|
+
};
|
|
104674
|
+
maxDuration: undefined;
|
|
104675
|
+
};
|
|
104676
|
+
'/seam/console/v1/sites/update': {
|
|
104677
|
+
route: '/seam/console/v1/sites/update';
|
|
104678
|
+
method: 'POST' | 'PATCH';
|
|
104679
|
+
queryParams: {};
|
|
104680
|
+
jsonBody: {
|
|
104681
|
+
/** ID of the site that you want to update. */
|
|
104682
|
+
site_id: string;
|
|
104683
|
+
/** New name for the site. */
|
|
104684
|
+
name?: string | undefined;
|
|
104685
|
+
/** New unique key for the site within the workspace. */
|
|
104686
|
+
site_key?: string | undefined;
|
|
104687
|
+
};
|
|
104688
|
+
commonParams: {};
|
|
104689
|
+
formData: {};
|
|
104690
|
+
jsonResponse: {
|
|
104691
|
+
/** Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient. */
|
|
104692
|
+
site: {
|
|
104693
|
+
/** ID of the space. */
|
|
104694
|
+
space_id: string;
|
|
104695
|
+
/** ID of the [workspace](https://docs.seam.co/core-concepts/workspaces) associated with the space. */
|
|
104696
|
+
workspace_id: string;
|
|
104697
|
+
/** Unique key for the space within the workspace. */
|
|
104698
|
+
space_key?: string | undefined;
|
|
104699
|
+
/** Name of the space. */
|
|
104700
|
+
name: string;
|
|
104701
|
+
/** Display name for the space. */
|
|
104702
|
+
display_name: string;
|
|
104703
|
+
/** Date and time at which the space was created. */
|
|
104704
|
+
created_at: string;
|
|
104705
|
+
/** Number of devices in the space. */
|
|
104706
|
+
device_count: number;
|
|
104707
|
+
/** Number of entrances in the space. */
|
|
104708
|
+
acs_entrance_count: number;
|
|
104709
|
+
/** Customer key associated with the space. */
|
|
104710
|
+
customer_key?: string | undefined;
|
|
104711
|
+
/** Reservation/stay-related defaults for the space. */
|
|
104712
|
+
customer_data?: {
|
|
104713
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
104714
|
+
time_zone?: (string | null) | undefined;
|
|
104715
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
104716
|
+
default_checkin_time?: (string | null) | undefined;
|
|
104717
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
104718
|
+
default_checkout_time?: (string | null) | undefined;
|
|
104719
|
+
} | undefined;
|
|
104720
|
+
/** */
|
|
104721
|
+
parent_space_id?: string | undefined;
|
|
104722
|
+
/** */
|
|
104723
|
+
parent_space_key?: string | undefined;
|
|
104724
|
+
};
|
|
104725
|
+
};
|
|
104726
|
+
maxDuration: undefined;
|
|
104727
|
+
};
|
|
104566
104728
|
'/seam/console/v1/timelines/get': {
|
|
104567
104729
|
route: '/seam/console/v1/timelines/get';
|
|
104568
104730
|
method: 'GET' | 'POST';
|
package/dist/index.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.",
|