@nomalism-com/api 0.33.83 → 0.34.2
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/.editorconfig +9 -0
- package/.prettierrc +7 -0
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +371 -0
- package/dist/main.js.map +1 -0
- package/dist/modules/document/billOfLading.d.ts +1 -0
- package/dist/modules/document/billOfLading.d.ts.map +1 -0
- package/dist/modules/document/billOfLading.js +12 -0
- package/dist/modules/document/billOfLading.js.map +1 -0
- package/dist/modules/document/inventario.d.ts +1 -0
- package/dist/modules/document/inventario.d.ts.map +1 -0
- package/dist/modules/document/inventario.js +11 -0
- package/dist/modules/document/inventario.js.map +1 -0
- package/dist/modules/document/materialEntrance.d.ts +1 -0
- package/dist/modules/document/materialEntrance.d.ts.map +1 -0
- package/dist/modules/document/materialEntrance.js +51 -0
- package/dist/modules/document/materialEntrance.js.map +1 -0
- package/dist/modules/document/order.d.ts +1 -0
- package/dist/modules/document/order.d.ts.map +1 -0
- package/dist/modules/document/order.js +49 -0
- package/dist/modules/document/order.js.map +1 -0
- package/dist/modules/document/productionOrder.d.ts +1 -0
- package/dist/modules/document/productionOrder.d.ts.map +1 -0
- package/dist/modules/document/productionOrder.js +11 -0
- package/dist/modules/document/productionOrder.js.map +1 -0
- package/dist/modules/document/proforma.d.ts +1 -0
- package/dist/modules/document/proforma.d.ts.map +1 -0
- package/dist/modules/document/proforma.js +12 -0
- package/dist/modules/document/proforma.js.map +1 -0
- package/dist/modules/document/propostaFornecedor.d.ts +1 -0
- package/dist/modules/document/propostaFornecedor.d.ts.map +1 -0
- package/dist/modules/document/propostaFornecedor.js +12 -0
- package/dist/modules/document/propostaFornecedor.js.map +1 -0
- package/dist/modules/document/propostaSheets.d.ts +1 -0
- package/dist/modules/document/propostaSheets.d.ts.map +1 -0
- package/dist/modules/document/propostaSheets.js +51 -0
- package/dist/modules/document/propostaSheets.js.map +1 -0
- package/dist/modules/document/providerCreditNoteFromReturn.d.ts +1 -0
- package/dist/modules/document/providerCreditNoteFromReturn.d.ts.map +1 -0
- package/dist/modules/document/providerCreditNoteFromReturn.js +17 -0
- package/dist/modules/document/providerCreditNoteFromReturn.js.map +1 -0
- package/dist/modules/document/providerFinancialCreditNote.d.ts +1 -0
- package/dist/modules/document/providerFinancialCreditNote.d.ts.map +1 -0
- package/dist/modules/document/providerFinancialCreditNote.js +17 -0
- package/dist/modules/document/providerFinancialCreditNote.js.map +1 -0
- package/dist/modules/document/providerServiceInvoice.d.ts +1 -0
- package/dist/modules/document/providerServiceInvoice.d.ts.map +1 -0
- package/dist/modules/document/providerServiceInvoice.js +11 -0
- package/dist/modules/document/providerServiceInvoice.js.map +1 -0
- package/dist/modules/document/purchase.d.ts +1 -0
- package/dist/modules/document/purchase.d.ts.map +1 -0
- package/dist/modules/document/purchase.js +25 -0
- package/dist/modules/document/purchase.js.map +1 -0
- package/dist/modules/document/quebra.d.ts +1 -0
- package/dist/modules/document/quebra.d.ts.map +1 -0
- package/dist/modules/document/quebra.js +27 -0
- package/dist/modules/document/quebra.js.map +1 -0
- package/dist/modules/document/returnToProvider.d.ts +1 -0
- package/dist/modules/document/returnToProvider.d.ts.map +1 -0
- package/dist/modules/document/returnToProvider.js +21 -0
- package/dist/modules/document/returnToProvider.js.map +1 -0
- package/dist/modules/document/transformado.d.ts +1 -0
- package/dist/modules/document/transformado.d.ts.map +1 -0
- package/dist/modules/document/transformado.js +12 -0
- package/dist/modules/document/transformado.js.map +1 -0
- package/dist/modules/document/upfrontReturn.d.ts +1 -0
- package/dist/modules/document/upfrontReturn.d.ts.map +1 -0
- package/dist/modules/document/upfrontReturn.js +12 -0
- package/dist/modules/document/upfrontReturn.js.map +1 -0
- package/dist/modules/documentManagement/multimedia.d.ts +1 -0
- package/dist/modules/documentManagement/multimedia.d.ts.map +1 -0
- package/dist/modules/documentManagement/multimedia.js +27 -0
- package/dist/modules/documentManagement/multimedia.js.map +1 -0
- package/dist/modules/integration/emailLog.d.ts +1 -0
- package/dist/modules/integration/emailLog.d.ts.map +1 -0
- package/dist/modules/integration/emailLog.js +24 -0
- package/dist/modules/integration/emailLog.js.map +1 -0
- package/dist/modules/integration/emailTemplate.d.ts +1 -0
- package/dist/modules/integration/emailTemplate.d.ts.map +1 -0
- package/dist/modules/integration/emailTemplate.js +27 -0
- package/dist/modules/integration/emailTemplate.js.map +1 -0
- package/dist/modules/integration/emailTemplateAttachment.d.ts +1 -0
- package/dist/modules/integration/emailTemplateAttachment.d.ts.map +1 -0
- package/dist/modules/integration/emailTemplateAttachment.js +15 -0
- package/dist/modules/integration/emailTemplateAttachment.js.map +1 -0
- package/dist/modules/integration/emailVerification.d.ts +1 -0
- package/dist/modules/integration/emailVerification.d.ts.map +1 -0
- package/dist/modules/integration/emailVerification.js +20 -0
- package/dist/modules/integration/emailVerification.js.map +1 -0
- package/dist/modules/integration/googleFilePermission.d.ts +1 -0
- package/dist/modules/integration/googleFilePermission.d.ts.map +1 -0
- package/dist/modules/integration/googleFilePermission.js +24 -0
- package/dist/modules/integration/googleFilePermission.js.map +1 -0
- package/dist/modules/integration/googleSheets.d.ts +1 -0
- package/dist/modules/integration/googleSheets.d.ts.map +1 -0
- package/dist/modules/integration/googleSheets.js +25 -0
- package/dist/modules/integration/googleSheets.js.map +1 -0
- package/dist/modules/integration/observation.d.ts +1 -0
- package/dist/modules/integration/observation.d.ts.map +1 -0
- package/dist/modules/integration/observation.js +30 -0
- package/dist/modules/integration/observation.js.map +1 -0
- package/dist/modules/integration/observationType.d.ts +1 -0
- package/dist/modules/integration/observationType.d.ts.map +1 -0
- package/dist/modules/integration/observationType.js +30 -0
- package/dist/modules/integration/observationType.js.map +1 -0
- package/dist/modules/integration/projectInfo.d.ts +1 -0
- package/dist/modules/integration/projectInfo.d.ts.map +1 -0
- package/dist/modules/integration/projectInfo.js +11 -0
- package/dist/modules/integration/projectInfo.js.map +1 -0
- package/dist/modules/integration/settings.d.ts +1 -0
- package/dist/modules/integration/settings.d.ts.map +1 -0
- package/dist/modules/integration/settings.js +30 -0
- package/dist/modules/integration/settings.js.map +1 -0
- package/dist/modules/print/npc.d.ts +1 -0
- package/dist/modules/print/npc.d.ts.map +1 -0
- package/dist/modules/print/npc.js +20 -0
- package/dist/modules/print/npc.js.map +1 -0
- package/dist/modules/print/printer.d.ts +1 -0
- package/dist/modules/print/printer.d.ts.map +1 -0
- package/dist/modules/print/printer.js +27 -0
- package/dist/modules/print/printer.js.map +1 -0
- package/dist/modules/print/schedulePrintJob.d.ts +1 -0
- package/dist/modules/print/schedulePrintJob.d.ts.map +1 -0
- package/dist/modules/print/schedulePrintJob.js +25 -0
- package/dist/modules/print/schedulePrintJob.js.map +1 -0
- package/dist/modules/stock/chat.d.ts +1 -0
- package/dist/modules/stock/chat.d.ts.map +1 -0
- package/dist/modules/stock/chat.js +33 -0
- package/dist/modules/stock/chat.js.map +1 -0
- package/dist/modules/stock/chatRapidMessage.d.ts +1 -0
- package/dist/modules/stock/chatRapidMessage.d.ts.map +1 -0
- package/dist/modules/stock/chatRapidMessage.js +27 -0
- package/dist/modules/stock/chatRapidMessage.js.map +1 -0
- package/dist/modules/stock/dashboard.d.ts +1 -0
- package/dist/modules/stock/dashboard.d.ts.map +1 -0
- package/dist/modules/stock/dashboard.js +12 -0
- package/dist/modules/stock/dashboard.js.map +1 -0
- package/dist/modules/stock/file.d.ts +1 -0
- package/dist/modules/stock/file.d.ts.map +1 -0
- package/dist/modules/stock/file.js +25 -0
- package/dist/modules/stock/file.js.map +1 -0
- package/dist/modules/stock/location.d.ts +1 -0
- package/dist/modules/stock/location.d.ts.map +1 -0
- package/dist/modules/stock/location.js +44 -0
- package/dist/modules/stock/location.js.map +1 -0
- package/dist/modules/stock/prison.d.ts +1 -0
- package/dist/modules/stock/prison.d.ts.map +1 -0
- package/dist/modules/stock/prison.js +33 -0
- package/dist/modules/stock/prison.js.map +1 -0
- package/dist/modules/stock/productGoogleSheets.d.ts +1 -0
- package/dist/modules/stock/productGoogleSheets.d.ts.map +1 -0
- package/dist/modules/stock/productGoogleSheets.js +109 -0
- package/dist/modules/stock/productGoogleSheets.js.map +1 -0
- package/dist/modules/stock/productImage.d.ts +1 -0
- package/dist/modules/stock/productImage.d.ts.map +1 -0
- package/dist/modules/stock/productImage.js +41 -0
- package/dist/modules/stock/productImage.js.map +1 -0
- package/dist/modules/stock/promotion.d.ts +1 -0
- package/dist/modules/stock/promotion.d.ts.map +1 -0
- package/dist/modules/stock/promotion.js +59 -0
- package/dist/modules/stock/promotion.js.map +1 -0
- package/dist/modules/stock/promotionAssoc.d.ts +1 -0
- package/dist/modules/stock/promotionAssoc.d.ts.map +1 -0
- package/dist/modules/stock/promotionAssoc.js +38 -0
- package/dist/modules/stock/promotionAssoc.js.map +1 -0
- package/dist/modules/stock/queryList.d.ts +1 -0
- package/dist/modules/stock/queryList.d.ts.map +1 -0
- package/dist/modules/stock/queryList.js +50 -0
- package/dist/modules/stock/queryList.js.map +1 -0
- package/dist/modules/stock/queryParameter.d.ts +1 -0
- package/dist/modules/stock/queryParameter.d.ts.map +1 -0
- package/dist/modules/stock/queryParameter.js +34 -0
- package/dist/modules/stock/queryParameter.js.map +1 -0
- package/dist/modules/stock/recurrentTasks.d.ts +1 -0
- package/dist/modules/stock/recurrentTasks.d.ts.map +1 -0
- package/dist/modules/stock/recurrentTasks.js +14 -0
- package/dist/modules/stock/recurrentTasks.js.map +1 -0
- package/dist/modules/stock/returnReason.d.ts +1 -0
- package/dist/modules/stock/returnReason.d.ts.map +1 -0
- package/dist/modules/stock/returnReason.js +24 -0
- package/dist/modules/stock/returnReason.js.map +1 -0
- package/dist/modules/stock/savedEmPicking.d.ts +1 -0
- package/dist/modules/stock/savedEmPicking.d.ts.map +1 -0
- package/dist/modules/stock/savedEmPicking.js +22 -0
- package/dist/modules/stock/savedEmPicking.js.map +1 -0
- package/dist/modules/stock/savedProviderProposal.d.ts +1 -0
- package/dist/modules/stock/savedProviderProposal.d.ts.map +1 -0
- package/dist/modules/stock/savedProviderProposal.js +24 -0
- package/dist/modules/stock/savedProviderProposal.js.map +1 -0
- package/dist/modules/stock/schedule.d.ts +1 -0
- package/dist/modules/stock/schedule.d.ts.map +1 -0
- package/dist/modules/stock/schedule.js +13 -0
- package/dist/modules/stock/schedule.js.map +1 -0
- package/dist/modules/stock/sideMenu.d.ts +1 -0
- package/dist/modules/stock/sideMenu.d.ts.map +1 -0
- package/dist/modules/stock/sideMenu.js +28 -0
- package/dist/modules/stock/sideMenu.js.map +1 -0
- package/dist/modules/stock/stockMovement.d.ts +1 -0
- package/dist/modules/stock/stockMovement.d.ts.map +1 -0
- package/dist/modules/stock/stockMovement.js +37 -0
- package/dist/modules/stock/stockMovement.js.map +1 -0
- package/dist/modules/stock/task.d.ts +1 -0
- package/dist/modules/stock/task.d.ts.map +1 -0
- package/dist/modules/stock/task.js +30 -0
- package/dist/modules/stock/task.js.map +1 -0
- package/dist/modules/stock/taskMessage.d.ts +1 -0
- package/dist/modules/stock/taskMessage.d.ts.map +1 -0
- package/dist/modules/stock/taskMessage.js +18 -0
- package/dist/modules/stock/taskMessage.js.map +1 -0
- package/dist/modules/stock/taskRead.d.ts +1 -0
- package/dist/modules/stock/taskRead.d.ts.map +1 -0
- package/dist/modules/stock/taskRead.js +14 -0
- package/dist/modules/stock/taskRead.js.map +1 -0
- package/dist/modules/stock/typeOfLocation.d.ts +1 -0
- package/dist/modules/stock/typeOfLocation.d.ts.map +1 -0
- package/dist/modules/stock/typeOfLocation.js +44 -0
- package/dist/modules/stock/typeOfLocation.js.map +1 -0
- package/dist/modules/stock/unitOfMeasure.d.ts +1 -0
- package/dist/modules/stock/unitOfMeasure.d.ts.map +1 -0
- package/dist/modules/stock/unitOfMeasure.js +44 -0
- package/dist/modules/stock/unitOfMeasure.js.map +1 -0
- package/dist/modules/stock/vatTax.d.ts +1 -0
- package/dist/modules/stock/vatTax.d.ts.map +1 -0
- package/dist/modules/stock/vatTax.js +44 -0
- package/dist/modules/stock/vatTax.js.map +1 -0
- package/dist/modules/stock/vatTaxZone.d.ts +1 -0
- package/dist/modules/stock/vatTaxZone.d.ts.map +1 -0
- package/dist/modules/stock/vatTaxZone.js +44 -0
- package/dist/modules/stock/vatTaxZone.js.map +1 -0
- package/dist/modules/supply/clientCurrentAccount.d.ts +1 -0
- package/dist/modules/supply/clientCurrentAccount.d.ts.map +1 -0
- package/dist/modules/supply/clientCurrentAccount.js +43 -0
- package/dist/modules/supply/clientCurrentAccount.js.map +1 -0
- package/dist/modules/supply/documentHeader.d.ts +1 -0
- package/dist/modules/supply/documentHeader.d.ts.map +1 -0
- package/dist/modules/supply/documentHeader.js +117 -0
- package/dist/modules/supply/documentHeader.js.map +1 -0
- package/dist/modules/supply/documentLine.d.ts +1 -0
- package/dist/modules/supply/documentLine.d.ts.map +1 -0
- package/dist/modules/supply/documentLine.js +42 -0
- package/dist/modules/supply/documentLine.js.map +1 -0
- package/dist/modules/supply/documentLineAssoc.d.ts +1 -0
- package/dist/modules/supply/documentLineAssoc.d.ts.map +1 -0
- package/dist/modules/supply/documentLineAssoc.js +32 -0
- package/dist/modules/supply/documentLineAssoc.js.map +1 -0
- package/dist/modules/supply/documentLineMt.d.ts +1 -0
- package/dist/modules/supply/documentLineMt.d.ts.map +1 -0
- package/dist/modules/supply/documentLineMt.js +15 -0
- package/dist/modules/supply/documentLineMt.js.map +1 -0
- package/dist/modules/supply/documentLineNote.d.ts +1 -0
- package/dist/modules/supply/documentLineNote.d.ts.map +1 -0
- package/dist/modules/supply/documentLineNote.js +20 -0
- package/dist/modules/supply/documentLineNote.js.map +1 -0
- package/dist/modules/supply/documentLineRm.d.ts +1 -0
- package/dist/modules/supply/documentLineRm.d.ts.map +1 -0
- package/dist/modules/supply/documentLineRm.js +15 -0
- package/dist/modules/supply/documentLineRm.js.map +1 -0
- package/dist/modules/supply/documentSet.d.ts +1 -0
- package/dist/modules/supply/documentSet.d.ts.map +1 -0
- package/dist/modules/supply/documentSet.js +32 -0
- package/dist/modules/supply/documentSet.js.map +1 -0
- package/dist/modules/supply/documentType.d.ts +1 -0
- package/dist/modules/supply/documentType.d.ts.map +1 -0
- package/dist/modules/supply/documentType.js +35 -0
- package/dist/modules/supply/documentType.js.map +1 -0
- package/dist/modules/supply/externalDocumentHeader.d.ts +1 -0
- package/dist/modules/supply/externalDocumentHeader.d.ts.map +1 -0
- package/dist/modules/supply/externalDocumentHeader.js +53 -0
- package/dist/modules/supply/externalDocumentHeader.js.map +1 -0
- package/dist/modules/supply/externalDocumentType.d.ts +1 -0
- package/dist/modules/supply/externalDocumentType.d.ts.map +1 -0
- package/dist/modules/supply/externalDocumentType.js +16 -0
- package/dist/modules/supply/externalDocumentType.js.map +1 -0
- package/dist/modules/supply/orderManagement.d.ts +1 -0
- package/dist/modules/supply/orderManagement.d.ts.map +1 -0
- package/dist/modules/supply/orderManagement.js +18 -0
- package/dist/modules/supply/orderManagement.js.map +1 -0
- package/dist/modules/supply/payment.d.ts +1 -0
- package/dist/modules/supply/payment.d.ts.map +1 -0
- package/dist/modules/supply/payment.js +101 -0
- package/dist/modules/supply/payment.js.map +1 -0
- package/dist/modules/supply/preSale.d.ts +1 -0
- package/dist/modules/supply/preSale.d.ts.map +1 -0
- package/dist/modules/supply/preSale.js +40 -0
- package/dist/modules/supply/preSale.js.map +1 -0
- package/dist/modules/supply/preSaleProduct.d.ts +1 -0
- package/dist/modules/supply/preSaleProduct.d.ts.map +1 -0
- package/dist/modules/supply/preSaleProduct.js +16 -0
- package/dist/modules/supply/preSaleProduct.js.map +1 -0
- package/dist/modules/supply/providerCurrentAccount.d.ts +1 -0
- package/dist/modules/supply/providerCurrentAccount.d.ts.map +1 -0
- package/dist/modules/supply/providerCurrentAccount.js +14 -0
- package/dist/modules/supply/providerCurrentAccount.js.map +1 -0
- package/dist/modules/supply/startDocumentHeaderLastUpdate.d.ts +1 -0
- package/dist/modules/supply/startDocumentHeaderLastUpdate.d.ts.map +1 -0
- package/dist/modules/supply/startDocumentHeaderLastUpdate.js +12 -0
- package/dist/modules/supply/startDocumentHeaderLastUpdate.js.map +1 -0
- package/dist/modules/supply/vatValidation.d.ts +1 -0
- package/dist/modules/supply/vatValidation.d.ts.map +1 -0
- package/dist/modules/supply/vatValidation.js +16 -0
- package/dist/modules/supply/vatValidation.js.map +1 -0
- package/dist/modules/supply/workflow.d.ts +1 -0
- package/dist/modules/supply/workflow.d.ts.map +1 -0
- package/dist/modules/supply/workflow.js +28 -0
- package/dist/modules/supply/workflow.js.map +1 -0
- package/dist/modules/tickets/channel.d.ts +1 -0
- package/dist/modules/tickets/channel.d.ts.map +1 -0
- package/dist/modules/tickets/channel.js +32 -0
- package/dist/modules/tickets/channel.js.map +1 -0
- package/dist/modules/tickets/clt.d.ts +1 -0
- package/dist/modules/tickets/clt.d.ts.map +1 -0
- package/dist/modules/tickets/clt.js +32 -0
- package/dist/modules/tickets/clt.js.map +1 -0
- package/dist/modules/tickets/language.d.ts +1 -0
- package/dist/modules/tickets/language.d.ts.map +1 -0
- package/dist/modules/tickets/language.js +32 -0
- package/dist/modules/tickets/language.js.map +1 -0
- package/dist/modules/tickets/tickets.d.ts +1 -0
- package/dist/modules/tickets/tickets.d.ts.map +1 -0
- package/dist/modules/tickets/tickets.js +24 -0
- package/dist/modules/tickets/tickets.js.map +1 -0
- package/dist/modules/user/bankData.d.ts +1 -0
- package/dist/modules/user/bankData.d.ts.map +1 -0
- package/dist/modules/user/bankData.js +38 -0
- package/dist/modules/user/bankData.js.map +1 -0
- package/dist/modules/user/chatSubscriber.d.ts +1 -0
- package/dist/modules/user/chatSubscriber.d.ts.map +1 -0
- package/dist/modules/user/chatSubscriber.js +27 -0
- package/dist/modules/user/chatSubscriber.js.map +1 -0
- package/dist/modules/user/clientType.d.ts +1 -0
- package/dist/modules/user/clientType.d.ts.map +1 -0
- package/dist/modules/user/clientType.js +38 -0
- package/dist/modules/user/clientType.js.map +1 -0
- package/dist/modules/user/clients.d.ts +1 -0
- package/dist/modules/user/clients.d.ts.map +1 -0
- package/dist/modules/user/clients.js +52 -0
- package/dist/modules/user/clients.js.map +1 -0
- package/dist/modules/user/commissioner.d.ts +1 -0
- package/dist/modules/user/commissioner.d.ts.map +1 -0
- package/dist/modules/user/commissioner.js +44 -0
- package/dist/modules/user/commissioner.js.map +1 -0
- package/dist/modules/user/country.d.ts +1 -0
- package/dist/modules/user/country.d.ts.map +1 -0
- package/dist/modules/user/country.js +44 -0
- package/dist/modules/user/country.js.map +1 -0
- package/dist/modules/user/deliveryMethods.d.ts +1 -0
- package/dist/modules/user/deliveryMethods.d.ts.map +1 -0
- package/dist/modules/user/deliveryMethods.js +34 -0
- package/dist/modules/user/deliveryMethods.js.map +1 -0
- package/dist/modules/user/favorites.d.ts +1 -0
- package/dist/modules/user/favorites.d.ts.map +1 -0
- package/dist/modules/user/favorites.js +24 -0
- package/dist/modules/user/favorites.js.map +1 -0
- package/dist/modules/user/groupPermission.d.ts +1 -0
- package/dist/modules/user/groupPermission.d.ts.map +1 -0
- package/dist/modules/user/groupPermission.js +26 -0
- package/dist/modules/user/groupPermission.js.map +1 -0
- package/dist/modules/user/language.d.ts +1 -0
- package/dist/modules/user/language.d.ts.map +1 -0
- package/dist/modules/user/language.js +38 -0
- package/dist/modules/user/language.js.map +1 -0
- package/dist/modules/user/logout.d.ts +1 -0
- package/dist/modules/user/logout.d.ts.map +1 -0
- package/dist/modules/user/logout.js +11 -0
- package/dist/modules/user/logout.js.map +1 -0
- package/dist/modules/user/maturityDates.d.ts +1 -0
- package/dist/modules/user/maturityDates.d.ts.map +1 -0
- package/dist/modules/user/maturityDates.js +34 -0
- package/dist/modules/user/maturityDates.js.map +1 -0
- package/dist/modules/user/password.d.ts +1 -0
- package/dist/modules/user/password.d.ts.map +1 -0
- package/dist/modules/user/password.js +14 -0
- package/dist/modules/user/password.js.map +1 -0
- package/dist/modules/user/paymentMethods.d.ts +1 -0
- package/dist/modules/user/paymentMethods.d.ts.map +1 -0
- package/dist/modules/user/paymentMethods.js +34 -0
- package/dist/modules/user/paymentMethods.js.map +1 -0
- package/dist/modules/user/permission.d.ts +1 -0
- package/dist/modules/user/permission.d.ts.map +1 -0
- package/dist/modules/user/permission.js +26 -0
- package/dist/modules/user/permission.js.map +1 -0
- package/dist/modules/user/persona.d.ts +1 -0
- package/dist/modules/user/persona.d.ts.map +1 -0
- package/dist/modules/user/persona.js +52 -0
- package/dist/modules/user/persona.js.map +1 -0
- package/dist/modules/user/provider.d.ts +1 -0
- package/dist/modules/user/provider.d.ts.map +1 -0
- package/dist/modules/user/provider.js +54 -0
- package/dist/modules/user/provider.js.map +1 -0
- package/dist/modules/user/providerType.d.ts +1 -0
- package/dist/modules/user/providerType.d.ts.map +1 -0
- package/dist/modules/user/providerType.js +38 -0
- package/dist/modules/user/providerType.js.map +1 -0
- package/dist/modules/user/purchaseCondition.d.ts +1 -0
- package/dist/modules/user/purchaseCondition.d.ts.map +1 -0
- package/dist/modules/user/purchaseCondition.js +38 -0
- package/dist/modules/user/purchaseCondition.js.map +1 -0
- package/dist/modules/user/reasonForExemption.d.ts +1 -0
- package/dist/modules/user/reasonForExemption.d.ts.map +1 -0
- package/dist/modules/user/reasonForExemption.js +38 -0
- package/dist/modules/user/reasonForExemption.js.map +1 -0
- package/dist/modules/user/refreshToken.d.ts +1 -0
- package/dist/modules/user/refreshToken.d.ts.map +1 -0
- package/dist/modules/user/refreshToken.js +12 -0
- package/dist/modules/user/refreshToken.js.map +1 -0
- package/dist/modules/user/segmentsArea.d.ts +1 -0
- package/dist/modules/user/segmentsArea.d.ts.map +1 -0
- package/dist/modules/user/segmentsArea.js +38 -0
- package/dist/modules/user/segmentsArea.js.map +1 -0
- package/dist/modules/user/sessions.d.ts +1 -0
- package/dist/modules/user/sessions.d.ts.map +1 -0
- package/dist/modules/user/sessions.js +12 -0
- package/dist/modules/user/sessions.js.map +1 -0
- package/dist/modules/user/shippings.d.ts +1 -0
- package/dist/modules/user/shippings.d.ts.map +1 -0
- package/dist/modules/user/shippings.js +38 -0
- package/dist/modules/user/shippings.js.map +1 -0
- package/dist/modules/user/storeOperator.d.ts +1 -0
- package/dist/modules/user/storeOperator.d.ts.map +1 -0
- package/dist/modules/user/storeOperator.js +51 -0
- package/dist/modules/user/storeOperator.js.map +1 -0
- package/dist/modules/user/swift.d.ts +1 -0
- package/dist/modules/user/swift.d.ts.map +1 -0
- package/dist/modules/user/swift.js +38 -0
- package/dist/modules/user/swift.js.map +1 -0
- package/dist/modules/user/tenant.d.ts +1 -0
- package/dist/modules/user/tenant.d.ts.map +1 -0
- package/dist/modules/user/tenant.js +24 -0
- package/dist/modules/user/tenant.js.map +1 -0
- package/dist/modules/user/theme.d.ts +1 -0
- package/dist/modules/user/theme.d.ts.map +1 -0
- package/dist/modules/user/theme.js +11 -0
- package/dist/modules/user/theme.js.map +1 -0
- package/dist/modules/user/user.d.ts +1 -0
- package/dist/modules/user/user.d.ts.map +1 -0
- package/dist/modules/user/user.js +46 -0
- package/dist/modules/user/user.js.map +1 -0
- package/dist/modules/user/userPermission.d.ts +1 -0
- package/dist/modules/user/userPermission.d.ts.map +1 -0
- package/dist/modules/user/userPermission.js +22 -0
- package/dist/modules/user/userPermission.js.map +1 -0
- package/dist/modules/user/userPositions.d.ts +1 -0
- package/dist/modules/user/userPositions.d.ts.map +1 -0
- package/dist/modules/user/userPositions.js +38 -0
- package/dist/modules/user/userPositions.js.map +1 -0
- package/dist/modules/user/vehicles.d.ts +1 -0
- package/dist/modules/user/vehicles.d.ts.map +1 -0
- package/dist/modules/user/vehicles.js +24 -0
- package/dist/modules/user/vehicles.js.map +1 -0
- package/dist/modules/user/zipCode.d.ts +1 -0
- package/dist/modules/user/zipCode.d.ts.map +1 -0
- package/dist/modules/user/zipCode.js +15 -0
- package/dist/modules/user/zipCode.js.map +1 -0
- package/dist/modules/view/adminPanel.d.ts +1 -0
- package/dist/modules/view/adminPanel.d.ts.map +1 -0
- package/dist/modules/view/adminPanel.js +12 -0
- package/dist/modules/view/adminPanel.js.map +1 -0
- package/dist/modules/view/errorLog.d.ts +1 -0
- package/dist/modules/view/errorLog.d.ts.map +1 -0
- package/dist/modules/view/errorLog.js +11 -0
- package/dist/modules/view/errorLog.js.map +1 -0
- package/eslint.config.mjs +38 -0
- package/package-lock.json +2606 -0
- package/package.json +19 -18
- package/src/index.ts +3 -0
- package/src/main.ts +791 -0
- package/src/modules/document/billOfLading.ts +24 -0
- package/src/modules/document/inventario.ts +23 -0
- package/src/modules/document/materialEntrance.ts +117 -0
- package/src/modules/document/order.ts +88 -0
- package/src/modules/document/productionOrder.ts +23 -0
- package/src/modules/document/proforma.ts +22 -0
- package/src/modules/document/propostaFornecedor.ts +24 -0
- package/src/modules/document/propostaSheets.ts +102 -0
- package/src/modules/document/providerCreditNoteFromReturn.ts +32 -0
- package/src/modules/document/providerFinancialCreditNote.ts +32 -0
- package/src/modules/document/providerServiceInvoice.ts +23 -0
- package/src/modules/document/purchase.ts +48 -0
- package/src/modules/document/quebra.ts +47 -0
- package/src/modules/document/returnToProvider.ts +43 -0
- package/src/modules/document/transformado.ts +26 -0
- package/src/modules/document/upfrontReturn.ts +24 -0
- package/src/modules/documentManagement/multimedia.ts +41 -0
- package/src/modules/integration/emailLog.ts +47 -0
- package/src/modules/integration/emailTemplate.ts +50 -0
- package/src/modules/integration/emailTemplateAttachment.ts +30 -0
- package/src/modules/integration/emailVerification.ts +34 -0
- package/src/modules/integration/googleFilePermission.ts +40 -0
- package/src/modules/integration/googleSheets.ts +56 -0
- package/src/modules/integration/observation.ts +57 -0
- package/src/modules/integration/observationType.ts +55 -0
- package/src/modules/integration/projectInfo.ts +23 -0
- package/src/modules/integration/settings.ts +49 -0
- package/src/modules/print/npc.ts +43 -0
- package/src/modules/print/printer.ts +52 -0
- package/src/modules/print/schedulePrintJob.ts +45 -0
- package/src/modules/stock/chat.ts +54 -0
- package/src/modules/stock/chatRapidMessage.ts +48 -0
- package/src/modules/stock/dashboard.ts +24 -0
- package/src/modules/stock/file.ts +45 -0
- package/src/modules/stock/location.ts +80 -0
- package/src/modules/stock/prison.ts +61 -0
- package/src/modules/stock/productGoogleSheets.ts +176 -0
- package/src/modules/stock/productImage.ts +78 -0
- package/src/modules/stock/promotion.ts +114 -0
- package/src/modules/stock/promotionAssoc.ts +75 -0
- package/src/modules/stock/queryList.ts +83 -0
- package/src/modules/stock/queryParameter.ts +63 -0
- package/src/modules/stock/recurrentTasks.ts +25 -0
- package/src/modules/stock/returnReason.ts +46 -0
- package/src/modules/stock/savedEmPicking.ts +35 -0
- package/src/modules/stock/savedProviderProposal.ts +44 -0
- package/src/modules/stock/schedule.ts +27 -0
- package/src/modules/stock/sideMenu.ts +49 -0
- package/src/modules/stock/stockMovement.ts +63 -0
- package/src/modules/stock/task.ts +50 -0
- package/src/modules/stock/taskMessage.ts +33 -0
- package/src/modules/stock/taskRead.ts +25 -0
- package/src/modules/stock/typeOfLocation.ts +81 -0
- package/src/modules/stock/unitOfMeasure.ts +81 -0
- package/src/modules/stock/vatTax.ts +81 -0
- package/src/modules/stock/vatTaxZone.ts +83 -0
- package/src/modules/supply/clientCurrentAccount.ts +83 -0
- package/src/modules/supply/documentHeader.ts +221 -0
- package/src/modules/supply/documentLine.ts +87 -0
- package/src/modules/supply/documentLineAssoc.ts +63 -0
- package/src/modules/supply/documentLineMt.ts +28 -0
- package/src/modules/supply/documentLineNote.ts +37 -0
- package/src/modules/supply/documentLineRm.ts +28 -0
- package/src/modules/supply/documentSet.ts +59 -0
- package/src/modules/supply/documentType.ts +74 -0
- package/src/modules/supply/externalDocumentHeader.ts +99 -0
- package/src/modules/supply/externalDocumentType.ts +32 -0
- package/src/modules/supply/orderManagement.ts +35 -0
- package/src/modules/supply/payment.ts +182 -0
- package/src/modules/supply/preSale.ts +86 -0
- package/src/modules/supply/preSaleProduct.ts +29 -0
- package/src/modules/supply/providerCurrentAccount.ts +28 -0
- package/src/modules/supply/startDocumentHeaderLastUpdate.ts +24 -0
- package/src/modules/supply/vatValidation.ts +28 -0
- package/src/modules/supply/workflow.ts +61 -0
- package/src/modules/tickets/channel.ts +55 -0
- package/src/modules/tickets/clt.ts +53 -0
- package/src/modules/tickets/language.ts +53 -0
- package/src/modules/tickets/tickets.ts +49 -0
- package/src/modules/user/bankData.ts +75 -0
- package/src/modules/user/chatSubscriber.ts +53 -0
- package/src/modules/user/clientType.ts +72 -0
- package/src/modules/user/clients.ts +98 -0
- package/src/modules/user/commissioner.ts +85 -0
- package/src/modules/user/country.ts +79 -0
- package/src/modules/user/deliveryMethods.ts +61 -0
- package/src/modules/user/favorites.ts +44 -0
- package/src/modules/user/groupPermission.ts +45 -0
- package/src/modules/user/language.ts +72 -0
- package/src/modules/user/logout.ts +20 -0
- package/src/modules/user/maturityDates.ts +61 -0
- package/src/modules/user/password.ts +29 -0
- package/src/modules/user/paymentMethods.ts +61 -0
- package/src/modules/user/permission.ts +45 -0
- package/src/modules/user/persona.ts +92 -0
- package/src/modules/user/provider.ts +99 -0
- package/src/modules/user/providerType.ts +72 -0
- package/src/modules/user/purchaseCondition.ts +71 -0
- package/src/modules/user/reasonForExemption.ts +72 -0
- package/src/modules/user/refreshToken.ts +25 -0
- package/src/modules/user/segmentsArea.ts +72 -0
- package/src/modules/user/sessions.ts +25 -0
- package/src/modules/user/shippings.ts +71 -0
- package/src/modules/user/storeOperator.ts +99 -0
- package/src/modules/user/swift.ts +71 -0
- package/src/modules/user/tenant.ts +45 -0
- package/src/modules/user/theme.ts +25 -0
- package/src/modules/user/user.ts +93 -0
- package/src/modules/user/userPermission.ts +43 -0
- package/src/modules/user/userPositions.ts +72 -0
- package/src/modules/user/vehicles.ts +46 -0
- package/src/modules/user/zipCode.ts +31 -0
- package/src/modules/view/adminPanel.ts +24 -0
- package/src/modules/view/errorLog.ts +21 -0
- package/tsconfig.json +18 -0
- package/dist/index.min.js +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Nomalism from '@nomalism-com/types';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { IModuleConstructor } from '../../main';
|
|
4
|
+
|
|
5
|
+
export import IEntity = Nomalism.ZipCode.Entity;
|
|
6
|
+
|
|
7
|
+
export import ICreateRequest = Nomalism.ZipCode.ICreateRequest;
|
|
8
|
+
export import IFindByPostalCode = Nomalism.ZipCode.IFindByPostalCode;
|
|
9
|
+
|
|
10
|
+
export default class Repository implements Nomalism.ZipCode.IRepository {
|
|
11
|
+
public route: string;
|
|
12
|
+
|
|
13
|
+
public publicRoute: string;
|
|
14
|
+
|
|
15
|
+
private api: AxiosInstance;
|
|
16
|
+
|
|
17
|
+
constructor({ api, route, publicRoute }: IModuleConstructor) {
|
|
18
|
+
this.api = api;
|
|
19
|
+
this.route = route;
|
|
20
|
+
this.publicRoute = publicRoute;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
async create(body: ICreateRequest[]): Promise<void> {
|
|
24
|
+
await this.api.post(`${this.route}`, body);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
async findByPostalCode(params: IFindByPostalCode): Promise<IEntity[]> {
|
|
28
|
+
const response = await this.api.get(`${this.route}`, { params });
|
|
29
|
+
return response.data;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Nomalism from '@nomalism-com/types';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { IModuleConstructor } from '../../main';
|
|
4
|
+
|
|
5
|
+
export default class Repository implements Nomalism.AdminPanel.IRepository {
|
|
6
|
+
public route: string;
|
|
7
|
+
|
|
8
|
+
public publicRoute: string;
|
|
9
|
+
|
|
10
|
+
private api: AxiosInstance;
|
|
11
|
+
|
|
12
|
+
constructor({ api, route, publicRoute }: IModuleConstructor) {
|
|
13
|
+
this.api = api;
|
|
14
|
+
this.route = route;
|
|
15
|
+
this.publicRoute = publicRoute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
async getData(
|
|
19
|
+
params: Nomalism.AdminPanel.IGetDataRequest,
|
|
20
|
+
): Promise<Nomalism.AdminPanel.IGetDataResponse> {
|
|
21
|
+
const response = await this.api.get(`${this.route}`, { params });
|
|
22
|
+
return response.data;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import Nomalism from '@nomalism-com/types';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { IModuleConstructor } from '../../main';
|
|
4
|
+
|
|
5
|
+
export default class Repository implements Nomalism.ErrorLog.IRepository {
|
|
6
|
+
public route: string;
|
|
7
|
+
|
|
8
|
+
public publicRoute: string;
|
|
9
|
+
|
|
10
|
+
private api: AxiosInstance;
|
|
11
|
+
|
|
12
|
+
constructor({ api, route, publicRoute }: IModuleConstructor) {
|
|
13
|
+
this.api = api;
|
|
14
|
+
this.route = route;
|
|
15
|
+
this.publicRoute = publicRoute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
async create(body: Nomalism.ErrorLog.ICreateRequest): Promise<void> {
|
|
19
|
+
await this.api.post(`${this.route}`, body);
|
|
20
|
+
}
|
|
21
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "./dist",
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"declarationMap": true,
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"target": "ES2020",
|
|
8
|
+
"moduleResolution": "Node",
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"removeComments": false,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"noEmitOnError": true
|
|
15
|
+
},
|
|
16
|
+
"include": ["src"],
|
|
17
|
+
"exclude": ["node_modules", "dist"]
|
|
18
|
+
}
|
package/dist/index.min.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("axios"),require("@nomalism-com/types")):"function"==typeof define&&define.amd?define(["axios","@nomalism-com/types"],e):(t="undefined"!=typeof globalThis?globalThis:t||self)["@nomalism-com/api"]=e(t.axios,t["@nomalism-com/types"])}(this,(function(t,e){"use strict";var n=function(){return n=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},n.apply(this,arguments)};function i(t,e,n,i){return new(n||(n=Promise))((function(r,o){function u(t){try{s(i.next(t))}catch(t){o(t)}}function c(t){try{s(i.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(u,c)}s((i=i.apply(t,e||[])).next())}))}function r(t,e){var n,i,r,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=c(0),u.throw=c(1),u.return=c(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(o=0)),o;)try{if(n=1,i&&(r=2&c[0]?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,i=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==c[0]&&2!==c[0])){o=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(6===c[0]&&o.label<r[1]){o.label=r[1],r=c;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(c);break}r[2]&&o.ops.pop(),o.trys.pop();continue}c=e.call(t,o)}catch(t){c=[6,t],i=0}finally{n=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}"function"==typeof SuppressedError&&SuppressedError;var o,u,c=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),s=Object.freeze({__proto__:null,default:c}),a=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByQuery=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"query"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.createOrUpdate=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"create_or_update"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),h=Object.freeze({__proto__:null,default:a}),p=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),d=Object.freeze({__proto__:null,default:p}),f=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findActiveByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"active"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.resendLast=function(t){return i(this,arguments,void 0,(function(t){var e=t.owner_id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route,"resend_last/").concat(e))];case 1:return t.sent(),[2]}}))}))},t.prototype.markAllAsRead=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"mark_all_as_read/").concat(t.owner_id))];case 1:return e.sent(),[2]}}))}))},t.prototype.markAllAsUnread=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"mark_all_as_unread/").concat(t.owner_id))];case 1:return e.sent(),[2]}}))}))},t}(),l=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),v=Object.freeze({__proto__:null,default:l}),b=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByAlpha2=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"alpha2"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),y=Object.freeze({__proto__:null,default:b}),_=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findStart=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"start/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findStartVirtual=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"start_virtual/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByBasicSearch=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"basic_search"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByType=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_type"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findClientUnpaidCredit=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"unpaid_credit"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findClientUnpaidDebit=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"unpaid_debit"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findUnpaidCommissions=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"unpaid_commissions"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.createFromHeader=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"from_header"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.getActions=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"get_actions/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.transferClientOwnership=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"transfer_client_ownership"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.updateManyWithPersona=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"update_many_with_persona"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.sendClientNotification=function(t,e){return i(this,arguments,void 0,(function(t,e){var n=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route).concat(n,"/send_client_notification"),e)];case 1:return t.sent(),[2]}}))}))},t.prototype.markUnsentClientNotification=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route).concat(e,"/mark_unsent_client_notification"))];case 1:return t.sent(),[2]}}))}))},t.prototype.documentPdf=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route,"document_pdf/").concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.documentPdfStream=function(t,e){return i(this,arguments,void 0,(function(t,e){var n=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"document_pdf/").concat(n),{params:e,responseType:"arraybuffer"})];case 1:return[2,t.sent().data]}}))}))},t.prototype.getDocumentPdfUrl=function(t,e){var n=t.id,i=new URLSearchParams;return(null==e?void 0:e.token)&&i.set("token",e.token),"".concat(this.route,"document_pdf/").concat(n,"?").concat(i.toString())},t.prototype.documentList=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route,"document_list/").concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.getAllRelatedDocumentHeaderIds=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"related/").concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findStartDocumentHeaderSiblings=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"siblings/").concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findRmOpenDocuments=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"rm_open_documents"))];case 1:return[2,t.sent().data]}}))}))},t}(),w=Object.freeze({__proto__:null,default:_}),m=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"bill_of_lading"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),g=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.createProductionOrder=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"production_order"),t)];case 1:return e.sent(),[2]}}))}))},t}(),R=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"pro_forma"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),O=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.createProviderProposal=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"provider_proposal"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),P=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findProviderReturn=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"provider_return"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.createProviderCreditNoteFromReturn=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"provider_credit_note_from_return"),t)];case 1:return e.sent(),[2]}}))}))},t}(),k=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findProviderInvoice=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"provider_invoice"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.createProviderFinancialCreditNote=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"provider_financial_credit_note"),t)];case 1:return e.sent(),[2]}}))}))},t}(),S=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.createProviderServiceInvoice=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"provider_service_invoice"),t)];case 1:return e.sent(),[2]}}))}))},t}(),I=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.updateIndexes=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"update_indexes"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.updateData=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"update_data"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.updateMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"update_many"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.updateManyByDocumentHeader=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.post("".concat(this.route,"update_many_by_document_header_id"),e,{params:t})];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route),{data:t})];case 1:return e.sent(),[2]}}))}))},t.prototype.printLabelToPdfUrl=function(t,e){var n=t.document_line_ids,i=new URLSearchParams;return i.set("token",e),"".concat(this.route,"print_label_pdf/").concat(n,"?").concat(i.toString())},t.prototype.printGroupLabelToPdfUrl=function(t,e){var n=t.document_line_ids,i=new URLSearchParams;return i.set("token",e),"".concat(this.route,"print_group_label_pdf/").concat(n,"?").concat(i.toString())},t}(),B=Object.freeze({__proto__:null,default:I}),j=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findVirtualsByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"virtuals_by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findHistoryByLineId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"history_by_line_id"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t}(),z=Object.freeze({__proto__:null,default:j}),M=e.DocumentType.DocumentTypeUserTypeEnum,E=e.DocumentType.documentTypeUserTypes,C=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findDetailed=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"detailed"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),T=Object.freeze({__proto__:null,DocumentTypeUserTypeEnum:M,default:C,documentTypeUserTypes:E}),L=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByUrl=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.list=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"list"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),D=Object.freeze({__proto__:null,default:L}),x=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.publicRoute),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,arguments,void 0,(function(t,e){var n=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.put("".concat(this.publicRoute).concat(n),e)];case 1:return t.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),U=Object.freeze({__proto__:null,default:x}),A=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.clone=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.get("".concat(this.route,"clone/").concat(t.id),{params:e})];case 1:return[2,n.sent().data]}}))}))},t.prototype.export=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"export"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.getData=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t}(),F=Object.freeze({__proto__:null,default:A}),V=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),H=Object.freeze({__proto__:null,default:V}),N=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Q=Object.freeze({__proto__:null,default:N}),q=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),G=Object.freeze({__proto__:null,default:q}),W=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.logout=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route))];case 1:return t.sent(),[2]}}))}))},t}(),J=Object.freeze({__proto__:null,default:W}),Z=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.getUrl=function(t,e){void 0===e&&(e=!1);var n=new URLSearchParams;return e&&n.set("download",e.toString()),"".concat(this.publicRoute).concat(t,"?").concat(n.toString())},t.prototype.create=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(i){switch(i.label){case 0:return[4,this.api.post("".concat(this.publicRoute,"upload"),t,{headers:n(n({},e||{}),{"content-type":"multipart/form-data"}),maxBodyLength:1/0,maxContentLength:1/0})];case 1:return[2,i.sent().data]}}))}))},t}(),K=Object.freeze({__proto__:null,default:Z}),X=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerIds=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"by_owners"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Y=Object.freeze({__proto__:null,default:X}),$=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),tt=Object.freeze({__proto__:null,default:$}),et=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.forgotPassword=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.publicRoute,"forgot"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.resetPassword=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.publicRoute,"reset"),t)];case 1:return e.sent(),[2]}}))}))},t}(),nt=Object.freeze({__proto__:null,default:et}),it=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),rt=Object.freeze({__proto__:null,default:it}),ot=e.ProductImage.ImageTypeEnum,ut=e.ProductImage.imageTypes,ct=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),st=Object.freeze({__proto__:null,ImageTypeEnum:ot,default:ct,imageTypes:ut}),at=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.getBestDiscount=function(t,e,n,i,r){var o=t.filter((function(t){var e=!t.exclusive_to_location_id||t.exclusive_to_location_id===n,r=!t.exclusive_to_client_id||t.exclusive_to_client_id===i;return e&&r})).reduce((function(t,e){return e.discount>t?e.discount:t}),0),u=r?0:e||0;return o>u?o:u},t}(),ht=Object.freeze({__proto__:null,default:at}),pt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),dt=Object.freeze({__proto__:null,default:pt}),ft=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByQuery=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"query"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinifiedManufacturer=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified_manufacturer"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),lt=Object.freeze({__proto__:null,default:ft}),vt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),bt=Object.freeze({__proto__:null,default:vt}),yt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),_t=Object.freeze({__proto__:null,default:yt}),wt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),mt=Object.freeze({__proto__:null,default:wt}),gt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.publicRoute),t)];case 1:return[2,e.sent().data]}}))}))},t}(),Rt=Object.freeze({__proto__:null,default:gt}),Ot=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Pt=Object.freeze({__proto__:null,default:Ot}),kt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.publicRoute),t)];case 1:return[2,e.sent().data]}}))}))},t}(),St=Object.freeze({__proto__:null,default:kt}),It=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Bt=Object.freeze({__proto__:null,default:It}),jt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.checkPin=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"pin"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.updateStoreOperator=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route,"store_operator").concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t}(),zt=Object.freeze({__proto__:null,default:jt}),Mt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Et=Object.freeze({__proto__:null,default:Mt}),Ct=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Tt=Object.freeze({__proto__:null,default:Ct}),Lt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Dt=Object.freeze({__proto__:null,default:Lt}),xt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Ut=Object.freeze({__proto__:null,default:xt}),At=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Ft=Object.freeze({__proto__:null,default:At}),Vt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findProvidersWithClientId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"providers"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findFromClientOrProviderId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"from_client_or_provider_id"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),Ht=Object.freeze({__proto__:null,default:Vt}),Nt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Qt=Object.freeze({__proto__:null,default:Nt}),qt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Gt=Object.freeze({__proto__:null,default:qt}),Wt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Jt=Object.freeze({__proto__:null,default:Wt}),Zt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Kt=Object.freeze({__proto__:null,default:Zt}),Xt=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Yt=Object.freeze({__proto__:null,default:Xt}),$t=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),te=Object.freeze({__proto__:null,default:$t}),ee=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),ne=Object.freeze({__proto__:null,default:ee}),ie=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),re=Object.freeze({__proto__:null,default:ie}),oe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),ue=Object.freeze({__proto__:null,default:oe}),ce=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteBatch=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route,"delete_batch").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findCurrentAccountByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"current_account"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findBalanceByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"balance"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findSettledMaterialEntrance=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"settled_material_entrance"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findSettledMaterialEntranceProviders=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"settled_material_entrance_providers"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.createProvidersPayments=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"provider"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaymentsNotExported=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"not_exported"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaymentBatches=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"batches"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.updateDownloadedBatchNumber=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"downloaded_batch_number/").concat(t))];case 1:return e.sent(),[2]}}))}))},t.prototype.exportCurrentAccount=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.publicRoute,"export_current_account"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findSettledMaterialEntranceByDate=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"settled_material_entrance_by_date"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.exportPayments=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"export_payments"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.getExportCurrentAccountUrl=function(t){var e=t.owner_id,n=t.start_date,i=t.end_date,r=t.output,o=t.token,u=new URLSearchParams;return u.set("owner_id",e),u.set("output",r),n&&u.set("start_date",n.toISOString()),i&&u.set("end_date",i.toISOString()),u.set("token",o),"".concat(this.publicRoute,"export_current_account?").concat(u.toString())},t.prototype.findCurrentAccountPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"current_account_paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),se=Object.freeze({__proto__:null,default:ce}),ae=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.publicFindByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"public_by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.sendEmailDocument=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"sendEmail"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.createDocumentHeaderNote=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"public_document_header_note"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.updateDocumentHeaderNote=function(t,e){return i(this,arguments,void 0,(function(t,e){var n=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.put("".concat(this.route,"public_document_header_note/").concat(n),e)];case 1:return[2,t.sent().data]}}))}))},t}(),he=Object.freeze({__proto__:null,default:ae}),pe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findFaturaPorPagar=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"fatura_por_pagar"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.pagarFatura=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"pagar_fatura"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.findFaturaParaDevolver=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"fatura_para_devolver"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.devolver=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"devolver"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.findByBasicSearch=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"basic_search"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.regularizarMultiplosDocumentos=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"multiple_documents"),{data:t})];case 1:return e.sent(),[2]}}))}))},t}(),de=Object.freeze({__proto__:null,default:pe}),fe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),le=Object.freeze({__proto__:null,default:fe}),ve=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByLatest=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:{nif:t}})];case 1:return[2,e.sent().data]}}))}))},t}(),be=Object.freeze({__proto__:null,default:ve}),ye=e.StockMovement.ExportFormatEnum,_e=e.StockMovement.exportFormats,we=e.StockMovement.ExportVersionEnum,me=e.StockMovement.exportVersions,ge=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByProvider=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route).concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.exportCsv=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"csv"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.getStockCsvUrl=function(t){var e=t.date,n=t.version,i=t.format,r=t.token,o=new URLSearchParams;return o.set("date",e.toISOString()),o.set("version",n),o.set("format",i),o.set("token",r),"".concat(this.publicRoute,"csv?").concat(o.toString())},t.prototype.findStockMovementPaginated=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"stock_movement_paginated"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),Re=Object.freeze({__proto__:null,ExportFormatEnum:ye,ExportVersionEnum:we,default:ge,exportFormats:_e,exportVersions:me}),Oe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.findByPostalCode=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),Pe=Object.freeze({__proto__:null,default:Oe}),ke=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t}(),Se=Object.freeze({__proto__:null,default:ke}),Ie=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_user/").concat(t.created_by))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPending=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"pending"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.updatePreSaleQuantity=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id,"/quantity"),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.removeProduct=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route,"product/").concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.importToClientProposal=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"client_proposal"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),Be=Object.freeze({__proto__:null,default:Ie}),je=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),ze=Object.freeze({__proto__:null,default:je}),Me=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findProviderProducts=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"provider_products"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findAllProviderProducts=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"all_provider_products"))];case 1:return[2,t.sent().data]}}))}))},t}(),Ee=Object.freeze({__proto__:null,default:Me}),Ce=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.findPrintJobsForComputerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"find_print_jobs_for_computer_id/").concat(t.computer_id))];case 1:return[2,e.sent().data]}}))}))},t}(),Te=Object.freeze({__proto__:null,default:Ce}),Le=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.updateMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"update_many"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.getOrSetPrinters=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"get_or_set_printers"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),De=Object.freeze({__proto__:null,default:Le}),xe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.createMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"many"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.dispatchSchedulePrintJob=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"dispatch_schedule_print_job"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwner=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),Ue=Object.freeze({__proto__:null,default:xe}),Ae=e.QueryList.executeOutput,Fe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.execute=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"execute"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.getQueryExecuteUrl=function(t){var e=t.query_id,n=t.output,i=t.token,r=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}(t,["query_id","output","token"]),o=new URLSearchParams;return o.set("query_id",e),o.set("output",n),i&&o.set("token",i),Object.entries(r).forEach((function(t){var e=t[0],n=t[1];null!=n&&o.set(e,n.toString())})),"".concat(this.route,"execute?").concat(o.toString())},t}(),Ve=Object.freeze({__proto__:null,default:Fe,executeOutput:Ae}),He=e.QueryParameter.QueryParameterDatatypeEnum,Ne=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),Qe=Object.freeze({__proto__:null,QueryParameterDatatypeEnum:He,default:Ne}),qe=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),Ge=Object.freeze({__proto__:null,default:qe}),We=e.PropostaSheets.IConflictEnum,Je=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.isProcessing=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"is_processing"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.importFromSheet=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"import_from_sheet"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.createSheetFromDocument=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"create_sheet_from_document"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.cloneSheetsToNewDocument=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"clone_sheet_to_new_document"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.conflictAccept=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"conflict_accept"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.conflictDelete=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route,"conflict_delete"),{data:t})];case 1:return e.sent(),[2]}}))}))},t.prototype.conflictFindByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"conflict_find_by_owner_id"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.rmGetDataBySheetId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"rm_data_by_sheet_id/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.rmUpdateDataBySheetId=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.post("".concat(this.route,"rm_data_by_sheet_id/").concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t}(),Ze=Object.freeze({__proto__:null,IConflictEnum:We,default:Je}),Ke=(o=e.Schedule).ScheduleTypeEnum,Xe=o.scheduleTypes,Ye=o.ScheduleTypeLabel,$e=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.runImmediately=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route).concat(t.scheduleType))];case 1:return e.sent(),[2]}}))}))},t}(),tn=Object.freeze({__proto__:null,ScheduleTypeEnum:Ke,ScheduleTypeLabel:Ye,default:$e,scheduleTypes:Xe}),en=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),nn=Object.freeze({__proto__:null,default:en}),rn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByKey=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.publicRoute,"by_key"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t}(),on=Object.freeze({__proto__:null,default:rn}),un=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findToday=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"find_today"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.update=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.undoLastCall=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.put("".concat(this.route,"undo_last_call"))];case 1:return[2,t.sent().data]}}))}))},t}(),cn=Object.freeze({__proto__:null,default:un}),sn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t))];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.post("".concat(this.route).concat(t),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t))];case 1:return e.sent(),[2]}}))}))},t}(),an=Object.freeze({__proto__:null,default:sn}),hn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t))];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.post("".concat(this.route).concat(t),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t))];case 1:return e.sent(),[2]}}))}))},t}(),pn=Object.freeze({__proto__:null,default:hn}),dn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findMinified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"minified"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t))];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.post("".concat(this.route).concat(t),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t))];case 1:return e.sent(),[2]}}))}))},t}(),fn=Object.freeze({__proto__:null,default:dn}),ln=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),vn=Object.freeze({__proto__:null,default:ln}),bn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findContactPersonaByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"contact"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByBasic=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"basic_search"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{data:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByEmail=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_email"),{data:t})];case 1:return[2,e.sent().data]}}))}))},t}(),yn=Object.freeze({__proto__:null,default:bn}),_n=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.sendEmail=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"sendEmail"),t)];case 1:return e.sent(),[2]}}))}))},t}(),wn=Object.freeze({__proto__:null,default:_n}),mn=(u=e.Order).ConferirEncomendaClienteOptionsEnum,gn=u.conferirEncomendaClienteOptions,Rn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.unsetCativado=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"unset_cativado"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findStockToOrder=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"check_lines_to_order"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findProvidersWithStockToOrder=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"stock_order_provider"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.undoEncomendaVA=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"undo_encomenda_va"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.setProvider=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"set_provider"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.unsetProvider=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route).concat(e,"/unset_provider"))];case 1:return t.sent(),[2]}}))}))},t.prototype.undoEncomendaStock=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"undo_encomenda_stock"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.undoProviderOrder=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"undo_provider_order"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.conferirEncomendaCliente=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"check_client_order"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),On=Object.freeze({__proto__:null,ConferirEncomendaClienteOptionsEnum:mn,conferirEncomendaClienteOptions:gn,default:Rn}),Pn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.purchaseFromProvider=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"purchase_from_provider"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.findUnpaidMaterialEntrance=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"unpaid_material_entrance"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findUnpaidMaterialEntranceProviders=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"unpaid_material_entrance_providers"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.sync=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"sync"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),kn=Object.freeze({__proto__:null,default:Pn}),Sn=e.MaterialEntrance.ICreateMaterialEntranceClientOrderOptionEnum,In=e.MaterialEntrance.createMaterialEntranceClientOrderOptions,Bn=e.MaterialEntrance.ICreateMaterialEntranceStockOptionEnum,jn=e.MaterialEntrance.createMaterialEntranceStockOptions,zn=e.MaterialEntrance.ICreateMaterialEntranceStockWithoutOrderOptionEnum,Mn=e.MaterialEntrance.createMaterialEntranceStockWithoutOrderOptions,En=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findMaterialEntranceProviders=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"material_entrance_providers"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findUnfinishedPickings=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"unfinished_pickings/").concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.finalizarEntradaMaterial=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"finalize_material_entrance"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.undoEntradaMaterial=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"undo_material_entrance"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.printLabelToPdfUrl=function(t,e,n){var i=t.product_id,r=e.quantity,o=e.ef_name,u=e.pc_document_number,c=e.prison,s=e.note,a=new URLSearchParams;return a.set("ef_name",o),a.set("quantity",r.toString()),u&&a.set("pc_document_number",u.toString()),s&&a.set("note",s.toString()),a.set("prison",c.toString()),a.set("token",n),"".concat(this.publicRoute,"print_label_pdf/").concat(i,"?").concat(a.toString())},t.prototype.printBulkLabelToPdfUrl=function(t){var e=t.groupLabel,n=t.saved_em_picking_ids,i=t.token,r=new URLSearchParams;return r.set("groupLabel",e.toString()),r.set("saved_em_picking_ids",n),r.set("token",i),"".concat(this.publicRoute,"print_bulk_label_pdf?").concat(r.toString())},t}(),Cn=Object.freeze({__proto__:null,ICreateMaterialEntranceClientOrderOptionEnum:Sn,ICreateMaterialEntranceStockOptionEnum:Bn,ICreateMaterialEntranceStockWithoutOrderOptionEnum:zn,createMaterialEntranceClientOrderOptions:In,createMaterialEntranceStockOptions:jn,createMaterialEntranceStockWithoutOrderOptions:Mn,default:En}),Tn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t}(),Ln=Object.freeze({__proto__:null,default:Tn}),Dn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.post("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t}(),xn=Object.freeze({__proto__:null,default:Dn}),Un=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.createMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"many"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.deleteMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"delete_many"),t)];case 1:return e.sent(),[2]}}))}))},t}(),An=Object.freeze({__proto__:null,default:Un}),Fn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.send=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"send"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),Vn=Object.freeze({__proto__:null,default:Fn}),Hn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t}(),Nn=Object.freeze({__proto__:null,default:Hn}),Qn=e.Prison.checkLineInPrisonOptions,qn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.putLineInPrison=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"put_in_prison"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.removeLineFromPrison=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"remove_from_prison"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findLinesInPrison=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"in_prison"),{})];case 1:return[2,t.sent().data]}}))}))},t.prototype.findLinesInPrisonProviders=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"in_prison_providers"),{})];case 1:return[2,t.sent().data]}}))}))},t.prototype.checkLinesInPrison=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"check_in_prison"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.createLinesInPrison=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"create_lines"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),Gn=Object.freeze({__proto__:null,checkLineInPrisonOptions:Qn,default:qn}),Wn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findInventoryLosses=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findInventoryLossesProviders=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"providers"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.createMany=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"create_many"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteInventoryLosses=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route,"inventory_loss"),{data:t})];case 1:return e.sent(),[2]}}))}))},t}(),Jn=Object.freeze({__proto__:null,default:Wn}),Zn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.createInventory=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t}(),Kn=Object.freeze({__proto__:null,default:Zn}),Xn=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findLinesToReturn=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"lines_to_return"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findLinesToReturnProviders=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"lines_to_return_providers"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.checkLinesToReturn=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"check_to_return"),t)];case 1:return e.sent(),[2]}}))}))},t}(),Yn=Object.freeze({__proto__:null,default:Xn}),$n=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.isVerified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.sendVerificationEmail=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.markAsVerified=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.publicRoute),t)];case 1:return[2,e.sent().data]}}))}))},t}(),ti=Object.freeze({__proto__:null,default:$n}),ei=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route).concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findByDocumentHeaderId=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"document_header/").concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.checkSent=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"check_sent"),t)];case 1:return[2,e.sent().data]}}))}))},t}(),ni=Object.freeze({__proto__:null,default:ei}),ii=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),ri=Object.freeze({__proto__:null,default:ii}),oi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByProviderId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t}(),ui=Object.freeze({__proto__:null,default:oi}),ci=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.basicSearch=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"basic_search"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findReferenceAndIdForMobile=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"reference_and_id_mobile"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findDataForMobile=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"data_mobile/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findStockForMobile=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"stock_mobile/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findPreArtigo=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"pre_artigo"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.updatePricesFromPreArtigo=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"update_prices_from_pre_artigo"))];case 1:return t.sent(),[2]}}))}))},t.prototype.validateByRef=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"validate_by_ref"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findSimilarProductsByName=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"similar_products"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByProductType=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_product_type"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route).concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findByIdWithStock=function(t){return i(this,arguments,void 0,(function(t){var e=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route).concat(e,"/with_stock"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.updateGoogleSheetsLinesProduct=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route,"update_google_sheets_lines_product"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.googleSheetsFieldsByRef=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"google_sheets_fields_by_ref/").concat(t.reference))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findRowPositionOnSheetsWithColumns=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"sheet_row_and_columns/").concat(t.selector))];case 1:return[2,e.sent().data]}}))}))},t.prototype.checkStockByIds=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"check_stock_by_ids"),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,arguments,void 0,(function(t,e){var n=t.id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.put("".concat(this.route).concat(n),e)];case 1:return t.sent(),[2]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.printLabelToPdfUrl=function(t,e){var n=t.id,i=new URLSearchParams;return i.set("token",e),"".concat(this.publicRoute,"print_label_pdf/").concat(n,"?").concat(i.toString())},t.prototype.printLabelToPdfBulk=function(t,e){var n=new URLSearchParams;return n.set("token",e),n.set("ids",t.join(",")),"".concat(this.publicRoute,"print_label_pdf/bulk?").concat(n.toString())},t.prototype.updateDbFromSheets=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.post("".concat(this.route,"update_db_from_sheets"))];case 1:return t.sent(),[2]}}))}))},t.prototype.partialLocation=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"partial_location"),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.fullLocation=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"full_location"),t)];case 1:return e.sent(),[2]}}))}))},t}(),si=Object.freeze({__proto__:null,default:ci}),ai=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.find=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){return[2,this.api.get("".concat(this.route).concat(t))]}))}))},t.prototype.findWithMessages=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){return[2,this.api.get("".concat(this.route,"with_messages"),{params:t})]}))}))},t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.delete=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route,"by_owner/").concat(t.owner_id))];case 1:return[2,e.sent().data]}}))}))},t}(),hi=Object.freeze({__proto__:null,default:ai}),pi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.id),e)];case 1:return n.sent(),[2]}}))}))},t.prototype.delete=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t}(),di=Object.freeze({__proto__:null,default:pi}),fi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.from_master=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){return[2,this.api.post("".concat(this.route,"from_master"))]}))}))},t.prototype.from_master_checked=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){return[2,this.api.post("".concat(this.route,"from_master"))]}))}))},t}(),li=Object.freeze({__proto__:null,default:fi}),vi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t.prototype.delete=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route),{data:t})];case 1:return e.sent(),[2]}}))}))},t}(),bi=Object.freeze({__proto__:null,default:vi}),yi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.createOrUpdate=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t}(),_i=Object.freeze({__proto__:null,default:yi}),wi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByDate=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.date))];case 1:return[2,e.sent().data]}}))}))},t}(),mi=Object.freeze({__proto__:null,default:wi}),gi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findMinified=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findById=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route).concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.update=function(t,e){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.api.put("".concat(this.route).concat(t.date),e)];case 1:return[2,n.sent().data]}}))}))},t.prototype.delete=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.delete("".concat(this.route).concat(t.id))];case 1:return e.sent(),[2]}}))}))},t}(),Ri=Object.freeze({__proto__:null,default:gi}),Oi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findSideMenuStoreOperators=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"side_menu_store_operators"))];case 1:return[2,t.sent().data]}}))}))},t.prototype.findByDocumentLineState=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_document_line_state"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByState=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"find_by_state"),{params:t})];case 1:return[2,e.sent().data]}}))}))},t.prototype.findSideMenuCounters=function(){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route,"counters"))];case 1:return[2,t.sent().data]}}))}))},t}(),Pi=Object.freeze({__proto__:null,default:Oi}),ki=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.create=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t}(),Si=Object.freeze({__proto__:null,default:ki}),Ii=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.getData=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route),{params:t})];case 1:return[2,e.sent().data]}}))}))},t}(),Bi=Object.freeze({__proto__:null,default:Ii}),ji=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,arguments,void 0,(function(t){var e=t.owner_id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route).concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.update=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t}(),zi=Object.freeze({__proto__:null,default:ji}),Mi=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.findByOwnerId=function(t){return i(this,arguments,void 0,(function(t){var e=t.owner_id;return r(this,(function(t){switch(t.label){case 0:return[4,this.api.get("".concat(this.route).concat(e))];case 1:return[2,t.sent().data]}}))}))},t.prototype.update=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.put("".concat(this.route),t)];case 1:return e.sent(),[2]}}))}))},t}(),Ei=Object.freeze({__proto__:null,default:Mi}),Ci=function(){function t(t){var e=t.api,n=t.route,i=t.publicRoute;this.api=e,this.route=n,this.publicRoute=i}return t.prototype.createOrUpdate=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route),t)];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByOwnerId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_owner_id/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByDocumentHeaderId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_document_header_id/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.findByPersonaId=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.get("".concat(this.route,"by_persona_id/").concat(t.id))];case 1:return[2,e.sent().data]}}))}))},t.prototype.deleteOne=function(t){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.api.post("".concat(this.route,"/id/").concat(t))];case 1:return e.sent(),[2]}}))}))},t}(),Ti=Object.freeze({__proto__:null,default:Ci}),Li=function(e){var n=e.processEnvironment,i=e.services,r=e.gatewayUrl,o=e.apikey,u=e.tokenBearer,s=this;this.processEnvironment=n||"localhost";var h=new t.AxiosHeaders;o&&h.set("apikey",o),u&&h.setAuthorization(u),this.client=t.create({baseURL:r,headers:h});var d=function(t){var e=i[t],r="localhost"===n?"/":"".concat(t,"/");return"".concat(e).concat(r)};this.services={stock:d("stock"),users:d("users"),integration:d("integration"),documents:d("documents"),view:d("view"),print:d("print"),tickets:d("tickets")};var v=function(t,e){return{api:s.client,route:"".concat(s.services[t]).concat(e,"/"),publicRoute:"".concat(s.services[t]).concat(e,"/")}};this.BankData=new c(v("users","bank_data")),this.Client=new a(v("users","client")),this.ClientType=new p(v("users","client_type")),this.Chat=new f(v("stock","chat")),this.Commissioner=new l(v("users","commissioner")),this.Country=new b(v("users","country")),this.DocumentHeader=new _(v("stock","document_header")),this.BillOfLading=new m(v("stock","document_header")),this.ProductionOrder=new g(v("stock","document_header")),this.Proforma=new R(v("stock","document_header")),this.PropostaFornecedor=new O(v("stock","document_header")),this.ProviderCreditNoteFromReturn=new P(v("stock","document_header")),this.ProviderFinancialCreditNote=new k(v("stock","document_header")),this.ProviderServiceInvoice=new S(v("stock","document_header")),this.DocumentLine=new I(v("stock","document_line")),this.DocumentLineAssoc=new j(v("stock","document_line_assoc")),this.DocumentType=new C(v("stock","document_type")),this.Favorites=new L(v("users","favorite")),this.File=new x(v("stock","file")),this.GoogleSheets=new A(v("integration","google")),this.GroupPermissions=new V(v("users","group_permission")),this.Language=new N(v("users","language")),this.Location=new q(v("stock","location")),this.Logout=new W(v("users","logout")),this.Multimedia=new Z(v("documents","multimedia")),this.Observation=new X(v("integration","observation")),this.ObservationType=new $(v("integration","observation_type")),this.Password=new et(v("users","password")),this.Permissions=new it(v("users","permission")),this.ProductImage=new ct(v("stock","product_image")),this.Promotion=new at(v("stock","promotion")),this.PromotionAssoc=new pt(v("stock","promotion_assoc")),this.Providers=new ft(v("users","provider")),this.ProviderType=new vt(v("users","provider_type")),this.PurchaseConditions=new yt(v("users","purchase_condition")),this.ReasonForExemption=new wt(v("users","reason_for_exemption")),this.RefreshToken=new gt(v("users","refresh-token")),this.SegmentsArea=new Ot(v("users","segments_area")),this.Sessions=new kt(v("users","sessions")),this.Shippings=new It(v("users","shipping")),this.StoreOperator=new jt(v("users","store_operator")),this.Swift=new Mt(v("users","swift")),this.TypeOfLocation=new Ct(v("stock","type_of_location")),this.UnitOfMeasure=new Lt(v("stock","unit_of_measure")),this.UserPermissions=new xt(v("users","user_permission")),this.UserPositions=new At(v("users","user_position")),this.Users=new Vt(v("users","users")),this.VatTax=new Nt(v("stock","vat_tax")),this.VatTaxZone=new qt(v("stock","vat_tax_zone")),this.Workflow=new Wt(v("stock","workflow")),this.DeliveryMethods=new Zt(v("users","delivery_methods")),this.MaturityDates=new Xt(v("users","maturity_dates")),this.PaymentMethods=new $t(v("users","payment_methods")),this.Vehicles=new ee(v("users","vehicles")),this.ExternalDocumentType=new ie(v("stock","external_document_type")),this.DocumentSet=new oe(v("stock","document_set")),this.Payment=new ce(v("stock","payment")),this.ExternalDocumentHeader=new ae(v("stock","external_document_header")),this.ClientCurrentAccount=new pe(v("stock","client_current_account")),this.ProviderCurrentAccount=new fe(v("stock","provider_current_account")),this.VatValidation=new ve(v("stock","vat_validation")),this.StockMovement=new ge(v("stock","stock_movement")),this.ZipCode=new Oe(v("users","zip_code")),this.Tenant=new ke(v("users","tenant")),this.PreSale=new Ie(v("stock","pre_sale")),this.PreSaleProduct=new je(v("stock","pre_sale_product")),this.OrderManagement=new Me(v("stock","order_management")),this.Npc=new Ce(v("print","npc")),this.Printer=new Le(v("print","printer")),this.SchedulePrintJob=new xe(v("print","schedule_print_job")),this.QueryList=new Fe(v("stock","query")),this.QueryParameter=new Ne(v("stock","query_parameter")),this.ReturnReason=new qe(v("stock","return_reason")),this.PropostaSheets=new Je(v("stock","proposta_sheets")),this.Schedule=new $e(v("stock","schedule")),this.GoogleFilePermission=new en(v("integration","google_file_permission")),this.Settings=new rn(v("integration","settings")),this.Tickets=new un(v("tickets","tickets")),this.Channel=new sn(v("tickets","channel")),this.TicketsLanguage=new hn(v("tickets","tickets_language")),this.Clt=new dn(v("tickets","clt")),this.StartDocumentHeaderLastUpdate=new ln(v("stock","start_document_header_last_update")),this.Persona=new bn(v("users","persona")),this.ProjectInfo=new _n(v("integration","project_info")),this.Order=new Rn(v("stock","order")),this.Purchase=new Pn(v("stock","purchase")),this.MaterialEntrance=new En(v("stock","material_entrance")),this.Transformado=new Tn(v("stock","transformado")),this.UpfrontReturn=new Dn(v("stock","upfront_return")),this.SavedEmPicking=new Un(v("stock","saved_em_picking")),this.EmailTemplate=new Fn(v("integration","email_template")),this.EmailTemplateAttachment=new Hn(v("integration","email_template_attachment")),this.Prison=new qn(v("stock","prison")),this.Quebra=new Wn(v("stock","quebra")),this.Inventario=new Zn(v("stock","inventario")),this.ReturnToProvider=new Xn(v("stock","return_to_provider")),this.EmailVerification=new $n(v("integration","email_verification")),this.EmailLog=new ei(v("integration","email_log")),this.DocumentLineNote=new ii(v("stock","document_line_note")),this.SavedProviderProposal=new oi(v("stock","saved_provider_proposal")),this.ProductGoogleSheets=new ci(v("stock","product_google")),this.Task=new ai(v("stock","task")),this.TaskMessage=new pi(v("stock","task_message")),this.RecurrentTasks=new fi(v("stock","recurrent_tasks")),this.TaskRead=new vi(v("stock","task_read")),this.Theme=new yi(v("users","theme")),this.Dashboard=new wi(v("stock","dashboard")),this.ChatRapidMessage=new gi(v("stock","chat_rapid_message")),this.SideMenu=new Oi(v("stock","side_menu")),this.ErrorLog=new ki(v("view","error_log")),this.AdminPanel=new Ii(v("view","admin_panel")),this.DocumentLineRm=new ji(v("stock","document_line_rm")),this.DocumentLineMt=new Mi(v("stock","document_line_mt")),this.ChatSubscriber=new Ci(v("users","chat_subscriber"))},Di=Object.freeze({__proto__:null,API:Li,AdminPanelClass:Bi,BankData:s,Channel:an,ChatRapidMessageClass:Ri,ChatSubscriberClass:Ti,Client:h,ClientCurrentAccount:de,ClientType:d,Clt:fn,Commissioner:v,Country:y,DashboardClass:mi,DeliveryMethods:Kt,DocumentHeader:w,DocumentLine:B,DocumentLineAssoc:z,DocumentLineMtClass:Ei,DocumentLineNote:ri,DocumentLineRmClass:zi,DocumentSet:ue,DocumentType:T,EmailLog:ni,EmailTemplate:Vn,EmailTemplateAttachment:Nn,EmailVerification:ti,ErrorLogClass:Si,ExternalDocumentHeader:he,ExternalDocumentType:re,Favorites:D,File:U,GoogleFilePermission:nn,GoogleSheets:F,GroupPermissions:H,Inventario:Kn,Language:Q,Location:G,Logout:J,MaterialEntrance:Cn,MaturityDates:Yt,Multimedia:K,Npc:Te,Observation:Y,ObservationType:tt,Order:On,OrderManagement:Ee,Password:nt,Payment:se,PaymentMethods:te,Permissions:rt,Persona:yn,PreSale:Be,PreSaleProduct:ze,Printer:De,Prison:Gn,ProductGoogleSheets:si,ProductImage:st,ProjectInfo:wn,Promotion:ht,PromotionAssoc:dt,PropostaSheets:Ze,ProviderCurrentAccount:le,ProviderType:bt,Providers:lt,Purchase:kn,PurchaseConditions:_t,Quebra:Jn,QueryList:Ve,QueryParameter:Qe,ReasonForExemption:mt,RecurrentTasks:li,RefreshToken:Rt,ReturnReason:Ge,ReturnToProvider:Yn,SavedEmPicking:An,SavedProviderProposal:ui,Schedule:tn,SchedulePrintJob:Ue,SegmentsArea:Pt,Sessions:St,Settings:on,Shippings:Bt,SideMenuClass:Pi,StartDocumentHeaderLastUpdate:vn,StockMovement:Re,StoreOperator:zt,Swift:Et,Task:hi,TaskMessage:di,TaskReadClass:bi,Tenant:Se,ThemeClass:_i,Tickets:cn,TicketsLanguage:pn,Transformado:Ln,TypeOfLocation:Tt,UnitOfMeasure:Dt,UpfrontReturn:xn,UserPermissions:Ut,UserPositions:Ft,Users:Ht,VatTax:Qt,VatTaxZone:Gt,VatValidation:be,Vehicles:ne,Workflow:Jt,ZipCode:Pe});return Object.assign(module.exports,Di),Di}));
|