@kommerz/ts-client 1.130.7
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/apis/AbsenceEntriesApi.d.ts +112 -0
- package/dist/apis/AbsenceEntriesApi.js +467 -0
- package/dist/apis/AbsenceTypesApi.d.ts +76 -0
- package/dist/apis/AbsenceTypesApi.js +314 -0
- package/dist/apis/AccountingCentersApi.d.ts +72 -0
- package/dist/apis/AccountingCentersApi.js +305 -0
- package/dist/apis/AccountingLedgersApi.d.ts +77 -0
- package/dist/apis/AccountingLedgersApi.js +317 -0
- package/dist/apis/AccountingReceiptsApi.d.ts +77 -0
- package/dist/apis/AccountingReceiptsApi.js +335 -0
- package/dist/apis/AccountingSettlementsApi.d.ts +76 -0
- package/dist/apis/AccountingSettlementsApi.js +314 -0
- package/dist/apis/AccountingStatementsApi.d.ts +68 -0
- package/dist/apis/AccountingStatementsApi.js +218 -0
- package/dist/apis/AccountingTransactionsApi.d.ts +76 -0
- package/dist/apis/AccountingTransactionsApi.js +314 -0
- package/dist/apis/AccountingTurnoversApi.d.ts +81 -0
- package/dist/apis/AccountingTurnoversApi.js +329 -0
- package/dist/apis/ActivitiesApi.d.ts +41 -0
- package/dist/apis/ActivitiesApi.js +174 -0
- package/dist/apis/ApprovalEntriesApi.d.ts +76 -0
- package/dist/apis/ApprovalEntriesApi.js +314 -0
- package/dist/apis/ApprovalEntriesApproveApi.d.ts +53 -0
- package/dist/apis/ApprovalEntriesApproveApi.js +224 -0
- package/dist/apis/ApprovalTypesApi.d.ts +76 -0
- package/dist/apis/ApprovalTypesApi.js +314 -0
- package/dist/apis/BankingAccountsApi.d.ts +90 -0
- package/dist/apis/BankingAccountsApi.js +363 -0
- package/dist/apis/BankingInstitutesApi.d.ts +26 -0
- package/dist/apis/BankingInstitutesApi.js +121 -0
- package/dist/apis/BankingRegistrationsApi.d.ts +87 -0
- package/dist/apis/BankingRegistrationsApi.js +355 -0
- package/dist/apis/CalendarEntriesApi.d.ts +76 -0
- package/dist/apis/CalendarEntriesApi.js +314 -0
- package/dist/apis/CalendarEntryTypesApi.d.ts +76 -0
- package/dist/apis/CalendarEntryTypesApi.js +314 -0
- package/dist/apis/CommentsApi.d.ts +99 -0
- package/dist/apis/CommentsApi.js +408 -0
- package/dist/apis/ConfigurationsApi.d.ts +76 -0
- package/dist/apis/ConfigurationsApi.js +314 -0
- package/dist/apis/CustomersApi.d.ts +76 -0
- package/dist/apis/CustomersApi.js +314 -0
- package/dist/apis/CustomersBankdetailsApi.d.ts +81 -0
- package/dist/apis/CustomersBankdetailsApi.js +329 -0
- package/dist/apis/DesignTemplatesApi.d.ts +76 -0
- package/dist/apis/DesignTemplatesApi.js +314 -0
- package/dist/apis/DocumentTemplatesApi.d.ts +76 -0
- package/dist/apis/DocumentTemplatesApi.js +314 -0
- package/dist/apis/EmailApi.d.ts +29 -0
- package/dist/apis/EmailApi.js +129 -0
- package/dist/apis/FileDirectoriesApi.d.ts +113 -0
- package/dist/apis/FileDirectoriesApi.js +482 -0
- package/dist/apis/FileDirectorySharesApi.d.ts +109 -0
- package/dist/apis/FileDirectorySharesApi.js +449 -0
- package/dist/apis/FileTagsApi.d.ts +76 -0
- package/dist/apis/FileTagsApi.js +314 -0
- package/dist/apis/FilesApi.d.ts +65 -0
- package/dist/apis/FilesApi.js +270 -0
- package/dist/apis/HolidaysApi.d.ts +76 -0
- package/dist/apis/HolidaysApi.js +314 -0
- package/dist/apis/HospitalityReceiptsApi.d.ts +135 -0
- package/dist/apis/HospitalityReceiptsApi.js +562 -0
- package/dist/apis/IdentifiersApi.d.ts +86 -0
- package/dist/apis/IdentifiersApi.js +352 -0
- package/dist/apis/InboxEmailsApi.d.ts +52 -0
- package/dist/apis/InboxEmailsApi.js +216 -0
- package/dist/apis/InvoicesApi.d.ts +144 -0
- package/dist/apis/InvoicesApi.js +561 -0
- package/dist/apis/KanbanBoardsApi.d.ts +76 -0
- package/dist/apis/KanbanBoardsApi.js +314 -0
- package/dist/apis/KanbanCardsApi.d.ts +81 -0
- package/dist/apis/KanbanCardsApi.js +329 -0
- package/dist/apis/KanbanColumnsApi.d.ts +81 -0
- package/dist/apis/KanbanColumnsApi.js +329 -0
- package/dist/apis/MentionsApi.d.ts +63 -0
- package/dist/apis/MentionsApi.js +258 -0
- package/dist/apis/MessagingApi.d.ts +26 -0
- package/dist/apis/MessagingApi.js +121 -0
- package/dist/apis/NotificationTargetsApi.d.ts +60 -0
- package/dist/apis/NotificationTargetsApi.js +260 -0
- package/dist/apis/NotificationsAcksApi.d.ts +40 -0
- package/dist/apis/NotificationsAcksApi.js +166 -0
- package/dist/apis/NotificationsApi.d.ts +52 -0
- package/dist/apis/NotificationsApi.js +216 -0
- package/dist/apis/OffersApi.d.ts +87 -0
- package/dist/apis/OffersApi.js +358 -0
- package/dist/apis/OkrKeyresultsApi.d.ts +81 -0
- package/dist/apis/OkrKeyresultsApi.js +329 -0
- package/dist/apis/OkrObjectivesApi.d.ts +76 -0
- package/dist/apis/OkrObjectivesApi.js +314 -0
- package/dist/apis/PaymentBuyProductApi.d.ts +37 -0
- package/dist/apis/PaymentBuyProductApi.js +167 -0
- package/dist/apis/PaymentProductsApi.d.ts +26 -0
- package/dist/apis/PaymentProductsApi.js +121 -0
- package/dist/apis/PaymentSubscriptionsApi.d.ts +52 -0
- package/dist/apis/PaymentSubscriptionsApi.js +218 -0
- package/dist/apis/PaymentsPaymentsApi.d.ts +30 -0
- package/dist/apis/PaymentsPaymentsApi.js +130 -0
- package/dist/apis/PresenceEntriesApi.d.ts +84 -0
- package/dist/apis/PresenceEntriesApi.js +355 -0
- package/dist/apis/PresenceTypesApi.d.ts +76 -0
- package/dist/apis/PresenceTypesApi.js +314 -0
- package/dist/apis/RolesApi.d.ts +76 -0
- package/dist/apis/RolesApi.js +314 -0
- package/dist/apis/ServiceDeskMessageApi.d.ts +30 -0
- package/dist/apis/ServiceDeskMessageApi.js +129 -0
- package/dist/apis/StatisticsApi.d.ts +29 -0
- package/dist/apis/StatisticsApi.js +126 -0
- package/dist/apis/SystemsFeaturesApi.d.ts +26 -0
- package/dist/apis/SystemsFeaturesApi.js +121 -0
- package/dist/apis/SystemsTimesApi.d.ts +26 -0
- package/dist/apis/SystemsTimesApi.js +121 -0
- package/dist/apis/TenantsApi.d.ts +154 -0
- package/dist/apis/TenantsApi.js +628 -0
- package/dist/apis/TenantsValidationApi.d.ts +40 -0
- package/dist/apis/TenantsValidationApi.js +174 -0
- package/dist/apis/TestApi.d.ts +42 -0
- package/dist/apis/TestApi.js +174 -0
- package/dist/apis/TextModulesApi.d.ts +76 -0
- package/dist/apis/TextModulesApi.js +314 -0
- package/dist/apis/TimeTrackingCalendarApi.d.ts +43 -0
- package/dist/apis/TimeTrackingCalendarApi.js +177 -0
- package/dist/apis/TimeTrackingCalendarExportApi.d.ts +38 -0
- package/dist/apis/TimeTrackingCalendarExportApi.js +141 -0
- package/dist/apis/UnitsApi.d.ts +76 -0
- package/dist/apis/UnitsApi.js +314 -0
- package/dist/apis/UsageMonitorApi.d.ts +26 -0
- package/dist/apis/UsageMonitorApi.js +121 -0
- package/dist/apis/UserPermissionsApi.d.ts +52 -0
- package/dist/apis/UserPermissionsApi.js +217 -0
- package/dist/apis/UserTenantsApi.d.ts +26 -0
- package/dist/apis/UserTenantsApi.js +121 -0
- package/dist/apis/UsersApi.d.ts +41 -0
- package/dist/apis/UsersApi.js +174 -0
- package/dist/apis/UsersMeApi.d.ts +26 -0
- package/dist/apis/UsersMeApi.js +121 -0
- package/dist/apis/UsersRegisterApi.d.ts +29 -0
- package/dist/apis/UsersRegisterApi.js +124 -0
- package/dist/apis/ValidationApi.d.ts +51 -0
- package/dist/apis/ValidationApi.js +213 -0
- package/dist/apis/WikiApi.d.ts +76 -0
- package/dist/apis/WikiApi.js +314 -0
- package/dist/apis/WikiPagesApi.d.ts +82 -0
- package/dist/apis/WikiPagesApi.js +332 -0
- package/dist/apis/WorkHoursApi.d.ts +76 -0
- package/dist/apis/WorkHoursApi.js +314 -0
- package/dist/apis/index.d.ts +71 -0
- package/dist/apis/index.js +89 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AbsenceEntryDto.d.ts +74 -0
- package/dist/models/AbsenceEntryDto.js +67 -0
- package/dist/models/AbsenceTypeDto.d.ts +61 -0
- package/dist/models/AbsenceTypeDto.js +62 -0
- package/dist/models/AccessShareDto.d.ts +37 -0
- package/dist/models/AccessShareDto.js +52 -0
- package/dist/models/AccountingCenterDto.d.ts +87 -0
- package/dist/models/AccountingCenterDto.js +76 -0
- package/dist/models/AccountingChartType.d.ts +23 -0
- package/dist/models/AccountingChartType.js +36 -0
- package/dist/models/AccountingConfigDto.d.ts +32 -0
- package/dist/models/AccountingConfigDto.js +51 -0
- package/dist/models/AccountingLedgerDto.d.ts +116 -0
- package/dist/models/AccountingLedgerDto.js +83 -0
- package/dist/models/AccountingLedgerType.d.ts +33 -0
- package/dist/models/AccountingLedgerType.js +46 -0
- package/dist/models/AccountingReceiptDetailsDto.d.ts +106 -0
- package/dist/models/AccountingReceiptDetailsDto.js +77 -0
- package/dist/models/AccountingReceiptDto.d.ts +125 -0
- package/dist/models/AccountingReceiptDto.js +86 -0
- package/dist/models/AccountingReceiptItemDto.d.ts +55 -0
- package/dist/models/AccountingReceiptItemDto.js +58 -0
- package/dist/models/AccountingReceiptLegalEntityDto.d.ts +97 -0
- package/dist/models/AccountingReceiptLegalEntityDto.js +72 -0
- package/dist/models/AccountingReceiptMetaDataDto.d.ts +39 -0
- package/dist/models/AccountingReceiptMetaDataDto.js +54 -0
- package/dist/models/AccountingReceiptType.d.ts +23 -0
- package/dist/models/AccountingReceiptType.js +36 -0
- package/dist/models/AccountingScheduleDto.d.ts +61 -0
- package/dist/models/AccountingScheduleDto.js +63 -0
- package/dist/models/AccountingSettlementDto.d.ts +67 -0
- package/dist/models/AccountingSettlementDto.js +65 -0
- package/dist/models/AccountingSplitDto.d.ts +61 -0
- package/dist/models/AccountingSplitDto.js +62 -0
- package/dist/models/AccountingSplitPair.d.ts +50 -0
- package/dist/models/AccountingSplitPair.js +58 -0
- package/dist/models/AccountingTransactionDto.d.ts +68 -0
- package/dist/models/AccountingTransactionDto.js +66 -0
- package/dist/models/AccountingTransactionTemplateDto.d.ts +32 -0
- package/dist/models/AccountingTransactionTemplateDto.js +51 -0
- package/dist/models/AccountingTurnoverDto.d.ts +44 -0
- package/dist/models/AccountingTurnoverDto.js +57 -0
- package/dist/models/AcknowledgeNotificationsDto.d.ts +31 -0
- package/dist/models/AcknowledgeNotificationsDto.js +50 -0
- package/dist/models/ActivityDto.d.ts +81 -0
- package/dist/models/ActivityDto.js +73 -0
- package/dist/models/ActivityReferenceDto.d.ts +62 -0
- package/dist/models/ActivityReferenceDto.js +64 -0
- package/dist/models/ActivityType.d.ts +37 -0
- package/dist/models/ActivityType.js +50 -0
- package/dist/models/AddressDto.d.ts +61 -0
- package/dist/models/AddressDto.js +60 -0
- package/dist/models/AmountDto.d.ts +37 -0
- package/dist/models/AmountDto.js +53 -0
- package/dist/models/ApprovalDecisionEnum.d.ts +23 -0
- package/dist/models/ApprovalDecisionEnum.js +36 -0
- package/dist/models/ApprovalEntryDto.d.ts +88 -0
- package/dist/models/ApprovalEntryDto.js +71 -0
- package/dist/models/ApprovalModeEnum.d.ts +25 -0
- package/dist/models/ApprovalModeEnum.js +38 -0
- package/dist/models/ApprovalStatusEnum.d.ts +24 -0
- package/dist/models/ApprovalStatusEnum.js +37 -0
- package/dist/models/ApprovalTypeDto.d.ts +74 -0
- package/dist/models/ApprovalTypeDto.js +65 -0
- package/dist/models/BankAccountDto.d.ts +91 -0
- package/dist/models/BankAccountDto.js +70 -0
- package/dist/models/BankAccountRegistrationDto.d.ts +49 -0
- package/dist/models/BankAccountRegistrationDto.js +56 -0
- package/dist/models/BankConnectionDto.d.ts +43 -0
- package/dist/models/BankConnectionDto.js +56 -0
- package/dist/models/BankDetailsDto.d.ts +73 -0
- package/dist/models/BankDetailsDto.js +66 -0
- package/dist/models/BankRegistrationDto.d.ts +91 -0
- package/dist/models/BankRegistrationDto.js +70 -0
- package/dist/models/CalendarEntryDto.d.ts +81 -0
- package/dist/models/CalendarEntryDto.js +71 -0
- package/dist/models/CalendarEntryTypeDto.d.ts +79 -0
- package/dist/models/CalendarEntryTypeDto.js +71 -0
- package/dist/models/CenterStatementDto.d.ts +67 -0
- package/dist/models/CenterStatementDto.js +68 -0
- package/dist/models/ChannelIdType.d.ts +24 -0
- package/dist/models/ChannelIdType.js +37 -0
- package/dist/models/ColamdaPageable.d.ts +43 -0
- package/dist/models/ColamdaPageable.js +54 -0
- package/dist/models/CommentDto.d.ts +76 -0
- package/dist/models/CommentDto.js +66 -0
- package/dist/models/ConfigKey.d.ts +25 -0
- package/dist/models/ConfigKey.js +38 -0
- package/dist/models/ConfigurationDto.d.ts +56 -0
- package/dist/models/ConfigurationDto.js +58 -0
- package/dist/models/ContactDto.d.ts +43 -0
- package/dist/models/ContactDto.js +54 -0
- package/dist/models/CreateTenantRequest.d.ts +39 -0
- package/dist/models/CreateTenantRequest.js +55 -0
- package/dist/models/CustomerDto.d.ts +130 -0
- package/dist/models/CustomerDto.js +90 -0
- package/dist/models/DesignTemplateDto.d.ts +68 -0
- package/dist/models/DesignTemplateDto.js +65 -0
- package/dist/models/DesignTemplateType.d.ts +25 -0
- package/dist/models/DesignTemplateType.js +38 -0
- package/dist/models/DocumentTemplateDto.d.ts +80 -0
- package/dist/models/DocumentTemplateDto.js +68 -0
- package/dist/models/DocumentTemplateType.d.ts +23 -0
- package/dist/models/DocumentTemplateType.js +36 -0
- package/dist/models/EmailDto.d.ts +85 -0
- package/dist/models/EmailDto.js +68 -0
- package/dist/models/EntityReference.d.ts +50 -0
- package/dist/models/EntityReference.js +57 -0
- package/dist/models/EntityType.d.ts +73 -0
- package/dist/models/EntityType.js +86 -0
- package/dist/models/FeatureDto.d.ts +50 -0
- package/dist/models/FeatureDto.js +57 -0
- package/dist/models/FileDetailsDto.d.ts +73 -0
- package/dist/models/FileDetailsDto.js +64 -0
- package/dist/models/FileDirectoryDto.d.ts +79 -0
- package/dist/models/FileDirectoryDto.js +66 -0
- package/dist/models/FileDto.d.ts +61 -0
- package/dist/models/FileDto.js +60 -0
- package/dist/models/FileMovementDto.d.ts +43 -0
- package/dist/models/FileMovementDto.js +54 -0
- package/dist/models/FileSelectionDto.d.ts +37 -0
- package/dist/models/FileSelectionDto.js +52 -0
- package/dist/models/FileShareDto.d.ts +133 -0
- package/dist/models/FileShareDto.js +85 -0
- package/dist/models/FileTagDto.d.ts +43 -0
- package/dist/models/FileTagDto.js +55 -0
- package/dist/models/FilterableEndpointDto.d.ts +43 -0
- package/dist/models/FilterableEndpointDto.js +54 -0
- package/dist/models/GetAllAbsenceEntries200Response.d.ts +50 -0
- package/dist/models/GetAllAbsenceEntries200Response.js +60 -0
- package/dist/models/GetAllAbsenceTypes200Response.d.ts +50 -0
- package/dist/models/GetAllAbsenceTypes200Response.js +60 -0
- package/dist/models/GetAllAccountingCenterStatements200Response.d.ts +32 -0
- package/dist/models/GetAllAccountingCenterStatements200Response.js +51 -0
- package/dist/models/GetAllAccountingCenters200Response.d.ts +50 -0
- package/dist/models/GetAllAccountingCenters200Response.js +60 -0
- package/dist/models/GetAllAccountingLedgerStatements200Response.d.ts +32 -0
- package/dist/models/GetAllAccountingLedgerStatements200Response.js +51 -0
- package/dist/models/GetAllAccountingLedgers200Response.d.ts +50 -0
- package/dist/models/GetAllAccountingLedgers200Response.js +60 -0
- package/dist/models/GetAllAccountingReceipts200Response.d.ts +50 -0
- package/dist/models/GetAllAccountingReceipts200Response.js +60 -0
- package/dist/models/GetAllAccountingSettlements200Response.d.ts +50 -0
- package/dist/models/GetAllAccountingSettlements200Response.js +60 -0
- package/dist/models/GetAllAccountingTransactions200Response.d.ts +50 -0
- package/dist/models/GetAllAccountingTransactions200Response.js +60 -0
- package/dist/models/GetAllAccountingTurnover200Response.d.ts +50 -0
- package/dist/models/GetAllAccountingTurnover200Response.js +60 -0
- package/dist/models/GetAllAccounts200Response.d.ts +50 -0
- package/dist/models/GetAllAccounts200Response.js +60 -0
- package/dist/models/GetAllActivities200Response.d.ts +50 -0
- package/dist/models/GetAllActivities200Response.js +60 -0
- package/dist/models/GetAllApprovalEntries200Response.d.ts +50 -0
- package/dist/models/GetAllApprovalEntries200Response.js +60 -0
- package/dist/models/GetAllApprovalTypes200Response.d.ts +50 -0
- package/dist/models/GetAllApprovalTypes200Response.js +60 -0
- package/dist/models/GetAllBankDetails200Response.d.ts +50 -0
- package/dist/models/GetAllBankDetails200Response.js +60 -0
- package/dist/models/GetAllCalendarEntries200Response.d.ts +50 -0
- package/dist/models/GetAllCalendarEntries200Response.js +60 -0
- package/dist/models/GetAllCalendarEntryTypes200Response.d.ts +50 -0
- package/dist/models/GetAllCalendarEntryTypes200Response.js +60 -0
- package/dist/models/GetAllComments200Response.d.ts +50 -0
- package/dist/models/GetAllComments200Response.js +60 -0
- package/dist/models/GetAllConfigurations200Response.d.ts +50 -0
- package/dist/models/GetAllConfigurations200Response.js +60 -0
- package/dist/models/GetAllCustomers200Response.d.ts +50 -0
- package/dist/models/GetAllCustomers200Response.js +60 -0
- package/dist/models/GetAllDesignTemplates200Response.d.ts +50 -0
- package/dist/models/GetAllDesignTemplates200Response.js +60 -0
- package/dist/models/GetAllDocumentTemplates200Response.d.ts +50 -0
- package/dist/models/GetAllDocumentTemplates200Response.js +60 -0
- package/dist/models/GetAllFileTags200Response.d.ts +50 -0
- package/dist/models/GetAllFileTags200Response.js +60 -0
- package/dist/models/GetAllHolidays200Response.d.ts +50 -0
- package/dist/models/GetAllHolidays200Response.js +60 -0
- package/dist/models/GetAllHospitalityReceipts200Response.d.ts +50 -0
- package/dist/models/GetAllHospitalityReceipts200Response.js +60 -0
- package/dist/models/GetAllInboxEmails200Response.d.ts +50 -0
- package/dist/models/GetAllInboxEmails200Response.js +60 -0
- package/dist/models/GetAllInvoices200Response.d.ts +50 -0
- package/dist/models/GetAllInvoices200Response.js +60 -0
- package/dist/models/GetAllKanbanBoards200Response.d.ts +50 -0
- package/dist/models/GetAllKanbanBoards200Response.js +60 -0
- package/dist/models/GetAllKanbanCards200Response.d.ts +50 -0
- package/dist/models/GetAllKanbanCards200Response.js +60 -0
- package/dist/models/GetAllKanbanColumns200Response.d.ts +50 -0
- package/dist/models/GetAllKanbanColumns200Response.js +60 -0
- package/dist/models/GetAllMentions200Response.d.ts +50 -0
- package/dist/models/GetAllMentions200Response.js +60 -0
- package/dist/models/GetAllNotifications200Response.d.ts +50 -0
- package/dist/models/GetAllNotifications200Response.js +60 -0
- package/dist/models/GetAllObjectives200Response.d.ts +50 -0
- package/dist/models/GetAllObjectives200Response.js +60 -0
- package/dist/models/GetAllOffers200Response.d.ts +50 -0
- package/dist/models/GetAllOffers200Response.js +60 -0
- package/dist/models/GetAllPages200Response.d.ts +50 -0
- package/dist/models/GetAllPages200Response.js +60 -0
- package/dist/models/GetAllPayments200Response.d.ts +50 -0
- package/dist/models/GetAllPayments200Response.js +60 -0
- package/dist/models/GetAllPresenceEntries200Response.d.ts +50 -0
- package/dist/models/GetAllPresenceEntries200Response.js +60 -0
- package/dist/models/GetAllPresenceTypes200Response.d.ts +50 -0
- package/dist/models/GetAllPresenceTypes200Response.js +60 -0
- package/dist/models/GetAllRegistrations200Response.d.ts +50 -0
- package/dist/models/GetAllRegistrations200Response.js +60 -0
- package/dist/models/GetAllResults200Response.d.ts +50 -0
- package/dist/models/GetAllResults200Response.js +60 -0
- package/dist/models/GetAllRoles200Response.d.ts +50 -0
- package/dist/models/GetAllRoles200Response.js +60 -0
- package/dist/models/GetAllShares200Response.d.ts +50 -0
- package/dist/models/GetAllShares200Response.js +60 -0
- package/dist/models/GetAllTextModules200Response.d.ts +50 -0
- package/dist/models/GetAllTextModules200Response.js +60 -0
- package/dist/models/GetAllUnits200Response.d.ts +50 -0
- package/dist/models/GetAllUnits200Response.js +60 -0
- package/dist/models/GetAllUsers200Response.d.ts +50 -0
- package/dist/models/GetAllUsers200Response.js +60 -0
- package/dist/models/GetAllWikis200Response.d.ts +50 -0
- package/dist/models/GetAllWikis200Response.js +60 -0
- package/dist/models/GetAllWorkHours200Response.d.ts +50 -0
- package/dist/models/GetAllWorkHours200Response.js +60 -0
- package/dist/models/GetSubscribedProducts200Response.d.ts +50 -0
- package/dist/models/GetSubscribedProducts200Response.js +60 -0
- package/dist/models/GetUserRoles200Response.d.ts +31 -0
- package/dist/models/GetUserRoles200Response.js +50 -0
- package/dist/models/HolidaysDto.d.ts +67 -0
- package/dist/models/HolidaysDto.js +64 -0
- package/dist/models/HospitalityReceiptDto.d.ts +110 -0
- package/dist/models/HospitalityReceiptDto.js +78 -0
- package/dist/models/HospitalityReceiptSignatureDto.d.ts +43 -0
- package/dist/models/HospitalityReceiptSignatureDto.js +54 -0
- package/dist/models/IdentifierDto.d.ts +31 -0
- package/dist/models/IdentifierDto.js +50 -0
- package/dist/models/IdentifierType.d.ts +24 -0
- package/dist/models/IdentifierType.js +37 -0
- package/dist/models/InstituteDto.d.ts +61 -0
- package/dist/models/InstituteDto.js +60 -0
- package/dist/models/InvoiceConfigDto.d.ts +65 -0
- package/dist/models/InvoiceConfigDto.js +64 -0
- package/dist/models/InvoiceDto.d.ts +193 -0
- package/dist/models/InvoiceDto.js +114 -0
- package/dist/models/InvoiceItemDto.d.ts +69 -0
- package/dist/models/InvoiceItemDto.js +69 -0
- package/dist/models/InvoiceTaxItemDto.d.ts +59 -0
- package/dist/models/InvoiceTaxItemDto.js +67 -0
- package/dist/models/InvoiceTextFieldsDto.d.ts +55 -0
- package/dist/models/InvoiceTextFieldsDto.js +58 -0
- package/dist/models/InvoiceType.d.ts +25 -0
- package/dist/models/InvoiceType.js +38 -0
- package/dist/models/KanbanBoardDto.d.ts +43 -0
- package/dist/models/KanbanBoardDto.js +55 -0
- package/dist/models/KanbanCardDto.d.ts +97 -0
- package/dist/models/KanbanCardDto.js +74 -0
- package/dist/models/KanbanColumnDto.d.ts +55 -0
- package/dist/models/KanbanColumnDto.js +60 -0
- package/dist/models/LedgerStatementDto.d.ts +67 -0
- package/dist/models/LedgerStatementDto.js +68 -0
- package/dist/models/LegalInfoDto.d.ts +91 -0
- package/dist/models/LegalInfoDto.js +70 -0
- package/dist/models/ListAllTenants200Response.d.ts +50 -0
- package/dist/models/ListAllTenants200Response.js +60 -0
- package/dist/models/ListDirectories200Response.d.ts +50 -0
- package/dist/models/ListDirectories200Response.js +60 -0
- package/dist/models/ListFiles200Response.d.ts +50 -0
- package/dist/models/ListFiles200Response.js +60 -0
- package/dist/models/MacroConfig.d.ts +54 -0
- package/dist/models/MacroConfig.js +66 -0
- package/dist/models/MacroConfigReferencesInner.d.ts +38 -0
- package/dist/models/MacroConfigReferencesInner.js +53 -0
- package/dist/models/MarkInvoiceAsPaidRequest.d.ts +37 -0
- package/dist/models/MarkInvoiceAsPaidRequest.js +53 -0
- package/dist/models/MentionDto.d.ts +50 -0
- package/dist/models/MentionDto.js +58 -0
- package/dist/models/MessageDto.d.ts +37 -0
- package/dist/models/MessageDto.js +52 -0
- package/dist/models/MessagingPermissionsDto.d.ts +37 -0
- package/dist/models/MessagingPermissionsDto.js +52 -0
- package/dist/models/NewRegistrationDto.d.ts +31 -0
- package/dist/models/NewRegistrationDto.js +50 -0
- package/dist/models/NewRegistrationResponseDto.d.ts +43 -0
- package/dist/models/NewRegistrationResponseDto.js +54 -0
- package/dist/models/NotificationDto.d.ts +62 -0
- package/dist/models/NotificationDto.js +61 -0
- package/dist/models/NotificationTargetDto.d.ts +63 -0
- package/dist/models/NotificationTargetDto.js +66 -0
- package/dist/models/NotificationTargetOrderDto.d.ts +39 -0
- package/dist/models/NotificationTargetOrderDto.js +55 -0
- package/dist/models/NotifierIdType.d.ts +26 -0
- package/dist/models/NotifierIdType.js +39 -0
- package/dist/models/OfferDto.d.ts +134 -0
- package/dist/models/OfferDto.js +96 -0
- package/dist/models/OkrKeyResultDto.d.ts +79 -0
- package/dist/models/OkrKeyResultDto.js +69 -0
- package/dist/models/OkrObjectiveDto.d.ts +79 -0
- package/dist/models/OkrObjectiveDto.js +68 -0
- package/dist/models/PageResponse.d.ts +43 -0
- package/dist/models/PageResponse.js +56 -0
- package/dist/models/PatternDto.d.ts +43 -0
- package/dist/models/PatternDto.js +55 -0
- package/dist/models/PaymentConfigurationDto.d.ts +38 -0
- package/dist/models/PaymentConfigurationDto.js +53 -0
- package/dist/models/PaymentInvoiceDto.d.ts +67 -0
- package/dist/models/PaymentInvoiceDto.js +62 -0
- package/dist/models/PaymentUriResponseDto.d.ts +31 -0
- package/dist/models/PaymentUriResponseDto.js +50 -0
- package/dist/models/PaymentsDto.d.ts +106 -0
- package/dist/models/PaymentsDto.js +87 -0
- package/dist/models/PrepositionType.d.ts +28 -0
- package/dist/models/PrepositionType.js +41 -0
- package/dist/models/PresenceEntryDto.d.ts +73 -0
- package/dist/models/PresenceEntryDto.js +68 -0
- package/dist/models/PresenceTypeDto.d.ts +67 -0
- package/dist/models/PresenceTypeDto.js +64 -0
- package/dist/models/ProductDto.d.ts +152 -0
- package/dist/models/ProductDto.js +111 -0
- package/dist/models/ProductSelectionDto.d.ts +37 -0
- package/dist/models/ProductSelectionDto.js +53 -0
- package/dist/models/PublicShareDto.d.ts +79 -0
- package/dist/models/PublicShareDto.js +66 -0
- package/dist/models/RegisterUserDto.d.ts +55 -0
- package/dist/models/RegisterUserDto.js +60 -0
- package/dist/models/RoleDto.d.ts +55 -0
- package/dist/models/RoleDto.js +58 -0
- package/dist/models/StatisticsDataEntry.d.ts +37 -0
- package/dist/models/StatisticsDataEntry.js +53 -0
- package/dist/models/StatisticsDefinitionDto.d.ts +90 -0
- package/dist/models/StatisticsDefinitionDto.js +87 -0
- package/dist/models/StatisticsResponseDto.d.ts +38 -0
- package/dist/models/StatisticsResponseDto.js +54 -0
- package/dist/models/SubscriptionChangeDto.d.ts +43 -0
- package/dist/models/SubscriptionChangeDto.js +54 -0
- package/dist/models/SubscriptionDto.d.ts +132 -0
- package/dist/models/SubscriptionDto.js +91 -0
- package/dist/models/SubscriptionResponseDto.d.ts +37 -0
- package/dist/models/SubscriptionResponseDto.js +52 -0
- package/dist/models/TenantConfigurationDto.d.ts +56 -0
- package/dist/models/TenantConfigurationDto.js +59 -0
- package/dist/models/TenantDto.d.ts +75 -0
- package/dist/models/TenantDto.js +68 -0
- package/dist/models/TenantInvitationDto.d.ts +37 -0
- package/dist/models/TenantInvitationDto.js +52 -0
- package/dist/models/TestTokenDto.d.ts +31 -0
- package/dist/models/TestTokenDto.js +50 -0
- package/dist/models/TestTokenRequest.d.ts +43 -0
- package/dist/models/TestTokenRequest.js +56 -0
- package/dist/models/TextModuleDto.d.ts +62 -0
- package/dist/models/TextModuleDto.js +62 -0
- package/dist/models/TextModuleType.d.ts +27 -0
- package/dist/models/TextModuleType.js +40 -0
- package/dist/models/TimeSpanDto.d.ts +43 -0
- package/dist/models/TimeSpanDto.js +56 -0
- package/dist/models/TimeTrackingCalendarDayDto.d.ts +75 -0
- package/dist/models/TimeTrackingCalendarDayDto.js +66 -0
- package/dist/models/TimeTrackingCalendarDto.d.ts +89 -0
- package/dist/models/TimeTrackingCalendarDto.js +72 -0
- package/dist/models/TimesDto.d.ts +37 -0
- package/dist/models/TimesDto.js +52 -0
- package/dist/models/UnitDto.d.ts +80 -0
- package/dist/models/UnitDto.js +79 -0
- package/dist/models/UsageMonitorDto.d.ts +85 -0
- package/dist/models/UsageMonitorDto.js +85 -0
- package/dist/models/UserApprovalDto.d.ts +43 -0
- package/dist/models/UserApprovalDto.js +54 -0
- package/dist/models/UserDto.d.ts +61 -0
- package/dist/models/UserDto.js +62 -0
- package/dist/models/ValidateHandleHandleParameter.d.ts +31 -0
- package/dist/models/ValidateHandleHandleParameter.js +50 -0
- package/dist/models/ValidateIbanIbanParameter.d.ts +31 -0
- package/dist/models/ValidateIbanIbanParameter.js +50 -0
- package/dist/models/ValidationDto.d.ts +37 -0
- package/dist/models/ValidationDto.js +53 -0
- package/dist/models/ValidationErrors.d.ts +38 -0
- package/dist/models/ValidationErrors.js +53 -0
- package/dist/models/ValidationErrorsErrorsInner.d.ts +37 -0
- package/dist/models/ValidationErrorsErrorsInner.js +52 -0
- package/dist/models/WikiDto.d.ts +43 -0
- package/dist/models/WikiDto.js +55 -0
- package/dist/models/WikiPageDto.d.ts +92 -0
- package/dist/models/WikiPageDto.js +76 -0
- package/dist/models/WorkHoursDto.d.ts +91 -0
- package/dist/models/WorkHoursDto.js +71 -0
- package/dist/models/index.d.ts +191 -0
- package/dist/models/index.js +209 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +562 -0
- package/package.json +18 -0
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.130.4
|
|
9
|
+
* Contact: info@kommerz.app
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.RolesApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var RolesApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(RolesApi, _super);
|
|
75
|
+
function RolesApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* add role
|
|
80
|
+
*/
|
|
81
|
+
RolesApi.prototype.addRoleRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters.roleDto === null || requestParameters.roleDto === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('roleDto', 'Required parameter requestParameters.roleDto was null or undefined when calling addRole.');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/ui/roles/v1",
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: (0, index_1.RoleDtoToJSON)(requestParameters.roleDto),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.RoleDtoFromJSON)(jsonValue); })];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* add role
|
|
109
|
+
*/
|
|
110
|
+
RolesApi.prototype.addRole = function (requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
112
|
+
var response;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0: return [4 /*yield*/, this.addRoleRaw(requestParameters, initOverrides)];
|
|
116
|
+
case 1:
|
|
117
|
+
response = _a.sent();
|
|
118
|
+
return [4 /*yield*/, response.value()];
|
|
119
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* delete a role
|
|
126
|
+
*/
|
|
127
|
+
RolesApi.prototype.deleteRoleRaw = function (requestParameters, initOverrides) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
129
|
+
var queryParameters, headerParameters, response;
|
|
130
|
+
return __generator(this, function (_a) {
|
|
131
|
+
switch (_a.label) {
|
|
132
|
+
case 0:
|
|
133
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
134
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deleteRole.');
|
|
135
|
+
}
|
|
136
|
+
queryParameters = {};
|
|
137
|
+
headerParameters = {};
|
|
138
|
+
return [4 /*yield*/, this.request({
|
|
139
|
+
path: "/ui/roles/v1/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
140
|
+
method: 'DELETE',
|
|
141
|
+
headers: headerParameters,
|
|
142
|
+
query: queryParameters,
|
|
143
|
+
}, initOverrides)];
|
|
144
|
+
case 1:
|
|
145
|
+
response = _a.sent();
|
|
146
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* delete a role
|
|
153
|
+
*/
|
|
154
|
+
RolesApi.prototype.deleteRole = function (requestParameters, initOverrides) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0: return [4 /*yield*/, this.deleteRoleRaw(requestParameters, initOverrides)];
|
|
159
|
+
case 1:
|
|
160
|
+
_a.sent();
|
|
161
|
+
return [2 /*return*/];
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* get roles
|
|
168
|
+
*/
|
|
169
|
+
RolesApi.prototype.getAllRolesRaw = function (requestParameters, initOverrides) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
171
|
+
var queryParameters, headerParameters, response;
|
|
172
|
+
return __generator(this, function (_a) {
|
|
173
|
+
switch (_a.label) {
|
|
174
|
+
case 0:
|
|
175
|
+
if (requestParameters.pageable === null || requestParameters.pageable === undefined) {
|
|
176
|
+
throw new runtime.RequiredError('pageable', 'Required parameter requestParameters.pageable was null or undefined when calling getAllRoles.');
|
|
177
|
+
}
|
|
178
|
+
queryParameters = {};
|
|
179
|
+
if (requestParameters.pageable !== undefined) {
|
|
180
|
+
queryParameters['pageable'] = requestParameters.pageable;
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters.filter) {
|
|
183
|
+
queryParameters['filter'] = requestParameters.filter;
|
|
184
|
+
}
|
|
185
|
+
headerParameters = {};
|
|
186
|
+
return [4 /*yield*/, this.request({
|
|
187
|
+
path: "/ui/roles/v1",
|
|
188
|
+
method: 'GET',
|
|
189
|
+
headers: headerParameters,
|
|
190
|
+
query: queryParameters,
|
|
191
|
+
}, initOverrides)];
|
|
192
|
+
case 1:
|
|
193
|
+
response = _a.sent();
|
|
194
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllRoles200ResponseFromJSON)(jsonValue); })];
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* get roles
|
|
201
|
+
*/
|
|
202
|
+
RolesApi.prototype.getAllRoles = function (requestParameters, initOverrides) {
|
|
203
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
204
|
+
var response;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
switch (_a.label) {
|
|
207
|
+
case 0: return [4 /*yield*/, this.getAllRolesRaw(requestParameters, initOverrides)];
|
|
208
|
+
case 1:
|
|
209
|
+
response = _a.sent();
|
|
210
|
+
return [4 /*yield*/, response.value()];
|
|
211
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* get role information
|
|
218
|
+
*/
|
|
219
|
+
RolesApi.prototype.getRoleRaw = function (requestParameters, initOverrides) {
|
|
220
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
221
|
+
var queryParameters, headerParameters, response;
|
|
222
|
+
return __generator(this, function (_a) {
|
|
223
|
+
switch (_a.label) {
|
|
224
|
+
case 0:
|
|
225
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
226
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling getRole.');
|
|
227
|
+
}
|
|
228
|
+
queryParameters = {};
|
|
229
|
+
headerParameters = {};
|
|
230
|
+
return [4 /*yield*/, this.request({
|
|
231
|
+
path: "/ui/roles/v1/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
232
|
+
method: 'GET',
|
|
233
|
+
headers: headerParameters,
|
|
234
|
+
query: queryParameters,
|
|
235
|
+
}, initOverrides)];
|
|
236
|
+
case 1:
|
|
237
|
+
response = _a.sent();
|
|
238
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.RoleDtoFromJSON)(jsonValue); })];
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* get role information
|
|
245
|
+
*/
|
|
246
|
+
RolesApi.prototype.getRole = function (requestParameters, initOverrides) {
|
|
247
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
248
|
+
var response;
|
|
249
|
+
return __generator(this, function (_a) {
|
|
250
|
+
switch (_a.label) {
|
|
251
|
+
case 0: return [4 /*yield*/, this.getRoleRaw(requestParameters, initOverrides)];
|
|
252
|
+
case 1:
|
|
253
|
+
response = _a.sent();
|
|
254
|
+
return [4 /*yield*/, response.value()];
|
|
255
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
});
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* update role
|
|
262
|
+
*/
|
|
263
|
+
RolesApi.prototype.updateRoleRaw = function (requestParameters, initOverrides) {
|
|
264
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
265
|
+
var queryParameters, headerParameters, response;
|
|
266
|
+
return __generator(this, function (_a) {
|
|
267
|
+
switch (_a.label) {
|
|
268
|
+
case 0:
|
|
269
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
270
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling updateRole.');
|
|
271
|
+
}
|
|
272
|
+
if (requestParameters.roleDto === null || requestParameters.roleDto === undefined) {
|
|
273
|
+
throw new runtime.RequiredError('roleDto', 'Required parameter requestParameters.roleDto was null or undefined when calling updateRole.');
|
|
274
|
+
}
|
|
275
|
+
queryParameters = {};
|
|
276
|
+
if (requestParameters.force !== undefined) {
|
|
277
|
+
queryParameters['force'] = requestParameters.force;
|
|
278
|
+
}
|
|
279
|
+
headerParameters = {};
|
|
280
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
281
|
+
return [4 /*yield*/, this.request({
|
|
282
|
+
path: "/ui/roles/v1/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
283
|
+
method: 'PUT',
|
|
284
|
+
headers: headerParameters,
|
|
285
|
+
query: queryParameters,
|
|
286
|
+
body: (0, index_1.RoleDtoToJSON)(requestParameters.roleDto),
|
|
287
|
+
}, initOverrides)];
|
|
288
|
+
case 1:
|
|
289
|
+
response = _a.sent();
|
|
290
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.RoleDtoFromJSON)(jsonValue); })];
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* update role
|
|
297
|
+
*/
|
|
298
|
+
RolesApi.prototype.updateRole = function (requestParameters, initOverrides) {
|
|
299
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
300
|
+
var response;
|
|
301
|
+
return __generator(this, function (_a) {
|
|
302
|
+
switch (_a.label) {
|
|
303
|
+
case 0: return [4 /*yield*/, this.updateRoleRaw(requestParameters, initOverrides)];
|
|
304
|
+
case 1:
|
|
305
|
+
response = _a.sent();
|
|
306
|
+
return [4 /*yield*/, response.value()];
|
|
307
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
};
|
|
312
|
+
return RolesApi;
|
|
313
|
+
}(runtime.BaseAPI));
|
|
314
|
+
exports.RolesApi = RolesApi;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.130.4
|
|
6
|
+
* Contact: info@kommerz.app
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { MessageDto } from '../models/index';
|
|
14
|
+
export interface CreateServiceDeskMessageRequest {
|
|
15
|
+
messageDto: MessageDto;
|
|
16
|
+
xCOLAMDATENANT?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export declare class ServiceDeskMessageApi extends runtime.BaseAPI {
|
|
22
|
+
/**
|
|
23
|
+
* Create a new service desk message
|
|
24
|
+
*/
|
|
25
|
+
createServiceDeskMessageRaw(requestParameters: CreateServiceDeskMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MessageDto>>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new service desk message
|
|
28
|
+
*/
|
|
29
|
+
createServiceDeskMessage(requestParameters: CreateServiceDeskMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageDto>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.130.4
|
|
9
|
+
* Contact: info@kommerz.app
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.ServiceDeskMessageApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var ServiceDeskMessageApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(ServiceDeskMessageApi, _super);
|
|
75
|
+
function ServiceDeskMessageApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Create a new service desk message
|
|
80
|
+
*/
|
|
81
|
+
ServiceDeskMessageApi.prototype.createServiceDeskMessageRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters.messageDto === null || requestParameters.messageDto === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('messageDto', 'Required parameter requestParameters.messageDto was null or undefined when calling createServiceDeskMessage.');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
if (requestParameters.xCOLAMDATENANT !== undefined && requestParameters.xCOLAMDATENANT !== null) {
|
|
94
|
+
headerParameters['X-COLAMDA-TENANT'] = String(requestParameters.xCOLAMDATENANT);
|
|
95
|
+
}
|
|
96
|
+
return [4 /*yield*/, this.request({
|
|
97
|
+
path: "/ui/service-desk/v1/messages",
|
|
98
|
+
method: 'POST',
|
|
99
|
+
headers: headerParameters,
|
|
100
|
+
query: queryParameters,
|
|
101
|
+
body: (0, index_1.MessageDtoToJSON)(requestParameters.messageDto),
|
|
102
|
+
}, initOverrides)];
|
|
103
|
+
case 1:
|
|
104
|
+
response = _a.sent();
|
|
105
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.MessageDtoFromJSON)(jsonValue); })];
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Create a new service desk message
|
|
112
|
+
*/
|
|
113
|
+
ServiceDeskMessageApi.prototype.createServiceDeskMessage = function (requestParameters, initOverrides) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
115
|
+
var response;
|
|
116
|
+
return __generator(this, function (_a) {
|
|
117
|
+
switch (_a.label) {
|
|
118
|
+
case 0: return [4 /*yield*/, this.createServiceDeskMessageRaw(requestParameters, initOverrides)];
|
|
119
|
+
case 1:
|
|
120
|
+
response = _a.sent();
|
|
121
|
+
return [4 /*yield*/, response.value()];
|
|
122
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
return ServiceDeskMessageApi;
|
|
128
|
+
}(runtime.BaseAPI));
|
|
129
|
+
exports.ServiceDeskMessageApi = ServiceDeskMessageApi;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.130.4
|
|
6
|
+
* Contact: info@kommerz.app
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { StatisticsDefinitionDto, StatisticsResponseDto } from '../models/index';
|
|
14
|
+
export interface CreateStatisticRequest {
|
|
15
|
+
statisticsDefinitionDto: Array<StatisticsDefinitionDto>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class StatisticsApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* generate statistics
|
|
23
|
+
*/
|
|
24
|
+
createStatisticRaw(requestParameters: CreateStatisticRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<StatisticsResponseDto>>>;
|
|
25
|
+
/**
|
|
26
|
+
* generate statistics
|
|
27
|
+
*/
|
|
28
|
+
createStatistic(requestParameters: CreateStatisticRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<StatisticsResponseDto>>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.130.4
|
|
9
|
+
* Contact: info@kommerz.app
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
+
function step(op) {
|
|
44
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
+
switch (op[0]) {
|
|
49
|
+
case 0: case 1: t = op; break;
|
|
50
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
+
default:
|
|
54
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
+
if (t[2]) _.ops.pop();
|
|
59
|
+
_.trys.pop(); continue;
|
|
60
|
+
}
|
|
61
|
+
op = body.call(thisArg, _);
|
|
62
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
+
exports.StatisticsApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var StatisticsApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(StatisticsApi, _super);
|
|
75
|
+
function StatisticsApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* generate statistics
|
|
80
|
+
*/
|
|
81
|
+
StatisticsApi.prototype.createStatisticRaw = function (requestParameters, initOverrides) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
+
var queryParameters, headerParameters, response;
|
|
84
|
+
return __generator(this, function (_a) {
|
|
85
|
+
switch (_a.label) {
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters.statisticsDefinitionDto === null || requestParameters.statisticsDefinitionDto === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('statisticsDefinitionDto', 'Required parameter requestParameters.statisticsDefinitionDto was null or undefined when calling createStatistic.');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/ui/statistics/v1/",
|
|
95
|
+
method: 'PUT',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: requestParameters.statisticsDefinitionDto.map(index_1.StatisticsDefinitionDtoToJSON),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.StatisticsResponseDtoFromJSON); })];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* generate statistics
|
|
109
|
+
*/
|
|
110
|
+
StatisticsApi.prototype.createStatistic = function (requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
112
|
+
var response;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0: return [4 /*yield*/, this.createStatisticRaw(requestParameters, initOverrides)];
|
|
116
|
+
case 1:
|
|
117
|
+
response = _a.sent();
|
|
118
|
+
return [4 /*yield*/, response.value()];
|
|
119
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
};
|
|
124
|
+
return StatisticsApi;
|
|
125
|
+
}(runtime.BaseAPI));
|
|
126
|
+
exports.StatisticsApi = StatisticsApi;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.130.4
|
|
6
|
+
* Contact: info@kommerz.app
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { FeatureDto } from '../models/index';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class SystemsFeaturesApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* get available features
|
|
20
|
+
*/
|
|
21
|
+
getFeaturesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<FeatureDto>>>;
|
|
22
|
+
/**
|
|
23
|
+
* get available features
|
|
24
|
+
*/
|
|
25
|
+
getFeatures(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FeatureDto>>;
|
|
26
|
+
}
|