@openpets/quo 1.0.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/.env.example +7 -0
- package/CHANGELOG.md +5 -0
- package/README.md +50 -0
- package/commands.json +1096 -0
- package/index.ts +72 -0
- package/openapi-client.ts +187 -0
- package/openapi-tools.ts +2079 -0
- package/package.json +168 -0
package/package.json
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://pets.studio/config.json",
|
|
3
|
+
"name": "@openpets/quo",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"petStatus": {
|
|
9
|
+
"state": "incomplete"
|
|
10
|
+
},
|
|
11
|
+
"title": "Quo",
|
|
12
|
+
"subtitle": "Manage Quo calls, contacts, messages, users, phone numbers, and webhooks",
|
|
13
|
+
"description": "OpenPets plugin for the Quo REST API, generated from Quo's official OpenAPI specification.",
|
|
14
|
+
"homepage": "https://www.quo.com/docs/mdx/api-reference/introduction",
|
|
15
|
+
"categories": [
|
|
16
|
+
"communications",
|
|
17
|
+
"productivity"
|
|
18
|
+
],
|
|
19
|
+
"main": "index.ts",
|
|
20
|
+
"types": "index.ts",
|
|
21
|
+
"keywords": [
|
|
22
|
+
"opencode",
|
|
23
|
+
"openpets",
|
|
24
|
+
"plugin",
|
|
25
|
+
"quo",
|
|
26
|
+
"openphone",
|
|
27
|
+
"phone",
|
|
28
|
+
"messaging",
|
|
29
|
+
"openapi"
|
|
30
|
+
],
|
|
31
|
+
"envVariables": {
|
|
32
|
+
"required": [
|
|
33
|
+
{
|
|
34
|
+
"name": "QUO_API_KEY",
|
|
35
|
+
"description": "Quo API key. Send the raw key in the Authorization header; do not prefix it with Bearer.",
|
|
36
|
+
"provider": "Quo",
|
|
37
|
+
"providerId": "quo",
|
|
38
|
+
"priority": 1
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"optional": [
|
|
42
|
+
{
|
|
43
|
+
"name": "QUO_HOST",
|
|
44
|
+
"description": "Optional Quo API host override. Defaults to https://api.openphone.com.",
|
|
45
|
+
"provider": "Quo",
|
|
46
|
+
"providerId": "quo",
|
|
47
|
+
"priority": 10
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"providers": [
|
|
52
|
+
{
|
|
53
|
+
"id": "quo",
|
|
54
|
+
"name": "Quo",
|
|
55
|
+
"credentialsUrl": "https://my.quo.com/settings/api"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"queries": [
|
|
59
|
+
"test quo connection",
|
|
60
|
+
"list my Quo phone numbers",
|
|
61
|
+
"list recent Quo contacts",
|
|
62
|
+
"show recent conversations for a Quo phone number",
|
|
63
|
+
"send a Quo text message to a customer"
|
|
64
|
+
],
|
|
65
|
+
"scenarios": {
|
|
66
|
+
"connection-and-directory": [
|
|
67
|
+
"test quo connection",
|
|
68
|
+
"list Quo phone numbers",
|
|
69
|
+
"list Quo users"
|
|
70
|
+
],
|
|
71
|
+
"contact-lookup-workflow": [
|
|
72
|
+
"list recent Quo contacts",
|
|
73
|
+
"get details for the first contact returned"
|
|
74
|
+
],
|
|
75
|
+
"conversation-review": [
|
|
76
|
+
"list recent conversations for a Quo phone number",
|
|
77
|
+
"list messages for the first conversation participant"
|
|
78
|
+
],
|
|
79
|
+
"webhook-management": [
|
|
80
|
+
"list Quo webhooks",
|
|
81
|
+
"get details for a selected webhook"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"faq": [
|
|
85
|
+
{
|
|
86
|
+
"question": "How do I get a Quo API key?",
|
|
87
|
+
"answer": "Log in to Quo as a workspace owner or admin, open workspace settings, and generate an API key from the API tab."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"question": "Should QUO_API_KEY include Bearer?",
|
|
91
|
+
"answer": "No. Quo expects the raw API key in the Authorization header without a Bearer prefix."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"question": "Why are some generated tools secondary?",
|
|
95
|
+
"answer": "Secondary labels come from the OpenAPI generator's endpoint grouping, but the Quo pet loads the full generated tool surface by default once QUO_API_KEY is configured."
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"scripts": {
|
|
99
|
+
"build": "pets build",
|
|
100
|
+
"build:tsc": "tsc",
|
|
101
|
+
"quickstart": "pets tools . --static",
|
|
102
|
+
"test:get-call-recordings-v1": "pets exec quo-get-call-recordings-v1 --plugin ./index.ts --args '{}' --json",
|
|
103
|
+
"test:list-calls-v1": "pets exec quo-list-calls-v1 --plugin ./index.ts --args '{}' --json",
|
|
104
|
+
"test:get-call-by-id-v1": "pets exec quo-get-call-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
105
|
+
"test:get-call-summary-v1": "pets exec quo-get-call-summary-v1 --plugin ./index.ts --args '{}' --json",
|
|
106
|
+
"test:get-call-transcript-v1": "pets exec quo-get-call-transcript-v1 --plugin ./index.ts --args '{}' --json",
|
|
107
|
+
"test:get-call-voicemails-v1": "pets exec quo-get-call-voicemails-v1 --plugin ./index.ts --args '{}' --json",
|
|
108
|
+
"test:get-contact-custom-fields-v1": "pets exec quo-get-contact-custom-fields-v1 --plugin ./index.ts --args '{}' --json",
|
|
109
|
+
"test:list-contacts-v1": "pets exec quo-list-contacts-v1 --plugin ./index.ts --args '{}' --json",
|
|
110
|
+
"test:create-contact-v1": "pets exec quo-create-contact-v1 --plugin ./index.ts --args '{}' --json",
|
|
111
|
+
"test:get-contact-by-id-v1": "pets exec quo-get-contact-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
112
|
+
"test:update-contact-by-id-v1": "pets exec quo-update-contact-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
113
|
+
"test:delete-contact-v1": "pets exec quo-delete-contact-v1 --plugin ./index.ts --args '{}' --json",
|
|
114
|
+
"test:list-conversations-v1": "pets exec quo-list-conversations-v1 --plugin ./index.ts --args '{}' --json",
|
|
115
|
+
"test:list-messages-v1": "pets exec quo-list-messages-v1 --plugin ./index.ts --args '{}' --json",
|
|
116
|
+
"test:send-message-v1": "pets exec quo-send-message-v1 --plugin ./index.ts --args '{}' --json",
|
|
117
|
+
"test:get-message-by-id-v1": "pets exec quo-get-message-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
118
|
+
"test:list-phone-numbers-v1": "pets exec quo-list-phone-numbers-v1 --plugin ./index.ts --args '{}' --json",
|
|
119
|
+
"test:get-phone-number-by-id-v1": "pets exec quo-get-phone-number-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
120
|
+
"test:list-users-v1": "pets exec quo-list-users-v1 --plugin ./index.ts --args '{}' --json",
|
|
121
|
+
"test:get-user-by-id-v1": "pets exec quo-get-user-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
122
|
+
"test:list-webhooks-v1": "pets exec quo-list-webhooks-v1 --plugin ./index.ts --args '{}' --json",
|
|
123
|
+
"test:get-webhook-by-id-v1": "pets exec quo-get-webhook-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
124
|
+
"test:delete-webhook-by-id-v1": "pets exec quo-delete-webhook-by-id-v1 --plugin ./index.ts --args '{}' --json",
|
|
125
|
+
"test:create-message-webhook-v1": "pets exec quo-create-message-webhook-v1 --plugin ./index.ts --args '{}' --json",
|
|
126
|
+
"test:create-call-webhook-v1": "pets exec quo-create-call-webhook-v1 --plugin ./index.ts --args '{}' --json",
|
|
127
|
+
"test:create-call-summary-webhook-v1": "pets exec quo-create-call-summary-webhook-v1 --plugin ./index.ts --args '{}' --json",
|
|
128
|
+
"test:create-call-transcript-webhook-v1": "pets exec quo-create-call-transcript-webhook-v1 --plugin ./index.ts --args '{}' --json",
|
|
129
|
+
"test:test-connection": "pets exec quo-test-connection --plugin ./index.ts --args '{}' --json",
|
|
130
|
+
"test:all": "echo \"Run individual test scripts to test specific tools\""
|
|
131
|
+
},
|
|
132
|
+
"dependencies": {
|
|
133
|
+
"openpets-sdk": "^1.0.0",
|
|
134
|
+
"dotenv": "^16.0.0"
|
|
135
|
+
},
|
|
136
|
+
"openapiSpec": {
|
|
137
|
+
"url": "https://openphone-public-api-prod.s3.us-west-2.amazonaws.com/public/openphone-public-api-v1-prod.json",
|
|
138
|
+
"baseUrl": "https://api.openphone.com",
|
|
139
|
+
"authEnvVar": "QUO_API_KEY",
|
|
140
|
+
"authType": "apiKey",
|
|
141
|
+
"apiKeyName": "Authorization",
|
|
142
|
+
"apiKeyValuePrefix": "",
|
|
143
|
+
"responseFormat": "toon"
|
|
144
|
+
},
|
|
145
|
+
"repository": {
|
|
146
|
+
"type": "git",
|
|
147
|
+
"url": "https://github.com/raggle-ai/pets/pets/quo"
|
|
148
|
+
},
|
|
149
|
+
"files": [
|
|
150
|
+
"index.ts",
|
|
151
|
+
"openapi-client.ts",
|
|
152
|
+
"openapi-tools.ts",
|
|
153
|
+
"commands.json",
|
|
154
|
+
"README.md",
|
|
155
|
+
"CHANGELOG.md",
|
|
156
|
+
".env.example",
|
|
157
|
+
"prompts/**/*",
|
|
158
|
+
"index.js",
|
|
159
|
+
"client.ts",
|
|
160
|
+
"client.js",
|
|
161
|
+
"openapi-client.js",
|
|
162
|
+
"openapi-tools.js",
|
|
163
|
+
"*.d.ts",
|
|
164
|
+
"lib/**/*",
|
|
165
|
+
"src/**/*",
|
|
166
|
+
"public/**/*"
|
|
167
|
+
]
|
|
168
|
+
}
|