@bluehive/sdk 0.1.0-alpha.2 → 0.1.0-alpha.20
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/CHANGELOG.md +312 -0
- package/README.md +2 -6
- package/client.d.mts +19 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +19 -4
- package/client.d.ts.map +1 -1
- package/client.js +29 -11
- package/client.js.map +1 -1
- package/client.mjs +29 -11
- package/client.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/values.js +3 -3
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +3 -3
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +4 -5
- package/resources/employees.d.mts +463 -0
- package/resources/employees.d.mts.map +1 -0
- package/resources/employees.d.ts +463 -0
- package/resources/employees.d.ts.map +1 -0
- package/resources/employees.js +54 -0
- package/resources/employees.js.map +1 -0
- package/resources/employees.mjs +50 -0
- package/resources/employees.mjs.map +1 -0
- package/resources/employers/employers.d.mts +88 -0
- package/resources/employers/employers.d.mts.map +1 -0
- package/resources/employers/employers.d.ts +88 -0
- package/resources/employers/employers.d.ts.map +1 -0
- package/resources/employers/employers.js +41 -0
- package/resources/employers/employers.js.map +1 -0
- package/resources/employers/employers.mjs +36 -0
- package/resources/employers/employers.mjs.map +1 -0
- package/resources/employers/index.d.mts +3 -0
- package/resources/employers/index.d.mts.map +1 -0
- package/resources/employers/index.d.ts +3 -0
- package/resources/employers/index.d.ts.map +1 -0
- package/resources/employers/index.js +9 -0
- package/resources/employers/index.js.map +1 -0
- package/resources/employers/index.mjs +4 -0
- package/resources/employers/index.mjs.map +1 -0
- package/resources/employers/service-bundles.d.mts +146 -0
- package/resources/employers/service-bundles.d.mts.map +1 -0
- package/resources/employers/service-bundles.d.ts +146 -0
- package/resources/employers/service-bundles.d.ts.map +1 -0
- package/resources/employers/service-bundles.js +47 -0
- package/resources/employers/service-bundles.js.map +1 -0
- package/resources/employers/service-bundles.mjs +43 -0
- package/resources/employers/service-bundles.mjs.map +1 -0
- package/resources/employers.d.mts +2 -0
- package/resources/employers.d.mts.map +1 -0
- package/resources/employers.d.ts +2 -0
- package/resources/employers.d.ts.map +1 -0
- package/resources/employers.js +6 -0
- package/resources/employers.js.map +1 -0
- package/resources/employers.mjs +3 -0
- package/resources/employers.mjs.map +1 -0
- package/resources/fax.d.mts +3 -1
- package/resources/fax.d.mts.map +1 -1
- package/resources/fax.d.ts +3 -1
- package/resources/fax.d.ts.map +1 -1
- package/resources/hl7.d.mts +46 -0
- package/resources/hl7.d.mts.map +1 -0
- package/resources/hl7.d.ts +46 -0
- package/resources/hl7.d.ts.map +1 -0
- package/resources/hl7.js +15 -0
- package/resources/hl7.js.map +1 -0
- package/resources/hl7.mjs +11 -0
- package/resources/hl7.mjs.map +1 -0
- package/resources/index.d.mts +5 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/integrations.d.mts +42 -0
- package/resources/integrations.d.mts.map +1 -0
- package/resources/integrations.d.ts +42 -0
- package/resources/integrations.d.ts.map +1 -0
- package/resources/integrations.js +33 -0
- package/resources/integrations.js.map +1 -0
- package/resources/integrations.mjs +29 -0
- package/resources/integrations.mjs.map +1 -0
- package/resources/orders.d.mts +604 -0
- package/resources/orders.d.mts.map +1 -0
- package/resources/orders.d.ts +604 -0
- package/resources/orders.d.ts.map +1 -0
- package/resources/orders.js +71 -0
- package/resources/orders.js.map +1 -0
- package/resources/orders.mjs +67 -0
- package/resources/orders.mjs.map +1 -0
- package/src/client.ts +136 -14
- package/src/internal/polyfill/file.node.d.ts +14 -0
- package/src/internal/polyfill/file.node.mjs +9 -0
- package/src/internal/to-file.ts +1 -1
- package/src/internal/utils/values.ts +3 -3
- package/src/resources/employees.ts +634 -0
- package/src/resources/employers/employers.ts +160 -0
- package/src/resources/employers/index.ts +21 -0
- package/src/resources/employers/service-bundles.ts +264 -0
- package/src/resources/employers.ts +3 -0
- package/src/resources/fax.ts +1 -1
- package/src/resources/hl7.ts +60 -0
- package/src/resources/index.ts +49 -0
- package/src/resources/integrations.ts +72 -0
- package/src/resources/orders.ts +944 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,317 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.20 (2025-12-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.19...v0.1.0-alpha.20](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.19...v0.1.0-alpha.20)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **mcp:** add typescript check to code execution tool ([b52a18c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b52a18c15d8b18dd5f0ab972902ce9872b4f736a))
|
|
10
|
+
* **mcp:** handle code mode calls in the Stainless API ([1721be3](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/1721be3e9c7887b65dfb1f67ce7b829f4aa6ef16))
|
|
11
|
+
* **mcp:** return logs on code tool errors ([0a503ab](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/0a503ab6562b27e48e84717c8ce29accee22ccc4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **mcp:** return correct lines on typescript errors ([7fef38c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7fef38c8fc822904f8e0116a4d8c21f58d077e56))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
|
|
21
|
+
* **internal:** upgrade eslint ([fbe7ad8](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/fbe7ad82994decacdccb5ed9360772202da78f33))
|
|
22
|
+
* use latest @modelcontextprotocol/sdk ([7a0d906](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7a0d906e850ed7aaee3de0057e9d8812da9756b4))
|
|
23
|
+
|
|
24
|
+
## 0.1.0-alpha.19 (2025-12-02)
|
|
25
|
+
|
|
26
|
+
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **mcp:** add detail field to docs search tool ([6788431](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/678843190a3101c36ca3bceb82e6228eb340befb))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
* **mcp:** return tool execution error on api error ([f37a851](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/f37a851e0f1b6d2215e0c371b304fdf7d001f552))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Chores
|
|
39
|
+
|
|
40
|
+
* **client:** fix logger property type ([2c55e73](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/2c55e736b04a443e10fe14a1df3815087d64ebc2))
|
|
41
|
+
|
|
42
|
+
## 0.1.0-alpha.18 (2025-11-17)
|
|
43
|
+
|
|
44
|
+
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **api:** api update ([ece869d](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ece869dba63349da2c6385f2422c2379d88fc6fb))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Chores
|
|
52
|
+
|
|
53
|
+
* **mcp:** upgrade jq-web ([60add0f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/60add0fb179cd7472e1e7b324577a557371548c5))
|
|
54
|
+
|
|
55
|
+
## 0.1.0-alpha.17 (2025-11-13)
|
|
56
|
+
|
|
57
|
+
Full Changelog: [v0.1.0-alpha.16...v0.1.0-alpha.17](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.16...v0.1.0-alpha.17)
|
|
58
|
+
|
|
59
|
+
### Features
|
|
60
|
+
|
|
61
|
+
* **mcp:** enable optional code execution tool on http mcp servers ([deb0efc](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/deb0efc64db85306bd6cb7f11f7a41b4bd2c12c0))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
* **mcp:** return tool execution error on jq failure ([fd1479f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/fd1479f36e88926874ac5385b1442a79ef6ce37b))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Chores
|
|
70
|
+
|
|
71
|
+
* **internal:** codegen related update ([a2aafe0](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/a2aafe0b5dfb6f3b539aa09914fcee4a4bb723f2))
|
|
72
|
+
* **internal:** codegen related update ([4d694ff](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/4d694ff85c3a3381613c1b69b5acdc21f5111314))
|
|
73
|
+
* **internal:** grammar fix (it's -> its) ([7bdc83e](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7bdc83e830cdfb368a78f8b36979290c89db034f))
|
|
74
|
+
* mcp code tool explicit error message when missing a run function ([3811039](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/3811039eeefb58f27d098f34a67e4b003ff99482))
|
|
75
|
+
* **mcp:** add friendlier MCP code tool errors on incorrect method invocations ([849f8b5](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/849f8b53839f4f2c10c47f316f3659938dbad26f))
|
|
76
|
+
* **mcp:** add line numbers to code tool errors ([7de94a8](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7de94a8633782b1f4ec7f8bdaf73b217e3ce54e1))
|
|
77
|
+
* **mcp:** clarify http auth error ([ca1becd](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ca1becd19943e009a8396cf80247648656f8c416))
|
|
78
|
+
* use structured error when code execution tool errors ([997c7a4](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/997c7a4417e44af6be10f56e2bfcda6eef632069))
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Documentation
|
|
82
|
+
|
|
83
|
+
* **mcp:** add a README button for one-click add to Cursor ([e47da4c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e47da4ce37d019b8e7700b9f68fa86a95eaee218))
|
|
84
|
+
* **mcp:** add a README link to add server to VS Code or Claude Code ([b603ae4](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b603ae4bf2e3886d09af2923926b169577d73305))
|
|
85
|
+
|
|
86
|
+
## 0.1.0-alpha.16 (2025-10-31)
|
|
87
|
+
|
|
88
|
+
Full Changelog: [v0.1.0-alpha.15...v0.1.0-alpha.16](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.15...v0.1.0-alpha.16)
|
|
89
|
+
|
|
90
|
+
### Bug Fixes
|
|
91
|
+
|
|
92
|
+
* **mcpb:** pin @anthropic-ai/mcpb version ([e2eb5aa](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e2eb5aa4ded08b66fd9abcc660bce71f494b283b))
|
|
93
|
+
|
|
94
|
+
## 0.1.0-alpha.15 (2025-10-13)
|
|
95
|
+
|
|
96
|
+
Full Changelog: [v0.1.0-alpha.14...v0.1.0-alpha.15](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.14...v0.1.0-alpha.15)
|
|
97
|
+
|
|
98
|
+
### Features
|
|
99
|
+
|
|
100
|
+
* **api:** api update ([557ac05](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/557ac056a50af7eade322b01ea42ca947243b58a))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
### Chores
|
|
104
|
+
|
|
105
|
+
* extract some types in mcp docs ([c7304ab](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/c7304abee172407052e746ba93e36978c6b5144d))
|
|
106
|
+
* **internal:** use npm pack for build uploads ([9b6a029](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/9b6a02941fbb000f4f979c9659b5c2df2b8a6e4d))
|
|
107
|
+
|
|
108
|
+
## 0.1.0-alpha.14 (2025-10-05)
|
|
109
|
+
|
|
110
|
+
Full Changelog: [v0.1.0-alpha.13...v0.1.0-alpha.14](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.13...v0.1.0-alpha.14)
|
|
111
|
+
|
|
112
|
+
### Features
|
|
113
|
+
|
|
114
|
+
* **api:** api update ([20626f5](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/20626f5abdeb69fa8058a5fa9338b44765de4284))
|
|
115
|
+
|
|
116
|
+
## 0.1.0-alpha.13 (2025-10-05)
|
|
117
|
+
|
|
118
|
+
Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
|
|
119
|
+
|
|
120
|
+
### Features
|
|
121
|
+
|
|
122
|
+
* **api:** manual updates ([e3cb85d](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e3cb85dc79de83c30187fbf00286e5b466b5043c))
|
|
123
|
+
* **api:** manual updates ([a916d02](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/a916d020d16e3e035d1b5736276ef9b0712f951a))
|
|
124
|
+
|
|
125
|
+
## 0.1.0-alpha.12 (2025-10-05)
|
|
126
|
+
|
|
127
|
+
Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
|
|
128
|
+
|
|
129
|
+
### Features
|
|
130
|
+
|
|
131
|
+
* **api:** api update ([9e89f61](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/9e89f61c02193c417bc5087526c0ae42aa240eea))
|
|
132
|
+
|
|
133
|
+
## 0.1.0-alpha.11 (2025-10-05)
|
|
134
|
+
|
|
135
|
+
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
|
|
136
|
+
|
|
137
|
+
### Features
|
|
138
|
+
|
|
139
|
+
* **api:** api update ([68beba6](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/68beba6724f1bd680ea51b1290fe104267cfa073))
|
|
140
|
+
* **api:** api update ([d967478](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/d967478c2ce48626a091ae2301946b9b43dd8b01))
|
|
141
|
+
* **api:** api update ([004eb6b](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/004eb6b5f2e99b0aa34e67c4d781847c92beb775))
|
|
142
|
+
* **api:** api update ([46a9435](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/46a9435e6c32e8b7da7e69abc23ae3c4da504c59))
|
|
143
|
+
* **api:** api update ([7694f76](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7694f76df1a124ccb2656e2f7f46fbe652cfa643))
|
|
144
|
+
* **api:** api update ([3379a9c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/3379a9ce233571f26f763fe17fe38d700fd5da4a))
|
|
145
|
+
* **api:** api update ([5e87001](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/5e870017abaf391e03f87b48594aaab35bf79505))
|
|
146
|
+
* **api:** manual updates ([ab2af4f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ab2af4f09a9947d6b3c925f3c38f438263d81d4b))
|
|
147
|
+
* **api:** manual updates ([9d42183](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/9d42183b137af176d615d9121f95abb6851e4b83))
|
|
148
|
+
* **api:** manual updates ([1f2e04b](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/1f2e04b1d9711227deb606d8eb44b4267af7e689))
|
|
149
|
+
* **mcp:** add code execution tool ([0a98b77](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/0a98b77d060d4a95387a36e1ae76c87e643bf328))
|
|
150
|
+
* **mcp:** add docs search tool ([9990f30](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/9990f3056e3510b80ea6c52f002930f64bdd359b))
|
|
151
|
+
* **mcp:** add option for including docs tools ([b72bd09](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b72bd09794f8bd9a1412fd6eec5b9f79342e2b2d))
|
|
152
|
+
* **mcp:** add option to infer mcp client ([ba00fba](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ba00fba96d360c4336a95b449723aaf49923bc03))
|
|
153
|
+
* **mcp:** allow setting logging level ([a2265df](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/a2265df3633ea961e4c7b630698d31086b66c1fb))
|
|
154
|
+
* **mcp:** enable experimental docs search tool ([8febff8](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/8febff89c145ddfc87bb976bb3bd52ddc974aab9))
|
|
155
|
+
* **mcp:** expose client options in `streamableHTTPApp` ([c81e37e](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/c81e37eb86bc5990bebea4c0129d0d1fc6400b95))
|
|
156
|
+
* **mcp:** parse query string as mcp client options in mcp server ([49dd9a2](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/49dd9a2f6c72b9ff8474fd07efaeb17fb812b89d))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
* **ci:** set permissions for DXT publish action ([b048a79](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b048a79db46703f30c2029515d0be6e2a85f2ebd))
|
|
162
|
+
* coerce nullable values to undefined ([2724c3f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/2724c3f239d2acccc6c15fcd84dc1608fb626bc8))
|
|
163
|
+
* **mcp:** fix cli argument parsing logic ([87cc467](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/87cc467e39a3ebbeba487275da28e4226f9fb06e))
|
|
164
|
+
* **mcp:** fix query options parsing ([e7ae2ae](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e7ae2ae351f2249fe13788d32f80006b01f84b49))
|
|
165
|
+
* **mcp:** fix uploading dxt release assets ([49d9272](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/49d92720e511679c835a2e944ba127eb6ade55e5))
|
|
166
|
+
* **mcp:** generate additionalProperties=true for map schemas to avoid validation issues ([c2d88f7](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/c2d88f7d89660c6b56dc42a1baafb18138e1ec3c))
|
|
167
|
+
* **mcp:** resolve a linting issue in server code ([2d576d5](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/2d576d5c7833e609d6907d86f105069a7346ae82))
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Performance Improvements
|
|
171
|
+
|
|
172
|
+
* faster formatting ([38bbca0](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/38bbca09bf51013bd24a90b95f991edbd0ba39c3))
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Chores
|
|
176
|
+
|
|
177
|
+
* add package to package.json ([9120b5a](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/9120b5a0ad5892418aac8cbde1e4786a4af6e023))
|
|
178
|
+
* ci build action ([8391c24](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/8391c246e6477aa596535104424137b7745f4bc9))
|
|
179
|
+
* **client:** qualify global Blob ([fb7f860](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/fb7f8603957fb2faab7c33877a7d87b0b161d508))
|
|
180
|
+
* **codegen:** internal codegen update ([ee7b1c1](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ee7b1c16ccfffbb651cf0cda3409154e3d2c625f))
|
|
181
|
+
* **deps:** update dependency @types/node to v20.17.58 ([e5de0bf](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e5de0bfab1637b2199fbf7623533ad68c850e1a2))
|
|
182
|
+
* do not install brew dependencies in ./scripts/bootstrap by default ([e62b31f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e62b31f6fa56b7c35faeba9af5454d021480c32c))
|
|
183
|
+
* **internal:** codegen related update ([a69186f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/a69186fe9b3db7ad1ee510a9135067444c10ea6b))
|
|
184
|
+
* **internal:** codegen related update ([6aff9d6](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/6aff9d6f81222aebc86e43378cb4bce359710706))
|
|
185
|
+
* **internal:** codegen related update ([f388a3b](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/f388a3b09d17a89347ef5a68e09b396623dccbcd))
|
|
186
|
+
* **internal:** codegen related update ([eb6a62f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/eb6a62fbd1481da8293fe871be791f01d23d4e93))
|
|
187
|
+
* **internal:** codegen related update ([d9c4ded](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/d9c4ded0410f085adcc47f2c4c2a22a35b5ee95e))
|
|
188
|
+
* **internal:** fix incremental formatting in some cases ([ab6822e](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ab6822e438c9f0c3f01dc0c3163c35c130000f69))
|
|
189
|
+
* **internal:** formatting change ([66a2f75](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/66a2f75cda5764d6eec850c7e8287e9e7903663c))
|
|
190
|
+
* **internal:** gitignore .mcpb files ([729f945](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/729f945aa68e3a1ff6fae06bbedadf23a8cf9dfb))
|
|
191
|
+
* **internal:** ignore .eslintcache ([412eb5c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/412eb5cd57161fc78268a44c083d1dfce85096aa))
|
|
192
|
+
* **internal:** make mcp-server publishing public by defaut ([25392d1](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/25392d1143f46d0ff66ad0c43ffc7e2f20139e8f))
|
|
193
|
+
* **internal:** refactor array check ([7fd8194](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7fd8194de68cccce3131d201227b6235fb0a36f5))
|
|
194
|
+
* **internal:** remove .eslintcache ([b5c401c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b5c401c1c349c7c72db736204f106cfc4c5f04fd))
|
|
195
|
+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([015f8d0](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/015f8d099ae31f0d3ab67b4a651a8ba86d11f254))
|
|
196
|
+
* **internal:** update global Error reference ([17928e9](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/17928e9bfc876eb31bb4648eabd5769ac135063a))
|
|
197
|
+
* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([90406fc](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/90406fc3662620e26aac1aae83a4e93f1be3e127))
|
|
198
|
+
* **mcp:** add cors to oauth metadata route ([a860e64](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/a860e646f5fc2900957ed201b2d696d171c395e2))
|
|
199
|
+
* **mcp:** allow pointing `docs_search` tool at other URLs ([d057752](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/d05775290ab2d68e76d94425420353a2d1977618))
|
|
200
|
+
* **mcp:** document remote server in README.md ([b5da081](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b5da081d4b80baa2374a076b0a0ba19ef485778e))
|
|
201
|
+
* **mcp:** minor cleanup of types and package.json ([8714d75](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/8714d75b52c920115659faceafaf297dd129fecc))
|
|
202
|
+
* **mcp:** rename dxt to mcpb ([6ce6f10](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/6ce6f106fbf9e0bfd0a7ebeb313bb61751c3ae43))
|
|
203
|
+
* **mcp:** update package.json ([a0958a6](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/a0958a65e54dc9e108da218fe95fb67f9a2f938b))
|
|
204
|
+
* **mcp:** update README ([4d2fca8](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/4d2fca899fb79ae9e494376963888053239d340e))
|
|
205
|
+
* **mcp:** update types ([7b9ffc1](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7b9ffc178cc527f8de65a84fc0f0c89777a1389e))
|
|
206
|
+
* **mcp:** upload dxt as release asset ([c4b5346](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/c4b53462401fbff6cd9feb9b63e8dae5b1d4040b))
|
|
207
|
+
* update CI script ([4ffb7df](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/4ffb7dfe47810ba88e0da44c2138a71ca75c4edd))
|
|
208
|
+
* update lockfile ([1ea641f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/1ea641f7694630d6a7d8312193491d67d7afac4a))
|
|
209
|
+
|
|
210
|
+
## 0.1.0-alpha.10 (2025-08-13)
|
|
211
|
+
|
|
212
|
+
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
|
|
213
|
+
|
|
214
|
+
### Chores
|
|
215
|
+
|
|
216
|
+
* **internal:** codegen related update ([feb8368](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/feb8368b853f3bdd8f1acd6e5e5638e73e43ea22))
|
|
217
|
+
|
|
218
|
+
## 0.1.0-alpha.9 (2025-08-09)
|
|
219
|
+
|
|
220
|
+
Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
|
|
221
|
+
|
|
222
|
+
### Features
|
|
223
|
+
|
|
224
|
+
* **mcp:** add unix socket option for remote MCP ([198ba33](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/198ba3345858f01ba6124ae88fd02482a89b001c))
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Chores
|
|
228
|
+
|
|
229
|
+
* **internal:** move publish config ([83f2b9b](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/83f2b9bf29ca6e8dfb04e327983e18bb3e021218))
|
|
230
|
+
* **internal:** update comment in script ([5f0f8cc](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/5f0f8ccab9d1e472b42fa9ba3b41fee6a91a187f))
|
|
231
|
+
* **mcp:** refactor streamable http transport ([8af2363](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/8af236318e712af4dad82498d0c74c8d94d85174))
|
|
232
|
+
* update @stainless-api/prism-cli to v5.15.0 ([7798fc6](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/7798fc60e6fcebc39b895a5916dc7a8db58629ec))
|
|
233
|
+
|
|
234
|
+
## 0.1.0-alpha.8 (2025-08-06)
|
|
235
|
+
|
|
236
|
+
Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
|
|
237
|
+
|
|
238
|
+
### Features
|
|
239
|
+
|
|
240
|
+
* **mcp:** add logging when environment variable is set ([f969623](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/f9696233a4a754930a9e187753d647121f70cb31))
|
|
241
|
+
* **mcp:** remote server with passthru auth ([e3311a6](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/e3311a6430f435308387ad4f3ba00df869ffa38c))
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
### Bug Fixes
|
|
245
|
+
|
|
246
|
+
* **mcp:** fix bug in header handling ([2d8dbdc](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/2d8dbdccbc8219ea5d1ce096fad443b97beca4aa))
|
|
247
|
+
|
|
248
|
+
## 0.1.0-alpha.7 (2025-08-01)
|
|
249
|
+
|
|
250
|
+
Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
|
|
251
|
+
|
|
252
|
+
### Bug Fixes
|
|
253
|
+
|
|
254
|
+
* **mcp:** avoid sending `jq_filter` to base API ([bc2970c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/bc2970cc08480b06d08354f0ce627e88483a02a5))
|
|
255
|
+
* **mcp:** reverse validJson capability option and limit scope ([2a7cb12](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/2a7cb12d5058d19bc546b9e3ba010af64f86052f))
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### Chores
|
|
259
|
+
|
|
260
|
+
* **internal:** remove redundant imports config ([cc29a12](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/cc29a12ca1195445a95ec863c638ab51b9a5759b))
|
|
261
|
+
|
|
262
|
+
## 0.1.0-alpha.6 (2025-07-26)
|
|
263
|
+
|
|
264
|
+
Full Changelog: [v0.1.0-alpha.5...v0.1.0-alpha.6](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.5...v0.1.0-alpha.6)
|
|
265
|
+
|
|
266
|
+
### Chores
|
|
267
|
+
|
|
268
|
+
* **internal:** codegen related update ([d996b9d](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/d996b9db6bbb8511ab537e3e7627cdbb54cd8e49))
|
|
269
|
+
|
|
270
|
+
## 0.1.0-alpha.5 (2025-07-18)
|
|
271
|
+
|
|
272
|
+
Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)
|
|
273
|
+
|
|
274
|
+
### Bug Fixes
|
|
275
|
+
|
|
276
|
+
* **mcp:** include required section for top-level properties and support naming transformations ([417581e](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/417581e122ff14031274c07fa35b94654d7d9daf))
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
### Chores
|
|
280
|
+
|
|
281
|
+
* **mcp:** formatting ([ef13e96](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/ef13e96cecc4f3afec481509caf2e6b15346f40e))
|
|
282
|
+
* **ts:** reorder package.json imports ([b05ad5c](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/b05ad5cde7802ad033df6697d498f0d14c589ec1))
|
|
283
|
+
|
|
284
|
+
## 0.1.0-alpha.4 (2025-07-16)
|
|
285
|
+
|
|
286
|
+
Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
|
|
287
|
+
|
|
288
|
+
### Bug Fixes
|
|
289
|
+
|
|
290
|
+
* **mcp:** support jq filtering on cloudflare workers ([aea0d5f](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/aea0d5ff703620b4771a4bf59b74f052f9fd3de1))
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
### Chores
|
|
294
|
+
|
|
295
|
+
* **mcp:** rework imports in tools ([3ff92c6](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/3ff92c62e05ebf18879c5095ad91d9b07fe02adc))
|
|
296
|
+
|
|
297
|
+
## 0.1.0-alpha.3 (2025-07-11)
|
|
298
|
+
|
|
299
|
+
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
|
|
300
|
+
|
|
301
|
+
### Features
|
|
302
|
+
|
|
303
|
+
* **mcp:** support filtering tool results by a jq expression ([74ff417](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/74ff417c46b8e53ec5f40f59b7663e17599c8fa4))
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
### Bug Fixes
|
|
307
|
+
|
|
308
|
+
* **mcp:** relax input type for asTextContextResult ([173687b](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/173687bfb69addb5ee3090b831efe08d3d3a2e45))
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
### Chores
|
|
312
|
+
|
|
313
|
+
* make some internal functions async ([1316105](https://github.com/bluehive-health/bluehive-sdk-typescript/commit/1316105e21109fa0c467b992e1b8ed2f320a6f4e))
|
|
314
|
+
|
|
3
315
|
## 0.1.0-alpha.2 (2025-07-06)
|
|
4
316
|
|
|
5
317
|
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/bluehive-health/bluehive-sdk-typescript/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
|
package/README.md
CHANGED
|
@@ -22,9 +22,7 @@ The full API of this library can be found in [api.md](api.md).
|
|
|
22
22
|
```js
|
|
23
23
|
import BlueHive from '@bluehive/sdk';
|
|
24
24
|
|
|
25
|
-
const client = new BlueHive(
|
|
26
|
-
apiKey: process.env['BLUEHIVE_API_KEY'], // This is the default and can be omitted
|
|
27
|
-
});
|
|
25
|
+
const client = new BlueHive();
|
|
28
26
|
|
|
29
27
|
const response = await client.health.check();
|
|
30
28
|
|
|
@@ -39,9 +37,7 @@ This library includes TypeScript definitions for all request params and response
|
|
|
39
37
|
```ts
|
|
40
38
|
import BlueHive from '@bluehive/sdk';
|
|
41
39
|
|
|
42
|
-
const client = new BlueHive(
|
|
43
|
-
apiKey: process.env['BLUEHIVE_API_KEY'], // This is the default and can be omitted
|
|
44
|
-
});
|
|
40
|
+
const client = new BlueHive();
|
|
45
41
|
|
|
46
42
|
const response: BlueHive.HealthCheckResponse = await client.health.check();
|
|
47
43
|
```
|
package/client.d.mts
CHANGED
|
@@ -7,10 +7,15 @@ import * as Uploads from "./core/uploads.mjs";
|
|
|
7
7
|
import * as API from "./resources/index.mjs";
|
|
8
8
|
import { APIPromise } from "./core/api-promise.mjs";
|
|
9
9
|
import { Database, DatabaseCheckHealthResponse } from "./resources/database.mjs";
|
|
10
|
+
import { EmployeeCreateParams, EmployeeCreateResponse, EmployeeDeleteResponse, EmployeeLinkUserParams, EmployeeLinkUserResponse, EmployeeListParams, EmployeeListResponse, EmployeeRetrieveResponse, EmployeeUnlinkUserParams, EmployeeUnlinkUserResponse, EmployeeUpdateParams, EmployeeUpdateResponse, Employees } from "./resources/employees.mjs";
|
|
10
11
|
import { Fax, FaxListProvidersResponse, FaxRetrieveStatusResponse, FaxSendParams, FaxSendResponse } from "./resources/fax.mjs";
|
|
11
12
|
import { Health, HealthCheckResponse } from "./resources/health.mjs";
|
|
13
|
+
import { Hl7, Hl7SendResultsParams, Hl7SendResultsResponse } from "./resources/hl7.mjs";
|
|
14
|
+
import { IntegrationCheckActiveParams, IntegrationCheckActiveResponse, IntegrationListParams, IntegrationListResponse, Integrations } from "./resources/integrations.mjs";
|
|
15
|
+
import { OrderCreateParams, OrderCreateResponse, OrderRetrieveResponse, OrderRetrieveResultsParams, OrderRetrieveResultsResponse, OrderScheduleAppointmentParams, OrderScheduleAppointmentResponse, OrderSendForEmployeeParams, OrderSendForEmployeeResponse, OrderUpdateParams, OrderUpdateResponse, OrderUpdateStatusParams, OrderUpdateStatusResponse, OrderUploadResultsParams, OrderUploadResultsResponse, Orders } from "./resources/orders.mjs";
|
|
12
16
|
import { ProviderLookupParams, ProviderLookupResponse, Providers } from "./resources/providers.mjs";
|
|
13
17
|
import { Version, VersionRetrieveResponse } from "./resources/version.mjs";
|
|
18
|
+
import { EmployerCreateParams, EmployerCreateResponse, EmployerListParams, EmployerListResponse, EmployerRetrieveResponse, Employers } from "./resources/employers/employers.mjs";
|
|
14
19
|
import { type Fetch } from "./internal/builtin-types.mjs";
|
|
15
20
|
import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
|
|
16
21
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
|
|
@@ -90,7 +95,7 @@ export declare class BlueHive {
|
|
|
90
95
|
baseURL: string;
|
|
91
96
|
maxRetries: number;
|
|
92
97
|
timeout: number;
|
|
93
|
-
logger: Logger
|
|
98
|
+
logger: Logger;
|
|
94
99
|
logLevel: LogLevel | undefined;
|
|
95
100
|
fetchOptions: MergedRequestInit | undefined;
|
|
96
101
|
private fetch;
|
|
@@ -115,7 +120,7 @@ export declare class BlueHive {
|
|
|
115
120
|
withOptions(options: Partial<ClientOptions>): this;
|
|
116
121
|
protected defaultQuery(): Record<string, string | undefined> | undefined;
|
|
117
122
|
protected validateHeaders({ values, nulls }: NullableHeaders): void;
|
|
118
|
-
protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined
|
|
123
|
+
protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
119
124
|
/**
|
|
120
125
|
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
121
126
|
*/
|
|
@@ -152,11 +157,11 @@ export declare class BlueHive {
|
|
|
152
157
|
private calculateDefaultRetryTimeoutMillis;
|
|
153
158
|
buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
|
|
154
159
|
retryCount?: number;
|
|
155
|
-
}): {
|
|
160
|
+
}): Promise<{
|
|
156
161
|
req: FinalizedRequestInit;
|
|
157
162
|
url: string;
|
|
158
163
|
timeout: number;
|
|
159
|
-
}
|
|
164
|
+
}>;
|
|
160
165
|
private buildHeaders;
|
|
161
166
|
private buildBody;
|
|
162
167
|
static BlueHive: typeof BlueHive;
|
|
@@ -180,6 +185,11 @@ export declare class BlueHive {
|
|
|
180
185
|
providers: API.Providers;
|
|
181
186
|
database: API.Database;
|
|
182
187
|
fax: API.Fax;
|
|
188
|
+
employers: API.Employers;
|
|
189
|
+
hl7: API.Hl7;
|
|
190
|
+
orders: API.Orders;
|
|
191
|
+
employees: API.Employees;
|
|
192
|
+
integrations: API.Integrations;
|
|
183
193
|
}
|
|
184
194
|
export declare namespace BlueHive {
|
|
185
195
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -188,5 +198,10 @@ export declare namespace BlueHive {
|
|
|
188
198
|
export { Providers as Providers, type ProviderLookupResponse as ProviderLookupResponse, type ProviderLookupParams as ProviderLookupParams, };
|
|
189
199
|
export { Database as Database, type DatabaseCheckHealthResponse as DatabaseCheckHealthResponse };
|
|
190
200
|
export { Fax as Fax, type FaxListProvidersResponse as FaxListProvidersResponse, type FaxRetrieveStatusResponse as FaxRetrieveStatusResponse, type FaxSendResponse as FaxSendResponse, type FaxSendParams as FaxSendParams, };
|
|
201
|
+
export { Employers as Employers, type EmployerCreateResponse as EmployerCreateResponse, type EmployerRetrieveResponse as EmployerRetrieveResponse, type EmployerListResponse as EmployerListResponse, type EmployerCreateParams as EmployerCreateParams, type EmployerListParams as EmployerListParams, };
|
|
202
|
+
export { Hl7 as Hl7, type Hl7SendResultsResponse as Hl7SendResultsResponse, type Hl7SendResultsParams as Hl7SendResultsParams, };
|
|
203
|
+
export { Orders as Orders, type OrderCreateResponse as OrderCreateResponse, type OrderRetrieveResponse as OrderRetrieveResponse, type OrderUpdateResponse as OrderUpdateResponse, type OrderRetrieveResultsResponse as OrderRetrieveResultsResponse, type OrderScheduleAppointmentResponse as OrderScheduleAppointmentResponse, type OrderSendForEmployeeResponse as OrderSendForEmployeeResponse, type OrderUpdateStatusResponse as OrderUpdateStatusResponse, type OrderUploadResultsResponse as OrderUploadResultsResponse, type OrderCreateParams as OrderCreateParams, type OrderUpdateParams as OrderUpdateParams, type OrderRetrieveResultsParams as OrderRetrieveResultsParams, type OrderScheduleAppointmentParams as OrderScheduleAppointmentParams, type OrderSendForEmployeeParams as OrderSendForEmployeeParams, type OrderUpdateStatusParams as OrderUpdateStatusParams, type OrderUploadResultsParams as OrderUploadResultsParams, };
|
|
204
|
+
export { Employees as Employees, type EmployeeCreateResponse as EmployeeCreateResponse, type EmployeeRetrieveResponse as EmployeeRetrieveResponse, type EmployeeUpdateResponse as EmployeeUpdateResponse, type EmployeeListResponse as EmployeeListResponse, type EmployeeDeleteResponse as EmployeeDeleteResponse, type EmployeeLinkUserResponse as EmployeeLinkUserResponse, type EmployeeUnlinkUserResponse as EmployeeUnlinkUserResponse, type EmployeeCreateParams as EmployeeCreateParams, type EmployeeUpdateParams as EmployeeUpdateParams, type EmployeeListParams as EmployeeListParams, type EmployeeLinkUserParams as EmployeeLinkUserParams, type EmployeeUnlinkUserParams as EmployeeUnlinkUserParams, };
|
|
205
|
+
export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationCheckActiveResponse as IntegrationCheckActiveResponse, type IntegrationListParams as IntegrationListParams, type IntegrationCheckActiveParams as IntegrationCheckActiveParams, };
|
|
191
206
|
}
|
|
192
207
|
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE,2BAA2B,EAAE;OACzC,EACL,GAAG,EACH,wBAAwB,EACxB,yBAAyB,EACzB,aAAa,EACb,eAAe,EAChB;OACM,EAAE,MAAM,EAAE,mBAAmB,EAAE;OAC/B,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,SAAS,EAAE;OAC3D,EAAE,OAAO,EAAE,uBAAuB,EAAE;OACpC,EAAE,KAAK,KAAK,EAAE;OACd,EAAE,WAAW,EAAE,eAAe,EAAgB;OAC9C,EAAE,mBAAmB,EAAE,cAAc,EAAE;OAEvC,EACL,KAAK,QAAQ,EACb,KAAK,MAAM,EAIZ;AAGD,MAAM,WAAW,aAA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BAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
package/client.d.ts
CHANGED
|
@@ -7,10 +7,15 @@ import * as Uploads from "./core/uploads.js";
|
|
|
7
7
|
import * as API from "./resources/index.js";
|
|
8
8
|
import { APIPromise } from "./core/api-promise.js";
|
|
9
9
|
import { Database, DatabaseCheckHealthResponse } from "./resources/database.js";
|
|
10
|
+
import { EmployeeCreateParams, EmployeeCreateResponse, EmployeeDeleteResponse, EmployeeLinkUserParams, EmployeeLinkUserResponse, EmployeeListParams, EmployeeListResponse, EmployeeRetrieveResponse, EmployeeUnlinkUserParams, EmployeeUnlinkUserResponse, EmployeeUpdateParams, EmployeeUpdateResponse, Employees } from "./resources/employees.js";
|
|
10
11
|
import { Fax, FaxListProvidersResponse, FaxRetrieveStatusResponse, FaxSendParams, FaxSendResponse } from "./resources/fax.js";
|
|
11
12
|
import { Health, HealthCheckResponse } from "./resources/health.js";
|
|
13
|
+
import { Hl7, Hl7SendResultsParams, Hl7SendResultsResponse } from "./resources/hl7.js";
|
|
14
|
+
import { IntegrationCheckActiveParams, IntegrationCheckActiveResponse, IntegrationListParams, IntegrationListResponse, Integrations } from "./resources/integrations.js";
|
|
15
|
+
import { OrderCreateParams, OrderCreateResponse, OrderRetrieveResponse, OrderRetrieveResultsParams, OrderRetrieveResultsResponse, OrderScheduleAppointmentParams, OrderScheduleAppointmentResponse, OrderSendForEmployeeParams, OrderSendForEmployeeResponse, OrderUpdateParams, OrderUpdateResponse, OrderUpdateStatusParams, OrderUpdateStatusResponse, OrderUploadResultsParams, OrderUploadResultsResponse, Orders } from "./resources/orders.js";
|
|
12
16
|
import { ProviderLookupParams, ProviderLookupResponse, Providers } from "./resources/providers.js";
|
|
13
17
|
import { Version, VersionRetrieveResponse } from "./resources/version.js";
|
|
18
|
+
import { EmployerCreateParams, EmployerCreateResponse, EmployerListParams, EmployerListResponse, EmployerRetrieveResponse, Employers } from "./resources/employers/employers.js";
|
|
14
19
|
import { type Fetch } from "./internal/builtin-types.js";
|
|
15
20
|
import { HeadersLike, NullableHeaders } from "./internal/headers.js";
|
|
16
21
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js";
|
|
@@ -90,7 +95,7 @@ export declare class BlueHive {
|
|
|
90
95
|
baseURL: string;
|
|
91
96
|
maxRetries: number;
|
|
92
97
|
timeout: number;
|
|
93
|
-
logger: Logger
|
|
98
|
+
logger: Logger;
|
|
94
99
|
logLevel: LogLevel | undefined;
|
|
95
100
|
fetchOptions: MergedRequestInit | undefined;
|
|
96
101
|
private fetch;
|
|
@@ -115,7 +120,7 @@ export declare class BlueHive {
|
|
|
115
120
|
withOptions(options: Partial<ClientOptions>): this;
|
|
116
121
|
protected defaultQuery(): Record<string, string | undefined> | undefined;
|
|
117
122
|
protected validateHeaders({ values, nulls }: NullableHeaders): void;
|
|
118
|
-
protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined
|
|
123
|
+
protected authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined>;
|
|
119
124
|
/**
|
|
120
125
|
* Basic re-implementation of `qs.stringify` for primitive types.
|
|
121
126
|
*/
|
|
@@ -152,11 +157,11 @@ export declare class BlueHive {
|
|
|
152
157
|
private calculateDefaultRetryTimeoutMillis;
|
|
153
158
|
buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
|
|
154
159
|
retryCount?: number;
|
|
155
|
-
}): {
|
|
160
|
+
}): Promise<{
|
|
156
161
|
req: FinalizedRequestInit;
|
|
157
162
|
url: string;
|
|
158
163
|
timeout: number;
|
|
159
|
-
}
|
|
164
|
+
}>;
|
|
160
165
|
private buildHeaders;
|
|
161
166
|
private buildBody;
|
|
162
167
|
static BlueHive: typeof BlueHive;
|
|
@@ -180,6 +185,11 @@ export declare class BlueHive {
|
|
|
180
185
|
providers: API.Providers;
|
|
181
186
|
database: API.Database;
|
|
182
187
|
fax: API.Fax;
|
|
188
|
+
employers: API.Employers;
|
|
189
|
+
hl7: API.Hl7;
|
|
190
|
+
orders: API.Orders;
|
|
191
|
+
employees: API.Employees;
|
|
192
|
+
integrations: API.Integrations;
|
|
183
193
|
}
|
|
184
194
|
export declare namespace BlueHive {
|
|
185
195
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -188,5 +198,10 @@ export declare namespace BlueHive {
|
|
|
188
198
|
export { Providers as Providers, type ProviderLookupResponse as ProviderLookupResponse, type ProviderLookupParams as ProviderLookupParams, };
|
|
189
199
|
export { Database as Database, type DatabaseCheckHealthResponse as DatabaseCheckHealthResponse };
|
|
190
200
|
export { Fax as Fax, type FaxListProvidersResponse as FaxListProvidersResponse, type FaxRetrieveStatusResponse as FaxRetrieveStatusResponse, type FaxSendResponse as FaxSendResponse, type FaxSendParams as FaxSendParams, };
|
|
201
|
+
export { Employers as Employers, type EmployerCreateResponse as EmployerCreateResponse, type EmployerRetrieveResponse as EmployerRetrieveResponse, type EmployerListResponse as EmployerListResponse, type EmployerCreateParams as EmployerCreateParams, type EmployerListParams as EmployerListParams, };
|
|
202
|
+
export { Hl7 as Hl7, type Hl7SendResultsResponse as Hl7SendResultsResponse, type Hl7SendResultsParams as Hl7SendResultsParams, };
|
|
203
|
+
export { Orders as Orders, type OrderCreateResponse as OrderCreateResponse, type OrderRetrieveResponse as OrderRetrieveResponse, type OrderUpdateResponse as OrderUpdateResponse, type OrderRetrieveResultsResponse as OrderRetrieveResultsResponse, type OrderScheduleAppointmentResponse as OrderScheduleAppointmentResponse, type OrderSendForEmployeeResponse as OrderSendForEmployeeResponse, type OrderUpdateStatusResponse as OrderUpdateStatusResponse, type OrderUploadResultsResponse as OrderUploadResultsResponse, type OrderCreateParams as OrderCreateParams, type OrderUpdateParams as OrderUpdateParams, type OrderRetrieveResultsParams as OrderRetrieveResultsParams, type OrderScheduleAppointmentParams as OrderScheduleAppointmentParams, type OrderSendForEmployeeParams as OrderSendForEmployeeParams, type OrderUpdateStatusParams as OrderUpdateStatusParams, type OrderUploadResultsParams as OrderUploadResultsParams, };
|
|
204
|
+
export { Employees as Employees, type EmployeeCreateResponse as EmployeeCreateResponse, type EmployeeRetrieveResponse as EmployeeRetrieveResponse, type EmployeeUpdateResponse as EmployeeUpdateResponse, type EmployeeListResponse as EmployeeListResponse, type EmployeeDeleteResponse as EmployeeDeleteResponse, type EmployeeLinkUserResponse as EmployeeLinkUserResponse, type EmployeeUnlinkUserResponse as EmployeeUnlinkUserResponse, type EmployeeCreateParams as EmployeeCreateParams, type EmployeeUpdateParams as EmployeeUpdateParams, type EmployeeListParams as EmployeeListParams, type EmployeeLinkUserParams as EmployeeLinkUserParams, type EmployeeUnlinkUserParams as EmployeeUnlinkUserParams, };
|
|
205
|
+
export { Integrations as Integrations, type IntegrationListResponse as IntegrationListResponse, type IntegrationCheckActiveResponse as IntegrationCheckActiveResponse, type IntegrationListParams as IntegrationListParams, type IntegrationCheckActiveParams as IntegrationCheckActiveParams, };
|
|
191
206
|
}
|
|
192
207
|
//# sourceMappingURL=client.d.ts.map
|
package/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB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