@gravity-rail/sdk 0.3.0 → 0.4.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 +22 -0
- package/dist/{chunk-DNTCSBEW.js → chunk-3BG2GMJZ.js} +266 -101
- package/dist/chunk-3BG2GMJZ.js.map +1 -0
- package/dist/{chunk-MFEEPNXO.js → chunk-RJ5TGOOB.js} +26 -3
- package/dist/chunk-RJ5TGOOB.js.map +1 -0
- package/dist/{index-BK6BH83l.d.ts → index-BXdVk_yu.d.cts} +475 -151
- package/dist/{index-CafthMIC.d.cts → index-MwOlcqFm.d.ts} +475 -151
- package/dist/index.cjs +293 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -2
- package/dist/{inquiries-8Tb9lh4a.d.cts → inquiries-s_RbhMsE.d.cts} +163 -25
- package/dist/{inquiries-8Tb9lh4a.d.ts → inquiries-s_RbhMsE.d.ts} +163 -25
- package/dist/internal.cjs +295 -104
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +4 -30
- package/dist/internal.d.ts +4 -30
- package/dist/internal.js +12 -6
- package/dist/schemas.cjs +238 -34
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +164 -35
- package/dist/schemas.d.ts +164 -35
- package/dist/schemas.js +213 -32
- package/dist/schemas.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-DNTCSBEW.js.map +0 -1
- package/dist/chunk-MFEEPNXO.js.map +0 -1
package/README.md
CHANGED
|
@@ -101,6 +101,7 @@ Every Gravity Rail workspace is a self-contained environment with isolated data,
|
|
|
101
101
|
| **Files** | Folder hierarchy with semantic search, role-based sharing, and public access |
|
|
102
102
|
| **Sites** | Customer-facing portals with custom domains, page builder, and web crawling |
|
|
103
103
|
| **Communications** | Phone numbers, SMS, email inboxes, and notification rules |
|
|
104
|
+
| **Org Domains** | Register org-owned domains, verify ownership, verify email MX/DKIM/SPF, and verify site CNAMEs |
|
|
104
105
|
| **Toolkits** | Custom tools, MCP server integrations, and AI model configuration |
|
|
105
106
|
| **Operator Groups** | Live human routing with presence tracking and configurable strategies |
|
|
106
107
|
| **Qualifications** | Skills evaluation with expression-based and rubric-based scoring |
|
|
@@ -217,6 +218,27 @@ await client.createNotificationRule(workspaceId, {
|
|
|
217
218
|
});
|
|
218
219
|
```
|
|
219
220
|
|
|
221
|
+
### Organization Domains
|
|
222
|
+
|
|
223
|
+
```typescript
|
|
224
|
+
// Register an org-owned domain and publish the returned TXT proof.
|
|
225
|
+
const orgDomain = await client.registerOrgDomain(orgId, 'example.com');
|
|
226
|
+
console.log(orgDomain.ownershipDnsRecord);
|
|
227
|
+
|
|
228
|
+
// Verify domain ownership.
|
|
229
|
+
await client.verifyOrgDomainOwnership(orgId, orgDomain.uuid);
|
|
230
|
+
|
|
231
|
+
// Enable and verify email DNS, including MX.
|
|
232
|
+
const emailConfig = await client.enableOrgDomainEmail(orgId, orgDomain.uuid);
|
|
233
|
+
console.log(emailConfig.dnsRecords);
|
|
234
|
+
await client.verifyOrgDomainEmail(orgId, orgDomain.uuid);
|
|
235
|
+
|
|
236
|
+
// Enable and verify custom site routing through CNAME.
|
|
237
|
+
const siteConfig = await client.enableOrgDomainSite(orgId, orgDomain.uuid);
|
|
238
|
+
console.log(siteConfig.dnsRecords);
|
|
239
|
+
await client.verifyOrgDomainSite(orgId, orgDomain.uuid);
|
|
240
|
+
```
|
|
241
|
+
|
|
220
242
|
### Toolkits & MCP Servers
|
|
221
243
|
|
|
222
244
|
```typescript
|