@nomalism-com/api 1.3.45 → 1.3.46
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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.DocumentHeader.IRepository {
|
|
4
4
|
route: string;
|
|
@@ -24,4 +24,6 @@ export default class Repository implements Nomalism.DocumentHeader.IRepository {
|
|
|
24
24
|
findStartDocumentHeaderSiblings({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.DocumentHeader.IFindStartDocumentHeaderSiblingsResponse>;
|
|
25
25
|
createSiteProposal(data: Nomalism.shared.IBrokerTopicPayload[Nomalism.shared.IBrokerTopic.create_site_proposal]): Promise<Nomalism.ProjectInfo.ICreateResponse>;
|
|
26
26
|
findCountByOwnerIds(data: Nomalism.DocumentHeader.IFindCountByOwnersIdsRequest): Promise<Nomalism.DocumentHeader.IFindCountByOwnersIdsResponse[]>;
|
|
27
|
+
findByOwnerIds(data: Nomalism.DocumentHeader.IFindCountByOwnersIdsRequest): Promise<Nomalism.DocumentHeader.IFindByOwnersIdsResponse[]>;
|
|
28
|
+
mergeOwner(data: Nomalism.DocumentHeader.IMergeOwnerRequest): Promise<void>;
|
|
27
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.DocumentType.IApi {
|
|
4
4
|
route: string;
|
|
@@ -7,7 +7,4 @@ export default class Repository implements Nomalism.DocumentType.IApi {
|
|
|
7
7
|
find(params?: Nomalism.DocumentType.IFindRequest): Promise<Nomalism.DocumentType.IFindResponse[]>;
|
|
8
8
|
findMinified(params?: Nomalism.shared.IFindMinifiedRequest): Promise<Nomalism.shared.IFindMinifiedResponse[]>;
|
|
9
9
|
findDetailed(params?: Nomalism.DocumentType.IFindRequest): Promise<Nomalism.DocumentType.IEntityExtended[]>;
|
|
10
|
-
create(body: Nomalism.DocumentType.ICreateRequest): Promise<Nomalism.DocumentType.IEntityExtended>;
|
|
11
|
-
update(selector: Nomalism.shared.IFindByIdNumberRequest, body: Nomalism.DocumentType.IUpdateRequest): Promise<Nomalism.DocumentType.IEntityExtended | null>;
|
|
12
|
-
deleteOne(selector: Nomalism.shared.IFindByIdNumberRequest): Promise<Nomalism.DocumentType.IEntityExtended | null>;
|
|
13
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export type IPaginationResponse = Nomalism.shared.IPaginationResponse<Nomalism.Client.IFindResponse>;
|
|
4
4
|
export default class Repository implements Nomalism.Client.IRepository {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export type IPaginationResponse = Nomalism.shared.IPaginationResponse<Nomalism.Commissioner.IFindResponse>;
|
|
4
4
|
export default class Repository implements Nomalism.Commissioner.IRepository {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export type IPaginationResponse = Nomalism.shared.IPaginationResponse<Nomalism.Country.IFindResponse>;
|
|
4
4
|
export default class Repository implements Nomalism.Country.IRepository {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export type IPaginationResponse = Nomalism.shared.IPaginationResponse<Nomalism.Language.IFindResponse>;
|
|
4
4
|
export default class Repository implements Nomalism.Language.IRepository {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.Persona.IRepository {
|
|
4
4
|
route: string;
|
|
@@ -15,4 +15,8 @@ export default class Repository implements Nomalism.Persona.IRepository {
|
|
|
15
15
|
findClientOrProvider(params: Nomalism.Persona.IFindClientOrProviderRequest): Promise<Nomalism.Persona.IFindClientOrProviderResponse[]>;
|
|
16
16
|
findForGmail(params: Nomalism.Persona.IFindForGmailRequest): Promise<Nomalism.Persona.IFindForGmailResponse | null>;
|
|
17
17
|
publicUpdate(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.Persona.IPublicUpdateRequest): Promise<void>;
|
|
18
|
+
findDuplicateds(): Promise<Nomalism.Persona.IDuplicatedGroupResponse[]>;
|
|
19
|
+
refreshDuplicateds(): Promise<void>;
|
|
20
|
+
resolveDuplicateds(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.Persona.IResolveDuplicatedGroupRequest): Promise<void>;
|
|
21
|
+
executeMergeDuplicateds(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.Persona.IExecuteMergeDuplicatedGroupResponse>;
|
|
18
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export type IPaginationResponse = Nomalism.shared.IPaginationResponse<Nomalism.ProviderType.IFindResponse>;
|
|
4
4
|
export default class Repository implements Nomalism.ProviderType.IRepository {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
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 {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Nomalism from "@nomalism-com/types";
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
3
|
export default class Repository implements Nomalism.ErrorLog.IController {
|
|
4
4
|
route: string;
|
|
5
5
|
private api;
|
|
6
6
|
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
create(
|
|
7
|
+
create({ error, ...rest }: Nomalism.ErrorLog.ICreateRequest): Promise<void>;
|
|
8
8
|
}
|