@nomalism-com/api 0.47.11 → 0.47.12
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/index.js +322 -267
- package/dist/main.d.ts +3 -0
- package/dist/modules/stock/emailAccount.d.ts +15 -0
- package/package.json +7 -7
package/dist/main.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ import AccountCodeClass from "./modules/stock/accountCode";
|
|
|
41
41
|
import ChatClass from "./modules/stock/chat";
|
|
42
42
|
import ChatRapidMessageClass from "./modules/stock/chatRapidMessage";
|
|
43
43
|
import DashboardClass from "./modules/stock/dashboard";
|
|
44
|
+
import EmailAccountClass from "./modules/stock/emailAccount";
|
|
44
45
|
import FileClass from "./modules/stock/file";
|
|
45
46
|
import GmailsClass from "./modules/stock/gmails";
|
|
46
47
|
import GoogleCalendarClass from "./modules/stock/googleCalendar";
|
|
@@ -166,6 +167,7 @@ export * as SmsTemplate from "./modules/sms/smsTemplate";
|
|
|
166
167
|
export * as AccountCode from "./modules/stock/accountCode";
|
|
167
168
|
export * as ChatRapidMessage from "./modules/stock/chatRapidMessage";
|
|
168
169
|
export * as Dashboard from "./modules/stock/dashboard";
|
|
170
|
+
export * as EmailAccount from "./modules/stock/emailAccount";
|
|
169
171
|
export * as File from "./modules/stock/file";
|
|
170
172
|
export * as Gmail from "./modules/stock/gmails";
|
|
171
173
|
export * as GoogleCalendar from "./modules/stock/googleCalendar";
|
|
@@ -387,6 +389,7 @@ export declare class API {
|
|
|
387
389
|
ChatSubscriber: ChatSubscriberClass;
|
|
388
390
|
Tag: TagClass;
|
|
389
391
|
Gmails: GmailsClass;
|
|
392
|
+
EmailAccount: EmailAccountClass;
|
|
390
393
|
NPF: NPFClass;
|
|
391
394
|
NRCL: NRCLClass;
|
|
392
395
|
PaymentBatch: PaymentBatchClass;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
|
+
export default class Repository implements Nomalism.EmailAccount.IRepository {
|
|
4
|
+
route: string;
|
|
5
|
+
private api;
|
|
6
|
+
constructor({ api, route }: IModuleConstructor);
|
|
7
|
+
find(): Promise<Nomalism.EmailAccount.IEmailAccountResponse[]>;
|
|
8
|
+
findById(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.EmailAccount.IEmailAccountResponse>;
|
|
9
|
+
create(data: Nomalism.EmailAccount.ICreateRequest): Promise<Nomalism.EmailAccount.ICreateResponse>;
|
|
10
|
+
update(selector: Nomalism.shared.IFindByIdRequest, data: Nomalism.EmailAccount.IUpdateRequest): Promise<void>;
|
|
11
|
+
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<void>;
|
|
12
|
+
auth(selector: Nomalism.shared.IFindByIdRequest): Promise<string>;
|
|
13
|
+
sync(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.EmailAccount.ISyncResultResponse>;
|
|
14
|
+
syncAll(): Promise<Nomalism.EmailAccount.ISyncResultResponse[]>;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.47.
|
|
4
|
+
"version": "0.47.12",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
"prepare": "husky"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nomalism-com/types": "^0.47.
|
|
27
|
+
"@nomalism-com/types": "^0.47.12",
|
|
28
28
|
"axios": "^1.18.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@eslint/js": "^10.0.1",
|
|
32
|
-
"@swc/core": "^1.15.
|
|
32
|
+
"@swc/core": "^1.15.46",
|
|
33
33
|
"@types/node": "^26.1.1",
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
35
35
|
"@typescript-eslint/parser": "^8.62.0",
|
|
36
|
-
"eslint": "^10.
|
|
36
|
+
"eslint": "^10.7.0",
|
|
37
37
|
"eslint-config-prettier": "^10.1.8",
|
|
38
|
-
"eslint-plugin-simple-import-sort": "^
|
|
38
|
+
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
39
39
|
"globals": "^17.7.0",
|
|
40
40
|
"husky": "^9.1.7",
|
|
41
|
-
"lint-staged": "^17.0
|
|
41
|
+
"lint-staged": "^17.1.0",
|
|
42
42
|
"prettier": "^3.9.5",
|
|
43
43
|
"tsup": "^8.5.1",
|
|
44
|
-
"typescript-eslint": "^8.
|
|
44
|
+
"typescript-eslint": "^8.65.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|