@seamapi/types 1.23.2 → 1.25.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
@@ -4257,6 +4257,104 @@ var openapi_default = {
4257
4257
  "x-fern-sdk-return-value": "client_session"
4258
4258
  }
4259
4259
  },
4260
+ "/client_sessions/get_or_create": {
4261
+ post: {
4262
+ operationId: "clientSessionsGetOrCreatePost",
4263
+ requestBody: {
4264
+ content: {
4265
+ "application/json": {
4266
+ schema: {
4267
+ properties: {
4268
+ connect_webview_ids: {
4269
+ items: { type: "string" },
4270
+ type: "array"
4271
+ },
4272
+ connected_account_ids: {
4273
+ items: { type: "string" },
4274
+ type: "array"
4275
+ },
4276
+ user_identifier_key: { minLength: 1, type: "string" }
4277
+ },
4278
+ type: "object"
4279
+ }
4280
+ }
4281
+ }
4282
+ },
4283
+ responses: {
4284
+ 200: {
4285
+ content: {
4286
+ "application/json": {
4287
+ schema: {
4288
+ properties: {
4289
+ client_session: {
4290
+ $ref: "#/components/schemas/client_session"
4291
+ },
4292
+ ok: { type: "boolean" }
4293
+ },
4294
+ required: ["client_session", "ok"],
4295
+ type: "object"
4296
+ }
4297
+ }
4298
+ },
4299
+ description: "OK"
4300
+ },
4301
+ 400: { description: "Bad Request" },
4302
+ 401: { description: "Unauthorized" }
4303
+ },
4304
+ summary: "/client_sessions/get_or_create",
4305
+ tags: ["/client_sessions"],
4306
+ "x-fern-sdk-group-name": ["client_sessions"],
4307
+ "x-fern-sdk-method-name": "get_or_create",
4308
+ "x-fern-sdk-return-value": "client_session"
4309
+ },
4310
+ put: {
4311
+ operationId: "clientSessionsGetOrCreatePut",
4312
+ requestBody: {
4313
+ content: {
4314
+ "application/json": {
4315
+ schema: {
4316
+ properties: {
4317
+ connect_webview_ids: {
4318
+ items: { type: "string" },
4319
+ type: "array"
4320
+ },
4321
+ connected_account_ids: {
4322
+ items: { type: "string" },
4323
+ type: "array"
4324
+ },
4325
+ user_identifier_key: { minLength: 1, type: "string" }
4326
+ },
4327
+ type: "object"
4328
+ }
4329
+ }
4330
+ }
4331
+ },
4332
+ responses: {
4333
+ 200: {
4334
+ content: {
4335
+ "application/json": {
4336
+ schema: {
4337
+ properties: {
4338
+ client_session: {
4339
+ $ref: "#/components/schemas/client_session"
4340
+ },
4341
+ ok: { type: "boolean" }
4342
+ },
4343
+ required: ["client_session", "ok"],
4344
+ type: "object"
4345
+ }
4346
+ }
4347
+ },
4348
+ description: "OK"
4349
+ },
4350
+ 400: { description: "Bad Request" },
4351
+ 401: { description: "Unauthorized" }
4352
+ },
4353
+ summary: "/client_sessions/get_or_create",
4354
+ tags: ["/client_sessions"],
4355
+ "x-fern-ignore": true
4356
+ }
4357
+ },
4260
4358
  "/client_sessions/grant_access": {
4261
4359
  patch: {
4262
4360
  operationId: "clientSessionsGrantAccessPatch",