@fonoster/apiserver 0.40.0 → 0.43.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.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,105 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
4
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
5
+ return new (P || (P = Promise))(function (resolve, reject) {
6
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
7
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
8
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
9
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
10
+ });
11
+ };
12
+ var __asyncValues = (this && this.__asyncValues) || function (o) {
13
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
14
+ var m = o[Symbol.asyncIterator], i;
15
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
16
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
17
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ /**
21
+ * Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
22
+ * http://github.com/fonoster/fonoster
23
+ *
24
+ * This file is part of Fonoster
25
+ *
26
+ * Licensed under the MIT License (the "License");
27
+ * you may not use this file except in compliance with
28
+ * the License. You may obtain a copy of the License at
29
+ *
30
+ * https://opensource.org/licenses/MIT
31
+ *
32
+ * Unless required by applicable law or agreed to in writing, software
33
+ * distributed under the License is distributed on an "AS IS" BASIS,
34
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35
+ * See the License for the specific language governing permissions and
36
+ * limitations under the License.
37
+ */
38
+ // The first user of an install and its workspace:
39
+ //
40
+ // docker compose exec -T apiserver fonoster-owner create <email> [--name <name>] < password-file
41
+ //
42
+ // The password comes from stdin (8 to 50 characters; a trailing newline is dropped) and is never
43
+ // printed. When the install already has its first user, nothing changes and it exits 0.
44
+ const identity_1 = require("@fonoster/identity");
45
+ const identityConfig_1 = require("../core/identityConfig");
46
+ const USAGE = "usage: fonoster-owner create <email> [--name <name>] < password-file";
47
+ function readStdin() {
48
+ return __awaiter(this, void 0, void 0, function* () {
49
+ var _a, e_1, _b, _c;
50
+ if (process.stdin.isTTY)
51
+ return "";
52
+ const chunks = [];
53
+ try {
54
+ for (var _d = true, _e = __asyncValues(process.stdin), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
55
+ _c = _f.value;
56
+ _d = false;
57
+ const c = _c;
58
+ chunks.push(c);
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ return Buffer.concat(chunks)
69
+ .toString("utf8")
70
+ .replace(/\r?\n$/, "");
71
+ });
72
+ }
73
+ function main() {
74
+ return __awaiter(this, void 0, void 0, function* () {
75
+ const [cmd, email, ...rest] = process.argv
76
+ .slice(2)
77
+ .filter((a, i, all) => a !== "--config" && all[i - 1] !== "--config");
78
+ const at = rest.indexOf("--name");
79
+ const name = at >= 0 ? rest[at + 1] : "Admin";
80
+ if (cmd !== "create" || !email || !name) {
81
+ console.error(USAGE);
82
+ process.exit(2);
83
+ }
84
+ const prisma = (0, identity_1.createPrismaClient)(identityConfig_1.identityConfig.dbUrl, identityConfig_1.identityConfig.encryptionKey);
85
+ const existing = yield prisma.user.findUnique({
86
+ where: { ref: "00000000-0000-0000-0000-000000000000" }
87
+ });
88
+ yield prisma.$disconnect();
89
+ if (existing) {
90
+ console.log(`the first user exists (${existing.email}); nothing changed`);
91
+ return;
92
+ }
93
+ const password = yield readStdin();
94
+ if (password.length < 8 || password.length > 50) {
95
+ console.error("the password on stdin must have 8 to 50 characters (" + USAGE + ")");
96
+ process.exit(1);
97
+ }
98
+ yield (0, identity_1.upsertDefaultUser)(identityConfig_1.identityConfig, { name, email, password });
99
+ console.log(`created ${email} and its workspace`);
100
+ });
101
+ }
102
+ main().catch((e) => {
103
+ console.error(e.message);
104
+ process.exit(1);
105
+ });
@@ -570,19 +570,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
570
570
  apiUrl?: string;
571
571
  };
572
572
  }>>;
573
- owner: z.ZodOptional<z.ZodObject<{
574
- name: z.ZodDefault<z.ZodString>;
575
- email: z.ZodString;
576
- password: z.ZodString;
577
- }, "strip", z.ZodTypeAny, {
578
- name?: string;
579
- email?: string;
580
- password?: string;
581
- }, {
582
- name?: string;
583
- email?: string;
584
- password?: string;
585
- }>>;
586
573
  }, "strip", z.ZodTypeAny, {
587
574
  keys?: {
588
575
  privateKey: string;
@@ -590,14 +577,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
590
577
  privateKeyPath: string;
591
578
  publicKeyPath: string;
592
579
  };
593
- owner?: {
594
- name?: string;
595
- email?: string;
596
- password? /**
597
- * host:port of Routr's SIP listener: API-originated calls are dialed through it
598
- * (CreateCall's to.proxy), as the roomr peer below (to.auth).
599
- */: string;
600
- };
601
580
  database?: {
602
581
  url?: string;
603
582
  };
@@ -632,11 +611,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
632
611
  privateKeyPath?: string;
633
612
  publicKeyPath?: string;
634
613
  };
635
- owner?: {
636
- name?: string;
637
- email?: string;
638
- password?: string;
639
- };
640
614
  database?: {
641
615
  url?: string;
642
616
  };
@@ -1160,14 +1134,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
1160
1134
  privateKeyPath: string;
1161
1135
  publicKeyPath: string;
1162
1136
  };
1163
- owner?: {
1164
- name?: string;
1165
- email?: string;
1166
- password? /**
1167
- * host:port of Routr's SIP listener: API-originated calls are dialed through it
1168
- * (CreateCall's to.proxy), as the roomr peer below (to.auth).
1169
- */: string;
1170
- };
1171
1137
  database?: {
1172
1138
  url?: string;
1173
1139
  };
@@ -1373,11 +1339,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
1373
1339
  privateKeyPath?: string;
1374
1340
  publicKeyPath?: string;
1375
1341
  };
1376
- owner?: {
1377
- name?: string;
1378
- email?: string;
1379
- password?: string;
1380
- };
1381
1342
  database?: {
1382
1343
  url?: string;
1383
1344
  };
@@ -1583,14 +1544,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
1583
1544
  privateKeyPath: string;
1584
1545
  publicKeyPath: string;
1585
1546
  };
1586
- owner?: {
1587
- name?: string;
1588
- email?: string;
1589
- password? /**
1590
- * host:port of Routr's SIP listener: API-originated calls are dialed through it
1591
- * (CreateCall's to.proxy), as the roomr peer below (to.auth).
1592
- */: string;
1593
- };
1594
1547
  database?: {
1595
1548
  url?: string;
1596
1549
  };
@@ -1796,11 +1749,6 @@ declare const fonosterConfigSchema: z.ZodEffects<z.ZodObject<{
1796
1749
  privateKeyPath?: string;
1797
1750
  publicKeyPath?: string;
1798
1751
  };
1799
- owner?: {
1800
- name?: string;
1801
- email?: string;
1802
- password?: string;
1803
- };
1804
1752
  database?: {
1805
1753
  url?: string;
1806
1754
  };
package/dist/envs.d.ts CHANGED
@@ -65,9 +65,6 @@ export declare const NATS: {
65
65
  pass?: string;
66
66
  inboxPrefix?: string;
67
67
  };
68
- export declare const OWNER_EMAIL: string;
69
- export declare const OWNER_NAME: string;
70
- export declare const OWNER_PASSWORD: string;
71
68
  export declare const ROUTR_API_ENDPOINT: string;
72
69
  export declare const ROUTR_ROOMR_PEER: {
73
70
  name?: string;
package/dist/envs.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.SMTP_PORT = exports.SMTP_HOST = exports.SMTP_AUTH_USER = exports.SMTP_AUTH_PASS = exports.ROUTR_SIP_PROXY = exports.ROUTR_ROOMR_PEER = exports.ROUTR_API_ENDPOINT = exports.OWNER_PASSWORD = exports.OWNER_NAME = exports.OWNER_EMAIL = exports.NATS = exports.NATS_CONNECTION = exports.NATS_URL = exports.EVALUATIONS = exports.AUTHZ_SERVICE_METHODS = exports.AUTHZ_SERVICE_PORT = exports.AUTHZ_SERVICE_HOST = exports.AUTHZ_SERVICE_ENABLED = exports.BILLING_ADDRESS = exports.BILLING_ENABLED = exports.IDENTITY_DATABASE_URL = exports.IDENTITY_WORKSPACE_INVITE_URL = exports.IDENTITY_WORKSPACE_INVITE_EXPIRATION = exports.IDENTITY_WORKSPACE_INVITE_FAIL_URL = exports.IDENTITY_REFRESH_TOKEN_EXPIRES_IN = exports.IDENTITY_PUBLIC_KEY = exports.IDENTITY_PRIVATE_KEY = exports.IDENTITY_OAUTH2_GITHUB_CLIENT_SECRET = exports.IDENTITY_OAUTH2_GITHUB_CLIENT_ID = exports.IDENTITY_OAUTH2_GITHUB_ENABLED = exports.IDENTITY_TWO_FACTOR_AUTHENTICATION_REQUIRED = exports.IDENTITY_CONTACT_VERIFICATION_REQUIRED = exports.IDENTITY_ISSUER = exports.IDENTITY_ID_TOKEN_EXPIRES_IN = exports.IDENTITY_AUDIENCE = exports.IDENTITY_ACCESS_TOKEN_EXPIRES_IN = exports.HTTP_BRIDGE_PORT = exports.DEFAULT_NATS_QUEUE_GROUP = exports.DATABASE_URL = exports.CLOAK_ENCRYPTION_KEY = exports.NODE_HEARTBEAT_WILDCARD = exports.MEDIA_CALL_EVENTS_WILDCARD = exports.mediaCallEventsSubject = exports.CALL_EVENTS_WILDCARD = exports.callEventsSubject = exports.CALLS_CREATE_SUBJECT = exports.APP_URL = exports.APISERVER_SIGNALING_SERVER = exports.APISERVER_HOST = exports.APISERVER_BIND_ADDR = void 0;
5
- exports.DOMAIN_NAMES_ROOT = exports.TRUNK_NAMES_ROOT = exports.SIP_ROOT = exports.PSTN_ROOT = exports.DOMAIN = exports.REGIONS = exports.WEBHOOKS = exports.SESSION_APPS = exports.CALL_RECORDS = exports.TWILIO_PHONE_NUMBER = exports.TWILIO_AUTH_TOKEN = exports.TWILIO_ACCOUNT_SID = exports.TEMPLATES_DIR = exports.SMTP_SENDER = exports.SMTP_SECURE = void 0;
4
+ exports.TEMPLATES_DIR = exports.SMTP_SENDER = exports.SMTP_SECURE = exports.SMTP_PORT = exports.SMTP_HOST = exports.SMTP_AUTH_USER = exports.SMTP_AUTH_PASS = exports.ROUTR_SIP_PROXY = exports.ROUTR_ROOMR_PEER = exports.ROUTR_API_ENDPOINT = exports.NATS = exports.NATS_CONNECTION = exports.NATS_URL = exports.EVALUATIONS = exports.AUTHZ_SERVICE_METHODS = exports.AUTHZ_SERVICE_PORT = exports.AUTHZ_SERVICE_HOST = exports.AUTHZ_SERVICE_ENABLED = exports.BILLING_ADDRESS = exports.BILLING_ENABLED = exports.IDENTITY_DATABASE_URL = exports.IDENTITY_WORKSPACE_INVITE_URL = exports.IDENTITY_WORKSPACE_INVITE_EXPIRATION = exports.IDENTITY_WORKSPACE_INVITE_FAIL_URL = exports.IDENTITY_REFRESH_TOKEN_EXPIRES_IN = exports.IDENTITY_PUBLIC_KEY = exports.IDENTITY_PRIVATE_KEY = exports.IDENTITY_OAUTH2_GITHUB_CLIENT_SECRET = exports.IDENTITY_OAUTH2_GITHUB_CLIENT_ID = exports.IDENTITY_OAUTH2_GITHUB_ENABLED = exports.IDENTITY_TWO_FACTOR_AUTHENTICATION_REQUIRED = exports.IDENTITY_CONTACT_VERIFICATION_REQUIRED = exports.IDENTITY_ISSUER = exports.IDENTITY_ID_TOKEN_EXPIRES_IN = exports.IDENTITY_AUDIENCE = exports.IDENTITY_ACCESS_TOKEN_EXPIRES_IN = exports.HTTP_BRIDGE_PORT = exports.DEFAULT_NATS_QUEUE_GROUP = exports.DATABASE_URL = exports.CLOAK_ENCRYPTION_KEY = exports.NODE_HEARTBEAT_WILDCARD = exports.MEDIA_CALL_EVENTS_WILDCARD = exports.mediaCallEventsSubject = exports.CALL_EVENTS_WILDCARD = exports.callEventsSubject = exports.CALLS_CREATE_SUBJECT = exports.APP_URL = exports.APISERVER_SIGNALING_SERVER = exports.APISERVER_HOST = exports.APISERVER_BIND_ADDR = void 0;
5
+ exports.DOMAIN_NAMES_ROOT = exports.TRUNK_NAMES_ROOT = exports.SIP_ROOT = exports.PSTN_ROOT = exports.DOMAIN = exports.REGIONS = exports.WEBHOOKS = exports.SESSION_APPS = exports.CALL_RECORDS = exports.TWILIO_PHONE_NUMBER = exports.TWILIO_AUTH_TOKEN = exports.TWILIO_ACCOUNT_SID = void 0;
6
6
  /**
7
7
  * Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
8
8
  * http://github.com/fonoster/fonoster
@@ -93,28 +93,24 @@ exports.NATS_URL = config.nats.url;
93
93
  exports.NATS_CONNECTION = config.nats;
94
94
  /** nats.js connect options: the URL plus the apiserver's NATS user, when set (add-platform 4.1). */
95
95
  exports.NATS = (0, common_1.natsConnectOptions)(config.nats);
96
- // Default owner (if identity.owner is set, the system creates a user and a workspace)
97
- exports.OWNER_EMAIL = (_d = config.identity.owner) === null || _d === void 0 ? void 0 : _d.email;
98
- exports.OWNER_NAME = (_f = (_e = config.identity.owner) === null || _e === void 0 ? void 0 : _e.name) !== null && _f !== void 0 ? _f : "Admin";
99
- exports.OWNER_PASSWORD = (_g = config.identity.owner) === null || _g === void 0 ? void 0 : _g.password;
100
96
  exports.ROUTR_API_ENDPOINT = config.routr.apiEndpoint;
101
97
  // The roomr peer every app-linked number points at (add-roomr 4.1)
102
98
  exports.ROUTR_ROOMR_PEER = config.routr.roomrPeer;
103
99
  /** Routr's SIP address: API-originated calls are dialed through it (Roomr CreateCall). */
104
100
  exports.ROUTR_SIP_PROXY = config.routr.sipProxy;
105
101
  // SMTP configurations (optional; email features fail clearly without it)
106
- exports.SMTP_AUTH_PASS = (_h = config.smtp) === null || _h === void 0 ? void 0 : _h.password;
107
- exports.SMTP_AUTH_USER = (_j = config.smtp) === null || _j === void 0 ? void 0 : _j.user;
108
- exports.SMTP_HOST = (_k = config.smtp) === null || _k === void 0 ? void 0 : _k.host;
109
- exports.SMTP_PORT = (_m = (_l = config.smtp) === null || _l === void 0 ? void 0 : _l.port) !== null && _m !== void 0 ? _m : 587;
110
- exports.SMTP_SECURE = (_p = (_o = config.smtp) === null || _o === void 0 ? void 0 : _o.secure) !== null && _p !== void 0 ? _p : false;
111
- exports.SMTP_SENDER = (_q = config.smtp) === null || _q === void 0 ? void 0 : _q.sender;
102
+ exports.SMTP_AUTH_PASS = (_d = config.smtp) === null || _d === void 0 ? void 0 : _d.password;
103
+ exports.SMTP_AUTH_USER = (_e = config.smtp) === null || _e === void 0 ? void 0 : _e.user;
104
+ exports.SMTP_HOST = (_f = config.smtp) === null || _f === void 0 ? void 0 : _f.host;
105
+ exports.SMTP_PORT = (_h = (_g = config.smtp) === null || _g === void 0 ? void 0 : _g.port) !== null && _h !== void 0 ? _h : 587;
106
+ exports.SMTP_SECURE = (_k = (_j = config.smtp) === null || _j === void 0 ? void 0 : _j.secure) !== null && _k !== void 0 ? _k : false;
107
+ exports.SMTP_SENDER = (_l = config.smtp) === null || _l === void 0 ? void 0 : _l.sender;
112
108
  // Custom templates
113
109
  exports.TEMPLATES_DIR = config.templatesDir;
114
110
  // Twilio configurations
115
- exports.TWILIO_ACCOUNT_SID = (_r = config.twilio) === null || _r === void 0 ? void 0 : _r.accountSid;
116
- exports.TWILIO_AUTH_TOKEN = (_s = config.twilio) === null || _s === void 0 ? void 0 : _s.authToken;
117
- exports.TWILIO_PHONE_NUMBER = (_t = config.twilio) === null || _t === void 0 ? void 0 : _t.phoneNumber;
111
+ exports.TWILIO_ACCOUNT_SID = (_m = config.twilio) === null || _m === void 0 ? void 0 : _m.accountSid;
112
+ exports.TWILIO_AUTH_TOKEN = (_o = config.twilio) === null || _o === void 0 ? void 0 : _o.authToken;
113
+ exports.TWILIO_PHONE_NUMBER = (_p = config.twilio) === null || _p === void 0 ? void 0 : _p.phoneNumber;
118
114
  // Call records (add-call-record): index, records API, retention, ListCalls from the index.
119
115
  exports.CALL_RECORDS = config.callRecords;
120
116
  // Session apps (rebuild: control): hosted Autopilot URL and signing secret, webhook URL policy
package/dist/index.js CHANGED
@@ -54,7 +54,6 @@ const db_1 = require("./core/db");
54
54
  const identityConfig_1 = require("./core/identityConfig");
55
55
  const runServices_1 = __importDefault(require("./core/runServices"));
56
56
  const upsertRoomrPeer_1 = require("./core/upsertRoomrPeer");
57
- const envs_1 = require("./envs");
58
57
  // Apply fonoster.yaml to the shared modules before serving. Loggers created
59
58
  // while the imports above ran switch to the file's settings here.
60
59
  const config = (0, config_1.getConfig)();
@@ -65,14 +64,6 @@ function main() {
65
64
  return __awaiter(this, void 0, void 0, function* () {
66
65
  var _a;
67
66
  yield (0, identity_1.migratePasswordStorage)(identityConfig_1.identityConfig);
68
- if (envs_1.OWNER_EMAIL) {
69
- const user = {
70
- name: envs_1.OWNER_NAME,
71
- email: envs_1.OWNER_EMAIL,
72
- password: envs_1.OWNER_PASSWORD
73
- };
74
- yield (0, identity_1.upsertDefaultUser)(identityConfig_1.identityConfig, user);
75
- }
76
67
  // The provider catalog (add-self-host-installer D7): applied on every start, idempotent. A
77
68
  // configured file that can't be read or applied stops the server (IC-B2).
78
69
  if (config.catalog) {
@@ -21,6 +21,6 @@ exports.createUser = exports.createOperator = exports.createAccount = exports.ge
21
21
  */
22
22
  const common_1 = require("@fonoster/common");
23
23
  // The NATS JWT helpers and generateRegionHub live in @fonoster/common (regions/hub) so the
24
- // self-host setup utility (fonoster-config init) can generate the region hub without the
24
+ // region hub setup (fonoster-region-hub-setup) can generate the region hub without the
25
25
  // apiserver. Re-exported here so existing imports keep working.
26
26
  exports.encodeNatsJwt = common_1.RegionHub.encodeNatsJwt, exports.decodeNatsJwt = common_1.RegionHub.decodeNatsJwt, exports.operatorJwt = common_1.RegionHub.operatorJwt, exports.accountJwt = common_1.RegionHub.accountJwt, exports.userJwt = common_1.RegionHub.userJwt, exports.formatCreds = common_1.RegionHub.formatCreds, exports.issueUserCreds = common_1.RegionHub.issueUserCreds, exports.seedOf = common_1.RegionHub.seedOf, exports.keyPairFromSeed = common_1.RegionHub.keyPairFromSeed, exports.REGIONS_ACCOUNT_NAME = common_1.RegionHub.REGIONS_ACCOUNT_NAME, exports.regionsAccountJwt = common_1.RegionHub.regionsAccountJwt, exports.generateRegionHub = common_1.RegionHub.generateRegionHub, exports.createAccount = common_1.RegionHub.createAccount, exports.createOperator = common_1.RegionHub.createOperator, exports.createUser = common_1.RegionHub.createUser;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/apiserver",
3
- "version": "0.40.0",
3
+ "version": "0.43.0",
4
4
  "description": "APIServer for Fonoster",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -19,17 +19,18 @@
19
19
  "bin": {
20
20
  "fonoster": "./dist/index.js",
21
21
  "fonoster-region-hub-setup": "./dist/bin/regionHubSetup.js",
22
- "fonoster-usage": "./dist/bin/usage.js"
22
+ "fonoster-usage": "./dist/bin/usage.js",
23
+ "fonoster-owner": "./dist/bin/owner.js"
23
24
  },
24
25
  "dependencies": {
25
- "@fonoster/authz": "^0.40.0",
26
- "@fonoster/autopilot": "^0.40.0",
27
- "@fonoster/callrecord": "^0.40.0",
28
- "@fonoster/common": "^0.40.0",
29
- "@fonoster/identity": "^0.40.0",
30
- "@fonoster/logger": "^0.40.0",
31
- "@fonoster/sipnet": "^0.40.0",
32
- "@fonoster/types": "^0.40.0",
26
+ "@fonoster/authz": "^0.43.0",
27
+ "@fonoster/autopilot": "^0.43.0",
28
+ "@fonoster/callrecord": "^0.43.0",
29
+ "@fonoster/common": "^0.43.0",
30
+ "@fonoster/identity": "^0.43.0",
31
+ "@fonoster/logger": "^0.43.0",
32
+ "@fonoster/sipnet": "^0.43.0",
33
+ "@fonoster/types": "^0.43.0",
33
34
  "@grpc/grpc-js": "~1.14.6",
34
35
  "@prisma/client": "^6.19.1",
35
36
  "@routr/common": "^2.24.0",
@@ -66,7 +67,7 @@
66
67
  "@types/uuid": "^10.0.0",
67
68
  "@types/validator": "^13.15.10"
68
69
  },
69
- "gitHead": "de0f04f8d547141e5e37daa13540c5a434268686",
70
+ "gitHead": "091231327ebe27c11d882b8ea2e2deadea916697",
70
71
  "prisma": {
71
72
  "seed": "tsx src/core/seed.ts"
72
73
  }