@funnelchat-hq/sandbox 0.4.0 → 0.5.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/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-4WUZK3N2.js';
2
+ import { ConfigError, parseArgs, VERSION, DEFAULT_PORT, DEFAULT_CONFIG_FILE, resolveConfig, createSandbox } from './chunk-67XBJEXM.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`: accounts accepts and delivers it. `planned`: you can subscribe, but nothing is emitted yet. */
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-4WUZK3N2.js';
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-67XBJEXM.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnelchat-hq/sandbox",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "A local server that imitates the Funnelchat public API and sends signed webhooks, with no real effects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -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": "a7b480743848dabccbea2a1f2314263ca070316eeed97aab4a6f09f171c80e5a",
6
- "bytes": 738025,
5
+ "sha256": "37c54a5aad4cc467e088af50294012484692ef668714dcdd748babc7314b587f",
6
+ "bytes": 738121,
7
7
  "source": {
8
8
  "repository": null,
9
9
  "path": null,
@@ -12,13 +12,13 @@
12
12
  "commit_date": null,
13
13
  "file_tracked_in_git": null,
14
14
  "tracked_files_clean": null,
15
- "file_modified_at": "2026-11-12T00:48:33.018Z",
15
+ "file_modified_at": "2026-11-13T13:23:30.969Z",
16
16
  "url": "https://developers-portal.funnelchat.app/specs/funnelchat.json",
17
- "portal_version": "v0.6.13",
18
- "fetched_at": "2026-11-12T00:48:33Z",
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.14",
18
+ "fetched_at": "2026-11-13T13:23:30Z",
19
+ "note": "The spec the developer portal publishes, v0.6.14: only the operations and events the portal shows. The sha256 is the one of the file served at the URL on 2026-11-13."
20
20
  },
21
- "imported_at": "2026-11-12T03:02:14.197Z",
21
+ "imported_at": "2026-11-13T13:34:02.968Z",
22
22
  "spec": {
23
23
  "openapi": "3.1.0",
24
24
  "title": "Funnelchat API",
@@ -29,21 +29,21 @@
29
29
  "domains": [
30
30
  {
31
31
  "domain": "conversations",
32
- "tag": "v1.19.91",
32
+ "tag": null,
33
33
  "sha": null,
34
34
  "branch": null,
35
35
  "snapshot_at": null
36
36
  },
37
37
  {
38
38
  "domain": "communities",
39
- "tag": "v2.35.28",
39
+ "tag": null,
40
40
  "sha": null,
41
41
  "branch": null,
42
42
  "snapshot_at": null
43
43
  },
44
44
  {
45
45
  "domain": "accounts",
46
- "tag": "v1.6.41",
46
+ "tag": null,
47
47
  "sha": null,
48
48
  "branch": null,
49
49
  "snapshot_at": null
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "pending": {
55
55
  "file": "spec/pending.json",
56
- "sha256": "39662e350155b12b96099a495993f3d243e9098e575a65c914432f224b1c002e",
57
- "bytes": 67589,
56
+ "sha256": "dd7b8cf6e5be45ddf1c0c00a9f4480cceec11b364adec083bbf989fa11944d9d",
57
+ "bytes": 68388,
58
58
  "source": {
59
59
  "repository": "git@github.com:Funnelchat20/funnelchat-node.git",
60
60
  "path": "spec/pending.json",
@@ -66,6 +66,6 @@
66
66
  "file_modified_at": "2026-11-12T02:30:56.483Z"
67
67
  },
68
68
  "imported_at": "2026-11-12T03:23:57.222Z",
69
- "note": "The pending layer of the Node SDK, unchanged. What belongs to the sandbox goes in spec/pending-sandbox.json."
69
+ "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
70
  }
71
71
  }