@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
|
@@ -9,35 +9,78 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type
|
|
12
|
+
import { type BankAccountDto } from '../models/BankAccountDto';
|
|
13
|
+
import { type BankAccountRegistrationDto } from '../models/BankAccountRegistrationDto';
|
|
14
|
+
import { type GetAllAccounts200Response } from '../models/GetAllAccounts200Response';
|
|
15
|
+
import { type KommerzPageable } from '../models/KommerzPageable';
|
|
13
16
|
export interface AddAccountRequest {
|
|
17
|
+
/**
|
|
18
|
+
* id of entity
|
|
19
|
+
*/
|
|
14
20
|
id: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
15
24
|
bankAccountRegistrationDto: BankAccountRegistrationDto;
|
|
16
25
|
}
|
|
17
26
|
export interface CollectTransactionsRequest {
|
|
27
|
+
/**
|
|
28
|
+
* id of entity
|
|
29
|
+
*/
|
|
18
30
|
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* id of secondary entity
|
|
33
|
+
*/
|
|
19
34
|
secondaryId: string;
|
|
20
35
|
}
|
|
21
36
|
export interface DeleteAccountRequest {
|
|
37
|
+
/**
|
|
38
|
+
* id of entity
|
|
39
|
+
*/
|
|
22
40
|
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* id of secondary entity
|
|
43
|
+
*/
|
|
23
44
|
secondaryId: string;
|
|
24
45
|
}
|
|
25
46
|
export interface GetAccountRequest {
|
|
47
|
+
/**
|
|
48
|
+
* id of entity
|
|
49
|
+
*/
|
|
26
50
|
id: string;
|
|
51
|
+
/**
|
|
52
|
+
* id of secondary entity
|
|
53
|
+
*/
|
|
27
54
|
secondaryId: string;
|
|
28
55
|
}
|
|
29
56
|
export interface GetAllAccountsRequest {
|
|
57
|
+
/**
|
|
58
|
+
* id of entity
|
|
59
|
+
*/
|
|
30
60
|
id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Pageable query parameters
|
|
63
|
+
*/
|
|
31
64
|
pageable: KommerzPageable;
|
|
65
|
+
/**
|
|
66
|
+
* Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
|
|
67
|
+
*/
|
|
32
68
|
filter?: Array<string>;
|
|
33
69
|
}
|
|
34
70
|
export interface GetAvailableAccountsRequest {
|
|
71
|
+
/**
|
|
72
|
+
* id of entity
|
|
73
|
+
*/
|
|
35
74
|
id: string;
|
|
36
75
|
}
|
|
37
76
|
/**
|
|
38
77
|
*
|
|
39
78
|
*/
|
|
40
79
|
export declare class BankingAccountsApi extends runtime.BaseAPI {
|
|
80
|
+
/**
|
|
81
|
+
* Creates request options for addAccount without sending the request
|
|
82
|
+
*/
|
|
83
|
+
addAccountRequestOpts(requestParameters: AddAccountRequest): Promise<runtime.RequestOpts>;
|
|
41
84
|
/**
|
|
42
85
|
* register an account for daily updates
|
|
43
86
|
*/
|
|
@@ -46,6 +89,10 @@ export declare class BankingAccountsApi extends runtime.BaseAPI {
|
|
|
46
89
|
* register an account for daily updates
|
|
47
90
|
*/
|
|
48
91
|
addAccount(requestParameters: AddAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BankAccountDto>;
|
|
92
|
+
/**
|
|
93
|
+
* Creates request options for collectTransactions without sending the request
|
|
94
|
+
*/
|
|
95
|
+
collectTransactionsRequestOpts(requestParameters: CollectTransactionsRequest): Promise<runtime.RequestOpts>;
|
|
49
96
|
/**
|
|
50
97
|
* get collect transactions
|
|
51
98
|
*/
|
|
@@ -54,6 +101,10 @@ export declare class BankingAccountsApi extends runtime.BaseAPI {
|
|
|
54
101
|
* get collect transactions
|
|
55
102
|
*/
|
|
56
103
|
collectTransactions(requestParameters: CollectTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
104
|
+
/**
|
|
105
|
+
* Creates request options for deleteAccount without sending the request
|
|
106
|
+
*/
|
|
107
|
+
deleteAccountRequestOpts(requestParameters: DeleteAccountRequest): Promise<runtime.RequestOpts>;
|
|
57
108
|
/**
|
|
58
109
|
* de-register an account
|
|
59
110
|
*/
|
|
@@ -62,6 +113,10 @@ export declare class BankingAccountsApi extends runtime.BaseAPI {
|
|
|
62
113
|
* de-register an account
|
|
63
114
|
*/
|
|
64
115
|
deleteAccount(requestParameters: DeleteAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Creates request options for getAccount without sending the request
|
|
118
|
+
*/
|
|
119
|
+
getAccountRequestOpts(requestParameters: GetAccountRequest): Promise<runtime.RequestOpts>;
|
|
65
120
|
/**
|
|
66
121
|
* get an account
|
|
67
122
|
*/
|
|
@@ -70,6 +125,10 @@ export declare class BankingAccountsApi extends runtime.BaseAPI {
|
|
|
70
125
|
* get an account
|
|
71
126
|
*/
|
|
72
127
|
getAccount(requestParameters: GetAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BankAccountDto>;
|
|
128
|
+
/**
|
|
129
|
+
* Creates request options for getAllAccounts without sending the request
|
|
130
|
+
*/
|
|
131
|
+
getAllAccountsRequestOpts(requestParameters: GetAllAccountsRequest): Promise<runtime.RequestOpts>;
|
|
73
132
|
/**
|
|
74
133
|
* get all accounts
|
|
75
134
|
*/
|
|
@@ -78,6 +137,10 @@ export declare class BankingAccountsApi extends runtime.BaseAPI {
|
|
|
78
137
|
* get all accounts
|
|
79
138
|
*/
|
|
80
139
|
getAllAccounts(requestParameters: GetAllAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllAccounts200Response>;
|
|
140
|
+
/**
|
|
141
|
+
* Creates request options for getAvailableAccounts without sending the request
|
|
142
|
+
*/
|
|
143
|
+
getAvailableAccountsRequestOpts(requestParameters: GetAvailableAccountsRequest): Promise<runtime.RequestOpts>;
|
|
81
144
|
/**
|
|
82
145
|
* get available accounts
|
|
83
146
|
*/
|
|
@@ -65,7 +65,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
65
65
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
66
|
exports.BankingAccountsApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
|
-
var
|
|
68
|
+
var BankAccountDto_1 = require("../models/BankAccountDto");
|
|
69
|
+
var BankAccountRegistrationDto_1 = require("../models/BankAccountRegistrationDto");
|
|
70
|
+
var GetAllAccounts200Response_1 = require("../models/GetAllAccounts200Response");
|
|
69
71
|
/**
|
|
70
72
|
*
|
|
71
73
|
*/
|
|
@@ -74,36 +76,49 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
74
76
|
function BankingAccountsApi() {
|
|
75
77
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* Creates request options for addAccount without sending the request
|
|
81
|
+
*/
|
|
82
|
+
BankingAccountsApi.prototype.addAccountRequestOpts = function (requestParameters) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
+
var queryParameters, headerParameters, urlPath;
|
|
85
|
+
return __generator(this, function (_a) {
|
|
86
|
+
if (requestParameters['id'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling addAccount().');
|
|
88
|
+
}
|
|
89
|
+
if (requestParameters['bankAccountRegistrationDto'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('bankAccountRegistrationDto', 'Required parameter "bankAccountRegistrationDto" was null or undefined when calling addAccount().');
|
|
91
|
+
}
|
|
92
|
+
queryParameters = {};
|
|
93
|
+
headerParameters = {};
|
|
94
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
+
urlPath = "/ui/banking/v1/registrations/{id}/accounts";
|
|
96
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
97
|
+
return [2 /*return*/, {
|
|
98
|
+
path: urlPath,
|
|
99
|
+
method: 'POST',
|
|
100
|
+
headers: headerParameters,
|
|
101
|
+
query: queryParameters,
|
|
102
|
+
body: (0, BankAccountRegistrationDto_1.BankAccountRegistrationDtoToJSON)(requestParameters['bankAccountRegistrationDto']),
|
|
103
|
+
}];
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
};
|
|
77
107
|
/**
|
|
78
108
|
* register an account for daily updates
|
|
79
109
|
*/
|
|
80
110
|
BankingAccountsApi.prototype.addAccountRaw = function (requestParameters, initOverrides) {
|
|
81
111
|
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
-
var
|
|
112
|
+
var requestOptions, response;
|
|
83
113
|
return __generator(this, function (_a) {
|
|
84
114
|
switch (_a.label) {
|
|
85
|
-
case 0:
|
|
86
|
-
if (requestParameters['id'] == null) {
|
|
87
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling addAccount().');
|
|
88
|
-
}
|
|
89
|
-
if (requestParameters['bankAccountRegistrationDto'] == null) {
|
|
90
|
-
throw new runtime.RequiredError('bankAccountRegistrationDto', 'Required parameter "bankAccountRegistrationDto" was null or undefined when calling addAccount().');
|
|
91
|
-
}
|
|
92
|
-
queryParameters = {};
|
|
93
|
-
headerParameters = {};
|
|
94
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts";
|
|
96
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
97
|
-
return [4 /*yield*/, this.request({
|
|
98
|
-
path: urlPath,
|
|
99
|
-
method: 'POST',
|
|
100
|
-
headers: headerParameters,
|
|
101
|
-
query: queryParameters,
|
|
102
|
-
body: (0, index_1.BankAccountRegistrationDtoToJSON)(requestParameters['bankAccountRegistrationDto']),
|
|
103
|
-
}, initOverrides)];
|
|
115
|
+
case 0: return [4 /*yield*/, this.addAccountRequestOpts(requestParameters)];
|
|
104
116
|
case 1:
|
|
117
|
+
requestOptions = _a.sent();
|
|
118
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
119
|
+
case 2:
|
|
105
120
|
response = _a.sent();
|
|
106
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
121
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, BankAccountDto_1.BankAccountDtoFromJSON)(jsonValue); })];
|
|
107
122
|
}
|
|
108
123
|
});
|
|
109
124
|
});
|
|
@@ -125,33 +140,46 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
125
140
|
});
|
|
126
141
|
});
|
|
127
142
|
};
|
|
143
|
+
/**
|
|
144
|
+
* Creates request options for collectTransactions without sending the request
|
|
145
|
+
*/
|
|
146
|
+
BankingAccountsApi.prototype.collectTransactionsRequestOpts = function (requestParameters) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
148
|
+
var queryParameters, headerParameters, urlPath;
|
|
149
|
+
return __generator(this, function (_a) {
|
|
150
|
+
if (requestParameters['id'] == null) {
|
|
151
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling collectTransactions().');
|
|
152
|
+
}
|
|
153
|
+
if (requestParameters['secondaryId'] == null) {
|
|
154
|
+
throw new runtime.RequiredError('secondaryId', 'Required parameter "secondaryId" was null or undefined when calling collectTransactions().');
|
|
155
|
+
}
|
|
156
|
+
queryParameters = {};
|
|
157
|
+
headerParameters = {};
|
|
158
|
+
urlPath = "/ui/banking/v1/registrations/{id}/accounts/{secondaryId}/collect";
|
|
159
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
160
|
+
urlPath = urlPath.replace('{secondaryId}', encodeURIComponent(String(requestParameters['secondaryId'])));
|
|
161
|
+
return [2 /*return*/, {
|
|
162
|
+
path: urlPath,
|
|
163
|
+
method: 'GET',
|
|
164
|
+
headers: headerParameters,
|
|
165
|
+
query: queryParameters,
|
|
166
|
+
}];
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
};
|
|
128
170
|
/**
|
|
129
171
|
* get collect transactions
|
|
130
172
|
*/
|
|
131
173
|
BankingAccountsApi.prototype.collectTransactionsRaw = function (requestParameters, initOverrides) {
|
|
132
174
|
return __awaiter(this, void 0, void 0, function () {
|
|
133
|
-
var
|
|
175
|
+
var requestOptions, response;
|
|
134
176
|
return __generator(this, function (_a) {
|
|
135
177
|
switch (_a.label) {
|
|
136
|
-
case 0:
|
|
137
|
-
if (requestParameters['id'] == null) {
|
|
138
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling collectTransactions().');
|
|
139
|
-
}
|
|
140
|
-
if (requestParameters['secondaryId'] == null) {
|
|
141
|
-
throw new runtime.RequiredError('secondaryId', 'Required parameter "secondaryId" was null or undefined when calling collectTransactions().');
|
|
142
|
-
}
|
|
143
|
-
queryParameters = {};
|
|
144
|
-
headerParameters = {};
|
|
145
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts/{secondaryId}/collect";
|
|
146
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
147
|
-
urlPath = urlPath.replace("{".concat("secondaryId", "}"), encodeURIComponent(String(requestParameters['secondaryId'])));
|
|
148
|
-
return [4 /*yield*/, this.request({
|
|
149
|
-
path: urlPath,
|
|
150
|
-
method: 'GET',
|
|
151
|
-
headers: headerParameters,
|
|
152
|
-
query: queryParameters,
|
|
153
|
-
}, initOverrides)];
|
|
178
|
+
case 0: return [4 /*yield*/, this.collectTransactionsRequestOpts(requestParameters)];
|
|
154
179
|
case 1:
|
|
180
|
+
requestOptions = _a.sent();
|
|
181
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
182
|
+
case 2:
|
|
155
183
|
response = _a.sent();
|
|
156
184
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
157
185
|
}
|
|
@@ -173,33 +201,46 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
173
201
|
});
|
|
174
202
|
});
|
|
175
203
|
};
|
|
204
|
+
/**
|
|
205
|
+
* Creates request options for deleteAccount without sending the request
|
|
206
|
+
*/
|
|
207
|
+
BankingAccountsApi.prototype.deleteAccountRequestOpts = function (requestParameters) {
|
|
208
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
209
|
+
var queryParameters, headerParameters, urlPath;
|
|
210
|
+
return __generator(this, function (_a) {
|
|
211
|
+
if (requestParameters['id'] == null) {
|
|
212
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteAccount().');
|
|
213
|
+
}
|
|
214
|
+
if (requestParameters['secondaryId'] == null) {
|
|
215
|
+
throw new runtime.RequiredError('secondaryId', 'Required parameter "secondaryId" was null or undefined when calling deleteAccount().');
|
|
216
|
+
}
|
|
217
|
+
queryParameters = {};
|
|
218
|
+
headerParameters = {};
|
|
219
|
+
urlPath = "/ui/banking/v1/registrations/{id}/accounts/{secondaryId}";
|
|
220
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
221
|
+
urlPath = urlPath.replace('{secondaryId}', encodeURIComponent(String(requestParameters['secondaryId'])));
|
|
222
|
+
return [2 /*return*/, {
|
|
223
|
+
path: urlPath,
|
|
224
|
+
method: 'DELETE',
|
|
225
|
+
headers: headerParameters,
|
|
226
|
+
query: queryParameters,
|
|
227
|
+
}];
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
};
|
|
176
231
|
/**
|
|
177
232
|
* de-register an account
|
|
178
233
|
*/
|
|
179
234
|
BankingAccountsApi.prototype.deleteAccountRaw = function (requestParameters, initOverrides) {
|
|
180
235
|
return __awaiter(this, void 0, void 0, function () {
|
|
181
|
-
var
|
|
236
|
+
var requestOptions, response;
|
|
182
237
|
return __generator(this, function (_a) {
|
|
183
238
|
switch (_a.label) {
|
|
184
|
-
case 0:
|
|
185
|
-
if (requestParameters['id'] == null) {
|
|
186
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteAccount().');
|
|
187
|
-
}
|
|
188
|
-
if (requestParameters['secondaryId'] == null) {
|
|
189
|
-
throw new runtime.RequiredError('secondaryId', 'Required parameter "secondaryId" was null or undefined when calling deleteAccount().');
|
|
190
|
-
}
|
|
191
|
-
queryParameters = {};
|
|
192
|
-
headerParameters = {};
|
|
193
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts/{secondaryId}";
|
|
194
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
195
|
-
urlPath = urlPath.replace("{".concat("secondaryId", "}"), encodeURIComponent(String(requestParameters['secondaryId'])));
|
|
196
|
-
return [4 /*yield*/, this.request({
|
|
197
|
-
path: urlPath,
|
|
198
|
-
method: 'DELETE',
|
|
199
|
-
headers: headerParameters,
|
|
200
|
-
query: queryParameters,
|
|
201
|
-
}, initOverrides)];
|
|
239
|
+
case 0: return [4 /*yield*/, this.deleteAccountRequestOpts(requestParameters)];
|
|
202
240
|
case 1:
|
|
241
|
+
requestOptions = _a.sent();
|
|
242
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
243
|
+
case 2:
|
|
203
244
|
response = _a.sent();
|
|
204
245
|
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
205
246
|
}
|
|
@@ -221,35 +262,48 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
221
262
|
});
|
|
222
263
|
});
|
|
223
264
|
};
|
|
265
|
+
/**
|
|
266
|
+
* Creates request options for getAccount without sending the request
|
|
267
|
+
*/
|
|
268
|
+
BankingAccountsApi.prototype.getAccountRequestOpts = function (requestParameters) {
|
|
269
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
270
|
+
var queryParameters, headerParameters, urlPath;
|
|
271
|
+
return __generator(this, function (_a) {
|
|
272
|
+
if (requestParameters['id'] == null) {
|
|
273
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAccount().');
|
|
274
|
+
}
|
|
275
|
+
if (requestParameters['secondaryId'] == null) {
|
|
276
|
+
throw new runtime.RequiredError('secondaryId', 'Required parameter "secondaryId" was null or undefined when calling getAccount().');
|
|
277
|
+
}
|
|
278
|
+
queryParameters = {};
|
|
279
|
+
headerParameters = {};
|
|
280
|
+
urlPath = "/ui/banking/v1/registrations/{id}/accounts/{secondaryId}";
|
|
281
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
282
|
+
urlPath = urlPath.replace('{secondaryId}', encodeURIComponent(String(requestParameters['secondaryId'])));
|
|
283
|
+
return [2 /*return*/, {
|
|
284
|
+
path: urlPath,
|
|
285
|
+
method: 'GET',
|
|
286
|
+
headers: headerParameters,
|
|
287
|
+
query: queryParameters,
|
|
288
|
+
}];
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
};
|
|
224
292
|
/**
|
|
225
293
|
* get an account
|
|
226
294
|
*/
|
|
227
295
|
BankingAccountsApi.prototype.getAccountRaw = function (requestParameters, initOverrides) {
|
|
228
296
|
return __awaiter(this, void 0, void 0, function () {
|
|
229
|
-
var
|
|
297
|
+
var requestOptions, response;
|
|
230
298
|
return __generator(this, function (_a) {
|
|
231
299
|
switch (_a.label) {
|
|
232
|
-
case 0:
|
|
233
|
-
if (requestParameters['id'] == null) {
|
|
234
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAccount().');
|
|
235
|
-
}
|
|
236
|
-
if (requestParameters['secondaryId'] == null) {
|
|
237
|
-
throw new runtime.RequiredError('secondaryId', 'Required parameter "secondaryId" was null or undefined when calling getAccount().');
|
|
238
|
-
}
|
|
239
|
-
queryParameters = {};
|
|
240
|
-
headerParameters = {};
|
|
241
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts/{secondaryId}";
|
|
242
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
243
|
-
urlPath = urlPath.replace("{".concat("secondaryId", "}"), encodeURIComponent(String(requestParameters['secondaryId'])));
|
|
244
|
-
return [4 /*yield*/, this.request({
|
|
245
|
-
path: urlPath,
|
|
246
|
-
method: 'GET',
|
|
247
|
-
headers: headerParameters,
|
|
248
|
-
query: queryParameters,
|
|
249
|
-
}, initOverrides)];
|
|
300
|
+
case 0: return [4 /*yield*/, this.getAccountRequestOpts(requestParameters)];
|
|
250
301
|
case 1:
|
|
302
|
+
requestOptions = _a.sent();
|
|
303
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
304
|
+
case 2:
|
|
251
305
|
response = _a.sent();
|
|
252
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
306
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, BankAccountDto_1.BankAccountDtoFromJSON)(jsonValue); })];
|
|
253
307
|
}
|
|
254
308
|
});
|
|
255
309
|
});
|
|
@@ -271,40 +325,53 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
271
325
|
});
|
|
272
326
|
});
|
|
273
327
|
};
|
|
328
|
+
/**
|
|
329
|
+
* Creates request options for getAllAccounts without sending the request
|
|
330
|
+
*/
|
|
331
|
+
BankingAccountsApi.prototype.getAllAccountsRequestOpts = 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 getAllAccounts().');
|
|
337
|
+
}
|
|
338
|
+
if (requestParameters['pageable'] == null) {
|
|
339
|
+
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllAccounts().');
|
|
340
|
+
}
|
|
341
|
+
queryParameters = {};
|
|
342
|
+
if (requestParameters['pageable'] != null) {
|
|
343
|
+
queryParameters['pageable'] = requestParameters['pageable'];
|
|
344
|
+
}
|
|
345
|
+
if (requestParameters['filter'] != null) {
|
|
346
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
347
|
+
}
|
|
348
|
+
headerParameters = {};
|
|
349
|
+
urlPath = "/ui/banking/v1/registrations/{id}/accounts";
|
|
350
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
351
|
+
return [2 /*return*/, {
|
|
352
|
+
path: urlPath,
|
|
353
|
+
method: 'GET',
|
|
354
|
+
headers: headerParameters,
|
|
355
|
+
query: queryParameters,
|
|
356
|
+
}];
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
};
|
|
274
360
|
/**
|
|
275
361
|
* get all accounts
|
|
276
362
|
*/
|
|
277
363
|
BankingAccountsApi.prototype.getAllAccountsRaw = function (requestParameters, initOverrides) {
|
|
278
364
|
return __awaiter(this, void 0, void 0, function () {
|
|
279
|
-
var
|
|
365
|
+
var requestOptions, response;
|
|
280
366
|
return __generator(this, function (_a) {
|
|
281
367
|
switch (_a.label) {
|
|
282
|
-
case 0:
|
|
283
|
-
if (requestParameters['id'] == null) {
|
|
284
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAllAccounts().');
|
|
285
|
-
}
|
|
286
|
-
if (requestParameters['pageable'] == null) {
|
|
287
|
-
throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllAccounts().');
|
|
288
|
-
}
|
|
289
|
-
queryParameters = {};
|
|
290
|
-
if (requestParameters['pageable'] != null) {
|
|
291
|
-
queryParameters['pageable'] = requestParameters['pageable'];
|
|
292
|
-
}
|
|
293
|
-
if (requestParameters['filter'] != null) {
|
|
294
|
-
queryParameters['filter'] = requestParameters['filter'];
|
|
295
|
-
}
|
|
296
|
-
headerParameters = {};
|
|
297
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts";
|
|
298
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
299
|
-
return [4 /*yield*/, this.request({
|
|
300
|
-
path: urlPath,
|
|
301
|
-
method: 'GET',
|
|
302
|
-
headers: headerParameters,
|
|
303
|
-
query: queryParameters,
|
|
304
|
-
}, initOverrides)];
|
|
368
|
+
case 0: return [4 /*yield*/, this.getAllAccountsRequestOpts(requestParameters)];
|
|
305
369
|
case 1:
|
|
370
|
+
requestOptions = _a.sent();
|
|
371
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
372
|
+
case 2:
|
|
306
373
|
response = _a.sent();
|
|
307
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
374
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetAllAccounts200Response_1.GetAllAccounts200ResponseFromJSON)(jsonValue); })];
|
|
308
375
|
}
|
|
309
376
|
});
|
|
310
377
|
});
|
|
@@ -326,31 +393,44 @@ var BankingAccountsApi = /** @class */ (function (_super) {
|
|
|
326
393
|
});
|
|
327
394
|
});
|
|
328
395
|
};
|
|
396
|
+
/**
|
|
397
|
+
* Creates request options for getAvailableAccounts without sending the request
|
|
398
|
+
*/
|
|
399
|
+
BankingAccountsApi.prototype.getAvailableAccountsRequestOpts = function (requestParameters) {
|
|
400
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
401
|
+
var queryParameters, headerParameters, urlPath;
|
|
402
|
+
return __generator(this, function (_a) {
|
|
403
|
+
if (requestParameters['id'] == null) {
|
|
404
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAvailableAccounts().');
|
|
405
|
+
}
|
|
406
|
+
queryParameters = {};
|
|
407
|
+
headerParameters = {};
|
|
408
|
+
urlPath = "/ui/banking/v1/registrations/{id}/accounts/available";
|
|
409
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
410
|
+
return [2 /*return*/, {
|
|
411
|
+
path: urlPath,
|
|
412
|
+
method: 'GET',
|
|
413
|
+
headers: headerParameters,
|
|
414
|
+
query: queryParameters,
|
|
415
|
+
}];
|
|
416
|
+
});
|
|
417
|
+
});
|
|
418
|
+
};
|
|
329
419
|
/**
|
|
330
420
|
* get available accounts
|
|
331
421
|
*/
|
|
332
422
|
BankingAccountsApi.prototype.getAvailableAccountsRaw = function (requestParameters, initOverrides) {
|
|
333
423
|
return __awaiter(this, void 0, void 0, function () {
|
|
334
|
-
var
|
|
424
|
+
var requestOptions, response;
|
|
335
425
|
return __generator(this, function (_a) {
|
|
336
426
|
switch (_a.label) {
|
|
337
|
-
case 0:
|
|
338
|
-
if (requestParameters['id'] == null) {
|
|
339
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getAvailableAccounts().');
|
|
340
|
-
}
|
|
341
|
-
queryParameters = {};
|
|
342
|
-
headerParameters = {};
|
|
343
|
-
urlPath = "/ui/banking/v1/registrations/{id}/accounts/available";
|
|
344
|
-
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
345
|
-
return [4 /*yield*/, this.request({
|
|
346
|
-
path: urlPath,
|
|
347
|
-
method: 'GET',
|
|
348
|
-
headers: headerParameters,
|
|
349
|
-
query: queryParameters,
|
|
350
|
-
}, initOverrides)];
|
|
427
|
+
case 0: return [4 /*yield*/, this.getAvailableAccountsRequestOpts(requestParameters)];
|
|
351
428
|
case 1:
|
|
429
|
+
requestOptions = _a.sent();
|
|
430
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
431
|
+
case 2:
|
|
352
432
|
response = _a.sent();
|
|
353
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(
|
|
433
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(BankAccountDto_1.BankAccountDtoFromJSON); })];
|
|
354
434
|
}
|
|
355
435
|
});
|
|
356
436
|
});
|
|
@@ -9,11 +9,15 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type
|
|
12
|
+
import { type InstituteDto } from '../models/InstituteDto';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
16
|
export declare class BankingInstitutesApi extends runtime.BaseAPI {
|
|
17
|
+
/**
|
|
18
|
+
* Creates request options for getAllInstitutes without sending the request
|
|
19
|
+
*/
|
|
20
|
+
getAllInstitutesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
17
21
|
/**
|
|
18
22
|
* get all institutes
|
|
19
23
|
*/
|
|
@@ -65,7 +65,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
65
65
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
66
|
exports.BankingInstitutesApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
|
-
var
|
|
68
|
+
var InstituteDto_1 = require("../models/InstituteDto");
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
*/
|
|
@@ -74,27 +74,40 @@ var BankingInstitutesApi = /** @class */ (function (_super) {
|
|
|
74
74
|
function BankingInstitutesApi() {
|
|
75
75
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* Creates request options for getAllInstitutes without sending the request
|
|
79
|
+
*/
|
|
80
|
+
BankingInstitutesApi.prototype.getAllInstitutesRequestOpts = function () {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, urlPath;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
queryParameters = {};
|
|
85
|
+
headerParameters = {};
|
|
86
|
+
urlPath = "/ui/banking/v1/institutes";
|
|
87
|
+
return [2 /*return*/, {
|
|
88
|
+
path: urlPath,
|
|
89
|
+
method: 'GET',
|
|
90
|
+
headers: headerParameters,
|
|
91
|
+
query: queryParameters,
|
|
92
|
+
}];
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
};
|
|
77
96
|
/**
|
|
78
97
|
* get all institutes
|
|
79
98
|
*/
|
|
80
99
|
BankingInstitutesApi.prototype.getAllInstitutesRaw = function (initOverrides) {
|
|
81
100
|
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
-
var
|
|
101
|
+
var requestOptions, response;
|
|
83
102
|
return __generator(this, function (_a) {
|
|
84
103
|
switch (_a.label) {
|
|
85
|
-
case 0:
|
|
86
|
-
queryParameters = {};
|
|
87
|
-
headerParameters = {};
|
|
88
|
-
urlPath = "/ui/banking/v1/institutes";
|
|
89
|
-
return [4 /*yield*/, this.request({
|
|
90
|
-
path: urlPath,
|
|
91
|
-
method: 'GET',
|
|
92
|
-
headers: headerParameters,
|
|
93
|
-
query: queryParameters,
|
|
94
|
-
}, initOverrides)];
|
|
104
|
+
case 0: return [4 /*yield*/, this.getAllInstitutesRequestOpts()];
|
|
95
105
|
case 1:
|
|
106
|
+
requestOptions = _a.sent();
|
|
107
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
108
|
+
case 2:
|
|
96
109
|
response = _a.sent();
|
|
97
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(
|
|
110
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(InstituteDto_1.InstituteDtoFromJSON); })];
|
|
98
111
|
}
|
|
99
112
|
});
|
|
100
113
|
});
|