@nomalism-com/types 1.3.38 → 1.3.39
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.js +854 -1018
- package/dist/main.d.ts +13 -1
- package/dist/modules/document/CAT/interfaces.d.ts +12 -0
- package/dist/modules/document/CAT/route.schema.d.ts +3 -0
- package/dist/modules/document/NRCL/interface.d.ts +1 -3
- package/dist/modules/document/billOfLading/interfaces.d.ts +1 -0
- package/dist/modules/document/inventario/interface.d.ts +0 -2
- package/dist/modules/document/materialEntrance/interfaces.d.ts +10 -6
- package/dist/modules/document/order/interfaces.d.ts +0 -2
- package/dist/modules/document/productionOrder/interfaces.d.ts +1 -0
- package/dist/modules/document/proforma/interfaces.d.ts +1 -0
- package/dist/modules/document/propostaFornecedor/interfaces.d.ts +1 -0
- package/dist/modules/document/propostaSheets/interface.d.ts +1 -3
- package/dist/modules/document/providerCreditNoteFromReturn/interfaces.d.ts +1 -0
- package/dist/modules/document/providerFinancialCreditNote/interfaces.d.ts +1 -0
- package/dist/modules/document/providerServiceInvoice/interfaces.d.ts +1 -0
- package/dist/modules/document/purchase/interfaces.d.ts +0 -2
- package/dist/modules/document/quebra/interfaces.d.ts +0 -2
- package/dist/modules/document/returnToProvider/interface.d.ts +0 -2
- package/dist/modules/document/transformado/interfaces.d.ts +0 -2
- package/dist/modules/document/upfrontReturn/interfaces.d.ts +0 -2
- package/dist/modules/documentManagement/multimedia/interfaces.d.ts +1 -2
- package/dist/modules/integration/emailLog/interfaces.d.ts +0 -2
- package/dist/modules/integration/emailTemplate/interfaces.d.ts +0 -2
- package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +0 -2
- package/dist/modules/integration/emailVerification/interfaces.d.ts +0 -2
- package/dist/modules/integration/googleFilePermission/interfaces.d.ts +0 -2
- package/dist/modules/integration/googleSheets/interfaces.d.ts +0 -2
- package/dist/modules/integration/observation/interfaces.d.ts +0 -2
- package/dist/modules/integration/observationType/interfaces.d.ts +1 -3
- package/dist/modules/integration/patchNotes/interfaces.d.ts +0 -2
- package/dist/modules/integration/projectInfo/interfaces.d.ts +0 -2
- package/dist/modules/integration/settings/interfaces.d.ts +0 -2
- package/dist/modules/llm/llm/interfaces.d.ts +5 -0
- package/dist/modules/print/npc/interfaces.d.ts +0 -2
- package/dist/modules/print/printer/interfaces.d.ts +0 -2
- package/dist/modules/print/schedulePrintJob/interfaces.d.ts +0 -2
- package/dist/modules/stock/accountCode/interface.d.ts +0 -2
- package/dist/modules/stock/chat/interfaces.d.ts +0 -2
- package/dist/modules/stock/chatRapidMessage/interface.d.ts +1 -3
- package/dist/modules/stock/conferirEncomenda/interface.d.ts +2 -3
- package/dist/modules/stock/dashboard/interface.d.ts +0 -2
- package/dist/modules/stock/file/interface.d.ts +0 -2
- package/dist/modules/stock/gmails/interface.d.ts +0 -2
- package/dist/modules/stock/googleCalendar/interface.d.ts +0 -2
- package/dist/modules/stock/googleSheetPool/interface.d.ts +0 -2
- package/dist/modules/stock/location/interface.d.ts +0 -2
- package/dist/modules/stock/mobilePrint/interface.d.ts +13 -0
- package/dist/modules/stock/mobilePrint/route.schema.d.ts +2 -0
- package/dist/modules/stock/prison/interface.d.ts +0 -2
- package/dist/modules/stock/productGoogleSheets/interface.d.ts +7 -4
- package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +2 -1
- package/dist/modules/stock/productImage/interface.d.ts +0 -2
- package/dist/modules/stock/productLocation/interface.d.ts +18 -0
- package/dist/modules/stock/promotion/interface.d.ts +0 -2
- package/dist/modules/stock/promotionAssoc/interface.d.ts +0 -2
- package/dist/modules/stock/queryList/interfaces.d.ts +0 -2
- package/dist/modules/stock/queryParameter/interfaces.d.ts +0 -2
- package/dist/modules/stock/recurrentTasks/interface.d.ts +0 -2
- package/dist/modules/stock/returnReason/interfaces.d.ts +0 -2
- package/dist/modules/stock/savedEmPicking/interfaces.d.ts +0 -2
- package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +0 -2
- package/dist/modules/stock/stockMovement/interface.d.ts +0 -2
- package/dist/modules/stock/tag/interface.d.ts +0 -2
- package/dist/modules/stock/task/interface.d.ts +0 -2
- package/dist/modules/stock/taskMessage/interface.d.ts +0 -2
- package/dist/modules/stock/taskRead/interface.d.ts +0 -2
- package/dist/modules/stock/typeOfLocation/interface.d.ts +0 -2
- package/dist/modules/stock/unitOfMeasure/interface.d.ts +0 -2
- package/dist/modules/stock/vatTax/interface.d.ts +0 -2
- package/dist/modules/stock/vatTaxZone/interface.d.ts +0 -2
- package/dist/modules/stock/vatValidation/interfaces.d.ts +0 -2
- package/dist/modules/stock/workflow/interfaces.d.ts +0 -2
- package/dist/modules/supply/currentAccount/interface.d.ts +5 -6
- package/dist/modules/supply/documentHeader/interfaces.d.ts +5 -19
- package/dist/modules/supply/documentHeader/route.schema.d.ts +0 -1
- package/dist/modules/supply/documentHeaderHistory/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentHeaderSubscriber/interface.d.ts +1 -3
- package/dist/modules/supply/documentHeaderSurvey/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentLine/interfaces.d.ts +3 -4
- package/dist/modules/supply/documentLine/route.schema.d.ts +2 -1
- package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentLineMT/interface.d.ts +0 -2
- package/dist/modules/supply/documentLineNote/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentLineRM/interface.d.ts +0 -2
- package/dist/modules/supply/documentSet/interface.d.ts +0 -2
- package/dist/modules/supply/documentType/interfaces.d.ts +3 -3
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +0 -2
- package/dist/modules/supply/externalDocumentType/interface.d.ts +0 -2
- package/dist/modules/supply/orderManagement/interface.d.ts +0 -2
- package/dist/modules/supply/payment/interface.d.ts +0 -2
- package/dist/modules/supply/paymentBatch/interface.d.ts +1 -3
- package/dist/modules/supply/preSale/interface.d.ts +0 -2
- package/dist/modules/supply/preSaleProduct/interface.d.ts +0 -2
- package/dist/modules/supply/schedule/interface.d.ts +0 -2
- package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +0 -2
- package/dist/modules/tickets/channel/interfaces.d.ts +0 -2
- package/dist/modules/tickets/clt/interfaces.d.ts +0 -2
- package/dist/modules/tickets/language/interfaces.d.ts +0 -2
- package/dist/modules/tickets/tickets/interfaces.d.ts +0 -2
- package/dist/modules/ui/portal/interface.d.ts +1 -0
- package/dist/modules/ui/sideMenu/interface.d.ts +2 -0
- package/dist/modules/ui/sidemenuHighlight/interface.d.ts +34 -0
- package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +3 -0
- package/dist/modules/user/bankData/interface.d.ts +0 -2
- package/dist/modules/user/chatSubscribers/interfaces.d.ts +6 -2
- package/dist/modules/user/chatSubscribers/route.schema.d.ts +2 -0
- package/dist/modules/user/clientType/interface.d.ts +0 -2
- package/dist/modules/user/clients/interface.d.ts +0 -2
- package/dist/modules/user/commissioner/interface.d.ts +0 -2
- package/dist/modules/user/country/interface.d.ts +0 -2
- package/dist/modules/user/deliveryMethods/interfaces.d.ts +0 -2
- package/dist/modules/user/favorites/interfaces.d.ts +0 -2
- package/dist/modules/user/language/interface.d.ts +0 -2
- package/dist/modules/user/maturityDates/interfaces.d.ts +0 -2
- package/dist/modules/user/paymentMethods/interfaces.d.ts +0 -2
- package/dist/modules/user/persona/interface.d.ts +0 -2
- package/dist/modules/user/providerType/interface.d.ts +0 -2
- package/dist/modules/user/providers/interface.d.ts +0 -2
- package/dist/modules/user/purchaseConditions/interface.d.ts +0 -2
- package/dist/modules/user/reasonForExemption/interface.d.ts +0 -2
- package/dist/modules/user/refreshToken/interface.d.ts +1 -1
- package/dist/modules/user/segmentsArea/interface.d.ts +0 -2
- package/dist/modules/user/sessions/interface.d.ts +5 -0
- package/dist/modules/user/shippings/interface.d.ts +0 -2
- package/dist/modules/user/storeOperator/interface.d.ts +1 -2
- package/dist/modules/user/swift/interface.d.ts +0 -2
- package/dist/modules/user/systemModule/interface.d.ts +43 -0
- package/dist/modules/user/systemModule/route.schema.d.ts +3 -0
- package/dist/modules/user/tenant/interface.d.ts +0 -2
- package/dist/modules/user/theme/interfaces.d.ts +0 -2
- package/dist/modules/user/timeSheet/interfaces.d.ts +73 -0
- package/dist/modules/user/timeSheet/route.schema.d.ts +3 -0
- package/dist/modules/user/userPositions/interface.d.ts +0 -2
- package/dist/modules/user/userTokens/interface.d.ts +0 -2
- package/dist/modules/user/users/interface.d.ts +3 -3
- package/dist/modules/user/vehicles/interfaces.d.ts +0 -2
- package/dist/modules/user/zipCode/interfaces.d.ts +0 -2
- package/dist/modules/view/adminPanel/interfaces.d.ts +0 -2
- package/dist/modules/view/errorLog/interfaces.d.ts +1 -3
- package/dist/modules/view/webSocket/interfaces.d.ts +94 -0
- package/dist/shared/entities/stock.d.ts +15 -0
- package/dist/shared/entities/user.d.ts +43 -42
- package/dist/shared/interface.d.ts +33 -14
- package/package.json +8 -8
package/dist/main.d.ts
CHANGED
|
@@ -96,6 +96,8 @@ import * as Shippings from './modules/user/shippings/interface';
|
|
|
96
96
|
import * as ShippingsRoutes from './modules/user/shippings/route.schema';
|
|
97
97
|
import * as StoreOperator from './modules/user/storeOperator/interface';
|
|
98
98
|
import * as StoreOperatorRoutes from './modules/user/storeOperator/route.schema';
|
|
99
|
+
import * as SystemModule from './modules/user/systemModule/interface';
|
|
100
|
+
import * as SystemModuleRoutes from './modules/user/systemModule/route.schema';
|
|
99
101
|
import * as Swift from './modules/user/swift/interface';
|
|
100
102
|
import * as SwiftRoutes from './modules/user/swift/route.schema';
|
|
101
103
|
import * as TypeOfLocation from './modules/stock/typeOfLocation/interface';
|
|
@@ -208,6 +210,8 @@ import * as ChatRapidMessage from './modules/stock/chatRapidMessage/interface';
|
|
|
208
210
|
import * as ChatRapidMessageRoutes from './modules/stock/chatRapidMessage/route.schema';
|
|
209
211
|
import * as SideMenu from './modules/ui/sideMenu/interface';
|
|
210
212
|
import * as SideMenuRoutes from './modules/ui/sideMenu/route.schema';
|
|
213
|
+
import * as SidemenuHighlight from './modules/ui/sidemenuHighlight/interface';
|
|
214
|
+
import * as SidemenuHighlightRoutes from './modules/ui/sidemenuHighlight/route.schema';
|
|
211
215
|
import * as AdminPanel from './modules/view/adminPanel/interfaces';
|
|
212
216
|
import * as ErrorLog from './modules/view/errorLog/interfaces';
|
|
213
217
|
import * as ErrorLogRoutes from './modules/view/errorLog/route.schema';
|
|
@@ -243,4 +247,12 @@ import * as DocumentHeaderSubscriber from './modules/supply/documentHeaderSubscr
|
|
|
243
247
|
import * as DocumentHeaderSubscriberRoutes from './modules/supply/documentHeaderSubscriber/route.schema';
|
|
244
248
|
import * as GoogleCalendar from './modules/stock/googleCalendar/interface';
|
|
245
249
|
import * as GoogleCalendarRoutes from './modules/stock/googleCalendar/route.schema';
|
|
246
|
-
|
|
250
|
+
import * as WebSocket from './modules/view/webSocket/interfaces';
|
|
251
|
+
import * as ProductLocation from './modules/stock/productLocation/interface';
|
|
252
|
+
import * as MobilePrint from './modules/stock/mobilePrint/interface';
|
|
253
|
+
import * as MobilePrintRoutes from './modules/stock/mobilePrint/route.schema';
|
|
254
|
+
import * as TimeSheet from './modules/user/timeSheet/interfaces';
|
|
255
|
+
import * as TimeSheetRoutes from './modules/user/timeSheet/route.schema';
|
|
256
|
+
import * as Catalogo from './modules/document/CAT/interfaces';
|
|
257
|
+
import * as CatalogoRoutes from './modules/document/CAT/route.schema';
|
|
258
|
+
export { shared, viewErrors, stockErrors, userErrors, documentManagementErrors, integrationErrors, ZipCode, ZipCodeRoutes, BankData, BankDataRoutes, Client, ClientRoutes, ClientType, ClientTypeRoutes, Chat, ChatRoutes, Commissioner, CommissionerRoutes, Country, CountryRoutes, DeliveryMethods, DeliveryMethodsRoutes, DocumentHeader, DocumentHeaderRoutes, DocumentHeaderHistory, BillOfLading, BillOfLadingRoutes, ProductionOrder, ProductionOrderRoutes, Proforma, ProformaRoutes, PropostaFornecedor, PropostaFornecedorRoutes, ProviderCreditNoteFromReturn, ProviderCreditNoteFromReturnRoutes, ProviderFinancialCreditNote, ProviderFinancialCreditNoteRoutes, ProviderServiceInvoice, ProviderServiceInvoiceRoutes, DocumentLine, DocumentLineRoutes, DocumentLineAssoc, DocumentSet, DocumentSetRoutes, DocumentType, DocumentTypeRoutes, ExternalDocumentType, ExternalDocumentHeader, ExternalDocumentHeaderRoutes, Favorites, FavoritesRoutes, File, FileRoutes, GoogleSheets, GoogleSheetsRoutes, Language, LanguageRoutes, Location, LocationRoutes, MaturityDates, MaturityDatesRoutes, Multimedia, MultimediaRoutes, OrderManagement, Observation, ObservationRoutes, ObservationType, ObservationTypeRoutes, Password, PasswordRoutes, Payment, PaymentRoutes, PaymentMethods, PaymentMethodsRoutes, ProductImage, ProductImageRoutes, Promotion, PromotionRoutes, PromotionAssoc, PromotionAssocRoutes, Providers, ProvidersRoutes, ProviderType, ProviderTypeRoutes, PurchaseConditions, PurchaseConditionsRoutes, ReasonForExemption, ReasonForExemptionRoutes, RefreshToken, RefreshTokenRoutes, SegmentsArea, SegmentsAreaRoutes, Sessions, SessionsRoutes, Shippings, ShippingsRoutes, StoreOperator, StoreOperatorRoutes, SystemModule, SystemModuleRoutes, Swift, SwiftRoutes, TypeOfLocation, TypeOfLocationRoutes, UnitOfMeasure, UnitOfMeasureRoutes, UserPositions, UserPositionsRoutes, Users, UsersRoutes, UserTokens, UserTokensRoutes, VatValidation, VatValidationRoutes, VatTax, VatTaxRoutes, VatTaxZone, VatTaxZoneRoutes, Vehicles, VehiclesRoutes, Workflow, WorkflowRoutes, StockMovement, StockMovementRoutes, Tenant, TenantRoutes, PreSale, PreSaleRoutes, PreSaleProduct, PreSaleProductRoutes, Npc, NpcRoutes, Printer, PrinterRoutes, SchedulePrintJob, SchedulePrintJobRoutes, QueryList, QueryListRoutes, QueryParameter, QueryParameterRoutes, ReturnReason, ReturnReasonRoutes, PropostaSheets, PropostaSheetsRoutes, Schedule, ScheduleRoutes, GoogleFilePermission, GoogleFilePermissionRoutes, Settings, SettingsRoutes, Tickets, TicketsRoutes, Channel, ChannelRoutes, TicketsLanguage, TicketsLanguageRoutes, CLT, CLTRoutes, StartDocumentHeaderLastUpdate, Persona, PersonaRoutes, ProjectInfo, ProjectInfoRoutes, EmailVerification, EmailVerificationRoutes, EmailLog, EmailLogRoutes, Purchase, PurchaseRoutes, Order, OrderRoutes, MaterialEntrance, MaterialEntranceRoutes, Transformado, TransformadoRoutes, Quebra, QuebraRoutes, UpfrontReturn, UpfrontReturnRoutes, SavedEmPicking, SavedEmPickingRoutes, EmailTemplate, EmailTemplateRoutes, EmailTemplateAttachment, EmailTemplateAttachmentRoutes, Inventario, InventarioRoutes, ReturnToProvider, ReturnToProviderRoutes, Prison, PrisonRoutes, DocumentLineNote, DocumentLineNoteRoutes, SavedProviderProposal, SavedProviderProposalRoutes, ProductGoogleSheets, ProductGoogleSheetsRoutes, Task, TaskRoutes, TaskMessage, TaskMessageRoutes, RecurrentTasks, TaskRead, TaskReadRoutes, Theme, ThemeRoutes, Dashboard, DashboardRoutes, ChatRapidMessage, ChatRapidMessageRoutes, SideMenu, SideMenuRoutes, SidemenuHighlight, SidemenuHighlightRoutes, AdminPanel, ErrorLog, ErrorLogRoutes, DocumentLineRm, DocumentLineRmRoutes, DocumentLineMt, DocumentLineMtRoutes, ChatSubscriber, ChatSubscriberRoutes, Tag, TagRoutes, Gmails, NPF, NPFRoutes, NRCL, NRCLRoutes, CurrentAccount, CurrentAccountRoutes, PaymentBatch, PaymentBatchRoutes, Portal, PortalRoutes, GoogleSheetPool, AccountCode, AccountCodeRoutes, LLM, LLMRoutes, PatchNotes, ConferirEncomenda, DocumentHeaderSurvey, DocumentHeaderSurveyRoutes, DocumentHeaderSubscriber, DocumentHeaderSubscriberRoutes, GoogleCalendar, GoogleCalendarRoutes, WebSocket, ProductLocation, MobilePrint, MobilePrintRoutes, TimeSheet, TimeSheetRoutes, Catalogo, CatalogoRoutes, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as IShared from '../../../shared/interface';
|
|
2
|
+
export declare const Route = "catalogo";
|
|
3
|
+
export interface ICreateRequest {
|
|
4
|
+
document_header_id?: string;
|
|
5
|
+
from_document_header_id: string;
|
|
6
|
+
document_type_id: number;
|
|
7
|
+
document_line_ids: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface IRepository {
|
|
10
|
+
create(params: ICreateRequest): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentHeader } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Omit<DocumentHeader, 'external_data'>;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "DocumentHeader";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "document_header";
|
|
7
5
|
export interface IMultipleRegularizationPayments {
|
|
8
6
|
value: number;
|
|
9
7
|
payment_method_id: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
export declare const Route = "inventario";
|
|
3
|
-
export declare const UpperName = "Inventario";
|
|
4
|
-
export declare const LowerName: string;
|
|
5
3
|
export interface ICreateInventoryRequest {
|
|
6
4
|
product_id: string;
|
|
7
5
|
registered_quantity: number;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { DocumentHeader, DocumentLineNote } from '../../../shared/entities/stock';
|
|
1
|
+
import type { DocumentHeader, DocumentLineNote, SavedEmPicking } from '../../../shared/entities/stock';
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
import { type IProductType } from '../../stock/productGoogleSheets/interface';
|
|
4
|
-
import type { ISavedEmPickingData } from '../../stock/savedEmPicking/interfaces';
|
|
5
4
|
export declare const Route = "material_entrance";
|
|
6
|
-
export declare const UpperName = "MaterialEntrance";
|
|
7
|
-
export declare const LowerName: string;
|
|
8
5
|
export declare const ICreateMaterialEntranceClientOrderOptionEnum: {
|
|
9
6
|
'Vai desdobrar linha na PC (estado Espera Chegada)': 'Vai desdobrar linha na PC (estado Espera Chegada)';
|
|
10
7
|
'Vai desdobrar linha na PC (estado Espera Envio Encomenda)': 'Vai desdobrar linha na PC (estado Espera Envio Encomenda)';
|
|
@@ -116,20 +113,27 @@ export interface IPrintLabelQueryRequest {
|
|
|
116
113
|
quantity: number;
|
|
117
114
|
note?: string;
|
|
118
115
|
}
|
|
119
|
-
export
|
|
116
|
+
export type IInclude = 'selectedOnly' | 'all' | 'none';
|
|
117
|
+
export interface IPrintOptions {
|
|
120
118
|
groupLabel: boolean;
|
|
119
|
+
stockOrders: IInclude;
|
|
120
|
+
notOk: IInclude;
|
|
121
|
+
clientOrders: IInclude;
|
|
122
|
+
}
|
|
123
|
+
export interface IPrintBulkLabelRequest extends IPrintOptions {
|
|
121
124
|
saved_em_picking_ids: string;
|
|
122
125
|
token: string;
|
|
123
126
|
}
|
|
124
127
|
export interface IPrintLabelQueryWithTokenRequest extends IPrintLabelQueryRequest {
|
|
125
128
|
token: string;
|
|
126
129
|
}
|
|
130
|
+
export type IFindDoneByIdResponse = Pick<SavedEmPicking, 'data' | 'created_at' | 'created_by' | 'updated_at' | 'updated_by'>;
|
|
127
131
|
interface IRepository {
|
|
128
132
|
finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IFinalizarEntradaDeMaterialResponse>;
|
|
129
133
|
undoEntradaMaterial(data: IUndoEntradaDeMaterialRequest): Promise<void>;
|
|
130
134
|
findUnfinishedPickings(selector: IShared.IFindByIdRequest): Promise<IUnfinishedPickingsResponse[]>;
|
|
131
135
|
findMaterialEntranceProviders(): Promise<IShared.IFindMinifiedResponse[]>;
|
|
132
|
-
findDoneById(params: IShared.IFindByIdRequest): Promise<
|
|
136
|
+
findDoneById(params: IShared.IFindByIdRequest): Promise<IFindDoneByIdResponse[]>;
|
|
133
137
|
}
|
|
134
138
|
export type IApi = Omit<IRepository, 'finalizarEntradaMaterial'> & {
|
|
135
139
|
finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IFinalizarEntradaDeMaterialResponse>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import type { IEstadoEncomenda } from '../../stock/conferirEncomenda/interface';
|
|
3
3
|
export declare const Route = "order";
|
|
4
|
-
export declare const UpperName = "Order";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IUndoProviderOrderRequest {
|
|
7
5
|
document_line_ids: string[];
|
|
8
6
|
send_notification: boolean;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentLinePendingConflict, DocumentLine } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = DocumentLinePendingConflict;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "DocumentLinePendingConflict";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "proposta_sheets";
|
|
7
5
|
export declare const IConflictEnum: {
|
|
8
6
|
update: 'update';
|
|
9
7
|
delete: 'delete';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentLineNote } from '../../../shared/entities/stock';
|
|
3
3
|
export declare const Route = "purchase";
|
|
4
|
-
export declare const UpperName = "Purchase";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export type IUnpaidMaterialEntranceLineType = 'Por comprar' | 'Comprado' | 'Devolvido' | 'Prisão';
|
|
7
5
|
export interface IUnpaidMaterialEntranceLineDetails {
|
|
8
6
|
document_line_id: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DocumentLineNote } from '../../../shared/entities/stock';
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export declare const Route = "quebra";
|
|
4
|
-
export declare const UpperName = "Quebra";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IInventoryLossResponse {
|
|
7
5
|
document_line_id: string;
|
|
8
6
|
id_provider: number;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DocumentLineNote } from '../../../shared/entities/stock';
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export declare const Route = "return_to_provider";
|
|
4
|
-
export declare const UpperName = "ReturnToProvider";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IFindLinesToReturnResponse {
|
|
7
5
|
document_line_assoc_id: string;
|
|
8
6
|
df_name: string;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Multimedia } from '../../../shared/entities/documentManagement';
|
|
2
2
|
export type Entity = Multimedia;
|
|
3
3
|
export declare const Route = "multimedia";
|
|
4
|
-
export declare const UpperName = "Multimedia";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IFindByIdRequest {
|
|
7
5
|
download?: boolean;
|
|
8
6
|
}
|
|
9
7
|
export interface IRepository {
|
|
10
8
|
create(multipartFormData: any, headers?: any): Promise<Entity>;
|
|
9
|
+
update(id: string, multipartFormData: any, headers?: any): Promise<void>;
|
|
11
10
|
findById(multimedia_id: string): Promise<Entity | null>;
|
|
12
11
|
}
|
|
13
12
|
export interface IController extends Omit<IRepository, 'findById'> {
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { EmailLog } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = EmailLog;
|
|
4
4
|
export declare const Route = "email_log";
|
|
5
|
-
export declare const UpperName = "EmailLog";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IFindRequest {
|
|
8
6
|
date_start: Date;
|
|
9
7
|
date_end: Date;
|
|
@@ -3,8 +3,6 @@ import { EmailTemplate, EmailTemplateAttachment } from '../../../shared/entities
|
|
|
3
3
|
import { IEmailAddress, IEmailAttachment } from '../emailLog/interfaces';
|
|
4
4
|
export type Entity = EmailTemplate;
|
|
5
5
|
export declare const Route = "email_template";
|
|
6
|
-
export declare const UpperName = "EmailTemplate";
|
|
7
|
-
export declare const LowerName: string;
|
|
8
6
|
export interface IEntityExtended extends Entity {
|
|
9
7
|
attachments: EmailTemplateAttachment[];
|
|
10
8
|
}
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { EmailTemplateAttachment } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = EmailTemplateAttachment;
|
|
4
4
|
export declare const Route = "email_template_attachment";
|
|
5
|
-
export declare const UpperName = "EmailTemplateAttachment";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ICreateRequest {
|
|
8
6
|
email_template_id: string;
|
|
9
7
|
multimedia_id: string;
|
|
@@ -2,8 +2,6 @@ import { EmailVerification } from '../../../shared/entities/integration';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = EmailVerification;
|
|
4
4
|
export declare const Route = "email_verification";
|
|
5
|
-
export declare const UpperName = "EmailVerification";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IIsVerifiedRequest {
|
|
8
6
|
email: string;
|
|
9
7
|
}
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { GoogleFilePermission } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = GoogleFilePermission;
|
|
4
4
|
export declare const Route = "google_file_permission";
|
|
5
|
-
export declare const UpperName = "GoogleFilePermission";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type IFindRequest = Record<string, unknown>;
|
|
8
6
|
export interface ICreateRequest {
|
|
9
7
|
file_id: string;
|
|
@@ -2,8 +2,6 @@ import { DocumentHeader } from '../../../shared/entities/stock';
|
|
|
2
2
|
import { Persona } from '../../../shared/entities/user';
|
|
3
3
|
import * as IShared from '../../../shared/interface';
|
|
4
4
|
export declare const Route = "google";
|
|
5
|
-
export declare const UpperName = "Google";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IGetUserData extends Pick<DocumentHeader, 'document_number' | 'owner_number' | 'billing_persona_nif' | 'billing_persona_name' | 'billing_persona_email' | 'billing_persona_telephone' | 'billing_persona_address_street' | 'billing_persona_address_locality' | 'billing_persona_address_postal_code' | 'billing_persona_address_country_name' | 'delivery_persona_name' | 'delivery_persona_email' | 'delivery_persona_telephone' | 'delivery_persona_address_street' | 'delivery_persona_address_locality' | 'delivery_persona_address_postal_code' | 'delivery_persona_address_country_name'> {
|
|
8
6
|
emission_date: string;
|
|
9
7
|
store_operator_id: string | null;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Observation, ObservationType } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = Observation;
|
|
4
4
|
export declare const Route = "observation";
|
|
5
|
-
export declare const UpperName = "Observation";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ICreateRequest {
|
|
8
6
|
owner_id: string;
|
|
9
7
|
observation_type_id?: string | null;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { ObservationType } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = ObservationType;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "ObservationType";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "observation_type";
|
|
7
5
|
export interface IFindByQueryRequest {
|
|
8
6
|
id?: string;
|
|
9
7
|
name?: string;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { PatchNotes } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = PatchNotes;
|
|
4
4
|
export declare const Route = "patch_notes";
|
|
5
|
-
export declare const UpperName = "PatchNotes";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IFindResponse {
|
|
8
6
|
date: string;
|
|
9
7
|
version: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ProjectInfo } from '../../../shared/entities/integration';
|
|
2
2
|
export type Entity = ProjectInfo;
|
|
3
3
|
export declare const Route = "project_info";
|
|
4
|
-
export declare const UpperName = "ProjectInfo";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export declare const IProjectInfoTypeEnum: {
|
|
7
5
|
particular: 'particular';
|
|
8
6
|
professional: 'professional';
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Settings } from '../../../shared/entities/integration';
|
|
3
3
|
export type Entity = Settings;
|
|
4
4
|
export declare const Route = "settings";
|
|
5
|
-
export declare const UpperName = "Settings";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IFindByKeyRequest {
|
|
8
6
|
key: string;
|
|
9
7
|
}
|
|
@@ -20,9 +20,14 @@ export interface ITranslateRequest {
|
|
|
20
20
|
export interface IIdentifyLanguageRequest {
|
|
21
21
|
message: string;
|
|
22
22
|
}
|
|
23
|
+
export interface IIdentifyAndTranslateResponse {
|
|
24
|
+
language: string;
|
|
25
|
+
translation: string | null;
|
|
26
|
+
}
|
|
23
27
|
export interface IRepository {
|
|
24
28
|
prompt: (data: IPromptRequest, response: IPromptResponse) => IPromptAbortController;
|
|
25
29
|
translate(data: ITranslateRequest): Promise<string>;
|
|
26
30
|
identifyLanguage(data: IIdentifyLanguageRequest): Promise<string>;
|
|
31
|
+
identifyAndTranslate(data: ITranslateRequest): Promise<IIdentifyAndTranslateResponse>;
|
|
27
32
|
}
|
|
28
33
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Npc } from '../../../shared/entities/print';
|
|
3
3
|
export type Entity = Npc;
|
|
4
4
|
export declare const Route = "npc";
|
|
5
|
-
export declare const UpperName = "Npc";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IPrintJobs {
|
|
8
6
|
id: string;
|
|
9
7
|
buffer?: unknown;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Printer } from '../../../shared/entities/print';
|
|
3
3
|
export type Entity = Printer;
|
|
4
4
|
export declare const Route = "printer";
|
|
5
|
-
export declare const UpperName = "Printer";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type IFindDetailedResponse = Entity & {
|
|
8
6
|
npc: Pick<Entity, 'name'>;
|
|
9
7
|
};
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { ScheduledPrintJob } from '../../../shared/entities/print';
|
|
3
3
|
export type Entity = ScheduledPrintJob;
|
|
4
4
|
export declare const Route = "schedule_print_job";
|
|
5
|
-
export declare const UpperName = "SchedulePrintJob";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ICreateSchedulePrintJobRequest {
|
|
8
6
|
printer_id: string;
|
|
9
7
|
copies: number;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AccountCode } from '../../../shared/entities/stock';
|
|
2
2
|
export type Entity = AccountCode;
|
|
3
3
|
export declare const Route = "account_code";
|
|
4
|
-
export declare const UpperName = "AccountCode";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IFindByCode {
|
|
7
5
|
code: string;
|
|
8
6
|
}
|
|
@@ -2,8 +2,6 @@ import type * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Chat, File } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Chat;
|
|
4
4
|
export declare const Route = "chat";
|
|
5
|
-
export declare const UpperName = "Chat";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IChatBalloon {
|
|
8
6
|
chat?: Pick<Entity, 'message'> & {
|
|
9
7
|
id?: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export declare const Route = "chat_rapid_message";
|
|
2
|
-
export declare const UpperName = "ChatRapidMessage";
|
|
3
|
-
export declare const LowerName: string;
|
|
4
1
|
import { ChatRapidMessage } from '../../../shared/entities/stock';
|
|
5
2
|
import * as IShared from '../../../shared/interface';
|
|
3
|
+
export declare const Route = "chat_rapid_message";
|
|
6
4
|
export type Entity = ChatRapidMessage;
|
|
7
5
|
export interface ICreateRequest {
|
|
8
6
|
title: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ConferirEncomenda } from '../../../shared/entities/stock';
|
|
2
2
|
export declare const Route = "conferir_encomenda";
|
|
3
|
-
export declare const UpperName = "ConferirEncomenda";
|
|
4
|
-
export declare const LowerName: string;
|
|
5
3
|
export type Entity = ConferirEncomenda;
|
|
6
4
|
export declare const EstadoEncomendaEnum: {
|
|
7
5
|
readonly PorConfirmar: "PorConfirmar";
|
|
@@ -25,6 +23,7 @@ export declare const EstadoEncomendaEnum: {
|
|
|
25
23
|
readonly EsperaProdMont: "EsperaProdMont";
|
|
26
24
|
readonly EsperaMontagem: "EsperaMontagem";
|
|
27
25
|
readonly EsperaCorteTecidos: "EsperaCorteTecidos";
|
|
26
|
+
readonly EsperaFolhaProducao: "EsperaFolhaProducao";
|
|
28
27
|
readonly EsperaConfeccaoTecidosCortados: "EsperaConfeccaoTecidosCortados";
|
|
29
28
|
readonly EncomendarServico: "EncomendarServico";
|
|
30
29
|
readonly EncomendarServicoCAnexos: "EncomendarServicoCAnexos";
|
|
@@ -52,4 +51,4 @@ export declare const EstadoEncomendaEnum: {
|
|
|
52
51
|
readonly Adjudicado: "Adjudicado";
|
|
53
52
|
};
|
|
54
53
|
export type IEstadoEncomenda = (typeof EstadoEncomendaEnum)[keyof typeof EstadoEncomendaEnum];
|
|
55
|
-
export declare const estadoEncomendaValues: ("PorConfirmar" | "EsperaDefDetVendedor" | "EsperaInfoCliente" | "EsperaDevCatalogo" | "EsperaEnvioRMCA" | "EsperaEnvioRM" | "EsperaMarcacaoRM" | "EsperaFolhaRM" | "EsperaVendedorRetificarRM" | "EsperaConferenciaRM" | "EsperaOkClienteRM" | "EsperaConsultaStockCotacao" | "EsperaRececaoConsulta" | "EsperaVendedorRetificarConsulta" | "ClienteFoiPensar" | "EsperaAtelier" | "EsperaProducaoInterna" | "EsperaEstofador" | "EsperaProdMont" | "EsperaMontagem" | "EsperaCorteTecidos" | "EsperaConfeccaoTecidosCortados" | "EncomendarServico" | "EncomendarServicoCAnexos" | "EncomendarServicoSemNotificacao" | "EncomendarVA" | "EncomendarVACAnexos" | "EncomendarVASemNotificacao" | "EncomendarStock" | "CancelarEncomendar" | "StockEmLoja" | "Refaturar" | "DesligarDoSheets" | "FecharLinha" | "CancelarEncomenda" | "CancelarEncomendaMT" | "CancelarEncomendaRM" | "CancelarEncomendaVA" | "DesligarEncomenda" | "EncomendarMT" | "EncomendarRM" | "EsperaNomalism" | "EsperaOkClienteConsulta" | "EsperaResolucaoProblemas" | "Refaturado" | "Adjudicado")[];
|
|
54
|
+
export declare const estadoEncomendaValues: ("PorConfirmar" | "EsperaDefDetVendedor" | "EsperaInfoCliente" | "EsperaDevCatalogo" | "EsperaEnvioRMCA" | "EsperaEnvioRM" | "EsperaMarcacaoRM" | "EsperaFolhaRM" | "EsperaVendedorRetificarRM" | "EsperaConferenciaRM" | "EsperaOkClienteRM" | "EsperaConsultaStockCotacao" | "EsperaRececaoConsulta" | "EsperaVendedorRetificarConsulta" | "ClienteFoiPensar" | "EsperaAtelier" | "EsperaProducaoInterna" | "EsperaEstofador" | "EsperaProdMont" | "EsperaMontagem" | "EsperaCorteTecidos" | "EsperaFolhaProducao" | "EsperaConfeccaoTecidosCortados" | "EncomendarServico" | "EncomendarServicoCAnexos" | "EncomendarServicoSemNotificacao" | "EncomendarVA" | "EncomendarVACAnexos" | "EncomendarVASemNotificacao" | "EncomendarStock" | "CancelarEncomendar" | "StockEmLoja" | "Refaturar" | "DesligarDoSheets" | "FecharLinha" | "CancelarEncomenda" | "CancelarEncomendaMT" | "CancelarEncomendaRM" | "CancelarEncomendaVA" | "DesligarEncomenda" | "EncomendarMT" | "EncomendarRM" | "EsperaNomalism" | "EsperaOkClienteConsulta" | "EsperaResolucaoProblemas" | "Refaturado" | "Adjudicado")[];
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { File } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = File;
|
|
4
4
|
export declare const Route = "file";
|
|
5
|
-
export declare const UpperName = "File";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IFindByOwnerRequest {
|
|
8
6
|
owner_id: string;
|
|
9
7
|
tags?: string;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Gmails } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Gmails;
|
|
4
4
|
export declare const Route = "gmail";
|
|
5
|
-
export declare const UpperName = "Gmail";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IGmailsResponse {
|
|
8
6
|
id: string;
|
|
9
7
|
gmail_id: string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { GoogleCalendar } from '../../../shared/entities/stock';
|
|
2
2
|
export type Entity = GoogleCalendar;
|
|
3
3
|
export declare const Route = "google_calendar";
|
|
4
|
-
export declare const UpperName = "GoogleCalendar";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IListEventsInRangeRequest {
|
|
7
5
|
calendarId: string;
|
|
8
6
|
from: string;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { GoogleSheetPool } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = GoogleSheetPool;
|
|
4
4
|
export declare const Route = "google_sheet_pool";
|
|
5
|
-
export declare const UpperName = "GoogleSheetPool";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IRepository {
|
|
8
6
|
clearAndFill(): Promise<void>;
|
|
9
7
|
}
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Location, TypeOfLocation } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Location;
|
|
4
4
|
export declare const Route = "location";
|
|
5
|
-
export declare const UpperName = "Location";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
interface IFindDetailedResponse extends Entity {
|
|
8
6
|
type_of_location: TypeOfLocation;
|
|
9
7
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as IShared from '../../../shared/interface';
|
|
2
|
+
export declare const Route = "mobile_print";
|
|
3
|
+
export interface IPrintLocations {
|
|
4
|
+
locations_ids: string[];
|
|
5
|
+
printer: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export interface IRepository {
|
|
11
|
+
printLocationsPdf(data: string[]): Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DocumentLineNote } from '../../../shared/entities/stock';
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export declare const Route = "prison";
|
|
4
|
-
export declare const UpperName = "Prison";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IFindLinesInPrisonResponse {
|
|
7
5
|
id: string;
|
|
8
6
|
quantity: number;
|
|
@@ -2,8 +2,6 @@ import { type ProductImage, type ProductVirtuals, type UnitOfMeasure, type VatTa
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
import * as IDocumentLine from '../../supply/documentLine/interfaces';
|
|
4
4
|
export declare const Route = "product_sheets";
|
|
5
|
-
export declare const UpperName = "ProductsSheets";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type IProductPromotionVirtuals = ProductPromotionVirtuals;
|
|
8
6
|
export type IProductVirtuals = ProductVirtuals;
|
|
9
7
|
export type IProductBaseVirtuals = ProductBaseVirtuals;
|
|
@@ -151,6 +149,10 @@ export interface IEntityMinified {
|
|
|
151
149
|
export interface IPrintLabelQueryRequest {
|
|
152
150
|
token: string;
|
|
153
151
|
}
|
|
152
|
+
export interface IPrintLabelBulkQueryRequest {
|
|
153
|
+
token: string;
|
|
154
|
+
ids: string;
|
|
155
|
+
}
|
|
154
156
|
export interface IFindByReferenceRequest {
|
|
155
157
|
reference: string;
|
|
156
158
|
allowProviderWildcard?: boolean;
|
|
@@ -213,8 +215,9 @@ export type IFindForMobileRequest = {
|
|
|
213
215
|
id: string;
|
|
214
216
|
};
|
|
215
217
|
export interface IProductLocation {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
+
location_id: string;
|
|
219
|
+
product_ids: string[];
|
|
220
|
+
created_by: string;
|
|
218
221
|
}
|
|
219
222
|
export interface IProductByOwner {
|
|
220
223
|
id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import joi from 'joi';
|
|
2
|
-
import { IFindForMobileRequest, ICheckStockByIdsRequest, IFindProductSheetByReference, IProductLocation } from './interface';
|
|
2
|
+
import { IFindForMobileRequest, ICheckStockByIdsRequest, IFindProductSheetByReference, IProductLocation, type IPrintLabelBulkQueryRequest } from './interface';
|
|
3
3
|
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
4
|
+
export declare const printLabelBulkQuery: joi.ObjectSchema<IPrintLabelBulkQueryRequest>;
|
|
4
5
|
export declare const checkStockByIdsBody: joi.ObjectSchema<ICheckStockByIdsRequest>;
|
|
5
6
|
export declare const basicSearchQuery: joi.ObjectSchema<any>;
|
|
6
7
|
export declare const findByRef: joi.ObjectSchema<any>;
|