@seamapi/types 1.694.0 → 1.695.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 +54 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -0
- package/dist/index.cjs +54 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +70 -0
- package/lib/seam/connect/openapi.js +54 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +31 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +55 -0
- package/src/lib/seam/connect/route-types.ts +31 -0
package/dist/connect.cjs
CHANGED
|
@@ -56567,6 +56567,60 @@ var openapi_default = {
|
|
|
56567
56567
|
"x-undocumented": "Internal endpoint for Console."
|
|
56568
56568
|
}
|
|
56569
56569
|
},
|
|
56570
|
+
"/seam/customer/v1/customers/open_portal": {
|
|
56571
|
+
post: {
|
|
56572
|
+
description: "Opens an existing customer portal or creates a new one if the previous portal has expired.\nReturns an error if no portal was ever created for this customer.",
|
|
56573
|
+
operationId: "seamCustomerV1CustomersOpenPortalPost",
|
|
56574
|
+
requestBody: {
|
|
56575
|
+
content: {
|
|
56576
|
+
"application/json": {
|
|
56577
|
+
schema: {
|
|
56578
|
+
properties: {
|
|
56579
|
+
customer_key: {
|
|
56580
|
+
description: "The customer key to open a portal for.",
|
|
56581
|
+
type: "string"
|
|
56582
|
+
}
|
|
56583
|
+
},
|
|
56584
|
+
required: ["customer_key"],
|
|
56585
|
+
type: "object"
|
|
56586
|
+
}
|
|
56587
|
+
}
|
|
56588
|
+
}
|
|
56589
|
+
},
|
|
56590
|
+
responses: {
|
|
56591
|
+
200: {
|
|
56592
|
+
content: {
|
|
56593
|
+
"application/json": {
|
|
56594
|
+
schema: {
|
|
56595
|
+
properties: {
|
|
56596
|
+
magic_link: { $ref: "#/components/schemas/magic_link" },
|
|
56597
|
+
ok: { type: "boolean" }
|
|
56598
|
+
},
|
|
56599
|
+
required: ["magic_link", "ok"],
|
|
56600
|
+
type: "object"
|
|
56601
|
+
}
|
|
56602
|
+
}
|
|
56603
|
+
},
|
|
56604
|
+
description: "OK"
|
|
56605
|
+
},
|
|
56606
|
+
400: { description: "Bad Request" },
|
|
56607
|
+
401: { description: "Unauthorized" }
|
|
56608
|
+
},
|
|
56609
|
+
security: [
|
|
56610
|
+
{ pat_with_workspace: [] },
|
|
56611
|
+
{ console_session_with_workspace: [] },
|
|
56612
|
+
{ api_key: [] }
|
|
56613
|
+
],
|
|
56614
|
+
summary: "/seam/customer/v1/customers/open_portal",
|
|
56615
|
+
tags: [],
|
|
56616
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "customers"],
|
|
56617
|
+
"x-fern-sdk-method-name": "open_portal",
|
|
56618
|
+
"x-fern-sdk-return-value": "magic_link",
|
|
56619
|
+
"x-response-key": "magic_link",
|
|
56620
|
+
"x-title": "Open Customer Portal",
|
|
56621
|
+
"x-undocumented": "Internal endpoint for Console."
|
|
56622
|
+
}
|
|
56623
|
+
},
|
|
56570
56624
|
"/seam/customer/v1/events/list": {
|
|
56571
56625
|
get: {
|
|
56572
56626
|
description: "Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.",
|