@nomalism-com/types 0.44.22 → 0.45.1

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.
Files changed (123) hide show
  1. package/dist/index.cjs +259 -658
  2. package/dist/index.js +259 -658
  3. package/dist/modules/document/NRCL/interface.d.ts +1 -3
  4. package/dist/modules/document/billOfLading/interfaces.d.ts +1 -0
  5. package/dist/modules/document/inventario/interface.d.ts +0 -2
  6. package/dist/modules/document/materialEntrance/interfaces.d.ts +0 -2
  7. package/dist/modules/document/order/interfaces.d.ts +0 -2
  8. package/dist/modules/document/productionOrder/interfaces.d.ts +1 -0
  9. package/dist/modules/document/proforma/interfaces.d.ts +1 -0
  10. package/dist/modules/document/propostaFornecedor/interfaces.d.ts +1 -0
  11. package/dist/modules/document/propostaSheets/interface.d.ts +1 -3
  12. package/dist/modules/document/providerCreditNoteFromReturn/interfaces.d.ts +1 -0
  13. package/dist/modules/document/providerFinancialCreditNote/interfaces.d.ts +1 -0
  14. package/dist/modules/document/providerServiceInvoice/interfaces.d.ts +1 -0
  15. package/dist/modules/document/purchase/interfaces.d.ts +0 -2
  16. package/dist/modules/document/quebra/interfaces.d.ts +0 -2
  17. package/dist/modules/document/returnToProvider/interface.d.ts +0 -2
  18. package/dist/modules/document/transformado/interfaces.d.ts +0 -2
  19. package/dist/modules/document/upfrontReturn/interfaces.d.ts +0 -2
  20. package/dist/modules/documentManagement/multimedia/interfaces.d.ts +0 -2
  21. package/dist/modules/integration/emailLog/interfaces.d.ts +0 -2
  22. package/dist/modules/integration/emailTemplate/interfaces.d.ts +0 -2
  23. package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +0 -2
  24. package/dist/modules/integration/emailVerification/interfaces.d.ts +0 -2
  25. package/dist/modules/integration/googleFilePermission/interfaces.d.ts +0 -2
  26. package/dist/modules/integration/googleSheets/interfaces.d.ts +0 -2
  27. package/dist/modules/integration/observation/interfaces.d.ts +0 -2
  28. package/dist/modules/integration/observationType/interfaces.d.ts +1 -3
  29. package/dist/modules/integration/patchNotes/interfaces.d.ts +0 -2
  30. package/dist/modules/integration/projectInfo/interfaces.d.ts +0 -2
  31. package/dist/modules/integration/settings/interfaces.d.ts +0 -2
  32. package/dist/modules/print/npc/interfaces.d.ts +0 -2
  33. package/dist/modules/print/printer/interfaces.d.ts +0 -2
  34. package/dist/modules/print/schedulePrintJob/interfaces.d.ts +0 -2
  35. package/dist/modules/stock/accountCode/interface.d.ts +0 -2
  36. package/dist/modules/stock/chat/interfaces.d.ts +0 -2
  37. package/dist/modules/stock/chatRapidMessage/interface.d.ts +1 -3
  38. package/dist/modules/stock/conferirEncomenda/interface.d.ts +0 -2
  39. package/dist/modules/stock/dashboard/interface.d.ts +0 -2
  40. package/dist/modules/stock/file/interface.d.ts +0 -2
  41. package/dist/modules/stock/gmails/interface.d.ts +0 -2
  42. package/dist/modules/stock/googleCalendar/interface.d.ts +0 -2
  43. package/dist/modules/stock/googleSheetPool/interface.d.ts +0 -2
  44. package/dist/modules/stock/location/interface.d.ts +0 -2
  45. package/dist/modules/stock/prison/interface.d.ts +0 -2
  46. package/dist/modules/stock/productGoogleSheets/interface.d.ts +0 -2
  47. package/dist/modules/stock/productImage/interface.d.ts +0 -2
  48. package/dist/modules/stock/promotion/interface.d.ts +0 -2
  49. package/dist/modules/stock/promotionAssoc/interface.d.ts +0 -2
  50. package/dist/modules/stock/queryList/interfaces.d.ts +0 -2
  51. package/dist/modules/stock/queryParameter/interfaces.d.ts +0 -2
  52. package/dist/modules/stock/recurrentTasks/interface.d.ts +0 -2
  53. package/dist/modules/stock/returnReason/interfaces.d.ts +0 -2
  54. package/dist/modules/stock/savedEmPicking/interfaces.d.ts +0 -2
  55. package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +0 -2
  56. package/dist/modules/stock/stockMovement/interface.d.ts +0 -2
  57. package/dist/modules/stock/tag/interface.d.ts +0 -2
  58. package/dist/modules/stock/task/interface.d.ts +0 -2
  59. package/dist/modules/stock/taskMessage/interface.d.ts +0 -2
  60. package/dist/modules/stock/taskRead/interface.d.ts +0 -2
  61. package/dist/modules/stock/typeOfLocation/interface.d.ts +0 -2
  62. package/dist/modules/stock/unitOfMeasure/interface.d.ts +0 -2
  63. package/dist/modules/stock/vatTax/interface.d.ts +0 -2
  64. package/dist/modules/stock/vatTaxZone/interface.d.ts +0 -2
  65. package/dist/modules/stock/vatValidation/interfaces.d.ts +0 -2
  66. package/dist/modules/stock/workflow/interfaces.d.ts +0 -2
  67. package/dist/modules/supply/currentAccount/interface.d.ts +0 -2
  68. package/dist/modules/supply/documentHeader/interfaces.d.ts +2 -3
  69. package/dist/modules/supply/documentHeaderHistory/interfaces.d.ts +1 -3
  70. package/dist/modules/supply/documentHeaderSubscriber/interface.d.ts +1 -3
  71. package/dist/modules/supply/documentHeaderSurvey/interfaces.d.ts +1 -3
  72. package/dist/modules/supply/documentLine/interfaces.d.ts +1 -3
  73. package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +1 -3
  74. package/dist/modules/supply/documentLineMT/interface.d.ts +0 -2
  75. package/dist/modules/supply/documentLineNote/interfaces.d.ts +1 -3
  76. package/dist/modules/supply/documentLineRM/interface.d.ts +0 -2
  77. package/dist/modules/supply/documentSet/interface.d.ts +0 -2
  78. package/dist/modules/supply/documentType/interfaces.d.ts +1 -3
  79. package/dist/modules/supply/externalDocumentType/interface.d.ts +0 -2
  80. package/dist/modules/supply/orderManagement/interface.d.ts +0 -2
  81. package/dist/modules/supply/payment/interface.d.ts +0 -2
  82. package/dist/modules/supply/paymentBatch/interface.d.ts +1 -3
  83. package/dist/modules/supply/preSale/interface.d.ts +0 -2
  84. package/dist/modules/supply/preSaleProduct/interface.d.ts +0 -2
  85. package/dist/modules/supply/schedule/interface.d.ts +0 -2
  86. package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +0 -2
  87. package/dist/modules/tickets/channel/interfaces.d.ts +0 -2
  88. package/dist/modules/tickets/clt/interfaces.d.ts +0 -2
  89. package/dist/modules/tickets/language/interfaces.d.ts +0 -2
  90. package/dist/modules/tickets/tickets/interfaces.d.ts +0 -2
  91. package/dist/modules/ui/sideMenu/interface.d.ts +1 -0
  92. package/dist/modules/user/bankData/interface.d.ts +0 -2
  93. package/dist/modules/user/chatSubscribers/interfaces.d.ts +0 -2
  94. package/dist/modules/user/clientType/interface.d.ts +0 -2
  95. package/dist/modules/user/clients/interface.d.ts +0 -2
  96. package/dist/modules/user/commissioner/interface.d.ts +0 -2
  97. package/dist/modules/user/country/interface.d.ts +0 -2
  98. package/dist/modules/user/deliveryMethods/interfaces.d.ts +0 -2
  99. package/dist/modules/user/favorites/interfaces.d.ts +0 -2
  100. package/dist/modules/user/language/interface.d.ts +0 -2
  101. package/dist/modules/user/maturityDates/interfaces.d.ts +0 -2
  102. package/dist/modules/user/paymentMethods/interfaces.d.ts +0 -2
  103. package/dist/modules/user/persona/interface.d.ts +0 -2
  104. package/dist/modules/user/providerType/interface.d.ts +0 -2
  105. package/dist/modules/user/providers/interface.d.ts +0 -2
  106. package/dist/modules/user/purchaseConditions/interface.d.ts +0 -2
  107. package/dist/modules/user/reasonForExemption/interface.d.ts +0 -2
  108. package/dist/modules/user/refreshToken/interface.d.ts +1 -0
  109. package/dist/modules/user/segmentsArea/interface.d.ts +0 -2
  110. package/dist/modules/user/sessions/interface.d.ts +2 -0
  111. package/dist/modules/user/shippings/interface.d.ts +0 -2
  112. package/dist/modules/user/storeOperator/interface.d.ts +0 -2
  113. package/dist/modules/user/swift/interface.d.ts +0 -2
  114. package/dist/modules/user/tenant/interface.d.ts +0 -2
  115. package/dist/modules/user/theme/interfaces.d.ts +0 -2
  116. package/dist/modules/user/userPositions/interface.d.ts +0 -2
  117. package/dist/modules/user/userTokens/interface.d.ts +0 -2
  118. package/dist/modules/user/users/interface.d.ts +0 -2
  119. package/dist/modules/user/vehicles/interfaces.d.ts +0 -2
  120. package/dist/modules/user/zipCode/interfaces.d.ts +0 -2
  121. package/dist/modules/view/adminPanel/interfaces.d.ts +0 -2
  122. package/dist/modules/view/errorLog/interfaces.d.ts +1 -3
  123. package/package.json +3 -3
@@ -1,9 +1,7 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  import { DocumentHeader } from '../../../shared/entities/stock';
3
3
  export type Entity = Omit<DocumentHeader, 'external_data'>;
4
- export declare const Route = "documentHeader";
5
- export declare const UpperName = "DocumentHeader";
6
- export declare const LowerName: string;
4
+ export declare const Route = "document_header";
7
5
  export interface IMultipleRegularizationPayments {
8
6
  value: number;
9
7
  payment_method_id: string;
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "bill_of_lading";
2
3
  export interface IDeliveryAddressRequest {
3
4
  delivery_street: string;
4
5
  delivery_locality: string;
@@ -1,7 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  export declare const Route = "inventario";
3
- export declare const UpperName = "Inventario";
4
- export declare const LowerName: string;
5
3
  export interface ICreateInventoryRequest {
6
4
  product_id: string;
7
5
  registered_quantity: number;
@@ -2,8 +2,6 @@ import type { DocumentHeader, DocumentLineNote, SavedEmPicking } from '../../../
2
2
  import * as IShared from '../../../shared/interface';
3
3
  import { type IProductType } from '../../stock/productGoogleSheets/interface';
4
4
  export declare const Route = "material_entrance";
5
- export declare const UpperName = "MaterialEntrance";
6
- export declare const LowerName: string;
7
5
  export declare const ICreateMaterialEntranceClientOrderOptionEnum: {
8
6
  'Vai desdobrar linha na PC (estado Espera Chegada)': 'Vai desdobrar linha na PC (estado Espera Chegada)';
9
7
  'Vai desdobrar linha na PC (estado Espera Envio Encomenda)': 'Vai desdobrar linha na PC (estado Espera Envio Encomenda)';
@@ -1,8 +1,6 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  import type { IEstadoEncomenda } from '../../stock/conferirEncomenda/interface';
3
3
  export declare const Route = "order";
4
- export declare const UpperName = "Order";
5
- export declare const LowerName: string;
6
4
  export interface IUndoProviderOrderRequest {
7
5
  document_line_ids: string[];
8
6
  send_notification: boolean;
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "production_order";
2
3
  export interface ICreateProductionOrderRequest {
3
4
  provider_id: string;
4
5
  group_id: string;
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "proforma";
2
3
  export interface ICreateRequest {
3
4
  document_header_id?: string;
4
5
  from_document_header_id: string;
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "proposta_fornecedor";
2
3
  export interface IProviderProposalData {
3
4
  product_id: string;
4
5
  quantity: number;
@@ -1,9 +1,7 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  import { DocumentLinePendingConflict, DocumentLine } from '../../../shared/entities/stock';
3
3
  export type Entity = DocumentLinePendingConflict;
4
- export declare const Route = "documentLine_pending_conflict";
5
- export declare const UpperName = "DocumentLinePendingConflict";
6
- export declare const LowerName: string;
4
+ export declare const Route = "proposta_sheets";
7
5
  export declare const IConflictEnum: {
8
6
  update: 'update';
9
7
  delete: 'delete';
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "provider_credit_note_from_return";
2
3
  export interface IFindProviderReturnRequest {
3
4
  provider_id: string;
4
5
  search_value?: string | null;
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "provider_financial_credit_note";
2
3
  export interface IFindProviderInvoiceRequest {
3
4
  provider_id: string;
4
5
  search_value?: string | null;
@@ -1,4 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
+ export declare const Route = "provider_service_invoice";
2
3
  export interface IValueByVatTax {
3
4
  taxPercentage: number;
4
5
  total: number;
@@ -1,8 +1,6 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  import { DocumentLineNote } from '../../../shared/entities/stock';
3
3
  export declare const Route = "purchase";
4
- export declare const UpperName = "Purchase";
5
- export declare const LowerName: string;
6
4
  export type IUnpaidMaterialEntranceLineType = 'Por comprar' | 'Comprado' | 'Devolvido' | 'Prisão';
7
5
  export interface IUnpaidMaterialEntranceLineDetails {
8
6
  document_line_id: string;
@@ -1,8 +1,6 @@
1
1
  import { DocumentLineNote } from '../../../shared/entities/stock';
2
2
  import * as IShared from '../../../shared/interface';
3
3
  export declare const Route = "quebra";
4
- export declare const UpperName = "Quebra";
5
- export declare const LowerName: string;
6
4
  export interface IInventoryLossResponse {
7
5
  document_line_id: string;
8
6
  id_provider: number;
@@ -1,8 +1,6 @@
1
1
  import { DocumentLineNote } from '../../../shared/entities/stock';
2
2
  import * as IShared from '../../../shared/interface';
3
3
  export declare const Route = "return_to_provider";
4
- export declare const UpperName = "ReturnToProvider";
5
- export declare const LowerName: string;
6
4
  export interface IFindLinesToReturnResponse {
7
5
  document_line_assoc_id: string;
8
6
  df_name: string;
@@ -1,7 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  export declare const Route = "transformado";
3
- export declare const UpperName = "Transformado";
4
- export declare const LowerName: string;
5
3
  export interface IProducts {
6
4
  id: string;
7
5
  quantity: number;
@@ -1,7 +1,5 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  export declare const Route = "upfrontReturn";
3
- export declare const UpperName = "UpfrontReturn";
4
- export declare const LowerName: string;
5
3
  export interface ICreateRequest {
6
4
  current_account: boolean;
7
5
  }
@@ -1,8 +1,6 @@
1
1
  import { Multimedia } from '../../../shared/entities/documentManagement';
2
2
  export type Entity = Multimedia;
3
3
  export declare const Route = "multimedia";
4
- export declare const UpperName = "Multimedia";
5
- export declare const LowerName: string;
6
4
  export interface IFindByIdRequest {
7
5
  download?: boolean;
8
6
  }
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { EmailLog } from '../../../shared/entities/integration';
3
3
  export type Entity = EmailLog;
4
4
  export declare const Route = "email_log";
5
- export declare const UpperName = "EmailLog";
6
- export declare const LowerName: string;
7
5
  export interface IFindRequest {
8
6
  date_start: Date;
9
7
  date_end: Date;
@@ -3,8 +3,6 @@ import { EmailTemplate, EmailTemplateAttachment } from '../../../shared/entities
3
3
  import { IEmailAddress, IEmailAttachment } from '../emailLog/interfaces';
4
4
  export type Entity = EmailTemplate;
5
5
  export declare const Route = "email_template";
6
- export declare const UpperName = "EmailTemplate";
7
- export declare const LowerName: string;
8
6
  export interface IEntityExtended extends Entity {
9
7
  attachments: EmailTemplateAttachment[];
10
8
  }
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { EmailTemplateAttachment } from '../../../shared/entities/integration';
3
3
  export type Entity = EmailTemplateAttachment;
4
4
  export declare const Route = "email_template_attachment";
5
- export declare const UpperName = "EmailTemplateAttachment";
6
- export declare const LowerName: string;
7
5
  export interface ICreateRequest {
8
6
  email_template_id: string;
9
7
  multimedia_id: string;
@@ -2,8 +2,6 @@ import { EmailVerification } from '../../../shared/entities/integration';
2
2
  import * as IShared from '../../../shared/interface';
3
3
  export type Entity = EmailVerification;
4
4
  export declare const Route = "email_verification";
5
- export declare const UpperName = "EmailVerification";
6
- export declare const LowerName: string;
7
5
  export interface IIsVerifiedRequest {
8
6
  email: string;
9
7
  }
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { GoogleFilePermission } from '../../../shared/entities/integration';
3
3
  export type Entity = GoogleFilePermission;
4
4
  export declare const Route = "google_file_permission";
5
- export declare const UpperName = "GoogleFilePermission";
6
- export declare const LowerName: string;
7
5
  export type IFindRequest = Record<string, unknown>;
8
6
  export interface ICreateRequest {
9
7
  file_id: string;
@@ -2,8 +2,6 @@ import { DocumentHeader } from '../../../shared/entities/stock';
2
2
  import { Persona } from '../../../shared/entities/user';
3
3
  import * as IShared from '../../../shared/interface';
4
4
  export declare const Route = "google";
5
- export declare const UpperName = "Google";
6
- export declare const LowerName: string;
7
5
  export interface IGetUserData extends Pick<DocumentHeader, 'document_number' | 'owner_number' | 'billing_persona_nif' | 'billing_persona_name' | 'billing_persona_email' | 'billing_persona_telephone' | 'billing_persona_address_street' | 'billing_persona_address_locality' | 'billing_persona_address_postal_code' | 'billing_persona_address_country_name' | 'delivery_persona_name' | 'delivery_persona_email' | 'delivery_persona_telephone' | 'delivery_persona_address_street' | 'delivery_persona_address_locality' | 'delivery_persona_address_postal_code' | 'delivery_persona_address_country_name'> {
8
6
  emission_date: string;
9
7
  store_operator_id: string | null;
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { Observation, ObservationType } from '../../../shared/entities/integration';
3
3
  export type Entity = Observation;
4
4
  export declare const Route = "observation";
5
- export declare const UpperName = "Observation";
6
- export declare const LowerName: string;
7
5
  export interface ICreateRequest {
8
6
  owner_id: string;
9
7
  observation_type_id?: string | null;
@@ -1,9 +1,7 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  import { ObservationType } from '../../../shared/entities/integration';
3
3
  export type Entity = ObservationType;
4
- export declare const Route = "observationType";
5
- export declare const UpperName = "ObservationType";
6
- export declare const LowerName: string;
4
+ export declare const Route = "observation_type";
7
5
  export interface IFindByQueryRequest {
8
6
  id?: string;
9
7
  name?: string;
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { PatchNotes } from '../../../shared/entities/integration';
3
3
  export type Entity = PatchNotes;
4
4
  export declare const Route = "patch_notes";
5
- export declare const UpperName = "PatchNotes";
6
- export declare const LowerName: string;
7
5
  export interface IFindResponse {
8
6
  date: string;
9
7
  version: string;
@@ -1,8 +1,6 @@
1
1
  import { ProjectInfo } from '../../../shared/entities/integration';
2
2
  export type Entity = ProjectInfo;
3
3
  export declare const Route = "project_info";
4
- export declare const UpperName = "ProjectInfo";
5
- export declare const LowerName: string;
6
4
  export declare const IProjectInfoTypeEnum: {
7
5
  particular: 'particular';
8
6
  professional: 'professional';
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { Settings } from '../../../shared/entities/integration';
3
3
  export type Entity = Settings;
4
4
  export declare const Route = "settings";
5
- export declare const UpperName = "Settings";
6
- export declare const LowerName: string;
7
5
  export interface IFindByKeyRequest {
8
6
  key: string;
9
7
  }
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { Npc } from '../../../shared/entities/print';
3
3
  export type Entity = Npc;
4
4
  export declare const Route = "npc";
5
- export declare const UpperName = "Npc";
6
- export declare const LowerName: string;
7
5
  export interface IPrintJobs {
8
6
  id: string;
9
7
  moloni_json?: unknown;
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { Printer } from '../../../shared/entities/print';
3
3
  export type Entity = Printer;
4
4
  export declare const Route = "printer";
5
- export declare const UpperName = "Printer";
6
- export declare const LowerName: string;
7
5
  export type IFindDetailedResponse = Entity & {
8
6
  npc: Pick<Entity, 'name'>;
9
7
  };
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { ScheduledPrintJob } from '../../../shared/entities/print';
3
3
  export type Entity = ScheduledPrintJob;
4
4
  export declare const Route = "schedule_print_job";
5
- export declare const UpperName = "SchedulePrintJob";
6
- export declare const LowerName: string;
7
5
  export interface ICreateSchedulePrintJobRequest {
8
6
  printer_id: string;
9
7
  copies: number;
@@ -1,8 +1,6 @@
1
1
  import { AccountCode } from '../../../shared/entities/stock';
2
2
  export type Entity = AccountCode;
3
3
  export declare const Route = "account_code";
4
- export declare const UpperName = "AccountCode";
5
- export declare const LowerName: string;
6
4
  export interface IFindByCode {
7
5
  code: string;
8
6
  }
@@ -2,8 +2,6 @@ import type * as IShared from '../../../shared/interface';
2
2
  import { Chat, File } from '../../../shared/entities/stock';
3
3
  export type Entity = Chat;
4
4
  export declare const Route = "chat";
5
- export declare const UpperName = "Chat";
6
- export declare const LowerName: string;
7
5
  export interface IChatBalloon {
8
6
  chat?: Pick<Entity, 'message'> & {
9
7
  id?: string;
@@ -1,8 +1,6 @@
1
- export declare const Route = "chat_rapid_message";
2
- export declare const UpperName = "ChatRapidMessage";
3
- export declare const LowerName: string;
4
1
  import { ChatRapidMessage } from '../../../shared/entities/stock';
5
2
  import * as IShared from '../../../shared/interface';
3
+ export declare const Route = "chat_rapid_message";
6
4
  export type Entity = ChatRapidMessage;
7
5
  export interface ICreateRequest {
8
6
  title: string;
@@ -1,7 +1,5 @@
1
1
  import { ConferirEncomenda } from '../../../shared/entities/stock';
2
2
  export declare const Route = "conferir_encomenda";
3
- export declare const UpperName = "ConferirEncomenda";
4
- export declare const LowerName: string;
5
3
  export type Entity = ConferirEncomenda;
6
4
  export declare const EstadoEncomendaEnum: {
7
5
  readonly PorConfirmar: "PorConfirmar";
@@ -1,6 +1,4 @@
1
1
  export declare const Route = "dashboard";
2
- export declare const UpperName = "Dashboard";
3
- export declare const LowerName: string;
4
2
  export type IDashboardSalesNames = 'dia' | 'mes' | 'ano';
5
3
  export interface IDashboardSalesRowValue {
6
4
  sheets: number;
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { File } from '../../../shared/entities/stock';
3
3
  export type Entity = File;
4
4
  export declare const Route = "file";
5
- export declare const UpperName = "File";
6
- export declare const LowerName: string;
7
5
  export interface IFindByOwnerRequest {
8
6
  owner_id: string;
9
7
  tags?: string;
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { Gmails } from '../../../shared/entities/stock';
3
3
  export type Entity = Gmails;
4
4
  export declare const Route = "gmail";
5
- export declare const UpperName = "Gmail";
6
- export declare const LowerName: string;
7
5
  export interface IGmailsResponse {
8
6
  id: string;
9
7
  gmail_id: string;
@@ -1,8 +1,6 @@
1
1
  import { GoogleCalendar } from '../../../shared/entities/stock';
2
2
  export type Entity = GoogleCalendar;
3
3
  export declare const Route = "google_calendar";
4
- export declare const UpperName = "GoogleCalendar";
5
- export declare const LowerName: string;
6
4
  export interface IListEventsInRangeRequest {
7
5
  calendarId: string;
8
6
  from: string;
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { GoogleSheetPool } from '../../../shared/entities/stock';
3
3
  export type Entity = GoogleSheetPool;
4
4
  export declare const Route = "google_sheet_pool";
5
- export declare const UpperName = "GoogleSheetPool";
6
- export declare const LowerName: string;
7
5
  export interface IRepository {
8
6
  clearAndFill(): Promise<void>;
9
7
  }
@@ -2,8 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { Location, TypeOfLocation } from '../../../shared/entities/stock';
3
3
  export type Entity = Location;
4
4
  export declare const Route = "location";
5
- export declare const UpperName = "Location";
6
- export declare const LowerName: string;
7
5
  interface IFindDetailedResponse extends Entity {
8
6
  type_of_location: TypeOfLocation;
9
7
  }
@@ -1,8 +1,6 @@
1
1
  import { DocumentLineNote } from '../../../shared/entities/stock';
2
2
  import * as IShared from '../../../shared/interface';
3
3
  export declare const Route = "prison";
4
- export declare const UpperName = "Prison";
5
- export declare const LowerName: string;
6
4
  export interface IFindLinesInPrisonResponse {
7
5
  id: string;
8
6
  quantity: number;
@@ -2,8 +2,6 @@ import { type ProductImage, type ProductVirtuals, type UnitOfMeasure, type VatTa
2
2
  import * as IShared from '../../../shared/interface';
3
3
  import * as IDocumentLine from '../../supply/documentLine/interfaces';
4
4
  export declare const Route = "product_sheets";
5
- export declare const UpperName = "ProductsSheets";
6
- export declare const LowerName: string;
7
5
  export type IProductPromotionVirtuals = ProductPromotionVirtuals;
8
6
  export type IProductVirtuals = ProductVirtuals;
9
7
  export type IProductBaseVirtuals = ProductBaseVirtuals;
@@ -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, ''>;
@@ -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
  }