@funnelchat-hq/sandbox 0.3.2 → 0.4.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/README.md +62 -32
- package/dist/{chunk-MPXB6GIV.js → chunk-4WUZK3N2.js} +12348 -15387
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/procedencia.json +29 -26
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-4WUZK3N2.js';
|
|
3
3
|
|
|
4
4
|
// src/cli.ts
|
|
5
5
|
var HELP = `funnelchat-sandbox ${VERSION}
|
package/dist/index.d.ts
CHANGED
|
@@ -398,6 +398,8 @@ interface RequestLogEntry {
|
|
|
398
398
|
status: number;
|
|
399
399
|
durationMs: number;
|
|
400
400
|
operation: string | null;
|
|
401
|
+
/** `shape-only` when the route has no handler and the answer was the spec's shape: nothing was stored or emitted. */
|
|
402
|
+
simulated: 'shape-only' | null;
|
|
401
403
|
requestBody: unknown;
|
|
402
404
|
responseBody: unknown;
|
|
403
405
|
}
|
|
@@ -620,11 +622,15 @@ declare class SandboxApp {
|
|
|
620
622
|
close(): void;
|
|
621
623
|
}
|
|
622
624
|
|
|
625
|
+
/** The header that marks an answer made up from the spec. Only the shape-only answers carry it. */
|
|
626
|
+
declare const SIMULATED_HEADER = "X-Sandbox-Simulated";
|
|
627
|
+
|
|
623
628
|
/**
|
|
624
629
|
* `X-Request-Id`: a fresh UUID v4 on every answer, errors included, like api-edge v0.3.0 and platform-gate 0.8. Only
|
|
625
630
|
* in the header, never in the body; one the client sends is ignored.
|
|
626
631
|
*/
|
|
627
632
|
declare const REQUEST_ID_HEADER = "X-Request-Id";
|
|
633
|
+
|
|
628
634
|
interface Sandbox {
|
|
629
635
|
app: SandboxApp;
|
|
630
636
|
server: Server;
|
|
@@ -702,4 +708,4 @@ declare const FORM_TEMPLATES: FormTemplate[];
|
|
|
702
708
|
|
|
703
709
|
declare const VERSION: string;
|
|
704
710
|
|
|
705
|
-
export { type CatalogEntry, type ConfigInput, type CreateSandboxOptions, DELIVERY_HEADER, EDGE_ERRORS, EVENT_HEADER, FAILURE_REASONS, FORM_TEMPLATES, META_ERRORS, type PresetSubscription, type PresetWorkspace, REJECTIONS, REQUEST_ID_HEADER, SEND_FILE_TYPES, SIGNATURE_HEADER, SUPPORTED_EXTENSIONS, type Sandbox, type SandboxConfig, VERSION, catalog, createSandbox, defaultConfig, mergeConfig, signature };
|
|
711
|
+
export { type CatalogEntry, type ConfigInput, type CreateSandboxOptions, DELIVERY_HEADER, EDGE_ERRORS, EVENT_HEADER, FAILURE_REASONS, FORM_TEMPLATES, META_ERRORS, type PresetSubscription, type PresetWorkspace, REJECTIONS, REQUEST_ID_HEADER, SEND_FILE_TYPES, SIGNATURE_HEADER, SIMULATED_HEADER, SUPPORTED_EXTENSIONS, type Sandbox, type SandboxConfig, VERSION, catalog, createSandbox, defaultConfig, mergeConfig, signature };
|
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, 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-4WUZK3N2.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
package/spec/procedencia.json
CHANGED
|
@@ -2,46 +2,49 @@
|
|
|
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": "a7b480743848dabccbea2a1f2314263ca070316eeed97aab4a6f09f171c80e5a",
|
|
6
|
+
"bytes": 738025,
|
|
7
7
|
"source": {
|
|
8
|
-
"repository":
|
|
9
|
-
"path":
|
|
10
|
-
"branch":
|
|
11
|
-
"commit":
|
|
8
|
+
"repository": null,
|
|
9
|
+
"path": null,
|
|
10
|
+
"branch": null,
|
|
11
|
+
"commit": null,
|
|
12
12
|
"commit_date": null,
|
|
13
|
-
"file_tracked_in_git":
|
|
13
|
+
"file_tracked_in_git": null,
|
|
14
14
|
"tracked_files_clean": null,
|
|
15
|
-
"file_modified_at": "2026-11-
|
|
16
|
-
"
|
|
15
|
+
"file_modified_at": "2026-11-12T00:48:33.018Z",
|
|
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
20
|
},
|
|
18
|
-
"imported_at": "2026-11-
|
|
21
|
+
"imported_at": "2026-11-12T03:02:14.197Z",
|
|
19
22
|
"spec": {
|
|
20
23
|
"openapi": "3.1.0",
|
|
21
24
|
"title": "Funnelchat API",
|
|
22
25
|
"version": "v0",
|
|
23
|
-
"paths":
|
|
24
|
-
"operations":
|
|
25
|
-
"webhooks":
|
|
26
|
+
"paths": 209,
|
|
27
|
+
"operations": 253,
|
|
28
|
+
"webhooks": 57,
|
|
26
29
|
"domains": [
|
|
27
30
|
{
|
|
28
31
|
"domain": "conversations",
|
|
29
|
-
"tag": "v1.19.
|
|
30
|
-
"sha":
|
|
32
|
+
"tag": "v1.19.91",
|
|
33
|
+
"sha": null,
|
|
31
34
|
"branch": null,
|
|
32
35
|
"snapshot_at": null
|
|
33
36
|
},
|
|
34
37
|
{
|
|
35
38
|
"domain": "communities",
|
|
36
|
-
"tag": "v2.35.
|
|
37
|
-
"sha":
|
|
39
|
+
"tag": "v2.35.28",
|
|
40
|
+
"sha": null,
|
|
38
41
|
"branch": null,
|
|
39
42
|
"snapshot_at": null
|
|
40
43
|
},
|
|
41
44
|
{
|
|
42
45
|
"domain": "accounts",
|
|
43
|
-
"tag": "v1.
|
|
44
|
-
"sha":
|
|
46
|
+
"tag": "v1.6.41",
|
|
47
|
+
"sha": null,
|
|
45
48
|
"branch": null,
|
|
46
49
|
"snapshot_at": null
|
|
47
50
|
}
|
|
@@ -50,19 +53,19 @@
|
|
|
50
53
|
},
|
|
51
54
|
"pending": {
|
|
52
55
|
"file": "spec/pending.json",
|
|
53
|
-
"sha256": "
|
|
54
|
-
"bytes":
|
|
56
|
+
"sha256": "39662e350155b12b96099a495993f3d243e9098e575a65c914432f224b1c002e",
|
|
57
|
+
"bytes": 67589,
|
|
55
58
|
"source": {
|
|
56
59
|
"repository": "git@github.com:Funnelchat20/funnelchat-node.git",
|
|
57
60
|
"path": "spec/pending.json",
|
|
58
|
-
"branch": "feat/
|
|
59
|
-
"commit": "
|
|
60
|
-
"commit_date": "2026-11-
|
|
61
|
+
"branch": "feat/todas-las-funciones",
|
|
62
|
+
"commit": "bde867919d1da0fc9412bad7e67688c3cd2e6a9b",
|
|
63
|
+
"commit_date": "2026-11-12T00:01:44-03:00",
|
|
61
64
|
"file_tracked_in_git": true,
|
|
62
65
|
"tracked_files_clean": true,
|
|
63
|
-
"file_modified_at": "2026-11-
|
|
66
|
+
"file_modified_at": "2026-11-12T02:30:56.483Z"
|
|
64
67
|
},
|
|
65
|
-
"imported_at": "2026-11-
|
|
68
|
+
"imported_at": "2026-11-12T03:23:57.222Z",
|
|
66
69
|
"note": "The pending layer of the Node SDK, unchanged. What belongs to the sandbox goes in spec/pending-sandbox.json."
|
|
67
70
|
}
|
|
68
71
|
}
|