@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.WorkHoursApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var WorkHoursApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(WorkHoursApi, _super);
|
|
75
|
+
function WorkHoursApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Create a new work hours entry
|
|
80
|
+
*/
|
|
81
|
+
WorkHoursApi.prototype.createWorkHoursRaw = 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.workHoursDto === null || requestParameters.workHoursDto === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('workHoursDto', 'Required parameter requestParameters.workHoursDto was null or undefined when calling createWorkHours.');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/ui/time-tracking/v1/work-hours",
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: (0, index_1.WorkHoursDtoToJSON)(requestParameters.workHoursDto),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.WorkHoursDtoFromJSON)(jsonValue); })];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Create a new work hours entry
|
|
109
|
+
*/
|
|
110
|
+
WorkHoursApi.prototype.createWorkHours = 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.createWorkHoursRaw(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 single work hours entry
|
|
126
|
+
*/
|
|
127
|
+
WorkHoursApi.prototype.deleteWorkHoursRaw = 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 deleteWorkHours.');
|
|
135
|
+
}
|
|
136
|
+
queryParameters = {};
|
|
137
|
+
headerParameters = {};
|
|
138
|
+
return [4 /*yield*/, this.request({
|
|
139
|
+
path: "/ui/time-tracking/v1/work-hours/{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 single work hours entry
|
|
153
|
+
*/
|
|
154
|
+
WorkHoursApi.prototype.deleteWorkHours = 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.deleteWorkHoursRaw(requestParameters, initOverrides)];
|
|
159
|
+
case 1:
|
|
160
|
+
_a.sent();
|
|
161
|
+
return [2 /*return*/];
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* get all work-hours
|
|
168
|
+
*/
|
|
169
|
+
WorkHoursApi.prototype.getAllWorkHoursRaw = 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 getAllWorkHours.');
|
|
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/time-tracking/v1/work-hours",
|
|
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.GetAllWorkHours200ResponseFromJSON)(jsonValue); })];
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* get all work-hours
|
|
201
|
+
*/
|
|
202
|
+
WorkHoursApi.prototype.getAllWorkHours = 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.getAllWorkHoursRaw(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
|
+
* read one work hours entry
|
|
218
|
+
*/
|
|
219
|
+
WorkHoursApi.prototype.getWorkHoursRaw = 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 getWorkHours.');
|
|
227
|
+
}
|
|
228
|
+
queryParameters = {};
|
|
229
|
+
headerParameters = {};
|
|
230
|
+
return [4 /*yield*/, this.request({
|
|
231
|
+
path: "/ui/time-tracking/v1/work-hours/{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.WorkHoursDtoFromJSON)(jsonValue); })];
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* read one work hours entry
|
|
245
|
+
*/
|
|
246
|
+
WorkHoursApi.prototype.getWorkHours = 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.getWorkHoursRaw(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 a work hours entry
|
|
262
|
+
*/
|
|
263
|
+
WorkHoursApi.prototype.updateWorkHoursRaw = 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 updateWorkHours.');
|
|
271
|
+
}
|
|
272
|
+
if (requestParameters.workHoursDto === null || requestParameters.workHoursDto === undefined) {
|
|
273
|
+
throw new runtime.RequiredError('workHoursDto', 'Required parameter requestParameters.workHoursDto was null or undefined when calling updateWorkHours.');
|
|
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/time-tracking/v1/work-hours/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
283
|
+
method: 'PUT',
|
|
284
|
+
headers: headerParameters,
|
|
285
|
+
query: queryParameters,
|
|
286
|
+
body: (0, index_1.WorkHoursDtoToJSON)(requestParameters.workHoursDto),
|
|
287
|
+
}, initOverrides)];
|
|
288
|
+
case 1:
|
|
289
|
+
response = _a.sent();
|
|
290
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.WorkHoursDtoFromJSON)(jsonValue); })];
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Update a work hours entry
|
|
297
|
+
*/
|
|
298
|
+
WorkHoursApi.prototype.updateWorkHours = 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.updateWorkHoursRaw(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 WorkHoursApi;
|
|
313
|
+
}(runtime.BaseAPI));
|
|
314
|
+
exports.WorkHoursApi = WorkHoursApi;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export * from './AbsenceEntriesApi';
|
|
2
|
+
export * from './AbsenceTypesApi';
|
|
3
|
+
export * from './AccountingCentersApi';
|
|
4
|
+
export * from './AccountingLedgersApi';
|
|
5
|
+
export * from './AccountingReceiptsApi';
|
|
6
|
+
export * from './AccountingSettlementsApi';
|
|
7
|
+
export * from './AccountingStatementsApi';
|
|
8
|
+
export * from './AccountingTransactionsApi';
|
|
9
|
+
export * from './AccountingTurnoversApi';
|
|
10
|
+
export * from './ActivitiesApi';
|
|
11
|
+
export * from './ApprovalEntriesApi';
|
|
12
|
+
export * from './ApprovalEntriesApproveApi';
|
|
13
|
+
export * from './ApprovalTypesApi';
|
|
14
|
+
export * from './BankingAccountsApi';
|
|
15
|
+
export * from './BankingInstitutesApi';
|
|
16
|
+
export * from './BankingRegistrationsApi';
|
|
17
|
+
export * from './CalendarEntriesApi';
|
|
18
|
+
export * from './CalendarEntryTypesApi';
|
|
19
|
+
export * from './CommentsApi';
|
|
20
|
+
export * from './ConfigurationsApi';
|
|
21
|
+
export * from './CustomersApi';
|
|
22
|
+
export * from './CustomersBankdetailsApi';
|
|
23
|
+
export * from './DesignTemplatesApi';
|
|
24
|
+
export * from './DocumentTemplatesApi';
|
|
25
|
+
export * from './FileDirectoriesApi';
|
|
26
|
+
export * from './FileDirectorySharesApi';
|
|
27
|
+
export * from './FileTagsApi';
|
|
28
|
+
export * from './FilesApi';
|
|
29
|
+
export * from './HolidaysApi';
|
|
30
|
+
export * from './HospitalityReceiptsApi';
|
|
31
|
+
export * from './IdentifiersApi';
|
|
32
|
+
export * from './InboxEmailsApi';
|
|
33
|
+
export * from './InvoicesApi';
|
|
34
|
+
export * from './KanbanBoardsApi';
|
|
35
|
+
export * from './KanbanCardsApi';
|
|
36
|
+
export * from './KanbanColumnsApi';
|
|
37
|
+
export * from './MentionsApi';
|
|
38
|
+
export * from './NotificationTargetsApi';
|
|
39
|
+
export * from './NotificationsApi';
|
|
40
|
+
export * from './NotificationsAcksApi';
|
|
41
|
+
export * from './OffersApi';
|
|
42
|
+
export * from './OkrKeyresultsApi';
|
|
43
|
+
export * from './OkrObjectivesApi';
|
|
44
|
+
export * from './PaymentBuyProductApi';
|
|
45
|
+
export * from './PaymentProductsApi';
|
|
46
|
+
export * from './PaymentSubscriptionsApi';
|
|
47
|
+
export * from './PaymentsPaymentsApi';
|
|
48
|
+
export * from './PresenceEntriesApi';
|
|
49
|
+
export * from './PresenceTypesApi';
|
|
50
|
+
export * from './RolesApi';
|
|
51
|
+
export * from './ServiceDeskMessageApi';
|
|
52
|
+
export * from './StatisticsApi';
|
|
53
|
+
export * from './SystemsFeaturesApi';
|
|
54
|
+
export * from './SystemsTimesApi';
|
|
55
|
+
export * from './TenantsApi';
|
|
56
|
+
export * from './TenantsValidationApi';
|
|
57
|
+
export * from './TestApi';
|
|
58
|
+
export * from './TextModulesApi';
|
|
59
|
+
export * from './TimeTrackingCalendarApi';
|
|
60
|
+
export * from './TimeTrackingCalendarExportApi';
|
|
61
|
+
export * from './UnitsApi';
|
|
62
|
+
export * from './UsageMonitorApi';
|
|
63
|
+
export * from './UserPermissionsApi';
|
|
64
|
+
export * from './UserTenantsApi';
|
|
65
|
+
export * from './UsersApi';
|
|
66
|
+
export * from './UsersMeApi';
|
|
67
|
+
export * from './UsersRegisterApi';
|
|
68
|
+
export * from './ValidationApi';
|
|
69
|
+
export * from './WikiApi';
|
|
70
|
+
export * from './WikiPagesApi';
|
|
71
|
+
export * from './WorkHoursApi';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AbsenceEntriesApi"), exports);
|
|
20
|
+
__exportStar(require("./AbsenceTypesApi"), exports);
|
|
21
|
+
__exportStar(require("./AccountingCentersApi"), exports);
|
|
22
|
+
__exportStar(require("./AccountingLedgersApi"), exports);
|
|
23
|
+
__exportStar(require("./AccountingReceiptsApi"), exports);
|
|
24
|
+
__exportStar(require("./AccountingSettlementsApi"), exports);
|
|
25
|
+
__exportStar(require("./AccountingStatementsApi"), exports);
|
|
26
|
+
__exportStar(require("./AccountingTransactionsApi"), exports);
|
|
27
|
+
__exportStar(require("./AccountingTurnoversApi"), exports);
|
|
28
|
+
__exportStar(require("./ActivitiesApi"), exports);
|
|
29
|
+
__exportStar(require("./ApprovalEntriesApi"), exports);
|
|
30
|
+
__exportStar(require("./ApprovalEntriesApproveApi"), exports);
|
|
31
|
+
__exportStar(require("./ApprovalTypesApi"), exports);
|
|
32
|
+
__exportStar(require("./BankingAccountsApi"), exports);
|
|
33
|
+
__exportStar(require("./BankingInstitutesApi"), exports);
|
|
34
|
+
__exportStar(require("./BankingRegistrationsApi"), exports);
|
|
35
|
+
__exportStar(require("./CalendarEntriesApi"), exports);
|
|
36
|
+
__exportStar(require("./CalendarEntryTypesApi"), exports);
|
|
37
|
+
__exportStar(require("./CommentsApi"), exports);
|
|
38
|
+
__exportStar(require("./ConfigurationsApi"), exports);
|
|
39
|
+
__exportStar(require("./CustomersApi"), exports);
|
|
40
|
+
__exportStar(require("./CustomersBankdetailsApi"), exports);
|
|
41
|
+
__exportStar(require("./DesignTemplatesApi"), exports);
|
|
42
|
+
__exportStar(require("./DocumentTemplatesApi"), exports);
|
|
43
|
+
__exportStar(require("./FileDirectoriesApi"), exports);
|
|
44
|
+
__exportStar(require("./FileDirectorySharesApi"), exports);
|
|
45
|
+
__exportStar(require("./FileTagsApi"), exports);
|
|
46
|
+
__exportStar(require("./FilesApi"), exports);
|
|
47
|
+
__exportStar(require("./HolidaysApi"), exports);
|
|
48
|
+
__exportStar(require("./HospitalityReceiptsApi"), exports);
|
|
49
|
+
__exportStar(require("./IdentifiersApi"), exports);
|
|
50
|
+
__exportStar(require("./InboxEmailsApi"), exports);
|
|
51
|
+
__exportStar(require("./InvoicesApi"), exports);
|
|
52
|
+
__exportStar(require("./KanbanBoardsApi"), exports);
|
|
53
|
+
__exportStar(require("./KanbanCardsApi"), exports);
|
|
54
|
+
__exportStar(require("./KanbanColumnsApi"), exports);
|
|
55
|
+
__exportStar(require("./MentionsApi"), exports);
|
|
56
|
+
__exportStar(require("./NotificationTargetsApi"), exports);
|
|
57
|
+
__exportStar(require("./NotificationsApi"), exports);
|
|
58
|
+
__exportStar(require("./NotificationsAcksApi"), exports);
|
|
59
|
+
__exportStar(require("./OffersApi"), exports);
|
|
60
|
+
__exportStar(require("./OkrKeyresultsApi"), exports);
|
|
61
|
+
__exportStar(require("./OkrObjectivesApi"), exports);
|
|
62
|
+
__exportStar(require("./PaymentBuyProductApi"), exports);
|
|
63
|
+
__exportStar(require("./PaymentProductsApi"), exports);
|
|
64
|
+
__exportStar(require("./PaymentSubscriptionsApi"), exports);
|
|
65
|
+
__exportStar(require("./PaymentsPaymentsApi"), exports);
|
|
66
|
+
__exportStar(require("./PresenceEntriesApi"), exports);
|
|
67
|
+
__exportStar(require("./PresenceTypesApi"), exports);
|
|
68
|
+
__exportStar(require("./RolesApi"), exports);
|
|
69
|
+
__exportStar(require("./ServiceDeskMessageApi"), exports);
|
|
70
|
+
__exportStar(require("./StatisticsApi"), exports);
|
|
71
|
+
__exportStar(require("./SystemsFeaturesApi"), exports);
|
|
72
|
+
__exportStar(require("./SystemsTimesApi"), exports);
|
|
73
|
+
__exportStar(require("./TenantsApi"), exports);
|
|
74
|
+
__exportStar(require("./TenantsValidationApi"), exports);
|
|
75
|
+
__exportStar(require("./TestApi"), exports);
|
|
76
|
+
__exportStar(require("./TextModulesApi"), exports);
|
|
77
|
+
__exportStar(require("./TimeTrackingCalendarApi"), exports);
|
|
78
|
+
__exportStar(require("./TimeTrackingCalendarExportApi"), exports);
|
|
79
|
+
__exportStar(require("./UnitsApi"), exports);
|
|
80
|
+
__exportStar(require("./UsageMonitorApi"), exports);
|
|
81
|
+
__exportStar(require("./UserPermissionsApi"), exports);
|
|
82
|
+
__exportStar(require("./UserTenantsApi"), exports);
|
|
83
|
+
__exportStar(require("./UsersApi"), exports);
|
|
84
|
+
__exportStar(require("./UsersMeApi"), exports);
|
|
85
|
+
__exportStar(require("./UsersRegisterApi"), exports);
|
|
86
|
+
__exportStar(require("./ValidationApi"), exports);
|
|
87
|
+
__exportStar(require("./WikiApi"), exports);
|
|
88
|
+
__exportStar(require("./WikiPagesApi"), exports);
|
|
89
|
+
__exportStar(require("./WorkHoursApi"), exports);
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./runtime"), exports);
|
|
20
|
+
__exportStar(require("./apis/index"), exports);
|
|
21
|
+
__exportStar(require("./models/index"), exports);
|
|
@@ -0,0 +1,74 @@
|
|
|
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 type { FileDto } from './FileDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AbsenceEntryDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AbsenceEntryDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AbsenceEntryDto
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof AbsenceEntryDto
|
|
29
|
+
*/
|
|
30
|
+
version?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AbsenceEntryDto
|
|
35
|
+
*/
|
|
36
|
+
userId?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AbsenceEntryDto
|
|
41
|
+
*/
|
|
42
|
+
typeId: string;
|
|
43
|
+
/**
|
|
44
|
+
* start date-time of the event
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof AbsenceEntryDto
|
|
47
|
+
*/
|
|
48
|
+
date?: Date;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<Date>}
|
|
52
|
+
* @memberof AbsenceEntryDto
|
|
53
|
+
*/
|
|
54
|
+
dates: Array<Date>;
|
|
55
|
+
/**
|
|
56
|
+
* single line summary of event
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AbsenceEntryDto
|
|
59
|
+
*/
|
|
60
|
+
comment?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<FileDto>}
|
|
64
|
+
* @memberof AbsenceEntryDto
|
|
65
|
+
*/
|
|
66
|
+
attachments?: Array<FileDto>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the AbsenceEntryDto interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfAbsenceEntryDto(value: object): boolean;
|
|
72
|
+
export declare function AbsenceEntryDtoFromJSON(json: any): AbsenceEntryDto;
|
|
73
|
+
export declare function AbsenceEntryDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AbsenceEntryDto;
|
|
74
|
+
export declare function AbsenceEntryDtoToJSON(value?: AbsenceEntryDto | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AbsenceEntryDtoToJSON = exports.AbsenceEntryDtoFromJSONTyped = exports.AbsenceEntryDtoFromJSON = exports.instanceOfAbsenceEntryDto = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var FileDto_1 = require("./FileDto");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AbsenceEntryDto interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfAbsenceEntryDto(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "typeId" in value;
|
|
25
|
+
isInstance = isInstance && "dates" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfAbsenceEntryDto = instanceOfAbsenceEntryDto;
|
|
29
|
+
function AbsenceEntryDtoFromJSON(json) {
|
|
30
|
+
return AbsenceEntryDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.AbsenceEntryDtoFromJSON = AbsenceEntryDtoFromJSON;
|
|
33
|
+
function AbsenceEntryDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
39
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
40
|
+
'userId': !(0, runtime_1.exists)(json, 'userId') ? undefined : json['userId'],
|
|
41
|
+
'typeId': json['typeId'],
|
|
42
|
+
'date': !(0, runtime_1.exists)(json, 'date') ? undefined : (new Date(json['date'])),
|
|
43
|
+
'dates': json['dates'],
|
|
44
|
+
'comment': !(0, runtime_1.exists)(json, 'comment') ? undefined : json['comment'],
|
|
45
|
+
'attachments': !(0, runtime_1.exists)(json, 'attachments') ? undefined : (json['attachments'].map(FileDto_1.FileDtoFromJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.AbsenceEntryDtoFromJSONTyped = AbsenceEntryDtoFromJSONTyped;
|
|
49
|
+
function AbsenceEntryDtoToJSON(value) {
|
|
50
|
+
if (value === undefined) {
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
if (value === null) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value.id,
|
|
58
|
+
'version': value.version,
|
|
59
|
+
'userId': value.userId,
|
|
60
|
+
'typeId': value.typeId,
|
|
61
|
+
'date': value.date === undefined ? undefined : (value.date.toISOString().substring(0, 10)),
|
|
62
|
+
'dates': value.dates,
|
|
63
|
+
'comment': value.comment,
|
|
64
|
+
'attachments': value.attachments === undefined ? undefined : (value.attachments.map(FileDto_1.FileDtoToJSON)),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.AbsenceEntryDtoToJSON = AbsenceEntryDtoToJSON;
|