@nomalism-com/api 0.51.8 → 0.51.10
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.cjs +148 -114
- package/dist/index.js +148 -114
- package/dist/main.d.ts +3 -0
- package/dist/modules/supply/currentAccount.d.ts +2 -0
- package/dist/modules/supply/documentHeader.d.ts +1 -1
- package/dist/modules/tickets/tts.d.ts +8 -0
- package/package.json +2 -2
package/dist/main.d.ts
CHANGED
|
@@ -94,6 +94,7 @@ import ChannelClass from "./modules/tickets/channel";
|
|
|
94
94
|
import CltClass from "./modules/tickets/clt";
|
|
95
95
|
import TicketsLanguageClass from "./modules/tickets/language";
|
|
96
96
|
import TicketsClass from "./modules/tickets/tickets";
|
|
97
|
+
import TtsClass from "./modules/tickets/tts";
|
|
97
98
|
import PortalClass from "./modules/ui/portal";
|
|
98
99
|
import SideMenuClass from "./modules/ui/sideMenu";
|
|
99
100
|
import SidemenuHighlightClass from "./modules/ui/sidemenuHighlight";
|
|
@@ -218,6 +219,7 @@ export * as Channel from "./modules/tickets/channel";
|
|
|
218
219
|
export * as Clt from "./modules/tickets/clt";
|
|
219
220
|
export * as TicketsLanguage from "./modules/tickets/language";
|
|
220
221
|
export * as Tickets from "./modules/tickets/tickets";
|
|
222
|
+
export * as Tts from "./modules/tickets/tts";
|
|
221
223
|
export * as Portal from "./modules/ui/portal";
|
|
222
224
|
export * as SideMenu from "./modules/ui/sideMenu";
|
|
223
225
|
export * as SidemenuHighlight from "./modules/ui/sidemenuHighlight";
|
|
@@ -345,6 +347,7 @@ export declare class API {
|
|
|
345
347
|
Tickets: TicketsClass;
|
|
346
348
|
Channel: ChannelClass;
|
|
347
349
|
TicketsLanguage: TicketsLanguageClass;
|
|
350
|
+
Tts: TtsClass;
|
|
348
351
|
Clt: CltClass;
|
|
349
352
|
StartDocumentHeaderLastUpdate: StartDocumentHeaderLastUpdateClass;
|
|
350
353
|
Persona: PersonaClass;
|
|
@@ -10,5 +10,7 @@ export default class Repository implements Nomalism.CurrentAccount.IRepository {
|
|
|
10
10
|
findClientUnpaidCredit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IDocumentResponse[]>;
|
|
11
11
|
findClientOverpaidCredit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IDocumentResponse[]>;
|
|
12
12
|
findClientUnpaidDebit(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.CurrentAccount.IDocumentResponse[]>;
|
|
13
|
+
findAccountAdjustment(params: Nomalism.CurrentAccount.IAccountAdjustmentRequest): Promise<Nomalism.CurrentAccount.IAccountAdjustmentPreview>;
|
|
14
|
+
createAccountAdjustment(data: Nomalism.CurrentAccount.ICreateAccountAdjustmentRequest): Promise<Nomalism.CurrentAccount.ICreateAccountAdjustmentResponse>;
|
|
13
15
|
getExportCurrentAccountUrl({ owner_id, start_date, end_date, output, token, }: Nomalism.CurrentAccount.IExportCurrentAccountRequest): string;
|
|
14
16
|
}
|
|
@@ -20,7 +20,7 @@ export default class Repository implements Nomalism.DocumentHeader.IRepository {
|
|
|
20
20
|
markUnsentClientNotification({ id, }: Nomalism.shared.IFindByIdRequest): Promise<void>;
|
|
21
21
|
documentPdf({ id }: Nomalism.shared.IFindByIdRequest): Promise<string>;
|
|
22
22
|
getDocumentPdfUrl({ id }: Nomalism.shared.IFindByIdRequest, data?: Nomalism.DocumentHeader.IDocumentPdfRequest): string;
|
|
23
|
-
documentThermalPrint({ id
|
|
23
|
+
documentThermalPrint({ id }: Nomalism.shared.IFindByIdRequest, query?: Nomalism.DocumentHeader.IThermalPrintRequest): Promise<Nomalism.DocumentHeader.IThermalPrintOperation[]>;
|
|
24
24
|
documentList({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.DocumentHeader.IDocumentListResponse[]>;
|
|
25
25
|
findStartDocumentHeaderSiblings({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.DocumentHeader.IFindStartDocumentHeaderSiblingsResponse>;
|
|
26
26
|
createSiteProposal(data: Nomalism.shared.IBrokerTopicPayload[Nomalism.shared.IBrokerTopic.create_site_proposal]): Promise<Nomalism.ProjectInfo.ICreateResponse>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
|
+
export default class Repository implements Nomalism.Tts.IRepository {
|
|
4
|
+
route: string;
|
|
5
|
+
private api;
|
|
6
|
+
constructor({ api, route }: IModuleConstructor);
|
|
7
|
+
synthesize(body: Nomalism.Tts.ISynthesizeRequest): Promise<Nomalism.Tts.ISynthesizeResponse>;
|
|
8
|
+
}
|
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.51.
|
|
4
|
+
"version": "0.51.10",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepare": "husky"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nomalism-com/types": "^0.51.
|
|
33
|
+
"@nomalism-com/types": "^0.51.9",
|
|
34
34
|
"axios": "^1.20.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|