@funnelchat-hq/sandbox 0.4.0 → 0.5.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/README.md +41 -24
- package/dist/{chunk-4WUZK3N2.js → chunk-NSON4OUU.js} +7469 -684
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/procedencia.json +12 -13
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { ConfigError, parseArgs, VERSION, DEFAULT_PORT, DEFAULT_CONFIG_FILE, resolveConfig, createSandbox } from './chunk-
|
|
2
|
+
import { ConfigError, parseArgs, VERSION, DEFAULT_PORT, DEFAULT_CONFIG_FILE, resolveConfig, createSandbox } from './chunk-NSON4OUU.js';
|
|
3
3
|
|
|
4
4
|
// src/cli.ts
|
|
5
5
|
var HELP = `funnelchat-sandbox ${VERSION}
|
package/dist/index.d.ts
CHANGED
|
@@ -661,12 +661,12 @@ interface Envelope {
|
|
|
661
661
|
}
|
|
662
662
|
interface CatalogEntry {
|
|
663
663
|
type: string;
|
|
664
|
+
/** The area that emits it: `accounts`, `conversations` or `communities`. */
|
|
664
665
|
area: string;
|
|
665
|
-
/** `active`:
|
|
666
|
+
/** `active`: it is delivered. Every type the portal publishes is. */
|
|
666
667
|
status: 'active' | 'planned';
|
|
667
|
-
is_critical: boolean;
|
|
668
|
-
label: string;
|
|
669
668
|
description: string;
|
|
669
|
+
/** `false` only for `webhook.test`, which only `POST /api/v1/webhooks/{id}/test` sends. */
|
|
670
670
|
subscribable: boolean;
|
|
671
671
|
example: Envelope | null;
|
|
672
672
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DELIVERY_HEADER, EDGE_ERRORS, EVENT_HEADER, FAILURE_REASONS, FORM_TEMPLATES, META_ERRORS, REJECTIONS, REQUEST_ID_HEADER, SEND_FILE_TYPES, SIGNATURE_HEADER, SIMULATED_HEADER, SUPPORTED_EXTENSIONS, VERSION, catalog, createSandbox, defaultConfig, mergeConfig, signature } from './chunk-
|
|
1
|
+
export { DELIVERY_HEADER, EDGE_ERRORS, EVENT_HEADER, FAILURE_REASONS, FORM_TEMPLATES, META_ERRORS, REJECTIONS, REQUEST_ID_HEADER, SEND_FILE_TYPES, SIGNATURE_HEADER, SIMULATED_HEADER, SUPPORTED_EXTENSIONS, VERSION, catalog, createSandbox, defaultConfig, mergeConfig, signature } from './chunk-NSON4OUU.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
package/spec/procedencia.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"description": "Where each file of spec/ came from. Written by `npm run generate -- --spec <file>` or `-- --pending <file>`; do not edit it by hand. spec/pending-sandbox.json belongs to this repo: its sources are inside it.",
|
|
3
3
|
"snapshot": {
|
|
4
4
|
"file": "spec/funnelchat.json",
|
|
5
|
-
"sha256": "
|
|
6
|
-
"bytes":
|
|
5
|
+
"sha256": "3e5bc8ef01a2c74650a2581beb9bcfee4dd14252bec8ab52542fa3240ab60475",
|
|
6
|
+
"bytes": 879905,
|
|
7
7
|
"source": {
|
|
8
8
|
"repository": null,
|
|
9
9
|
"path": null,
|
|
@@ -12,13 +12,12 @@
|
|
|
12
12
|
"commit_date": null,
|
|
13
13
|
"file_tracked_in_git": null,
|
|
14
14
|
"tracked_files_clean": null,
|
|
15
|
-
"file_modified_at": "2026-11-
|
|
15
|
+
"file_modified_at": "2026-11-13T18:02:04.866Z",
|
|
16
16
|
"url": "https://developers-portal.funnelchat.app/specs/funnelchat.json",
|
|
17
|
-
"portal_version": "v0.6.
|
|
18
|
-
"
|
|
19
|
-
"note": "The spec the developer portal publishes, v0.6.13: only the operations and events the portal shows. The sha256 is the one of the file served at the URL on 2026-11-12."
|
|
17
|
+
"portal_version": "v0.6.15",
|
|
18
|
+
"note": "The spec the developer portal publishes as v0.6.15: only the operations and events the portal shows, with the common error format of the API (every error with `error` and `message`). The sha256 is the one of the file the portal publishes in that version."
|
|
20
19
|
},
|
|
21
|
-
"imported_at": "2026-11-
|
|
20
|
+
"imported_at": "2026-11-13T18:03:43.747Z",
|
|
22
21
|
"spec": {
|
|
23
22
|
"openapi": "3.1.0",
|
|
24
23
|
"title": "Funnelchat API",
|
|
@@ -29,21 +28,21 @@
|
|
|
29
28
|
"domains": [
|
|
30
29
|
{
|
|
31
30
|
"domain": "conversations",
|
|
32
|
-
"tag":
|
|
31
|
+
"tag": null,
|
|
33
32
|
"sha": null,
|
|
34
33
|
"branch": null,
|
|
35
34
|
"snapshot_at": null
|
|
36
35
|
},
|
|
37
36
|
{
|
|
38
37
|
"domain": "communities",
|
|
39
|
-
"tag":
|
|
38
|
+
"tag": null,
|
|
40
39
|
"sha": null,
|
|
41
40
|
"branch": null,
|
|
42
41
|
"snapshot_at": null
|
|
43
42
|
},
|
|
44
43
|
{
|
|
45
44
|
"domain": "accounts",
|
|
46
|
-
"tag":
|
|
45
|
+
"tag": null,
|
|
47
46
|
"sha": null,
|
|
48
47
|
"branch": null,
|
|
49
48
|
"snapshot_at": null
|
|
@@ -53,8 +52,8 @@
|
|
|
53
52
|
},
|
|
54
53
|
"pending": {
|
|
55
54
|
"file": "spec/pending.json",
|
|
56
|
-
"sha256": "
|
|
57
|
-
"bytes":
|
|
55
|
+
"sha256": "dd7b8cf6e5be45ddf1c0c00a9f4480cceec11b364adec083bbf989fa11944d9d",
|
|
56
|
+
"bytes": 68388,
|
|
58
57
|
"source": {
|
|
59
58
|
"repository": "git@github.com:Funnelchat20/funnelchat-node.git",
|
|
60
59
|
"path": "spec/pending.json",
|
|
@@ -66,6 +65,6 @@
|
|
|
66
65
|
"file_modified_at": "2026-11-12T02:30:56.483Z"
|
|
67
66
|
},
|
|
68
67
|
"imported_at": "2026-11-12T03:23:57.222Z",
|
|
69
|
-
"note": "The pending layer of the Node SDK,
|
|
68
|
+
"note": "The pending layer of the Node SDK at that commit, with edits made here on 2026-11-13 ahead of the SDK: the sources conversations-forms, communities-events and conversations-received say what portal v0.6.14 shows and what was checked again that day; whatsapp_form.completed types answers[].label as a string, and message.received accepts any string in message.type besides the known ones. Once the SDK's layer carries them, copy it again with --pending. What belongs to the sandbox goes in spec/pending-sandbox.json."
|
|
70
69
|
}
|
|
71
70
|
}
|