@nomalism-com/types 1.3.61 → 1.3.63
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 +678 -893
- package/dist/index.js +570 -774
- package/dist/main.d.ts +1 -12
- package/dist/modules/document/NRCL/interface.d.ts +0 -2
- package/dist/modules/document/materialEntrance/interfaces.d.ts +0 -6
- package/dist/modules/document/order/interfaces.d.ts +0 -14
- package/dist/modules/document/upfrontReturn/interfaces.d.ts +0 -1
- package/dist/modules/documentManagement/multimedia/interfaces.d.ts +0 -3
- package/dist/modules/integration/emailLog/interfaces.d.ts +0 -3
- package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +0 -13
- package/dist/modules/integration/emailVerification/interfaces.d.ts +0 -2
- package/dist/modules/integration/googleFilePermission/interfaces.d.ts +0 -8
- package/dist/modules/integration/observation/interfaces.d.ts +2 -7
- package/dist/modules/integration/patchNotes/interfaces.d.ts +0 -4
- package/dist/modules/integration/projectInfo/interfaces.d.ts +0 -2
- package/dist/modules/integration/settings/interfaces.d.ts +0 -1
- package/dist/modules/llm/llm/interfaces.d.ts +0 -2
- package/dist/modules/print/printer/interfaces.d.ts +0 -1
- package/dist/modules/sms/smsSender/interfaces.d.ts +0 -7
- package/dist/modules/sms/smsTemplate/interfaces.d.ts +0 -9
- package/dist/modules/stock/conferirEncomenda/interface.d.ts +0 -3
- package/dist/modules/stock/emailAccount/interface.d.ts +0 -1
- package/dist/modules/stock/gmails/interface.d.ts +0 -4
- package/dist/modules/stock/googleSheetPool/interface.d.ts +0 -2
- package/dist/modules/stock/location/interface.d.ts +2 -50
- package/dist/modules/stock/mobilePrint/interface.d.ts +0 -2
- package/dist/modules/stock/productGoogleSheets/interface.d.ts +0 -7
- package/dist/modules/stock/productImage/interface.d.ts +3 -1
- package/dist/modules/stock/promotion/interface.d.ts +0 -2
- package/dist/modules/stock/queryList/interfaces.d.ts +0 -18
- package/dist/modules/stock/queryParameter/interfaces.d.ts +0 -34
- package/dist/modules/stock/recurrentTasks/interface.d.ts +0 -2
- package/dist/modules/stock/returnReason/interfaces.d.ts +0 -9
- package/dist/modules/stock/stockMovement/interface.d.ts +0 -3
- package/dist/modules/stock/task/interface.d.ts +0 -2
- package/dist/modules/stock/unitOfMeasure/interface.d.ts +0 -9
- package/dist/modules/stock/vatTax/interface.d.ts +0 -9
- package/dist/modules/stock/vatTaxZone/interface.d.ts +0 -9
- package/dist/modules/supply/currentAccount/interface.d.ts +0 -88
- package/dist/modules/supply/documentHeaderHistory/interfaces.d.ts +0 -1
- package/dist/modules/supply/documentHeaderSurvey/interfaces.d.ts +0 -2
- package/dist/modules/supply/documentLine/interfaces.d.ts +0 -5
- package/dist/modules/supply/documentSet/interface.d.ts +0 -7
- package/dist/modules/supply/documentType/interfaces.d.ts +0 -2
- package/dist/modules/supply/externalDocumentType/interface.d.ts +0 -7
- package/dist/modules/supply/payment/interface.d.ts +0 -5
- package/dist/modules/supply/paymentBatch/interface.d.ts +0 -2
- package/dist/modules/supply/preSale/interface.d.ts +0 -1
- package/dist/modules/supply/preSaleProduct/interface.d.ts +0 -1
- package/dist/modules/supply/schedule/interface.d.ts +0 -1
- package/dist/modules/tickets/tickets/interfaces.d.ts +1 -2
- package/dist/modules/ui/sidemenuHighlight/interface.d.ts +0 -11
- package/dist/modules/user/bankData/interface.d.ts +0 -9
- package/dist/modules/user/clientType/interface.d.ts +0 -16
- package/dist/modules/user/country/interface.d.ts +0 -12
- package/dist/modules/user/deliveryMethods/interfaces.d.ts +0 -1
- package/dist/modules/user/favorites/interfaces.d.ts +0 -3
- package/dist/modules/user/language/interface.d.ts +0 -9
- package/dist/modules/user/maturityDates/interfaces.d.ts +0 -1
- package/dist/modules/user/paymentMethods/interfaces.d.ts +0 -1
- package/dist/modules/user/providerType/interface.d.ts +0 -13
- package/dist/modules/user/purchaseConditions/interface.d.ts +0 -9
- package/dist/modules/user/reasonForExemption/interface.d.ts +0 -3
- package/dist/modules/user/segmentsArea/interface.d.ts +0 -17
- package/dist/modules/user/shippings/interface.d.ts +0 -8
- package/dist/modules/user/storeOperator/interface.d.ts +0 -2
- package/dist/modules/user/swift/interface.d.ts +0 -17
- package/dist/modules/user/systemModule/interface.d.ts +0 -11
- package/dist/modules/user/timeSheet/interfaces.d.ts +0 -3
- package/dist/modules/user/userTokens/interface.d.ts +0 -6
- package/dist/modules/user/users/interface.d.ts +1 -9
- package/dist/modules/view/adminPanel/interfaces.d.ts +0 -3
- package/dist/modules/view/errorLog/interfaces.d.ts +0 -1
- package/dist/modules/view/webSocket/interfaces.d.ts +0 -1
- package/dist/shared/entities/integration.d.ts +0 -13
- package/dist/shared/entities/stock.d.ts +0 -14
- package/dist/shared/entities/user.d.ts +0 -14
- package/dist/shared/errors/integrationErrors.d.ts +0 -8
- package/dist/shared/errors/stockErrors.d.ts +0 -8
- package/dist/shared/interface.d.ts +0 -31
- package/package.json +2 -2
- package/dist/modules/document/adiantamento/interfaces.d.ts +0 -24
- package/dist/modules/document/faturaCredito/interfaces.d.ts +0 -26
- package/dist/modules/document/faturaRecibo/interfaces.d.ts +0 -25
- package/dist/modules/document/faturaSimplificada/interfaces.d.ts +0 -24
- package/dist/modules/document/notaCredito/interfaces.d.ts +0 -29
- package/dist/modules/document/notaCreditoAdiantamento/interfaces.d.ts +0 -25
- package/dist/modules/document/productionOrder/interfaces.d.ts +0 -10
- package/dist/modules/document/recibo/interfaces.d.ts +0 -21
- package/dist/modules/integration/observationType/interfaces.d.ts +0 -25
- package/dist/modules/stock/typeOfLocation/interface.d.ts +0 -30
- package/dist/modules/supply/batch/interface.d.ts +0 -0
- package/dist/modules/user/userPositions/interface.d.ts +0 -28
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UserPositions } from "../../../shared/entities/user";
|
|
2
|
-
import * as IShared from "../../../shared/interface";
|
|
3
|
-
export type Entity = UserPositions;
|
|
4
|
-
export declare const Route = "user_positions";
|
|
5
|
-
type IFindDetailedResponse = Entity;
|
|
6
|
-
export type IFindByIdResponse = Omit<IFindDetailedResponse, "">;
|
|
7
|
-
export type IFindRequest = Record<string, unknown>;
|
|
8
|
-
export type IFindResponse = Omit<IFindDetailedResponse, "">;
|
|
9
|
-
export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
|
|
10
|
-
}
|
|
11
|
-
export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, "">>;
|
|
12
|
-
export interface ICreateRequest {
|
|
13
|
-
name: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IUpdateRequest {
|
|
16
|
-
name?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IRepository {
|
|
19
|
-
findById(selector: IShared.IFindByIdRequest): Promise<IFindByIdResponse | null>;
|
|
20
|
-
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
|
21
|
-
find(selector: IFindRequest): Promise<IFindResponse[]>;
|
|
22
|
-
findPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;
|
|
23
|
-
create(data: ICreateRequest): Promise<Entity>;
|
|
24
|
-
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<Entity | null>;
|
|
25
|
-
deleteOne(selector: IShared.IFindByIdRequest): Promise<Entity | null>;
|
|
26
|
-
}
|
|
27
|
-
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
28
|
-
export {};
|