@incomy/platform-sdk 0.0.0-2ef2fab7
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/services/core/core/ApiError.d.ts +10 -0
- package/dist/services/core/core/ApiError.js +11 -0
- package/dist/services/core/core/ApiRequestOptions.d.ts +13 -0
- package/dist/services/core/core/ApiRequestOptions.js +1 -0
- package/dist/services/core/core/ApiResult.d.ts +7 -0
- package/dist/services/core/core/ApiResult.js +1 -0
- package/dist/services/core/core/CancelablePromise.d.ts +20 -0
- package/dist/services/core/core/CancelablePromise.js +111 -0
- package/dist/services/core/core/OpenAPI.d.ts +16 -0
- package/dist/services/core/core/OpenAPI.js +11 -0
- package/dist/services/core/core/request.d.ts +30 -0
- package/dist/services/core/core/request.js +275 -0
- package/dist/services/core/index.d.ts +52 -0
- package/dist/services/core/index.js +12 -0
- package/dist/services/core/models/ActualBalance.d.ts +8 -0
- package/dist/services/core/models/ActualBalance.js +1 -0
- package/dist/services/core/models/Balance.d.ts +6 -0
- package/dist/services/core/models/Balance.js +1 -0
- package/dist/services/core/models/BalanceReport.d.ts +6 -0
- package/dist/services/core/models/BalanceReport.js +1 -0
- package/dist/services/core/models/Bucket.d.ts +4 -0
- package/dist/services/core/models/Bucket.js +1 -0
- package/dist/services/core/models/BucketBalance.d.ts +5 -0
- package/dist/services/core/models/BucketBalance.js +1 -0
- package/dist/services/core/models/BucketBreakdown.d.ts +5 -0
- package/dist/services/core/models/BucketBreakdown.js +1 -0
- package/dist/services/core/models/BucketEdit.d.ts +3 -0
- package/dist/services/core/models/BucketEdit.js +1 -0
- package/dist/services/core/models/BucketInsert.d.ts +3 -0
- package/dist/services/core/models/BucketInsert.js +1 -0
- package/dist/services/core/models/Entry.d.ts +13 -0
- package/dist/services/core/models/Entry.js +1 -0
- package/dist/services/core/models/EntryEdit.d.ts +10 -0
- package/dist/services/core/models/EntryEdit.js +1 -0
- package/dist/services/core/models/EntryInsert.d.ts +13 -0
- package/dist/services/core/models/EntryInsert.js +1 -0
- package/dist/services/core/models/Group.d.ts +4 -0
- package/dist/services/core/models/Group.js +1 -0
- package/dist/services/core/models/GroupEdit.d.ts +3 -0
- package/dist/services/core/models/GroupEdit.js +1 -0
- package/dist/services/core/models/GroupInsert.d.ts +3 -0
- package/dist/services/core/models/GroupInsert.js +1 -0
- package/dist/services/core/models/GroupWallet.d.ts +5 -0
- package/dist/services/core/models/GroupWallet.js +1 -0
- package/dist/services/core/models/GroupWalletEdit.d.ts +7 -0
- package/dist/services/core/models/GroupWalletEdit.js +1 -0
- package/dist/services/core/models/GroupWalletInsert.d.ts +4 -0
- package/dist/services/core/models/GroupWalletInsert.js +1 -0
- package/dist/services/core/models/InputFieldDefinition.d.ts +6 -0
- package/dist/services/core/models/InputFieldDefinition.js +1 -0
- package/dist/services/core/models/Member.d.ts +4 -0
- package/dist/services/core/models/Member.js +1 -0
- package/dist/services/core/models/MemberBalanceReport.d.ts +5 -0
- package/dist/services/core/models/MemberBalanceReport.js +1 -0
- package/dist/services/core/models/MemberEdit.d.ts +3 -0
- package/dist/services/core/models/MemberEdit.js +1 -0
- package/dist/services/core/models/MemberInsert.d.ts +3 -0
- package/dist/services/core/models/MemberInsert.js +1 -0
- package/dist/services/core/models/Money.d.ts +4 -0
- package/dist/services/core/models/Money.js +1 -0
- package/dist/services/core/models/MoneyExpression.d.ts +4 -0
- package/dist/services/core/models/MoneyExpression.js +1 -0
- package/dist/services/core/models/Operation.d.ts +12 -0
- package/dist/services/core/models/Operation.js +1 -0
- package/dist/services/core/models/OperationEdit.d.ts +14 -0
- package/dist/services/core/models/OperationEdit.js +1 -0
- package/dist/services/core/models/OperationInsert.d.ts +14 -0
- package/dist/services/core/models/OperationInsert.js +1 -0
- package/dist/services/core/models/Settlement.d.ts +11 -0
- package/dist/services/core/models/Settlement.js +1 -0
- package/dist/services/core/models/SettlementEdit.d.ts +10 -0
- package/dist/services/core/models/SettlementEdit.js +1 -0
- package/dist/services/core/models/SettlementInsert.d.ts +10 -0
- package/dist/services/core/models/SettlementInsert.js +1 -0
- package/dist/services/core/models/Template.d.ts +7 -0
- package/dist/services/core/models/Template.js +1 -0
- package/dist/services/core/models/TemplateBucketBreakdownDefinition.d.ts +5 -0
- package/dist/services/core/models/TemplateBucketBreakdownDefinition.js +1 -0
- package/dist/services/core/models/TemplateData.d.ts +4 -0
- package/dist/services/core/models/TemplateData.js +1 -0
- package/dist/services/core/models/TemplateDefinition.d.ts +10 -0
- package/dist/services/core/models/TemplateDefinition.js +1 -0
- package/dist/services/core/models/TemplateEdit.d.ts +6 -0
- package/dist/services/core/models/TemplateEdit.js +1 -0
- package/dist/services/core/models/TemplateEntryDefinition.d.ts +4 -0
- package/dist/services/core/models/TemplateEntryDefinition.js +1 -0
- package/dist/services/core/models/TemplateInfo.d.ts +5 -0
- package/dist/services/core/models/TemplateInfo.js +1 -0
- package/dist/services/core/models/TemplateInput.d.ts +3 -0
- package/dist/services/core/models/TemplateInput.js +1 -0
- package/dist/services/core/models/TemplateInputDefinition.d.ts +4 -0
- package/dist/services/core/models/TemplateInputDefinition.js +1 -0
- package/dist/services/core/models/TemplateInsert.d.ts +6 -0
- package/dist/services/core/models/TemplateInsert.js +1 -0
- package/dist/services/core/models/TemplateOperationDefinition.d.ts +11 -0
- package/dist/services/core/models/TemplateOperationDefinition.js +1 -0
- package/dist/services/core/models/TemplateSettlementDefinition.d.ts +9 -0
- package/dist/services/core/models/TemplateSettlementDefinition.js +1 -0
- package/dist/services/core/models/WalletBalance.d.ts +7 -0
- package/dist/services/core/models/WalletBalance.js +1 -0
- package/dist/services/core/services/BucketsService.d.ts +41 -0
- package/dist/services/core/services/BucketsService.js +86 -0
- package/dist/services/core/services/EntriesService.d.ts +44 -0
- package/dist/services/core/services/EntriesService.js +96 -0
- package/dist/services/core/services/GroupWalletsService.d.ts +49 -0
- package/dist/services/core/services/GroupWalletsService.js +102 -0
- package/dist/services/core/services/GroupsService.d.ts +89 -0
- package/dist/services/core/services/GroupsService.js +184 -0
- package/dist/services/core/services/TemplatesService.d.ts +41 -0
- package/dist/services/core/services/TemplatesService.js +86 -0
- package/package.json +11 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class EntriesService {
|
|
4
|
+
/**
|
|
5
|
+
* @param groupId
|
|
6
|
+
* @param templateId
|
|
7
|
+
* @param includeBalance
|
|
8
|
+
* @returns Entry OK
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getGroupsEntries(groupId, templateId, includeBalance = false) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'GET',
|
|
14
|
+
url: '/groups/{groupId}/entries',
|
|
15
|
+
path: {
|
|
16
|
+
'groupId': groupId,
|
|
17
|
+
},
|
|
18
|
+
query: {
|
|
19
|
+
'templateId': templateId,
|
|
20
|
+
'includeBalance': includeBalance,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @param groupId
|
|
26
|
+
* @param requestBody
|
|
27
|
+
* @returns Entry OK
|
|
28
|
+
* @throws ApiError
|
|
29
|
+
*/
|
|
30
|
+
static postGroupsEntries(groupId, requestBody) {
|
|
31
|
+
return __request(OpenAPI, {
|
|
32
|
+
method: 'POST',
|
|
33
|
+
url: '/groups/{groupId}/entries',
|
|
34
|
+
path: {
|
|
35
|
+
'groupId': groupId,
|
|
36
|
+
},
|
|
37
|
+
body: requestBody,
|
|
38
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @param groupId
|
|
43
|
+
* @param entryId
|
|
44
|
+
* @param includeBalance
|
|
45
|
+
* @returns Entry OK
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static getGroupsEntries1(groupId, entryId, includeBalance = false) {
|
|
49
|
+
return __request(OpenAPI, {
|
|
50
|
+
method: 'GET',
|
|
51
|
+
url: '/groups/{groupId}/entries/{entryId}',
|
|
52
|
+
path: {
|
|
53
|
+
'groupId': groupId,
|
|
54
|
+
'entryId': entryId,
|
|
55
|
+
},
|
|
56
|
+
query: {
|
|
57
|
+
'includeBalance': includeBalance,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @param groupId
|
|
63
|
+
* @param entryId
|
|
64
|
+
* @param requestBody
|
|
65
|
+
* @returns Entry OK
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
static patchGroupsEntries(groupId, entryId, requestBody) {
|
|
69
|
+
return __request(OpenAPI, {
|
|
70
|
+
method: 'PATCH',
|
|
71
|
+
url: '/groups/{groupId}/entries/{entryId}',
|
|
72
|
+
path: {
|
|
73
|
+
'groupId': groupId,
|
|
74
|
+
'entryId': entryId,
|
|
75
|
+
},
|
|
76
|
+
body: requestBody,
|
|
77
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @param groupId
|
|
82
|
+
* @param entryId
|
|
83
|
+
* @returns any OK
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static deleteGroupsEntries(groupId, entryId) {
|
|
87
|
+
return __request(OpenAPI, {
|
|
88
|
+
method: 'DELETE',
|
|
89
|
+
url: '/groups/{groupId}/entries/{entryId}',
|
|
90
|
+
path: {
|
|
91
|
+
'groupId': groupId,
|
|
92
|
+
'entryId': entryId,
|
|
93
|
+
},
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { Balance } from '../models/Balance';
|
|
2
|
+
import type { GroupWallet } from '../models/GroupWallet';
|
|
3
|
+
import type { GroupWalletEdit } from '../models/GroupWalletEdit';
|
|
4
|
+
import type { GroupWalletInsert } from '../models/GroupWalletInsert';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class GroupWalletsService {
|
|
7
|
+
/**
|
|
8
|
+
* @param groupId
|
|
9
|
+
* @returns GroupWallet OK
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getGroupsWallets(groupId: string): CancelablePromise<Array<GroupWallet>>;
|
|
13
|
+
/**
|
|
14
|
+
* @param groupId
|
|
15
|
+
* @param requestBody
|
|
16
|
+
* @returns GroupWallet OK
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static postGroupsWallets(groupId: string, requestBody?: GroupWalletInsert): CancelablePromise<GroupWallet>;
|
|
20
|
+
/**
|
|
21
|
+
* @param groupId
|
|
22
|
+
* @param walletId
|
|
23
|
+
* @returns GroupWallet OK
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static getGroupsWallets1(groupId: string, walletId: string): CancelablePromise<GroupWallet>;
|
|
27
|
+
/**
|
|
28
|
+
* @param groupId
|
|
29
|
+
* @param walletId
|
|
30
|
+
* @param requestBody
|
|
31
|
+
* @returns GroupWallet OK
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static patchGroupsWallets(groupId: string, walletId: string, requestBody?: GroupWalletEdit): CancelablePromise<GroupWallet>;
|
|
35
|
+
/**
|
|
36
|
+
* @param groupId
|
|
37
|
+
* @param walletId
|
|
38
|
+
* @returns any OK
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static deleteGroupsWallets(groupId: string, walletId: string): CancelablePromise<any>;
|
|
42
|
+
/**
|
|
43
|
+
* @param groupId
|
|
44
|
+
* @param walletId
|
|
45
|
+
* @returns Balance OK
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static getGroupsWalletsBalance(groupId: string, walletId: string): CancelablePromise<Balance>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class GroupWalletsService {
|
|
4
|
+
/**
|
|
5
|
+
* @param groupId
|
|
6
|
+
* @returns GroupWallet OK
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static getGroupsWallets(groupId) {
|
|
10
|
+
return __request(OpenAPI, {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
url: '/groups/{groupId}/wallets',
|
|
13
|
+
path: {
|
|
14
|
+
'groupId': groupId,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @param groupId
|
|
20
|
+
* @param requestBody
|
|
21
|
+
* @returns GroupWallet OK
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static postGroupsWallets(groupId, requestBody) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'POST',
|
|
27
|
+
url: '/groups/{groupId}/wallets',
|
|
28
|
+
path: {
|
|
29
|
+
'groupId': groupId,
|
|
30
|
+
},
|
|
31
|
+
body: requestBody,
|
|
32
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @param groupId
|
|
37
|
+
* @param walletId
|
|
38
|
+
* @returns GroupWallet OK
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static getGroupsWallets1(groupId, walletId) {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/groups/{groupId}/wallets/{walletId}',
|
|
45
|
+
path: {
|
|
46
|
+
'groupId': groupId,
|
|
47
|
+
'walletId': walletId,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @param groupId
|
|
53
|
+
* @param walletId
|
|
54
|
+
* @param requestBody
|
|
55
|
+
* @returns GroupWallet OK
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static patchGroupsWallets(groupId, walletId, requestBody) {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'PATCH',
|
|
61
|
+
url: '/groups/{groupId}/wallets/{walletId}',
|
|
62
|
+
path: {
|
|
63
|
+
'groupId': groupId,
|
|
64
|
+
'walletId': walletId,
|
|
65
|
+
},
|
|
66
|
+
body: requestBody,
|
|
67
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @param groupId
|
|
72
|
+
* @param walletId
|
|
73
|
+
* @returns any OK
|
|
74
|
+
* @throws ApiError
|
|
75
|
+
*/
|
|
76
|
+
static deleteGroupsWallets(groupId, walletId) {
|
|
77
|
+
return __request(OpenAPI, {
|
|
78
|
+
method: 'DELETE',
|
|
79
|
+
url: '/groups/{groupId}/wallets/{walletId}',
|
|
80
|
+
path: {
|
|
81
|
+
'groupId': groupId,
|
|
82
|
+
'walletId': walletId,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @param groupId
|
|
88
|
+
* @param walletId
|
|
89
|
+
* @returns Balance OK
|
|
90
|
+
* @throws ApiError
|
|
91
|
+
*/
|
|
92
|
+
static getGroupsWalletsBalance(groupId, walletId) {
|
|
93
|
+
return __request(OpenAPI, {
|
|
94
|
+
method: 'GET',
|
|
95
|
+
url: '/groups/{groupId}/wallets/{walletId}/balance',
|
|
96
|
+
path: {
|
|
97
|
+
'groupId': groupId,
|
|
98
|
+
'walletId': walletId,
|
|
99
|
+
},
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { BalanceReport } from '../models/BalanceReport';
|
|
2
|
+
import type { Group } from '../models/Group';
|
|
3
|
+
import type { GroupEdit } from '../models/GroupEdit';
|
|
4
|
+
import type { GroupInsert } from '../models/GroupInsert';
|
|
5
|
+
import type { Member } from '../models/Member';
|
|
6
|
+
import type { MemberBalanceReport } from '../models/MemberBalanceReport';
|
|
7
|
+
import type { MemberEdit } from '../models/MemberEdit';
|
|
8
|
+
import type { MemberInsert } from '../models/MemberInsert';
|
|
9
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
10
|
+
export declare class GroupsService {
|
|
11
|
+
/**
|
|
12
|
+
* @returns Group OK
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
static getGroups(): CancelablePromise<Array<Group>>;
|
|
16
|
+
/**
|
|
17
|
+
* @param requestBody
|
|
18
|
+
* @returns Group OK
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static postGroups(requestBody?: GroupInsert): CancelablePromise<Group>;
|
|
22
|
+
/**
|
|
23
|
+
* @param groupId
|
|
24
|
+
* @returns Group OK
|
|
25
|
+
* @throws ApiError
|
|
26
|
+
*/
|
|
27
|
+
static getGroups1(groupId: string): CancelablePromise<Group>;
|
|
28
|
+
/**
|
|
29
|
+
* @param groupId
|
|
30
|
+
* @param requestBody
|
|
31
|
+
* @returns Group OK
|
|
32
|
+
* @throws ApiError
|
|
33
|
+
*/
|
|
34
|
+
static patchGroups(groupId: string, requestBody?: GroupEdit): CancelablePromise<Group>;
|
|
35
|
+
/**
|
|
36
|
+
* @param groupId
|
|
37
|
+
* @returns any OK
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static deleteGroups(groupId: string): CancelablePromise<any>;
|
|
41
|
+
/**
|
|
42
|
+
* @param groupId
|
|
43
|
+
* @returns BalanceReport OK
|
|
44
|
+
* @throws ApiError
|
|
45
|
+
*/
|
|
46
|
+
static getGroupsBalance(groupId: string): CancelablePromise<BalanceReport>;
|
|
47
|
+
/**
|
|
48
|
+
* @param groupId
|
|
49
|
+
* @returns Member OK
|
|
50
|
+
* @throws ApiError
|
|
51
|
+
*/
|
|
52
|
+
static getGroupsMembers(groupId: string): CancelablePromise<Array<Member>>;
|
|
53
|
+
/**
|
|
54
|
+
* @param groupId
|
|
55
|
+
* @param requestBody
|
|
56
|
+
* @returns Member OK
|
|
57
|
+
* @throws ApiError
|
|
58
|
+
*/
|
|
59
|
+
static postGroupsMembers(groupId: string, requestBody?: MemberInsert): CancelablePromise<Member>;
|
|
60
|
+
/**
|
|
61
|
+
* @param groupId
|
|
62
|
+
* @param memberId
|
|
63
|
+
* @returns Member OK
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
static getGroupsMembers1(groupId: string, memberId: string): CancelablePromise<Member>;
|
|
67
|
+
/**
|
|
68
|
+
* @param groupId
|
|
69
|
+
* @param memberId
|
|
70
|
+
* @param requestBody
|
|
71
|
+
* @returns Member OK
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static patchGroupsMembers(groupId: string, memberId: string, requestBody?: MemberEdit): CancelablePromise<Member>;
|
|
75
|
+
/**
|
|
76
|
+
* @param groupId
|
|
77
|
+
* @param memberId
|
|
78
|
+
* @returns any OK
|
|
79
|
+
* @throws ApiError
|
|
80
|
+
*/
|
|
81
|
+
static deleteGroupsMembers(groupId: string, memberId: string): CancelablePromise<any>;
|
|
82
|
+
/**
|
|
83
|
+
* @param groupId
|
|
84
|
+
* @param memberId
|
|
85
|
+
* @returns MemberBalanceReport OK
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
static getGroupsMembersBalance(groupId: string, memberId: string): CancelablePromise<MemberBalanceReport>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class GroupsService {
|
|
4
|
+
/**
|
|
5
|
+
* @returns Group OK
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static getGroups() {
|
|
9
|
+
return __request(OpenAPI, {
|
|
10
|
+
method: 'GET',
|
|
11
|
+
url: '/groups',
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @param requestBody
|
|
16
|
+
* @returns Group OK
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static postGroups(requestBody) {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'POST',
|
|
22
|
+
url: '/groups',
|
|
23
|
+
body: requestBody,
|
|
24
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @param groupId
|
|
29
|
+
* @returns Group OK
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static getGroups1(groupId) {
|
|
33
|
+
return __request(OpenAPI, {
|
|
34
|
+
method: 'GET',
|
|
35
|
+
url: '/groups/{groupId}',
|
|
36
|
+
path: {
|
|
37
|
+
'groupId': groupId,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @param groupId
|
|
43
|
+
* @param requestBody
|
|
44
|
+
* @returns Group OK
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static patchGroups(groupId, requestBody) {
|
|
48
|
+
return __request(OpenAPI, {
|
|
49
|
+
method: 'PATCH',
|
|
50
|
+
url: '/groups/{groupId}',
|
|
51
|
+
path: {
|
|
52
|
+
'groupId': groupId,
|
|
53
|
+
},
|
|
54
|
+
body: requestBody,
|
|
55
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @param groupId
|
|
60
|
+
* @returns any OK
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static deleteGroups(groupId) {
|
|
64
|
+
return __request(OpenAPI, {
|
|
65
|
+
method: 'DELETE',
|
|
66
|
+
url: '/groups/{groupId}',
|
|
67
|
+
path: {
|
|
68
|
+
'groupId': groupId,
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @param groupId
|
|
74
|
+
* @returns BalanceReport OK
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static getGroupsBalance(groupId) {
|
|
78
|
+
return __request(OpenAPI, {
|
|
79
|
+
method: 'GET',
|
|
80
|
+
url: '/groups/{groupId}/balance',
|
|
81
|
+
path: {
|
|
82
|
+
'groupId': groupId,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @param groupId
|
|
88
|
+
* @returns Member OK
|
|
89
|
+
* @throws ApiError
|
|
90
|
+
*/
|
|
91
|
+
static getGroupsMembers(groupId) {
|
|
92
|
+
return __request(OpenAPI, {
|
|
93
|
+
method: 'GET',
|
|
94
|
+
url: '/groups/{groupId}/members',
|
|
95
|
+
path: {
|
|
96
|
+
'groupId': groupId,
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @param groupId
|
|
102
|
+
* @param requestBody
|
|
103
|
+
* @returns Member OK
|
|
104
|
+
* @throws ApiError
|
|
105
|
+
*/
|
|
106
|
+
static postGroupsMembers(groupId, requestBody) {
|
|
107
|
+
return __request(OpenAPI, {
|
|
108
|
+
method: 'POST',
|
|
109
|
+
url: '/groups/{groupId}/members',
|
|
110
|
+
path: {
|
|
111
|
+
'groupId': groupId,
|
|
112
|
+
},
|
|
113
|
+
body: requestBody,
|
|
114
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @param groupId
|
|
119
|
+
* @param memberId
|
|
120
|
+
* @returns Member OK
|
|
121
|
+
* @throws ApiError
|
|
122
|
+
*/
|
|
123
|
+
static getGroupsMembers1(groupId, memberId) {
|
|
124
|
+
return __request(OpenAPI, {
|
|
125
|
+
method: 'GET',
|
|
126
|
+
url: '/groups/{groupId}/members/{memberId}',
|
|
127
|
+
path: {
|
|
128
|
+
'groupId': groupId,
|
|
129
|
+
'memberId': memberId,
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @param groupId
|
|
135
|
+
* @param memberId
|
|
136
|
+
* @param requestBody
|
|
137
|
+
* @returns Member OK
|
|
138
|
+
* @throws ApiError
|
|
139
|
+
*/
|
|
140
|
+
static patchGroupsMembers(groupId, memberId, requestBody) {
|
|
141
|
+
return __request(OpenAPI, {
|
|
142
|
+
method: 'PATCH',
|
|
143
|
+
url: '/groups/{groupId}/members/{memberId}',
|
|
144
|
+
path: {
|
|
145
|
+
'groupId': groupId,
|
|
146
|
+
'memberId': memberId,
|
|
147
|
+
},
|
|
148
|
+
body: requestBody,
|
|
149
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @param groupId
|
|
154
|
+
* @param memberId
|
|
155
|
+
* @returns any OK
|
|
156
|
+
* @throws ApiError
|
|
157
|
+
*/
|
|
158
|
+
static deleteGroupsMembers(groupId, memberId) {
|
|
159
|
+
return __request(OpenAPI, {
|
|
160
|
+
method: 'DELETE',
|
|
161
|
+
url: '/groups/{groupId}/members/{memberId}',
|
|
162
|
+
path: {
|
|
163
|
+
'groupId': groupId,
|
|
164
|
+
'memberId': memberId,
|
|
165
|
+
},
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* @param groupId
|
|
170
|
+
* @param memberId
|
|
171
|
+
* @returns MemberBalanceReport OK
|
|
172
|
+
* @throws ApiError
|
|
173
|
+
*/
|
|
174
|
+
static getGroupsMembersBalance(groupId, memberId) {
|
|
175
|
+
return __request(OpenAPI, {
|
|
176
|
+
method: 'GET',
|
|
177
|
+
url: '/groups/{groupId}/members/{memberId}/balance',
|
|
178
|
+
path: {
|
|
179
|
+
'groupId': groupId,
|
|
180
|
+
'memberId': memberId,
|
|
181
|
+
},
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { Template } from '../models/Template';
|
|
2
|
+
import type { TemplateEdit } from '../models/TemplateEdit';
|
|
3
|
+
import type { TemplateInsert } from '../models/TemplateInsert';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
|
+
export declare class TemplatesService {
|
|
6
|
+
/**
|
|
7
|
+
* @param groupId
|
|
8
|
+
* @returns Template OK
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static getGroupsTemplates(groupId: string): CancelablePromise<Array<Template>>;
|
|
12
|
+
/**
|
|
13
|
+
* @param groupId
|
|
14
|
+
* @param requestBody
|
|
15
|
+
* @returns Template OK
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static postGroupsTemplates(groupId: string, requestBody?: TemplateInsert): CancelablePromise<Template>;
|
|
19
|
+
/**
|
|
20
|
+
* @param groupId
|
|
21
|
+
* @param templateId
|
|
22
|
+
* @returns Template OK
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static getGroupsTemplates1(groupId: string, templateId: string): CancelablePromise<Template>;
|
|
26
|
+
/**
|
|
27
|
+
* @param groupId
|
|
28
|
+
* @param templateId
|
|
29
|
+
* @param requestBody
|
|
30
|
+
* @returns Template OK
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
static patchGroupsTemplates(groupId: string, templateId: string, requestBody?: TemplateEdit): CancelablePromise<Template>;
|
|
34
|
+
/**
|
|
35
|
+
* @param groupId
|
|
36
|
+
* @param templateId
|
|
37
|
+
* @returns any OK
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static deleteGroupsTemplates(groupId: string, templateId: string): CancelablePromise<any>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class TemplatesService {
|
|
4
|
+
/**
|
|
5
|
+
* @param groupId
|
|
6
|
+
* @returns Template OK
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static getGroupsTemplates(groupId) {
|
|
10
|
+
return __request(OpenAPI, {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
url: '/groups/{groupId}/templates',
|
|
13
|
+
path: {
|
|
14
|
+
'groupId': groupId,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @param groupId
|
|
20
|
+
* @param requestBody
|
|
21
|
+
* @returns Template OK
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static postGroupsTemplates(groupId, requestBody) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'POST',
|
|
27
|
+
url: '/groups/{groupId}/templates',
|
|
28
|
+
path: {
|
|
29
|
+
'groupId': groupId,
|
|
30
|
+
},
|
|
31
|
+
body: requestBody,
|
|
32
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @param groupId
|
|
37
|
+
* @param templateId
|
|
38
|
+
* @returns Template OK
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static getGroupsTemplates1(groupId, templateId) {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/groups/{groupId}/templates/{templateId}',
|
|
45
|
+
path: {
|
|
46
|
+
'groupId': groupId,
|
|
47
|
+
'templateId': templateId,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @param groupId
|
|
53
|
+
* @param templateId
|
|
54
|
+
* @param requestBody
|
|
55
|
+
* @returns Template OK
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static patchGroupsTemplates(groupId, templateId, requestBody) {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'PATCH',
|
|
61
|
+
url: '/groups/{groupId}/templates/{templateId}',
|
|
62
|
+
path: {
|
|
63
|
+
'groupId': groupId,
|
|
64
|
+
'templateId': templateId,
|
|
65
|
+
},
|
|
66
|
+
body: requestBody,
|
|
67
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @param groupId
|
|
72
|
+
* @param templateId
|
|
73
|
+
* @returns any OK
|
|
74
|
+
* @throws ApiError
|
|
75
|
+
*/
|
|
76
|
+
static deleteGroupsTemplates(groupId, templateId) {
|
|
77
|
+
return __request(OpenAPI, {
|
|
78
|
+
method: 'DELETE',
|
|
79
|
+
url: '/groups/{groupId}/templates/{templateId}',
|
|
80
|
+
path: {
|
|
81
|
+
'groupId': groupId,
|
|
82
|
+
'templateId': templateId,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|