@nomalism-com/types 0.40.115 → 0.40.116
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 +74 -0
- package/dist/index.js +74 -0
- package/dist/main.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,8 @@ __export(main_exports, {
|
|
|
30
30
|
ClientTypeRoutes: () => route_schema_exports3,
|
|
31
31
|
Commissioner: () => interface_exports5,
|
|
32
32
|
CommissionerRoutes: () => route_schema_exports6,
|
|
33
|
+
ConferirEncomenda: () => interface_exports65,
|
|
34
|
+
ConferirEncomendaRoutes: () => route_schema_exports114,
|
|
33
35
|
Country: () => interface_exports6,
|
|
34
36
|
CountryRoutes: () => route_schema_exports7,
|
|
35
37
|
CurrentAccount: () => interface_exports60,
|
|
@@ -5954,6 +5956,78 @@ var Route109 = "patch_notes";
|
|
|
5954
5956
|
var UpperName106 = "PatchNotes";
|
|
5955
5957
|
var LowerName106 = UpperName106[0].toLowerCase() + UpperName106.substring(1);
|
|
5956
5958
|
|
|
5959
|
+
// src/modules/stock/conferirEncomenda/interface.ts
|
|
5960
|
+
var interface_exports65 = {};
|
|
5961
|
+
__export(interface_exports65, {
|
|
5962
|
+
EstadoEncomendaEnum: () => EstadoEncomendaEnum,
|
|
5963
|
+
LowerName: () => LowerName107,
|
|
5964
|
+
Route: () => Route110,
|
|
5965
|
+
UpperName: () => UpperName107,
|
|
5966
|
+
estadoEncomendaKeys: () => estadoEncomendaKeys,
|
|
5967
|
+
estadoEncomendaValues: () => estadoEncomendaValues
|
|
5968
|
+
});
|
|
5969
|
+
var Route110 = "conferir_encomenda";
|
|
5970
|
+
var UpperName107 = "ConferirEncomenda";
|
|
5971
|
+
var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
5972
|
+
var EstadoEncomendaEnum = {
|
|
5973
|
+
PorConfirmar: "PorConfirmar",
|
|
5974
|
+
EsperaDefDetVendedor: "EsperaDefDetVendedor",
|
|
5975
|
+
EsperaInfoCliente: "EsperaInfoCliente",
|
|
5976
|
+
EsperaDevCatalogo: "EsperaDevCatalogo",
|
|
5977
|
+
EsperaEnvioRMCA: "EsperaEnvioRMCA",
|
|
5978
|
+
EsperaEnvioRM: "EsperaEnvioRM",
|
|
5979
|
+
EsperaMarcacaoRM: "EsperaMarcacaoRM",
|
|
5980
|
+
EsperaFolhaRM: "EsperaFolhaRM",
|
|
5981
|
+
EsperaVendedorRetificarRM: "EsperaVendedorRetificarRM",
|
|
5982
|
+
EsperaConferenciaRM: "EsperaConferenciaRM",
|
|
5983
|
+
EsperaOkClienteRM: "EsperaOkClienteRM",
|
|
5984
|
+
EsperaConsultaStockCotacao: "EsperaConsultaStockCotacao",
|
|
5985
|
+
EsperaRececaoConsulta: "EsperaRececaoConsulta",
|
|
5986
|
+
EsperaVendedorRetificarConsulta: "EsperaVendedorRetificarConsulta",
|
|
5987
|
+
ClienteFoiPensar: "ClienteFoiPensar",
|
|
5988
|
+
EsperaAtelier: "EsperaAtelier",
|
|
5989
|
+
EsperaProducaoInterna: "EsperaProducaoInterna",
|
|
5990
|
+
EsperaEstofador: "EsperaEstofador",
|
|
5991
|
+
EsperaProdMont: "EsperaProdMont",
|
|
5992
|
+
EsperaMontagem: "EsperaMontagem",
|
|
5993
|
+
EsperaCorteTecidos: "EsperaCorteTecidos",
|
|
5994
|
+
EsperaConfeccaoTecidosCortados: "EsperaConfeccaoTecidosCortados",
|
|
5995
|
+
EncomendarServico: "EncomendarServico",
|
|
5996
|
+
EncomendarServicoCAnexos: "EncomendarServicoCAnexos",
|
|
5997
|
+
EncomendarServicoSemNotificacao: "EncomendarServicoSemNotificacao",
|
|
5998
|
+
EncomendarVA: "EncomendarVA",
|
|
5999
|
+
EncomendarVACAnexos: "EncomendarVACAnexos",
|
|
6000
|
+
EncomendarVASemNotificacao: "EncomendarVASemNotificacao",
|
|
6001
|
+
EncomendarStock: "EncomendarStock",
|
|
6002
|
+
CancelarEncomendar: "CancelarEncomendar",
|
|
6003
|
+
StockEmLoja: "StockEmLoja",
|
|
6004
|
+
Refaturar: "Refaturar",
|
|
6005
|
+
DesligarDoSheets: "DesligarDoSheets",
|
|
6006
|
+
FecharLinha: "FecharLinha"
|
|
6007
|
+
};
|
|
6008
|
+
var estadoEncomendaKeys = Object.keys(EstadoEncomendaEnum);
|
|
6009
|
+
var estadoEncomendaValues = Object.values(EstadoEncomendaEnum);
|
|
6010
|
+
|
|
6011
|
+
// src/modules/stock/conferirEncomenda/route.schema.ts
|
|
6012
|
+
var route_schema_exports114 = {};
|
|
6013
|
+
__export(route_schema_exports114, {
|
|
6014
|
+
createBody: () => createBody65,
|
|
6015
|
+
updateBody: () => updateBody58
|
|
6016
|
+
});
|
|
6017
|
+
import joi115 from "joi";
|
|
6018
|
+
var createBodyKeys64 = {
|
|
6019
|
+
document_line_id: joi115.string().uuid().required(),
|
|
6020
|
+
estado: joi115.string().valid(...estadoEncomendaKeys).required(),
|
|
6021
|
+
data: joi115.object().unknown(true).allow(null).optional()
|
|
6022
|
+
};
|
|
6023
|
+
var createBody65 = joi115.object().keys(createBodyKeys64).messages(messages);
|
|
6024
|
+
var updateBodyKeys56 = {
|
|
6025
|
+
document_line_id: joi115.string().uuid().optional(),
|
|
6026
|
+
estado: joi115.string().valid(...estadoEncomendaKeys).optional(),
|
|
6027
|
+
data: joi115.object().unknown(true).allow(null).optional()
|
|
6028
|
+
};
|
|
6029
|
+
var updateBody58 = joi115.object().keys(updateBodyKeys56).messages(messages);
|
|
6030
|
+
|
|
5957
6031
|
// src/index.ts
|
|
5958
6032
|
var index_default = main_exports;
|
|
5959
6033
|
export {
|
package/dist/index.js
CHANGED
|
@@ -30,6 +30,8 @@ __export(main_exports, {
|
|
|
30
30
|
ClientTypeRoutes: () => route_schema_exports3,
|
|
31
31
|
Commissioner: () => interface_exports5,
|
|
32
32
|
CommissionerRoutes: () => route_schema_exports6,
|
|
33
|
+
ConferirEncomenda: () => interface_exports65,
|
|
34
|
+
ConferirEncomendaRoutes: () => route_schema_exports114,
|
|
33
35
|
Country: () => interface_exports6,
|
|
34
36
|
CountryRoutes: () => route_schema_exports7,
|
|
35
37
|
CurrentAccount: () => interface_exports60,
|
|
@@ -5954,6 +5956,78 @@ var Route109 = "patch_notes";
|
|
|
5954
5956
|
var UpperName106 = "PatchNotes";
|
|
5955
5957
|
var LowerName106 = UpperName106[0].toLowerCase() + UpperName106.substring(1);
|
|
5956
5958
|
|
|
5959
|
+
// src/modules/stock/conferirEncomenda/interface.ts
|
|
5960
|
+
var interface_exports65 = {};
|
|
5961
|
+
__export(interface_exports65, {
|
|
5962
|
+
EstadoEncomendaEnum: () => EstadoEncomendaEnum,
|
|
5963
|
+
LowerName: () => LowerName107,
|
|
5964
|
+
Route: () => Route110,
|
|
5965
|
+
UpperName: () => UpperName107,
|
|
5966
|
+
estadoEncomendaKeys: () => estadoEncomendaKeys,
|
|
5967
|
+
estadoEncomendaValues: () => estadoEncomendaValues
|
|
5968
|
+
});
|
|
5969
|
+
var Route110 = "conferir_encomenda";
|
|
5970
|
+
var UpperName107 = "ConferirEncomenda";
|
|
5971
|
+
var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
5972
|
+
var EstadoEncomendaEnum = {
|
|
5973
|
+
PorConfirmar: "PorConfirmar",
|
|
5974
|
+
EsperaDefDetVendedor: "EsperaDefDetVendedor",
|
|
5975
|
+
EsperaInfoCliente: "EsperaInfoCliente",
|
|
5976
|
+
EsperaDevCatalogo: "EsperaDevCatalogo",
|
|
5977
|
+
EsperaEnvioRMCA: "EsperaEnvioRMCA",
|
|
5978
|
+
EsperaEnvioRM: "EsperaEnvioRM",
|
|
5979
|
+
EsperaMarcacaoRM: "EsperaMarcacaoRM",
|
|
5980
|
+
EsperaFolhaRM: "EsperaFolhaRM",
|
|
5981
|
+
EsperaVendedorRetificarRM: "EsperaVendedorRetificarRM",
|
|
5982
|
+
EsperaConferenciaRM: "EsperaConferenciaRM",
|
|
5983
|
+
EsperaOkClienteRM: "EsperaOkClienteRM",
|
|
5984
|
+
EsperaConsultaStockCotacao: "EsperaConsultaStockCotacao",
|
|
5985
|
+
EsperaRececaoConsulta: "EsperaRececaoConsulta",
|
|
5986
|
+
EsperaVendedorRetificarConsulta: "EsperaVendedorRetificarConsulta",
|
|
5987
|
+
ClienteFoiPensar: "ClienteFoiPensar",
|
|
5988
|
+
EsperaAtelier: "EsperaAtelier",
|
|
5989
|
+
EsperaProducaoInterna: "EsperaProducaoInterna",
|
|
5990
|
+
EsperaEstofador: "EsperaEstofador",
|
|
5991
|
+
EsperaProdMont: "EsperaProdMont",
|
|
5992
|
+
EsperaMontagem: "EsperaMontagem",
|
|
5993
|
+
EsperaCorteTecidos: "EsperaCorteTecidos",
|
|
5994
|
+
EsperaConfeccaoTecidosCortados: "EsperaConfeccaoTecidosCortados",
|
|
5995
|
+
EncomendarServico: "EncomendarServico",
|
|
5996
|
+
EncomendarServicoCAnexos: "EncomendarServicoCAnexos",
|
|
5997
|
+
EncomendarServicoSemNotificacao: "EncomendarServicoSemNotificacao",
|
|
5998
|
+
EncomendarVA: "EncomendarVA",
|
|
5999
|
+
EncomendarVACAnexos: "EncomendarVACAnexos",
|
|
6000
|
+
EncomendarVASemNotificacao: "EncomendarVASemNotificacao",
|
|
6001
|
+
EncomendarStock: "EncomendarStock",
|
|
6002
|
+
CancelarEncomendar: "CancelarEncomendar",
|
|
6003
|
+
StockEmLoja: "StockEmLoja",
|
|
6004
|
+
Refaturar: "Refaturar",
|
|
6005
|
+
DesligarDoSheets: "DesligarDoSheets",
|
|
6006
|
+
FecharLinha: "FecharLinha"
|
|
6007
|
+
};
|
|
6008
|
+
var estadoEncomendaKeys = Object.keys(EstadoEncomendaEnum);
|
|
6009
|
+
var estadoEncomendaValues = Object.values(EstadoEncomendaEnum);
|
|
6010
|
+
|
|
6011
|
+
// src/modules/stock/conferirEncomenda/route.schema.ts
|
|
6012
|
+
var route_schema_exports114 = {};
|
|
6013
|
+
__export(route_schema_exports114, {
|
|
6014
|
+
createBody: () => createBody65,
|
|
6015
|
+
updateBody: () => updateBody58
|
|
6016
|
+
});
|
|
6017
|
+
import joi115 from "joi";
|
|
6018
|
+
var createBodyKeys64 = {
|
|
6019
|
+
document_line_id: joi115.string().uuid().required(),
|
|
6020
|
+
estado: joi115.string().valid(...estadoEncomendaKeys).required(),
|
|
6021
|
+
data: joi115.object().unknown(true).allow(null).optional()
|
|
6022
|
+
};
|
|
6023
|
+
var createBody65 = joi115.object().keys(createBodyKeys64).messages(messages);
|
|
6024
|
+
var updateBodyKeys56 = {
|
|
6025
|
+
document_line_id: joi115.string().uuid().optional(),
|
|
6026
|
+
estado: joi115.string().valid(...estadoEncomendaKeys).optional(),
|
|
6027
|
+
data: joi115.object().unknown(true).allow(null).optional()
|
|
6028
|
+
};
|
|
6029
|
+
var updateBody58 = joi115.object().keys(updateBodyKeys56).messages(messages);
|
|
6030
|
+
|
|
5957
6031
|
// src/index.ts
|
|
5958
6032
|
var index_default = main_exports;
|
|
5959
6033
|
export {
|
package/dist/main.d.ts
CHANGED
|
@@ -238,4 +238,6 @@ import * as AccountCodeRoutes from './modules/stock/accountCode/route.schema';
|
|
|
238
238
|
import * as LLM from './modules/llm/llm/interfaces';
|
|
239
239
|
import * as LLMRoutes from './modules/llm/llm/route.schema';
|
|
240
240
|
import * as PatchNotes from './modules/integration/patchNotes/interfaces';
|
|
241
|
-
|
|
241
|
+
import * as ConferirEncomenda from './modules/stock/conferirEncomenda/interface';
|
|
242
|
+
import * as ConferirEncomendaRoutes from './modules/stock/conferirEncomenda/route.schema';
|
|
243
|
+
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, DocumentLineAssocRoutes, 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, 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, AdminPanel, ErrorLog, ErrorLogRoutes, DocumentLineRm, DocumentLineRmRoutes, DocumentLineMt, DocumentLineMtRoutes, ChatSubscriber, ChatSubscriberRoutes, Tag, TagRoutes, Gmails, GmailsRoutes, NPF, NPFRoutes, NRCL, NRCLRoutes, CurrentAccount, CurrentAccountRoutes, PaymentBatch, PaymentBatchRoutes, Portal, PortalRoutes, GoogleSheetPool, AccountCode, AccountCodeRoutes, LLM, LLMRoutes, PatchNotes, ConferirEncomenda, ConferirEncomendaRoutes, };
|
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.40.
|
|
4
|
+
"version": "0.40.116",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|