@ztimson/momentum 0.58.0 → 1.0.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 +201 -200
- package/dist/actions.d.ts +40 -14
- package/dist/actions.d.ts.map +1 -1
- package/dist/ai.d.ts +5 -0
- package/dist/ai.d.ts.map +1 -1
- package/dist/analytics.d.ts +1 -1
- package/dist/analytics.d.ts.map +1 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/auth.d.ts +2 -16
- package/dist/auth.d.ts.map +1 -1
- package/dist/call.d.ts +36 -14
- package/dist/call.d.ts.map +1 -1
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +101 -74
- package/dist/index.mjs +101 -74
- package/dist/momentum.d.ts +4 -2
- package/dist/momentum.d.ts.map +1 -1
- package/dist/momentum.worker.mjs +124 -103
- package/dist/pdf.d.ts +1 -0
- package/dist/pdf.d.ts.map +1 -1
- package/dist/permissions.d.ts +19 -0
- package/dist/permissions.d.ts.map +1 -0
- package/package.json +53 -53
package/README.md
CHANGED
|
@@ -1,200 +1,201 @@
|
|
|
1
|
-
<!-- Header -->
|
|
2
|
-
<div id="top" align="center">
|
|
3
|
-
<br />
|
|
4
|
-
|
|
5
|
-
<!-- Logo -->
|
|
6
|
-
<img src="https://momentum.zakscode.com/favicon.png" alt="Logo" width="200" height="200">
|
|
7
|
-
|
|
8
|
-
<!-- Title -->
|
|
9
|
-
### Momentum
|
|
10
|
-
|
|
11
|
-
<!-- Description -->
|
|
12
|
-
Enterprise Record Management
|
|
13
|
-
|
|
14
|
-
<!-- Repo badges -->
|
|
15
|
-
[](https://git.zakscode.com/momentum/momentum/tags)
|
|
16
|
-
[](https://git.zakscode.com/momentum/momentum/pulls)
|
|
17
|
-
[](https://git.zakscode.com/momentum/momentum/issues)
|
|
18
|
-
|
|
19
|
-
<!-- Links -->
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
<div>
|
|
23
|
-
<a href="https://git.zakscode.com/momentum/momentum/wiki" target="_blank">Documentation</a>
|
|
24
|
-
• <a href="https://git.zakscode.com/momentum/momentum/releases" target="_blank">Release Notes</a>
|
|
25
|
-
• <a href="https://git.zakscode.com/momentum/momentum/issues/new?template=.github%2fissue_template%2fbug.md" target="_blank">Report a Bug</a>
|
|
26
|
-
• <a href="https://git.zakscode.com/momentum/momentum/issues/new?template=.github%2fissue_template%2fenhancement.md" target="_blank">Request a Feature</a>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
## Table of Contents
|
|
33
|
-
- [Momentum](#top)
|
|
34
|
-
- [About](#about)
|
|
35
|
-
- [Built With](#built-with)
|
|
36
|
-
- [Setup](#setup)
|
|
37
|
-
- [Production](#production)
|
|
38
|
-
- [Development](#development)
|
|
39
|
-
- [License](#license)
|
|
40
|
-
|
|
41
|
-
## About
|
|
42
|
-
|
|
43
|
-
https://momentum.zakscode.com
|
|
44
|
-
|
|
45
|
-
Momentum is a self-hosted _Enterprise Resource Planning_ (ERP) tool. What does that mean? We can
|
|
46
|
-
|
|
47
|
-
While several businesses might deliver the same final product as your business, what sets you apart is your institutional knowledge and unique execution. However, most of this is
|
|
48
|
-
lost when businesses are forced to conform to software and not the other way around. This is where Momentum is different.
|
|
49
|
-
|
|
50
|
-
Momentum delivers several feature-packed modules to cover every software need and an intuitive _Content Management System_ (CMS) to connect features as needed.
|
|
51
|
-
And with the built-in AI or a programmer you can build & integrate custom apps and websites in seconds.
|
|
52
|
-
|
|
53
|
-
Here at ZaksCode we believe the current standard software is held to is pitiful. We aim to keep your business by being the best, not vendor lock-in practices.
|
|
54
|
-
Not only do we offer the most features and the best experience, but we do so while being the smallest, fastest, most efficient & secure ERP system out there.
|
|
55
|
-
|
|
56
|
-
Features include:
|
|
57
|
-
- Actions
|
|
58
|
-
- Write server side code to "mod" Momentum & create custom functionality
|
|
59
|
-
- Writen with javascript & the momentum client library to minimize the learning curve
|
|
60
|
-
- Custom library and can be installed & accessed from actions using Docker & NPM
|
|
61
|
-
- Trigger actions via events, CRONs or REST requests
|
|
62
|
-
- Kept in memory for high performance and 0 cold start time
|
|
63
|
-
- AI
|
|
64
|
-
- Ask the assistant questions about your records
|
|
65
|
-
- Automate your workflow and use AI to process data & files automatically
|
|
66
|
-
- Use the AI to build actions, apps & websites with momentum integration
|
|
67
|
-
- Local / Offline ASR & OCR models to extract text from most file types (text, image, pdf, audio, video)
|
|
68
|
-
- Local or remote LLM models
|
|
69
|
-
- Analytics
|
|
70
|
-
- Track device specs & performance
|
|
71
|
-
- Track IP addresses and trace on demand (not stored)
|
|
72
|
-
- Track a user journey (which pages are visited for how long)
|
|
73
|
-
- Track referrers & ad campaigns
|
|
74
|
-
- Track conversion rates & custom metrics tracking
|
|
75
|
-
- UI for viewing all data & running custom reports
|
|
76
|
-
- Authentication
|
|
77
|
-
- Manage users with custom values
|
|
78
|
-
- Manage groups with cascading permissions & custom values
|
|
79
|
-
- Token management for 3rd party applications
|
|
80
|
-
- Full permission system with custom permissions support
|
|
81
|
-
- Account validation & reset emails
|
|
82
|
-
- Optional public registration form
|
|
83
|
-
- Host OAuth portal for custom application login
|
|
84
|
-
- Custom password strength & rotation settings
|
|
85
|
-
- Two-Factor Authentication
|
|
86
|
-
- OAuth & LDAP support
|
|
87
|
-
- Data
|
|
88
|
-
- Advanced search
|
|
89
|
-
- Edit database like an Excel spreadsheet
|
|
90
|
-
- Conditional styling
|
|
91
|
-
- Calculate columns with excel formulas or javascript
|
|
92
|
-
- Granular collection & record level permissions
|
|
93
|
-
- Automatic metadata & history tracking
|
|
94
|
-
- Easy import/export to CSV, Excel & JSON
|
|
95
|
-
- Forms
|
|
96
|
-
- Create forms that integrate with database
|
|
97
|
-
- Create custom reports with graphs, maps & more
|
|
98
|
-
- Granular permissions
|
|
99
|
-
- Logs
|
|
100
|
-
- Save & view server logs for easy debugging
|
|
101
|
-
- Submit logs to track remote environments
|
|
102
|
-
- Capture remote device specs for debugging
|
|
103
|
-
- Unlimited remote logging channels
|
|
104
|
-
- Local logs for debugging mobile devices
|
|
105
|
-
- All changes are recorded and can be reverted
|
|
106
|
-
- Messaging
|
|
107
|
-
- Send emails with SMTP
|
|
108
|
-
- Send notifications to apps
|
|
109
|
-
- Phone call & SMS integration with Twilio
|
|
110
|
-
- Supports WebRTC with built-in STUN/TURN server for video/voice calls
|
|
111
|
-
- Payments
|
|
112
|
-
- Stripe support to handle payments & subscriptions
|
|
113
|
-
- Manage products through spreadsheets
|
|
114
|
-
- Easy form & report integration
|
|
115
|
-
- Create custom discount codes
|
|
116
|
-
- Automatic taxes
|
|
117
|
-
- Storage
|
|
118
|
-
- Store files
|
|
119
|
-
- Share files with any user/group
|
|
120
|
-
- Built-in filebrowser with drag & drop
|
|
121
|
-
- Automatic metadata tracking
|
|
122
|
-
- Full file/folder permissions
|
|
123
|
-
- Static File Server
|
|
124
|
-
- Host your web applications with the API
|
|
125
|
-
- Built-in filebrowser with drag & drop
|
|
126
|
-
- Automatic metadata tracking
|
|
127
|
-
- Configurable routing
|
|
128
|
-
- Settings
|
|
129
|
-
- Full theming & white label support
|
|
130
|
-
- Manage the server through variables which can be changed at runtime
|
|
131
|
-
- Create & use custom variables for your application
|
|
132
|
-
- Miscellaneous
|
|
133
|
-
- CCPA / GDPR / PIPEDA compliant
|
|
134
|
-
- Configurable Terms of Service & Privacy Policy
|
|
135
|
-
- Automatic notifications/SMS/call/email alerts
|
|
136
|
-
- Generate PDFs from templates, forms, pages or HTML
|
|
137
|
-
- Turn any website into an offline mobile/desktop app
|
|
138
|
-
- Caching & offline support built in
|
|
139
|
-
- Live collaborative editing
|
|
140
|
-
- All features support REST for easy integration with websites & apps
|
|
141
|
-
- Writen documentation & OpenApi docs
|
|
142
|
-
- Extremely light weight & small
|
|
143
|
-
- Configurable endpoint protection with rate limiting & CAPTCHA bot detection
|
|
144
|
-
- Handles thousands of requests per second per instance while losing < 1GB of RAM
|
|
145
|
-
- Prometheus metrics
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
[](https://git.zakscode.com/momentum/momentum/tags)
|
|
16
|
+
[](https://git.zakscode.com/momentum/momentum/pulls)
|
|
17
|
+
[](https://git.zakscode.com/momentum/momentum/issues)
|
|
18
|
+
|
|
19
|
+
<!-- Links -->
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
<div>
|
|
23
|
+
<a href="https://git.zakscode.com/momentum/momentum/wiki" target="_blank">Documentation</a>
|
|
24
|
+
• <a href="https://git.zakscode.com/momentum/momentum/releases" target="_blank">Release Notes</a>
|
|
25
|
+
• <a href="https://git.zakscode.com/momentum/momentum/issues/new?template=.github%2fissue_template%2fbug.md" target="_blank">Report a Bug</a>
|
|
26
|
+
• <a href="https://git.zakscode.com/momentum/momentum/issues/new?template=.github%2fissue_template%2fenhancement.md" target="_blank">Request a Feature</a>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
## Table of Contents
|
|
33
|
+
- [Momentum](#top)
|
|
34
|
+
- [About](#about)
|
|
35
|
+
- [Built With](#built-with)
|
|
36
|
+
- [Setup](#setup)
|
|
37
|
+
- [Production](#production)
|
|
38
|
+
- [Development](#development)
|
|
39
|
+
- [License](#license)
|
|
40
|
+
|
|
41
|
+
## About
|
|
42
|
+
|
|
43
|
+
https://momentum.zakscode.com
|
|
44
|
+
|
|
45
|
+
Momentum is a self-hosted _Enterprise Resource Planning_ (ERP) tool with a _content managment system_ (CMS). What does that mean? We can automate your businesses day-to-day operations and give you a pretty interface to control it by storing & coordinating your data & information; from any location or server.
|
|
46
|
+
|
|
47
|
+
While several businesses might deliver the same final product as your business, what sets you apart is your institutional knowledge and unique execution. However, most of this is
|
|
48
|
+
lost when businesses are forced to conform to software and not the other way around. This is where Momentum is different.
|
|
49
|
+
|
|
50
|
+
Momentum delivers several feature-packed modules to cover every software need and an intuitive _Content Management System_ (CMS) to connect features as needed.
|
|
51
|
+
And with the built-in AI or a programmer you can build & integrate custom apps and websites in seconds.
|
|
52
|
+
|
|
53
|
+
Here at ZaksCode we believe the current standard software is held to is pitiful. We aim to keep your business by being the best, not vendor lock-in practices.
|
|
54
|
+
Not only do we offer the most features and the best experience, but we do so while being the smallest, fastest, most efficient & secure ERP system out there.
|
|
55
|
+
|
|
56
|
+
Features include:
|
|
57
|
+
- Actions
|
|
58
|
+
- Write server side code to "mod" Momentum & create custom functionality
|
|
59
|
+
- Writen with javascript & the momentum client library to minimize the learning curve
|
|
60
|
+
- Custom library and can be installed & accessed from actions using Docker & NPM
|
|
61
|
+
- Trigger actions via events, CRONs or REST requests
|
|
62
|
+
- Kept in memory for high performance and 0 cold start time
|
|
63
|
+
- AI
|
|
64
|
+
- Ask the assistant questions about your records
|
|
65
|
+
- Automate your workflow and use AI to process data & files automatically
|
|
66
|
+
- Use the AI to build actions, apps & websites with momentum integration
|
|
67
|
+
- Local / Offline ASR & OCR models to extract text from most file types (text, image, pdf, audio, video)
|
|
68
|
+
- Local or remote LLM models
|
|
69
|
+
- Analytics
|
|
70
|
+
- Track device specs & performance
|
|
71
|
+
- Track IP addresses and trace on demand (not stored)
|
|
72
|
+
- Track a user journey (which pages are visited for how long)
|
|
73
|
+
- Track referrers & ad campaigns
|
|
74
|
+
- Track conversion rates & custom metrics tracking
|
|
75
|
+
- UI for viewing all data & running custom reports
|
|
76
|
+
- Authentication
|
|
77
|
+
- Manage users with custom values
|
|
78
|
+
- Manage groups with cascading permissions & custom values
|
|
79
|
+
- Token management for 3rd party applications
|
|
80
|
+
- Full permission system with custom permissions support
|
|
81
|
+
- Account validation & reset emails
|
|
82
|
+
- Optional public registration form
|
|
83
|
+
- Host OAuth portal for custom application login
|
|
84
|
+
- Custom password strength & rotation settings
|
|
85
|
+
- Two-Factor Authentication
|
|
86
|
+
- OAuth & LDAP support
|
|
87
|
+
- Data
|
|
88
|
+
- Advanced search
|
|
89
|
+
- Edit database like an Excel spreadsheet
|
|
90
|
+
- Conditional styling
|
|
91
|
+
- Calculate columns with excel formulas or javascript
|
|
92
|
+
- Granular collection & record level permissions
|
|
93
|
+
- Automatic metadata & history tracking
|
|
94
|
+
- Easy import/export to CSV, Excel & JSON
|
|
95
|
+
- Forms
|
|
96
|
+
- Create forms that integrate with database
|
|
97
|
+
- Create custom reports with graphs, maps & more
|
|
98
|
+
- Granular permissions
|
|
99
|
+
- Logs
|
|
100
|
+
- Save & view server logs for easy debugging
|
|
101
|
+
- Submit logs to track remote environments
|
|
102
|
+
- Capture remote device specs for debugging
|
|
103
|
+
- Unlimited remote logging channels
|
|
104
|
+
- Local logs for debugging mobile devices
|
|
105
|
+
- All changes are recorded and can be reverted
|
|
106
|
+
- Messaging
|
|
107
|
+
- Send emails with SMTP
|
|
108
|
+
- Send notifications to apps
|
|
109
|
+
- Phone call & SMS integration with Twilio
|
|
110
|
+
- Supports WebRTC with built-in STUN/TURN server for video/voice calls
|
|
111
|
+
- Payments
|
|
112
|
+
- Stripe support to handle payments & subscriptions
|
|
113
|
+
- Manage products through spreadsheets
|
|
114
|
+
- Easy form & report integration
|
|
115
|
+
- Create custom discount codes
|
|
116
|
+
- Automatic taxes
|
|
117
|
+
- Storage
|
|
118
|
+
- Store files
|
|
119
|
+
- Share files with any user/group
|
|
120
|
+
- Built-in filebrowser with drag & drop
|
|
121
|
+
- Automatic metadata tracking
|
|
122
|
+
- Full file/folder permissions
|
|
123
|
+
- Static File Server
|
|
124
|
+
- Host your web applications with the API
|
|
125
|
+
- Built-in filebrowser with drag & drop
|
|
126
|
+
- Automatic metadata tracking
|
|
127
|
+
- Configurable routing
|
|
128
|
+
- Settings
|
|
129
|
+
- Full theming & white label support
|
|
130
|
+
- Manage the server through variables which can be changed at runtime
|
|
131
|
+
- Create & use custom variables for your application
|
|
132
|
+
- Miscellaneous
|
|
133
|
+
- CCPA / GDPR / PIPEDA compliant
|
|
134
|
+
- Configurable Terms of Service & Privacy Policy
|
|
135
|
+
- Automatic notifications/SMS/call/email alerts
|
|
136
|
+
- Generate PDFs from templates, forms, pages or HTML
|
|
137
|
+
- Turn any website into an offline mobile/desktop app
|
|
138
|
+
- Caching & offline support built in
|
|
139
|
+
- Live collaborative editing
|
|
140
|
+
- All features support REST for easy integration with websites & apps
|
|
141
|
+
- Writen documentation & OpenApi docs
|
|
142
|
+
- Extremely light weight & small
|
|
143
|
+
- Configurable endpoint protection with rate limiting & CAPTCHA bot detection
|
|
144
|
+
- Handles thousands of requests per second per instance while losing < 1GB of RAM
|
|
145
|
+
- Prometheus metrics
|
|
146
|
+
|
|
147
|
+
Demo Sites:
|
|
148
|
+
- https://law.momentum.zakscode.com
|
|
149
|
+
|
|
150
|
+
### Built With
|
|
151
|
+
[](https://docker.com/)
|
|
152
|
+
[](https://www.mongodb.com/)
|
|
153
|
+
[](https://nodejs.org/)
|
|
154
|
+
[](https://typescriptlang.org/)
|
|
155
|
+
|
|
156
|
+
## Setup
|
|
157
|
+
|
|
158
|
+
<details>
|
|
159
|
+
<summary>
|
|
160
|
+
<h3 id="production" style="display: inline">Production</h3>
|
|
161
|
+
</summary>
|
|
162
|
+
|
|
163
|
+
#### Prerequisites
|
|
164
|
+
- [Docker](https://docs.docker.com/install/)
|
|
165
|
+
|
|
166
|
+
#### Instructions
|
|
167
|
+
1. _Optional: Use momentum to host your [static site](https://git.zakscode.com/momentum/momentum/wiki/Static)_
|
|
168
|
+
2. Download the [docker-compose](https://git.zakscode.com/momentum/momentum/src/branch/develop/docker-compose.yml) file: `curl -o momentum.yaml https://git.zakscode.com/momentum/momentum/raw/branch/develop/docker-compose.yml`
|
|
169
|
+
3. Configure the [Environment Variables](https://git.zakscode.com/momentum/momentum/wiki/Environment-Variables) inside the docker-compose
|
|
170
|
+
4. Start the server with: `docker-compose up -f momentum.yaml`
|
|
171
|
+
5. Open http://localhost:80
|
|
172
|
+
- Default login: `admin/admin`
|
|
173
|
+
- Configure [System Variables](https://git.zakscode.com/ztimson/momentum/wiki/System-Variables)
|
|
174
|
+
|
|
175
|
+
</details>
|
|
176
|
+
|
|
177
|
+
<details>
|
|
178
|
+
<summary>
|
|
179
|
+
<h3 id="development" style="display: inline">Development</h3>
|
|
180
|
+
</summary>
|
|
181
|
+
|
|
182
|
+
#### Prerequisites
|
|
183
|
+
- [Docker](https://docs.docker.com/install/)
|
|
184
|
+
- [Node.js](https://nodejs.org/en/download)
|
|
185
|
+
|
|
186
|
+
##### Optional
|
|
187
|
+
- _[ffmpeg](https://ffmpeg.org/download.html) (Video utilities)_
|
|
188
|
+
|
|
189
|
+
#### Instructions
|
|
190
|
+
1. Install the dependencies: `npm install`
|
|
191
|
+
2. Configure [System Variables](https://git.zakscode.com/momentum/momentum/wiki/System-Variables)
|
|
192
|
+
3. Start MongoDB: `docker-compose up db`
|
|
193
|
+
4. Start the dev server: `npm run start`
|
|
194
|
+
5. Open http://localhost:3000
|
|
195
|
+
|
|
196
|
+
</details>
|
|
197
|
+
|
|
198
|
+
## License
|
|
199
|
+
Copyright © 2024 Zakary Timson | All Rights Reserved
|
|
200
|
+
|
|
201
|
+
See the [license](./LICENSE) for more information.
|
package/dist/actions.d.ts
CHANGED
|
@@ -2,16 +2,40 @@ import { HttpRequestOptions } from '@ztimson/utils';
|
|
|
2
2
|
import { AssetController } from './asset-controller';
|
|
3
3
|
import { Meta } from './core';
|
|
4
4
|
import { Momentum } from './momentum';
|
|
5
|
+
export type ToolArgs = {
|
|
6
|
+
[key: string]: {
|
|
7
|
+
/** Argument type */
|
|
8
|
+
type: 'array' | 'boolean' | 'number' | 'object' | 'string';
|
|
9
|
+
/** Argument description */
|
|
10
|
+
description: string;
|
|
11
|
+
/** Required argument */
|
|
12
|
+
required?: boolean;
|
|
13
|
+
/** Default value */
|
|
14
|
+
default?: any;
|
|
15
|
+
/** Options */
|
|
16
|
+
enum?: string[];
|
|
17
|
+
/** Minimum value or length */
|
|
18
|
+
min?: number;
|
|
19
|
+
/** Maximum value or length */
|
|
20
|
+
max?: number;
|
|
21
|
+
/** Match pattern */
|
|
22
|
+
pattern?: string;
|
|
23
|
+
/** Child arguments */
|
|
24
|
+
items?: {
|
|
25
|
+
[key: string]: ToolArgs;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
5
29
|
/** Action model */
|
|
6
30
|
export type Action = Meta & {
|
|
7
31
|
/** Action name */
|
|
8
32
|
name: string;
|
|
9
33
|
/** Disable action */
|
|
10
34
|
disabled?: boolean;
|
|
11
|
-
/** Trigger with CRON, CRUD or Event */
|
|
35
|
+
/** Trigger with AI call, CRON, CRUD or Event */
|
|
12
36
|
trigger: {
|
|
13
37
|
type: ActionType;
|
|
14
|
-
value: string;
|
|
38
|
+
value: string | ToolArgs;
|
|
15
39
|
};
|
|
16
40
|
/** Run as system or with triggering user permissions */
|
|
17
41
|
system?: boolean | null;
|
|
@@ -45,22 +69,24 @@ export type ActionResult = {
|
|
|
45
69
|
/** Action return value */
|
|
46
70
|
readonly return?: any;
|
|
47
71
|
};
|
|
48
|
-
/** Action triggers */
|
|
72
|
+
/** Action triggers - Ordered to optimize filtering */
|
|
49
73
|
export declare enum ActionType {
|
|
50
|
-
/** CRON Job */
|
|
51
|
-
'CRON' = 0,
|
|
52
|
-
/** Internal Event */
|
|
53
|
-
'EVENT' = 1,
|
|
54
74
|
/** HTTP DELETE request */
|
|
55
|
-
'DELETE' =
|
|
56
|
-
/** HTTP GET request */
|
|
57
|
-
'GET' = 3,
|
|
58
|
-
/** HTTP PATCH request */
|
|
59
|
-
'PATCH' = 4,
|
|
75
|
+
'DELETE' = 0,
|
|
60
76
|
/** HTTP POST request */
|
|
61
|
-
'POST' =
|
|
77
|
+
'POST' = 1,
|
|
78
|
+
/** HTTP PATCH request */
|
|
79
|
+
'PATCH' = 2,
|
|
62
80
|
/** HTTP PUT request */
|
|
63
|
-
'PUT' =
|
|
81
|
+
'PUT' = 3,
|
|
82
|
+
/** HTTP GET request */
|
|
83
|
+
'GET' = 4,
|
|
84
|
+
/** Internal Event */
|
|
85
|
+
'EVENT' = 6,
|
|
86
|
+
/** CRON Job */
|
|
87
|
+
'CRON' = 5,
|
|
88
|
+
/** AI tool call */
|
|
89
|
+
'AI' = 7
|
|
64
90
|
}
|
|
65
91
|
/** Run cloud functions & custom code */
|
|
66
92
|
export declare class Actions extends AssetController<Action> {
|
package/dist/actions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,mBAAmB;AACnB,MAAM,MAAM,MAAM,GAAG,IAAI,GAAG;IAC3B,kBAAkB;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,MAAM,MAAM,QAAQ,GAAG;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG;QACtC,oBAAoB;QACpB,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;QAC3D,2BAA2B;QAC3B,WAAW,EAAE,MAAM,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
7
|
readonly model: string;
|
|
8
|
+
/** Available tools */
|
|
9
|
+
readonly tools: {
|
|
10
|
+
[name: string]: string;
|
|
11
|
+
};
|
|
8
12
|
};
|
|
9
13
|
export type AiMessage = {
|
|
10
14
|
/** Message type */
|
|
@@ -36,6 +40,7 @@ export declare class Ai extends PathEventEmitter {
|
|
|
36
40
|
stream?: (chunk: {
|
|
37
41
|
text?: string;
|
|
38
42
|
done?: boolean;
|
|
43
|
+
tool?: string;
|
|
39
44
|
}) => any;
|
|
40
45
|
}): Promise<string>;
|
|
41
46
|
/**
|
package/dist/ai.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../src/ai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAM,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,MAAM,MAAM,MAAM,GAAG;IACpB,kDAAkD;IAClD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4BAA4B;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../src/ai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAM,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,MAAM,MAAM,MAAM,GAAG;IACpB,kDAAkD;IAClD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4BAA4B;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,sBAAsB;IACtB,QAAQ,CAAC,KAAK,EAAE;QAAC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAA;CACxC,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACvB,mBAAmB;IACnB,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IACrE,uBAAuB;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,uBAAuB;IACvB,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,oBAAoB;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CACzB,CAAA;AAED,sBAAsB;AACtB,qBAAa,EAAG,SAAQ,gBAAgB;IAC3B,SAAS,CAAC,QAAQ,EAAE,QAAQ;gBAAlB,QAAQ,EAAE,QAAQ;IAIxC,iCAAiC;IACjC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAItB;;;;;OAKG;IACG,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,GAAE;QAAC,OAAO,CAAC,EAAE,GAAG,CAAC;QAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;QAAC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE;YAAC,IAAI,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,OAAO,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAA;SAAC,KAAK,GAAG,CAAA;KAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA2BpK;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAKtB;;;OAGG;IACH,OAAO,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;IAO/B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC;CAGvB"}
|
package/dist/analytics.d.ts
CHANGED
|
@@ -178,7 +178,7 @@ export declare class Analytics extends AssetController<AnalyticInfo> {
|
|
|
178
178
|
set consent(value: boolean | undefined);
|
|
179
179
|
private _id;
|
|
180
180
|
get id(): string;
|
|
181
|
-
|
|
181
|
+
set id(id: string);
|
|
182
182
|
private _new;
|
|
183
183
|
private set new(value);
|
|
184
184
|
get new(): boolean;
|
package/dist/analytics.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../src/analytics.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG;IACjC,wBAAwB;IACxB,QAAQ,CAAC,UAAU,EAAE;QACpB,kEAAkE;QAClE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,8DAA8D;QAC9D,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,8BAA8B;QAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAC3B,mDAAmD;QACnD,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,mDAAmD;QACnD,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,0BAA0B;IAC1B,QAAQ,CAAC,OAAO,EAAE;QACjB,mBAAmB;QACnB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,sBAAsB;QACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAC1B,4BAA4B;QAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KACvB,CAAC;IACF,6CAA6C;IAC7C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,2CAA2C;IAC3C,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,sBAAsB;IACtB,QAAQ,CAAC,GAAG,EAAE;QACb,uBAAuB;QACvB,QAAQ,CAAC,YA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,OAAO,CAAC,CAAC,EAAE,OAAO,EAAE,kBAAkB,GAAG,eAAe,CAAC,CAAC,CAAC;CAqB3D"}
|
package/dist/auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PathEventEmitter } from './core';
|
|
2
2
|
import { Momentum } from './momentum';
|
|
3
3
|
import { Totp, TotpMethods } from './totp';
|
|
4
4
|
import { User } from './users';
|
|
@@ -22,26 +22,12 @@ export declare class Auth extends PathEventEmitter {
|
|
|
22
22
|
/** Manage user 2FA */
|
|
23
23
|
totp: Totp;
|
|
24
24
|
session?: SessionData | null;
|
|
25
|
-
private _permissions;
|
|
26
|
-
/** Get current user permissions */
|
|
27
|
-
get permissions(): string[];
|
|
28
|
-
private set permissions(value);
|
|
29
25
|
private _user?;
|
|
30
26
|
/** Get current user, undefined if not yet initialized */
|
|
31
27
|
get user(): User | null | undefined;
|
|
32
28
|
/** Update user info without changing the session */
|
|
33
29
|
set user(user: User | null | undefined);
|
|
34
30
|
constructor(momentum: Momentum);
|
|
35
|
-
/** Filter list of permissions to ones the user has */
|
|
36
|
-
filter: (...events: (string | PathEvent)[]) => PathEvent[];
|
|
37
|
-
/** Does user have any permissions (or) */
|
|
38
|
-
has: (...events: (string | PathEvent)[]) => boolean;
|
|
39
|
-
/** Does user have all permissions (and) */
|
|
40
|
-
hasAll: (...events: (string | PathEvent)[]) => boolean;
|
|
41
|
-
/** Raise error if user has no permissions (or) */
|
|
42
|
-
hasFatal: (...events: (string | PathEvent)[]) => void;
|
|
43
|
-
/** Raise error if user missing any permissions (and) */
|
|
44
|
-
hasAllFatal: (...events: (string | PathEvent)[]) => void;
|
|
45
31
|
handleLogin(reload?: boolean): Promise<SessionData | null | undefined>;
|
|
46
32
|
/**
|
|
47
33
|
* Check if origin is recognized & whitelisted
|
|
@@ -104,7 +90,7 @@ export declare class Auth extends PathEventEmitter {
|
|
|
104
90
|
*/
|
|
105
91
|
readSession(token?: string | null, set?: boolean): Promise<SessionData | null>;
|
|
106
92
|
/** Unlock an account that has been locked from too many login attempts */
|
|
107
|
-
unlock(username: string): Promise<
|
|
93
|
+
unlock(username: string): Promise<any>;
|
|
108
94
|
/**
|
|
109
95
|
* Update password for user
|
|
110
96
|
* @param {string} username User to reset
|
package/dist/auth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,gBAAgB,EAAM,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,QAAQ,CAAC;AACzC,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAElC,MAAM,MAAM,WAAW,GAAG;IACzB,iBAAiB;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,mBAAmB;IACnB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,6BAA6B;IAC7B,MAAM,EAAE,GAAG,CAAC;IACZ,wBAAwB;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,oCAAoC;IACpC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,2BAA2B;IAC3B,WAAW,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA;AAED,iCAAiC;AACjC,qBAAa,IAAK,SAAQ,gBAAgB;IAiB7B,SAAS,CAAC,QAAQ,EAAE,QAAQ;IAhBxC,sBAAsB;IACf,IAAI,EAAG,IAAI,CAAC;IAEnB,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAE7B,OAAO,CAAC,KAAK,CAAC,CAAc;IAC5B,yDAAyD;IACzD,IAAI,IAAI,IAA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