@nomalism-com/types 0.47.12 → 0.47.14
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 +33 -68
- package/dist/index.js +33 -68
- package/dist/main.d.ts +1 -3
- package/dist/modules/supply/currentAccount/interface.d.ts +1 -0
- package/dist/modules/supply/documentSet/interface.d.ts +0 -2
- package/dist/shared/entities/stock.d.ts +0 -1
- package/dist/shared/entities/user.d.ts +0 -16
- package/package.json +1 -1
- package/dist/modules/user/zipCode/interfaces.d.ts +0 -21
- package/dist/modules/user/zipCode/route.schema.d.ts +0 -3
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var main_exports = {};
|
|
|
9
9
|
__export(main_exports, {
|
|
10
10
|
AccountCode: () => interface_exports7,
|
|
11
11
|
AccountCodeRoutes: () => route_schema_exports37,
|
|
12
|
-
AdminPanel: () =>
|
|
12
|
+
AdminPanel: () => interfaces_exports62,
|
|
13
13
|
AllowedDevice: () => interfaces_exports31,
|
|
14
14
|
AllowedDeviceRoutes: () => route_schema_exports35,
|
|
15
15
|
BankData: () => interface_exports51,
|
|
@@ -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_exports121,
|
|
78
78
|
ExternalDocumentHeader: () => interface_exports39,
|
|
79
79
|
ExternalDocumentHeaderRoutes: () => route_schema_exports77,
|
|
80
80
|
ExternalDocumentType: () => interface_exports40,
|
|
@@ -260,11 +260,9 @@ __export(main_exports, {
|
|
|
260
260
|
VatValidationRoutes: () => route_schema_exports65,
|
|
261
261
|
Vehicles: () => interfaces_exports61,
|
|
262
262
|
VehiclesRoutes: () => route_schema_exports120,
|
|
263
|
-
WebSocket: () =>
|
|
263
|
+
WebSocket: () => interfaces_exports64,
|
|
264
264
|
Workflow: () => interfaces_exports41,
|
|
265
265
|
WorkflowRoutes: () => route_schema_exports66,
|
|
266
|
-
ZipCode: () => interfaces_exports62,
|
|
267
|
-
ZipCodeRoutes: () => route_schema_exports121,
|
|
268
266
|
documentManagementErrors: () => documentManagementErrors_exports,
|
|
269
267
|
integrationErrors: () => integrationErrors_exports,
|
|
270
268
|
shared: () => interface_exports23,
|
|
@@ -3745,14 +3743,12 @@ __export(route_schema_exports75, {
|
|
|
3745
3743
|
import joi76 from "joi";
|
|
3746
3744
|
var createBodyKeys34 = {
|
|
3747
3745
|
name: joi76.string().required(),
|
|
3748
|
-
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3749
|
-
active_by_default: joi76.boolean().default(false).optional()
|
|
3746
|
+
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3750
3747
|
};
|
|
3751
3748
|
var createBody36 = joi76.object().keys(createBodyKeys34).messages(messages);
|
|
3752
3749
|
var updateBodyKeys29 = {
|
|
3753
3750
|
name: joi76.string(),
|
|
3754
|
-
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3755
|
-
active_by_default: joi76.boolean().optional()
|
|
3751
|
+
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3756
3752
|
};
|
|
3757
3753
|
var updateBody31 = joi76.object().keys(updateBodyKeys29).messages(messages);
|
|
3758
3754
|
|
|
@@ -5571,52 +5567,21 @@ var updateBodyKeys57 = {
|
|
|
5571
5567
|
};
|
|
5572
5568
|
var updateBody59 = joi121.object().keys(updateBodyKeys57).messages(messages);
|
|
5573
5569
|
|
|
5574
|
-
// src/modules/
|
|
5570
|
+
// src/modules/view/adminPanel/interfaces.ts
|
|
5575
5571
|
var interfaces_exports62 = {};
|
|
5576
5572
|
__export(interfaces_exports62, {
|
|
5577
5573
|
Route: () => Route133
|
|
5578
5574
|
});
|
|
5579
|
-
var Route133 = "
|
|
5575
|
+
var Route133 = "admin_panel";
|
|
5580
5576
|
|
|
5581
|
-
// src/modules/
|
|
5582
|
-
var route_schema_exports121 = {};
|
|
5583
|
-
__export(route_schema_exports121, {
|
|
5584
|
-
createBody: () => createBody68,
|
|
5585
|
-
findByPostalCodeBody: () => findByPostalCodeBody
|
|
5586
|
-
});
|
|
5587
|
-
import joi122 from "joi";
|
|
5588
|
-
var createBodyKeys66 = {
|
|
5589
|
-
address: joi122.string().required(),
|
|
5590
|
-
county: joi122.string().required(),
|
|
5591
|
-
county_code: joi122.number().required(),
|
|
5592
|
-
postal_code: joi122.string().trim(true).lowercase().required(),
|
|
5593
|
-
locality: joi122.string().required(),
|
|
5594
|
-
parish: joi122.string().required(),
|
|
5595
|
-
district: joi122.string().required(),
|
|
5596
|
-
latitude: joi122.string().required(),
|
|
5597
|
-
longitude: joi122.string().required()
|
|
5598
|
-
};
|
|
5599
|
-
var createBody68 = joi122.array().items(joi122.object().keys(createBodyKeys66)).messages(messages);
|
|
5600
|
-
var findByPostalCodeBodyKeys = {
|
|
5601
|
-
postal_code: joi122.string().trim(true).lowercase().required()
|
|
5602
|
-
};
|
|
5603
|
-
var findByPostalCodeBody = joi122.object().keys(findByPostalCodeBodyKeys).messages(messages);
|
|
5604
|
-
|
|
5605
|
-
// src/modules/view/adminPanel/interfaces.ts
|
|
5577
|
+
// src/modules/view/errorLog/interfaces.ts
|
|
5606
5578
|
var interfaces_exports63 = {};
|
|
5607
5579
|
__export(interfaces_exports63, {
|
|
5608
|
-
Route: () => Route134
|
|
5609
|
-
});
|
|
5610
|
-
var Route134 = "admin_panel";
|
|
5611
|
-
|
|
5612
|
-
// src/modules/view/errorLog/interfaces.ts
|
|
5613
|
-
var interfaces_exports64 = {};
|
|
5614
|
-
__export(interfaces_exports64, {
|
|
5615
5580
|
IErrorTypeEnum: () => IErrorTypeEnum,
|
|
5616
|
-
Route: () =>
|
|
5581
|
+
Route: () => Route134,
|
|
5617
5582
|
errorTypes: () => errorTypes
|
|
5618
5583
|
});
|
|
5619
|
-
var
|
|
5584
|
+
var Route134 = "error_log";
|
|
5620
5585
|
var IErrorTypeEnum = {
|
|
5621
5586
|
prisma: "prisma",
|
|
5622
5587
|
unhandled: "unhandled",
|
|
@@ -5629,34 +5594,34 @@ var IErrorTypeEnum = {
|
|
|
5629
5594
|
var errorTypes = Object.keys(IErrorTypeEnum);
|
|
5630
5595
|
|
|
5631
5596
|
// src/modules/view/errorLog/route.schema.ts
|
|
5632
|
-
var
|
|
5633
|
-
__export(
|
|
5634
|
-
createBody: () =>
|
|
5635
|
-
});
|
|
5636
|
-
import
|
|
5637
|
-
var
|
|
5638
|
-
error:
|
|
5639
|
-
name:
|
|
5640
|
-
message:
|
|
5641
|
-
stack:
|
|
5597
|
+
var route_schema_exports121 = {};
|
|
5598
|
+
__export(route_schema_exports121, {
|
|
5599
|
+
createBody: () => createBody68
|
|
5600
|
+
});
|
|
5601
|
+
import joi122 from "joi";
|
|
5602
|
+
var createBodyKeys66 = {
|
|
5603
|
+
error: joi122.object({
|
|
5604
|
+
name: joi122.string().required(),
|
|
5605
|
+
message: joi122.string().required(),
|
|
5606
|
+
stack: joi122.string().optional()
|
|
5642
5607
|
}),
|
|
5643
|
-
request:
|
|
5644
|
-
url:
|
|
5645
|
-
body:
|
|
5646
|
-
query:
|
|
5647
|
-
params:
|
|
5608
|
+
request: joi122.object({
|
|
5609
|
+
url: joi122.string().required(),
|
|
5610
|
+
body: joi122.any().optional(),
|
|
5611
|
+
query: joi122.any().optional(),
|
|
5612
|
+
params: joi122.any().optional()
|
|
5648
5613
|
}),
|
|
5649
|
-
service:
|
|
5650
|
-
type:
|
|
5614
|
+
service: joi122.string().required(),
|
|
5615
|
+
type: joi122.string().valid(...errorTypes).required()
|
|
5651
5616
|
};
|
|
5652
|
-
var
|
|
5617
|
+
var createBody68 = joi122.object().keys(createBodyKeys66).messages(messages);
|
|
5653
5618
|
|
|
5654
5619
|
// src/modules/view/webSocket/interfaces.ts
|
|
5655
|
-
var
|
|
5656
|
-
__export(
|
|
5657
|
-
Route: () =>
|
|
5620
|
+
var interfaces_exports64 = {};
|
|
5621
|
+
__export(interfaces_exports64, {
|
|
5622
|
+
Route: () => Route135
|
|
5658
5623
|
});
|
|
5659
|
-
var
|
|
5624
|
+
var Route135 = "ws";
|
|
5660
5625
|
|
|
5661
5626
|
// src/shared/errors/documentManagementErrors.ts
|
|
5662
5627
|
var documentManagementErrors_exports = {};
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var main_exports = {};
|
|
|
9
9
|
__export(main_exports, {
|
|
10
10
|
AccountCode: () => interface_exports7,
|
|
11
11
|
AccountCodeRoutes: () => route_schema_exports37,
|
|
12
|
-
AdminPanel: () =>
|
|
12
|
+
AdminPanel: () => interfaces_exports62,
|
|
13
13
|
AllowedDevice: () => interfaces_exports31,
|
|
14
14
|
AllowedDeviceRoutes: () => route_schema_exports35,
|
|
15
15
|
BankData: () => interface_exports51,
|
|
@@ -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_exports121,
|
|
78
78
|
ExternalDocumentHeader: () => interface_exports39,
|
|
79
79
|
ExternalDocumentHeaderRoutes: () => route_schema_exports77,
|
|
80
80
|
ExternalDocumentType: () => interface_exports40,
|
|
@@ -260,11 +260,9 @@ __export(main_exports, {
|
|
|
260
260
|
VatValidationRoutes: () => route_schema_exports65,
|
|
261
261
|
Vehicles: () => interfaces_exports61,
|
|
262
262
|
VehiclesRoutes: () => route_schema_exports120,
|
|
263
|
-
WebSocket: () =>
|
|
263
|
+
WebSocket: () => interfaces_exports64,
|
|
264
264
|
Workflow: () => interfaces_exports41,
|
|
265
265
|
WorkflowRoutes: () => route_schema_exports66,
|
|
266
|
-
ZipCode: () => interfaces_exports62,
|
|
267
|
-
ZipCodeRoutes: () => route_schema_exports121,
|
|
268
266
|
documentManagementErrors: () => documentManagementErrors_exports,
|
|
269
267
|
integrationErrors: () => integrationErrors_exports,
|
|
270
268
|
shared: () => interface_exports23,
|
|
@@ -3745,14 +3743,12 @@ __export(route_schema_exports75, {
|
|
|
3745
3743
|
import joi76 from "joi";
|
|
3746
3744
|
var createBodyKeys34 = {
|
|
3747
3745
|
name: joi76.string().required(),
|
|
3748
|
-
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3749
|
-
active_by_default: joi76.boolean().default(false).optional()
|
|
3746
|
+
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3750
3747
|
};
|
|
3751
3748
|
var createBody36 = joi76.object().keys(createBodyKeys34).messages(messages);
|
|
3752
3749
|
var updateBodyKeys29 = {
|
|
3753
3750
|
name: joi76.string(),
|
|
3754
|
-
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3755
|
-
active_by_default: joi76.boolean().optional()
|
|
3751
|
+
document_set_id: joi76.number().integer().allow(null).optional()
|
|
3756
3752
|
};
|
|
3757
3753
|
var updateBody31 = joi76.object().keys(updateBodyKeys29).messages(messages);
|
|
3758
3754
|
|
|
@@ -5571,52 +5567,21 @@ var updateBodyKeys57 = {
|
|
|
5571
5567
|
};
|
|
5572
5568
|
var updateBody59 = joi121.object().keys(updateBodyKeys57).messages(messages);
|
|
5573
5569
|
|
|
5574
|
-
// src/modules/
|
|
5570
|
+
// src/modules/view/adminPanel/interfaces.ts
|
|
5575
5571
|
var interfaces_exports62 = {};
|
|
5576
5572
|
__export(interfaces_exports62, {
|
|
5577
5573
|
Route: () => Route133
|
|
5578
5574
|
});
|
|
5579
|
-
var Route133 = "
|
|
5575
|
+
var Route133 = "admin_panel";
|
|
5580
5576
|
|
|
5581
|
-
// src/modules/
|
|
5582
|
-
var route_schema_exports121 = {};
|
|
5583
|
-
__export(route_schema_exports121, {
|
|
5584
|
-
createBody: () => createBody68,
|
|
5585
|
-
findByPostalCodeBody: () => findByPostalCodeBody
|
|
5586
|
-
});
|
|
5587
|
-
import joi122 from "joi";
|
|
5588
|
-
var createBodyKeys66 = {
|
|
5589
|
-
address: joi122.string().required(),
|
|
5590
|
-
county: joi122.string().required(),
|
|
5591
|
-
county_code: joi122.number().required(),
|
|
5592
|
-
postal_code: joi122.string().trim(true).lowercase().required(),
|
|
5593
|
-
locality: joi122.string().required(),
|
|
5594
|
-
parish: joi122.string().required(),
|
|
5595
|
-
district: joi122.string().required(),
|
|
5596
|
-
latitude: joi122.string().required(),
|
|
5597
|
-
longitude: joi122.string().required()
|
|
5598
|
-
};
|
|
5599
|
-
var createBody68 = joi122.array().items(joi122.object().keys(createBodyKeys66)).messages(messages);
|
|
5600
|
-
var findByPostalCodeBodyKeys = {
|
|
5601
|
-
postal_code: joi122.string().trim(true).lowercase().required()
|
|
5602
|
-
};
|
|
5603
|
-
var findByPostalCodeBody = joi122.object().keys(findByPostalCodeBodyKeys).messages(messages);
|
|
5604
|
-
|
|
5605
|
-
// src/modules/view/adminPanel/interfaces.ts
|
|
5577
|
+
// src/modules/view/errorLog/interfaces.ts
|
|
5606
5578
|
var interfaces_exports63 = {};
|
|
5607
5579
|
__export(interfaces_exports63, {
|
|
5608
|
-
Route: () => Route134
|
|
5609
|
-
});
|
|
5610
|
-
var Route134 = "admin_panel";
|
|
5611
|
-
|
|
5612
|
-
// src/modules/view/errorLog/interfaces.ts
|
|
5613
|
-
var interfaces_exports64 = {};
|
|
5614
|
-
__export(interfaces_exports64, {
|
|
5615
5580
|
IErrorTypeEnum: () => IErrorTypeEnum,
|
|
5616
|
-
Route: () =>
|
|
5581
|
+
Route: () => Route134,
|
|
5617
5582
|
errorTypes: () => errorTypes
|
|
5618
5583
|
});
|
|
5619
|
-
var
|
|
5584
|
+
var Route134 = "error_log";
|
|
5620
5585
|
var IErrorTypeEnum = {
|
|
5621
5586
|
prisma: "prisma",
|
|
5622
5587
|
unhandled: "unhandled",
|
|
@@ -5629,34 +5594,34 @@ var IErrorTypeEnum = {
|
|
|
5629
5594
|
var errorTypes = Object.keys(IErrorTypeEnum);
|
|
5630
5595
|
|
|
5631
5596
|
// src/modules/view/errorLog/route.schema.ts
|
|
5632
|
-
var
|
|
5633
|
-
__export(
|
|
5634
|
-
createBody: () =>
|
|
5635
|
-
});
|
|
5636
|
-
import
|
|
5637
|
-
var
|
|
5638
|
-
error:
|
|
5639
|
-
name:
|
|
5640
|
-
message:
|
|
5641
|
-
stack:
|
|
5597
|
+
var route_schema_exports121 = {};
|
|
5598
|
+
__export(route_schema_exports121, {
|
|
5599
|
+
createBody: () => createBody68
|
|
5600
|
+
});
|
|
5601
|
+
import joi122 from "joi";
|
|
5602
|
+
var createBodyKeys66 = {
|
|
5603
|
+
error: joi122.object({
|
|
5604
|
+
name: joi122.string().required(),
|
|
5605
|
+
message: joi122.string().required(),
|
|
5606
|
+
stack: joi122.string().optional()
|
|
5642
5607
|
}),
|
|
5643
|
-
request:
|
|
5644
|
-
url:
|
|
5645
|
-
body:
|
|
5646
|
-
query:
|
|
5647
|
-
params:
|
|
5608
|
+
request: joi122.object({
|
|
5609
|
+
url: joi122.string().required(),
|
|
5610
|
+
body: joi122.any().optional(),
|
|
5611
|
+
query: joi122.any().optional(),
|
|
5612
|
+
params: joi122.any().optional()
|
|
5648
5613
|
}),
|
|
5649
|
-
service:
|
|
5650
|
-
type:
|
|
5614
|
+
service: joi122.string().required(),
|
|
5615
|
+
type: joi122.string().valid(...errorTypes).required()
|
|
5651
5616
|
};
|
|
5652
|
-
var
|
|
5617
|
+
var createBody68 = joi122.object().keys(createBodyKeys66).messages(messages);
|
|
5653
5618
|
|
|
5654
5619
|
// src/modules/view/webSocket/interfaces.ts
|
|
5655
|
-
var
|
|
5656
|
-
__export(
|
|
5657
|
-
Route: () =>
|
|
5620
|
+
var interfaces_exports64 = {};
|
|
5621
|
+
__export(interfaces_exports64, {
|
|
5622
|
+
Route: () => Route135
|
|
5658
5623
|
});
|
|
5659
|
-
var
|
|
5624
|
+
var Route135 = "ws";
|
|
5660
5625
|
|
|
5661
5626
|
// src/shared/errors/documentManagementErrors.ts
|
|
5662
5627
|
var documentManagementErrors_exports = {};
|
package/dist/main.d.ts
CHANGED
|
@@ -250,8 +250,6 @@ import * as UserTokens from "./modules/user/userTokens/interface";
|
|
|
250
250
|
import * as UserTokensRoutes from "./modules/user/userTokens/route.schema";
|
|
251
251
|
import * as Vehicles from "./modules/user/vehicles/interfaces";
|
|
252
252
|
import * as VehiclesRoutes from "./modules/user/vehicles/route.schema";
|
|
253
|
-
import * as ZipCode from "./modules/user/zipCode/interfaces";
|
|
254
|
-
import * as ZipCodeRoutes from "./modules/user/zipCode/route.schema";
|
|
255
253
|
import * as AdminPanel from "./modules/view/adminPanel/interfaces";
|
|
256
254
|
import * as ErrorLog from "./modules/view/errorLog/interfaces";
|
|
257
255
|
import * as ErrorLogRoutes from "./modules/view/errorLog/route.schema";
|
|
@@ -262,4 +260,4 @@ import * as stockErrors from "./shared/errors/stockErrors";
|
|
|
262
260
|
import * as userErrors from "./shared/errors/userErrors";
|
|
263
261
|
import * as viewErrors from "./shared/errors/viewErrors";
|
|
264
262
|
import * as shared from "./shared/interface";
|
|
265
|
-
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, EmailAccount, EmailAccountRoutes, 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,
|
|
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, EmailAccount, EmailAccountRoutes, 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, };
|
|
@@ -5,12 +5,10 @@ export declare const Route = "document_set";
|
|
|
5
5
|
export interface ICreateRequest {
|
|
6
6
|
document_set_id: number | null;
|
|
7
7
|
name: string;
|
|
8
|
-
active_by_default: boolean;
|
|
9
8
|
}
|
|
10
9
|
export interface IUpdateRequest {
|
|
11
10
|
document_set_id?: number | null;
|
|
12
11
|
name?: string;
|
|
13
|
-
active_by_default?: boolean;
|
|
14
12
|
}
|
|
15
13
|
export interface IRepository {
|
|
16
14
|
findById(selector: IShared.IFindByIdRequest): Promise<Entity | null>;
|
|
@@ -372,22 +372,6 @@ export type Vehicles = {
|
|
|
372
372
|
created_by: string;
|
|
373
373
|
updated_by: string;
|
|
374
374
|
};
|
|
375
|
-
/**
|
|
376
|
-
* Model ZipCode
|
|
377
|
-
*
|
|
378
|
-
*/
|
|
379
|
-
export type ZipCode = {
|
|
380
|
-
id: string;
|
|
381
|
-
postal_code: string;
|
|
382
|
-
address: string;
|
|
383
|
-
locality: string;
|
|
384
|
-
parish: string;
|
|
385
|
-
county: string;
|
|
386
|
-
county_code: number;
|
|
387
|
-
district: string;
|
|
388
|
-
latitude: string;
|
|
389
|
-
longitude: string;
|
|
390
|
-
};
|
|
391
375
|
/**
|
|
392
376
|
* Model Tenant
|
|
393
377
|
*
|
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.47.
|
|
4
|
+
"version": "0.47.14",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -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
|
-
}
|