@nomalism-com/api 1.3.41 → 1.3.42
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.d.ts +3 -3
- package/dist/index.js +3729 -2685
- package/dist/lib/apiError.d.ts +1 -1
- package/dist/main.d.ts +262 -259
- package/dist/modules/document/CAT.d.ts +2 -2
- package/dist/modules/document/NPF.d.ts +2 -2
- package/dist/modules/document/NRCL.d.ts +2 -2
- package/dist/modules/document/billOfLading.d.ts +2 -2
- package/dist/modules/document/inventario.d.ts +2 -2
- package/dist/modules/document/materialEntrance.d.ts +2 -2
- package/dist/modules/document/order.d.ts +3 -3
- package/dist/modules/document/productionOrder.d.ts +2 -2
- package/dist/modules/document/proforma.d.ts +2 -2
- package/dist/modules/document/propostaFornecedor.d.ts +2 -2
- package/dist/modules/document/propostaSheets.d.ts +2 -2
- package/dist/modules/document/providerCreditNoteFromReturn.d.ts +2 -2
- package/dist/modules/document/providerFinancialCreditNote.d.ts +2 -2
- package/dist/modules/document/providerServiceInvoice.d.ts +2 -2
- package/dist/modules/document/purchase.d.ts +2 -2
- package/dist/modules/document/quebra.d.ts +2 -2
- package/dist/modules/document/returnToProvider.d.ts +2 -2
- package/dist/modules/document/transformado.d.ts +2 -2
- package/dist/modules/document/upfrontReturn.d.ts +2 -2
- package/dist/modules/documentManagement/multimedia.d.ts +3 -3
- package/dist/modules/integration/emailLog.d.ts +2 -2
- package/dist/modules/integration/emailTemplate.d.ts +2 -2
- package/dist/modules/integration/emailTemplateAttachment.d.ts +2 -2
- package/dist/modules/integration/emailVerification.d.ts +2 -2
- package/dist/modules/integration/googleFilePermission.d.ts +2 -2
- package/dist/modules/integration/googleSheets.d.ts +2 -2
- package/dist/modules/integration/observation.d.ts +2 -2
- package/dist/modules/integration/observationType.d.ts +2 -2
- package/dist/modules/integration/patchNotes.d.ts +2 -2
- package/dist/modules/integration/projectInfo.d.ts +2 -2
- package/dist/modules/integration/settings.d.ts +2 -2
- package/dist/modules/llm/llm.d.ts +2 -2
- package/dist/modules/print/npc.d.ts +2 -2
- package/dist/modules/print/printer.d.ts +2 -2
- package/dist/modules/print/schedulePrintJob.d.ts +2 -2
- package/dist/modules/sms/allowedDevice.d.ts +17 -0
- package/dist/modules/sms/smsSender.d.ts +3 -3
- package/dist/modules/sms/smsTemplate.d.ts +3 -3
- package/dist/modules/stock/accountCode.d.ts +2 -2
- package/dist/modules/stock/chat.d.ts +3 -3
- package/dist/modules/stock/chatRapidMessage.d.ts +2 -2
- package/dist/modules/stock/dashboard.d.ts +2 -2
- package/dist/modules/stock/file.d.ts +2 -2
- package/dist/modules/stock/gmails.d.ts +2 -2
- package/dist/modules/stock/googleCalendar.d.ts +2 -2
- package/dist/modules/stock/location.d.ts +2 -2
- package/dist/modules/stock/mobilePrint.d.ts +2 -2
- package/dist/modules/stock/prison.d.ts +2 -2
- package/dist/modules/stock/productGoogleSheets.d.ts +2 -2
- package/dist/modules/stock/productImage.d.ts +2 -2
- package/dist/modules/stock/productLocation.d.ts +2 -2
- package/dist/modules/stock/promotion.d.ts +3 -3
- package/dist/modules/stock/promotionAssoc.d.ts +2 -2
- package/dist/modules/stock/queryList.d.ts +2 -2
- package/dist/modules/stock/queryParameter.d.ts +2 -2
- package/dist/modules/stock/recurrentTasks.d.ts +2 -2
- package/dist/modules/stock/returnReason.d.ts +2 -2
- package/dist/modules/stock/savedEmPicking.d.ts +2 -2
- package/dist/modules/stock/savedProviderProposal.d.ts +2 -2
- package/dist/modules/stock/schedule.d.ts +2 -2
- package/dist/modules/stock/stockMovement.d.ts +3 -3
- package/dist/modules/stock/tag.d.ts +2 -2
- package/dist/modules/stock/task.d.ts +3 -3
- package/dist/modules/stock/taskMessage.d.ts +2 -2
- package/dist/modules/stock/taskRead.d.ts +2 -2
- package/dist/modules/stock/typeOfLocation.d.ts +2 -2
- package/dist/modules/stock/unitOfMeasure.d.ts +2 -2
- package/dist/modules/stock/vatTax.d.ts +2 -2
- package/dist/modules/stock/vatTaxZone.d.ts +2 -2
- package/dist/modules/supply/currentAccount.d.ts +2 -2
- package/dist/modules/supply/documentHeader.d.ts +4 -4
- package/dist/modules/supply/documentHeaderHistory.d.ts +2 -2
- package/dist/modules/supply/documentHeaderSubscriber.d.ts +2 -2
- package/dist/modules/supply/documentHeaderSurvey.d.ts +2 -2
- package/dist/modules/supply/documentLine.d.ts +2 -2
- package/dist/modules/supply/documentLineAssoc.d.ts +2 -2
- package/dist/modules/supply/documentLineMt.d.ts +2 -2
- package/dist/modules/supply/documentLineNote.d.ts +2 -2
- package/dist/modules/supply/documentLineRm.d.ts +2 -2
- package/dist/modules/supply/documentSet.d.ts +2 -2
- package/dist/modules/supply/documentType.d.ts +2 -2
- package/dist/modules/supply/externalDocumentHeader.d.ts +2 -2
- package/dist/modules/supply/externalDocumentType.d.ts +2 -2
- package/dist/modules/supply/googleSheetPool.d.ts +2 -2
- package/dist/modules/supply/orderManagement.d.ts +2 -2
- package/dist/modules/supply/payment.d.ts +2 -2
- package/dist/modules/supply/paymentBatch.d.ts +3 -3
- package/dist/modules/supply/preSale.d.ts +2 -2
- package/dist/modules/supply/preSaleProduct.d.ts +2 -2
- package/dist/modules/supply/saft.d.ts +1 -1
- package/dist/modules/supply/startDocumentHeaderLastUpdate.d.ts +2 -2
- package/dist/modules/supply/vatValidation.d.ts +2 -2
- package/dist/modules/supply/workflow.d.ts +2 -2
- package/dist/modules/tickets/channel.d.ts +5 -5
- package/dist/modules/tickets/clt.d.ts +5 -5
- package/dist/modules/tickets/language.d.ts +5 -5
- package/dist/modules/tickets/tickets.d.ts +2 -2
- package/dist/modules/ui/portal.d.ts +2 -2
- package/dist/modules/ui/sideMenu.d.ts +2 -2
- package/dist/modules/ui/sidemenuHighlight.d.ts +2 -2
- package/dist/modules/user/bankData.d.ts +2 -2
- package/dist/modules/user/chatSubscriber.d.ts +4 -4
- package/dist/modules/user/clientType.d.ts +2 -2
- package/dist/modules/user/clients.d.ts +4 -4
- package/dist/modules/user/commissioner.d.ts +2 -2
- package/dist/modules/user/country.d.ts +2 -2
- package/dist/modules/user/deliveryMethods.d.ts +2 -2
- package/dist/modules/user/favorites.d.ts +2 -2
- package/dist/modules/user/language.d.ts +2 -2
- package/dist/modules/user/maturityDates.d.ts +2 -2
- package/dist/modules/user/password.d.ts +2 -2
- package/dist/modules/user/paymentMethods.d.ts +2 -2
- package/dist/modules/user/persona.d.ts +2 -2
- package/dist/modules/user/provider.d.ts +4 -4
- package/dist/modules/user/providerType.d.ts +2 -2
- package/dist/modules/user/purchaseCondition.d.ts +2 -2
- package/dist/modules/user/reasonForExemption.d.ts +2 -2
- package/dist/modules/user/refreshToken.d.ts +2 -2
- package/dist/modules/user/segmentsArea.d.ts +2 -2
- package/dist/modules/user/sessions.d.ts +2 -2
- package/dist/modules/user/shippings.d.ts +2 -2
- package/dist/modules/user/storeOperator.d.ts +2 -2
- package/dist/modules/user/swift.d.ts +2 -2
- package/dist/modules/user/systemModule.d.ts +2 -2
- package/dist/modules/user/tenant.d.ts +2 -2
- package/dist/modules/user/theme.d.ts +2 -2
- package/dist/modules/user/timeSheet.d.ts +2 -2
- package/dist/modules/user/user.d.ts +2 -2
- package/dist/modules/user/userPositions.d.ts +2 -2
- package/dist/modules/user/vehicles.d.ts +2 -2
- package/dist/modules/user/zipCode.d.ts +2 -2
- package/dist/modules/view/adminPanel.d.ts +2 -2
- package/dist/modules/view/errorLog.d.ts +2 -2
- package/dist/modules/view/webSocket.d.ts +2 -2
- package/package.json +27 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.PurchaseConditions.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.ReasonForExemption.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.RefreshToken.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.SegmentsArea.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Sessions.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Shippings.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.StoreOperator.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export type IPaginationResponse = Nomalism.shared.IPaginationResponse<Nomalism.Swift.IFindResponse>;
|
|
4
4
|
export default class Repository implements Nomalism.Swift.IRepository {
|
|
5
5
|
route: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.SystemModule.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Tenant.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Theme.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class TimesheetRepository implements Nomalism.TimeSheet.IApi {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Users.IApi {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.UserPositions.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Vehicles.IApi {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.ZipCode.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.AdminPanel.IRepository {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Nomalism from
|
|
2
|
-
import { IModuleConstructor } from
|
|
1
|
+
import Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.ErrorLog.IController {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type Nomalism from
|
|
2
|
-
import type { IModuleConstructor } from
|
|
1
|
+
import type Nomalism from "@nomalism-com/types";
|
|
2
|
+
import type { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Service implements Nomalism.WebSocket.IClient {
|
|
4
4
|
route: string;
|
|
5
5
|
constructor({ route }: IModuleConstructor);
|
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": "1.3.
|
|
4
|
+
"version": "1.3.42",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -17,26 +17,31 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"scripts": {
|
|
20
|
-
"lint": "eslint --fix",
|
|
20
|
+
"lint": "eslint . --fix && prettier --write .",
|
|
21
21
|
"prebuild": "rm -rf dist",
|
|
22
22
|
"build": "tsc --emitDeclarationOnly && tsup",
|
|
23
|
-
"prepack": "npm run lint && npm run build"
|
|
23
|
+
"prepack": "npm run lint && npm run build",
|
|
24
|
+
"prepare": "husky"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^1.3.
|
|
27
|
+
"@nomalism-com/types": "^1.3.44",
|
|
27
28
|
"axios": "^1.18.1"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
31
|
+
"@eslint/js": "^10.0.1",
|
|
30
32
|
"@swc/core": "^1.15.43",
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.62.
|
|
33
|
-
"@typescript-eslint/parser": "^8.62.
|
|
34
|
-
"eslint": "^
|
|
33
|
+
"@types/node": "^26.1.1",
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
35
|
+
"@typescript-eslint/parser": "^8.62.0",
|
|
36
|
+
"eslint": "^10.7.0",
|
|
35
37
|
"eslint-config-prettier": "^10.1.8",
|
|
36
|
-
"eslint-import-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
38
|
+
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
39
|
+
"globals": "^17.7.0",
|
|
40
|
+
"husky": "^9.1.7",
|
|
41
|
+
"lint-staged": "^17.0.8",
|
|
42
|
+
"prettier": "^3.9.5",
|
|
43
|
+
"tsup": "^8.5.1",
|
|
44
|
+
"typescript-eslint": "^8.63.0"
|
|
40
45
|
},
|
|
41
46
|
"repository": {
|
|
42
47
|
"type": "git",
|
|
@@ -46,5 +51,14 @@
|
|
|
46
51
|
"url": "https://gitlab.com/nomalism-develop/api/issues"
|
|
47
52
|
},
|
|
48
53
|
"homepage": "https://gitlab.com/nomalism-develop/api",
|
|
49
|
-
"browserslist": "> 0.25%, not dead"
|
|
54
|
+
"browserslist": "> 0.25%, not dead",
|
|
55
|
+
"lint-staged": {
|
|
56
|
+
"*.{js,mjs,cjs,ts,cts,mts}": [
|
|
57
|
+
"eslint --fix",
|
|
58
|
+
"prettier --write"
|
|
59
|
+
],
|
|
60
|
+
"*.{json,jsonc,css,scss,md,html,yml,yaml}": [
|
|
61
|
+
"prettier --write"
|
|
62
|
+
]
|
|
63
|
+
}
|
|
50
64
|
}
|