@nomalism-com/types 1.3.44 → 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
CHANGED
|
@@ -11,7 +11,7 @@ var main_exports = {};
|
|
|
11
11
|
__export(main_exports, {
|
|
12
12
|
AccountCode: () => interface_exports7,
|
|
13
13
|
AccountCodeRoutes: () => route_schema_exports37,
|
|
14
|
-
AdminPanel: () =>
|
|
14
|
+
AdminPanel: () => interfaces_exports62,
|
|
15
15
|
AllowedDevice: () => interfaces_exports31,
|
|
16
16
|
AllowedDeviceRoutes: () => route_schema_exports35,
|
|
17
17
|
BankData: () => interface_exports50,
|
|
@@ -73,8 +73,8 @@ __export(main_exports, {
|
|
|
73
73
|
EmailTemplateRoutes: () => route_schema_exports22,
|
|
74
74
|
EmailVerification: () => interfaces_exports19,
|
|
75
75
|
EmailVerificationRoutes: () => route_schema_exports24,
|
|
76
|
-
ErrorLog: () =>
|
|
77
|
-
ErrorLogRoutes: () =>
|
|
76
|
+
ErrorLog: () => interfaces_exports63,
|
|
77
|
+
ErrorLogRoutes: () => route_schema_exports120,
|
|
78
78
|
ExternalDocumentHeader: () => interface_exports38,
|
|
79
79
|
ExternalDocumentHeaderRoutes: () => route_schema_exports76,
|
|
80
80
|
ExternalDocumentType: () => interface_exports39,
|
|
@@ -260,11 +260,9 @@ __export(main_exports, {
|
|
|
260
260
|
VatValidationRoutes: () => route_schema_exports64,
|
|
261
261
|
Vehicles: () => interfaces_exports61,
|
|
262
262
|
VehiclesRoutes: () => route_schema_exports119,
|
|
263
|
-
WebSocket: () =>
|
|
263
|
+
WebSocket: () => interfaces_exports64,
|
|
264
264
|
Workflow: () => interfaces_exports41,
|
|
265
265
|
WorkflowRoutes: () => route_schema_exports65,
|
|
266
|
-
ZipCode: () => interfaces_exports62,
|
|
267
|
-
ZipCodeRoutes: () => route_schema_exports120,
|
|
268
266
|
documentManagementErrors: () => documentManagementErrors_exports,
|
|
269
267
|
integrationErrors: () => integrationErrors_exports,
|
|
270
268
|
shared: () => interface_exports22,
|
|
@@ -5398,51 +5396,21 @@ var updateBodyKeys56 = {
|
|
|
5398
5396
|
};
|
|
5399
5397
|
var updateBody58 = joi68.object().keys(updateBodyKeys56).messages(messages);
|
|
5400
5398
|
|
|
5401
|
-
// src/modules/
|
|
5399
|
+
// src/modules/view/adminPanel/interfaces.ts
|
|
5402
5400
|
var interfaces_exports62 = {};
|
|
5403
5401
|
__export(interfaces_exports62, {
|
|
5404
5402
|
Route: () => Route132
|
|
5405
5403
|
});
|
|
5406
|
-
var Route132 = "
|
|
5407
|
-
|
|
5408
|
-
// src/modules/user/zipCode/route.schema.ts
|
|
5409
|
-
var route_schema_exports120 = {};
|
|
5410
|
-
__export(route_schema_exports120, {
|
|
5411
|
-
createBody: () => createBody67,
|
|
5412
|
-
findByPostalCodeBody: () => findByPostalCodeBody
|
|
5413
|
-
});
|
|
5414
|
-
var createBodyKeys65 = {
|
|
5415
|
-
address: joi68.string().required(),
|
|
5416
|
-
county: joi68.string().required(),
|
|
5417
|
-
county_code: joi68.number().required(),
|
|
5418
|
-
postal_code: joi68.string().trim(true).lowercase().required(),
|
|
5419
|
-
locality: joi68.string().required(),
|
|
5420
|
-
parish: joi68.string().required(),
|
|
5421
|
-
district: joi68.string().required(),
|
|
5422
|
-
latitude: joi68.string().required(),
|
|
5423
|
-
longitude: joi68.string().required()
|
|
5424
|
-
};
|
|
5425
|
-
var createBody67 = joi68.array().items(joi68.object().keys(createBodyKeys65)).messages(messages);
|
|
5426
|
-
var findByPostalCodeBodyKeys = {
|
|
5427
|
-
postal_code: joi68.string().trim(true).lowercase().required()
|
|
5428
|
-
};
|
|
5429
|
-
var findByPostalCodeBody = joi68.object().keys(findByPostalCodeBodyKeys).messages(messages);
|
|
5404
|
+
var Route132 = "admin_panel";
|
|
5430
5405
|
|
|
5431
|
-
// src/modules/view/
|
|
5406
|
+
// src/modules/view/errorLog/interfaces.ts
|
|
5432
5407
|
var interfaces_exports63 = {};
|
|
5433
5408
|
__export(interfaces_exports63, {
|
|
5434
|
-
Route: () => Route133
|
|
5435
|
-
});
|
|
5436
|
-
var Route133 = "admin_panel";
|
|
5437
|
-
|
|
5438
|
-
// src/modules/view/errorLog/interfaces.ts
|
|
5439
|
-
var interfaces_exports64 = {};
|
|
5440
|
-
__export(interfaces_exports64, {
|
|
5441
5409
|
IErrorTypeEnum: () => IErrorTypeEnum,
|
|
5442
|
-
Route: () =>
|
|
5410
|
+
Route: () => Route133,
|
|
5443
5411
|
errorTypes: () => errorTypes
|
|
5444
5412
|
});
|
|
5445
|
-
var
|
|
5413
|
+
var Route133 = "error_log";
|
|
5446
5414
|
var IErrorTypeEnum = {
|
|
5447
5415
|
prisma: "prisma",
|
|
5448
5416
|
unhandled: "unhandled",
|
|
@@ -5454,11 +5422,11 @@ var IErrorTypeEnum = {
|
|
|
5454
5422
|
var errorTypes = Object.keys(IErrorTypeEnum);
|
|
5455
5423
|
|
|
5456
5424
|
// src/modules/view/errorLog/route.schema.ts
|
|
5457
|
-
var
|
|
5458
|
-
__export(
|
|
5459
|
-
createBody: () =>
|
|
5425
|
+
var route_schema_exports120 = {};
|
|
5426
|
+
__export(route_schema_exports120, {
|
|
5427
|
+
createBody: () => createBody67
|
|
5460
5428
|
});
|
|
5461
|
-
var
|
|
5429
|
+
var createBodyKeys65 = {
|
|
5462
5430
|
error: joi68.object({
|
|
5463
5431
|
name: joi68.string().required(),
|
|
5464
5432
|
message: joi68.string().required(),
|
|
@@ -5473,14 +5441,14 @@ var createBodyKeys66 = {
|
|
|
5473
5441
|
service: joi68.string().required(),
|
|
5474
5442
|
type: joi68.string().valid(...errorTypes).required()
|
|
5475
5443
|
};
|
|
5476
|
-
var
|
|
5444
|
+
var createBody67 = joi68.object().keys(createBodyKeys65).messages(messages);
|
|
5477
5445
|
|
|
5478
5446
|
// src/modules/view/webSocket/interfaces.ts
|
|
5479
|
-
var
|
|
5480
|
-
__export(
|
|
5481
|
-
Route: () =>
|
|
5447
|
+
var interfaces_exports64 = {};
|
|
5448
|
+
__export(interfaces_exports64, {
|
|
5449
|
+
Route: () => Route134
|
|
5482
5450
|
});
|
|
5483
|
-
var
|
|
5451
|
+
var Route134 = "ws";
|
|
5484
5452
|
|
|
5485
5453
|
// src/shared/errors/documentManagementErrors.ts
|
|
5486
5454
|
var documentManagementErrors_exports = {};
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var main_exports = {};
|
|
|
11
11
|
__export(main_exports, {
|
|
12
12
|
AccountCode: () => interface_exports7,
|
|
13
13
|
AccountCodeRoutes: () => route_schema_exports37,
|
|
14
|
-
AdminPanel: () =>
|
|
14
|
+
AdminPanel: () => interfaces_exports62,
|
|
15
15
|
AllowedDevice: () => interfaces_exports31,
|
|
16
16
|
AllowedDeviceRoutes: () => route_schema_exports35,
|
|
17
17
|
BankData: () => interface_exports50,
|
|
@@ -73,8 +73,8 @@ __export(main_exports, {
|
|
|
73
73
|
EmailTemplateRoutes: () => route_schema_exports22,
|
|
74
74
|
EmailVerification: () => interfaces_exports19,
|
|
75
75
|
EmailVerificationRoutes: () => route_schema_exports24,
|
|
76
|
-
ErrorLog: () =>
|
|
77
|
-
ErrorLogRoutes: () =>
|
|
76
|
+
ErrorLog: () => interfaces_exports63,
|
|
77
|
+
ErrorLogRoutes: () => route_schema_exports120,
|
|
78
78
|
ExternalDocumentHeader: () => interface_exports38,
|
|
79
79
|
ExternalDocumentHeaderRoutes: () => route_schema_exports76,
|
|
80
80
|
ExternalDocumentType: () => interface_exports39,
|
|
@@ -260,11 +260,9 @@ __export(main_exports, {
|
|
|
260
260
|
VatValidationRoutes: () => route_schema_exports64,
|
|
261
261
|
Vehicles: () => interfaces_exports61,
|
|
262
262
|
VehiclesRoutes: () => route_schema_exports119,
|
|
263
|
-
WebSocket: () =>
|
|
263
|
+
WebSocket: () => interfaces_exports64,
|
|
264
264
|
Workflow: () => interfaces_exports41,
|
|
265
265
|
WorkflowRoutes: () => route_schema_exports65,
|
|
266
|
-
ZipCode: () => interfaces_exports62,
|
|
267
|
-
ZipCodeRoutes: () => route_schema_exports120,
|
|
268
266
|
documentManagementErrors: () => documentManagementErrors_exports,
|
|
269
267
|
integrationErrors: () => integrationErrors_exports,
|
|
270
268
|
shared: () => interface_exports22,
|
|
@@ -5398,51 +5396,21 @@ var updateBodyKeys56 = {
|
|
|
5398
5396
|
};
|
|
5399
5397
|
var updateBody58 = joi68.object().keys(updateBodyKeys56).messages(messages);
|
|
5400
5398
|
|
|
5401
|
-
// src/modules/
|
|
5399
|
+
// src/modules/view/adminPanel/interfaces.ts
|
|
5402
5400
|
var interfaces_exports62 = {};
|
|
5403
5401
|
__export(interfaces_exports62, {
|
|
5404
5402
|
Route: () => Route132
|
|
5405
5403
|
});
|
|
5406
|
-
var Route132 = "
|
|
5407
|
-
|
|
5408
|
-
// src/modules/user/zipCode/route.schema.ts
|
|
5409
|
-
var route_schema_exports120 = {};
|
|
5410
|
-
__export(route_schema_exports120, {
|
|
5411
|
-
createBody: () => createBody67,
|
|
5412
|
-
findByPostalCodeBody: () => findByPostalCodeBody
|
|
5413
|
-
});
|
|
5414
|
-
var createBodyKeys65 = {
|
|
5415
|
-
address: joi68.string().required(),
|
|
5416
|
-
county: joi68.string().required(),
|
|
5417
|
-
county_code: joi68.number().required(),
|
|
5418
|
-
postal_code: joi68.string().trim(true).lowercase().required(),
|
|
5419
|
-
locality: joi68.string().required(),
|
|
5420
|
-
parish: joi68.string().required(),
|
|
5421
|
-
district: joi68.string().required(),
|
|
5422
|
-
latitude: joi68.string().required(),
|
|
5423
|
-
longitude: joi68.string().required()
|
|
5424
|
-
};
|
|
5425
|
-
var createBody67 = joi68.array().items(joi68.object().keys(createBodyKeys65)).messages(messages);
|
|
5426
|
-
var findByPostalCodeBodyKeys = {
|
|
5427
|
-
postal_code: joi68.string().trim(true).lowercase().required()
|
|
5428
|
-
};
|
|
5429
|
-
var findByPostalCodeBody = joi68.object().keys(findByPostalCodeBodyKeys).messages(messages);
|
|
5404
|
+
var Route132 = "admin_panel";
|
|
5430
5405
|
|
|
5431
|
-
// src/modules/view/
|
|
5406
|
+
// src/modules/view/errorLog/interfaces.ts
|
|
5432
5407
|
var interfaces_exports63 = {};
|
|
5433
5408
|
__export(interfaces_exports63, {
|
|
5434
|
-
Route: () => Route133
|
|
5435
|
-
});
|
|
5436
|
-
var Route133 = "admin_panel";
|
|
5437
|
-
|
|
5438
|
-
// src/modules/view/errorLog/interfaces.ts
|
|
5439
|
-
var interfaces_exports64 = {};
|
|
5440
|
-
__export(interfaces_exports64, {
|
|
5441
5409
|
IErrorTypeEnum: () => IErrorTypeEnum,
|
|
5442
|
-
Route: () =>
|
|
5410
|
+
Route: () => Route133,
|
|
5443
5411
|
errorTypes: () => errorTypes
|
|
5444
5412
|
});
|
|
5445
|
-
var
|
|
5413
|
+
var Route133 = "error_log";
|
|
5446
5414
|
var IErrorTypeEnum = {
|
|
5447
5415
|
prisma: "prisma",
|
|
5448
5416
|
unhandled: "unhandled",
|
|
@@ -5454,11 +5422,11 @@ var IErrorTypeEnum = {
|
|
|
5454
5422
|
var errorTypes = Object.keys(IErrorTypeEnum);
|
|
5455
5423
|
|
|
5456
5424
|
// src/modules/view/errorLog/route.schema.ts
|
|
5457
|
-
var
|
|
5458
|
-
__export(
|
|
5459
|
-
createBody: () =>
|
|
5425
|
+
var route_schema_exports120 = {};
|
|
5426
|
+
__export(route_schema_exports120, {
|
|
5427
|
+
createBody: () => createBody67
|
|
5460
5428
|
});
|
|
5461
|
-
var
|
|
5429
|
+
var createBodyKeys65 = {
|
|
5462
5430
|
error: joi68.object({
|
|
5463
5431
|
name: joi68.string().required(),
|
|
5464
5432
|
message: joi68.string().required(),
|
|
@@ -5473,14 +5441,14 @@ var createBodyKeys66 = {
|
|
|
5473
5441
|
service: joi68.string().required(),
|
|
5474
5442
|
type: joi68.string().valid(...errorTypes).required()
|
|
5475
5443
|
};
|
|
5476
|
-
var
|
|
5444
|
+
var createBody67 = joi68.object().keys(createBodyKeys65).messages(messages);
|
|
5477
5445
|
|
|
5478
5446
|
// src/modules/view/webSocket/interfaces.ts
|
|
5479
|
-
var
|
|
5480
|
-
__export(
|
|
5481
|
-
Route: () =>
|
|
5447
|
+
var interfaces_exports64 = {};
|
|
5448
|
+
__export(interfaces_exports64, {
|
|
5449
|
+
Route: () => Route134
|
|
5482
5450
|
});
|
|
5483
|
-
var
|
|
5451
|
+
var Route134 = "ws";
|
|
5484
5452
|
|
|
5485
5453
|
// src/shared/errors/documentManagementErrors.ts
|
|
5486
5454
|
var documentManagementErrors_exports = {};
|
package/dist/main.d.ts
CHANGED
|
@@ -248,8 +248,6 @@ import * as UserTokens from "./modules/user/userTokens/interface";
|
|
|
248
248
|
import * as UserTokensRoutes from "./modules/user/userTokens/route.schema";
|
|
249
249
|
import * as Vehicles from "./modules/user/vehicles/interfaces";
|
|
250
250
|
import * as VehiclesRoutes from "./modules/user/vehicles/route.schema";
|
|
251
|
-
import * as ZipCode from "./modules/user/zipCode/interfaces";
|
|
252
|
-
import * as ZipCodeRoutes from "./modules/user/zipCode/route.schema";
|
|
253
251
|
import * as AdminPanel from "./modules/view/adminPanel/interfaces";
|
|
254
252
|
import * as ErrorLog from "./modules/view/errorLog/interfaces";
|
|
255
253
|
import * as ErrorLogRoutes from "./modules/view/errorLog/route.schema";
|
|
@@ -260,4 +258,4 @@ import * as stockErrors from "./shared/errors/stockErrors";
|
|
|
260
258
|
import * as userErrors from "./shared/errors/userErrors";
|
|
261
259
|
import * as viewErrors from "./shared/errors/viewErrors";
|
|
262
260
|
import * as shared from "./shared/interface";
|
|
263
|
-
export { AccountCode, AccountCodeRoutes, AdminPanel, AllowedDevice, AllowedDeviceRoutes, BankData, BankDataRoutes, BillOfLading, BillOfLadingRoutes, Catalogo, CatalogoRoutes, Channel, ChannelRoutes, Chat, ChatRapidMessage, ChatRapidMessageRoutes, ChatRoutes, ChatSubscriber, ChatSubscriberRoutes, Client, ClientRoutes, ClientType, ClientTypeRoutes, CLT, CLTRoutes, Commissioner, CommissionerRoutes, ConferirEncomenda, Country, CountryRoutes, CurrentAccount, CurrentAccountRoutes, Dashboard, DashboardRoutes, DeliveryMethods, DeliveryMethodsRoutes, DocumentHeader, DocumentHeaderHistory, DocumentHeaderRoutes, DocumentHeaderSubscriber, DocumentHeaderSubscriberRoutes, DocumentHeaderSurvey, DocumentHeaderSurveyRoutes, DocumentLine, DocumentLineAssoc, DocumentLineMt, DocumentLineMtRoutes, DocumentLineNote, DocumentLineNoteRoutes, DocumentLineRm, DocumentLineRmRoutes, DocumentLineRoutes, documentManagementErrors, DocumentSet, DocumentSetRoutes, DocumentType, DocumentTypeRoutes, EmailLog, EmailLogRoutes, EmailTemplate, EmailTemplateAttachment, EmailTemplateAttachmentRoutes, EmailTemplateRoutes, EmailVerification, EmailVerificationRoutes, ErrorLog, ErrorLogRoutes, ExternalDocumentHeader, ExternalDocumentHeaderRoutes, ExternalDocumentType, Favorites, FavoritesRoutes, File, FileRoutes, Gmails, GoogleCalendar, GoogleCalendarRoutes, GoogleFilePermission, GoogleFilePermissionRoutes, GoogleSheetPool, GoogleSheets, GoogleSheetsRoutes, integrationErrors, Inventario, InventarioRoutes, Language, LanguageRoutes, LLM, LLMRoutes, Location, LocationRoutes, MaterialEntrance, MaterialEntranceRoutes, MaturityDates, MaturityDatesRoutes, MobilePrint, MobilePrintRoutes, Multimedia, MultimediaRoutes, Npc, NpcRoutes, NPF, NPFRoutes, NRCL, NRCLRoutes, Observation, ObservationRoutes, ObservationType, ObservationTypeRoutes, Order, OrderManagement, OrderRoutes, Password, PasswordRoutes, PatchNotes, Payment, PaymentBatch, PaymentBatchRoutes, PaymentMethods, PaymentMethodsRoutes, PaymentRoutes, Persona, PersonaRoutes, Portal, PortalRoutes, PreSale, PreSaleProduct, PreSaleProductRoutes, PreSaleRoutes, Printer, PrinterRoutes, Prison, PrisonRoutes, ProductGoogleSheets, ProductGoogleSheetsRoutes, ProductImage, ProductImageRoutes, ProductionOrder, ProductionOrderRoutes, ProductLocation, Proforma, ProformaRoutes, ProjectInfo, ProjectInfoRoutes, Promotion, PromotionAssoc, PromotionAssocRoutes, PromotionRoutes, PropostaFornecedor, PropostaFornecedorRoutes, PropostaSheets, PropostaSheetsRoutes, ProviderCreditNoteFromReturn, ProviderCreditNoteFromReturnRoutes, ProviderFinancialCreditNote, ProviderFinancialCreditNoteRoutes, Providers, ProviderServiceInvoice, ProviderServiceInvoiceRoutes, ProvidersRoutes, ProviderType, ProviderTypeRoutes, Purchase, PurchaseConditions, PurchaseConditionsRoutes, PurchaseRoutes, Quebra, QuebraRoutes, QueryList, QueryListRoutes, QueryParameter, QueryParameterRoutes, ReasonForExemption, ReasonForExemptionRoutes, RecurrentTasks, RefreshToken, RefreshTokenRoutes, ReturnReason, ReturnReasonRoutes, ReturnToProvider, ReturnToProviderRoutes, SavedEmPicking, SavedEmPickingRoutes, SavedProviderProposal, SavedProviderProposalRoutes, Schedule, SchedulePrintJob, SchedulePrintJobRoutes, ScheduleRoutes, SegmentsArea, SegmentsAreaRoutes, Sessions, SessionsRoutes, Settings, SettingsRoutes, shared, Shippings, ShippingsRoutes, SideMenu, SidemenuHighlight, SidemenuHighlightRoutes, SideMenuRoutes, SmsSender, SmsTemplate, SmsTemplateRoutes, StartDocumentHeaderLastUpdate, stockErrors, StockMovement, StockMovementRoutes, StoreOperator, StoreOperatorRoutes, Swift, SwiftRoutes, SystemModule, SystemModuleRoutes, Tag, TagRoutes, Task, TaskMessage, TaskMessageRoutes, TaskRead, TaskReadRoutes, TaskRoutes, Tenant, TenantRoutes, Theme, ThemeRoutes, Tickets, TicketsLanguage, TicketsLanguageRoutes, TicketsRoutes, TimeSheet, TimeSheetRoutes, Transformado, TransformadoRoutes, TypeOfLocation, TypeOfLocationRoutes, UnitOfMeasure, UnitOfMeasureRoutes, UpfrontReturn, UpfrontReturnRoutes, userErrors, UserPositions, UserPositionsRoutes, Users, UsersRoutes, UserTokens, UserTokensRoutes, VatTax, VatTaxRoutes, VatTaxZone, VatTaxZoneRoutes, VatValidation, VatValidationRoutes, Vehicles, VehiclesRoutes, viewErrors, WebSocket, Workflow, WorkflowRoutes,
|
|
261
|
+
export { AccountCode, AccountCodeRoutes, AdminPanel, AllowedDevice, AllowedDeviceRoutes, BankData, BankDataRoutes, BillOfLading, BillOfLadingRoutes, Catalogo, CatalogoRoutes, Channel, ChannelRoutes, Chat, ChatRapidMessage, ChatRapidMessageRoutes, ChatRoutes, ChatSubscriber, ChatSubscriberRoutes, Client, ClientRoutes, ClientType, ClientTypeRoutes, CLT, CLTRoutes, Commissioner, CommissionerRoutes, ConferirEncomenda, Country, CountryRoutes, CurrentAccount, CurrentAccountRoutes, Dashboard, DashboardRoutes, DeliveryMethods, DeliveryMethodsRoutes, DocumentHeader, DocumentHeaderHistory, DocumentHeaderRoutes, DocumentHeaderSubscriber, DocumentHeaderSubscriberRoutes, DocumentHeaderSurvey, DocumentHeaderSurveyRoutes, DocumentLine, DocumentLineAssoc, DocumentLineMt, DocumentLineMtRoutes, DocumentLineNote, DocumentLineNoteRoutes, DocumentLineRm, DocumentLineRmRoutes, DocumentLineRoutes, documentManagementErrors, DocumentSet, DocumentSetRoutes, DocumentType, DocumentTypeRoutes, EmailLog, EmailLogRoutes, EmailTemplate, EmailTemplateAttachment, EmailTemplateAttachmentRoutes, EmailTemplateRoutes, EmailVerification, EmailVerificationRoutes, ErrorLog, ErrorLogRoutes, ExternalDocumentHeader, ExternalDocumentHeaderRoutes, ExternalDocumentType, Favorites, FavoritesRoutes, File, FileRoutes, Gmails, GoogleCalendar, GoogleCalendarRoutes, GoogleFilePermission, GoogleFilePermissionRoutes, GoogleSheetPool, GoogleSheets, GoogleSheetsRoutes, integrationErrors, Inventario, InventarioRoutes, Language, LanguageRoutes, LLM, LLMRoutes, Location, LocationRoutes, MaterialEntrance, MaterialEntranceRoutes, MaturityDates, MaturityDatesRoutes, MobilePrint, MobilePrintRoutes, Multimedia, MultimediaRoutes, Npc, NpcRoutes, NPF, NPFRoutes, NRCL, NRCLRoutes, Observation, ObservationRoutes, ObservationType, ObservationTypeRoutes, Order, OrderManagement, OrderRoutes, Password, PasswordRoutes, PatchNotes, Payment, PaymentBatch, PaymentBatchRoutes, PaymentMethods, PaymentMethodsRoutes, PaymentRoutes, Persona, PersonaRoutes, Portal, PortalRoutes, PreSale, PreSaleProduct, PreSaleProductRoutes, PreSaleRoutes, Printer, PrinterRoutes, Prison, PrisonRoutes, ProductGoogleSheets, ProductGoogleSheetsRoutes, ProductImage, ProductImageRoutes, ProductionOrder, ProductionOrderRoutes, ProductLocation, Proforma, ProformaRoutes, ProjectInfo, ProjectInfoRoutes, Promotion, PromotionAssoc, PromotionAssocRoutes, PromotionRoutes, PropostaFornecedor, PropostaFornecedorRoutes, PropostaSheets, PropostaSheetsRoutes, ProviderCreditNoteFromReturn, ProviderCreditNoteFromReturnRoutes, ProviderFinancialCreditNote, ProviderFinancialCreditNoteRoutes, Providers, ProviderServiceInvoice, ProviderServiceInvoiceRoutes, ProvidersRoutes, ProviderType, ProviderTypeRoutes, Purchase, PurchaseConditions, PurchaseConditionsRoutes, PurchaseRoutes, Quebra, QuebraRoutes, QueryList, QueryListRoutes, QueryParameter, QueryParameterRoutes, ReasonForExemption, ReasonForExemptionRoutes, RecurrentTasks, RefreshToken, RefreshTokenRoutes, ReturnReason, ReturnReasonRoutes, ReturnToProvider, ReturnToProviderRoutes, SavedEmPicking, SavedEmPickingRoutes, SavedProviderProposal, SavedProviderProposalRoutes, Schedule, SchedulePrintJob, SchedulePrintJobRoutes, ScheduleRoutes, SegmentsArea, SegmentsAreaRoutes, Sessions, SessionsRoutes, Settings, SettingsRoutes, shared, Shippings, ShippingsRoutes, SideMenu, SidemenuHighlight, SidemenuHighlightRoutes, SideMenuRoutes, SmsSender, SmsTemplate, SmsTemplateRoutes, StartDocumentHeaderLastUpdate, stockErrors, StockMovement, StockMovementRoutes, StoreOperator, StoreOperatorRoutes, Swift, SwiftRoutes, SystemModule, SystemModuleRoutes, Tag, TagRoutes, Task, TaskMessage, TaskMessageRoutes, TaskRead, TaskReadRoutes, TaskRoutes, Tenant, TenantRoutes, Theme, ThemeRoutes, Tickets, TicketsLanguage, TicketsLanguageRoutes, TicketsRoutes, TimeSheet, TimeSheetRoutes, Transformado, TransformadoRoutes, TypeOfLocation, TypeOfLocationRoutes, UnitOfMeasure, UnitOfMeasureRoutes, UpfrontReturn, UpfrontReturnRoutes, userErrors, UserPositions, UserPositionsRoutes, Users, UsersRoutes, UserTokens, UserTokensRoutes, VatTax, VatTaxRoutes, VatTaxZone, VatTaxZoneRoutes, VatValidation, VatValidationRoutes, Vehicles, VehiclesRoutes, viewErrors, WebSocket, Workflow, WorkflowRoutes, };
|
|
@@ -369,22 +369,6 @@ export type Vehicles = {
|
|
|
369
369
|
created_by: string;
|
|
370
370
|
updated_by: string;
|
|
371
371
|
};
|
|
372
|
-
/**
|
|
373
|
-
* Model ZipCode
|
|
374
|
-
*
|
|
375
|
-
*/
|
|
376
|
-
export type ZipCode = {
|
|
377
|
-
id: string;
|
|
378
|
-
postal_code: string;
|
|
379
|
-
address: string;
|
|
380
|
-
locality: string;
|
|
381
|
-
parish: string;
|
|
382
|
-
county: string;
|
|
383
|
-
county_code: number;
|
|
384
|
-
district: string;
|
|
385
|
-
latitude: string;
|
|
386
|
-
longitude: string;
|
|
387
|
-
};
|
|
388
372
|
/**
|
|
389
373
|
* Model Tenant
|
|
390
374
|
*
|
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": "1.3.
|
|
4
|
+
"version": "1.3.46",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"lint-staged": "^17.0.8",
|
|
42
42
|
"prettier": "^3.9.5",
|
|
43
43
|
"tsup": "^8.5.1",
|
|
44
|
-
"typescript-eslint": "^8.
|
|
44
|
+
"typescript-eslint": "^8.64.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ZipCode } from "../../../shared/entities/user";
|
|
2
|
-
export type Entity = ZipCode;
|
|
3
|
-
export declare const Route = "zip_code";
|
|
4
|
-
export interface ICreateRequest {
|
|
5
|
-
postal_code: string;
|
|
6
|
-
address: string;
|
|
7
|
-
locality: string;
|
|
8
|
-
parish: string;
|
|
9
|
-
county: string;
|
|
10
|
-
county_code: number;
|
|
11
|
-
district: string;
|
|
12
|
-
latitude: string;
|
|
13
|
-
longitude: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IFindByPostalCode {
|
|
16
|
-
postal_code: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IRepository {
|
|
19
|
-
findByPostalCode(params: IFindByPostalCode): Promise<Entity[]>;
|
|
20
|
-
create(data: ICreateRequest[]): Promise<void>;
|
|
21
|
-
}
|