@seamapi/types 1.350.0 → 1.351.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 +130 -0
- 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 +60 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +55 -0
- package/src/lib/seam/connect/route-types.ts +64 -0
package/dist/connect.cjs
CHANGED
|
@@ -25659,6 +25659,60 @@ var openapi_default = {
|
|
|
25659
25659
|
"x-title": "Deactivate a Phone"
|
|
25660
25660
|
}
|
|
25661
25661
|
},
|
|
25662
|
+
"/phones/get": {
|
|
25663
|
+
post: {
|
|
25664
|
+
description: "Returns a single phone entry matching the provided `device_id`.",
|
|
25665
|
+
operationId: "phonesGetPost",
|
|
25666
|
+
requestBody: {
|
|
25667
|
+
content: {
|
|
25668
|
+
"application/json": {
|
|
25669
|
+
schema: {
|
|
25670
|
+
properties: {
|
|
25671
|
+
device_id: {
|
|
25672
|
+
description: "Device ID of the desired phone.",
|
|
25673
|
+
format: "uuid",
|
|
25674
|
+
type: "string"
|
|
25675
|
+
}
|
|
25676
|
+
},
|
|
25677
|
+
required: ["device_id"],
|
|
25678
|
+
type: "object"
|
|
25679
|
+
}
|
|
25680
|
+
}
|
|
25681
|
+
}
|
|
25682
|
+
},
|
|
25683
|
+
responses: {
|
|
25684
|
+
200: {
|
|
25685
|
+
content: {
|
|
25686
|
+
"application/json": {
|
|
25687
|
+
schema: {
|
|
25688
|
+
properties: {
|
|
25689
|
+
ok: { type: "boolean" },
|
|
25690
|
+
phone: { $ref: "#/components/schemas/phone" }
|
|
25691
|
+
},
|
|
25692
|
+
required: ["phone", "ok"],
|
|
25693
|
+
type: "object"
|
|
25694
|
+
}
|
|
25695
|
+
}
|
|
25696
|
+
},
|
|
25697
|
+
description: "OK"
|
|
25698
|
+
},
|
|
25699
|
+
400: { description: "Bad Request" },
|
|
25700
|
+
401: { description: "Unauthorized" }
|
|
25701
|
+
},
|
|
25702
|
+
security: [
|
|
25703
|
+
{ api_key: [] },
|
|
25704
|
+
{ pat_with_workspace: [] },
|
|
25705
|
+
{ console_session_with_workspace: [] }
|
|
25706
|
+
],
|
|
25707
|
+
summary: "/phones/get",
|
|
25708
|
+
tags: ["/phones"],
|
|
25709
|
+
"x-fern-sdk-group-name": ["phones"],
|
|
25710
|
+
"x-fern-sdk-method-name": "get",
|
|
25711
|
+
"x-fern-sdk-return-value": "phone",
|
|
25712
|
+
"x-response-key": "phone",
|
|
25713
|
+
"x-title": "Get Phone"
|
|
25714
|
+
}
|
|
25715
|
+
},
|
|
25662
25716
|
"/phones/list": {
|
|
25663
25717
|
post: {
|
|
25664
25718
|
description: "Returns a list of all phones. To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.",
|