@nomalism-com/types 0.40.49 → 0.40.50
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
|
@@ -7,6 +7,8 @@ var __export = (target, all) => {
|
|
|
7
7
|
// src/main.ts
|
|
8
8
|
var main_exports = {};
|
|
9
9
|
__export(main_exports, {
|
|
10
|
+
AccountCode: () => interface_exports67,
|
|
11
|
+
AccountCodeRoutes: () => route_schema_exports115,
|
|
10
12
|
AdminPanel: () => interfaces_exports54,
|
|
11
13
|
BankData: () => interface_exports2,
|
|
12
14
|
BankDataRoutes: () => route_schema_exports,
|
|
@@ -5946,6 +5948,28 @@ var Route109 = "google_sheet_pool";
|
|
|
5946
5948
|
var UpperName107 = "GoogleSheetPool";
|
|
5947
5949
|
var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
5948
5950
|
|
|
5951
|
+
// src/modules/stock/accountCode/interface.ts
|
|
5952
|
+
var interface_exports67 = {};
|
|
5953
|
+
__export(interface_exports67, {
|
|
5954
|
+
LowerName: () => LowerName108,
|
|
5955
|
+
Route: () => Route110,
|
|
5956
|
+
UpperName: () => UpperName108
|
|
5957
|
+
});
|
|
5958
|
+
var Route110 = "account_code";
|
|
5959
|
+
var UpperName108 = "AccountCode";
|
|
5960
|
+
var LowerName108 = UpperName108[0].toLowerCase() + UpperName108.substring(1);
|
|
5961
|
+
|
|
5962
|
+
// src/modules/stock/accountCode/route.schema.ts
|
|
5963
|
+
var route_schema_exports115 = {};
|
|
5964
|
+
__export(route_schema_exports115, {
|
|
5965
|
+
findByCode: () => findByCode
|
|
5966
|
+
});
|
|
5967
|
+
import joi116 from "joi";
|
|
5968
|
+
var findByCodeParams = {
|
|
5969
|
+
code: joi116.string().required()
|
|
5970
|
+
};
|
|
5971
|
+
var findByCode = joi116.object().keys(findByCodeParams).messages(messages);
|
|
5972
|
+
|
|
5949
5973
|
// src/index.ts
|
|
5950
5974
|
var index_default = main_exports;
|
|
5951
5975
|
export {
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,8 @@ var __export = (target, all) => {
|
|
|
7
7
|
// src/main.ts
|
|
8
8
|
var main_exports = {};
|
|
9
9
|
__export(main_exports, {
|
|
10
|
+
AccountCode: () => interface_exports67,
|
|
11
|
+
AccountCodeRoutes: () => route_schema_exports115,
|
|
10
12
|
AdminPanel: () => interfaces_exports54,
|
|
11
13
|
BankData: () => interface_exports2,
|
|
12
14
|
BankDataRoutes: () => route_schema_exports,
|
|
@@ -5946,6 +5948,28 @@ var Route109 = "google_sheet_pool";
|
|
|
5946
5948
|
var UpperName107 = "GoogleSheetPool";
|
|
5947
5949
|
var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
5948
5950
|
|
|
5951
|
+
// src/modules/stock/accountCode/interface.ts
|
|
5952
|
+
var interface_exports67 = {};
|
|
5953
|
+
__export(interface_exports67, {
|
|
5954
|
+
LowerName: () => LowerName108,
|
|
5955
|
+
Route: () => Route110,
|
|
5956
|
+
UpperName: () => UpperName108
|
|
5957
|
+
});
|
|
5958
|
+
var Route110 = "account_code";
|
|
5959
|
+
var UpperName108 = "AccountCode";
|
|
5960
|
+
var LowerName108 = UpperName108[0].toLowerCase() + UpperName108.substring(1);
|
|
5961
|
+
|
|
5962
|
+
// src/modules/stock/accountCode/route.schema.ts
|
|
5963
|
+
var route_schema_exports115 = {};
|
|
5964
|
+
__export(route_schema_exports115, {
|
|
5965
|
+
findByCode: () => findByCode
|
|
5966
|
+
});
|
|
5967
|
+
import joi116 from "joi";
|
|
5968
|
+
var findByCodeParams = {
|
|
5969
|
+
code: joi116.string().required()
|
|
5970
|
+
};
|
|
5971
|
+
var findByCode = joi116.object().keys(findByCodeParams).messages(messages);
|
|
5972
|
+
|
|
5949
5973
|
// src/index.ts
|
|
5950
5974
|
var index_default = main_exports;
|
|
5951
5975
|
export {
|
package/dist/main.d.ts
CHANGED
|
@@ -239,4 +239,6 @@ import * as PaymentBatchRoutes from './modules/supply/paymentBatch/route.schema'
|
|
|
239
239
|
import * as Portal from './modules/ui/portal/interface';
|
|
240
240
|
import * as PortalRoutes from './modules/ui/portal/route.schema';
|
|
241
241
|
import * as GoogleSheetPool from './modules/stock/googleSheetPool/interface';
|
|
242
|
-
|
|
242
|
+
import * as AccountCode from './modules/stock/accountCode/interface';
|
|
243
|
+
import * as AccountCodeRoutes from './modules/stock/accountCode/route.schema';
|
|
244
|
+
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, GroupPermissions, GroupPermissionsRoutes, GoogleSheets, GoogleSheetsRoutes, Language, LanguageRoutes, Location, LocationRoutes, MaturityDates, MaturityDatesRoutes, Multimedia, MultimediaRoutes, OrderManagement, Observation, ObservationRoutes, ObservationType, ObservationTypeRoutes, Password, PasswordRoutes, Payment, PaymentRoutes, PaymentMethods, PaymentMethodsRoutes, Permissions, PermissionsRoutes, 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, UserPermissions, UserPermissionsRoutes, 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, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AccountCode } from '../../../shared/entities/stock';
|
|
2
|
+
export type Entity = AccountCode;
|
|
3
|
+
export declare const Route = "account_code";
|
|
4
|
+
export declare const UpperName = "AccountCode";
|
|
5
|
+
export declare const LowerName: string;
|
|
6
|
+
export interface IFindByCode {
|
|
7
|
+
code: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IRepository {
|
|
10
|
+
findByCode(params: IFindByCode): Promise<AccountCode | null>;
|
|
11
|
+
}
|
|
@@ -12,6 +12,15 @@ import { IProductSheetState } from '../../modules/stock/productGoogleSheets/inte
|
|
|
12
12
|
import { ITaskStatusDataType } from '../../modules/stock/task/interface';
|
|
13
13
|
import type { IRsaHashData, ITaxEntry } from '../../modules/supply/documentHeader/interfaces';
|
|
14
14
|
import type { ProjectInfo } from './integration';
|
|
15
|
+
/**
|
|
16
|
+
* Model AccountCode
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AccountCode = {
|
|
20
|
+
id: string;
|
|
21
|
+
code: string;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
15
24
|
/**
|
|
16
25
|
* Model Chat
|
|
17
26
|
*
|
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.50",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"joi": "^18.0.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@swc/core": "^1.15.
|
|
33
|
-
"@types/node": "^24.10.
|
|
32
|
+
"@swc/core": "^1.15.4",
|
|
33
|
+
"@types/node": "^24.10.4",
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "^8.49.0",
|
|
35
35
|
"@typescript-eslint/parser": "^8.49.0",
|
|
36
|
-
"eslint": "^9.39.
|
|
36
|
+
"eslint": "^9.39.2",
|
|
37
37
|
"eslint-config-prettier": "^10.1.8",
|
|
38
38
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
39
39
|
"eslint-plugin-prettier": "^5.5.4",
|