@syncmatters/connector-sdk 1.0.25 → 1.0.27
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.
|
@@ -221,8 +221,11 @@ sees the resulting token via `args.oauth2Provider` — see
|
|
|
221
221
|
`redirect_uri` (the platform's OAuth callback), `authorize_uri`, `authorize_params`,
|
|
222
222
|
`token_uri`, `refresh_uri`, `introspect_uri`, `authorized_domains`. URIs may template settings,
|
|
223
223
|
e.g. `https://{acme_domain}/oauth2/authorize`. An optional `scope_groups` array drives the
|
|
224
|
-
consent UI: items carry `label` plus `read`/`write`/`full`
|
|
225
|
-
`read_mandatory
|
|
224
|
+
consent UI: items carry `label` plus `read`/`write`/`delete`/`full` cells (the Read, Write,
|
|
225
|
+
Delete and Full columns) and optional `read_mandatory`/`write_mandatory`/`delete_mandatory`/
|
|
226
|
+
`full_mandatory: true` flags. A cell may list several scopes separated by spaces
|
|
227
|
+
(`"write": "acme:create acme:update"`), never commas. The Delete column only shows when some item
|
|
228
|
+
sets `delete`.
|
|
226
229
|
|
|
227
230
|
## Do not edit
|
|
228
231
|
|
|
@@ -155,7 +155,7 @@ Frequently used:
|
|
|
155
155
|
- `upsertFlags.get(row)` — the caller's add/update hint (06).
|
|
156
156
|
|
|
157
157
|
Also available (see the type definitions): `sleep`, `htmlToText`, `csvReader`/`csvWriter`,
|
|
158
|
-
`xlsxReader`/`xlsxWriter`, `gzip`/`zip`, `json.*` (lossless numbers, `valuesReader`/
|
|
158
|
+
`xlsxReader`/`xlsxWriter`/`xlsxToCsvs`, `gzip`/`zip`, `json.*` (lossless numbers, `valuesReader`/
|
|
159
159
|
`valuesWriter` path-based field access, `changesChecker`), and `serveApi` — which hosts a
|
|
160
160
|
temporary dynamic endpoint from a script:
|
|
161
161
|
`SDK.utilities.serveApi({ path, apiKey, handler: async (req, res) => res.send(200, body) })`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncmatters/connector-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "TypeScript type definitions for the SyncMatters connector SDK (types only - connectors execute on the SyncMatters platform)",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"author": "SyncMatters",
|
|
14
14
|
"homepage": "https://syncmatters.com",
|
|
15
|
-
"typesContentHash": "
|
|
15
|
+
"typesContentHash": "db63b6774eb68ee27ed9652e84a93d8fb20826235261aa11a047993d16192658",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/node": "*",
|
|
18
|
-
"@syncmatters/script-api": "^1.0.
|
|
18
|
+
"@syncmatters/script-api": "^1.0.31"
|
|
19
19
|
}
|
|
20
20
|
}
|