@kommerz/ts-client 1.184.1 → 1.186.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AbsenceEntriesApi.d.ts +80 -3
- package/dist/apis/AbsenceEntriesApi.js +271 -165
- package/dist/apis/AbsenceTypesApi.d.ts +47 -1
- package/dist/apis/AbsenceTypesApi.js +160 -94
- package/dist/apis/AcceptanceDocumentsApi.d.ts +51 -1
- package/dist/apis/AcceptanceDocumentsApi.js +165 -98
- package/dist/apis/AcceptancePortalDocumentsApi.d.ts +42 -3
- package/dist/apis/AcceptancePortalDocumentsApi.js +131 -77
- package/dist/apis/AccessTokensApi.d.ts +47 -1
- package/dist/apis/AccessTokensApi.js +160 -94
- package/dist/apis/AccountingCentersApi.d.ts +40 -1
- package/dist/apis/AccountingCentersApi.js +151 -85
- package/dist/apis/AccountingLedgersApi.d.ts +68 -1
- package/dist/apis/AccountingLedgersApi.js +222 -142
- package/dist/apis/AccountingReceiptsApi.d.ts +51 -1
- package/dist/apis/AccountingReceiptsApi.js +181 -115
- package/dist/apis/AccountingSettlementsApi.d.ts +47 -1
- package/dist/apis/AccountingSettlementsApi.js +160 -94
- package/dist/apis/AccountingStatementsApi.d.ts +34 -1
- package/dist/apis/AccountingStatementsApi.js +92 -65
- package/dist/apis/AccountingTransactionsApi.d.ts +47 -1
- package/dist/apis/AccountingTransactionsApi.js +160 -94
- package/dist/apis/AccountingTurnoversApi.d.ts +66 -1
- package/dist/apis/AccountingTurnoversApi.js +183 -117
- package/dist/apis/ActivitiesApi.d.ts +20 -1
- package/dist/apis/ActivitiesApi.js +65 -38
- package/dist/apis/ApprovalEntriesApi.d.ts +47 -1
- package/dist/apis/ApprovalEntriesApi.js +160 -94
- package/dist/apis/ApprovalEntriesApproveApi.d.ts +29 -1
- package/dist/apis/ApprovalEntriesApproveApi.js +100 -61
- package/dist/apis/ApprovalTypesApi.d.ts +47 -1
- package/dist/apis/ApprovalTypesApi.js +160 -94
- package/dist/apis/BankingAccountsApi.d.ts +64 -1
- package/dist/apis/BankingAccountsApi.js +201 -121
- package/dist/apis/BankingInstitutesApi.d.ts +5 -1
- package/dist/apis/BankingInstitutesApi.js +26 -13
- package/dist/apis/BankingRegistrationsApi.d.ts +56 -1
- package/dist/apis/BankingRegistrationsApi.js +187 -106
- package/dist/apis/CalendarEntriesApi.d.ts +47 -1
- package/dist/apis/CalendarEntriesApi.js +160 -94
- package/dist/apis/CalendarEntryTypesApi.d.ts +47 -1
- package/dist/apis/CalendarEntryTypesApi.js +160 -94
- package/dist/apis/CalendarPortalApi.d.ts +25 -1
- package/dist/apis/CalendarPortalApi.js +73 -46
- package/dist/apis/CommentsApi.d.ts +64 -1
- package/dist/apis/CommentsApi.js +224 -132
- package/dist/apis/ConfigurationsApi.d.ts +47 -1
- package/dist/apis/ConfigurationsApi.js +160 -94
- package/dist/apis/ContractStatusApi.d.ts +47 -1
- package/dist/apis/ContractStatusApi.js +160 -94
- package/dist/apis/ContractTypesApi.d.ts +47 -1
- package/dist/apis/ContractTypesApi.js +160 -94
- package/dist/apis/ContractsApi.d.ts +47 -1
- package/dist/apis/ContractsApi.js +160 -94
- package/dist/apis/CustomersApi.d.ts +47 -1
- package/dist/apis/CustomersApi.js +160 -94
- package/dist/apis/CustomersBankdetailsApi.d.ts +62 -1
- package/dist/apis/CustomersBankdetailsApi.js +180 -114
- package/dist/apis/DataTableRowsApi.d.ts +66 -1
- package/dist/apis/DataTableRowsApi.js +183 -117
- package/dist/apis/DataTablesApi.d.ts +60 -3
- package/dist/apis/DataTablesApi.js +194 -115
- package/dist/apis/DecisionTablesApi.d.ts +47 -1
- package/dist/apis/DecisionTablesApi.js +160 -94
- package/dist/apis/DeliveryNotesApi.d.ts +70 -3
- package/dist/apis/DeliveryNotesApi.js +246 -141
- package/dist/apis/DesignTemplatesApi.d.ts +47 -1
- package/dist/apis/DesignTemplatesApi.js +160 -94
- package/dist/apis/DocumentTemplatesApi.d.ts +47 -1
- package/dist/apis/DocumentTemplatesApi.js +160 -94
- package/dist/apis/DubbingPortalApi.d.ts +25 -1
- package/dist/apis/DubbingPortalApi.js +84 -57
- package/dist/apis/DunningLettersApi.d.ts +63 -3
- package/dist/apis/DunningLettersApi.js +217 -125
- package/dist/apis/EditorTypeApi.d.ts +47 -1
- package/dist/apis/EditorTypeApi.js +160 -94
- package/dist/apis/FileDirectoriesApi.d.ts +93 -5
- package/dist/apis/FileDirectoriesApi.js +272 -158
- package/dist/apis/FileDirectorySharesApi.d.ts +106 -5
- package/dist/apis/FileDirectorySharesApi.js +336 -203
- package/dist/apis/FileTagsApi.d.ts +47 -1
- package/dist/apis/FileTagsApi.js +160 -94
- package/dist/apis/FileUploadsApi.d.ts +34 -1
- package/dist/apis/FileUploadsApi.js +123 -81
- package/dist/apis/FilesApi.d.ts +63 -3
- package/dist/apis/FilesApi.js +194 -127
- package/dist/apis/FormsPortalApi.d.ts +19 -1
- package/dist/apis/FormsPortalApi.js +64 -37
- package/dist/apis/HolidaysApi.d.ts +47 -1
- package/dist/apis/HolidaysApi.js +160 -94
- package/dist/apis/HospitalityReceiptsApi.d.ts +100 -5
- package/dist/apis/HospitalityReceiptsApi.js +336 -203
- package/dist/apis/IdentifiersApi.d.ts +51 -1
- package/dist/apis/IdentifiersApi.js +185 -106
- package/dist/apis/InboxEmailsApi.d.ts +35 -2
- package/dist/apis/InboxEmailsApi.js +123 -70
- package/dist/apis/InvoicePortalApi.d.ts +53 -0
- package/dist/apis/InvoicePortalApi.js +201 -0
- package/dist/apis/InvoicesApi.d.ts +131 -5
- package/dist/apis/InvoicesApi.js +417 -202
- package/dist/apis/JobsApi.d.ts +27 -1
- package/dist/apis/JobsApi.js +93 -53
- package/dist/apis/KanbanBoardsApi.d.ts +47 -1
- package/dist/apis/KanbanBoardsApi.js +160 -94
- package/dist/apis/KanbanCardsApi.d.ts +62 -1
- package/dist/apis/KanbanCardsApi.js +180 -114
- package/dist/apis/KanbanColumnsApi.d.ts +62 -1
- package/dist/apis/KanbanColumnsApi.js +180 -114
- package/dist/apis/MentionsApi.d.ts +34 -1
- package/dist/apis/MentionsApi.js +121 -68
- package/dist/apis/NotificationTargetsApi.d.ts +30 -1
- package/dist/apis/NotificationTargetsApi.js +120 -67
- package/dist/apis/NotificationsAcksApi.d.ts +15 -1
- package/dist/apis/NotificationsAcksApi.js +58 -32
- package/dist/apis/NotificationsApi.d.ts +27 -1
- package/dist/apis/NotificationsApi.js +93 -53
- package/dist/apis/OffersApi.d.ts +82 -3
- package/dist/apis/OffersApi.js +282 -162
- package/dist/apis/OkrKeyresultsApi.d.ts +62 -1
- package/dist/apis/OkrKeyresultsApi.js +180 -114
- package/dist/apis/OkrObjectivesApi.d.ts +47 -1
- package/dist/apis/OkrObjectivesApi.js +160 -94
- package/dist/apis/PaymentBuyProductApi.d.ts +13 -1
- package/dist/apis/PaymentBuyProductApi.js +57 -30
- package/dist/apis/PaymentProductsApi.d.ts +5 -1
- package/dist/apis/PaymentProductsApi.js +26 -13
- package/dist/apis/PaymentSubscriptionsApi.d.ts +28 -1
- package/dist/apis/PaymentSubscriptionsApi.js +95 -54
- package/dist/apis/PaymentsPaymentsApi.d.ts +12 -1
- package/dist/apis/PaymentsPaymentsApi.js +35 -22
- package/dist/apis/PresenceEntriesApi.d.ts +51 -1
- package/dist/apis/PresenceEntriesApi.js +185 -106
- package/dist/apis/PresenceTypesApi.d.ts +47 -1
- package/dist/apis/PresenceTypesApi.js +160 -94
- package/dist/apis/ProductsApi.d.ts +47 -1
- package/dist/apis/ProductsApi.js +160 -94
- package/dist/apis/ReferencesApi.d.ts +30 -1
- package/dist/apis/ReferencesApi.js +100 -60
- package/dist/apis/RolesApi.d.ts +49 -3
- package/dist/apis/RolesApi.js +160 -94
- package/dist/apis/ServiceDeskMessageApi.d.ts +11 -1
- package/dist/apis/ServiceDeskMessageApi.js +34 -21
- package/dist/apis/StatisticsApi.d.ts +9 -1
- package/dist/apis/StatisticsApi.js +32 -18
- package/dist/apis/SystemsFeaturesApi.d.ts +5 -1
- package/dist/apis/SystemsFeaturesApi.js +26 -13
- package/dist/apis/SystemsTimesApi.d.ts +5 -1
- package/dist/apis/SystemsTimesApi.js +26 -13
- package/dist/apis/TagRelationsApi.d.ts +48 -1
- package/dist/apis/TagRelationsApi.js +162 -95
- package/dist/apis/TagsApi.d.ts +61 -1
- package/dist/apis/TagsApi.js +199 -119
- package/dist/apis/TenantsApi.d.ts +131 -3
- package/dist/apis/TenantsApi.js +447 -235
- package/dist/apis/TenantsOwnerAdditionApi.d.ts +37 -0
- package/dist/apis/TenantsOwnerAdditionApi.js +139 -0
- package/dist/apis/TenantsValidationApi.d.ts +17 -1
- package/dist/apis/TenantsValidationApi.js +63 -37
- package/dist/apis/TestApi.d.ts +22 -1
- package/dist/apis/TestApi.js +66 -39
- package/dist/apis/TextModulesApi.d.ts +47 -1
- package/dist/apis/TextModulesApi.js +160 -94
- package/dist/apis/TimeTrackingCalendarApi.d.ts +24 -1
- package/dist/apis/TimeTrackingCalendarApi.js +69 -43
- package/dist/apis/TimeTrackingCalendarExportApi.d.ts +18 -2
- package/dist/apis/TimeTrackingCalendarExportApi.js +42 -29
- package/dist/apis/UnitsApi.d.ts +47 -1
- package/dist/apis/UnitsApi.js +160 -94
- package/dist/apis/UsageMonitorApi.d.ts +5 -1
- package/dist/apis/UsageMonitorApi.js +26 -13
- package/dist/apis/UserPermissionsApi.d.ts +25 -1
- package/dist/apis/UserPermissionsApi.js +92 -53
- package/dist/apis/UserTenantsApi.d.ts +25 -1
- package/dist/apis/UserTenantsApi.js +85 -13
- package/dist/apis/UsersApi.d.ts +27 -1
- package/dist/apis/UsersApi.js +93 -53
- package/dist/apis/UsersMeApi.d.ts +41 -1
- package/dist/apis/UsersMeApi.js +201 -53
- package/dist/apis/UsersRegisterApi.d.ts +8 -1
- package/dist/apis/UsersRegisterApi.js +30 -17
- package/dist/apis/ValidationApi.d.ts +22 -1
- package/dist/apis/ValidationApi.js +89 -50
- package/dist/apis/WikiApi.d.ts +47 -1
- package/dist/apis/WikiApi.js +160 -94
- package/dist/apis/WikiPagesApi.d.ts +65 -1
- package/dist/apis/WikiPagesApi.js +183 -117
- package/dist/apis/WorkHoursApi.d.ts +47 -1
- package/dist/apis/WorkHoursApi.js +160 -94
- package/dist/apis/WorkflowExecutionsApi.d.ts +26 -1
- package/dist/apis/WorkflowExecutionsApi.js +73 -46
- package/dist/apis/WorkflowExternalTasksApi.d.ts +62 -1
- package/dist/apis/WorkflowExternalTasksApi.js +181 -115
- package/dist/apis/WorkflowProcessesApi.d.ts +41 -1
- package/dist/apis/WorkflowProcessesApi.js +152 -86
- package/dist/apis/WorkflowsApi.d.ts +98 -1
- package/dist/apis/WorkflowsApi.js +347 -200
- package/dist/apis/WritingsApi.d.ts +63 -3
- package/dist/apis/WritingsApi.js +217 -125
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AbsenceEntryDto.d.ts +0 -16
- package/dist/models/AbsenceTypeDto.d.ts +0 -12
- package/dist/models/AcceptanceDocumentDto.d.ts +0 -28
- package/dist/models/AcceptanceDocumentDto.js +6 -5
- package/dist/models/AcceptanceDocumentLogEntry.d.ts +0 -6
- package/dist/models/AcceptanceDocumentLogEntry.js +3 -2
- package/dist/models/AcceptanceDocumentLogEntryData.d.ts +0 -4
- package/dist/models/AcceptanceDocumentLogEntryData.js +1 -1
- package/dist/models/AcceptanceDocumentRecipientInfo.d.ts +0 -4
- package/dist/models/AcceptanceDocumentSenderInfo.d.ts +0 -6
- package/dist/models/AcceptancePortalAcceptDto.d.ts +0 -12
- package/dist/models/AcceptancePortalSendConfigDto.d.ts +0 -8
- package/dist/models/AcceptancePortalShareConfigDto.d.ts +0 -18
- package/dist/models/AccessTokenDto.d.ts +0 -16
- package/dist/models/AccessTokenDto.js +3 -2
- package/dist/models/AccountDeletionPreviewDto.d.ts +30 -0
- package/dist/models/AccountDeletionPreviewDto.js +51 -0
- package/dist/models/AccountDeletionTenantDto.d.ts +37 -0
- package/dist/models/AccountDeletionTenantDto.js +58 -0
- package/dist/models/AccountingCenterDto.d.ts +0 -18
- package/dist/models/AccountingCenterDto.js +1 -1
- package/dist/models/AccountingChartType.js +1 -1
- package/dist/models/AccountingConfigDto.d.ts +0 -2
- package/dist/models/AccountingLedgerCustomData.d.ts +0 -4
- package/dist/models/AccountingLedgerDto.d.ts +0 -36
- package/dist/models/AccountingLedgerImportType.js +1 -1
- package/dist/models/AccountingLedgerType.js +1 -1
- package/dist/models/AccountingReceiptDetailsDto.d.ts +13 -26
- package/dist/models/AccountingReceiptDetailsDto.js +7 -0
- package/dist/models/AccountingReceiptDetailsSource.d.ts +25 -0
- package/dist/models/AccountingReceiptDetailsSource.js +51 -0
- package/dist/models/AccountingReceiptDto.d.ts +0 -30
- package/dist/models/AccountingReceiptItemDto.d.ts +4 -12
- package/dist/models/AccountingReceiptItemDto.js +2 -0
- package/dist/models/AccountingReceiptLegalEntityDto.d.ts +20 -24
- package/dist/models/AccountingReceiptLegalEntityDto.js +10 -0
- package/dist/models/AccountingReceiptMetaDataDto.d.ts +0 -4
- package/dist/models/AccountingReceiptType.js +1 -1
- package/dist/models/AccountingScheduleDto.d.ts +0 -12
- package/dist/models/AccountingScheduleDto.js +7 -6
- package/dist/models/AccountingSettlementDto.d.ts +0 -14
- package/dist/models/AccountingSettlementDto.js +7 -6
- package/dist/models/AccountingSplitDto.d.ts +0 -12
- package/dist/models/AccountingSplitPair.d.ts +0 -10
- package/dist/models/AccountingTransactionDto.d.ts +0 -16
- package/dist/models/AccountingTransactionDto.js +3 -2
- package/dist/models/AccountingTransactionStatus.js +1 -1
- package/dist/models/AccountingTransactionTemplateDto.d.ts +0 -2
- package/dist/models/AccountingTurnoverDto.d.ts +0 -6
- package/dist/models/AcknowledgeNotificationsDto.d.ts +0 -2
- package/dist/models/ActivityDto.d.ts +0 -18
- package/dist/models/ActivityDto.js +3 -2
- package/dist/models/ActivityReferenceDto.d.ts +0 -12
- package/dist/models/ActivityType.js +1 -1
- package/dist/models/AddressDto.d.ts +0 -12
- package/dist/models/AmountDto.d.ts +0 -4
- package/dist/models/ApprovalDecisionEnum.js +1 -1
- package/dist/models/ApprovalEntryDto.d.ts +0 -20
- package/dist/models/ApprovalEntryDto.js +5 -4
- package/dist/models/ApprovalModeEnum.js +1 -1
- package/dist/models/ApprovalStatusEnum.js +1 -1
- package/dist/models/ApprovalTypeDto.d.ts +0 -16
- package/dist/models/BankAccountDto.d.ts +0 -22
- package/dist/models/BankAccountRegistrationDto.d.ts +0 -8
- package/dist/models/BankConnectionDto.d.ts +0 -6
- package/dist/models/BankDetailsDto.d.ts +0 -16
- package/dist/models/BankRegistrationDto.d.ts +0 -22
- package/dist/models/BrevoEmailWebhookEvent.d.ts +0 -30
- package/dist/models/CalendarAttendeeDto.d.ts +0 -8
- package/dist/models/CalendarEntryDto.d.ts +0 -20
- package/dist/models/CalendarEntryTypeDto.d.ts +0 -18
- package/dist/models/CalendarPortalEventDto.d.ts +0 -18
- package/dist/models/CalendarPortalRsvpDto.d.ts +0 -4
- package/dist/models/CalendarPortalRsvpStatus.js +1 -1
- package/dist/models/CenterStatementDto.d.ts +0 -14
- package/dist/models/CenterStatementDto.js +5 -4
- package/dist/models/ChannelIdType.js +1 -1
- package/dist/models/CommentDto.d.ts +0 -16
- package/dist/models/CommentDto.js +3 -2
- package/dist/models/ConfigKey.js +1 -1
- package/dist/models/ConfigurationDto.d.ts +0 -10
- package/dist/models/ContactDto.d.ts +0 -6
- package/dist/models/ContractDto.d.ts +0 -24
- package/dist/models/ContractStatusDto.d.ts +0 -10
- package/dist/models/ContractTypeAttributeDto.d.ts +0 -6
- package/dist/models/ContractTypeAttributeDto.js +1 -1
- package/dist/models/ContractTypeDto.d.ts +0 -10
- package/dist/models/CountryCode.js +1 -1
- package/dist/models/CreateTagRelationsDto.d.ts +0 -8
- package/dist/models/CreateTenantRequest.d.ts +0 -4
- package/dist/models/CustomerDto.d.ts +0 -32
- package/dist/models/CustomerDto.js +1 -1
- package/dist/models/DataTableColumnDefinition.d.ts +0 -8
- package/dist/models/DataTableColumnType.js +1 -1
- package/dist/models/DataTableDto.d.ts +0 -12
- package/dist/models/DataTableExportFormat.js +1 -1
- package/dist/models/DataTableKeyType.js +1 -1
- package/dist/models/DataTableRowDto.d.ts +0 -8
- package/dist/models/DataTableRowDtoChange.d.ts +0 -4
- package/dist/models/DataTableRowDtoChange.js +1 -1
- package/dist/models/DecisionTableAggregation.js +1 -1
- package/dist/models/DecisionTableDto.d.ts +0 -22
- package/dist/models/DecisionTableHitPolicy.js +1 -1
- package/dist/models/DecisionTableInput.d.ts +0 -6
- package/dist/models/DecisionTableOutput.d.ts +0 -6
- package/dist/models/DecisionTableRule.d.ts +0 -6
- package/dist/models/DecisionTableType.js +1 -1
- package/dist/models/DeliveryNoteDto.d.ts +0 -30
- package/dist/models/DeliveryNoteItemDto.d.ts +0 -8
- package/dist/models/DeployWorkflowRequest.d.ts +0 -2
- package/dist/models/DesignTemplateContextVersion.js +1 -1
- package/dist/models/DesignTemplateDto.d.ts +0 -18
- package/dist/models/DesignTemplateType.js +1 -1
- package/dist/models/DocumentTemplateDto.d.ts +4 -34
- package/dist/models/DocumentTemplateDto.js +7 -11
- package/dist/models/DubbingPortalFileStatusDto.d.ts +0 -10
- package/dist/models/DubbingPortalResponseDto.d.ts +0 -2
- package/dist/models/DubbingPortalStatusDto.d.ts +0 -10
- package/dist/models/DunningLetterDto.d.ts +0 -42
- package/dist/models/DunningLetterItemDto.d.ts +0 -6
- package/dist/models/EditorTypeDto.d.ts +0 -12
- package/dist/models/EmailDto.d.ts +2 -34
- package/dist/models/EmailDto.js +4 -4
- package/dist/models/EmailEvent.d.ts +0 -10
- package/dist/models/EmailEvent.js +3 -2
- package/dist/models/EntityAccessTokenDto.d.ts +0 -2
- package/dist/models/EntityReference.d.ts +0 -8
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +2 -1
- package/dist/models/FeatureDto.d.ts +0 -8
- package/dist/models/FileConflictResolution.d.ts +24 -0
- package/dist/models/FileConflictResolution.js +50 -0
- package/dist/models/FileDetailsDto.d.ts +0 -20
- package/dist/models/FileDetailsDto.js +3 -2
- package/dist/models/FileDirectoryDto.d.ts +5 -23
- package/dist/models/FileDirectoryDto.js +2 -5
- package/dist/models/FileDownloadDisposition.js +1 -1
- package/dist/models/FileDto.d.ts +0 -16
- package/dist/models/FileDto.js +3 -2
- package/dist/models/FileMovementDto.d.ts +5 -6
- package/dist/models/FileMovementDto.js +3 -0
- package/dist/models/FileSelectionDto.d.ts +0 -4
- package/dist/models/FileShareDto.d.ts +0 -36
- package/dist/models/FileShareDto.js +9 -8
- package/dist/models/FileTagDto.d.ts +0 -6
- package/dist/models/FileUploadDto.d.ts +5 -14
- package/dist/models/FileUploadDto.js +3 -0
- package/dist/models/FileUploadManifestDto.d.ts +0 -2
- package/dist/models/FileUploadPartDto.d.ts +0 -2
- package/dist/models/FilterableEndpointDto.d.ts +0 -6
- package/dist/models/FormsPortalReceiverInfo.d.ts +0 -6
- package/dist/models/FormsPortalSpecDto.d.ts +0 -8
- package/dist/models/FormsPortalSubmitDto.d.ts +0 -2
- package/dist/models/GetAllAbsenceEntries200Response.d.ts +0 -8
- package/dist/models/GetAllAbsenceTypes200Response.d.ts +0 -8
- package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +0 -8
- package/dist/models/GetAllAccessTokens200Response.d.ts +0 -8
- package/dist/models/GetAllAccountingCenterStatements200Response.d.ts +0 -2
- package/dist/models/GetAllAccountingCenters200Response.d.ts +0 -8
- package/dist/models/GetAllAccountingLedgerStatements200Response.d.ts +0 -2
- package/dist/models/GetAllAccountingLedgers200Response.d.ts +0 -8
- package/dist/models/GetAllAccountingReceipts200Response.d.ts +0 -8
- package/dist/models/GetAllAccountingSettlements200Response.d.ts +0 -8
- package/dist/models/GetAllAccountingTransactions200Response.d.ts +0 -8
- package/dist/models/GetAllAccountingTurnover200Response.d.ts +0 -8
- package/dist/models/GetAllAccounts200Response.d.ts +0 -8
- package/dist/models/GetAllActivities200Response.d.ts +0 -8
- package/dist/models/GetAllApprovalEntries200Response.d.ts +0 -8
- package/dist/models/GetAllApprovalTypes200Response.d.ts +0 -8
- package/dist/models/GetAllBankDetails200Response.d.ts +0 -8
- package/dist/models/GetAllCalendarEntries200Response.d.ts +0 -8
- package/dist/models/GetAllCalendarEntryTypes200Response.d.ts +0 -8
- package/dist/models/GetAllComments200Response.d.ts +0 -8
- package/dist/models/GetAllConfigurations200Response.d.ts +0 -8
- package/dist/models/GetAllContractStatus200Response.d.ts +0 -8
- package/dist/models/GetAllContractTypes200Response.d.ts +0 -8
- package/dist/models/GetAllContracts200Response.d.ts +0 -8
- package/dist/models/GetAllCustomers200Response.d.ts +0 -8
- package/dist/models/GetAllDeliveryNotes200Response.d.ts +0 -8
- package/dist/models/GetAllDesignTemplates200Response.d.ts +0 -8
- package/dist/models/GetAllDocumentTemplates200Response.d.ts +0 -8
- package/dist/models/GetAllDunningLetters200Response.d.ts +0 -8
- package/dist/models/GetAllEditorTypes200Response.d.ts +0 -8
- package/dist/models/GetAllEntitiesForTag200Response.d.ts +0 -8
- package/dist/models/GetAllFileTags200Response.d.ts +0 -8
- package/dist/models/GetAllHolidays200Response.d.ts +0 -8
- package/dist/models/GetAllHospitalityReceipts200Response.d.ts +0 -8
- package/dist/models/GetAllInboxEmails200Response.d.ts +0 -8
- package/dist/models/GetAllInvoices200Response.d.ts +0 -8
- package/dist/models/GetAllJobs200Response.d.ts +0 -8
- package/dist/models/GetAllKanbanBoards200Response.d.ts +0 -8
- package/dist/models/GetAllKanbanCards200Response.d.ts +0 -8
- package/dist/models/GetAllKanbanColumns200Response.d.ts +0 -8
- package/dist/models/GetAllMentions200Response.d.ts +0 -8
- package/dist/models/GetAllNotifications200Response.d.ts +0 -8
- package/dist/models/GetAllObjectives200Response.d.ts +0 -8
- package/dist/models/GetAllOffers200Response.d.ts +0 -8
- package/dist/models/GetAllPages200Response.d.ts +0 -8
- package/dist/models/GetAllPayments200Response.d.ts +0 -8
- package/dist/models/GetAllPresenceEntries200Response.d.ts +0 -8
- package/dist/models/GetAllPresenceTypes200Response.d.ts +0 -8
- package/dist/models/GetAllProducts200Response.d.ts +0 -8
- package/dist/models/GetAllReferences200Response.d.ts +0 -8
- package/dist/models/GetAllRegistrations200Response.d.ts +0 -8
- package/dist/models/GetAllResults200Response.d.ts +0 -8
- package/dist/models/GetAllRoles200Response.d.ts +0 -8
- package/dist/models/GetAllShares200Response.d.ts +0 -8
- package/dist/models/GetAllTags200Response.d.ts +0 -8
- package/dist/models/GetAllTextModules200Response.d.ts +0 -8
- package/dist/models/GetAllUnits200Response.d.ts +0 -8
- package/dist/models/GetAllUsers200Response.d.ts +0 -8
- package/dist/models/GetAllWikis200Response.d.ts +0 -8
- package/dist/models/GetAllWorkHours200Response.d.ts +0 -8
- package/dist/models/GetAllWorkflowExecutions200Response.d.ts +0 -8
- package/dist/models/GetAllWorkflowExternalTasks200Response.d.ts +0 -8
- package/dist/models/GetAllWorkflowProcesses200Response.d.ts +0 -8
- package/dist/models/GetAllWorkflows200Response.d.ts +0 -8
- package/dist/models/GetAllWritings200Response.d.ts +0 -8
- package/dist/models/GetSubscribedProducts200Response.d.ts +0 -8
- package/dist/models/GetUserRoles200Response.d.ts +0 -2
- package/dist/models/HolidaysDto.d.ts +0 -14
- package/dist/models/HospitalityReceiptDto.d.ts +0 -28
- package/dist/models/HospitalityReceiptSignatureDto.d.ts +0 -6
- package/dist/models/IdentifierDto.d.ts +0 -2
- package/dist/models/IdentifierType.js +1 -1
- package/dist/models/ImportTransactions200Response.d.ts +0 -2
- package/dist/models/InstituteDto.d.ts +0 -12
- package/dist/models/InternalWorkflowExternalTask.d.ts +0 -6
- package/dist/models/InternalWorkflowProcess.d.ts +0 -6
- package/dist/models/InternalWorkflowProcessLogDto.d.ts +0 -8
- package/dist/models/InternalWorkflowProcessLogDto.js +1 -1
- package/dist/models/InternalWorkflowProcessStopRequestDto.d.ts +0 -2
- package/dist/models/InvoiceConfigDto.d.ts +0 -12
- package/dist/models/InvoiceDto.d.ts +6 -62
- package/dist/models/InvoiceDto.js +1 -1
- package/dist/models/InvoiceItemDto.d.ts +0 -26
- package/dist/models/InvoicePortalDocumentDto.d.ts +78 -0
- package/dist/models/InvoicePortalDocumentDto.js +85 -0
- package/dist/models/InvoicePortalShareConfigDto.d.ts +0 -10
- package/dist/models/InvoiceTaxItemDto.d.ts +0 -8
- package/dist/models/InvoiceTaxItemDto.js +1 -1
- package/dist/models/InvoiceTextFieldsDto.d.ts +0 -14
- package/dist/models/InvoiceType.js +1 -1
- package/dist/models/InvoiceValidationCheck.js +1 -1
- package/dist/models/InvoiceValidationResult.d.ts +0 -2
- package/dist/models/InvoiceWhatsAppMessageDto.d.ts +33 -0
- package/dist/models/InvoiceWhatsAppMessageDto.js +49 -0
- package/dist/models/JobDto.d.ts +0 -24
- package/dist/models/JobDto.js +7 -6
- package/dist/models/KanbanBoardDto.d.ts +0 -12
- package/dist/models/KanbanCardDto.d.ts +0 -30
- package/dist/models/KanbanCardDto.js +7 -6
- package/dist/models/KanbanColumnDto.d.ts +0 -10
- package/dist/models/KommerzPageable.d.ts +0 -6
- package/dist/models/LedgerStatementDto.d.ts +0 -14
- package/dist/models/LedgerStatementDto.js +5 -4
- package/dist/models/LegalInfoDto.d.ts +0 -22
- package/dist/models/ListAllTenants200Response.d.ts +0 -8
- package/dist/models/ListDataTableRows200Response.d.ts +0 -8
- package/dist/models/ListDataTables200Response.d.ts +0 -8
- package/dist/models/ListDecisionTables200Response.d.ts +0 -8
- package/dist/models/ListDirectories200Response.d.ts +0 -8
- package/dist/models/ListFiles200Response.d.ts +0 -8
- package/dist/models/MacroConfig.d.ts +0 -6
- package/dist/models/MacroConfig.js +1 -1
- package/dist/models/MacroConfigReferencesInner.d.ts +0 -4
- package/dist/models/MarkInvoiceAsPaidRequest.d.ts +0 -4
- package/dist/models/MentionDto.d.ts +0 -8
- package/dist/models/MessageDto.d.ts +0 -4
- package/dist/models/MessagingPermissionsDto.d.ts +0 -4
- package/dist/models/NewRegistrationDto.d.ts +0 -2
- package/dist/models/NewRegistrationResponseDto.d.ts +0 -6
- package/dist/models/NotificationDto.d.ts +0 -12
- package/dist/models/NotificationDto.js +3 -2
- package/dist/models/NotificationTargetDto.d.ts +0 -12
- package/dist/models/NotificationTargetOrderDto.d.ts +0 -4
- package/dist/models/NotifierIdType.js +1 -1
- package/dist/models/OfferDto.d.ts +0 -38
- package/dist/models/OfferRendererDto.d.ts +0 -18
- package/dist/models/OkrKeyResultDto.d.ts +0 -18
- package/dist/models/OkrObjectiveDto.d.ts +0 -18
- package/dist/models/PageResponse.d.ts +0 -6
- package/dist/models/ParticipantRole.js +1 -1
- package/dist/models/ParticipantStatus.js +1 -1
- package/dist/models/PatternDto.d.ts +0 -6
- package/dist/models/PaymentConfigurationDto.d.ts +0 -4
- package/dist/models/PaymentInvoiceDto.d.ts +0 -14
- package/dist/models/PaymentProductDto.d.ts +0 -30
- package/dist/models/PaymentProductDto.js +4 -4
- package/dist/models/PaymentUriResponseDto.d.ts +0 -2
- package/dist/models/PaymentsDto.d.ts +0 -20
- package/dist/models/PaymentsDto.js +2 -2
- package/dist/models/Permissions.d.ts +4 -0
- package/dist/models/Permissions.js +5 -1
- package/dist/models/PrepositionType.js +1 -1
- package/dist/models/PresenceEntryDto.d.ts +0 -16
- package/dist/models/PresenceTypeDto.d.ts +0 -14
- package/dist/models/ProductDto.d.ts +0 -24
- package/dist/models/ProductSelectionDto.d.ts +0 -4
- package/dist/models/PublicShareDirectorDto.d.ts +0 -6
- package/dist/models/PublicShareDto.d.ts +0 -18
- package/dist/models/PublicShareDto.js +7 -6
- package/dist/models/PublicShareFileDto.d.ts +0 -10
- package/dist/models/PublicShareListingDto.d.ts +0 -6
- package/dist/models/ReferenceDto.d.ts +0 -12
- package/dist/models/RegisterUserDto.d.ts +0 -10
- package/dist/models/RoleDto.d.ts +5 -11
- package/dist/models/RoleDto.js +1 -0
- package/dist/models/RunWorkflowRequest.d.ts +0 -2
- package/dist/models/ShareInvoiceDto.d.ts +0 -4
- package/dist/models/ShareOfferDto.d.ts +0 -6
- package/dist/models/SkontoDto.d.ts +0 -4
- package/dist/models/SortDirection.js +1 -1
- package/dist/models/StatisticsDataEntry.d.ts +0 -4
- package/dist/models/StatisticsDefinitionDto.d.ts +0 -14
- package/dist/models/StatisticsDefinitionDto.js +2 -2
- package/dist/models/StatisticsResponseDto.d.ts +0 -4
- package/dist/models/SubscriptionChangeDto.d.ts +0 -6
- package/dist/models/SubscriptionChangeDto.js +3 -2
- package/dist/models/SubscriptionDto.d.ts +0 -28
- package/dist/models/SubscriptionDto.js +22 -21
- package/dist/models/SubscriptionResponseDto.d.ts +0 -4
- package/dist/models/TagDto.d.ts +0 -8
- package/dist/models/TagRelationDto.d.ts +0 -6
- package/dist/models/TenantConfigurationDto.d.ts +0 -12
- package/dist/models/TenantDto.d.ts +0 -16
- package/dist/models/TenantInvitationDto.d.ts +0 -4
- package/dist/models/TenantOwnerAdditionDto.d.ts +29 -0
- package/dist/models/TenantOwnerAdditionDto.js +50 -0
- package/dist/models/TestTokenDto.d.ts +0 -2
- package/dist/models/TestTokenRequest.d.ts +0 -6
- package/dist/models/TextModuleDto.d.ts +0 -14
- package/dist/models/TextModuleType.d.ts +1 -0
- package/dist/models/TextModuleType.js +2 -1
- package/dist/models/TimeSpanDto.d.ts +0 -6
- package/dist/models/TimeTrackingCalendarDayDto.d.ts +0 -16
- package/dist/models/TimeTrackingCalendarDto.d.ts +0 -20
- package/dist/models/TimesDto.d.ts +0 -4
- package/dist/models/TimesDto.js +3 -2
- package/dist/models/UiConfigurationDto.d.ts +0 -2
- package/dist/models/UiLandingWelcomeConfigDto.d.ts +0 -2
- package/dist/models/UiModule.js +1 -1
- package/dist/models/UnitCode.js +1 -1
- package/dist/models/UnitDto.d.ts +0 -12
- package/dist/models/UsageMetricType.js +1 -1
- package/dist/models/UsageMonitorDto.d.ts +0 -10
- package/dist/models/UsageMonitorDto.js +2 -2
- package/dist/models/UserAgentInformation.d.ts +0 -12
- package/dist/models/UserApprovalDto.d.ts +0 -6
- package/dist/models/UserApprovalDto.js +3 -2
- package/dist/models/UserDto.d.ts +5 -13
- package/dist/models/UserDto.js +1 -0
- package/dist/models/ValidateHandleHandleParameter.d.ts +0 -2
- package/dist/models/ValidateIbanIbanParameter.d.ts +0 -2
- package/dist/models/ValidationDto.d.ts +0 -4
- package/dist/models/ValidationErrors.d.ts +0 -4
- package/dist/models/ValidationErrorsErrorsInner.d.ts +0 -4
- package/dist/models/WikiDto.d.ts +0 -6
- package/dist/models/WikiPageDto.d.ts +0 -20
- package/dist/models/WikiPageDto.js +3 -1
- package/dist/models/WorkHoursDto.d.ts +0 -22
- package/dist/models/WorkflowDto.d.ts +0 -22
- package/dist/models/WorkflowExecutionDto.d.ts +0 -18
- package/dist/models/WorkflowExecutionDto.js +3 -2
- package/dist/models/WorkflowExecutionStatus.js +1 -1
- package/dist/models/WorkflowExternalTaskDto.d.ts +0 -10
- package/dist/models/WorkflowProcessDto.d.ts +0 -14
- package/dist/models/WorkflowProcessDto.js +5 -4
- package/dist/models/WorkflowProcessLogDto.d.ts +0 -6
- package/dist/models/WorkflowProcessLogDto.js +3 -2
- package/dist/models/WorkflowProcessLogType.js +1 -1
- package/dist/models/WorkflowProcessStatus.js +1 -1
- package/dist/models/WorkflowStatusEnum.js +1 -1
- package/dist/models/WritingDto.d.ts +0 -26
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.js +7 -1
- package/dist/runtime.d.ts +34 -1
- package/dist/runtime.js +143 -6
- package/package.json +1 -1
- package/dist/models/DocumentTemplateType.d.ts +0 -24
- package/dist/models/DocumentTemplateType.js +0 -50
package/dist/apis/TenantsApi.js
CHANGED
|
@@ -65,7 +65,12 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
65
65
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
66
|
exports.DownloadLogoTargetEnum = exports.TenantsApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
|
-
var
|
|
68
|
+
var CreateTenantRequest_1 = require("../models/CreateTenantRequest");
|
|
69
|
+
var FileDto_1 = require("../models/FileDto");
|
|
70
|
+
var ListAllTenants200Response_1 = require("../models/ListAllTenants200Response");
|
|
71
|
+
var TenantDto_1 = require("../models/TenantDto");
|
|
72
|
+
var TenantInvitationDto_1 = require("../models/TenantInvitationDto");
|
|
73
|
+
var TenantOwnerAdditionDto_1 = require("../models/TenantOwnerAdditionDto");
|
|
69
74
|
/**
|
|
70
75
|
*
|
|
71
76
|
*/
|
|
@@ -74,32 +79,45 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
74
79
|
function TenantsApi() {
|
|
75
80
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Creates request options for createTenant without sending the request
|
|
84
|
+
*/
|
|
85
|
+
TenantsApi.prototype.createTenantRequestOpts = function (requestParameters) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
87
|
+
var queryParameters, headerParameters, urlPath;
|
|
88
|
+
return __generator(this, function (_a) {
|
|
89
|
+
if (requestParameters['createTenantRequest'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('createTenantRequest', 'Required parameter "createTenantRequest" was null or undefined when calling createTenant().');
|
|
91
|
+
}
|
|
92
|
+
queryParameters = {};
|
|
93
|
+
headerParameters = {};
|
|
94
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
+
urlPath = "/ui/tenants/v1";
|
|
96
|
+
return [2 /*return*/, {
|
|
97
|
+
path: urlPath,
|
|
98
|
+
method: 'POST',
|
|
99
|
+
headers: headerParameters,
|
|
100
|
+
query: queryParameters,
|
|
101
|
+
body: (0, CreateTenantRequest_1.CreateTenantRequestToJSON)(requestParameters['createTenantRequest']),
|
|
102
|
+
}];
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
};
|
|
77
106
|
/**
|
|
78
107
|
* Create a new tenant
|
|
79
108
|
*/
|
|
80
109
|
TenantsApi.prototype.createTenantRaw = function (requestParameters, initOverrides) {
|
|
81
110
|
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
-
var
|
|
111
|
+
var requestOptions, response;
|
|
83
112
|
return __generator(this, function (_a) {
|
|
84
113
|
switch (_a.label) {
|
|
85
|
-
case 0:
|
|
86
|
-
if (requestParameters['createTenantRequest'] == null) {
|
|
87
|
-
throw new runtime.RequiredError('createTenantRequest', 'Required parameter "createTenantRequest" was null or undefined when calling createTenant().');
|
|
88
|
-
}
|
|
89
|
-
queryParameters = {};
|
|
90
|
-
headerParameters = {};
|
|
91
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
92
|
-
urlPath = "/ui/tenants/v1";
|
|
93
|
-
return [4 /*yield*/, this.request({
|
|
94
|
-
path: urlPath,
|
|
95
|
-
method: 'POST',
|
|
96
|
-
headers: headerParameters,
|
|
97
|
-
query: queryParameters,
|
|
98
|
-
body: (0, index_1.CreateTenantRequestToJSON)(requestParameters['createTenantRequest']),
|
|
99
|
-
}, initOverrides)];
|
|
114
|
+
case 0: return [4 /*yield*/, this.createTenantRequestOpts(requestParameters)];
|
|
100
115
|
case 1:
|
|
116
|
+
requestOptions = _a.sent();
|
|
117
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
118
|
+
case 2:
|
|
101
119
|
response = _a.sent();
|
|
102
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
120
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TenantDto_1.TenantDtoFromJSON)(jsonValue); })];
|
|
103
121
|
}
|
|
104
122
|
});
|
|
105
123
|
});
|
|
@@ -121,29 +139,42 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
121
139
|
});
|
|
122
140
|
});
|
|
123
141
|
};
|
|
142
|
+
/**
|
|
143
|
+
* Creates request options for deleteLogo without sending the request
|
|
144
|
+
*/
|
|
145
|
+
TenantsApi.prototype.deleteLogoRequestOpts = function (requestParameters) {
|
|
146
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
147
|
+
var queryParameters, headerParameters, urlPath;
|
|
148
|
+
return __generator(this, function (_a) {
|
|
149
|
+
if (requestParameters['id'] == null) {
|
|
150
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteLogo().');
|
|
151
|
+
}
|
|
152
|
+
queryParameters = {};
|
|
153
|
+
headerParameters = {};
|
|
154
|
+
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
155
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
156
|
+
return [2 /*return*/, {
|
|
157
|
+
path: urlPath,
|
|
158
|
+
method: 'DELETE',
|
|
159
|
+
headers: headerParameters,
|
|
160
|
+
query: queryParameters,
|
|
161
|
+
}];
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
};
|
|
124
165
|
/**
|
|
125
166
|
* delete tenant logo
|
|
126
167
|
*/
|
|
127
168
|
TenantsApi.prototype.deleteLogoRaw = function (requestParameters, initOverrides) {
|
|
128
169
|
return __awaiter(this, void 0, void 0, function () {
|
|
129
|
-
var
|
|
170
|
+
var requestOptions, response;
|
|
130
171
|
return __generator(this, function (_a) {
|
|
131
172
|
switch (_a.label) {
|
|
132
|
-
case 0:
|
|
133
|
-
if (requestParameters['id'] == null) {
|
|
134
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteLogo().');
|
|
135
|
-
}
|
|
136
|
-
queryParameters = {};
|
|
137
|
-
headerParameters = {};
|
|
138
|
-
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
139
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
140
|
-
return [4 /*yield*/, this.request({
|
|
141
|
-
path: urlPath,
|
|
142
|
-
method: 'DELETE',
|
|
143
|
-
headers: headerParameters,
|
|
144
|
-
query: queryParameters,
|
|
145
|
-
}, initOverrides)];
|
|
173
|
+
case 0: return [4 /*yield*/, this.deleteLogoRequestOpts(requestParameters)];
|
|
146
174
|
case 1:
|
|
175
|
+
requestOptions = _a.sent();
|
|
176
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
177
|
+
case 2:
|
|
147
178
|
response = _a.sent();
|
|
148
179
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
149
180
|
}
|
|
@@ -165,35 +196,48 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
165
196
|
});
|
|
166
197
|
});
|
|
167
198
|
};
|
|
199
|
+
/**
|
|
200
|
+
* Creates request options for downloadLogo without sending the request
|
|
201
|
+
*/
|
|
202
|
+
TenantsApi.prototype.downloadLogoRequestOpts = function (requestParameters) {
|
|
203
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
204
|
+
var queryParameters, headerParameters, urlPath;
|
|
205
|
+
return __generator(this, function (_a) {
|
|
206
|
+
if (requestParameters['id'] == null) {
|
|
207
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling downloadLogo().');
|
|
208
|
+
}
|
|
209
|
+
if (requestParameters['target'] == null) {
|
|
210
|
+
throw new runtime.RequiredError('target', 'Required parameter "target" was null or undefined when calling downloadLogo().');
|
|
211
|
+
}
|
|
212
|
+
queryParameters = {};
|
|
213
|
+
if (requestParameters['target'] != null) {
|
|
214
|
+
queryParameters['target'] = requestParameters['target'];
|
|
215
|
+
}
|
|
216
|
+
headerParameters = {};
|
|
217
|
+
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
218
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
219
|
+
return [2 /*return*/, {
|
|
220
|
+
path: urlPath,
|
|
221
|
+
method: 'GET',
|
|
222
|
+
headers: headerParameters,
|
|
223
|
+
query: queryParameters,
|
|
224
|
+
}];
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
};
|
|
168
228
|
/**
|
|
169
229
|
* download the tenant logo
|
|
170
230
|
*/
|
|
171
231
|
TenantsApi.prototype.downloadLogoRaw = function (requestParameters, initOverrides) {
|
|
172
232
|
return __awaiter(this, void 0, void 0, function () {
|
|
173
|
-
var
|
|
233
|
+
var requestOptions, response;
|
|
174
234
|
return __generator(this, function (_a) {
|
|
175
235
|
switch (_a.label) {
|
|
176
|
-
case 0:
|
|
177
|
-
if (requestParameters['id'] == null) {
|
|
178
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling downloadLogo().');
|
|
179
|
-
}
|
|
180
|
-
if (requestParameters['target'] == null) {
|
|
181
|
-
throw new runtime.RequiredError('target', 'Required parameter "target" was null or undefined when calling downloadLogo().');
|
|
182
|
-
}
|
|
183
|
-
queryParameters = {};
|
|
184
|
-
if (requestParameters['target'] != null) {
|
|
185
|
-
queryParameters['target'] = requestParameters['target'];
|
|
186
|
-
}
|
|
187
|
-
headerParameters = {};
|
|
188
|
-
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
189
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
190
|
-
return [4 /*yield*/, this.request({
|
|
191
|
-
path: urlPath,
|
|
192
|
-
method: 'GET',
|
|
193
|
-
headers: headerParameters,
|
|
194
|
-
query: queryParameters,
|
|
195
|
-
}, initOverrides)];
|
|
236
|
+
case 0: return [4 /*yield*/, this.downloadLogoRequestOpts(requestParameters)];
|
|
196
237
|
case 1:
|
|
238
|
+
requestOptions = _a.sent();
|
|
239
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
240
|
+
case 2:
|
|
197
241
|
response = _a.sent();
|
|
198
242
|
return [2 /*return*/, new runtime.BlobApiResponse(response)];
|
|
199
243
|
}
|
|
@@ -217,31 +261,44 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
217
261
|
});
|
|
218
262
|
});
|
|
219
263
|
};
|
|
264
|
+
/**
|
|
265
|
+
* Creates request options for getTenant without sending the request
|
|
266
|
+
*/
|
|
267
|
+
TenantsApi.prototype.getTenantRequestOpts = function (requestParameters) {
|
|
268
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
269
|
+
var queryParameters, headerParameters, urlPath;
|
|
270
|
+
return __generator(this, function (_a) {
|
|
271
|
+
if (requestParameters['id'] == null) {
|
|
272
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getTenant().');
|
|
273
|
+
}
|
|
274
|
+
queryParameters = {};
|
|
275
|
+
headerParameters = {};
|
|
276
|
+
urlPath = "/ui/tenants/v1/{id}";
|
|
277
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
278
|
+
return [2 /*return*/, {
|
|
279
|
+
path: urlPath,
|
|
280
|
+
method: 'GET',
|
|
281
|
+
headers: headerParameters,
|
|
282
|
+
query: queryParameters,
|
|
283
|
+
}];
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
};
|
|
220
287
|
/**
|
|
221
288
|
* get tenant by id
|
|
222
289
|
*/
|
|
223
290
|
TenantsApi.prototype.getTenantRaw = function (requestParameters, initOverrides) {
|
|
224
291
|
return __awaiter(this, void 0, void 0, function () {
|
|
225
|
-
var
|
|
292
|
+
var requestOptions, response;
|
|
226
293
|
return __generator(this, function (_a) {
|
|
227
294
|
switch (_a.label) {
|
|
228
|
-
case 0:
|
|
229
|
-
if (requestParameters['id'] == null) {
|
|
230
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getTenant().');
|
|
231
|
-
}
|
|
232
|
-
queryParameters = {};
|
|
233
|
-
headerParameters = {};
|
|
234
|
-
urlPath = "/ui/tenants/v1/{id}";
|
|
235
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
236
|
-
return [4 /*yield*/, this.request({
|
|
237
|
-
path: urlPath,
|
|
238
|
-
method: 'GET',
|
|
239
|
-
headers: headerParameters,
|
|
240
|
-
query: queryParameters,
|
|
241
|
-
}, initOverrides)];
|
|
295
|
+
case 0: return [4 /*yield*/, this.getTenantRequestOpts(requestParameters)];
|
|
242
296
|
case 1:
|
|
297
|
+
requestOptions = _a.sent();
|
|
298
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
299
|
+
case 2:
|
|
243
300
|
response = _a.sent();
|
|
244
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
301
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TenantDto_1.TenantDtoFromJSON)(jsonValue); })];
|
|
245
302
|
}
|
|
246
303
|
});
|
|
247
304
|
});
|
|
@@ -263,36 +320,49 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
263
320
|
});
|
|
264
321
|
});
|
|
265
322
|
};
|
|
323
|
+
/**
|
|
324
|
+
* Creates request options for listAllTenants without sending the request
|
|
325
|
+
*/
|
|
326
|
+
TenantsApi.prototype.listAllTenantsRequestOpts = function (requestParameters) {
|
|
327
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
328
|
+
var queryParameters, headerParameters, urlPath;
|
|
329
|
+
return __generator(this, function (_a) {
|
|
330
|
+
if (requestParameters['pageable'] == null) {
|
|
331
|
+
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling listAllTenants().');
|
|
332
|
+
}
|
|
333
|
+
queryParameters = {};
|
|
334
|
+
if (requestParameters['pageable'] != null) {
|
|
335
|
+
queryParameters['pageable'] = requestParameters['pageable'];
|
|
336
|
+
}
|
|
337
|
+
if (requestParameters['filter'] != null) {
|
|
338
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
339
|
+
}
|
|
340
|
+
headerParameters = {};
|
|
341
|
+
urlPath = "/ui/tenants/v1";
|
|
342
|
+
return [2 /*return*/, {
|
|
343
|
+
path: urlPath,
|
|
344
|
+
method: 'GET',
|
|
345
|
+
headers: headerParameters,
|
|
346
|
+
query: queryParameters,
|
|
347
|
+
}];
|
|
348
|
+
});
|
|
349
|
+
});
|
|
350
|
+
};
|
|
266
351
|
/**
|
|
267
352
|
* list tenants
|
|
268
353
|
*/
|
|
269
354
|
TenantsApi.prototype.listAllTenantsRaw = function (requestParameters, initOverrides) {
|
|
270
355
|
return __awaiter(this, void 0, void 0, function () {
|
|
271
|
-
var
|
|
356
|
+
var requestOptions, response;
|
|
272
357
|
return __generator(this, function (_a) {
|
|
273
358
|
switch (_a.label) {
|
|
274
|
-
case 0:
|
|
275
|
-
if (requestParameters['pageable'] == null) {
|
|
276
|
-
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling listAllTenants().');
|
|
277
|
-
}
|
|
278
|
-
queryParameters = {};
|
|
279
|
-
if (requestParameters['pageable'] != null) {
|
|
280
|
-
queryParameters['pageable'] = requestParameters['pageable'];
|
|
281
|
-
}
|
|
282
|
-
if (requestParameters['filter'] != null) {
|
|
283
|
-
queryParameters['filter'] = requestParameters['filter'];
|
|
284
|
-
}
|
|
285
|
-
headerParameters = {};
|
|
286
|
-
urlPath = "/ui/tenants/v1";
|
|
287
|
-
return [4 /*yield*/, this.request({
|
|
288
|
-
path: urlPath,
|
|
289
|
-
method: 'GET',
|
|
290
|
-
headers: headerParameters,
|
|
291
|
-
query: queryParameters,
|
|
292
|
-
}, initOverrides)];
|
|
359
|
+
case 0: return [4 /*yield*/, this.listAllTenantsRequestOpts(requestParameters)];
|
|
293
360
|
case 1:
|
|
361
|
+
requestOptions = _a.sent();
|
|
362
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
363
|
+
case 2:
|
|
294
364
|
response = _a.sent();
|
|
295
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
365
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, ListAllTenants200Response_1.ListAllTenants200ResponseFromJSON)(jsonValue); })];
|
|
296
366
|
}
|
|
297
367
|
});
|
|
298
368
|
});
|
|
@@ -314,34 +384,47 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
314
384
|
});
|
|
315
385
|
});
|
|
316
386
|
};
|
|
387
|
+
/**
|
|
388
|
+
* Creates request options for tenantMailInvite without sending the request
|
|
389
|
+
*/
|
|
390
|
+
TenantsApi.prototype.tenantMailInviteRequestOpts = function (requestParameters) {
|
|
391
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
392
|
+
var queryParameters, headerParameters, urlPath;
|
|
393
|
+
return __generator(this, function (_a) {
|
|
394
|
+
if (requestParameters['id'] == null) {
|
|
395
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling tenantMailInvite().');
|
|
396
|
+
}
|
|
397
|
+
if (requestParameters['tenantInvitationDto'] == null) {
|
|
398
|
+
throw new runtime.RequiredError('tenantInvitationDto', 'Required parameter "tenantInvitationDto" was null or undefined when calling tenantMailInvite().');
|
|
399
|
+
}
|
|
400
|
+
queryParameters = {};
|
|
401
|
+
headerParameters = {};
|
|
402
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
403
|
+
urlPath = "/ui/tenants/v1/{id}/invitations";
|
|
404
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
405
|
+
return [2 /*return*/, {
|
|
406
|
+
path: urlPath,
|
|
407
|
+
method: 'POST',
|
|
408
|
+
headers: headerParameters,
|
|
409
|
+
query: queryParameters,
|
|
410
|
+
body: (0, TenantInvitationDto_1.TenantInvitationDtoToJSON)(requestParameters['tenantInvitationDto']),
|
|
411
|
+
}];
|
|
412
|
+
});
|
|
413
|
+
});
|
|
414
|
+
};
|
|
317
415
|
/**
|
|
318
416
|
* invite to tenant with e-mail
|
|
319
417
|
*/
|
|
320
418
|
TenantsApi.prototype.tenantMailInviteRaw = function (requestParameters, initOverrides) {
|
|
321
419
|
return __awaiter(this, void 0, void 0, function () {
|
|
322
|
-
var
|
|
420
|
+
var requestOptions, response;
|
|
323
421
|
return __generator(this, function (_a) {
|
|
324
422
|
switch (_a.label) {
|
|
325
|
-
case 0:
|
|
326
|
-
if (requestParameters['id'] == null) {
|
|
327
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling tenantMailInvite().');
|
|
328
|
-
}
|
|
329
|
-
if (requestParameters['tenantInvitationDto'] == null) {
|
|
330
|
-
throw new runtime.RequiredError('tenantInvitationDto', 'Required parameter "tenantInvitationDto" was null or undefined when calling tenantMailInvite().');
|
|
331
|
-
}
|
|
332
|
-
queryParameters = {};
|
|
333
|
-
headerParameters = {};
|
|
334
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
335
|
-
urlPath = "/ui/tenants/v1/{id}/invitations";
|
|
336
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
337
|
-
return [4 /*yield*/, this.request({
|
|
338
|
-
path: urlPath,
|
|
339
|
-
method: 'POST',
|
|
340
|
-
headers: headerParameters,
|
|
341
|
-
query: queryParameters,
|
|
342
|
-
body: (0, index_1.TenantInvitationDtoToJSON)(requestParameters['tenantInvitationDto']),
|
|
343
|
-
}, initOverrides)];
|
|
423
|
+
case 0: return [4 /*yield*/, this.tenantMailInviteRequestOpts(requestParameters)];
|
|
344
424
|
case 1:
|
|
425
|
+
requestOptions = _a.sent();
|
|
426
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
427
|
+
case 2:
|
|
345
428
|
response = _a.sent();
|
|
346
429
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
347
430
|
}
|
|
@@ -363,29 +446,42 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
363
446
|
});
|
|
364
447
|
});
|
|
365
448
|
};
|
|
449
|
+
/**
|
|
450
|
+
* Creates request options for tenantRequestDelete without sending the request
|
|
451
|
+
*/
|
|
452
|
+
TenantsApi.prototype.tenantRequestDeleteRequestOpts = function (requestParameters) {
|
|
453
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
454
|
+
var queryParameters, headerParameters, urlPath;
|
|
455
|
+
return __generator(this, function (_a) {
|
|
456
|
+
if (requestParameters['id'] == null) {
|
|
457
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling tenantRequestDelete().');
|
|
458
|
+
}
|
|
459
|
+
queryParameters = {};
|
|
460
|
+
headerParameters = {};
|
|
461
|
+
urlPath = "/ui/tenants/v1/{id}/deletion";
|
|
462
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
463
|
+
return [2 /*return*/, {
|
|
464
|
+
path: urlPath,
|
|
465
|
+
method: 'POST',
|
|
466
|
+
headers: headerParameters,
|
|
467
|
+
query: queryParameters,
|
|
468
|
+
}];
|
|
469
|
+
});
|
|
470
|
+
});
|
|
471
|
+
};
|
|
366
472
|
/**
|
|
367
473
|
* request tenant deletion
|
|
368
474
|
*/
|
|
369
475
|
TenantsApi.prototype.tenantRequestDeleteRaw = function (requestParameters, initOverrides) {
|
|
370
476
|
return __awaiter(this, void 0, void 0, function () {
|
|
371
|
-
var
|
|
477
|
+
var requestOptions, response;
|
|
372
478
|
return __generator(this, function (_a) {
|
|
373
479
|
switch (_a.label) {
|
|
374
|
-
case 0:
|
|
375
|
-
if (requestParameters['id'] == null) {
|
|
376
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling tenantRequestDelete().');
|
|
377
|
-
}
|
|
378
|
-
queryParameters = {};
|
|
379
|
-
headerParameters = {};
|
|
380
|
-
urlPath = "/ui/tenants/v1/{id}/deletion";
|
|
381
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
382
|
-
return [4 /*yield*/, this.request({
|
|
383
|
-
path: urlPath,
|
|
384
|
-
method: 'POST',
|
|
385
|
-
headers: headerParameters,
|
|
386
|
-
query: queryParameters,
|
|
387
|
-
}, initOverrides)];
|
|
480
|
+
case 0: return [4 /*yield*/, this.tenantRequestDeleteRequestOpts(requestParameters)];
|
|
388
481
|
case 1:
|
|
482
|
+
requestOptions = _a.sent();
|
|
483
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
484
|
+
case 2:
|
|
389
485
|
response = _a.sent();
|
|
390
486
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
391
487
|
}
|
|
@@ -407,36 +503,113 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
407
503
|
});
|
|
408
504
|
});
|
|
409
505
|
};
|
|
506
|
+
/**
|
|
507
|
+
* Creates request options for tenantRequestOwnerAddition without sending the request
|
|
508
|
+
*/
|
|
509
|
+
TenantsApi.prototype.tenantRequestOwnerAdditionRequestOpts = function (requestParameters) {
|
|
510
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
511
|
+
var queryParameters, headerParameters, urlPath;
|
|
512
|
+
return __generator(this, function (_a) {
|
|
513
|
+
if (requestParameters['id'] == null) {
|
|
514
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling tenantRequestOwnerAddition().');
|
|
515
|
+
}
|
|
516
|
+
if (requestParameters['tenantOwnerAdditionDto'] == null) {
|
|
517
|
+
throw new runtime.RequiredError('tenantOwnerAdditionDto', 'Required parameter "tenantOwnerAdditionDto" was null or undefined when calling tenantRequestOwnerAddition().');
|
|
518
|
+
}
|
|
519
|
+
queryParameters = {};
|
|
520
|
+
headerParameters = {};
|
|
521
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
522
|
+
urlPath = "/ui/tenants/v1/{id}/owners";
|
|
523
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
524
|
+
return [2 /*return*/, {
|
|
525
|
+
path: urlPath,
|
|
526
|
+
method: 'POST',
|
|
527
|
+
headers: headerParameters,
|
|
528
|
+
query: queryParameters,
|
|
529
|
+
body: (0, TenantOwnerAdditionDto_1.TenantOwnerAdditionDtoToJSON)(requestParameters['tenantOwnerAdditionDto']),
|
|
530
|
+
}];
|
|
531
|
+
});
|
|
532
|
+
});
|
|
533
|
+
};
|
|
534
|
+
/**
|
|
535
|
+
* Sends an e-mail to the requesting owner. The new owner is added once the requesting owner approves it via /ui/tenants-owner-addition/v1/approval. The existing owners stay owners.
|
|
536
|
+
* request adding a tenant owner
|
|
537
|
+
*/
|
|
538
|
+
TenantsApi.prototype.tenantRequestOwnerAdditionRaw = function (requestParameters, initOverrides) {
|
|
539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
540
|
+
var requestOptions, response;
|
|
541
|
+
return __generator(this, function (_a) {
|
|
542
|
+
switch (_a.label) {
|
|
543
|
+
case 0: return [4 /*yield*/, this.tenantRequestOwnerAdditionRequestOpts(requestParameters)];
|
|
544
|
+
case 1:
|
|
545
|
+
requestOptions = _a.sent();
|
|
546
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
547
|
+
case 2:
|
|
548
|
+
response = _a.sent();
|
|
549
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
});
|
|
553
|
+
};
|
|
554
|
+
/**
|
|
555
|
+
* Sends an e-mail to the requesting owner. The new owner is added once the requesting owner approves it via /ui/tenants-owner-addition/v1/approval. The existing owners stay owners.
|
|
556
|
+
* request adding a tenant owner
|
|
557
|
+
*/
|
|
558
|
+
TenantsApi.prototype.tenantRequestOwnerAddition = function (requestParameters, initOverrides) {
|
|
559
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
560
|
+
return __generator(this, function (_a) {
|
|
561
|
+
switch (_a.label) {
|
|
562
|
+
case 0: return [4 /*yield*/, this.tenantRequestOwnerAdditionRaw(requestParameters, initOverrides)];
|
|
563
|
+
case 1:
|
|
564
|
+
_a.sent();
|
|
565
|
+
return [2 /*return*/];
|
|
566
|
+
}
|
|
567
|
+
});
|
|
568
|
+
});
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* Creates request options for updateHandle without sending the request
|
|
572
|
+
*/
|
|
573
|
+
TenantsApi.prototype.updateHandleRequestOpts = function (requestParameters) {
|
|
574
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
575
|
+
var queryParameters, headerParameters, urlPath;
|
|
576
|
+
return __generator(this, function (_a) {
|
|
577
|
+
if (requestParameters['id'] == null) {
|
|
578
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateHandle().');
|
|
579
|
+
}
|
|
580
|
+
if (requestParameters['body'] == null) {
|
|
581
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling updateHandle().');
|
|
582
|
+
}
|
|
583
|
+
queryParameters = {};
|
|
584
|
+
headerParameters = {};
|
|
585
|
+
headerParameters['Content-Type'] = 'text/plain';
|
|
586
|
+
urlPath = "/ui/tenants/v1/{id}/handle";
|
|
587
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
588
|
+
return [2 /*return*/, {
|
|
589
|
+
path: urlPath,
|
|
590
|
+
method: 'PUT',
|
|
591
|
+
headers: headerParameters,
|
|
592
|
+
query: queryParameters,
|
|
593
|
+
body: requestParameters['body'],
|
|
594
|
+
}];
|
|
595
|
+
});
|
|
596
|
+
});
|
|
597
|
+
};
|
|
410
598
|
/**
|
|
411
599
|
* update a tenant handle
|
|
412
600
|
*/
|
|
413
601
|
TenantsApi.prototype.updateHandleRaw = function (requestParameters, initOverrides) {
|
|
414
602
|
return __awaiter(this, void 0, void 0, function () {
|
|
415
|
-
var
|
|
603
|
+
var requestOptions, response;
|
|
416
604
|
return __generator(this, function (_a) {
|
|
417
605
|
switch (_a.label) {
|
|
418
|
-
case 0:
|
|
419
|
-
if (requestParameters['id'] == null) {
|
|
420
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateHandle().');
|
|
421
|
-
}
|
|
422
|
-
if (requestParameters['body'] == null) {
|
|
423
|
-
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling updateHandle().');
|
|
424
|
-
}
|
|
425
|
-
queryParameters = {};
|
|
426
|
-
headerParameters = {};
|
|
427
|
-
headerParameters['Content-Type'] = 'text/plain';
|
|
428
|
-
urlPath = "/ui/tenants/v1/{id}/handle";
|
|
429
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
430
|
-
return [4 /*yield*/, this.request({
|
|
431
|
-
path: urlPath,
|
|
432
|
-
method: 'PUT',
|
|
433
|
-
headers: headerParameters,
|
|
434
|
-
query: queryParameters,
|
|
435
|
-
body: requestParameters['body'],
|
|
436
|
-
}, initOverrides)];
|
|
606
|
+
case 0: return [4 /*yield*/, this.updateHandleRequestOpts(requestParameters)];
|
|
437
607
|
case 1:
|
|
608
|
+
requestOptions = _a.sent();
|
|
609
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
610
|
+
case 2:
|
|
438
611
|
response = _a.sent();
|
|
439
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
612
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TenantDto_1.TenantDtoFromJSON)(jsonValue); })];
|
|
440
613
|
}
|
|
441
614
|
});
|
|
442
615
|
});
|
|
@@ -458,48 +631,61 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
458
631
|
});
|
|
459
632
|
});
|
|
460
633
|
};
|
|
634
|
+
/**
|
|
635
|
+
* Creates request options for updateLogo without sending the request
|
|
636
|
+
*/
|
|
637
|
+
TenantsApi.prototype.updateLogoRequestOpts = function (requestParameters) {
|
|
638
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
639
|
+
var queryParameters, headerParameters, consumes, canConsumeForm, formParams, useForm, urlPath;
|
|
640
|
+
return __generator(this, function (_a) {
|
|
641
|
+
if (requestParameters['id'] == null) {
|
|
642
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateLogo().');
|
|
643
|
+
}
|
|
644
|
+
queryParameters = {};
|
|
645
|
+
headerParameters = {};
|
|
646
|
+
consumes = [
|
|
647
|
+
{ contentType: 'multipart/form-data' },
|
|
648
|
+
];
|
|
649
|
+
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
650
|
+
useForm = false;
|
|
651
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
652
|
+
useForm = canConsumeForm;
|
|
653
|
+
if (useForm) {
|
|
654
|
+
formParams = new FormData();
|
|
655
|
+
}
|
|
656
|
+
else {
|
|
657
|
+
formParams = new URLSearchParams();
|
|
658
|
+
}
|
|
659
|
+
if (requestParameters['file'] != null) {
|
|
660
|
+
formParams.append('file', requestParameters['file']);
|
|
661
|
+
}
|
|
662
|
+
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
663
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
664
|
+
return [2 /*return*/, {
|
|
665
|
+
path: urlPath,
|
|
666
|
+
method: 'PUT',
|
|
667
|
+
headers: headerParameters,
|
|
668
|
+
query: queryParameters,
|
|
669
|
+
body: formParams,
|
|
670
|
+
}];
|
|
671
|
+
});
|
|
672
|
+
});
|
|
673
|
+
};
|
|
461
674
|
/**
|
|
462
675
|
* update a tenant logo
|
|
463
676
|
*/
|
|
464
677
|
TenantsApi.prototype.updateLogoRaw = function (requestParameters, initOverrides) {
|
|
465
678
|
return __awaiter(this, void 0, void 0, function () {
|
|
466
|
-
var
|
|
679
|
+
var requestOptions, response;
|
|
467
680
|
return __generator(this, function (_a) {
|
|
468
681
|
switch (_a.label) {
|
|
469
|
-
case 0:
|
|
470
|
-
if (requestParameters['id'] == null) {
|
|
471
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateLogo().');
|
|
472
|
-
}
|
|
473
|
-
queryParameters = {};
|
|
474
|
-
headerParameters = {};
|
|
475
|
-
consumes = [
|
|
476
|
-
{ contentType: 'multipart/form-data' },
|
|
477
|
-
];
|
|
478
|
-
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
479
|
-
useForm = false;
|
|
480
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
481
|
-
useForm = canConsumeForm;
|
|
482
|
-
if (useForm) {
|
|
483
|
-
formParams = new FormData();
|
|
484
|
-
}
|
|
485
|
-
else {
|
|
486
|
-
formParams = new URLSearchParams();
|
|
487
|
-
}
|
|
488
|
-
if (requestParameters['file'] != null) {
|
|
489
|
-
formParams.append('file', requestParameters['file']);
|
|
490
|
-
}
|
|
491
|
-
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
492
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
493
|
-
return [4 /*yield*/, this.request({
|
|
494
|
-
path: urlPath,
|
|
495
|
-
method: 'PUT',
|
|
496
|
-
headers: headerParameters,
|
|
497
|
-
query: queryParameters,
|
|
498
|
-
body: formParams,
|
|
499
|
-
}, initOverrides)];
|
|
682
|
+
case 0: return [4 /*yield*/, this.updateLogoRequestOpts(requestParameters)];
|
|
500
683
|
case 1:
|
|
684
|
+
requestOptions = _a.sent();
|
|
685
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
686
|
+
case 2:
|
|
501
687
|
response = _a.sent();
|
|
502
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
688
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FileDto_1.FileDtoFromJSON)(jsonValue); })];
|
|
503
689
|
}
|
|
504
690
|
});
|
|
505
691
|
});
|
|
@@ -521,36 +707,49 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
521
707
|
});
|
|
522
708
|
});
|
|
523
709
|
};
|
|
710
|
+
/**
|
|
711
|
+
* Creates request options for updateTenant without sending the request
|
|
712
|
+
*/
|
|
713
|
+
TenantsApi.prototype.updateTenantRequestOpts = function (requestParameters) {
|
|
714
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
715
|
+
var queryParameters, headerParameters, urlPath;
|
|
716
|
+
return __generator(this, function (_a) {
|
|
717
|
+
if (requestParameters['id'] == null) {
|
|
718
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateTenant().');
|
|
719
|
+
}
|
|
720
|
+
if (requestParameters['tenantDto'] == null) {
|
|
721
|
+
throw new runtime.RequiredError('tenantDto', 'Required parameter "tenantDto" was null or undefined when calling updateTenant().');
|
|
722
|
+
}
|
|
723
|
+
queryParameters = {};
|
|
724
|
+
headerParameters = {};
|
|
725
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
726
|
+
urlPath = "/ui/tenants/v1/{id}";
|
|
727
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
728
|
+
return [2 /*return*/, {
|
|
729
|
+
path: urlPath,
|
|
730
|
+
method: 'PUT',
|
|
731
|
+
headers: headerParameters,
|
|
732
|
+
query: queryParameters,
|
|
733
|
+
body: (0, TenantDto_1.TenantDtoToJSON)(requestParameters['tenantDto']),
|
|
734
|
+
}];
|
|
735
|
+
});
|
|
736
|
+
});
|
|
737
|
+
};
|
|
524
738
|
/**
|
|
525
739
|
* Update tenant by id
|
|
526
740
|
*/
|
|
527
741
|
TenantsApi.prototype.updateTenantRaw = function (requestParameters, initOverrides) {
|
|
528
742
|
return __awaiter(this, void 0, void 0, function () {
|
|
529
|
-
var
|
|
743
|
+
var requestOptions, response;
|
|
530
744
|
return __generator(this, function (_a) {
|
|
531
745
|
switch (_a.label) {
|
|
532
|
-
case 0:
|
|
533
|
-
if (requestParameters['id'] == null) {
|
|
534
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateTenant().');
|
|
535
|
-
}
|
|
536
|
-
if (requestParameters['tenantDto'] == null) {
|
|
537
|
-
throw new runtime.RequiredError('tenantDto', 'Required parameter "tenantDto" was null or undefined when calling updateTenant().');
|
|
538
|
-
}
|
|
539
|
-
queryParameters = {};
|
|
540
|
-
headerParameters = {};
|
|
541
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
542
|
-
urlPath = "/ui/tenants/v1/{id}";
|
|
543
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
544
|
-
return [4 /*yield*/, this.request({
|
|
545
|
-
path: urlPath,
|
|
546
|
-
method: 'PUT',
|
|
547
|
-
headers: headerParameters,
|
|
548
|
-
query: queryParameters,
|
|
549
|
-
body: (0, index_1.TenantDtoToJSON)(requestParameters['tenantDto']),
|
|
550
|
-
}, initOverrides)];
|
|
746
|
+
case 0: return [4 /*yield*/, this.updateTenantRequestOpts(requestParameters)];
|
|
551
747
|
case 1:
|
|
748
|
+
requestOptions = _a.sent();
|
|
749
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
750
|
+
case 2:
|
|
552
751
|
response = _a.sent();
|
|
553
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
752
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, TenantDto_1.TenantDtoFromJSON)(jsonValue); })];
|
|
554
753
|
}
|
|
555
754
|
});
|
|
556
755
|
});
|
|
@@ -572,48 +771,61 @@ var TenantsApi = /** @class */ (function (_super) {
|
|
|
572
771
|
});
|
|
573
772
|
});
|
|
574
773
|
};
|
|
774
|
+
/**
|
|
775
|
+
* Creates request options for uploadLogo without sending the request
|
|
776
|
+
*/
|
|
777
|
+
TenantsApi.prototype.uploadLogoRequestOpts = function (requestParameters) {
|
|
778
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
779
|
+
var queryParameters, headerParameters, consumes, canConsumeForm, formParams, useForm, urlPath;
|
|
780
|
+
return __generator(this, function (_a) {
|
|
781
|
+
if (requestParameters['id'] == null) {
|
|
782
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling uploadLogo().');
|
|
783
|
+
}
|
|
784
|
+
queryParameters = {};
|
|
785
|
+
headerParameters = {};
|
|
786
|
+
consumes = [
|
|
787
|
+
{ contentType: 'multipart/form-data' },
|
|
788
|
+
];
|
|
789
|
+
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
790
|
+
useForm = false;
|
|
791
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
792
|
+
useForm = canConsumeForm;
|
|
793
|
+
if (useForm) {
|
|
794
|
+
formParams = new FormData();
|
|
795
|
+
}
|
|
796
|
+
else {
|
|
797
|
+
formParams = new URLSearchParams();
|
|
798
|
+
}
|
|
799
|
+
if (requestParameters['file'] != null) {
|
|
800
|
+
formParams.append('file', requestParameters['file']);
|
|
801
|
+
}
|
|
802
|
+
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
803
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
804
|
+
return [2 /*return*/, {
|
|
805
|
+
path: urlPath,
|
|
806
|
+
method: 'POST',
|
|
807
|
+
headers: headerParameters,
|
|
808
|
+
query: queryParameters,
|
|
809
|
+
body: formParams,
|
|
810
|
+
}];
|
|
811
|
+
});
|
|
812
|
+
});
|
|
813
|
+
};
|
|
575
814
|
/**
|
|
576
815
|
* upload a tenant logo
|
|
577
816
|
*/
|
|
578
817
|
TenantsApi.prototype.uploadLogoRaw = function (requestParameters, initOverrides) {
|
|
579
818
|
return __awaiter(this, void 0, void 0, function () {
|
|
580
|
-
var
|
|
819
|
+
var requestOptions, response;
|
|
581
820
|
return __generator(this, function (_a) {
|
|
582
821
|
switch (_a.label) {
|
|
583
|
-
case 0:
|
|
584
|
-
if (requestParameters['id'] == null) {
|
|
585
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling uploadLogo().');
|
|
586
|
-
}
|
|
587
|
-
queryParameters = {};
|
|
588
|
-
headerParameters = {};
|
|
589
|
-
consumes = [
|
|
590
|
-
{ contentType: 'multipart/form-data' },
|
|
591
|
-
];
|
|
592
|
-
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
593
|
-
useForm = false;
|
|
594
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
595
|
-
useForm = canConsumeForm;
|
|
596
|
-
if (useForm) {
|
|
597
|
-
formParams = new FormData();
|
|
598
|
-
}
|
|
599
|
-
else {
|
|
600
|
-
formParams = new URLSearchParams();
|
|
601
|
-
}
|
|
602
|
-
if (requestParameters['file'] != null) {
|
|
603
|
-
formParams.append('file', requestParameters['file']);
|
|
604
|
-
}
|
|
605
|
-
urlPath = "/ui/tenants/v1/{id}/logo";
|
|
606
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
607
|
-
return [4 /*yield*/, this.request({
|
|
608
|
-
path: urlPath,
|
|
609
|
-
method: 'POST',
|
|
610
|
-
headers: headerParameters,
|
|
611
|
-
query: queryParameters,
|
|
612
|
-
body: formParams,
|
|
613
|
-
}, initOverrides)];
|
|
822
|
+
case 0: return [4 /*yield*/, this.uploadLogoRequestOpts(requestParameters)];
|
|
614
823
|
case 1:
|
|
824
|
+
requestOptions = _a.sent();
|
|
825
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
826
|
+
case 2:
|
|
615
827
|
response = _a.sent();
|
|
616
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
828
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, FileDto_1.FileDtoFromJSON)(jsonValue); })];
|
|
617
829
|
}
|
|
618
830
|
});
|
|
619
831
|
});
|
|
@@ -643,5 +855,5 @@ exports.TenantsApi = TenantsApi;
|
|
|
643
855
|
*/
|
|
644
856
|
exports.DownloadLogoTargetEnum = {
|
|
645
857
|
Binary: 'BINARY',
|
|
646
|
-
DataUriScheme: 'DATA_URI_SCHEME'
|
|
858
|
+
DataUriScheme: 'DATA_URI_SCHEME',
|
|
647
859
|
};
|