-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2260 from Aditya-gupta99/new_sdk
feat: Implemented fineract client sdk
- Loading branch information
Showing
78 changed files
with
971 additions
and
1,458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 6 additions & 16 deletions
22
core/data/src/main/java/com/mifos/core/data/repository/ClientIdentifiersRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,17 @@ | ||
/* | ||
* Copyright 2024 Mifos Initiative | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
* | ||
* See https://github.com/openMF/android-client/blob/master/LICENSE.md | ||
*/ | ||
package com.mifos.core.data.repository | ||
|
||
import com.mifos.core.objects.noncore.Identifier | ||
import org.apache.fineract.client.models.DeleteClientsClientIdIdentifiersIdentifierIdResponse | ||
import rx.Observable | ||
import org.openapitools.client.models.DeleteClientsClientIdIdentifiersIdentifierIdResponse | ||
|
||
/** | ||
* Created by Aditya Gupta on 08/08/23. | ||
*/ | ||
interface ClientIdentifiersRepository { | ||
|
||
fun getClientIdentifiers(clientId: Int): Observable<List<Identifier>> | ||
suspend fun getClientIdentifiers(clientId: Int): List<Identifier> | ||
|
||
fun deleteClientIdentifier( | ||
suspend fun deleteClientIdentifier( | ||
clientId: Int, | ||
identifierId: Int, | ||
): Observable<DeleteClientsClientIdIdentifiersIdentifierIdResponse> | ||
} | ||
identifierId: Int | ||
): DeleteClientsClientIdIdentifiersIdentifierIdResponse | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.