@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
|
@@ -65,7 +65,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
65
65
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
66
|
exports.WorkflowsApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
|
-
var
|
|
68
|
+
var DeployWorkflowRequest_1 = require("../models/DeployWorkflowRequest");
|
|
69
|
+
var GetAllWorkflows200Response_1 = require("../models/GetAllWorkflows200Response");
|
|
70
|
+
var RunWorkflowRequest_1 = require("../models/RunWorkflowRequest");
|
|
71
|
+
var ValidationErrors_1 = require("../models/ValidationErrors");
|
|
72
|
+
var WorkflowDto_1 = require("../models/WorkflowDto");
|
|
69
73
|
/**
|
|
70
74
|
*
|
|
71
75
|
*/
|
|
@@ -74,32 +78,45 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
74
78
|
function WorkflowsApi() {
|
|
75
79
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Creates request options for createWorkflow without sending the request
|
|
83
|
+
*/
|
|
84
|
+
WorkflowsApi.prototype.createWorkflowRequestOpts = function (requestParameters) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
86
|
+
var queryParameters, headerParameters, urlPath;
|
|
87
|
+
return __generator(this, function (_a) {
|
|
88
|
+
if (requestParameters['workflowDto'] == null) {
|
|
89
|
+
throw new runtime.RequiredError('workflowDto', 'Required parameter "workflowDto" was null or undefined when calling createWorkflow().');
|
|
90
|
+
}
|
|
91
|
+
queryParameters = {};
|
|
92
|
+
headerParameters = {};
|
|
93
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
94
|
+
urlPath = "/ui/workflow/v1/workflows";
|
|
95
|
+
return [2 /*return*/, {
|
|
96
|
+
path: urlPath,
|
|
97
|
+
method: 'POST',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
body: (0, WorkflowDto_1.WorkflowDtoToJSON)(requestParameters['workflowDto']),
|
|
101
|
+
}];
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
};
|
|
77
105
|
/**
|
|
78
106
|
* Create a new workflow
|
|
79
107
|
*/
|
|
80
108
|
WorkflowsApi.prototype.createWorkflowRaw = function (requestParameters, initOverrides) {
|
|
81
109
|
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
-
var
|
|
110
|
+
var requestOptions, response;
|
|
83
111
|
return __generator(this, function (_a) {
|
|
84
112
|
switch (_a.label) {
|
|
85
|
-
case 0:
|
|
86
|
-
if (requestParameters['workflowDto'] == null) {
|
|
87
|
-
throw new runtime.RequiredError('workflowDto', 'Required parameter "workflowDto" was null or undefined when calling createWorkflow().');
|
|
88
|
-
}
|
|
89
|
-
queryParameters = {};
|
|
90
|
-
headerParameters = {};
|
|
91
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
92
|
-
urlPath = "/ui/workflow/v1/workflows";
|
|
93
|
-
return [4 /*yield*/, this.request({
|
|
94
|
-
path: urlPath,
|
|
95
|
-
method: 'POST',
|
|
96
|
-
headers: headerParameters,
|
|
97
|
-
query: queryParameters,
|
|
98
|
-
body: (0, index_1.WorkflowDtoToJSON)(requestParameters['workflowDto']),
|
|
99
|
-
}, initOverrides)];
|
|
113
|
+
case 0: return [4 /*yield*/, this.createWorkflowRequestOpts(requestParameters)];
|
|
100
114
|
case 1:
|
|
115
|
+
requestOptions = _a.sent();
|
|
116
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
117
|
+
case 2:
|
|
101
118
|
response = _a.sent();
|
|
102
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
119
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
103
120
|
}
|
|
104
121
|
});
|
|
105
122
|
});
|
|
@@ -121,30 +138,43 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
121
138
|
});
|
|
122
139
|
});
|
|
123
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
* Creates request options for deleteWorkflow without sending the request
|
|
143
|
+
*/
|
|
144
|
+
WorkflowsApi.prototype.deleteWorkflowRequestOpts = function (requestParameters) {
|
|
145
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
146
|
+
var queryParameters, headerParameters, urlPath;
|
|
147
|
+
return __generator(this, function (_a) {
|
|
148
|
+
if (requestParameters['id'] == null) {
|
|
149
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteWorkflow().');
|
|
150
|
+
}
|
|
151
|
+
queryParameters = {};
|
|
152
|
+
headerParameters = {};
|
|
153
|
+
urlPath = "/ui/workflow/v1/workflows/{id}";
|
|
154
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
155
|
+
return [2 /*return*/, {
|
|
156
|
+
path: urlPath,
|
|
157
|
+
method: 'DELETE',
|
|
158
|
+
headers: headerParameters,
|
|
159
|
+
query: queryParameters,
|
|
160
|
+
}];
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
};
|
|
124
164
|
/**
|
|
125
165
|
* Stop deployment and all processes, delete workflow and all processes
|
|
126
166
|
* delete single workflow
|
|
127
167
|
*/
|
|
128
168
|
WorkflowsApi.prototype.deleteWorkflowRaw = function (requestParameters, initOverrides) {
|
|
129
169
|
return __awaiter(this, void 0, void 0, function () {
|
|
130
|
-
var
|
|
170
|
+
var requestOptions, response;
|
|
131
171
|
return __generator(this, function (_a) {
|
|
132
172
|
switch (_a.label) {
|
|
133
|
-
case 0:
|
|
134
|
-
if (requestParameters['id'] == null) {
|
|
135
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteWorkflow().');
|
|
136
|
-
}
|
|
137
|
-
queryParameters = {};
|
|
138
|
-
headerParameters = {};
|
|
139
|
-
urlPath = "/ui/workflow/v1/workflows/{id}";
|
|
140
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
141
|
-
return [4 /*yield*/, this.request({
|
|
142
|
-
path: urlPath,
|
|
143
|
-
method: 'DELETE',
|
|
144
|
-
headers: headerParameters,
|
|
145
|
-
query: queryParameters,
|
|
146
|
-
}, initOverrides)];
|
|
173
|
+
case 0: return [4 /*yield*/, this.deleteWorkflowRequestOpts(requestParameters)];
|
|
147
174
|
case 1:
|
|
175
|
+
requestOptions = _a.sent();
|
|
176
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
177
|
+
case 2:
|
|
148
178
|
response = _a.sent();
|
|
149
179
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
150
180
|
}
|
|
@@ -167,36 +197,49 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
167
197
|
});
|
|
168
198
|
});
|
|
169
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* Creates request options for deployWorkflow without sending the request
|
|
202
|
+
*/
|
|
203
|
+
WorkflowsApi.prototype.deployWorkflowRequestOpts = function (requestParameters) {
|
|
204
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
205
|
+
var queryParameters, headerParameters, urlPath;
|
|
206
|
+
return __generator(this, function (_a) {
|
|
207
|
+
if (requestParameters['id'] == null) {
|
|
208
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deployWorkflow().');
|
|
209
|
+
}
|
|
210
|
+
if (requestParameters['deployWorkflowRequest'] == null) {
|
|
211
|
+
throw new runtime.RequiredError('deployWorkflowRequest', 'Required parameter "deployWorkflowRequest" was null or undefined when calling deployWorkflow().');
|
|
212
|
+
}
|
|
213
|
+
queryParameters = {};
|
|
214
|
+
headerParameters = {};
|
|
215
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
216
|
+
urlPath = "/ui/workflow/v1/workflows/{id}/deploy";
|
|
217
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
218
|
+
return [2 /*return*/, {
|
|
219
|
+
path: urlPath,
|
|
220
|
+
method: 'POST',
|
|
221
|
+
headers: headerParameters,
|
|
222
|
+
query: queryParameters,
|
|
223
|
+
body: (0, DeployWorkflowRequest_1.DeployWorkflowRequestToJSON)(requestParameters['deployWorkflowRequest']),
|
|
224
|
+
}];
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
};
|
|
170
228
|
/**
|
|
171
229
|
* Deploy a workflow
|
|
172
230
|
*/
|
|
173
231
|
WorkflowsApi.prototype.deployWorkflowRaw = function (requestParameters, initOverrides) {
|
|
174
232
|
return __awaiter(this, void 0, void 0, function () {
|
|
175
|
-
var
|
|
233
|
+
var requestOptions, response;
|
|
176
234
|
return __generator(this, function (_a) {
|
|
177
235
|
switch (_a.label) {
|
|
178
|
-
case 0:
|
|
179
|
-
if (requestParameters['id'] == null) {
|
|
180
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deployWorkflow().');
|
|
181
|
-
}
|
|
182
|
-
if (requestParameters['deployWorkflowRequest'] == null) {
|
|
183
|
-
throw new runtime.RequiredError('deployWorkflowRequest', 'Required parameter "deployWorkflowRequest" was null or undefined when calling deployWorkflow().');
|
|
184
|
-
}
|
|
185
|
-
queryParameters = {};
|
|
186
|
-
headerParameters = {};
|
|
187
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
188
|
-
urlPath = "/ui/workflow/v1/workflows/{id}/deploy";
|
|
189
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
190
|
-
return [4 /*yield*/, this.request({
|
|
191
|
-
path: urlPath,
|
|
192
|
-
method: 'POST',
|
|
193
|
-
headers: headerParameters,
|
|
194
|
-
query: queryParameters,
|
|
195
|
-
body: (0, index_1.DeployWorkflowRequestToJSON)(requestParameters['deployWorkflowRequest']),
|
|
196
|
-
}, initOverrides)];
|
|
236
|
+
case 0: return [4 /*yield*/, this.deployWorkflowRequestOpts(requestParameters)];
|
|
197
237
|
case 1:
|
|
238
|
+
requestOptions = _a.sent();
|
|
239
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
240
|
+
case 2:
|
|
198
241
|
response = _a.sent();
|
|
199
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
242
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
200
243
|
}
|
|
201
244
|
});
|
|
202
245
|
});
|
|
@@ -218,36 +261,49 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
218
261
|
});
|
|
219
262
|
});
|
|
220
263
|
};
|
|
264
|
+
/**
|
|
265
|
+
* Creates request options for getAllWorkflows without sending the request
|
|
266
|
+
*/
|
|
267
|
+
WorkflowsApi.prototype.getAllWorkflowsRequestOpts = 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['pageable'] == null) {
|
|
272
|
+
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllWorkflows().');
|
|
273
|
+
}
|
|
274
|
+
queryParameters = {};
|
|
275
|
+
if (requestParameters['pageable'] != null) {
|
|
276
|
+
queryParameters['pageable'] = requestParameters['pageable'];
|
|
277
|
+
}
|
|
278
|
+
if (requestParameters['filter'] != null) {
|
|
279
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
280
|
+
}
|
|
281
|
+
headerParameters = {};
|
|
282
|
+
urlPath = "/ui/workflow/v1/workflows";
|
|
283
|
+
return [2 /*return*/, {
|
|
284
|
+
path: urlPath,
|
|
285
|
+
method: 'GET',
|
|
286
|
+
headers: headerParameters,
|
|
287
|
+
query: queryParameters,
|
|
288
|
+
}];
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
};
|
|
221
292
|
/**
|
|
222
293
|
* get all workflows
|
|
223
294
|
*/
|
|
224
295
|
WorkflowsApi.prototype.getAllWorkflowsRaw = function (requestParameters, initOverrides) {
|
|
225
296
|
return __awaiter(this, void 0, void 0, function () {
|
|
226
|
-
var
|
|
297
|
+
var requestOptions, response;
|
|
227
298
|
return __generator(this, function (_a) {
|
|
228
299
|
switch (_a.label) {
|
|
229
|
-
case 0:
|
|
230
|
-
if (requestParameters['pageable'] == null) {
|
|
231
|
-
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllWorkflows().');
|
|
232
|
-
}
|
|
233
|
-
queryParameters = {};
|
|
234
|
-
if (requestParameters['pageable'] != null) {
|
|
235
|
-
queryParameters['pageable'] = requestParameters['pageable'];
|
|
236
|
-
}
|
|
237
|
-
if (requestParameters['filter'] != null) {
|
|
238
|
-
queryParameters['filter'] = requestParameters['filter'];
|
|
239
|
-
}
|
|
240
|
-
headerParameters = {};
|
|
241
|
-
urlPath = "/ui/workflow/v1/workflows";
|
|
242
|
-
return [4 /*yield*/, this.request({
|
|
243
|
-
path: urlPath,
|
|
244
|
-
method: 'GET',
|
|
245
|
-
headers: headerParameters,
|
|
246
|
-
query: queryParameters,
|
|
247
|
-
}, initOverrides)];
|
|
300
|
+
case 0: return [4 /*yield*/, this.getAllWorkflowsRequestOpts(requestParameters)];
|
|
248
301
|
case 1:
|
|
302
|
+
requestOptions = _a.sent();
|
|
303
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
304
|
+
case 2:
|
|
249
305
|
response = _a.sent();
|
|
250
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
306
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetAllWorkflows200Response_1.GetAllWorkflows200ResponseFromJSON)(jsonValue); })];
|
|
251
307
|
}
|
|
252
308
|
});
|
|
253
309
|
});
|
|
@@ -269,31 +325,44 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
269
325
|
});
|
|
270
326
|
});
|
|
271
327
|
};
|
|
328
|
+
/**
|
|
329
|
+
* Creates request options for getWorkflow without sending the request
|
|
330
|
+
*/
|
|
331
|
+
WorkflowsApi.prototype.getWorkflowRequestOpts = function (requestParameters) {
|
|
332
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
333
|
+
var queryParameters, headerParameters, urlPath;
|
|
334
|
+
return __generator(this, function (_a) {
|
|
335
|
+
if (requestParameters['id'] == null) {
|
|
336
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getWorkflow().');
|
|
337
|
+
}
|
|
338
|
+
queryParameters = {};
|
|
339
|
+
headerParameters = {};
|
|
340
|
+
urlPath = "/ui/workflow/v1/workflows/{id}";
|
|
341
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
342
|
+
return [2 /*return*/, {
|
|
343
|
+
path: urlPath,
|
|
344
|
+
method: 'GET',
|
|
345
|
+
headers: headerParameters,
|
|
346
|
+
query: queryParameters,
|
|
347
|
+
}];
|
|
348
|
+
});
|
|
349
|
+
});
|
|
350
|
+
};
|
|
272
351
|
/**
|
|
273
352
|
* read one workflow
|
|
274
353
|
*/
|
|
275
354
|
WorkflowsApi.prototype.getWorkflowRaw = function (requestParameters, initOverrides) {
|
|
276
355
|
return __awaiter(this, void 0, void 0, function () {
|
|
277
|
-
var
|
|
356
|
+
var requestOptions, response;
|
|
278
357
|
return __generator(this, function (_a) {
|
|
279
358
|
switch (_a.label) {
|
|
280
|
-
case 0:
|
|
281
|
-
if (requestParameters['id'] == null) {
|
|
282
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getWorkflow().');
|
|
283
|
-
}
|
|
284
|
-
queryParameters = {};
|
|
285
|
-
headerParameters = {};
|
|
286
|
-
urlPath = "/ui/workflow/v1/workflows/{id}";
|
|
287
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
288
|
-
return [4 /*yield*/, this.request({
|
|
289
|
-
path: urlPath,
|
|
290
|
-
method: 'GET',
|
|
291
|
-
headers: headerParameters,
|
|
292
|
-
query: queryParameters,
|
|
293
|
-
}, initOverrides)];
|
|
359
|
+
case 0: return [4 /*yield*/, this.getWorkflowRequestOpts(requestParameters)];
|
|
294
360
|
case 1:
|
|
361
|
+
requestOptions = _a.sent();
|
|
362
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
363
|
+
case 2:
|
|
295
364
|
response = _a.sent();
|
|
296
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
365
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
297
366
|
}
|
|
298
367
|
});
|
|
299
368
|
});
|
|
@@ -315,31 +384,44 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
315
384
|
});
|
|
316
385
|
});
|
|
317
386
|
};
|
|
387
|
+
/**
|
|
388
|
+
* Creates request options for resumeWorkflow without sending the request
|
|
389
|
+
*/
|
|
390
|
+
WorkflowsApi.prototype.resumeWorkflowRequestOpts = 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 resumeWorkflow().');
|
|
396
|
+
}
|
|
397
|
+
queryParameters = {};
|
|
398
|
+
headerParameters = {};
|
|
399
|
+
urlPath = "/ui/workflow/v1/workflow/{id}/resume";
|
|
400
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
401
|
+
return [2 /*return*/, {
|
|
402
|
+
path: urlPath,
|
|
403
|
+
method: 'POST',
|
|
404
|
+
headers: headerParameters,
|
|
405
|
+
query: queryParameters,
|
|
406
|
+
}];
|
|
407
|
+
});
|
|
408
|
+
});
|
|
409
|
+
};
|
|
318
410
|
/**
|
|
319
411
|
* Resume a stopped workflow
|
|
320
412
|
*/
|
|
321
413
|
WorkflowsApi.prototype.resumeWorkflowRaw = function (requestParameters, initOverrides) {
|
|
322
414
|
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
-
var
|
|
415
|
+
var requestOptions, response;
|
|
324
416
|
return __generator(this, function (_a) {
|
|
325
417
|
switch (_a.label) {
|
|
326
|
-
case 0:
|
|
327
|
-
if (requestParameters['id'] == null) {
|
|
328
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling resumeWorkflow().');
|
|
329
|
-
}
|
|
330
|
-
queryParameters = {};
|
|
331
|
-
headerParameters = {};
|
|
332
|
-
urlPath = "/ui/workflow/v1/workflow/{id}/resume";
|
|
333
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
334
|
-
return [4 /*yield*/, this.request({
|
|
335
|
-
path: urlPath,
|
|
336
|
-
method: 'POST',
|
|
337
|
-
headers: headerParameters,
|
|
338
|
-
query: queryParameters,
|
|
339
|
-
}, initOverrides)];
|
|
418
|
+
case 0: return [4 /*yield*/, this.resumeWorkflowRequestOpts(requestParameters)];
|
|
340
419
|
case 1:
|
|
420
|
+
requestOptions = _a.sent();
|
|
421
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
422
|
+
case 2:
|
|
341
423
|
response = _a.sent();
|
|
342
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
424
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
343
425
|
}
|
|
344
426
|
});
|
|
345
427
|
});
|
|
@@ -361,37 +443,50 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
361
443
|
});
|
|
362
444
|
});
|
|
363
445
|
};
|
|
446
|
+
/**
|
|
447
|
+
* Creates request options for runWorkflow without sending the request
|
|
448
|
+
*/
|
|
449
|
+
WorkflowsApi.prototype.runWorkflowRequestOpts = function (requestParameters) {
|
|
450
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
451
|
+
var queryParameters, headerParameters, urlPath;
|
|
452
|
+
return __generator(this, function (_a) {
|
|
453
|
+
if (requestParameters['id'] == null) {
|
|
454
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling runWorkflow().');
|
|
455
|
+
}
|
|
456
|
+
if (requestParameters['runWorkflowRequest'] == null) {
|
|
457
|
+
throw new runtime.RequiredError('runWorkflowRequest', 'Required parameter "runWorkflowRequest" was null or undefined when calling runWorkflow().');
|
|
458
|
+
}
|
|
459
|
+
queryParameters = {};
|
|
460
|
+
headerParameters = {};
|
|
461
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
462
|
+
urlPath = "/ui/workflow/v1/workflows/{id}/run";
|
|
463
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
464
|
+
return [2 /*return*/, {
|
|
465
|
+
path: urlPath,
|
|
466
|
+
method: 'POST',
|
|
467
|
+
headers: headerParameters,
|
|
468
|
+
query: queryParameters,
|
|
469
|
+
body: (0, RunWorkflowRequest_1.RunWorkflowRequestToJSON)(requestParameters['runWorkflowRequest']),
|
|
470
|
+
}];
|
|
471
|
+
});
|
|
472
|
+
});
|
|
473
|
+
};
|
|
364
474
|
/**
|
|
365
475
|
* Create a new process
|
|
366
476
|
* Run a deployment with parameters
|
|
367
477
|
*/
|
|
368
478
|
WorkflowsApi.prototype.runWorkflowRaw = function (requestParameters, initOverrides) {
|
|
369
479
|
return __awaiter(this, void 0, void 0, function () {
|
|
370
|
-
var
|
|
480
|
+
var requestOptions, response;
|
|
371
481
|
return __generator(this, function (_a) {
|
|
372
482
|
switch (_a.label) {
|
|
373
|
-
case 0:
|
|
374
|
-
if (requestParameters['id'] == null) {
|
|
375
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling runWorkflow().');
|
|
376
|
-
}
|
|
377
|
-
if (requestParameters['runWorkflowRequest'] == null) {
|
|
378
|
-
throw new runtime.RequiredError('runWorkflowRequest', 'Required parameter "runWorkflowRequest" was null or undefined when calling runWorkflow().');
|
|
379
|
-
}
|
|
380
|
-
queryParameters = {};
|
|
381
|
-
headerParameters = {};
|
|
382
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
383
|
-
urlPath = "/ui/workflow/v1/workflows/{id}/run";
|
|
384
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
385
|
-
return [4 /*yield*/, this.request({
|
|
386
|
-
path: urlPath,
|
|
387
|
-
method: 'POST',
|
|
388
|
-
headers: headerParameters,
|
|
389
|
-
query: queryParameters,
|
|
390
|
-
body: (0, index_1.RunWorkflowRequestToJSON)(requestParameters['runWorkflowRequest']),
|
|
391
|
-
}, initOverrides)];
|
|
483
|
+
case 0: return [4 /*yield*/, this.runWorkflowRequestOpts(requestParameters)];
|
|
392
484
|
case 1:
|
|
485
|
+
requestOptions = _a.sent();
|
|
486
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
487
|
+
case 2:
|
|
393
488
|
response = _a.sent();
|
|
394
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
489
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
395
490
|
}
|
|
396
491
|
});
|
|
397
492
|
});
|
|
@@ -414,31 +509,44 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
414
509
|
});
|
|
415
510
|
});
|
|
416
511
|
};
|
|
512
|
+
/**
|
|
513
|
+
* Creates request options for stopWorkflow without sending the request
|
|
514
|
+
*/
|
|
515
|
+
WorkflowsApi.prototype.stopWorkflowRequestOpts = function (requestParameters) {
|
|
516
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
517
|
+
var queryParameters, headerParameters, urlPath;
|
|
518
|
+
return __generator(this, function (_a) {
|
|
519
|
+
if (requestParameters['id'] == null) {
|
|
520
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling stopWorkflow().');
|
|
521
|
+
}
|
|
522
|
+
queryParameters = {};
|
|
523
|
+
headerParameters = {};
|
|
524
|
+
urlPath = "/ui/workflow/v1/workflow/{id}/stop";
|
|
525
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
526
|
+
return [2 /*return*/, {
|
|
527
|
+
path: urlPath,
|
|
528
|
+
method: 'POST',
|
|
529
|
+
headers: headerParameters,
|
|
530
|
+
query: queryParameters,
|
|
531
|
+
}];
|
|
532
|
+
});
|
|
533
|
+
});
|
|
534
|
+
};
|
|
417
535
|
/**
|
|
418
536
|
* Stop a deployment; running processes will continue to run
|
|
419
537
|
*/
|
|
420
538
|
WorkflowsApi.prototype.stopWorkflowRaw = function (requestParameters, initOverrides) {
|
|
421
539
|
return __awaiter(this, void 0, void 0, function () {
|
|
422
|
-
var
|
|
540
|
+
var requestOptions, response;
|
|
423
541
|
return __generator(this, function (_a) {
|
|
424
542
|
switch (_a.label) {
|
|
425
|
-
case 0:
|
|
426
|
-
if (requestParameters['id'] == null) {
|
|
427
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling stopWorkflow().');
|
|
428
|
-
}
|
|
429
|
-
queryParameters = {};
|
|
430
|
-
headerParameters = {};
|
|
431
|
-
urlPath = "/ui/workflow/v1/workflow/{id}/stop";
|
|
432
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
433
|
-
return [4 /*yield*/, this.request({
|
|
434
|
-
path: urlPath,
|
|
435
|
-
method: 'POST',
|
|
436
|
-
headers: headerParameters,
|
|
437
|
-
query: queryParameters,
|
|
438
|
-
}, initOverrides)];
|
|
543
|
+
case 0: return [4 /*yield*/, this.stopWorkflowRequestOpts(requestParameters)];
|
|
439
544
|
case 1:
|
|
545
|
+
requestOptions = _a.sent();
|
|
546
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
547
|
+
case 2:
|
|
440
548
|
response = _a.sent();
|
|
441
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
549
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
442
550
|
}
|
|
443
551
|
});
|
|
444
552
|
});
|
|
@@ -460,31 +568,44 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
460
568
|
});
|
|
461
569
|
});
|
|
462
570
|
};
|
|
571
|
+
/**
|
|
572
|
+
* Creates request options for undeployWorkflow without sending the request
|
|
573
|
+
*/
|
|
574
|
+
WorkflowsApi.prototype.undeployWorkflowRequestOpts = function (requestParameters) {
|
|
575
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
576
|
+
var queryParameters, headerParameters, urlPath;
|
|
577
|
+
return __generator(this, function (_a) {
|
|
578
|
+
if (requestParameters['id'] == null) {
|
|
579
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling undeployWorkflow().');
|
|
580
|
+
}
|
|
581
|
+
queryParameters = {};
|
|
582
|
+
headerParameters = {};
|
|
583
|
+
urlPath = "/ui/workflow/v1/workflow/{id}/undeploy";
|
|
584
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
585
|
+
return [2 /*return*/, {
|
|
586
|
+
path: urlPath,
|
|
587
|
+
method: 'POST',
|
|
588
|
+
headers: headerParameters,
|
|
589
|
+
query: queryParameters,
|
|
590
|
+
}];
|
|
591
|
+
});
|
|
592
|
+
});
|
|
593
|
+
};
|
|
463
594
|
/**
|
|
464
595
|
* Stop and undeploy a deployment; running processes will be stopped
|
|
465
596
|
*/
|
|
466
597
|
WorkflowsApi.prototype.undeployWorkflowRaw = function (requestParameters, initOverrides) {
|
|
467
598
|
return __awaiter(this, void 0, void 0, function () {
|
|
468
|
-
var
|
|
599
|
+
var requestOptions, response;
|
|
469
600
|
return __generator(this, function (_a) {
|
|
470
601
|
switch (_a.label) {
|
|
471
|
-
case 0:
|
|
472
|
-
if (requestParameters['id'] == null) {
|
|
473
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling undeployWorkflow().');
|
|
474
|
-
}
|
|
475
|
-
queryParameters = {};
|
|
476
|
-
headerParameters = {};
|
|
477
|
-
urlPath = "/ui/workflow/v1/workflow/{id}/undeploy";
|
|
478
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
479
|
-
return [4 /*yield*/, this.request({
|
|
480
|
-
path: urlPath,
|
|
481
|
-
method: 'POST',
|
|
482
|
-
headers: headerParameters,
|
|
483
|
-
query: queryParameters,
|
|
484
|
-
}, initOverrides)];
|
|
602
|
+
case 0: return [4 /*yield*/, this.undeployWorkflowRequestOpts(requestParameters)];
|
|
485
603
|
case 1:
|
|
604
|
+
requestOptions = _a.sent();
|
|
605
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
606
|
+
case 2:
|
|
486
607
|
response = _a.sent();
|
|
487
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
608
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
488
609
|
}
|
|
489
610
|
});
|
|
490
611
|
});
|
|
@@ -506,39 +627,52 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
506
627
|
});
|
|
507
628
|
});
|
|
508
629
|
};
|
|
630
|
+
/**
|
|
631
|
+
* Creates request options for updateWorkflow without sending the request
|
|
632
|
+
*/
|
|
633
|
+
WorkflowsApi.prototype.updateWorkflowRequestOpts = function (requestParameters) {
|
|
634
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
635
|
+
var queryParameters, headerParameters, urlPath;
|
|
636
|
+
return __generator(this, function (_a) {
|
|
637
|
+
if (requestParameters['id'] == null) {
|
|
638
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateWorkflow().');
|
|
639
|
+
}
|
|
640
|
+
if (requestParameters['workflowDto'] == null) {
|
|
641
|
+
throw new runtime.RequiredError('workflowDto', 'Required parameter "workflowDto" was null or undefined when calling updateWorkflow().');
|
|
642
|
+
}
|
|
643
|
+
queryParameters = {};
|
|
644
|
+
if (requestParameters['force'] != null) {
|
|
645
|
+
queryParameters['force'] = requestParameters['force'];
|
|
646
|
+
}
|
|
647
|
+
headerParameters = {};
|
|
648
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
649
|
+
urlPath = "/ui/workflow/v1/workflows/{id}";
|
|
650
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
651
|
+
return [2 /*return*/, {
|
|
652
|
+
path: urlPath,
|
|
653
|
+
method: 'PUT',
|
|
654
|
+
headers: headerParameters,
|
|
655
|
+
query: queryParameters,
|
|
656
|
+
body: (0, WorkflowDto_1.WorkflowDtoToJSON)(requestParameters['workflowDto']),
|
|
657
|
+
}];
|
|
658
|
+
});
|
|
659
|
+
});
|
|
660
|
+
};
|
|
509
661
|
/**
|
|
510
662
|
* Update a workflow
|
|
511
663
|
*/
|
|
512
664
|
WorkflowsApi.prototype.updateWorkflowRaw = function (requestParameters, initOverrides) {
|
|
513
665
|
return __awaiter(this, void 0, void 0, function () {
|
|
514
|
-
var
|
|
666
|
+
var requestOptions, response;
|
|
515
667
|
return __generator(this, function (_a) {
|
|
516
668
|
switch (_a.label) {
|
|
517
|
-
case 0:
|
|
518
|
-
if (requestParameters['id'] == null) {
|
|
519
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateWorkflow().');
|
|
520
|
-
}
|
|
521
|
-
if (requestParameters['workflowDto'] == null) {
|
|
522
|
-
throw new runtime.RequiredError('workflowDto', 'Required parameter "workflowDto" was null or undefined when calling updateWorkflow().');
|
|
523
|
-
}
|
|
524
|
-
queryParameters = {};
|
|
525
|
-
if (requestParameters['force'] != null) {
|
|
526
|
-
queryParameters['force'] = requestParameters['force'];
|
|
527
|
-
}
|
|
528
|
-
headerParameters = {};
|
|
529
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
530
|
-
urlPath = "/ui/workflow/v1/workflows/{id}";
|
|
531
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
532
|
-
return [4 /*yield*/, this.request({
|
|
533
|
-
path: urlPath,
|
|
534
|
-
method: 'PUT',
|
|
535
|
-
headers: headerParameters,
|
|
536
|
-
query: queryParameters,
|
|
537
|
-
body: (0, index_1.WorkflowDtoToJSON)(requestParameters['workflowDto']),
|
|
538
|
-
}, initOverrides)];
|
|
669
|
+
case 0: return [4 /*yield*/, this.updateWorkflowRequestOpts(requestParameters)];
|
|
539
670
|
case 1:
|
|
671
|
+
requestOptions = _a.sent();
|
|
672
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
673
|
+
case 2:
|
|
540
674
|
response = _a.sent();
|
|
541
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
675
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, WorkflowDto_1.WorkflowDtoFromJSON)(jsonValue); })];
|
|
542
676
|
}
|
|
543
677
|
});
|
|
544
678
|
});
|
|
@@ -560,31 +694,44 @@ var WorkflowsApi = /** @class */ (function (_super) {
|
|
|
560
694
|
});
|
|
561
695
|
});
|
|
562
696
|
};
|
|
697
|
+
/**
|
|
698
|
+
* Creates request options for validateWorkflow without sending the request
|
|
699
|
+
*/
|
|
700
|
+
WorkflowsApi.prototype.validateWorkflowRequestOpts = function (requestParameters) {
|
|
701
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
702
|
+
var queryParameters, headerParameters, urlPath;
|
|
703
|
+
return __generator(this, function (_a) {
|
|
704
|
+
if (requestParameters['id'] == null) {
|
|
705
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling validateWorkflow().');
|
|
706
|
+
}
|
|
707
|
+
queryParameters = {};
|
|
708
|
+
headerParameters = {};
|
|
709
|
+
urlPath = "/ui/workflow/v1/workflows/{id}/validate";
|
|
710
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
711
|
+
return [2 /*return*/, {
|
|
712
|
+
path: urlPath,
|
|
713
|
+
method: 'POST',
|
|
714
|
+
headers: headerParameters,
|
|
715
|
+
query: queryParameters,
|
|
716
|
+
}];
|
|
717
|
+
});
|
|
718
|
+
});
|
|
719
|
+
};
|
|
563
720
|
/**
|
|
564
721
|
* Validate a workflow
|
|
565
722
|
*/
|
|
566
723
|
WorkflowsApi.prototype.validateWorkflowRaw = function (requestParameters, initOverrides) {
|
|
567
724
|
return __awaiter(this, void 0, void 0, function () {
|
|
568
|
-
var
|
|
725
|
+
var requestOptions, response;
|
|
569
726
|
return __generator(this, function (_a) {
|
|
570
727
|
switch (_a.label) {
|
|
571
|
-
case 0:
|
|
572
|
-
if (requestParameters['id'] == null) {
|
|
573
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling validateWorkflow().');
|
|
574
|
-
}
|
|
575
|
-
queryParameters = {};
|
|
576
|
-
headerParameters = {};
|
|
577
|
-
urlPath = "/ui/workflow/v1/workflows/{id}/validate";
|
|
578
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
579
|
-
return [4 /*yield*/, this.request({
|
|
580
|
-
path: urlPath,
|
|
581
|
-
method: 'POST',
|
|
582
|
-
headers: headerParameters,
|
|
583
|
-
query: queryParameters,
|
|
584
|
-
}, initOverrides)];
|
|
728
|
+
case 0: return [4 /*yield*/, this.validateWorkflowRequestOpts(requestParameters)];
|
|
585
729
|
case 1:
|
|
730
|
+
requestOptions = _a.sent();
|
|
731
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
732
|
+
case 2:
|
|
586
733
|
response = _a.sent();
|
|
587
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
734
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, ValidationErrors_1.ValidationErrorsFromJSON)(jsonValue); })];
|
|
588
735
|
}
|
|
589
736
|
});
|
|
590
737
|
});
|