@nomalism-com/types 0.49.19 → 0.49.21

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/main.d.ts CHANGED
@@ -50,6 +50,7 @@ import * as Chat from "./modules/stock/chat/interfaces";
50
50
  import * as ChatRapidMessage from "./modules/stock/chatRapidMessage/interface";
51
51
  import * as ConferirEncomenda from "./modules/stock/conferirEncomenda/interface";
52
52
  import * as Dashboard from "./modules/stock/dashboard/interface";
53
+ import * as DisplayLabel from "./modules/stock/displayLabel/interface";
53
54
  import * as EmailAccount from "./modules/stock/emailAccount/interface";
54
55
  import * as File from "./modules/stock/file/interface";
55
56
  import * as Gmails from "./modules/stock/gmails/interface";
@@ -148,4 +149,4 @@ import * as stockErrors from "./shared/errors/stockErrors";
148
149
  import * as userErrors from "./shared/errors/userErrors";
149
150
  import * as viewErrors from "./shared/errors/viewErrors";
150
151
  import * as shared from "./shared/interface";
151
- export { AccountCode, Adiantamento, AdminPanel, AllowedDevice, BankData, BillOfLading, Catalogo, Channel, Chat, ChatRapidMessage, ChatSubscriber, Client, ClientType, CLT, Commissioner, ConferirEncomenda, Country, CurrentAccount, Dashboard, DeliveryMethods, DocumentHeader, DocumentHeaderHistory, DocumentHeaderSubscriber, DocumentHeaderSurvey, DocumentLine, DocumentLineAssoc, DocumentLineMt, DocumentLineNote, DocumentLineRm, documentManagementErrors, DocumentSet, DocumentType, EmailAccount, EmailLog, EmailTemplate, EmailTemplateAttachment, EmailVerification, ErrorLog, EuPago, ExternalDocumentHeader, ExternalDocumentType, FaturaCredito, FaturaRecibo, FaturaSimplificada, Favorites, File, Gmails, GoogleCalendar, GoogleFilePermission, GoogleSheetPool, GoogleSheets, integrationErrors, Inventario, Language, LLM, Location, MaterialEntrance, MaturityDates, MobilePrint, Multimedia, NotaCredito, NotaCreditoAdiantamento, Npc, NPF, NRCL, Observation, ObservationType, Order, OrderManagement, Password, PatchNotes, Payment, PaymentBatch, PaymentMethods, Persona, PersonaMerge, Portal, PreSale, PreSaleProduct, Printer, Prison, ProductGoogleSheets, ProductImage, ProductionOrder, ProductLocation, Proforma, ProjectInfo, Promotion, PropostaFornecedor, PropostaSheets, ProviderCreditNoteFromReturn, ProviderFinancialCreditNote, Providers, ProviderServiceInvoice, ProviderType, Purchase, PurchaseConditions, Quebra, QueryList, QueryParameter, ReasonForExemption, Recibo, RecurrentTasks, RefreshToken, ReturnReason, ReturnToProvider, Saft, SavedEmPicking, SavedProviderProposal, Schedule, SchedulePrintJob, SegmentsArea, Sessions, Settings, shared, Shippings, SideMenu, SidemenuHighlight, SmsSender, SmsTemplate, StartDocumentHeaderLastUpdate, stockErrors, StockMovement, StoreOperator, Swift, SystemModule, Tag, Task, TaskMessage, TaskRead, Tenant, Theme, Tickets, TicketsLanguage, TimeSheet, Transformado, TypeOfLocation, UnitOfMeasure, UpfrontReturn, userErrors, UserPositions, Users, UserTokens, VatTax, VatTaxZone, VatValidation, Vehicles, viewErrors, WebSocket, Workflow, };
152
+ export { AccountCode, Adiantamento, AdminPanel, AllowedDevice, BankData, BillOfLading, Catalogo, Channel, Chat, ChatRapidMessage, ChatSubscriber, Client, ClientType, CLT, Commissioner, ConferirEncomenda, Country, CurrentAccount, Dashboard, DeliveryMethods, DisplayLabel, DocumentHeader, DocumentHeaderHistory, DocumentHeaderSubscriber, DocumentHeaderSurvey, DocumentLine, DocumentLineAssoc, DocumentLineMt, DocumentLineNote, DocumentLineRm, documentManagementErrors, DocumentSet, DocumentType, EmailAccount, EmailLog, EmailTemplate, EmailTemplateAttachment, EmailVerification, ErrorLog, EuPago, ExternalDocumentHeader, ExternalDocumentType, FaturaCredito, FaturaRecibo, FaturaSimplificada, Favorites, File, Gmails, GoogleCalendar, GoogleFilePermission, GoogleSheetPool, GoogleSheets, integrationErrors, Inventario, Language, LLM, Location, MaterialEntrance, MaturityDates, MobilePrint, Multimedia, NotaCredito, NotaCreditoAdiantamento, Npc, NPF, NRCL, Observation, ObservationType, Order, OrderManagement, Password, PatchNotes, Payment, PaymentBatch, PaymentMethods, Persona, PersonaMerge, Portal, PreSale, PreSaleProduct, Printer, Prison, ProductGoogleSheets, ProductImage, ProductionOrder, ProductLocation, Proforma, ProjectInfo, Promotion, PropostaFornecedor, PropostaSheets, ProviderCreditNoteFromReturn, ProviderFinancialCreditNote, Providers, ProviderServiceInvoice, ProviderType, Purchase, PurchaseConditions, Quebra, QueryList, QueryParameter, ReasonForExemption, Recibo, RecurrentTasks, RefreshToken, ReturnReason, ReturnToProvider, Saft, SavedEmPicking, SavedProviderProposal, Schedule, SchedulePrintJob, SegmentsArea, Sessions, Settings, shared, Shippings, SideMenu, SidemenuHighlight, SmsSender, SmsTemplate, StartDocumentHeaderLastUpdate, stockErrors, StockMovement, StoreOperator, Swift, SystemModule, Tag, Task, TaskMessage, TaskRead, Tenant, Theme, Tickets, TicketsLanguage, TimeSheet, Transformado, TypeOfLocation, UnitOfMeasure, UpfrontReturn, userErrors, UserPositions, Users, UserTokens, VatTax, VatTaxZone, VatValidation, Vehicles, viewErrors, WebSocket, Workflow, };
@@ -0,0 +1,14 @@
1
+ import { DisplayLabels } from "../../../shared/entities/stock";
2
+ export type Entity = DisplayLabels;
3
+ export declare const Route = "display_labels";
4
+ export interface ICreateRequest {
5
+ references: string[];
6
+ }
7
+ export interface IDeleteRequest {
8
+ product_ids: string[];
9
+ }
10
+ export interface IRepository {
11
+ find(): Promise<Entity[]>;
12
+ create(data: ICreateRequest): Promise<void>;
13
+ deleteMany(product_ids: IDeleteRequest): Promise<void>;
14
+ }
@@ -1148,3 +1148,12 @@ export type SidemenuHightlight = {
1148
1148
  created_by: string;
1149
1149
  updated_by: string;
1150
1150
  };
1151
+ /**
1152
+ * Model DisplayLabels
1153
+ *
1154
+ */
1155
+ export type DisplayLabels = {
1156
+ id: string;
1157
+ product_id: string;
1158
+ created_at: Date;
1159
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.49.19",
4
+ "version": "0.49.21",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",