@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.OkrObjectivesApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var OkrObjectivesApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(OkrObjectivesApi, _super);
|
|
75
|
+
function OkrObjectivesApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Create new a new objective
|
|
80
|
+
*/
|
|
81
|
+
OkrObjectivesApi.prototype.createObjectiveRaw = 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.okrObjectiveDto === null || requestParameters.okrObjectiveDto === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('okrObjectiveDto', 'Required parameter requestParameters.okrObjectiveDto was null or undefined when calling createObjective.');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/ui/okr/v1/objectives",
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: (0, index_1.OkrObjectiveDtoToJSON)(requestParameters.okrObjectiveDto),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.OkrObjectiveDtoFromJSON)(jsonValue); })];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Create new a new objective
|
|
109
|
+
*/
|
|
110
|
+
OkrObjectivesApi.prototype.createObjective = 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.createObjectiveRaw(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 single objective
|
|
126
|
+
*/
|
|
127
|
+
OkrObjectivesApi.prototype.deleteObjectiveRaw = 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 deleteObjective.');
|
|
135
|
+
}
|
|
136
|
+
queryParameters = {};
|
|
137
|
+
headerParameters = {};
|
|
138
|
+
return [4 /*yield*/, this.request({
|
|
139
|
+
path: "/ui/okr/v1/objectives/{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 single objective
|
|
153
|
+
*/
|
|
154
|
+
OkrObjectivesApi.prototype.deleteObjective = 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.deleteObjectiveRaw(requestParameters, initOverrides)];
|
|
159
|
+
case 1:
|
|
160
|
+
_a.sent();
|
|
161
|
+
return [2 /*return*/];
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* get all objectives
|
|
168
|
+
*/
|
|
169
|
+
OkrObjectivesApi.prototype.getAllObjectivesRaw = 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 getAllObjectives.');
|
|
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/okr/v1/objectives",
|
|
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.GetAllObjectives200ResponseFromJSON)(jsonValue); })];
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* get all objectives
|
|
201
|
+
*/
|
|
202
|
+
OkrObjectivesApi.prototype.getAllObjectives = 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.getAllObjectivesRaw(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 objective
|
|
218
|
+
*/
|
|
219
|
+
OkrObjectivesApi.prototype.getObjectiveRaw = 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 getObjective.');
|
|
227
|
+
}
|
|
228
|
+
queryParameters = {};
|
|
229
|
+
headerParameters = {};
|
|
230
|
+
return [4 /*yield*/, this.request({
|
|
231
|
+
path: "/ui/okr/v1/objectives/{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.OkrObjectiveDtoFromJSON)(jsonValue); })];
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* read one objective
|
|
245
|
+
*/
|
|
246
|
+
OkrObjectivesApi.prototype.getObjective = 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.getObjectiveRaw(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 an objective
|
|
262
|
+
*/
|
|
263
|
+
OkrObjectivesApi.prototype.updateObjectiveRaw = 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 updateObjective.');
|
|
271
|
+
}
|
|
272
|
+
if (requestParameters.okrObjectiveDto === null || requestParameters.okrObjectiveDto === undefined) {
|
|
273
|
+
throw new runtime.RequiredError('okrObjectiveDto', 'Required parameter requestParameters.okrObjectiveDto was null or undefined when calling updateObjective.');
|
|
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/okr/v1/objectives/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
283
|
+
method: 'PUT',
|
|
284
|
+
headers: headerParameters,
|
|
285
|
+
query: queryParameters,
|
|
286
|
+
body: (0, index_1.OkrObjectiveDtoToJSON)(requestParameters.okrObjectiveDto),
|
|
287
|
+
}, initOverrides)];
|
|
288
|
+
case 1:
|
|
289
|
+
response = _a.sent();
|
|
290
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.OkrObjectiveDtoFromJSON)(jsonValue); })];
|
|
291
|
+
}
|
|
292
|
+
});
|
|
293
|
+
});
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Update an objective
|
|
297
|
+
*/
|
|
298
|
+
OkrObjectivesApi.prototype.updateObjective = 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.updateObjectiveRaw(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 OkrObjectivesApi;
|
|
313
|
+
}(runtime.BaseAPI));
|
|
314
|
+
exports.OkrObjectivesApi = OkrObjectivesApi;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { PaymentUriResponseDto, ProductSelectionDto } from '../models/index';
|
|
14
|
+
export interface GetBuyProductLinkRequest {
|
|
15
|
+
productSelectionDto: ProductSelectionDto;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class PaymentBuyProductApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Buy a product
|
|
23
|
+
*/
|
|
24
|
+
getBuyProductLinkRaw(requestParameters: GetBuyProductLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentUriResponseDto>>;
|
|
25
|
+
/**
|
|
26
|
+
* Buy a product
|
|
27
|
+
*/
|
|
28
|
+
getBuyProductLink(requestParameters: GetBuyProductLinkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentUriResponseDto>;
|
|
29
|
+
/**
|
|
30
|
+
* Manage products
|
|
31
|
+
*/
|
|
32
|
+
getManageProductsLinkRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentUriResponseDto>>;
|
|
33
|
+
/**
|
|
34
|
+
* Manage products
|
|
35
|
+
*/
|
|
36
|
+
getManageProductsLink(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentUriResponseDto>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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.PaymentBuyProductApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var PaymentBuyProductApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(PaymentBuyProductApi, _super);
|
|
75
|
+
function PaymentBuyProductApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Buy a product
|
|
80
|
+
*/
|
|
81
|
+
PaymentBuyProductApi.prototype.getBuyProductLinkRaw = 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.productSelectionDto === null || requestParameters.productSelectionDto === undefined) {
|
|
88
|
+
throw new runtime.RequiredError('productSelectionDto', 'Required parameter requestParameters.productSelectionDto was null or undefined when calling getBuyProductLink.');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
return [4 /*yield*/, this.request({
|
|
94
|
+
path: "/ui/payments/v1",
|
|
95
|
+
method: 'POST',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
body: (0, index_1.ProductSelectionDtoToJSON)(requestParameters.productSelectionDto),
|
|
99
|
+
}, initOverrides)];
|
|
100
|
+
case 1:
|
|
101
|
+
response = _a.sent();
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaymentUriResponseDtoFromJSON)(jsonValue); })];
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Buy a product
|
|
109
|
+
*/
|
|
110
|
+
PaymentBuyProductApi.prototype.getBuyProductLink = 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.getBuyProductLinkRaw(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
|
+
* Manage products
|
|
126
|
+
*/
|
|
127
|
+
PaymentBuyProductApi.prototype.getManageProductsLinkRaw = function (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
|
+
queryParameters = {};
|
|
134
|
+
headerParameters = {};
|
|
135
|
+
return [4 /*yield*/, this.request({
|
|
136
|
+
path: "/ui/payments/v1",
|
|
137
|
+
method: 'GET',
|
|
138
|
+
headers: headerParameters,
|
|
139
|
+
query: queryParameters,
|
|
140
|
+
}, initOverrides)];
|
|
141
|
+
case 1:
|
|
142
|
+
response = _a.sent();
|
|
143
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaymentUriResponseDtoFromJSON)(jsonValue); })];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Manage products
|
|
150
|
+
*/
|
|
151
|
+
PaymentBuyProductApi.prototype.getManageProductsLink = function (initOverrides) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
153
|
+
var response;
|
|
154
|
+
return __generator(this, function (_a) {
|
|
155
|
+
switch (_a.label) {
|
|
156
|
+
case 0: return [4 /*yield*/, this.getManageProductsLinkRaw(initOverrides)];
|
|
157
|
+
case 1:
|
|
158
|
+
response = _a.sent();
|
|
159
|
+
return [4 /*yield*/, response.value()];
|
|
160
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
return PaymentBuyProductApi;
|
|
166
|
+
}(runtime.BaseAPI));
|
|
167
|
+
exports.PaymentBuyProductApi = PaymentBuyProductApi;
|
|
@@ -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 { ProductDto } from '../models/index';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class PaymentProductsApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* get all products
|
|
20
|
+
*/
|
|
21
|
+
getAllProductsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProductDto>>>;
|
|
22
|
+
/**
|
|
23
|
+
* get all products
|
|
24
|
+
*/
|
|
25
|
+
getAllProducts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProductDto>>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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.PaymentProductsApi = void 0;
|
|
68
|
+
var runtime = require("../runtime");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
var PaymentProductsApi = /** @class */ (function (_super) {
|
|
74
|
+
__extends(PaymentProductsApi, _super);
|
|
75
|
+
function PaymentProductsApi() {
|
|
76
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* get all products
|
|
80
|
+
*/
|
|
81
|
+
PaymentProductsApi.prototype.getAllProductsRaw = function (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
|
+
queryParameters = {};
|
|
88
|
+
headerParameters = {};
|
|
89
|
+
return [4 /*yield*/, this.request({
|
|
90
|
+
path: "/ui/payments/v1/products",
|
|
91
|
+
method: 'GET',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
}, initOverrides)];
|
|
95
|
+
case 1:
|
|
96
|
+
response = _a.sent();
|
|
97
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ProductDtoFromJSON); })];
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* get all products
|
|
104
|
+
*/
|
|
105
|
+
PaymentProductsApi.prototype.getAllProducts = function (initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
107
|
+
var response;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
110
|
+
case 0: return [4 /*yield*/, this.getAllProductsRaw(initOverrides)];
|
|
111
|
+
case 1:
|
|
112
|
+
response = _a.sent();
|
|
113
|
+
return [4 /*yield*/, response.value()];
|
|
114
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
};
|
|
119
|
+
return PaymentProductsApi;
|
|
120
|
+
}(runtime.BaseAPI));
|
|
121
|
+
exports.PaymentProductsApi = PaymentProductsApi;
|