@nomalism-com/api 1.3.45 → 1.3.47
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 +6495 -0
- package/dist/index.js +861 -447
- package/dist/lib/apiError.d.ts +10 -0
- package/dist/main.d.ts +8 -6
- package/dist/modules/document/CAT.d.ts +1 -1
- package/dist/modules/document/NPF.d.ts +1 -1
- package/dist/modules/document/NRCL.d.ts +1 -1
- package/dist/modules/document/billOfLading.d.ts +1 -1
- package/dist/modules/document/inventario.d.ts +1 -1
- package/dist/modules/document/materialEntrance.d.ts +1 -1
- package/dist/modules/document/order.d.ts +1 -1
- package/dist/modules/document/productionOrder.d.ts +1 -1
- package/dist/modules/document/proforma.d.ts +1 -1
- package/dist/modules/document/propostaFornecedor.d.ts +1 -1
- package/dist/modules/document/propostaSheets.d.ts +1 -1
- package/dist/modules/document/providerCreditNoteFromReturn.d.ts +1 -1
- package/dist/modules/document/providerFinancialCreditNote.d.ts +1 -1
- package/dist/modules/document/providerServiceInvoice.d.ts +1 -1
- package/dist/modules/document/purchase.d.ts +1 -1
- package/dist/modules/document/quebra.d.ts +1 -1
- package/dist/modules/document/returnToProvider.d.ts +1 -1
- package/dist/modules/document/transformado.d.ts +1 -1
- package/dist/modules/document/upfrontReturn.d.ts +1 -1
- package/dist/modules/documentManagement/multimedia.d.ts +3 -3
- package/dist/modules/integration/emailLog.d.ts +1 -1
- package/dist/modules/integration/emailTemplate.d.ts +1 -1
- package/dist/modules/integration/emailTemplateAttachment.d.ts +1 -1
- package/dist/modules/integration/emailVerification.d.ts +1 -1
- package/dist/modules/integration/euPago.d.ts +9 -0
- package/dist/modules/integration/googleFilePermission.d.ts +1 -1
- package/dist/modules/integration/googleSheets.d.ts +1 -1
- package/dist/modules/integration/observation.d.ts +1 -1
- package/dist/modules/integration/observationType.d.ts +1 -1
- package/dist/modules/integration/patchNotes.d.ts +1 -1
- package/dist/modules/integration/personaMerge.d.ts +8 -0
- package/dist/modules/integration/projectInfo.d.ts +1 -1
- package/dist/modules/integration/settings.d.ts +1 -1
- package/dist/modules/llm/llm.d.ts +1 -1
- package/dist/modules/print/npc.d.ts +1 -1
- package/dist/modules/print/printer.d.ts +1 -1
- package/dist/modules/print/schedulePrintJob.d.ts +1 -1
- package/dist/modules/sms/allowedDevice.d.ts +1 -1
- package/dist/modules/sms/smsSender.d.ts +1 -1
- package/dist/modules/sms/smsTemplate.d.ts +1 -1
- package/dist/modules/stock/accountCode.d.ts +1 -1
- package/dist/modules/stock/chat.d.ts +1 -1
- package/dist/modules/stock/chatRapidMessage.d.ts +1 -1
- package/dist/modules/stock/dashboard.d.ts +1 -1
- package/dist/modules/stock/displayLabel.d.ts +10 -0
- package/dist/modules/stock/emailAccount.d.ts +1 -1
- package/dist/modules/stock/file.d.ts +1 -1
- package/dist/modules/stock/gmails.d.ts +1 -1
- package/dist/modules/stock/googleCalendar.d.ts +1 -1
- package/dist/modules/stock/location.d.ts +1 -1
- package/dist/modules/stock/mobilePrint.d.ts +1 -1
- package/dist/modules/stock/prison.d.ts +1 -1
- package/dist/modules/stock/productGoogleSheets.d.ts +1 -1
- package/dist/modules/stock/productImage.d.ts +1 -1
- package/dist/modules/stock/productLocation.d.ts +1 -1
- package/dist/modules/stock/promotion.d.ts +1 -1
- package/dist/modules/stock/queryList.d.ts +1 -1
- package/dist/modules/stock/queryParameter.d.ts +1 -1
- package/dist/modules/stock/recurrentTasks.d.ts +1 -1
- package/dist/modules/stock/returnReason.d.ts +1 -1
- package/dist/modules/stock/savedEmPicking.d.ts +1 -1
- package/dist/modules/stock/savedProviderProposal.d.ts +1 -1
- package/dist/modules/stock/schedule.d.ts +1 -1
- package/dist/modules/stock/stockMovement.d.ts +1 -1
- package/dist/modules/stock/tag.d.ts +1 -1
- package/dist/modules/stock/task.d.ts +1 -1
- package/dist/modules/stock/taskMessage.d.ts +1 -1
- package/dist/modules/stock/taskRead.d.ts +1 -1
- package/dist/modules/stock/typeOfLocation.d.ts +1 -1
- package/dist/modules/stock/unitOfMeasure.d.ts +1 -1
- package/dist/modules/stock/vatTax.d.ts +1 -1
- package/dist/modules/stock/vatTaxZone.d.ts +1 -1
- package/dist/modules/supply/currentAccount.d.ts +1 -1
- package/dist/modules/supply/documentHeader.d.ts +3 -1
- package/dist/modules/supply/documentHeaderHistory.d.ts +1 -1
- package/dist/modules/supply/documentHeaderSubscriber.d.ts +1 -1
- package/dist/modules/supply/documentHeaderSurvey.d.ts +1 -1
- package/dist/modules/supply/documentLine.d.ts +1 -1
- package/dist/modules/supply/documentLineAssoc.d.ts +1 -1
- package/dist/modules/supply/documentLineMt.d.ts +1 -1
- package/dist/modules/supply/documentLineNote.d.ts +1 -1
- package/dist/modules/supply/documentLineRm.d.ts +1 -1
- package/dist/modules/supply/documentSet.d.ts +1 -1
- package/dist/modules/supply/documentType.d.ts +1 -4
- package/dist/modules/supply/externalDocumentHeader.d.ts +1 -1
- package/dist/modules/supply/externalDocumentType.d.ts +1 -1
- package/dist/modules/supply/googleSheetPool.d.ts +1 -1
- package/dist/modules/supply/orderManagement.d.ts +1 -1
- package/dist/modules/supply/payment.d.ts +1 -1
- package/dist/modules/supply/paymentBatch.d.ts +1 -1
- package/dist/modules/supply/preSale.d.ts +1 -1
- package/dist/modules/supply/preSaleProduct.d.ts +1 -1
- package/dist/modules/supply/startDocumentHeaderLastUpdate.d.ts +1 -1
- package/dist/modules/supply/vatValidation.d.ts +1 -1
- package/dist/modules/tickets/channel.d.ts +1 -1
- package/dist/modules/tickets/clt.d.ts +1 -1
- package/dist/modules/tickets/language.d.ts +1 -1
- package/dist/modules/tickets/tickets.d.ts +1 -1
- package/dist/modules/ui/portal.d.ts +1 -1
- package/dist/modules/ui/sideMenu.d.ts +1 -1
- package/dist/modules/ui/sidemenuHighlight.d.ts +1 -1
- package/dist/modules/user/bankData.d.ts +1 -1
- package/dist/modules/user/chatSubscriber.d.ts +1 -1
- package/dist/modules/user/clientType.d.ts +1 -1
- package/dist/modules/user/clients.d.ts +1 -1
- package/dist/modules/user/commissioner.d.ts +1 -1
- package/dist/modules/user/country.d.ts +1 -1
- package/dist/modules/user/deliveryMethods.d.ts +1 -1
- package/dist/modules/user/favorites.d.ts +1 -1
- package/dist/modules/user/language.d.ts +1 -1
- package/dist/modules/user/maturityDates.d.ts +1 -1
- package/dist/modules/user/password.d.ts +1 -1
- package/dist/modules/user/paymentMethods.d.ts +1 -1
- package/dist/modules/user/persona.d.ts +5 -1
- package/dist/modules/user/provider.d.ts +1 -1
- package/dist/modules/user/providerType.d.ts +1 -1
- package/dist/modules/user/purchaseCondition.d.ts +1 -1
- package/dist/modules/user/reasonForExemption.d.ts +1 -1
- package/dist/modules/user/refreshToken.d.ts +1 -1
- package/dist/modules/user/segmentsArea.d.ts +1 -1
- package/dist/modules/user/sessions.d.ts +1 -1
- package/dist/modules/user/shippings.d.ts +1 -1
- package/dist/modules/user/storeOperator.d.ts +1 -1
- package/dist/modules/user/swift.d.ts +1 -1
- package/dist/modules/user/systemModule.d.ts +1 -1
- package/dist/modules/user/tenant.d.ts +1 -1
- package/dist/modules/user/theme.d.ts +1 -1
- package/dist/modules/user/timeSheet.d.ts +1 -1
- package/dist/modules/user/user.d.ts +1 -1
- package/dist/modules/user/userPositions.d.ts +1 -1
- package/dist/modules/user/vehicles.d.ts +1 -1
- package/dist/modules/view/adminPanel.d.ts +1 -1
- package/dist/modules/view/errorLog.d.ts +2 -2
- package/dist/modules/view/webSocket.d.ts +1 -1
- package/package.json +22 -12
- package/dist/modules/stock/promotionAssoc.d.ts +0 -14
- package/dist/modules/supply/workflow.d.ts +0 -12
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.47",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -9,8 +9,14 @@
|
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"import":
|
|
13
|
-
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.cjs"
|
|
19
|
+
}
|
|
14
20
|
}
|
|
15
21
|
},
|
|
16
22
|
"files": [
|
|
@@ -24,24 +30,24 @@
|
|
|
24
30
|
"prepare": "husky"
|
|
25
31
|
},
|
|
26
32
|
"dependencies": {
|
|
27
|
-
"@nomalism-com/types": "^1.3.
|
|
28
|
-
"axios": "^1.
|
|
33
|
+
"@nomalism-com/types": "^1.3.49",
|
|
34
|
+
"axios": "^1.20.0"
|
|
29
35
|
},
|
|
30
36
|
"devDependencies": {
|
|
31
37
|
"@eslint/js": "^10.0.1",
|
|
32
|
-
"@swc/core": "^1.
|
|
33
|
-
"@types/node": "^26.
|
|
38
|
+
"@swc/core": "^1.16.2",
|
|
39
|
+
"@types/node": "^26.6.2",
|
|
34
40
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
35
41
|
"@typescript-eslint/parser": "^8.62.0",
|
|
36
|
-
"eslint": "^10.
|
|
42
|
+
"eslint": "^10.11.0",
|
|
37
43
|
"eslint-config-prettier": "^10.1.8",
|
|
38
44
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
39
|
-
"globals": "^17.
|
|
45
|
+
"globals": "^17.12.0",
|
|
40
46
|
"husky": "^9.1.7",
|
|
41
|
-
"lint-staged": "^17.1
|
|
42
|
-
"prettier": "^3.9.
|
|
47
|
+
"lint-staged": "^17.5.1",
|
|
48
|
+
"prettier": "^3.9.9",
|
|
43
49
|
"tsup": "^8.5.1",
|
|
44
|
-
"typescript-eslint": "^8.
|
|
50
|
+
"typescript-eslint": "^8.70.1"
|
|
45
51
|
},
|
|
46
52
|
"repository": {
|
|
47
53
|
"type": "git",
|
|
@@ -60,5 +66,9 @@
|
|
|
60
66
|
"*.{json,jsonc,css,scss,md,html,yml,yaml}": [
|
|
61
67
|
"prettier --write"
|
|
62
68
|
]
|
|
69
|
+
},
|
|
70
|
+
"allowScripts": {
|
|
71
|
+
"esbuild@0.27.7": true,
|
|
72
|
+
"@swc/core@1.16.2": true
|
|
63
73
|
}
|
|
64
74
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.PromotionAssoc.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(params: Nomalism.PromotionAssoc.IFindRequest): Promise<Nomalism.PromotionAssoc.IFindResponse[]>;
|
|
8
|
-
findPaginated(params: Nomalism.PromotionAssoc.IFindPaginatedRequest): Promise<Nomalism.shared.IPaginationResponse<Nomalism.PromotionAssoc.IFindResponse>>;
|
|
9
|
-
findByOwnerId(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.PromotionAssoc.IFindByOwnerIdResponse[]>;
|
|
10
|
-
findById(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.PromotionAssoc.IFindResponse | null>;
|
|
11
|
-
create(body: Nomalism.PromotionAssoc.ICreateRequest): Promise<Nomalism.PromotionAssoc.IFindByOwnerIdResponse>;
|
|
12
|
-
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.PromotionAssoc.IUpdateRequest): Promise<Nomalism.PromotionAssoc.IFindByOwnerIdResponse | null>;
|
|
13
|
-
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.PromotionAssoc.IFindByOwnerIdResponse | null>;
|
|
14
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.Workflow.IApi {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(params: Nomalism.Workflow.IFindRequest): Promise<Nomalism.Workflow.IFindByOwnerIdResponse[]>;
|
|
8
|
-
findByOwnerId(params: Nomalism.Workflow.IFindByOwnerIdRequest): Promise<Nomalism.Workflow.IFindByOwnerIdResponse[]>;
|
|
9
|
-
create(body: Nomalism.Workflow.ICreateRequest): Promise<Nomalism.Workflow.IFindByOwnerIdResponse>;
|
|
10
|
-
update(selector: Nomalism.shared.IFindByIdNumberRequest, body: Nomalism.Workflow.IUpdateRequest): Promise<Nomalism.Workflow.IFindByOwnerIdResponse | null>;
|
|
11
|
-
deleteOne(selector: Nomalism.shared.IFindByIdNumberRequest): Promise<Nomalism.Workflow.IFindByOwnerIdResponse | null>;
|
|
12
|
-
}
|