@nomalism-com/types 0.40.14 → 0.40.16
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 +14 -1
- package/dist/index.js +14 -1
- package/dist/main.d.ts +2 -1
- package/dist/modules/stock/googleSheetPool/interface.d.ts +10 -0
- package/dist/modules/supply/documentLine/interfaces.d.ts +1 -0
- package/dist/modules/supply/documentLine/route.schema.d.ts +2 -2
- package/dist/shared/entities/stock.d.ts +8 -0
- package/dist/shared/interface.d.ts +6 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -74,6 +74,7 @@ __export(main_exports, {
|
|
|
74
74
|
GmailsRoutes: () => route_schema_exports109,
|
|
75
75
|
GoogleFilePermission: () => interfaces_exports33,
|
|
76
76
|
GoogleFilePermissionRoutes: () => route_schema_exports72,
|
|
77
|
+
GoogleSheetPool: () => interface_exports66,
|
|
77
78
|
GoogleSheets: () => interfaces_exports17,
|
|
78
79
|
GoogleSheetsRoutes: () => route_schema_exports25,
|
|
79
80
|
GroupPermissions: () => interface_exports11,
|
|
@@ -1900,7 +1901,8 @@ var updateManyKeys = {
|
|
|
1900
1901
|
provider_estimated_delivery_date: joi18.date().allow(null, "").optional(),
|
|
1901
1902
|
provider_purchase_discount: joi18.number().positive().allow(0).max(100).optional(),
|
|
1902
1903
|
consignacao: joi18.boolean().optional(),
|
|
1903
|
-
cancelled: joi18.boolean().optional()
|
|
1904
|
+
cancelled: joi18.boolean().optional(),
|
|
1905
|
+
force_close: joi18.boolean().optional()
|
|
1904
1906
|
};
|
|
1905
1907
|
var updateManyBody = joi18.object().keys(updateManyKeys).messages(messages);
|
|
1906
1908
|
var updateIndexesBody = joi18.array().items(joi18.string().uuid().required()).required().messages(messages);
|
|
@@ -5903,6 +5905,17 @@ var updateNoteBodyKeys = {
|
|
|
5903
5905
|
};
|
|
5904
5906
|
var updateNoteBody = joi115.object().keys(updateNoteBodyKeys).messages(messages);
|
|
5905
5907
|
|
|
5908
|
+
// src/modules/stock/googleSheetPool/interface.ts
|
|
5909
|
+
var interface_exports66 = {};
|
|
5910
|
+
__export(interface_exports66, {
|
|
5911
|
+
LowerName: () => LowerName107,
|
|
5912
|
+
Route: () => Route109,
|
|
5913
|
+
UpperName: () => UpperName107
|
|
5914
|
+
});
|
|
5915
|
+
var Route109 = "google_sheet_pool";
|
|
5916
|
+
var UpperName107 = "GoogleSheetPool";
|
|
5917
|
+
var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
5918
|
+
|
|
5906
5919
|
// src/index.ts
|
|
5907
5920
|
var index_default = main_exports;
|
|
5908
5921
|
export {
|
package/dist/index.js
CHANGED
|
@@ -74,6 +74,7 @@ __export(main_exports, {
|
|
|
74
74
|
GmailsRoutes: () => route_schema_exports109,
|
|
75
75
|
GoogleFilePermission: () => interfaces_exports33,
|
|
76
76
|
GoogleFilePermissionRoutes: () => route_schema_exports72,
|
|
77
|
+
GoogleSheetPool: () => interface_exports66,
|
|
77
78
|
GoogleSheets: () => interfaces_exports17,
|
|
78
79
|
GoogleSheetsRoutes: () => route_schema_exports25,
|
|
79
80
|
GroupPermissions: () => interface_exports11,
|
|
@@ -1900,7 +1901,8 @@ var updateManyKeys = {
|
|
|
1900
1901
|
provider_estimated_delivery_date: joi18.date().allow(null, "").optional(),
|
|
1901
1902
|
provider_purchase_discount: joi18.number().positive().allow(0).max(100).optional(),
|
|
1902
1903
|
consignacao: joi18.boolean().optional(),
|
|
1903
|
-
cancelled: joi18.boolean().optional()
|
|
1904
|
+
cancelled: joi18.boolean().optional(),
|
|
1905
|
+
force_close: joi18.boolean().optional()
|
|
1904
1906
|
};
|
|
1905
1907
|
var updateManyBody = joi18.object().keys(updateManyKeys).messages(messages);
|
|
1906
1908
|
var updateIndexesBody = joi18.array().items(joi18.string().uuid().required()).required().messages(messages);
|
|
@@ -5903,6 +5905,17 @@ var updateNoteBodyKeys = {
|
|
|
5903
5905
|
};
|
|
5904
5906
|
var updateNoteBody = joi115.object().keys(updateNoteBodyKeys).messages(messages);
|
|
5905
5907
|
|
|
5908
|
+
// src/modules/stock/googleSheetPool/interface.ts
|
|
5909
|
+
var interface_exports66 = {};
|
|
5910
|
+
__export(interface_exports66, {
|
|
5911
|
+
LowerName: () => LowerName107,
|
|
5912
|
+
Route: () => Route109,
|
|
5913
|
+
UpperName: () => UpperName107
|
|
5914
|
+
});
|
|
5915
|
+
var Route109 = "google_sheet_pool";
|
|
5916
|
+
var UpperName107 = "GoogleSheetPool";
|
|
5917
|
+
var LowerName107 = UpperName107[0].toLowerCase() + UpperName107.substring(1);
|
|
5918
|
+
|
|
5906
5919
|
// src/index.ts
|
|
5907
5920
|
var index_default = main_exports;
|
|
5908
5921
|
export {
|
package/dist/main.d.ts
CHANGED
|
@@ -238,4 +238,5 @@ import * as PaymentBatch from './modules/supply/paymentBatch/interface';
|
|
|
238
238
|
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
|
+
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, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as IShared from '../../../shared/interface';
|
|
2
|
+
import { GoogleSheetPool } from '../../../shared/entities/stock';
|
|
3
|
+
export type Entity = GoogleSheetPool;
|
|
4
|
+
export declare const Route = "google_sheet_pool";
|
|
5
|
+
export declare const UpperName = "GoogleSheetPool";
|
|
6
|
+
export declare const LowerName: string;
|
|
7
|
+
export interface IRepository {
|
|
8
|
+
clearAndFill(): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -3,7 +3,7 @@ export declare const createBody: joi.ArraySchema<any[]>;
|
|
|
3
3
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
4
|
export declare const updateDataBody: joi.ObjectSchema<any>;
|
|
5
5
|
export declare const updateManyBody: joi.ObjectSchema<any>;
|
|
6
|
-
export declare const updateIndexesBody: joi.ArraySchema<
|
|
7
|
-
export declare const deleteBody: joi.ArraySchema<
|
|
6
|
+
export declare const updateIndexesBody: joi.ArraySchema<string[]>;
|
|
7
|
+
export declare const deleteBody: joi.ArraySchema<string[]>;
|
|
8
8
|
export declare const printLabelParams: joi.ObjectSchema<any>;
|
|
9
9
|
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
@@ -118,7 +118,12 @@ export declare const findByOwnerIdQueryKeys: IRouteRequest<IFindByOwnerIdRequest
|
|
|
118
118
|
export declare const findByOwnerIdQuery: joi.ObjectSchema<any>;
|
|
119
119
|
export declare const idParam: joi.ObjectSchema<any>;
|
|
120
120
|
export declare const idNumberParam: joi.ObjectSchema<any>;
|
|
121
|
-
export declare const findMinifiedReponse: joi.ArraySchema<
|
|
121
|
+
export declare const findMinifiedReponse: joi.ArraySchema<{
|
|
122
|
+
name: unknown;
|
|
123
|
+
id: unknown;
|
|
124
|
+
group: unknown;
|
|
125
|
+
multimedia_id: unknown;
|
|
126
|
+
}[]>;
|
|
122
127
|
export declare const joiValidateStamps: IRouteResponseWithoutStamps<WithTimestampsOriginID>;
|
|
123
128
|
export declare const IUserSendEmailDocumentTemplateEnum: {
|
|
124
129
|
generic: 'generic';
|
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.16",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|