@incomy/platform-sdk 0.4.0-130 → 0.4.0-133
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/services/hub/index.d.ts +1 -0
- package/dist/services/hub/models/ProjectWalletPaginatedList.d.ts +16 -0
- package/dist/services/hub/models/ProjectWalletPaginatedList.js +1 -0
- package/dist/services/hub/services/ProjectWalletsService.d.ts +7 -2
- package/dist/services/hub/services/ProjectWalletsService.js +10 -2
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ export type { ProjectPaginatedList } from './models/ProjectPaginatedList';
|
|
|
48
48
|
export type { ProjectWallet } from './models/ProjectWallet';
|
|
49
49
|
export type { ProjectWalletEdit } from './models/ProjectWalletEdit';
|
|
50
50
|
export type { ProjectWalletInsert } from './models/ProjectWalletInsert';
|
|
51
|
+
export type { ProjectWalletPaginatedList } from './models/ProjectWalletPaginatedList';
|
|
51
52
|
export type { Settlement } from './models/Settlement';
|
|
52
53
|
export type { SettlementEdit } from './models/SettlementEdit';
|
|
53
54
|
export type { SettlementInsert } from './models/SettlementInsert';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ProjectWallet } from './ProjectWallet';
|
|
2
|
+
export type ProjectWalletPaginatedList = {
|
|
3
|
+
/**
|
|
4
|
+
* Token item to start the next query from; Empty start from the beginning
|
|
5
|
+
*/
|
|
6
|
+
next: string;
|
|
7
|
+
/**
|
|
8
|
+
* Estimated total count over all pages. -1 means the total count could not be determined.
|
|
9
|
+
*/
|
|
10
|
+
totalCount?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Results for the current query
|
|
13
|
+
*/
|
|
14
|
+
items: Array<ProjectWallet>;
|
|
15
|
+
meta?: Record<string, string | null> | null;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,15 +2,20 @@ import type { Balance } from '../models/Balance';
|
|
|
2
2
|
import type { ProjectWallet } from '../models/ProjectWallet';
|
|
3
3
|
import type { ProjectWalletEdit } from '../models/ProjectWalletEdit';
|
|
4
4
|
import type { ProjectWalletInsert } from '../models/ProjectWalletInsert';
|
|
5
|
+
import type { ProjectWalletPaginatedList } from '../models/ProjectWalletPaginatedList';
|
|
5
6
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
7
|
export declare class ProjectWalletsService {
|
|
7
8
|
/**
|
|
8
9
|
* @param projectId
|
|
10
|
+
* @param query
|
|
11
|
+
* @param orderByName
|
|
12
|
+
* @param limit
|
|
13
|
+
* @param next
|
|
9
14
|
* @param includeBalance
|
|
10
|
-
* @returns
|
|
15
|
+
* @returns ProjectWalletPaginatedList OK
|
|
11
16
|
* @throws ApiError
|
|
12
17
|
*/
|
|
13
|
-
static getProjectsWallets(projectId: string, includeBalance?: boolean): CancelablePromise<
|
|
18
|
+
static getProjectsWallets(projectId: string, query?: string, orderByName?: 'Desc' | 'Asc', limit?: number, next?: string, includeBalance?: boolean): CancelablePromise<ProjectWalletPaginatedList>;
|
|
14
19
|
/**
|
|
15
20
|
* @param projectId
|
|
16
21
|
* @param requestBody
|
|
@@ -3,11 +3,15 @@ import { request as __request } from '../core/request';
|
|
|
3
3
|
export class ProjectWalletsService {
|
|
4
4
|
/**
|
|
5
5
|
* @param projectId
|
|
6
|
+
* @param query
|
|
7
|
+
* @param orderByName
|
|
8
|
+
* @param limit
|
|
9
|
+
* @param next
|
|
6
10
|
* @param includeBalance
|
|
7
|
-
* @returns
|
|
11
|
+
* @returns ProjectWalletPaginatedList OK
|
|
8
12
|
* @throws ApiError
|
|
9
13
|
*/
|
|
10
|
-
static getProjectsWallets(projectId, includeBalance = false) {
|
|
14
|
+
static getProjectsWallets(projectId, query, orderByName, limit = 10, next, includeBalance = false) {
|
|
11
15
|
return __request(OpenAPI, {
|
|
12
16
|
method: 'GET',
|
|
13
17
|
url: '/projects/{projectId}/wallets',
|
|
@@ -15,6 +19,10 @@ export class ProjectWalletsService {
|
|
|
15
19
|
'projectId': projectId,
|
|
16
20
|
},
|
|
17
21
|
query: {
|
|
22
|
+
'query': query,
|
|
23
|
+
'orderByName': orderByName,
|
|
24
|
+
'limit': limit,
|
|
25
|
+
'next': next,
|
|
18
26
|
'includeBalance': includeBalance,
|
|
19
27
|
},
|
|
20
28
|
});
|