@gravity-rail/sdk 0.49.0 → 0.51.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 +3 -1
- package/dist/{chat-interaction-D4Edo92W.d.ts → chat-interaction-B5nj76yH.d.ts} +377 -212
- package/dist/{chat-interaction-e5vHKt5j.d.cts → chat-interaction-DvjO9WFC.d.cts} +377 -212
- package/dist/{chunk-XQTPXOBU.js → chunk-BW3E45QD.js} +1 -1
- package/dist/{chunk-XQTPXOBU.js.map → chunk-BW3E45QD.js.map} +1 -1
- package/dist/helpers.d.cts +4 -4
- package/dist/helpers.d.ts +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +12 -6
- package/dist/internal.d.ts +12 -6
- package/dist/internal.js +1 -1
- package/dist/{member-import-9zHkUjcn.d.cts → member-import-C1yjuxjL.d.cts} +1 -1
- package/dist/{member-import-ocJ_K474.d.ts → member-import-C6WVvneJ.d.ts} +1 -1
- package/dist/{path-CQBykGoj.d.cts → path-BoBhe09k.d.ts} +5 -5
- package/dist/{path-DVWLvQS-.d.ts → path-CxQlFVf9.d.cts} +5 -5
- package/dist/schemas.cjs +35 -2
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +1680 -1677
- package/dist/schemas.d.ts +1680 -1677
- package/dist/schemas.js +34 -2
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-DsNsbco5.d.cts → tasks-CKBDY-Ok.d.cts} +163 -57
- package/dist/{tasks-DsNsbco5.d.ts → tasks-CKBDY-Ok.d.ts} +163 -57
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -365,7 +365,9 @@ const operators = await client.getLiveOperators(workspaceId);
|
|
|
365
365
|
|
|
366
366
|
### Sites & Portals
|
|
367
367
|
|
|
368
|
-
Site
|
|
368
|
+
Site settings accept `allowedScopes: ['records:read', 'records:write', 'records:admin']` for Manage Records. This opt-in exposes only record scopes the signed-in Member’s current role already allows, within the Site workspace. It permits existing record administration, including other Members’ records, admin-only fields, and deletion. The default is `[]`; read/write opt-ins remain independent. Unrelated administrative scopes stay suppressed.
|
|
369
|
+
|
|
370
|
+
Site record write methods may return a successful value-free receipt: `fieldValues` is empty and `memberId` / `memberName` / `externalId` are null unless Reading Records and the row read policy both allow values. This includes partial updates, resubmissions and upserts. The write still succeeds; use a permitted record read to load stored values.
|
|
369
371
|
|
|
370
372
|
```typescript
|
|
371
373
|
// Build customer-facing portals with AI chat built in
|