@seamapi/types 1.622.0 → 1.623.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 +6 -52
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +10 -87
- package/dist/index.cjs +6 -52
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +6 -71
- package/lib/seam/connect/openapi.js +6 -52
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -16
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +6 -55
- package/src/lib/seam/connect/route-types.ts +4 -16
package/dist/connect.cjs
CHANGED
|
@@ -54164,14 +54164,18 @@ var openapi_default = {
|
|
|
54164
54164
|
{
|
|
54165
54165
|
properties: {
|
|
54166
54166
|
access_token: { minLength: 1, type: "string" },
|
|
54167
|
-
client: {
|
|
54167
|
+
client: {
|
|
54168
|
+
default: "seam",
|
|
54169
|
+
minLength: 1,
|
|
54170
|
+
type: "string"
|
|
54171
|
+
},
|
|
54168
54172
|
client_token: { minLength: 1, type: "string" },
|
|
54173
|
+
enterprise_id: { format: "uuid", type: "string" },
|
|
54169
54174
|
enterprise_ids: {
|
|
54170
54175
|
items: { format: "uuid", type: "string" },
|
|
54171
54176
|
type: "array"
|
|
54172
54177
|
}
|
|
54173
54178
|
},
|
|
54174
|
-
required: ["client_token", "access_token", "client"],
|
|
54175
54179
|
type: "object"
|
|
54176
54180
|
},
|
|
54177
54181
|
{ properties: {}, type: "object" }
|
|
@@ -56561,56 +56565,6 @@ var openapi_default = {
|
|
|
56561
56565
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
56562
56566
|
}
|
|
56563
56567
|
},
|
|
56564
|
-
"/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]": {
|
|
56565
|
-
post: {
|
|
56566
|
-
description: "Receives webhook events from external connector APIs and processes them into partner resources.",
|
|
56567
|
-
operationId: "seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost",
|
|
56568
|
-
requestBody: {
|
|
56569
|
-
content: {
|
|
56570
|
-
"application/json": { schema: { properties: {}, type: "object" } }
|
|
56571
|
-
}
|
|
56572
|
-
},
|
|
56573
|
-
responses: {
|
|
56574
|
-
200: {
|
|
56575
|
-
content: {
|
|
56576
|
-
"application/json": {
|
|
56577
|
-
schema: {
|
|
56578
|
-
properties: {
|
|
56579
|
-
error: { type: "string" },
|
|
56580
|
-
ok: { type: "boolean" },
|
|
56581
|
-
processed_events: { format: "float", type: "number" },
|
|
56582
|
-
success: { type: "boolean" }
|
|
56583
|
-
},
|
|
56584
|
-
required: ["success", "processed_events", "ok"],
|
|
56585
|
-
type: "object"
|
|
56586
|
-
}
|
|
56587
|
-
}
|
|
56588
|
-
},
|
|
56589
|
-
description: "OK"
|
|
56590
|
-
},
|
|
56591
|
-
400: { description: "Bad Request" },
|
|
56592
|
-
401: { description: "Unauthorized" }
|
|
56593
|
-
},
|
|
56594
|
-
security: [
|
|
56595
|
-
{ pat_with_workspace: [] },
|
|
56596
|
-
{ console_session_with_workspace: [] },
|
|
56597
|
-
{ api_key: [] }
|
|
56598
|
-
],
|
|
56599
|
-
summary: "/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]",
|
|
56600
|
-
tags: ["/webhooks"],
|
|
56601
|
-
"x-fern-sdk-group-name": [
|
|
56602
|
-
"seam",
|
|
56603
|
-
"customer",
|
|
56604
|
-
"v1",
|
|
56605
|
-
"webhooks",
|
|
56606
|
-
"connectors",
|
|
56607
|
-
"[workspace_id]"
|
|
56608
|
-
],
|
|
56609
|
-
"x-fern-sdk-method-name": "by_connector_id",
|
|
56610
|
-
"x-response-key": null,
|
|
56611
|
-
"x-title": "Connector Webhook Endpoint"
|
|
56612
|
-
}
|
|
56613
|
-
},
|
|
56614
56568
|
"/seam/instant_key/v1/client_sessions/exchange_short_code": {
|
|
56615
56569
|
post: {
|
|
56616
56570
|
description: "Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.",
|