toga-ai 1.0.143 → 1.0.144
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.
|
@@ -58,12 +58,12 @@ App_Api_Netsuite_Rest::authenticate(); // acquire OAuth2 token once
|
|
|
58
58
|
- In our usage the client is effectively **read-only**: only `GET` (record fetch) and `POST`
|
|
59
59
|
(SuiteQL) are exercised. `send()` accepts any verb (incl. PATCH/PUT) but we don't write through it.
|
|
60
60
|
|
|
61
|
-
###
|
|
61
|
+
### Disabling logging for ad-hoc SuiteQL probes
|
|
62
62
|
|
|
63
|
-
`App_Api_Netsuite_Rest::send()` auto-authenticates
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
`App_Api_Netsuite_Rest::send()` auto-authenticates and logs to the API-log DB by default (it does
|
|
64
|
+
**not** call `setLogging(false)`). That's fine in normal environments; for a one-off **read-only
|
|
65
|
+
probe** you can keep the call out of the API log by authenticating once and issuing your own
|
|
66
|
+
`App_ApiTransaction` with logging off:
|
|
67
67
|
|
|
68
68
|
```php
|
|
69
69
|
$url = rtrim(App_Api_Netsuite_Rest::$endpoint, '/') . App_Api_Netsuite_Rest::API_BASE_PATH
|
package/knowledge/1.0/apps/worker/workflows/onboarding-client-to-netsuite-togasupply-sync.md
CHANGED
|
@@ -90,7 +90,7 @@ the directory; no `USE`).
|
|
|
90
90
|
with "Unknown database 'logs_<name>'" if absent.
|
|
91
91
|
- Run the cron in place with `C:\xampp8\php\php.exe` from the `worker/` dir; the autoloader
|
|
92
92
|
walks up to `worker/_` for `__APPROOT__`. `App_Api_Netsuite_Rest::authenticate()` +
|
|
93
|
-
`App_ApiTransaction->setLogging(false)` is the
|
|
93
|
+
`App_ApiTransaction->setLogging(false)` is the read-only SuiteQL probe pattern (see
|
|
94
94
|
`test/@dave/nsq.php`, a read-only SuiteQL runner).
|
|
95
95
|
- Verified behavior: empty window → 0 writes, checkpoint advances (clean no-op); record
|
|
96
96
|
already present → `PUT` update (idempotent, keyed on `c_netsuiteInternalSalesOrderId`, no
|
|
@@ -145,8 +145,8 @@ Shared helpers: `buildCustomFields()` (the field array, used by both create and
|
|
|
145
145
|
`Presales Lead Email`, and `Presales Lead` (users field).
|
|
146
146
|
- The ClickUp token comes from `[clickup] token` in the worker2 config (legacy webhook received
|
|
147
147
|
it on the payload; the new contract drops it).
|
|
148
|
-
- Every ClickUp `_ApiRequest` calls `setLogging(self::CLICKUP_API_LOGGING_ENABLED=false)
|
|
149
|
-
|
|
148
|
+
- Every ClickUp `_ApiRequest` calls `setLogging(self::CLICKUP_API_LOGGING_ENABLED=false)`, so ClickUp
|
|
149
|
+
traffic is not written to the Logs DB.
|
|
150
150
|
|
|
151
151
|
## Data model
|
|
152
152
|
|
package/package.json
CHANGED