@nomalism-com/types 1.3.37 → 1.3.39
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.js +856 -1019
- package/dist/main.d.ts +13 -1
- package/dist/modules/document/CAT/interfaces.d.ts +12 -0
- package/dist/modules/document/CAT/route.schema.d.ts +3 -0
- package/dist/modules/document/NRCL/interface.d.ts +1 -3
- package/dist/modules/document/billOfLading/interfaces.d.ts +1 -0
- package/dist/modules/document/inventario/interface.d.ts +0 -2
- package/dist/modules/document/materialEntrance/interfaces.d.ts +10 -6
- package/dist/modules/document/order/interfaces.d.ts +0 -2
- package/dist/modules/document/productionOrder/interfaces.d.ts +1 -0
- package/dist/modules/document/proforma/interfaces.d.ts +1 -0
- package/dist/modules/document/propostaFornecedor/interfaces.d.ts +1 -0
- package/dist/modules/document/propostaSheets/interface.d.ts +1 -3
- package/dist/modules/document/providerCreditNoteFromReturn/interfaces.d.ts +1 -0
- package/dist/modules/document/providerFinancialCreditNote/interfaces.d.ts +1 -0
- package/dist/modules/document/providerServiceInvoice/interfaces.d.ts +1 -0
- package/dist/modules/document/purchase/interfaces.d.ts +0 -2
- package/dist/modules/document/quebra/interfaces.d.ts +0 -2
- package/dist/modules/document/returnToProvider/interface.d.ts +0 -2
- package/dist/modules/document/transformado/interfaces.d.ts +0 -2
- package/dist/modules/document/upfrontReturn/interfaces.d.ts +0 -2
- package/dist/modules/documentManagement/multimedia/interfaces.d.ts +1 -2
- package/dist/modules/integration/emailLog/interfaces.d.ts +0 -2
- package/dist/modules/integration/emailTemplate/interfaces.d.ts +0 -2
- package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +0 -2
- package/dist/modules/integration/emailVerification/interfaces.d.ts +0 -2
- package/dist/modules/integration/googleFilePermission/interfaces.d.ts +0 -2
- package/dist/modules/integration/googleSheets/interfaces.d.ts +0 -2
- package/dist/modules/integration/observation/interfaces.d.ts +0 -2
- package/dist/modules/integration/observationType/interfaces.d.ts +1 -3
- package/dist/modules/integration/patchNotes/interfaces.d.ts +0 -2
- package/dist/modules/integration/projectInfo/interfaces.d.ts +0 -2
- package/dist/modules/integration/settings/interfaces.d.ts +0 -2
- package/dist/modules/llm/llm/interfaces.d.ts +5 -0
- package/dist/modules/print/npc/interfaces.d.ts +0 -2
- package/dist/modules/print/printer/interfaces.d.ts +0 -2
- package/dist/modules/print/schedulePrintJob/interfaces.d.ts +0 -2
- package/dist/modules/stock/accountCode/interface.d.ts +0 -2
- package/dist/modules/stock/chat/interfaces.d.ts +0 -2
- package/dist/modules/stock/chatRapidMessage/interface.d.ts +1 -3
- package/dist/modules/stock/conferirEncomenda/interface.d.ts +2 -3
- package/dist/modules/stock/dashboard/interface.d.ts +0 -2
- package/dist/modules/stock/file/interface.d.ts +0 -2
- package/dist/modules/stock/gmails/interface.d.ts +0 -2
- package/dist/modules/stock/googleCalendar/interface.d.ts +0 -2
- package/dist/modules/stock/googleSheetPool/interface.d.ts +0 -2
- package/dist/modules/stock/location/interface.d.ts +0 -2
- package/dist/modules/stock/mobilePrint/interface.d.ts +13 -0
- package/dist/modules/stock/mobilePrint/route.schema.d.ts +2 -0
- package/dist/modules/stock/prison/interface.d.ts +0 -2
- package/dist/modules/stock/productGoogleSheets/interface.d.ts +7 -4
- package/dist/modules/stock/productGoogleSheets/route.schema.d.ts +2 -1
- package/dist/modules/stock/productImage/interface.d.ts +0 -2
- package/dist/modules/stock/productLocation/interface.d.ts +18 -0
- package/dist/modules/stock/promotion/interface.d.ts +0 -2
- package/dist/modules/stock/promotionAssoc/interface.d.ts +0 -2
- package/dist/modules/stock/queryList/interfaces.d.ts +0 -2
- package/dist/modules/stock/queryParameter/interfaces.d.ts +0 -2
- package/dist/modules/stock/recurrentTasks/interface.d.ts +0 -2
- package/dist/modules/stock/returnReason/interfaces.d.ts +0 -2
- package/dist/modules/stock/savedEmPicking/interfaces.d.ts +0 -2
- package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +0 -2
- package/dist/modules/stock/stockMovement/interface.d.ts +0 -2
- package/dist/modules/stock/tag/interface.d.ts +0 -2
- package/dist/modules/stock/task/interface.d.ts +0 -2
- package/dist/modules/stock/taskMessage/interface.d.ts +0 -2
- package/dist/modules/stock/taskRead/interface.d.ts +0 -2
- package/dist/modules/stock/typeOfLocation/interface.d.ts +0 -2
- package/dist/modules/stock/unitOfMeasure/interface.d.ts +0 -2
- package/dist/modules/stock/vatTax/interface.d.ts +0 -2
- package/dist/modules/stock/vatTaxZone/interface.d.ts +0 -2
- package/dist/modules/stock/vatValidation/interfaces.d.ts +0 -2
- package/dist/modules/stock/workflow/interfaces.d.ts +0 -2
- package/dist/modules/supply/currentAccount/interface.d.ts +5 -6
- package/dist/modules/supply/documentHeader/interfaces.d.ts +6 -19
- package/dist/modules/supply/documentHeader/route.schema.d.ts +0 -1
- package/dist/modules/supply/documentHeaderHistory/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentHeaderSubscriber/interface.d.ts +1 -3
- package/dist/modules/supply/documentHeaderSurvey/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentLine/interfaces.d.ts +3 -4
- package/dist/modules/supply/documentLine/route.schema.d.ts +2 -1
- package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentLineMT/interface.d.ts +0 -2
- package/dist/modules/supply/documentLineNote/interfaces.d.ts +1 -3
- package/dist/modules/supply/documentLineRM/interface.d.ts +0 -2
- package/dist/modules/supply/documentSet/interface.d.ts +0 -2
- package/dist/modules/supply/documentType/interfaces.d.ts +3 -3
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +0 -2
- package/dist/modules/supply/externalDocumentType/interface.d.ts +0 -2
- package/dist/modules/supply/orderManagement/interface.d.ts +0 -2
- package/dist/modules/supply/payment/interface.d.ts +0 -2
- package/dist/modules/supply/paymentBatch/interface.d.ts +1 -3
- package/dist/modules/supply/preSale/interface.d.ts +0 -2
- package/dist/modules/supply/preSaleProduct/interface.d.ts +0 -2
- package/dist/modules/supply/schedule/interface.d.ts +0 -2
- package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +0 -2
- package/dist/modules/tickets/channel/interfaces.d.ts +0 -2
- package/dist/modules/tickets/clt/interfaces.d.ts +0 -2
- package/dist/modules/tickets/language/interfaces.d.ts +0 -2
- package/dist/modules/tickets/tickets/interfaces.d.ts +0 -2
- package/dist/modules/ui/portal/interface.d.ts +1 -0
- package/dist/modules/ui/sideMenu/interface.d.ts +2 -0
- package/dist/modules/ui/sidemenuHighlight/interface.d.ts +34 -0
- package/dist/modules/ui/sidemenuHighlight/route.schema.d.ts +3 -0
- package/dist/modules/user/bankData/interface.d.ts +0 -2
- package/dist/modules/user/chatSubscribers/interfaces.d.ts +6 -2
- package/dist/modules/user/chatSubscribers/route.schema.d.ts +2 -0
- package/dist/modules/user/clientType/interface.d.ts +0 -2
- package/dist/modules/user/clients/interface.d.ts +0 -2
- package/dist/modules/user/commissioner/interface.d.ts +0 -2
- package/dist/modules/user/country/interface.d.ts +0 -2
- package/dist/modules/user/deliveryMethods/interfaces.d.ts +0 -2
- package/dist/modules/user/favorites/interfaces.d.ts +0 -2
- package/dist/modules/user/language/interface.d.ts +0 -2
- package/dist/modules/user/maturityDates/interfaces.d.ts +0 -2
- package/dist/modules/user/paymentMethods/interfaces.d.ts +0 -2
- package/dist/modules/user/persona/interface.d.ts +0 -2
- package/dist/modules/user/providerType/interface.d.ts +0 -2
- package/dist/modules/user/providers/interface.d.ts +0 -2
- package/dist/modules/user/purchaseConditions/interface.d.ts +0 -2
- package/dist/modules/user/reasonForExemption/interface.d.ts +0 -2
- package/dist/modules/user/refreshToken/interface.d.ts +1 -1
- package/dist/modules/user/segmentsArea/interface.d.ts +0 -2
- package/dist/modules/user/sessions/interface.d.ts +5 -0
- package/dist/modules/user/shippings/interface.d.ts +0 -2
- package/dist/modules/user/storeOperator/interface.d.ts +1 -2
- package/dist/modules/user/swift/interface.d.ts +0 -2
- package/dist/modules/user/systemModule/interface.d.ts +43 -0
- package/dist/modules/user/systemModule/route.schema.d.ts +3 -0
- package/dist/modules/user/tenant/interface.d.ts +0 -2
- package/dist/modules/user/theme/interfaces.d.ts +0 -2
- package/dist/modules/user/timeSheet/interfaces.d.ts +73 -0
- package/dist/modules/user/timeSheet/route.schema.d.ts +3 -0
- package/dist/modules/user/userPositions/interface.d.ts +0 -2
- package/dist/modules/user/userTokens/interface.d.ts +0 -2
- package/dist/modules/user/users/interface.d.ts +3 -3
- package/dist/modules/user/vehicles/interfaces.d.ts +0 -2
- package/dist/modules/user/zipCode/interfaces.d.ts +0 -2
- package/dist/modules/view/adminPanel/interfaces.d.ts +0 -2
- package/dist/modules/view/errorLog/interfaces.d.ts +1 -3
- package/dist/modules/view/webSocket/interfaces.d.ts +94 -0
- package/dist/shared/entities/stock.d.ts +16 -0
- package/dist/shared/entities/user.d.ts +43 -42
- package/dist/shared/interface.d.ts +33 -14
- package/package.json +8 -8
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { ProductImage } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = ProductImage;
|
|
4
4
|
export declare const Route = "product_image";
|
|
5
|
-
export declare const UpperName = "ProductImage";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
type IFindDetailedResponse = Entity;
|
|
8
6
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
9
7
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const Route = "product_location";
|
|
2
|
+
export interface IProductLocationItem {
|
|
3
|
+
id: string;
|
|
4
|
+
product_location_id: string;
|
|
5
|
+
product_id: string;
|
|
6
|
+
reference: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IProductLocation {
|
|
9
|
+
id: string;
|
|
10
|
+
location: string;
|
|
11
|
+
type: 'Inteiro' | 'Parcial';
|
|
12
|
+
items: IProductLocationItem[];
|
|
13
|
+
created_at: Date;
|
|
14
|
+
created_by: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IRepository {
|
|
17
|
+
findMany(): Promise<IProductLocation[]>;
|
|
18
|
+
}
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Promotion } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Promotion;
|
|
4
4
|
export declare const Route = "promotion";
|
|
5
|
-
export declare const UpperName = "Promotion";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
type IFindDetailedResponse = Entity;
|
|
8
6
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
9
7
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { PromotionAssoc, Promotion, Location } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = PromotionAssoc;
|
|
4
4
|
export declare const Route = "promotion_assoc";
|
|
5
|
-
export declare const UpperName = "PromotionAssoc";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
interface IFindDetailedResponse extends Entity {
|
|
8
6
|
location: Location | null;
|
|
9
7
|
promotion: Promotion;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { QueryList, QueryParameter } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = QueryList;
|
|
4
4
|
export declare const Route = "query";
|
|
5
|
-
export declare const UpperName = "QueryList";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ICreateRequest {
|
|
8
6
|
label: string;
|
|
9
7
|
code: string;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { QueryParameter } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = QueryParameter;
|
|
4
4
|
export declare const Route = "query_parameter";
|
|
5
|
-
export declare const UpperName = "QueryParameter";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export declare const QueryParameterDatatypeEnum: {
|
|
8
6
|
boolean: 'boolean';
|
|
9
7
|
decimal: 'decimal';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
export declare const Route = "recurrent_tasks";
|
|
3
|
-
export declare const UpperName = "RecurrentTasks";
|
|
4
|
-
export declare const LowerName: string;
|
|
5
3
|
export interface IRepository {
|
|
6
4
|
from_master(): Promise<string>;
|
|
7
5
|
from_master_checked(): Promise<string>;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { ReturnReason } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = ReturnReason;
|
|
4
4
|
export declare const Route = "return_reason";
|
|
5
|
-
export declare const UpperName = "ReturnReason";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ICreateRequest {
|
|
8
6
|
reason: string;
|
|
9
7
|
}
|
|
@@ -3,8 +3,6 @@ import { SavedEmPicking } from '../../../shared/entities/stock';
|
|
|
3
3
|
import { IUnfinishedPickingLineGroupExtended } from '../../document/materialEntrance/interfaces';
|
|
4
4
|
export type Entity = SavedEmPicking;
|
|
5
5
|
export declare const Route = "saved_em_picking";
|
|
6
|
-
export declare const UpperName = "SavedEmPicking";
|
|
7
|
-
export declare const LowerName: string;
|
|
8
6
|
export type ISavedEmPickingData = Pick<IUnfinishedPickingLineGroupExtended, 'clientOrders' | 'stock' | 'not_ok'>;
|
|
9
7
|
export interface ICreateRequest {
|
|
10
8
|
provider_id: string;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { SavedProviderProposal } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = SavedProviderProposal;
|
|
4
4
|
export declare const Route = "saved_provider_proposal";
|
|
5
|
-
export declare const UpperName = "SavedProviderProposal";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ISetRequest {
|
|
8
6
|
provider_id: string;
|
|
9
7
|
product_id: string;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { StockMovement } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = StockMovement;
|
|
4
4
|
export declare const Route = "stock_movement";
|
|
5
|
-
export declare const UpperName = "StockMovement";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IFindByProviderResponse extends Omit<StockMovement, 'product_id' | 'stock_to_date'> {
|
|
8
6
|
reference: string;
|
|
9
7
|
}
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Tag } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Tag;
|
|
4
4
|
export declare const Route = "tag";
|
|
5
|
-
export declare const UpperName = "Tag";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export declare const ITagTypeEnum: {
|
|
8
6
|
private: 'private';
|
|
9
7
|
public: 'public';
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { Task, TaskMessage, DocumentHeader, File } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Task;
|
|
4
4
|
export declare const Route = "task";
|
|
5
|
-
export declare const UpperName = "Task";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export declare const ITaskStatusDataTypeEnum: {
|
|
8
6
|
Normal: 'Normal';
|
|
9
7
|
Urgent: 'Urgent';
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { TaskMessage } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = TaskMessage;
|
|
4
4
|
export declare const Route = "task_message";
|
|
5
|
-
export declare const UpperName = "TaskMessage";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type ICreateRequest = Pick<Entity, 'message' | 'task_id'>;
|
|
8
6
|
export type IUpdateRequest = Pick<Entity, 'message' | 'task_id'>;
|
|
9
7
|
export interface IRepository {
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { TaskRead } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = TaskRead;
|
|
4
4
|
export declare const Route = "task_read";
|
|
5
|
-
export declare const UpperName = "TaskRead";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type ICreateRequest = Pick<Entity, 'user_id' | 'task_id'>;
|
|
8
6
|
export type IDeleteRequest = Pick<Entity, 'user_id' | 'task_id'>;
|
|
9
7
|
export interface IRepository {
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { TypeOfLocation } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = TypeOfLocation;
|
|
4
4
|
export declare const Route = "type_of_location";
|
|
5
|
-
export declare const UpperName = "TypeOfLocation";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
type IFindDetailedResponse = Entity;
|
|
8
6
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
9
7
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { UnitOfMeasure } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = UnitOfMeasure;
|
|
4
|
-
export declare const UpperName = "UnitOfMeasure";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export declare const Route = "unit_of_measure";
|
|
7
5
|
type IFindDetailedResponse = Entity;
|
|
8
6
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { VatTax } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = VatTax;
|
|
4
4
|
export declare const Route = "vat_tax";
|
|
5
|
-
export declare const UpperName = "VatTax";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
type IFindDetailedResponse = Entity;
|
|
8
6
|
export type IFindByIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
9
7
|
export type IFindByOwnerIdResponse = Omit<IFindDetailedResponse, ''>;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { VatTaxZone, VatTax } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = VatTaxZone;
|
|
4
4
|
export declare const Route = "vat_tax_zone";
|
|
5
|
-
export declare const UpperName = "VatTaxZone";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
interface IFindDetailedResponse extends Entity {
|
|
8
6
|
vat_tax: VatTax;
|
|
9
7
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { VatValidation } from '../../../shared/entities/stock';
|
|
2
2
|
export type Entity = VatValidation;
|
|
3
3
|
export declare const Route = "vat_validation";
|
|
4
|
-
export declare const UpperName = "VatValidation";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
4
|
export interface IRepository {
|
|
7
5
|
findByLatest(nif: string): Promise<Entity | null>;
|
|
8
6
|
}
|
|
@@ -4,8 +4,6 @@ import * as DocumentType from '../../supply/documentType/interfaces';
|
|
|
4
4
|
import { IDocumentTypeUserType } from '../../supply/documentType/interfaces';
|
|
5
5
|
export type Entity = Workflow;
|
|
6
6
|
export declare const Route = "workflow";
|
|
7
|
-
export declare const UpperName = "Workflow";
|
|
8
|
-
export declare const LowerName: string;
|
|
9
7
|
export type IFindRequest = Record<string, unknown>;
|
|
10
8
|
export interface ICreateRequest {
|
|
11
9
|
from_document_type_id: number;
|
|
@@ -3,9 +3,7 @@ import { Payment, DocumentHeader } from '../../../shared/entities/stock';
|
|
|
3
3
|
import * as IObservation from '../../integration/observation/interfaces';
|
|
4
4
|
import { type ICreateFromHeaderRequest } from '../documentHeader/interfaces';
|
|
5
5
|
export type Entity = Payment;
|
|
6
|
-
export declare const Route = "
|
|
7
|
-
export declare const UpperName = "Payment";
|
|
8
|
-
export declare const LowerName: string;
|
|
6
|
+
export declare const Route = "current_account";
|
|
9
7
|
type IEntityExtended = Entity;
|
|
10
8
|
export type IFindByIdResponse = Omit<IEntityExtended, ''>;
|
|
11
9
|
export type IFindByOwnerIdResponse = Omit<IEntityExtended, ''>;
|
|
@@ -128,7 +126,7 @@ export interface IExportCurrentAccountRequest {
|
|
|
128
126
|
start_date: Date | null;
|
|
129
127
|
end_date: Date | null;
|
|
130
128
|
}
|
|
131
|
-
export interface
|
|
129
|
+
export interface IDocumentResponse {
|
|
132
130
|
id: string;
|
|
133
131
|
name: string;
|
|
134
132
|
group: string;
|
|
@@ -139,8 +137,9 @@ export interface IRepository {
|
|
|
139
137
|
findCurrentAccountByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindCurrentAccountByOwnerIdResponse[]>;
|
|
140
138
|
findBalanceByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<number>;
|
|
141
139
|
exportCurrentAccount(params: IExportCurrentAccountRequest): Promise<IFindCurrentAccountByOwnerIdResponse[]>;
|
|
142
|
-
findClientUnpaidCredit(params: IShared.IFindByOwnerIdRequest): Promise<
|
|
143
|
-
|
|
140
|
+
findClientUnpaidCredit(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentResponse[]>;
|
|
141
|
+
findClientOverpaidCredit(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentResponse[]>;
|
|
142
|
+
findClientUnpaidDebit(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentResponse[]>;
|
|
144
143
|
}
|
|
145
144
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
146
145
|
export {};
|
|
@@ -4,9 +4,7 @@ import * as IDocumentType from '../documentType/interfaces';
|
|
|
4
4
|
import * as IPayment from '../payment/interface';
|
|
5
5
|
import * as IProjectInfo from '../../integration/projectInfo/interfaces';
|
|
6
6
|
export type Entity = DocumentHeader;
|
|
7
|
-
export declare const Route = "
|
|
8
|
-
export declare const UpperName = "DocumentHeader";
|
|
9
|
-
export declare const LowerName: string;
|
|
7
|
+
export declare const Route = "document_header";
|
|
10
8
|
export type IDocumentHeaderVirtuals = DocumentHeaderVirtuals;
|
|
11
9
|
export type IStartDocumentHeaderVirtuals = StartDocumentHeaderVirtuals;
|
|
12
10
|
export interface ITaxEntry extends Pick<VatTax, 'name' | 'saft_code'> {
|
|
@@ -96,6 +94,7 @@ export interface ICreateRequest {
|
|
|
96
94
|
commissioner_id?: string | null;
|
|
97
95
|
commission_percentage?: number;
|
|
98
96
|
return_reason?: string | null;
|
|
97
|
+
seller?: string | null;
|
|
99
98
|
created_by?: string | null;
|
|
100
99
|
updated_by?: string | null;
|
|
101
100
|
}
|
|
@@ -177,6 +176,8 @@ export interface IUpdateRequest {
|
|
|
177
176
|
commissioner_id?: string | null;
|
|
178
177
|
commission_percentage?: number;
|
|
179
178
|
commission_paid?: boolean;
|
|
179
|
+
is_prepared?: boolean;
|
|
180
|
+
is_rejected?: boolean;
|
|
180
181
|
is_archived?: boolean;
|
|
181
182
|
is_void?: boolean;
|
|
182
183
|
is_void_reason?: string | null;
|
|
@@ -186,6 +187,7 @@ export interface IUpdateRequest {
|
|
|
186
187
|
created_by?: string;
|
|
187
188
|
confirmed?: boolean;
|
|
188
189
|
confirmed_date?: Date;
|
|
190
|
+
seller?: string | null;
|
|
189
191
|
}
|
|
190
192
|
export type IGetActionsDocumentType = Pick<DocumentType, 'user_type' | 'allow_create_from_header_without_lines' | 'pay' | 'credit' | 'debit' | 'invoice' | 'code' | 'return' | 'id' | 'description'>;
|
|
191
193
|
export interface IGetActionsResponse {
|
|
@@ -209,23 +211,9 @@ export interface IFindResponse {
|
|
|
209
211
|
emission_date: string;
|
|
210
212
|
line_count: number;
|
|
211
213
|
is_void: boolean;
|
|
212
|
-
|
|
213
|
-
adjudicado: boolean;
|
|
214
|
+
state: string;
|
|
214
215
|
tags: string | null;
|
|
215
216
|
}
|
|
216
|
-
export type IUpdateManyWithPersona = {
|
|
217
|
-
id: string;
|
|
218
|
-
owner_id?: string;
|
|
219
|
-
owner_name?: string | null;
|
|
220
|
-
name: string | null;
|
|
221
|
-
telephone: string | null;
|
|
222
|
-
email: string | null;
|
|
223
|
-
street: string | null;
|
|
224
|
-
postal_code: string | null;
|
|
225
|
-
locality: string | null;
|
|
226
|
-
country_id: string | null;
|
|
227
|
-
country_name: string | null;
|
|
228
|
-
};
|
|
229
217
|
export interface ISendClientNotificationRequest {
|
|
230
218
|
name: string;
|
|
231
219
|
email: string;
|
|
@@ -306,7 +294,6 @@ export interface IRepository {
|
|
|
306
294
|
create(data: ICreateRequest): Promise<ICreateResponse>;
|
|
307
295
|
createFromHeader(data: ICreateFromHeaderRequest): Promise<void>;
|
|
308
296
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
|
|
309
|
-
updateManyWithPersona(params: IUpdateManyWithPersona): Promise<void>;
|
|
310
297
|
transferClientOwnership(params: ITransferOwnershipRequest): Promise<void>;
|
|
311
298
|
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
312
299
|
sendClientNotification(selector: IShared.IFindByIdRequest, data: ISendClientNotificationRequest): Promise<void>;
|
|
@@ -7,7 +7,6 @@ export declare const findQuery: joi.ObjectSchema<any>;
|
|
|
7
7
|
export declare const basicSearchQuery: joi.ObjectSchema<any>;
|
|
8
8
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
9
9
|
export declare const transferClientOwnershipBody: joi.ObjectSchema<any>;
|
|
10
|
-
export declare const updateManyWithPersonaBody: joi.ObjectSchema<any>;
|
|
11
10
|
export declare const sendClientNotificationBody: joi.ObjectSchema<any>;
|
|
12
11
|
export declare const findByTypeQuery: joi.ObjectSchema<any>;
|
|
13
12
|
export declare const documentPdfQuery: joi.ObjectSchema<any>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentHeaderHistory } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = DocumentHeaderHistory;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "DocumentHeaderHistory";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "document_header_history";
|
|
7
5
|
export type IFindByOwnerIdResponse = Omit<DocumentHeaderHistory, 'id' | 'document_header_id'>;
|
|
8
6
|
export interface IRepository {
|
|
9
7
|
findByOwnerId(selector: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentHeaderSubscriber } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = DocumentHeaderSubscriber;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "DocumentHeaderSubscriber";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "document_header_subscriber";
|
|
7
5
|
export interface IFindByOwnerRequest {
|
|
8
6
|
owner_id: string;
|
|
9
7
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import Nomalism from '../../..';
|
|
2
2
|
import { DocumentHeaderSurvey } from '../../../shared/entities/stock';
|
|
3
3
|
export type IEntity = DocumentHeaderSurvey;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "DocumentHeaderSurvey";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "document_header_survey";
|
|
7
5
|
export type ICreateRequest = Pick<IEntity, 'owner_id' | 'document_header_id' | 'persona_id'>;
|
|
8
6
|
export type IResponse = IEntity;
|
|
9
7
|
export type IUpdateSentRequest = Pick<IEntity, 'document_header_id' | 'persona_id'>;
|
|
@@ -5,10 +5,9 @@ import type { IDocumentTypeCodeType, IDocumentTypeUserType } from '../documentTy
|
|
|
5
5
|
import type { IProductType, IProductState } from '../../stock/productGoogleSheets/interface';
|
|
6
6
|
import type { IGetProductType, IGetProductGroup } from '../../integration/googleSheets/interfaces';
|
|
7
7
|
import type { IMotivosDeEsperaData } from '../../document/order/interfaces';
|
|
8
|
+
import type { IWarningType } from '../documentHeader/interfaces';
|
|
8
9
|
export type Entity = DocumentLine;
|
|
9
|
-
export declare const Route = "
|
|
10
|
-
export declare const UpperName = "DocumentLine";
|
|
11
|
-
export declare const LowerName: string;
|
|
10
|
+
export declare const Route = "document_line";
|
|
12
11
|
export type IDocumentLineVirtuals = DocumentLineVirtuals;
|
|
13
12
|
export type IDocumentLineBaseVirtuals = DocumentLineBaseVirtuals;
|
|
14
13
|
export type IPromotions = Pick<ProductPromotionVirtuals, 'exclusive_to_location_id' | 'exclusive_to_client_id' | 'discount'>;
|
|
@@ -17,7 +16,6 @@ export interface IDataPayload {
|
|
|
17
16
|
value: unknown;
|
|
18
17
|
updated_at: Date;
|
|
19
18
|
updated_by: string;
|
|
20
|
-
location_id: string;
|
|
21
19
|
history?: IDataPayload[];
|
|
22
20
|
}
|
|
23
21
|
export type IData = {
|
|
@@ -119,6 +117,7 @@ export interface IUpdateManyRequest {
|
|
|
119
117
|
}
|
|
120
118
|
export interface IUpdateManyByDocumentHeaderRequest {
|
|
121
119
|
sent_to_provider?: boolean;
|
|
120
|
+
sent_to_client?: IWarningType;
|
|
122
121
|
}
|
|
123
122
|
export interface IUpdateLineStatesTriggerResponse {
|
|
124
123
|
document_header_id: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import joi from 'joi';
|
|
2
|
+
import { IUpdateManyByDocumentHeaderRequest } from './interfaces';
|
|
2
3
|
export declare const createBody: joi.ArraySchema<any[]>;
|
|
3
4
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
5
|
export declare const updateManyBody: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const updateIndexesBody: joi.ArraySchema<string[]>;
|
|
6
6
|
export declare const deleteBody: joi.ArraySchema<string[]>;
|
|
7
7
|
export declare const printLabelParams: joi.ObjectSchema<any>;
|
|
8
8
|
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
9
|
+
export declare const updateManyByDocumentHeaderBody: joi.ObjectSchema<IUpdateManyByDocumentHeaderRequest>;
|
|
@@ -3,9 +3,7 @@ import { DocumentLineAssoc } from '../../../shared/entities/stock';
|
|
|
3
3
|
import * as IDocumentLine from '../documentLine/interfaces';
|
|
4
4
|
import { IDocumentLineVirtuals } from '../documentLine/interfaces';
|
|
5
5
|
export type Entity = DocumentLineAssoc;
|
|
6
|
-
export declare const Route = "
|
|
7
|
-
export declare const UpperName = "DocumentLineAssoc";
|
|
8
|
-
export declare const LowerName: string;
|
|
6
|
+
export declare const Route = "document_line_assoc";
|
|
9
7
|
export interface IEntityExtended extends Entity {
|
|
10
8
|
document_line: IDocumentLine.IEntityExtended;
|
|
11
9
|
}
|
|
@@ -2,8 +2,6 @@ import { DocumentLineMT } from '../../../shared/entities/stock';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = DocumentLineMT;
|
|
4
4
|
export declare const Route = "document_line_mt";
|
|
5
|
-
export declare const UpperName = "DocumentLineMT";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IUpdateRequest {
|
|
8
6
|
document_line_ids: string[];
|
|
9
7
|
mt_order_by?: string | null;
|
|
@@ -13,9 +13,7 @@ export declare const IDocumentLineNoteTypeEnum: {
|
|
|
13
13
|
export type IDocumentLineNoteType = (typeof IDocumentLineNoteTypeEnum)[keyof typeof IDocumentLineNoteTypeEnum];
|
|
14
14
|
export declare const documentLineNoteTypes: string[];
|
|
15
15
|
export type Entity = DocumentLineNote;
|
|
16
|
-
export declare const Route = "
|
|
17
|
-
export declare const UpperName = "DocumentLineNote";
|
|
18
|
-
export declare const LowerName: string;
|
|
16
|
+
export declare const Route = "document_line_note";
|
|
19
17
|
export interface IUpsertOrDeleteRequest {
|
|
20
18
|
document_line_id: string;
|
|
21
19
|
type: IDocumentLineNoteType;
|
|
@@ -2,8 +2,6 @@ import { DocumentLineRM } from '../../../shared/entities/stock';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = DocumentLineRM;
|
|
4
4
|
export declare const Route = "document_line_rm";
|
|
5
|
-
export declare const UpperName = "DocumentLineRM";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IUpdateRequest {
|
|
8
6
|
document_line_ids: string[];
|
|
9
7
|
rm_order_by?: string | null;
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { DocumentSet } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = DocumentSet;
|
|
4
4
|
export declare const Route = "document_set";
|
|
5
|
-
export declare const UpperName = "DocumentSet";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface ICreateRequest {
|
|
8
6
|
document_set_id: number | null;
|
|
9
7
|
name: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentType, ExternalDocumentType } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = DocumentType;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "DocumentType";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "document_type";
|
|
7
5
|
export declare const DocumentTypeUserTypeEnum: {
|
|
8
6
|
client: 'client';
|
|
9
7
|
provider: 'provider';
|
|
@@ -26,6 +24,7 @@ export declare const DocumentTypeCodeTypeEnum: {
|
|
|
26
24
|
GT: 'GT';
|
|
27
25
|
RE: 'RE';
|
|
28
26
|
LNC: 'LNC';
|
|
27
|
+
EST: 'EST';
|
|
29
28
|
NPC: 'NPC';
|
|
30
29
|
QECI: 'QECI';
|
|
31
30
|
OPI: 'OPI';
|
|
@@ -70,6 +69,7 @@ export declare const DocumentTypeCodeTypeEnum: {
|
|
|
70
69
|
FTO: 'FTO';
|
|
71
70
|
FRO: 'FRO';
|
|
72
71
|
REO: 'REO';
|
|
72
|
+
CAT: 'CAT';
|
|
73
73
|
};
|
|
74
74
|
export type IDocumentTypeCodeType = (typeof DocumentTypeCodeTypeEnum)[keyof typeof DocumentTypeCodeTypeEnum];
|
|
75
75
|
export declare const documentTypeCodeTypes: string[];
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { ExternalDocumentHeader } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = ExternalDocumentHeader;
|
|
4
4
|
export declare const Route = "external_document_header";
|
|
5
|
-
export declare const UpperName = "ExternalDocumentHeader";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IFindByOwnerIdItem {
|
|
8
6
|
external_document_header_id: string | null;
|
|
9
7
|
document_header_id: string;
|
|
@@ -2,8 +2,6 @@ import { ExternalDocumentType } from '../../../shared/entities/stock';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = ExternalDocumentType;
|
|
4
4
|
export declare const Route = "external_document_type";
|
|
5
|
-
export declare const UpperName = "ExternalDocumentType";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IRepository {
|
|
8
6
|
find(): Promise<Entity[]>;
|
|
9
7
|
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { IProductType, IProductState } from '../../stock/productGoogleSheets/interface';
|
|
2
2
|
export declare const Route = "order_management";
|
|
3
|
-
export declare const UpperName = "OrderManagement";
|
|
4
|
-
export declare const LowerName: string;
|
|
5
3
|
export interface IFindProviderProductsRequest {
|
|
6
4
|
provider_id: string;
|
|
7
5
|
}
|
|
@@ -4,8 +4,6 @@ import * as IUser from '../../user/users/interface';
|
|
|
4
4
|
import * as IObservation from '../../integration/observation/interfaces';
|
|
5
5
|
export type Entity = Payment;
|
|
6
6
|
export declare const Route = "payment";
|
|
7
|
-
export declare const UpperName = "Payment";
|
|
8
|
-
export declare const LowerName: string;
|
|
9
7
|
export type IEntityExtended = Entity;
|
|
10
8
|
export type IFindByIdResponse = Omit<IEntityExtended, ''>;
|
|
11
9
|
export type IFindByOwnerIdResponse = Omit<IEntityExtended, ''>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { Payment } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = Payment;
|
|
4
|
-
export declare const Route = "
|
|
5
|
-
export declare const UpperName = "Payment";
|
|
6
|
-
export declare const LowerName: string;
|
|
4
|
+
export declare const Route = "payment_batch";
|
|
7
5
|
export interface IPaymentsNotExportedRequest {
|
|
8
6
|
whiteList?: string[];
|
|
9
7
|
}
|
|
@@ -4,8 +4,6 @@ import { PreSale, PreSaleProduct } from '../../../shared/entities/stock';
|
|
|
4
4
|
import * as DocumentLine from '../documentLine/interfaces';
|
|
5
5
|
export type Entity = PreSale;
|
|
6
6
|
export declare const Route = "pre_sale";
|
|
7
|
-
export declare const UpperName = "PreSale";
|
|
8
|
-
export declare const LowerName: string;
|
|
9
7
|
export type IFindRequest = Record<string, unknown>;
|
|
10
8
|
export type IFindResponse = Entity;
|
|
11
9
|
export interface IFindResponseWithCount extends Entity {
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { PreSaleProduct } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = PreSaleProduct;
|
|
4
4
|
export declare const Route = "pre_sale_product";
|
|
5
|
-
export declare const UpperName = "PreSaleProduct";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type IFindRequest = Record<string, unknown>;
|
|
8
6
|
export type IFindResponse = Entity;
|
|
9
7
|
export interface IRepository {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
export declare const Route = "schedule";
|
|
3
|
-
export declare const UpperName = "Schedule";
|
|
4
|
-
export declare const LowerName: string;
|
|
5
3
|
export declare const ScheduleTypeEnum: {
|
|
6
4
|
executeEncomendasStock: 'executeEncomendasStock';
|
|
7
5
|
executeEncomendasVA: 'executeEncomendasVA';
|
|
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
|
|
|
2
2
|
import { StartDocumentHeaderLastUpdateVirtuals } from '../../../shared/entities/stock';
|
|
3
3
|
export type Entity = StartDocumentHeaderLastUpdateVirtuals;
|
|
4
4
|
export declare const Route = "start_document_header_last_update";
|
|
5
|
-
export declare const UpperName = "StartDocumentHeaderLastUpdate";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IRepository {
|
|
8
6
|
findById(selector: IShared.IFindByIdRequest): Promise<StartDocumentHeaderLastUpdateVirtuals | null>;
|
|
9
7
|
}
|
|
@@ -2,8 +2,6 @@ import { Channel } from '../../../shared/entities/tickets';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = Channel;
|
|
4
4
|
export declare const Route = "channel";
|
|
5
|
-
export declare const UpperName = "Channel";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export interface IChannel {
|
|
8
6
|
id: number;
|
|
9
7
|
name: Record<string, string>;
|
|
@@ -2,8 +2,6 @@ import { CLT } from '../../../shared/entities/tickets';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = CLT;
|
|
4
4
|
export declare const Route = "clt";
|
|
5
|
-
export declare const UpperName = "CLT";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type ICreateRequest = Omit<Entity, 'id'>;
|
|
8
6
|
export type IUpdateRequest = ICreateRequest;
|
|
9
7
|
export interface IFindMinifiedRequest {
|
|
@@ -2,8 +2,6 @@ import { Language } from '../../../shared/entities/tickets';
|
|
|
2
2
|
import * as IShared from '../../../shared/interface';
|
|
3
3
|
export type Entity = Language;
|
|
4
4
|
export declare const Route = "tickets_language";
|
|
5
|
-
export declare const UpperName = "TicketsLanguage";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
5
|
export type ICreateRequest = Omit<Entity, 'id'>;
|
|
8
6
|
export type IUpdateRequest = ICreateRequest;
|
|
9
7
|
export interface IFindMinifiedRequest {
|
|
@@ -3,8 +3,6 @@ import { IChannel } from '../channel/interfaces';
|
|
|
3
3
|
import * as IShared from '../../../shared/interface';
|
|
4
4
|
export type Entity = Tickets;
|
|
5
5
|
export declare const Route = "tickets";
|
|
6
|
-
export declare const UpperName = "Tickets";
|
|
7
|
-
export declare const LowerName: string;
|
|
8
6
|
export interface ILastTicketCalledToday {
|
|
9
7
|
language: Language;
|
|
10
8
|
text_to_read: string;
|