chatbase 0.1.0 → 0.2.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/README.md +167 -40
- package/dist/base/body-input.js +2 -2
- package/dist/client/pairing.js +1 -2
- package/dist/commands/auth/login.js +5 -2
- package/dist/commands/auth/logout.js +4 -2
- package/dist/commands/auth/status.js +4 -2
- package/dist/commands/conversations/tool-result.js +74 -0
- package/dist/commands/whatsapp/send-template.js +94 -0
- package/dist/commands/whatsapp/templates.js +55 -0
- package/oclif.manifest.json +421 -105
- package/package.json +5 -1
- package/spec/openapi.json +37 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chatbase",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The official command-line interface for the Chatbase API v2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"spec:generate": "openapi-typescript spec/openapi.json -o src/generated/api.d.ts",
|
|
32
32
|
"spec:refresh": "bash scripts/refresh-spec.sh",
|
|
33
33
|
"spec:check": "bash scripts/spec-check.sh",
|
|
34
|
+
"spec:drift": "bash scripts/spec-drift.sh",
|
|
34
35
|
"prepack": "npm run build && oclif manifest"
|
|
35
36
|
},
|
|
36
37
|
"oclif": {
|
|
@@ -72,6 +73,9 @@
|
|
|
72
73
|
"helpdesk": {
|
|
73
74
|
"description": "Look up helpdesk teams and ticket statuses"
|
|
74
75
|
},
|
|
76
|
+
"whatsapp": {
|
|
77
|
+
"description": "List WhatsApp templates and send template messages"
|
|
78
|
+
},
|
|
75
79
|
"config": {
|
|
76
80
|
"description": "Manage CLI configuration (agent, timeout)"
|
|
77
81
|
}
|
package/spec/openapi.json
CHANGED
|
@@ -405,6 +405,24 @@
|
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
]
|
|
408
|
+
},
|
|
409
|
+
"search": {
|
|
410
|
+
"anyOf": [
|
|
411
|
+
{
|
|
412
|
+
"type": "string"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"type": "object",
|
|
416
|
+
"properties": {
|
|
417
|
+
"chat": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"voice": {
|
|
421
|
+
"type": "string"
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
]
|
|
408
426
|
}
|
|
409
427
|
},
|
|
410
428
|
"description": "Per-channel instruction overrides"
|
|
@@ -1763,6 +1781,24 @@
|
|
|
1763
1781
|
}
|
|
1764
1782
|
}
|
|
1765
1783
|
]
|
|
1784
|
+
},
|
|
1785
|
+
"search": {
|
|
1786
|
+
"anyOf": [
|
|
1787
|
+
{
|
|
1788
|
+
"type": "string"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"type": "object",
|
|
1792
|
+
"properties": {
|
|
1793
|
+
"chat": {
|
|
1794
|
+
"type": "string"
|
|
1795
|
+
},
|
|
1796
|
+
"voice": {
|
|
1797
|
+
"type": "string"
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
]
|
|
1766
1802
|
}
|
|
1767
1803
|
},
|
|
1768
1804
|
"description": "Per-channel instruction overrides"
|
|
@@ -3314,6 +3350,7 @@
|
|
|
3314
3350
|
"Qna preview",
|
|
3315
3351
|
"Widget or Iframe",
|
|
3316
3352
|
"Center stage",
|
|
3353
|
+
"Search",
|
|
3317
3354
|
"Iframe",
|
|
3318
3355
|
"Email",
|
|
3319
3356
|
"Agent page",
|