@incomy/platform-sdk 0.0.0-579147a5
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 +63 -0
- package/dist/services/core/index.js +14 -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/Company.d.ts +4 -0
- package/dist/services/core/models/Company.js +1 -0
- package/dist/services/core/models/CompanyEdit.d.ts +3 -0
- package/dist/services/core/models/CompanyEdit.js +1 -0
- package/dist/services/core/models/CompanyInsert.d.ts +3 -0
- package/dist/services/core/models/CompanyInsert.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/Individual.d.ts +5 -0
- package/dist/services/core/models/Individual.js +1 -0
- package/dist/services/core/models/IndividualEdit.d.ts +4 -0
- package/dist/services/core/models/IndividualEdit.js +1 -0
- package/dist/services/core/models/IndividualInsert.d.ts +4 -0
- package/dist/services/core/models/IndividualInsert.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/Wallet.d.ts +4 -0
- package/dist/services/core/models/Wallet.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/models/WalletEdit.d.ts +3 -0
- package/dist/services/core/models/WalletEdit.js +1 -0
- package/dist/services/core/models/WalletInsert.d.ts +3 -0
- package/dist/services/core/models/WalletInsert.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/CompaniesService.d.ts +74 -0
- package/dist/services/core/services/CompaniesService.js +154 -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/IndividualsService.d.ts +74 -0
- package/dist/services/core/services/IndividualsService.js +154 -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,86 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class BucketsService {
|
|
4
|
+
/**
|
|
5
|
+
* @param groupId
|
|
6
|
+
* @returns Bucket OK
|
|
7
|
+
* @throws ApiError
|
|
8
|
+
*/
|
|
9
|
+
static getGroupsBuckets(groupId) {
|
|
10
|
+
return __request(OpenAPI, {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
url: '/groups/{groupId}/buckets',
|
|
13
|
+
path: {
|
|
14
|
+
'groupId': groupId,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @param groupId
|
|
20
|
+
* @param requestBody
|
|
21
|
+
* @returns Bucket OK
|
|
22
|
+
* @throws ApiError
|
|
23
|
+
*/
|
|
24
|
+
static postGroupsBuckets(groupId, requestBody) {
|
|
25
|
+
return __request(OpenAPI, {
|
|
26
|
+
method: 'POST',
|
|
27
|
+
url: '/groups/{groupId}/buckets',
|
|
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 bucketId
|
|
38
|
+
* @returns Bucket OK
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static getGroupsBuckets1(groupId, bucketId) {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/groups/{groupId}/buckets/{bucketId}',
|
|
45
|
+
path: {
|
|
46
|
+
'groupId': groupId,
|
|
47
|
+
'bucketId': bucketId,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @param groupId
|
|
53
|
+
* @param bucketId
|
|
54
|
+
* @param requestBody
|
|
55
|
+
* @returns Bucket OK
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static patchGroupsBuckets(groupId, bucketId, requestBody) {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'PATCH',
|
|
61
|
+
url: '/groups/{groupId}/buckets/{bucketId}',
|
|
62
|
+
path: {
|
|
63
|
+
'groupId': groupId,
|
|
64
|
+
'bucketId': bucketId,
|
|
65
|
+
},
|
|
66
|
+
body: requestBody,
|
|
67
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @param groupId
|
|
72
|
+
* @param bucketId
|
|
73
|
+
* @returns any OK
|
|
74
|
+
* @throws ApiError
|
|
75
|
+
*/
|
|
76
|
+
static deleteGroupsBuckets(groupId, bucketId) {
|
|
77
|
+
return __request(OpenAPI, {
|
|
78
|
+
method: 'DELETE',
|
|
79
|
+
url: '/groups/{groupId}/buckets/{bucketId}',
|
|
80
|
+
path: {
|
|
81
|
+
'groupId': groupId,
|
|
82
|
+
'bucketId': bucketId,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { Company } from '../models/Company';
|
|
2
|
+
import type { CompanyEdit } from '../models/CompanyEdit';
|
|
3
|
+
import type { CompanyInsert } from '../models/CompanyInsert';
|
|
4
|
+
import type { Wallet } from '../models/Wallet';
|
|
5
|
+
import type { WalletEdit } from '../models/WalletEdit';
|
|
6
|
+
import type { WalletInsert } from '../models/WalletInsert';
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
|
+
export declare class CompaniesService {
|
|
9
|
+
/**
|
|
10
|
+
* @returns Company OK
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getCompanies(): CancelablePromise<Array<Company>>;
|
|
14
|
+
/**
|
|
15
|
+
* @param requestBody
|
|
16
|
+
* @returns Company OK
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static postCompanies(requestBody?: CompanyInsert): CancelablePromise<Company>;
|
|
20
|
+
/**
|
|
21
|
+
* @param companyId
|
|
22
|
+
* @returns Company OK
|
|
23
|
+
* @throws ApiError
|
|
24
|
+
*/
|
|
25
|
+
static getCompanies1(companyId: string): CancelablePromise<Company>;
|
|
26
|
+
/**
|
|
27
|
+
* @param companyId
|
|
28
|
+
* @param requestBody
|
|
29
|
+
* @returns Company OK
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static patchCompanies(companyId: string, requestBody?: CompanyEdit): CancelablePromise<Company>;
|
|
33
|
+
/**
|
|
34
|
+
* @param companyId
|
|
35
|
+
* @returns any OK
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
static deleteCompanies(companyId: string): CancelablePromise<any>;
|
|
39
|
+
/**
|
|
40
|
+
* @param companyId
|
|
41
|
+
* @returns Wallet OK
|
|
42
|
+
* @throws ApiError
|
|
43
|
+
*/
|
|
44
|
+
static getCompaniesWallets(companyId: string): CancelablePromise<Array<Wallet>>;
|
|
45
|
+
/**
|
|
46
|
+
* @param companyId
|
|
47
|
+
* @param requestBody
|
|
48
|
+
* @returns Wallet OK
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
static postCompaniesWallets(companyId: string, requestBody?: WalletInsert): CancelablePromise<Wallet>;
|
|
52
|
+
/**
|
|
53
|
+
* @param companyId
|
|
54
|
+
* @param walletId
|
|
55
|
+
* @returns Wallet OK
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static getCompaniesWallets1(companyId: string, walletId: string): CancelablePromise<Wallet>;
|
|
59
|
+
/**
|
|
60
|
+
* @param companyId
|
|
61
|
+
* @param walletId
|
|
62
|
+
* @param requestBody
|
|
63
|
+
* @returns Wallet OK
|
|
64
|
+
* @throws ApiError
|
|
65
|
+
*/
|
|
66
|
+
static patchCompaniesWallets(companyId: string, walletId: string, requestBody?: WalletEdit): CancelablePromise<Wallet>;
|
|
67
|
+
/**
|
|
68
|
+
* @param companyId
|
|
69
|
+
* @param walletId
|
|
70
|
+
* @returns any OK
|
|
71
|
+
* @throws ApiError
|
|
72
|
+
*/
|
|
73
|
+
static deleteCompaniesWallets(companyId: string, walletId: string): CancelablePromise<any>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class CompaniesService {
|
|
4
|
+
/**
|
|
5
|
+
* @returns Company OK
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static getCompanies() {
|
|
9
|
+
return __request(OpenAPI, {
|
|
10
|
+
method: 'GET',
|
|
11
|
+
url: '/companies',
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @param requestBody
|
|
16
|
+
* @returns Company OK
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
static postCompanies(requestBody) {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'POST',
|
|
22
|
+
url: '/companies',
|
|
23
|
+
body: requestBody,
|
|
24
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @param companyId
|
|
29
|
+
* @returns Company OK
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static getCompanies1(companyId) {
|
|
33
|
+
return __request(OpenAPI, {
|
|
34
|
+
method: 'GET',
|
|
35
|
+
url: '/companies/{companyId}',
|
|
36
|
+
path: {
|
|
37
|
+
'companyId': companyId,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @param companyId
|
|
43
|
+
* @param requestBody
|
|
44
|
+
* @returns Company OK
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
static patchCompanies(companyId, requestBody) {
|
|
48
|
+
return __request(OpenAPI, {
|
|
49
|
+
method: 'PATCH',
|
|
50
|
+
url: '/companies/{companyId}',
|
|
51
|
+
path: {
|
|
52
|
+
'companyId': companyId,
|
|
53
|
+
},
|
|
54
|
+
body: requestBody,
|
|
55
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @param companyId
|
|
60
|
+
* @returns any OK
|
|
61
|
+
* @throws ApiError
|
|
62
|
+
*/
|
|
63
|
+
static deleteCompanies(companyId) {
|
|
64
|
+
return __request(OpenAPI, {
|
|
65
|
+
method: 'DELETE',
|
|
66
|
+
url: '/companies/{companyId}',
|
|
67
|
+
path: {
|
|
68
|
+
'companyId': companyId,
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @param companyId
|
|
74
|
+
* @returns Wallet OK
|
|
75
|
+
* @throws ApiError
|
|
76
|
+
*/
|
|
77
|
+
static getCompaniesWallets(companyId) {
|
|
78
|
+
return __request(OpenAPI, {
|
|
79
|
+
method: 'GET',
|
|
80
|
+
url: '/companies/{companyId}/wallets',
|
|
81
|
+
path: {
|
|
82
|
+
'companyId': companyId,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @param companyId
|
|
88
|
+
* @param requestBody
|
|
89
|
+
* @returns Wallet OK
|
|
90
|
+
* @throws ApiError
|
|
91
|
+
*/
|
|
92
|
+
static postCompaniesWallets(companyId, requestBody) {
|
|
93
|
+
return __request(OpenAPI, {
|
|
94
|
+
method: 'POST',
|
|
95
|
+
url: '/companies/{companyId}/wallets',
|
|
96
|
+
path: {
|
|
97
|
+
'companyId': companyId,
|
|
98
|
+
},
|
|
99
|
+
body: requestBody,
|
|
100
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @param companyId
|
|
105
|
+
* @param walletId
|
|
106
|
+
* @returns Wallet OK
|
|
107
|
+
* @throws ApiError
|
|
108
|
+
*/
|
|
109
|
+
static getCompaniesWallets1(companyId, walletId) {
|
|
110
|
+
return __request(OpenAPI, {
|
|
111
|
+
method: 'GET',
|
|
112
|
+
url: '/companies/{companyId}/wallets/{walletId}',
|
|
113
|
+
path: {
|
|
114
|
+
'companyId': companyId,
|
|
115
|
+
'walletId': walletId,
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @param companyId
|
|
121
|
+
* @param walletId
|
|
122
|
+
* @param requestBody
|
|
123
|
+
* @returns Wallet OK
|
|
124
|
+
* @throws ApiError
|
|
125
|
+
*/
|
|
126
|
+
static patchCompaniesWallets(companyId, walletId, requestBody) {
|
|
127
|
+
return __request(OpenAPI, {
|
|
128
|
+
method: 'PATCH',
|
|
129
|
+
url: '/companies/{companyId}/wallets/{walletId}',
|
|
130
|
+
path: {
|
|
131
|
+
'companyId': companyId,
|
|
132
|
+
'walletId': walletId,
|
|
133
|
+
},
|
|
134
|
+
body: requestBody,
|
|
135
|
+
mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* @param companyId
|
|
140
|
+
* @param walletId
|
|
141
|
+
* @returns any OK
|
|
142
|
+
* @throws ApiError
|
|
143
|
+
*/
|
|
144
|
+
static deleteCompaniesWallets(companyId, walletId) {
|
|
145
|
+
return __request(OpenAPI, {
|
|
146
|
+
method: 'DELETE',
|
|
147
|
+
url: '/companies/{companyId}/wallets/{walletId}',
|
|
148
|
+
path: {
|
|
149
|
+
'companyId': companyId,
|
|
150
|
+
'walletId': walletId,
|
|
151
|
+
},
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Entry } from '../models/Entry';
|
|
2
|
+
import type { EntryEdit } from '../models/EntryEdit';
|
|
3
|
+
import type { EntryInsert } from '../models/EntryInsert';
|
|
4
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
5
|
+
export declare class EntriesService {
|
|
6
|
+
/**
|
|
7
|
+
* @param groupId
|
|
8
|
+
* @param templateId
|
|
9
|
+
* @param includeBalance
|
|
10
|
+
* @returns Entry OK
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getGroupsEntries(groupId: string, templateId?: string, includeBalance?: boolean): CancelablePromise<Array<Entry>>;
|
|
14
|
+
/**
|
|
15
|
+
* @param groupId
|
|
16
|
+
* @param requestBody
|
|
17
|
+
* @returns Entry OK
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static postGroupsEntries(groupId: string, requestBody?: EntryInsert): CancelablePromise<Entry>;
|
|
21
|
+
/**
|
|
22
|
+
* @param groupId
|
|
23
|
+
* @param entryId
|
|
24
|
+
* @param includeBalance
|
|
25
|
+
* @returns Entry OK
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static getGroupsEntries1(groupId: string, entryId: string, includeBalance?: boolean): CancelablePromise<Entry>;
|
|
29
|
+
/**
|
|
30
|
+
* @param groupId
|
|
31
|
+
* @param entryId
|
|
32
|
+
* @param requestBody
|
|
33
|
+
* @returns Entry OK
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
static patchGroupsEntries(groupId: string, entryId: string, requestBody?: EntryEdit): CancelablePromise<Entry>;
|
|
37
|
+
/**
|
|
38
|
+
* @param groupId
|
|
39
|
+
* @param entryId
|
|
40
|
+
* @returns any OK
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
static deleteGroupsEntries(groupId: string, entryId: string): CancelablePromise<any>;
|
|
44
|
+
}
|
|
@@ -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
|
+
}
|