@funnelchat-hq/sandbox 0.3.1 → 0.3.3
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 +21 -15
- package/dist/{chunk-FUK4UDIM.js → chunk-EQLGOYR6.js} +459 -38
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +15 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/spec/procedencia.json +15 -15
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-EQLGOYR6.js';
|
|
3
3
|
|
|
4
4
|
// src/cli.ts
|
|
5
5
|
var HELP = `funnelchat-sandbox ${VERSION}
|
package/dist/index.d.ts
CHANGED
|
@@ -252,6 +252,11 @@ interface Group {
|
|
|
252
252
|
description: string;
|
|
253
253
|
/** The number that is in the group (a QR number: the sandbox account has no official groups). */
|
|
254
254
|
deviceId: number;
|
|
255
|
+
/**
|
|
256
|
+
* In the account (communities `groups`): listed by `GET /groups` and announcing who joins and leaves. `false`: a
|
|
257
|
+
* group of the number on WhatsApp only, seen by `GET /devices/{device}/groups` until it is imported.
|
|
258
|
+
*/
|
|
259
|
+
imported: boolean;
|
|
255
260
|
/** The workspace the group is in; `null` counts as the default one. */
|
|
256
261
|
workspaceId: number | null;
|
|
257
262
|
participants: GroupParticipant[];
|
|
@@ -432,8 +437,16 @@ declare class Sequence {
|
|
|
432
437
|
declare class Store {
|
|
433
438
|
readonly historyLimit: number;
|
|
434
439
|
workspaces: Map<number, Workspace>;
|
|
435
|
-
/**
|
|
436
|
-
|
|
440
|
+
/**
|
|
441
|
+
* The sandbox keys minted for a workspace (`POST /_sandbox/workspaces`, `/_sandbox/keys`), with their permissions
|
|
442
|
+
* (`null`: every one). Any other key is the default workspace's, with every permission.
|
|
443
|
+
*/
|
|
444
|
+
keys: Map<string, {
|
|
445
|
+
workspaceId: number;
|
|
446
|
+
permissions: string[] | null;
|
|
447
|
+
}>;
|
|
448
|
+
/** When each number imported a group in the last minute: communities' 5 per minute. */
|
|
449
|
+
groupImports: Map<number, number[]>;
|
|
437
450
|
devices: Map<number, Device>;
|
|
438
451
|
contacts: Map<number, Contact>;
|
|
439
452
|
messages: Map<number, Message>;
|
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, SUPPORTED_EXTENSIONS, VERSION, catalog, createSandbox, defaultConfig, mergeConfig, signature } from './chunk-EQLGOYR6.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,46 @@
|
|
|
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": "38ae497ab7e6089b31b589e1f93c2289524348d581796eba109568885642813c",
|
|
6
|
+
"bytes": 1228756,
|
|
7
7
|
"source": {
|
|
8
8
|
"repository": "git@github.com:Funnelchat20/developers-portal.git",
|
|
9
9
|
"path": "generated/specs/funnelchat-completa.json",
|
|
10
|
-
"branch": "
|
|
11
|
-
"commit": "
|
|
10
|
+
"branch": "feat/plantillas-de-meta",
|
|
11
|
+
"commit": "51c0aeb",
|
|
12
12
|
"commit_date": null,
|
|
13
13
|
"file_tracked_in_git": false,
|
|
14
14
|
"tracked_files_clean": null,
|
|
15
|
-
"file_modified_at": "2026-11-
|
|
16
|
-
"note": "Built by `npm run build` of developers-portal
|
|
15
|
+
"file_modified_at": "2026-11-06T12:43:27.931Z",
|
|
16
|
+
"note": "Built by `npm run build` of developers-portal feat/plantillas-de-meta (v0.6.7, not published yet) on 06-11. Not the published /specs/ file, which carries only the visible operations."
|
|
17
17
|
},
|
|
18
|
-
"imported_at": "2026-11-
|
|
18
|
+
"imported_at": "2026-11-06T12:46:17.581Z",
|
|
19
19
|
"spec": {
|
|
20
20
|
"openapi": "3.1.0",
|
|
21
21
|
"title": "Funnelchat API",
|
|
22
22
|
"version": "v0",
|
|
23
|
-
"paths":
|
|
24
|
-
"operations":
|
|
23
|
+
"paths": 219,
|
|
24
|
+
"operations": 266,
|
|
25
25
|
"webhooks": 29,
|
|
26
26
|
"domains": [
|
|
27
27
|
{
|
|
28
28
|
"domain": "conversations",
|
|
29
|
-
"tag": "v1.19.
|
|
30
|
-
"sha": "
|
|
29
|
+
"tag": "v1.19.37",
|
|
30
|
+
"sha": "a4d0136be",
|
|
31
31
|
"branch": null,
|
|
32
32
|
"snapshot_at": null
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"domain": "communities",
|
|
36
|
-
"tag":
|
|
37
|
-
"sha":
|
|
36
|
+
"tag": null,
|
|
37
|
+
"sha": null,
|
|
38
38
|
"branch": null,
|
|
39
39
|
"snapshot_at": null
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"domain": "accounts",
|
|
43
|
-
"tag":
|
|
44
|
-
"sha":
|
|
43
|
+
"tag": null,
|
|
44
|
+
"sha": null,
|
|
45
45
|
"branch": null,
|
|
46
46
|
"snapshot_at": null
|
|
47
47
|
}
|