nixflex 0.9.0 → 0.11.1
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/B57-DELETES.md +52 -0
- package/CALL-REQUESTS.md +73 -0
- package/CHANGELOG.md +208 -84
- package/KIT-EXAMPLES-K6.md +118 -0
- package/KIT-EXAMPLES-K7.md +104 -0
- package/KNOWLEDGE.md +61 -0
- package/METHODS.md +176 -0
- package/NUMBER-FEATURES.md +51 -0
- package/ORGANISATIONS.md +9 -0
- package/README.md +57 -117
- package/TEAM-INTEGRATIONS.md +69 -0
- package/THIRD-PARTY-NOTICES.md +26 -0
- package/dist/cli/index.js +3901 -371
- package/dist/index.cjs +1255 -174
- package/dist/index.d.cts +2025 -322
- package/dist/index.d.ts +2025 -322
- package/dist/index.js +1233 -171
- package/package.json +72 -60
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Organisation and integration settings
|
|
2
|
+
|
|
3
|
+
Use the account API key privately. It has Owner authority. These kits do not
|
|
4
|
+
accept a teammate's dashboard session or impersonate a role.
|
|
5
|
+
|
|
6
|
+
| Kit | Entry point |
|
|
7
|
+
| --- | --- |
|
|
8
|
+
| Node | client.organisation, client.integrations |
|
|
9
|
+
| CLI | nixflex organisation, nixflex integrations |
|
|
10
|
+
| Python sync/async | client.organisation, client.integrations |
|
|
11
|
+
| MCP | See KITS-COVERAGE.md for included tools and deliberate exceptions |
|
|
12
|
+
|
|
13
|
+
Organisation reads: get, members, activity. JSON activity accepts before, actor,
|
|
14
|
+
from, to; Python spells from as from_. Dates are inclusive UTC calendar dates,
|
|
15
|
+
clamped to retained history. IDs and next_cursor are strings; never parse them as
|
|
16
|
+
floating-point numbers. Continue JSON pages with next_cursor as before until null.
|
|
17
|
+
|
|
18
|
+
Node activityCsv and Python activity_csv stream CSV bytes. Python async usage is
|
|
19
|
+
async for, not await. The server reads 500 rows per database chunk and rechecks
|
|
20
|
+
authority each chunk. Closing/stopping early must close/aclose the iterator.
|
|
21
|
+
Discard partial output after any error. Streaming never automatically restarts
|
|
22
|
+
after yielding data. The CLI activityCsv --output FILE publishes the file only
|
|
23
|
+
after completion and never overwrites an existing file.
|
|
24
|
+
|
|
25
|
+
Organisation changes: invite, claimInvite/claim_invite, resend, revoke,
|
|
26
|
+
removeMember/remove_member, setRole/set_role, rename. Personal acceptance, leave,
|
|
27
|
+
ownership transfer and closure stay dashboard only. A sent invitation means
|
|
28
|
+
provider acceptance, not delivery to the inbox. A resent invite replaces the old
|
|
29
|
+
link. A membership 202/live_disconnect_pending means the change committed but
|
|
30
|
+
live disconnection is unconfirmed; do not repeat the membership change blindly.
|
|
31
|
+
|
|
32
|
+
Personal dashboard rules still apply there: Members cannot manage team/settings;
|
|
33
|
+
Admins have permitted Member-management/settings rights but cannot manage Admins,
|
|
34
|
+
rename the organisation, access keys, transfer ownership or close the account.
|
|
35
|
+
The API key is Owner authority, so these kits cannot test personal Admin/Member
|
|
36
|
+
access. Server refusals remain typed errors.
|
|
37
|
+
|
|
38
|
+
Integration get/set/delete supports only calcom, slack, zapier, make, gohighlevel,
|
|
39
|
+
webhook, webhook2, precall, web-calls. Use getAgentPrecall/setAgentPrecall/
|
|
40
|
+
deleteAgentPrecall (snake_case in Python) for the agent default. Number pre-call
|
|
41
|
+
overrides the default; removing the override can expose the default again.
|
|
42
|
+
|
|
43
|
+
Provider PUT replaces stored configuration. Supply required credentials privately;
|
|
44
|
+
omitted options reset to documented server defaults. Optional agent_id is only a
|
|
45
|
+
fallback when the number has no assigned agent; it does not move the number.
|
|
46
|
+
Web-call reads return the saved flag, not proof of effective availability.
|
|
47
|
+
|
|
48
|
+
Functions use listFunctions/createFunction/updateFunction/deleteFunction
|
|
49
|
+
(snake_case in Python). At most 15 per number; names are lowercase snake_case,
|
|
50
|
+
maximum 64 characters; default method POST. timeout_ms defaults to 5000 and is
|
|
51
|
+
clamped server-side to 1000..45000. PATCH only changes supplied fields; null
|
|
52
|
+
speak_during clears it; an empty PATCH is refused. Reads expose has_headers,
|
|
53
|
+
never the header values. Empty lists and successful no-op deletes are not proof
|
|
54
|
+
of ownership or previous existence.
|
|
55
|
+
|
|
56
|
+
SDKs return exact wire data without logging it. URLs can contain credentials:
|
|
57
|
+
never print full integration responses. Use private body files/environment input.
|
|
58
|
+
CLI display omits URLs, credential fields and free-form configuration, including
|
|
59
|
+
webhook get/delete previews. Signing-secret retrieval is a private human action,
|
|
60
|
+
not a kit method. Do not paste credential settings into an AI conversation.
|
|
61
|
+
|
|
62
|
+
Every NEW CLI/MCP write needs explicit confirmation before any HTTP request.
|
|
63
|
+
SDK writes are explicit method calls. Only GET may retry, with a bounded budget.
|
|
64
|
+
Unknown write outcomes stay outcome_unknown / safe_to_retry:false: read current
|
|
65
|
+
state before deciding whether to retry manually.
|
|
66
|
+
|
|
67
|
+
K4-TEST.ps1 is read-only and uses built packages. It refuses every mutation at its
|
|
68
|
+
transport boundary. Successful writes require a separately authorised manual test
|
|
69
|
+
on disposable resources; never use the protected production/testing numbers.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Bundled CLI dependency
|
|
2
|
+
|
|
3
|
+
The MCP configuration editor in the CLI bundles jsonc-parser 3.3.1.
|
|
4
|
+
The SDK library does not acquire a runtime dependency from this installer work.
|
|
5
|
+
|
|
6
|
+
The MIT License (MIT)
|
|
7
|
+
|
|
8
|
+
Copyright (c) Microsoft
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|