namirasoft-erp 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NamirasoftErpServer.d.ts +35 -0
- package/dist/NamirasoftErpServer.js +42 -0
- package/dist/NamirasoftErpServer.js.map +1 -0
- package/dist/NamirasoftErpServerAccountPartyType.d.ts +14 -0
- package/dist/NamirasoftErpServerAccountPartyType.js +41 -0
- package/dist/NamirasoftErpServerAccountPartyType.js.map +1 -0
- package/dist/NamirasoftErpServerBase.d.ts +5 -0
- package/dist/NamirasoftErpServerBase.js +11 -0
- package/dist/NamirasoftErpServerBase.js.map +1 -0
- package/dist/NamirasoftErpServerBranch.d.ts +18 -0
- package/dist/NamirasoftErpServerBranch.js +64 -0
- package/dist/NamirasoftErpServerBranch.js.map +1 -0
- package/dist/NamirasoftErpServerCompany.d.ts +18 -0
- package/dist/NamirasoftErpServerCompany.js +64 -0
- package/dist/NamirasoftErpServerCompany.js.map +1 -0
- package/dist/NamirasoftErpServerCurrency.d.ts +18 -0
- package/dist/NamirasoftErpServerCurrency.js +64 -0
- package/dist/NamirasoftErpServerCurrency.js.map +1 -0
- package/dist/NamirasoftErpServerCurrencyExchange.d.ts +18 -0
- package/dist/NamirasoftErpServerCurrencyExchange.js +64 -0
- package/dist/NamirasoftErpServerCurrencyExchange.js.map +1 -0
- package/dist/NamirasoftErpServerERPAccount.d.ts +18 -0
- package/dist/NamirasoftErpServerERPAccount.js +64 -0
- package/dist/NamirasoftErpServerERPAccount.js.map +1 -0
- package/dist/NamirasoftErpServerFiscalYear.d.ts +18 -0
- package/dist/NamirasoftErpServerFiscalYear.js +64 -0
- package/dist/NamirasoftErpServerFiscalYear.js.map +1 -0
- package/dist/NamirasoftErpServerHealth.d.ts +8 -0
- package/dist/NamirasoftErpServerHealth.js +35 -0
- package/dist/NamirasoftErpServerHealth.js.map +1 -0
- package/dist/NamirasoftErpServerHealthz.d.ts +7 -0
- package/dist/NamirasoftErpServerHealthz.js +28 -0
- package/dist/NamirasoftErpServerHealthz.js.map +1 -0
- package/dist/NamirasoftErpServerJournalEntry.d.ts +18 -0
- package/dist/NamirasoftErpServerJournalEntry.js +64 -0
- package/dist/NamirasoftErpServerJournalEntry.js.map +1 -0
- package/dist/NamirasoftErpServerJournalEntryLine.d.ts +14 -0
- package/dist/NamirasoftErpServerJournalEntryLine.js +41 -0
- package/dist/NamirasoftErpServerJournalEntryLine.js.map +1 -0
- package/dist/NamirasoftErpServerMetrics.d.ts +7 -0
- package/dist/NamirasoftErpServerMetrics.js +28 -0
- package/dist/NamirasoftErpServerMetrics.js.map +1 -0
- package/dist/NamirasoftErpServerParty.d.ts +18 -0
- package/dist/NamirasoftErpServerParty.js +64 -0
- package/dist/NamirasoftErpServerParty.js.map +1 -0
- package/dist/NamirasoftErpServerPartyType.d.ts +18 -0
- package/dist/NamirasoftErpServerPartyType.js +64 -0
- package/dist/NamirasoftErpServerPartyType.js.map +1 -0
- package/dist/NamirasoftErpServerValue.d.ts +7 -0
- package/dist/NamirasoftErpServerValue.js +29 -0
- package/dist/NamirasoftErpServerValue.js.map +1 -0
- package/dist/command/AccountPartyTypeCommand.d.ts +4 -0
- package/dist/command/AccountPartyTypeCommand.js +17 -0
- package/dist/command/AccountPartyTypeCommand.js.map +1 -0
- package/dist/command/AccountPartyTypeGetCommand.d.ts +5 -0
- package/dist/command/AccountPartyTypeGetCommand.js +38 -0
- package/dist/command/AccountPartyTypeGetCommand.js.map +1 -0
- package/dist/command/AccountPartyTypeListCommand.d.ts +5 -0
- package/dist/command/AccountPartyTypeListCommand.js +38 -0
- package/dist/command/AccountPartyTypeListCommand.js.map +1 -0
- package/dist/command/BranchCommand.d.ts +4 -0
- package/dist/command/BranchCommand.js +23 -0
- package/dist/command/BranchCommand.js.map +1 -0
- package/dist/command/BranchCreateCommand.d.ts +5 -0
- package/dist/command/BranchCreateCommand.js +94 -0
- package/dist/command/BranchCreateCommand.js.map +1 -0
- package/dist/command/BranchDeleteCommand.d.ts +5 -0
- package/dist/command/BranchDeleteCommand.js +38 -0
- package/dist/command/BranchDeleteCommand.js.map +1 -0
- package/dist/command/BranchGetCommand.d.ts +5 -0
- package/dist/command/BranchGetCommand.js +38 -0
- package/dist/command/BranchGetCommand.js.map +1 -0
- package/dist/command/BranchListCommand.d.ts +5 -0
- package/dist/command/BranchListCommand.js +38 -0
- package/dist/command/BranchListCommand.js.map +1 -0
- package/dist/command/BranchUpdateCommand.d.ts +5 -0
- package/dist/command/BranchUpdateCommand.js +94 -0
- package/dist/command/BranchUpdateCommand.js.map +1 -0
- package/dist/command/CompanyCommand.d.ts +4 -0
- package/dist/command/CompanyCommand.js +23 -0
- package/dist/command/CompanyCommand.js.map +1 -0
- package/dist/command/CompanyCreateCommand.d.ts +5 -0
- package/dist/command/CompanyCreateCommand.js +67 -0
- package/dist/command/CompanyCreateCommand.js.map +1 -0
- package/dist/command/CompanyDeleteCommand.d.ts +5 -0
- package/dist/command/CompanyDeleteCommand.js +38 -0
- package/dist/command/CompanyDeleteCommand.js.map +1 -0
- package/dist/command/CompanyGetCommand.d.ts +5 -0
- package/dist/command/CompanyGetCommand.js +38 -0
- package/dist/command/CompanyGetCommand.js.map +1 -0
- package/dist/command/CompanyListCommand.d.ts +5 -0
- package/dist/command/CompanyListCommand.js +38 -0
- package/dist/command/CompanyListCommand.js.map +1 -0
- package/dist/command/CompanyUpdateCommand.d.ts +5 -0
- package/dist/command/CompanyUpdateCommand.js +67 -0
- package/dist/command/CompanyUpdateCommand.js.map +1 -0
- package/dist/command/CurrencyCommand.d.ts +4 -0
- package/dist/command/CurrencyCommand.js +23 -0
- package/dist/command/CurrencyCommand.js.map +1 -0
- package/dist/command/CurrencyCreateCommand.d.ts +5 -0
- package/dist/command/CurrencyCreateCommand.js +94 -0
- package/dist/command/CurrencyCreateCommand.js.map +1 -0
- package/dist/command/CurrencyDeleteCommand.d.ts +5 -0
- package/dist/command/CurrencyDeleteCommand.js +38 -0
- package/dist/command/CurrencyDeleteCommand.js.map +1 -0
- package/dist/command/CurrencyExchangeCommand.d.ts +4 -0
- package/dist/command/CurrencyExchangeCommand.js +23 -0
- package/dist/command/CurrencyExchangeCommand.js.map +1 -0
- package/dist/command/CurrencyExchangeCreateCommand.d.ts +5 -0
- package/dist/command/CurrencyExchangeCreateCommand.js +76 -0
- package/dist/command/CurrencyExchangeCreateCommand.js.map +1 -0
- package/dist/command/CurrencyExchangeDeleteCommand.d.ts +5 -0
- package/dist/command/CurrencyExchangeDeleteCommand.js +38 -0
- package/dist/command/CurrencyExchangeDeleteCommand.js.map +1 -0
- package/dist/command/CurrencyExchangeGetCommand.d.ts +5 -0
- package/dist/command/CurrencyExchangeGetCommand.js +38 -0
- package/dist/command/CurrencyExchangeGetCommand.js.map +1 -0
- package/dist/command/CurrencyExchangeListCommand.d.ts +5 -0
- package/dist/command/CurrencyExchangeListCommand.js +38 -0
- package/dist/command/CurrencyExchangeListCommand.js.map +1 -0
- package/dist/command/CurrencyExchangeUpdateCommand.d.ts +5 -0
- package/dist/command/CurrencyExchangeUpdateCommand.js +76 -0
- package/dist/command/CurrencyExchangeUpdateCommand.js.map +1 -0
- package/dist/command/CurrencyGetCommand.d.ts +5 -0
- package/dist/command/CurrencyGetCommand.js +38 -0
- package/dist/command/CurrencyGetCommand.js.map +1 -0
- package/dist/command/CurrencyListCommand.d.ts +5 -0
- package/dist/command/CurrencyListCommand.js +38 -0
- package/dist/command/CurrencyListCommand.js.map +1 -0
- package/dist/command/CurrencyUpdateCommand.d.ts +5 -0
- package/dist/command/CurrencyUpdateCommand.js +94 -0
- package/dist/command/CurrencyUpdateCommand.js.map +1 -0
- package/dist/command/ERPAccountCommand.d.ts +4 -0
- package/dist/command/ERPAccountCommand.js +23 -0
- package/dist/command/ERPAccountCommand.js.map +1 -0
- package/dist/command/ERPAccountCreateCommand.d.ts +5 -0
- package/dist/command/ERPAccountCreateCommand.js +112 -0
- package/dist/command/ERPAccountCreateCommand.js.map +1 -0
- package/dist/command/ERPAccountDeleteCommand.d.ts +5 -0
- package/dist/command/ERPAccountDeleteCommand.js +38 -0
- package/dist/command/ERPAccountDeleteCommand.js.map +1 -0
- package/dist/command/ERPAccountGetCommand.d.ts +5 -0
- package/dist/command/ERPAccountGetCommand.js +38 -0
- package/dist/command/ERPAccountGetCommand.js.map +1 -0
- package/dist/command/ERPAccountListCommand.d.ts +5 -0
- package/dist/command/ERPAccountListCommand.js +38 -0
- package/dist/command/ERPAccountListCommand.js.map +1 -0
- package/dist/command/ERPAccountUpdateCommand.d.ts +5 -0
- package/dist/command/ERPAccountUpdateCommand.js +112 -0
- package/dist/command/ERPAccountUpdateCommand.js.map +1 -0
- package/dist/command/FiscalYearCommand.d.ts +4 -0
- package/dist/command/FiscalYearCommand.js +23 -0
- package/dist/command/FiscalYearCommand.js.map +1 -0
- package/dist/command/FiscalYearCreateCommand.d.ts +5 -0
- package/dist/command/FiscalYearCreateCommand.js +94 -0
- package/dist/command/FiscalYearCreateCommand.js.map +1 -0
- package/dist/command/FiscalYearDeleteCommand.d.ts +5 -0
- package/dist/command/FiscalYearDeleteCommand.js +38 -0
- package/dist/command/FiscalYearDeleteCommand.js.map +1 -0
- package/dist/command/FiscalYearGetCommand.d.ts +5 -0
- package/dist/command/FiscalYearGetCommand.js +38 -0
- package/dist/command/FiscalYearGetCommand.js.map +1 -0
- package/dist/command/FiscalYearListCommand.d.ts +5 -0
- package/dist/command/FiscalYearListCommand.js +38 -0
- package/dist/command/FiscalYearListCommand.js.map +1 -0
- package/dist/command/FiscalYearUpdateCommand.d.ts +5 -0
- package/dist/command/FiscalYearUpdateCommand.js +94 -0
- package/dist/command/FiscalYearUpdateCommand.js.map +1 -0
- package/dist/command/HealthCommand.d.ts +4 -0
- package/dist/command/HealthCommand.js +17 -0
- package/dist/command/HealthCommand.js.map +1 -0
- package/dist/command/HealthLivenessCommand.d.ts +5 -0
- package/dist/command/HealthLivenessCommand.js +38 -0
- package/dist/command/HealthLivenessCommand.js.map +1 -0
- package/dist/command/HealthReadinessCommand.d.ts +5 -0
- package/dist/command/HealthReadinessCommand.js +38 -0
- package/dist/command/HealthReadinessCommand.js.map +1 -0
- package/dist/command/HealthzCommand.d.ts +4 -0
- package/dist/command/HealthzCommand.js +15 -0
- package/dist/command/HealthzCommand.js.map +1 -0
- package/dist/command/HealthzGetCommand.d.ts +5 -0
- package/dist/command/HealthzGetCommand.js +38 -0
- package/dist/command/HealthzGetCommand.js.map +1 -0
- package/dist/command/JournalEntryCommand.d.ts +4 -0
- package/dist/command/JournalEntryCommand.js +23 -0
- package/dist/command/JournalEntryCommand.js.map +1 -0
- package/dist/command/JournalEntryCreateCommand.d.ts +5 -0
- package/dist/command/JournalEntryCreateCommand.js +121 -0
- package/dist/command/JournalEntryCreateCommand.js.map +1 -0
- package/dist/command/JournalEntryDeleteCommand.d.ts +5 -0
- package/dist/command/JournalEntryDeleteCommand.js +38 -0
- package/dist/command/JournalEntryDeleteCommand.js.map +1 -0
- package/dist/command/JournalEntryGetCommand.d.ts +5 -0
- package/dist/command/JournalEntryGetCommand.js +38 -0
- package/dist/command/JournalEntryGetCommand.js.map +1 -0
- package/dist/command/JournalEntryLineCommand.d.ts +4 -0
- package/dist/command/JournalEntryLineCommand.js +17 -0
- package/dist/command/JournalEntryLineCommand.js.map +1 -0
- package/dist/command/JournalEntryLineGetCommand.d.ts +5 -0
- package/dist/command/JournalEntryLineGetCommand.js +38 -0
- package/dist/command/JournalEntryLineGetCommand.js.map +1 -0
- package/dist/command/JournalEntryLineListCommand.d.ts +5 -0
- package/dist/command/JournalEntryLineListCommand.js +38 -0
- package/dist/command/JournalEntryLineListCommand.js.map +1 -0
- package/dist/command/JournalEntryListCommand.d.ts +5 -0
- package/dist/command/JournalEntryListCommand.js +38 -0
- package/dist/command/JournalEntryListCommand.js.map +1 -0
- package/dist/command/JournalEntryUpdateCommand.d.ts +5 -0
- package/dist/command/JournalEntryUpdateCommand.js +121 -0
- package/dist/command/JournalEntryUpdateCommand.js.map +1 -0
- package/dist/command/MetricsCommand.d.ts +4 -0
- package/dist/command/MetricsCommand.js +15 -0
- package/dist/command/MetricsCommand.js.map +1 -0
- package/dist/command/MetricsGetCommand.d.ts +5 -0
- package/dist/command/MetricsGetCommand.js +38 -0
- package/dist/command/MetricsGetCommand.js.map +1 -0
- package/dist/command/PartyCommand.d.ts +4 -0
- package/dist/command/PartyCommand.js +23 -0
- package/dist/command/PartyCommand.js.map +1 -0
- package/dist/command/PartyCreateCommand.d.ts +5 -0
- package/dist/command/PartyCreateCommand.js +94 -0
- package/dist/command/PartyCreateCommand.js.map +1 -0
- package/dist/command/PartyDeleteCommand.d.ts +5 -0
- package/dist/command/PartyDeleteCommand.js +38 -0
- package/dist/command/PartyDeleteCommand.js.map +1 -0
- package/dist/command/PartyGetCommand.d.ts +5 -0
- package/dist/command/PartyGetCommand.js +38 -0
- package/dist/command/PartyGetCommand.js.map +1 -0
- package/dist/command/PartyListCommand.d.ts +5 -0
- package/dist/command/PartyListCommand.js +38 -0
- package/dist/command/PartyListCommand.js.map +1 -0
- package/dist/command/PartyTypeCommand.d.ts +4 -0
- package/dist/command/PartyTypeCommand.js +23 -0
- package/dist/command/PartyTypeCommand.js.map +1 -0
- package/dist/command/PartyTypeCreateCommand.d.ts +5 -0
- package/dist/command/PartyTypeCreateCommand.js +85 -0
- package/dist/command/PartyTypeCreateCommand.js.map +1 -0
- package/dist/command/PartyTypeDeleteCommand.d.ts +5 -0
- package/dist/command/PartyTypeDeleteCommand.js +38 -0
- package/dist/command/PartyTypeDeleteCommand.js.map +1 -0
- package/dist/command/PartyTypeGetCommand.d.ts +5 -0
- package/dist/command/PartyTypeGetCommand.js +38 -0
- package/dist/command/PartyTypeGetCommand.js.map +1 -0
- package/dist/command/PartyTypeListCommand.d.ts +5 -0
- package/dist/command/PartyTypeListCommand.js +38 -0
- package/dist/command/PartyTypeListCommand.js.map +1 -0
- package/dist/command/PartyTypeUpdateCommand.d.ts +5 -0
- package/dist/command/PartyTypeUpdateCommand.js +85 -0
- package/dist/command/PartyTypeUpdateCommand.js.map +1 -0
- package/dist/command/PartyUpdateCommand.d.ts +5 -0
- package/dist/command/PartyUpdateCommand.js +94 -0
- package/dist/command/PartyUpdateCommand.js.map +1 -0
- package/dist/command/ValueCommand.d.ts +4 -0
- package/dist/command/ValueCommand.js +15 -0
- package/dist/command/ValueCommand.js.map +1 -0
- package/dist/command/ValueListCommand.d.ts +5 -0
- package/dist/command/ValueListCommand.js +38 -0
- package/dist/command/ValueListCommand.js.map +1 -0
- package/dist/command/cli.d.ts +2 -0
- package/dist/command/cli.js +42 -0
- package/dist/command/cli.js.map +1 -0
- package/dist/enum/AccountType.d.ts +7 -0
- package/dist/enum/AccountType.js +12 -0
- package/dist/enum/AccountType.js.map +1 -0
- package/dist/index.d.ts +119 -0
- package/dist/index.js +136 -0
- package/dist/index.js.map +1 -0
- package/dist/meta/AccountMetaTable.d.ts +21 -0
- package/dist/meta/AccountMetaTable.js +31 -0
- package/dist/meta/AccountMetaTable.js.map +1 -0
- package/dist/meta/AccountPartyTypeMetaTable.d.ts +14 -0
- package/dist/meta/AccountPartyTypeMetaTable.js +39 -0
- package/dist/meta/AccountPartyTypeMetaTable.js.map +1 -0
- package/dist/meta/BranchMetaTable.d.ts +19 -0
- package/dist/meta/BranchMetaTable.js +42 -0
- package/dist/meta/BranchMetaTable.js.map +1 -0
- package/dist/meta/CompanyMetaTable.d.ts +16 -0
- package/dist/meta/CompanyMetaTable.js +39 -0
- package/dist/meta/CompanyMetaTable.js.map +1 -0
- package/dist/meta/CurrencyExchangeMetaTable.d.ts +17 -0
- package/dist/meta/CurrencyExchangeMetaTable.js +40 -0
- package/dist/meta/CurrencyExchangeMetaTable.js.map +1 -0
- package/dist/meta/CurrencyMetaTable.d.ts +19 -0
- package/dist/meta/CurrencyMetaTable.js +42 -0
- package/dist/meta/CurrencyMetaTable.js.map +1 -0
- package/dist/meta/FiscalYearMetaTable.d.ts +19 -0
- package/dist/meta/FiscalYearMetaTable.js +42 -0
- package/dist/meta/FiscalYearMetaTable.js.map +1 -0
- package/dist/meta/JournalEntryLineMetaTable.d.ts +19 -0
- package/dist/meta/JournalEntryLineMetaTable.js +44 -0
- package/dist/meta/JournalEntryLineMetaTable.js.map +1 -0
- package/dist/meta/JournalEntryMetaTable.d.ts +22 -0
- package/dist/meta/JournalEntryMetaTable.js +45 -0
- package/dist/meta/JournalEntryMetaTable.js.map +1 -0
- package/dist/meta/NamirasoftErpMetaDatabase.d.ts +33 -0
- package/dist/meta/NamirasoftErpMetaDatabase.js +47 -0
- package/dist/meta/NamirasoftErpMetaDatabase.js.map +1 -0
- package/dist/meta/PartyMetaTable.d.ts +19 -0
- package/dist/meta/PartyMetaTable.js +42 -0
- package/dist/meta/PartyMetaTable.js.map +1 -0
- package/dist/meta/PartyTypeMetaTable.d.ts +18 -0
- package/dist/meta/PartyTypeMetaTable.js +41 -0
- package/dist/meta/PartyTypeMetaTable.js.map +1 -0
- package/dist/row/AccountInputRow.d.ts +11 -0
- package/dist/row/AccountInputRow.js +3 -0
- package/dist/row/AccountInputRow.js.map +1 -0
- package/dist/row/AccountPartyTypeRow.d.ts +7 -0
- package/dist/row/AccountPartyTypeRow.js +3 -0
- package/dist/row/AccountPartyTypeRow.js.map +1 -0
- package/dist/row/AccountRow.d.ts +15 -0
- package/dist/row/AccountRow.js +3 -0
- package/dist/row/AccountRow.js.map +1 -0
- package/dist/row/BranchInputRow.d.ts +8 -0
- package/dist/row/BranchInputRow.js +3 -0
- package/dist/row/BranchInputRow.js.map +1 -0
- package/dist/row/BranchRow.d.ts +12 -0
- package/dist/row/BranchRow.js +3 -0
- package/dist/row/BranchRow.js.map +1 -0
- package/dist/row/CompanyInputRow.d.ts +5 -0
- package/dist/row/CompanyInputRow.js +3 -0
- package/dist/row/CompanyInputRow.js.map +1 -0
- package/dist/row/CompanyRow.d.ts +9 -0
- package/dist/row/CompanyRow.js +3 -0
- package/dist/row/CompanyRow.js.map +1 -0
- package/dist/row/CurrencyExchangeInputRow.d.ts +6 -0
- package/dist/row/CurrencyExchangeInputRow.js +3 -0
- package/dist/row/CurrencyExchangeInputRow.js.map +1 -0
- package/dist/row/CurrencyExchangeRow.d.ts +10 -0
- package/dist/row/CurrencyExchangeRow.js +3 -0
- package/dist/row/CurrencyExchangeRow.js.map +1 -0
- package/dist/row/CurrencyInputRow.d.ts +8 -0
- package/dist/row/CurrencyInputRow.js +3 -0
- package/dist/row/CurrencyInputRow.js.map +1 -0
- package/dist/row/CurrencyRow.d.ts +12 -0
- package/dist/row/CurrencyRow.js +3 -0
- package/dist/row/CurrencyRow.js.map +1 -0
- package/dist/row/FiscalYearInputRow.d.ts +8 -0
- package/dist/row/FiscalYearInputRow.js +3 -0
- package/dist/row/FiscalYearInputRow.js.map +1 -0
- package/dist/row/FiscalYearRow.d.ts +12 -0
- package/dist/row/FiscalYearRow.js +3 -0
- package/dist/row/FiscalYearRow.js.map +1 -0
- package/dist/row/JournalEntryInputRow.d.ts +11 -0
- package/dist/row/JournalEntryInputRow.js +3 -0
- package/dist/row/JournalEntryInputRow.js.map +1 -0
- package/dist/row/JournalEntryLineRow.d.ts +12 -0
- package/dist/row/JournalEntryLineRow.js +3 -0
- package/dist/row/JournalEntryLineRow.js.map +1 -0
- package/dist/row/JournalEntryRow.d.ts +15 -0
- package/dist/row/JournalEntryRow.js +3 -0
- package/dist/row/JournalEntryRow.js.map +1 -0
- package/dist/row/PartyInputRow.d.ts +8 -0
- package/dist/row/PartyInputRow.js +3 -0
- package/dist/row/PartyInputRow.js.map +1 -0
- package/dist/row/PartyRow.d.ts +12 -0
- package/dist/row/PartyRow.js +3 -0
- package/dist/row/PartyRow.js.map +1 -0
- package/dist/row/PartyTypeInputRow.d.ts +7 -0
- package/dist/row/PartyTypeInputRow.js +3 -0
- package/dist/row/PartyTypeInputRow.js.map +1 -0
- package/dist/row/PartyTypeRow.d.ts +11 -0
- package/dist/row/PartyTypeRow.js +3 -0
- package/dist/row/PartyTypeRow.js.map +1 -0
- package/logo.png +0 -0
- package/package.json +28 -0
- package/src/NamirasoftErpServer.ts +75 -0
- package/src/NamirasoftErpServerAccountPartyType.ts +50 -0
- package/src/NamirasoftErpServerBase.ts +30 -0
- package/src/NamirasoftErpServerBranch.ts +71 -0
- package/src/NamirasoftErpServerCompany.ts +71 -0
- package/src/NamirasoftErpServerCurrency.ts +71 -0
- package/src/NamirasoftErpServerCurrencyExchange.ts +71 -0
- package/src/NamirasoftErpServerERPAccount.ts +71 -0
- package/src/NamirasoftErpServerFiscalYear.ts +71 -0
- package/src/NamirasoftErpServerHealth.ts +43 -0
- package/src/NamirasoftErpServerHealthz.ts +37 -0
- package/src/NamirasoftErpServerJournalEntry.ts +71 -0
- package/src/NamirasoftErpServerJournalEntryLine.ts +50 -0
- package/src/NamirasoftErpServerMetrics.ts +37 -0
- package/src/NamirasoftErpServerParty.ts +71 -0
- package/src/NamirasoftErpServerPartyType.ts +71 -0
- package/src/NamirasoftErpServerValue.ts +38 -0
- package/src/command/AccountPartyTypeCommand.ts +34 -0
- package/src/command/AccountPartyTypeGetCommand.ts +45 -0
- package/src/command/AccountPartyTypeListCommand.ts +45 -0
- package/src/command/BranchCommand.ts +40 -0
- package/src/command/BranchCreateCommand.ts +101 -0
- package/src/command/BranchDeleteCommand.ts +45 -0
- package/src/command/BranchGetCommand.ts +45 -0
- package/src/command/BranchListCommand.ts +45 -0
- package/src/command/BranchUpdateCommand.ts +101 -0
- package/src/command/CompanyCommand.ts +40 -0
- package/src/command/CompanyCreateCommand.ts +74 -0
- package/src/command/CompanyDeleteCommand.ts +45 -0
- package/src/command/CompanyGetCommand.ts +45 -0
- package/src/command/CompanyListCommand.ts +45 -0
- package/src/command/CompanyUpdateCommand.ts +74 -0
- package/src/command/CurrencyCommand.ts +40 -0
- package/src/command/CurrencyCreateCommand.ts +101 -0
- package/src/command/CurrencyDeleteCommand.ts +45 -0
- package/src/command/CurrencyExchangeCommand.ts +40 -0
- package/src/command/CurrencyExchangeCreateCommand.ts +83 -0
- package/src/command/CurrencyExchangeDeleteCommand.ts +45 -0
- package/src/command/CurrencyExchangeGetCommand.ts +45 -0
- package/src/command/CurrencyExchangeListCommand.ts +45 -0
- package/src/command/CurrencyExchangeUpdateCommand.ts +83 -0
- package/src/command/CurrencyGetCommand.ts +45 -0
- package/src/command/CurrencyListCommand.ts +45 -0
- package/src/command/CurrencyUpdateCommand.ts +101 -0
- package/src/command/ERPAccountCommand.ts +40 -0
- package/src/command/ERPAccountCreateCommand.ts +119 -0
- package/src/command/ERPAccountDeleteCommand.ts +45 -0
- package/src/command/ERPAccountGetCommand.ts +45 -0
- package/src/command/ERPAccountListCommand.ts +45 -0
- package/src/command/ERPAccountUpdateCommand.ts +119 -0
- package/src/command/FiscalYearCommand.ts +40 -0
- package/src/command/FiscalYearCreateCommand.ts +101 -0
- package/src/command/FiscalYearDeleteCommand.ts +45 -0
- package/src/command/FiscalYearGetCommand.ts +45 -0
- package/src/command/FiscalYearListCommand.ts +45 -0
- package/src/command/FiscalYearUpdateCommand.ts +101 -0
- package/src/command/HealthCommand.ts +34 -0
- package/src/command/HealthLivenessCommand.ts +45 -0
- package/src/command/HealthReadinessCommand.ts +45 -0
- package/src/command/HealthzCommand.ts +32 -0
- package/src/command/HealthzGetCommand.ts +45 -0
- package/src/command/JournalEntryCommand.ts +40 -0
- package/src/command/JournalEntryCreateCommand.ts +128 -0
- package/src/command/JournalEntryDeleteCommand.ts +45 -0
- package/src/command/JournalEntryGetCommand.ts +45 -0
- package/src/command/JournalEntryLineCommand.ts +34 -0
- package/src/command/JournalEntryLineGetCommand.ts +45 -0
- package/src/command/JournalEntryLineListCommand.ts +45 -0
- package/src/command/JournalEntryListCommand.ts +45 -0
- package/src/command/JournalEntryUpdateCommand.ts +128 -0
- package/src/command/MetricsCommand.ts +32 -0
- package/src/command/MetricsGetCommand.ts +45 -0
- package/src/command/PartyCommand.ts +40 -0
- package/src/command/PartyCreateCommand.ts +101 -0
- package/src/command/PartyDeleteCommand.ts +45 -0
- package/src/command/PartyGetCommand.ts +45 -0
- package/src/command/PartyListCommand.ts +45 -0
- package/src/command/PartyTypeCommand.ts +40 -0
- package/src/command/PartyTypeCreateCommand.ts +92 -0
- package/src/command/PartyTypeDeleteCommand.ts +45 -0
- package/src/command/PartyTypeGetCommand.ts +45 -0
- package/src/command/PartyTypeListCommand.ts +45 -0
- package/src/command/PartyTypeUpdateCommand.ts +92 -0
- package/src/command/PartyUpdateCommand.ts +101 -0
- package/src/command/ValueCommand.ts +32 -0
- package/src/command/ValueListCommand.ts +45 -0
- package/src/command/cli.ts +61 -0
- package/src/enum/AccountType.ts +28 -0
- package/src/index.ts +139 -0
- package/src/meta/AccountMetaTable.ts +64 -0
- package/src/meta/AccountPartyTypeMetaTable.ts +59 -0
- package/src/meta/BranchMetaTable.ts +67 -0
- package/src/meta/CompanyMetaTable.ts +61 -0
- package/src/meta/CurrencyExchangeMetaTable.ts +63 -0
- package/src/meta/CurrencyMetaTable.ts +67 -0
- package/src/meta/FiscalYearMetaTable.ts +67 -0
- package/src/meta/JournalEntryLineMetaTable.ts +69 -0
- package/src/meta/JournalEntryMetaTable.ts +73 -0
- package/src/meta/NamirasoftErpMetaDatabase.ts +81 -0
- package/src/meta/PartyMetaTable.ts +67 -0
- package/src/meta/PartyTypeMetaTable.ts +65 -0
- package/src/row/AccountInputRow.ts +33 -0
- package/src/row/AccountPartyTypeRow.ts +28 -0
- package/src/row/AccountRow.ts +37 -0
- package/src/row/BranchInputRow.ts +29 -0
- package/src/row/BranchRow.ts +33 -0
- package/src/row/CompanyInputRow.ts +26 -0
- package/src/row/CompanyRow.ts +30 -0
- package/src/row/CurrencyExchangeInputRow.ts +27 -0
- package/src/row/CurrencyExchangeRow.ts +31 -0
- package/src/row/CurrencyInputRow.ts +29 -0
- package/src/row/CurrencyRow.ts +33 -0
- package/src/row/FiscalYearInputRow.ts +29 -0
- package/src/row/FiscalYearRow.ts +33 -0
- package/src/row/JournalEntryInputRow.ts +32 -0
- package/src/row/JournalEntryLineRow.ts +33 -0
- package/src/row/JournalEntryRow.ts +36 -0
- package/src/row/PartyInputRow.ts +29 -0
- package/src/row/PartyRow.ts +33 -0
- package/src/row/PartyTypeInputRow.ts +28 -0
- package/src/row/PartyTypeRow.ts +32 -0
- package/tsconfig.json +45 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { FilterItem } from "namirasoft-core";
|
|
3
|
+
import { FiscalYearInputRow } from "./row/FiscalYearInputRow";
|
|
4
|
+
import { FiscalYearRow } from "./row/FiscalYearRow";
|
|
5
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
6
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftErpServerFiscalYear extends NamirasoftErpServerBase {
|
|
9
|
+
constructor(server: NamirasoftErpServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: FiscalYearRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: (string | null), config?: BaseServerConfig<any>): Promise<FiscalYearRow>;
|
|
15
|
+
Create(body: FiscalYearInputRow, config?: BaseServerConfig<any>): Promise<FiscalYearRow>;
|
|
16
|
+
Update(id: (string | null), body: FiscalYearInputRow, config?: BaseServerConfig<any>): Promise<FiscalYearRow>;
|
|
17
|
+
Delete(id: (string | null), config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerFiscalYear = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftErpServerFiscalYear extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `/fiscal/year/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `/fiscal/year/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `/fiscal/year`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `/fiscal/year/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `/fiscal/year/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftErpServerFiscalYear = NamirasoftErpServerFiscalYear;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftErpServerFiscalYear.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerFiscalYear.js","sourceRoot":"","sources":["../src/NamirasoftErpServerFiscalYear.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,qDAA6C;AAI7C,uEAAoE;AACpE,qDAA2C;AAE3C,MAAa,6BAA8B,SAAQ,iDAAuB;IAEtE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI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I,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAgB,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,EAAmB,EAAE,MAA8B;;YAE5D,IAAI,IAAI,GAAG,gBAAgB,EAAE,EAAE,CAAC;YAChC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA1CD,sEA0CC;AAAA,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
3
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
4
|
+
export declare class NamirasoftErpServerHealth extends NamirasoftErpServerBase {
|
|
5
|
+
constructor(server: NamirasoftErpServer);
|
|
6
|
+
Liveness(config?: BaseServerConfig<any>): Promise<void>;
|
|
7
|
+
Readiness(config?: BaseServerConfig<any>): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerHealth = void 0;
|
|
13
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
14
|
+
class NamirasoftErpServerHealth extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.Liveness = this.Liveness.bind(this);
|
|
18
|
+
this.Readiness = this.Readiness.bind(this);
|
|
19
|
+
}
|
|
20
|
+
Liveness(config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/health/liveness`;
|
|
23
|
+
yield this.server._get(path, {}, config);
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
Readiness(config) {
|
|
27
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
+
let path = `/health/readiness`;
|
|
29
|
+
yield this.server._get(path, {}, config);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.NamirasoftErpServerHealth = NamirasoftErpServerHealth;
|
|
34
|
+
;
|
|
35
|
+
//# sourceMappingURL=NamirasoftErpServerHealth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerHealth.js","sourceRoot":"","sources":["../src/NamirasoftErpServerHealth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,uEAAoE;AAEpE,MAAa,yBAA0B,SAAQ,iDAAuB;IAElE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACK,QAAQ,CAAC,MAA8B;;YAEzC,IAAI,IAAI,GAAG,kBAAkB,CAAC;YAC9B,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACnD,CAAC;KAAA;IACK,SAAS,CAAC,MAA8B;;YAE1C,IAAI,IAAI,GAAG,mBAAmB,CAAC;YAC/B,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACnD,CAAC;KAAA;CACJ;AAlBD,8DAkBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
3
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
4
|
+
export declare class NamirasoftErpServerHealthz extends NamirasoftErpServerBase {
|
|
5
|
+
constructor(server: NamirasoftErpServer);
|
|
6
|
+
Get(config?: BaseServerConfig<any>): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerHealthz = void 0;
|
|
13
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
14
|
+
class NamirasoftErpServerHealthz extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.Get = this.Get.bind(this);
|
|
18
|
+
}
|
|
19
|
+
Get(config) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
let path = `/healthz`;
|
|
22
|
+
yield this.server._get(path, {}, config);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.NamirasoftErpServerHealthz = NamirasoftErpServerHealthz;
|
|
27
|
+
;
|
|
28
|
+
//# sourceMappingURL=NamirasoftErpServerHealthz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerHealthz.js","sourceRoot":"","sources":["../src/NamirasoftErpServerHealthz.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,uEAAoE;AAEpE,MAAa,0BAA2B,SAAQ,iDAAuB;IAEnE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACK,GAAG,CAAC,MAA8B;;YAEpC,IAAI,IAAI,GAAG,UAAU,CAAC;YACtB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACnD,CAAC;KAAA;CACJ;AAZD,gEAYC;AAAA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { FilterItem } from "namirasoft-core";
|
|
3
|
+
import { JournalEntryInputRow } from "./row/JournalEntryInputRow";
|
|
4
|
+
import { JournalEntryRow } from "./row/JournalEntryRow";
|
|
5
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
6
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftErpServerJournalEntry extends NamirasoftErpServerBase {
|
|
9
|
+
constructor(server: NamirasoftErpServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: JournalEntryRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: (string | null), config?: BaseServerConfig<any>): Promise<JournalEntryRow>;
|
|
15
|
+
Create(body: JournalEntryInputRow, config?: BaseServerConfig<any>): Promise<JournalEntryRow>;
|
|
16
|
+
Update(id: (string | null), body: JournalEntryInputRow, config?: BaseServerConfig<any>): Promise<JournalEntryRow>;
|
|
17
|
+
Delete(id: (string | null), config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerJournalEntry = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftErpServerJournalEntry extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `/journal/entry/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `/journal/entry/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `/journal/entry`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `/journal/entry/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `/journal/entry/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftErpServerJournalEntry = NamirasoftErpServerJournalEntry;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftErpServerJournalEntry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerJournalEntry.js","sourceRoot":"","sources":["../src/NamirasoftErpServerJournalEntry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,qDAA6C;AAI7C,uEAAoE;AACpE,qDAA2C;AAE3C,MAAa,+BAAgC,SAAQ,iDAAuB;IAExE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,MAA8B;;YAEpI,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,qBAAqB,CAAC;YACjC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA6C,IAAI,EAAE,EA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core";
|
|
2
|
+
import { FilterItem } from "namirasoft-core";
|
|
3
|
+
import { JournalEntryLineRow } from "./row/JournalEntryLineRow";
|
|
4
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
5
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
6
|
+
import { SortItem } from "namirasoft-core";
|
|
7
|
+
export declare class NamirasoftErpServerJournalEntryLine extends NamirasoftErpServerBase {
|
|
8
|
+
constructor(server: NamirasoftErpServer);
|
|
9
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
10
|
+
rows: JournalEntryLineRow[];
|
|
11
|
+
count: number;
|
|
12
|
+
}>;
|
|
13
|
+
Get(id: (string | null), config?: BaseServerConfig<any>): Promise<JournalEntryLineRow>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerJournalEntryLine = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftErpServerJournalEntryLine extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
}
|
|
22
|
+
List(filters, page, size, sorts, config) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
25
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
26
|
+
let path = `/journal/entry/line/list`;
|
|
27
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
28
|
+
return data;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
Get(id, config) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
let path = `/journal/entry/line/${id}`;
|
|
34
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
35
|
+
return data;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.NamirasoftErpServerJournalEntryLine = NamirasoftErpServerJournalEntryLine;
|
|
40
|
+
;
|
|
41
|
+
//# sourceMappingURL=NamirasoftErpServerJournalEntryLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerJournalEntryLine.js","sourceRoot":"","sources":["../src/NamirasoftErpServerJournalEntryLine.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,qDAA6C;AAG7C,uEAAoE;AACpE,qDAA2C;AAE3C,MAAa,mCAAoC,SAAQ,iDAAuB;IAE5E,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,MAA8B;;YAEpI,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,0BAA0B,CAAC;YACtC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAiD,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,MAAM,CAAC,CAAC;YAC9K,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,EAAmB,EAAE,MAA8B;;YAEzD,IAAI,IAAI,GAAG,uBAAuB,EAAE,EAAE,CAAC;YACvC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAsB,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AAtBD,kFAsBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
3
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
4
|
+
export declare class NamirasoftErpServerMetrics extends NamirasoftErpServerBase {
|
|
5
|
+
constructor(server: NamirasoftErpServer);
|
|
6
|
+
Get(config?: BaseServerConfig<any>): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerMetrics = void 0;
|
|
13
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
14
|
+
class NamirasoftErpServerMetrics extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.Get = this.Get.bind(this);
|
|
18
|
+
}
|
|
19
|
+
Get(config) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
let path = `/metrics`;
|
|
22
|
+
yield this.server._get(path, {}, config);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.NamirasoftErpServerMetrics = NamirasoftErpServerMetrics;
|
|
27
|
+
;
|
|
28
|
+
//# sourceMappingURL=NamirasoftErpServerMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerMetrics.js","sourceRoot":"","sources":["../src/NamirasoftErpServerMetrics.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,uEAAoE;AAEpE,MAAa,0BAA2B,SAAQ,iDAAuB;IAEnE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACK,GAAG,CAAC,MAA8B;;YAEpC,IAAI,IAAI,GAAG,UAAU,CAAC;YACtB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACnD,CAAC;KAAA;CACJ;AAZD,gEAYC;AAAA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { FilterItem } from "namirasoft-core";
|
|
3
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
4
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
5
|
+
import { PartyInputRow } from "./row/PartyInputRow";
|
|
6
|
+
import { PartyRow } from "./row/PartyRow";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftErpServerParty extends NamirasoftErpServerBase {
|
|
9
|
+
constructor(server: NamirasoftErpServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: PartyRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: (string | null), config?: BaseServerConfig<any>): Promise<PartyRow>;
|
|
15
|
+
Create(body: PartyInputRow, config?: BaseServerConfig<any>): Promise<PartyRow>;
|
|
16
|
+
Update(id: (string | null), body: PartyInputRow, config?: BaseServerConfig<any>): Promise<PartyRow>;
|
|
17
|
+
Delete(id: (string | null), config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerParty = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftErpServerParty extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `/party/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `/party/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `/party`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `/party/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `/party/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftErpServerParty = NamirasoftErpServerParty;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftErpServerParty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerParty.js","sourceRoot":"","sources":["../src/NamirasoftErpServerParty.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,qDAA6C;AAE7C,uEAAoE;AAGpE,qDAA2C;AAE3C,MAAa,wBAAyB,SAAQ,iDAAuB;IAEjE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAA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MAAM,CAAC,IAAI,CAAW,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YACxE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,EAAmB,EAAE,MAA8B;;YAE5D,IAAI,IAAI,GAAG,UAAU,EAAE,EAAE,CAAC;YAC1B,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA1CD,4DA0CC;AAAA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { FilterItem } from "namirasoft-core";
|
|
3
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
4
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
5
|
+
import { PartyTypeInputRow } from "./row/PartyTypeInputRow";
|
|
6
|
+
import { PartyTypeRow } from "./row/PartyTypeRow";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftErpServerPartyType extends NamirasoftErpServerBase {
|
|
9
|
+
constructor(server: NamirasoftErpServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: PartyTypeRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: (string | null), config?: BaseServerConfig<any>): Promise<PartyTypeRow>;
|
|
15
|
+
Create(body: PartyTypeInputRow, config?: BaseServerConfig<any>): Promise<PartyTypeRow>;
|
|
16
|
+
Update(id: (string | null), body: PartyTypeInputRow, config?: BaseServerConfig<any>): Promise<PartyTypeRow>;
|
|
17
|
+
Delete(id: (string | null), config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerPartyType = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftErpServerPartyType extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `/party/type/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `/party/type/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `/party/type`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `/party/type/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `/party/type/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftErpServerPartyType = NamirasoftErpServerPartyType;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftErpServerPartyType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerPartyType.js","sourceRoot":"","sources":["../src/NamirasoftErpServerPartyType.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,qDAA6C;AAE7C,uEAAoE;AAGpE,qDAA2C;AAE3C,MAAa,4BAA6B,SAAQ,iDAAuB;IAErE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC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AAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,EAAmB,EAAE,IAAuB,EAAE,MAA8B;;YAErF,IAAI,IAAI,GAAG,eAAe,EAAE,EAAE,CAAC;YAC/B,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC5E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,EAAmB,EAAE,MAA8B;;YAE5D,IAAI,IAAI,GAAG,eAAe,EAAE,EAAE,CAAC;YAC/B,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA1CD,oEA0CC;AAAA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftErpServer } from "./NamirasoftErpServer";
|
|
3
|
+
import { NamirasoftErpServerBase } from "./NamirasoftErpServerBase";
|
|
4
|
+
export declare class NamirasoftErpServerValue extends NamirasoftErpServerBase {
|
|
5
|
+
constructor(server: NamirasoftErpServer);
|
|
6
|
+
List(table: string, column: string, search: (string | null), field_id: (string | null), limit: (number | null), config?: BaseServerConfig<any>): Promise<string[]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftErpServerValue = void 0;
|
|
13
|
+
const NamirasoftErpServerBase_1 = require("./NamirasoftErpServerBase");
|
|
14
|
+
class NamirasoftErpServerValue extends NamirasoftErpServerBase_1.NamirasoftErpServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.List = this.List.bind(this);
|
|
18
|
+
}
|
|
19
|
+
List(table, column, search, field_id, limit, config) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
let path = `/value/list/${table}/${column}`;
|
|
22
|
+
let { data } = yield this.server._get(path, { search, field_id, limit }, config);
|
|
23
|
+
return data;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.NamirasoftErpServerValue = NamirasoftErpServerValue;
|
|
28
|
+
;
|
|
29
|
+
//# sourceMappingURL=NamirasoftErpServerValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftErpServerValue.js","sourceRoot":"","sources":["../src/NamirasoftErpServerValue.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,uEAAoE;AAEpE,MAAa,wBAAyB,SAAQ,iDAAuB;IAEjE,YAAY,MAA2B;QAEnC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IACK,IAAI,CAAC,KAAa,EAAE,MAAc,EAAE,MAAuB,EAAE,QAAyB,EAAE,KAAsB,EAAE,MAA8B;;YAEhJ,IAAI,IAAI,GAAG,eAAe,KAAK,IAAI,MAAM,EAAE,CAAC;YAC5C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAW,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,MAAM,CAAC,CAAC;YAC3F,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AAbD,4DAaC;AAAA,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountPartyTypeCommand = void 0;
|
|
4
|
+
const AccountPartyTypeGetCommand_1 = require("./AccountPartyTypeGetCommand");
|
|
5
|
+
const AccountPartyTypeListCommand_1 = require("./AccountPartyTypeListCommand");
|
|
6
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
7
|
+
class AccountPartyTypeCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
8
|
+
constructor(argv) {
|
|
9
|
+
super(argv, {
|
|
10
|
+
"list": AccountPartyTypeListCommand_1.AccountPartyTypeListCommand,
|
|
11
|
+
"get": AccountPartyTypeGetCommand_1.AccountPartyTypeGetCommand,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.AccountPartyTypeCommand = AccountPartyTypeCommand;
|
|
16
|
+
;
|
|
17
|
+
//# sourceMappingURL=AccountPartyTypeCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountPartyTypeCommand.js","sourceRoot":"","sources":["../../src/command/AccountPartyTypeCommand.ts"],"names":[],"mappings":";;;AAoBA,6EAA0E;AAC1E,+EAA4E;AAC5E,6DAA2D;AAE3D,MAAa,uBAAwB,SAAQ,0CAAoB;IAE7D,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,MAAM,EAAE,yDAA2B;YACnC,KAAK,EAAE,uDAA0B;SACpC,CAAC,CAAC;IACP,CAAC;CACJ;AATD,0DASC;AAAA,CAAC"}
|