@incomy/platform-sdk 0.0.0-98d0cdbc → 0.0.0-af2fe097

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.
@@ -10,9 +10,6 @@ export type { BucketBalance } from './models/BucketBalance';
10
10
  export type { BucketBreakdown } from './models/BucketBreakdown';
11
11
  export type { BucketEdit } from './models/BucketEdit';
12
12
  export type { BucketInsert } from './models/BucketInsert';
13
- export type { Company } from './models/Company';
14
- export type { CompanyEdit } from './models/CompanyEdit';
15
- export type { CompanyInsert } from './models/CompanyInsert';
16
13
  export type { Entry } from './models/Entry';
17
14
  export type { EntryEdit } from './models/EntryEdit';
18
15
  export type { EntryInsert } from './models/EntryInsert';
@@ -22,9 +19,6 @@ export type { GroupInsert } from './models/GroupInsert';
22
19
  export type { GroupWallet } from './models/GroupWallet';
23
20
  export type { GroupWalletEdit } from './models/GroupWalletEdit';
24
21
  export type { GroupWalletInsert } from './models/GroupWalletInsert';
25
- export type { Individual } from './models/Individual';
26
- export type { IndividualEdit } from './models/IndividualEdit';
27
- export type { IndividualInsert } from './models/IndividualInsert';
28
22
  export type { InputFieldDefinition } from './models/InputFieldDefinition';
29
23
  export type { Member } from './models/Member';
30
24
  export type { MemberBalanceReport } from './models/MemberBalanceReport';
@@ -50,14 +44,9 @@ export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
50
44
  export type { TemplateInsert } from './models/TemplateInsert';
51
45
  export type { TemplateOperationDefinition } from './models/TemplateOperationDefinition';
52
46
  export type { TemplateSettlementDefinition } from './models/TemplateSettlementDefinition';
53
- export type { Wallet } from './models/Wallet';
54
47
  export type { WalletBalance } from './models/WalletBalance';
55
- export type { WalletEdit } from './models/WalletEdit';
56
- export type { WalletInsert } from './models/WalletInsert';
57
48
  export { BucketsService } from './services/BucketsService';
58
- export { CompaniesService } from './services/CompaniesService';
59
49
  export { EntriesService } from './services/EntriesService';
60
50
  export { GroupsService } from './services/GroupsService';
61
51
  export { GroupWalletsService } from './services/GroupWalletsService';
62
- export { IndividualsService } from './services/IndividualsService';
63
52
  export { TemplatesService } from './services/TemplatesService';
@@ -6,9 +6,7 @@ export { ApiError } from './core/ApiError';
6
6
  export { CancelablePromise, CancelError } from './core/CancelablePromise';
7
7
  export { OpenAPI } from './core/OpenAPI';
8
8
  export { BucketsService } from './services/BucketsService';
9
- export { CompaniesService } from './services/CompaniesService';
10
9
  export { EntriesService } from './services/EntriesService';
11
10
  export { GroupsService } from './services/GroupsService';
12
11
  export { GroupWalletsService } from './services/GroupWalletsService';
13
- export { IndividualsService } from './services/IndividualsService';
14
12
  export { TemplatesService } from './services/TemplatesService';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incomy/platform-sdk",
3
- "version": "0.0.0-98d0cdbc",
3
+ "version": "0.0.0-af2fe097",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -1,4 +0,0 @@
1
- export type Company = {
2
- id: string;
3
- name: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export type CompanyEdit = {
2
- name?: string | null;
3
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export type CompanyInsert = {
2
- name: string;
3
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- export type Individual = {
2
- id: string;
3
- firstName: string;
4
- lastName: string;
5
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export type IndividualEdit = {
2
- firstName?: string | null;
3
- lastName?: string | null;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export type IndividualInsert = {
2
- firstName: string;
3
- lastName: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export type Wallet = {
2
- id: string;
3
- name: string;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export type WalletEdit = {
2
- name?: string | null;
3
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export type WalletInsert = {
2
- name: string;
3
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,74 +0,0 @@
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
- }
@@ -1,154 +0,0 @@
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
- }
@@ -1,74 +0,0 @@
1
- import type { Individual } from '../models/Individual';
2
- import type { IndividualEdit } from '../models/IndividualEdit';
3
- import type { IndividualInsert } from '../models/IndividualInsert';
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 IndividualsService {
9
- /**
10
- * @returns Individual OK
11
- * @throws ApiError
12
- */
13
- static getIndividuals(): CancelablePromise<Array<Individual>>;
14
- /**
15
- * @param requestBody
16
- * @returns Individual OK
17
- * @throws ApiError
18
- */
19
- static postIndividuals(requestBody?: IndividualInsert): CancelablePromise<Individual>;
20
- /**
21
- * @param individualId
22
- * @returns Individual OK
23
- * @throws ApiError
24
- */
25
- static getIndividuals1(individualId: string): CancelablePromise<Individual>;
26
- /**
27
- * @param individualId
28
- * @param requestBody
29
- * @returns Individual OK
30
- * @throws ApiError
31
- */
32
- static patchIndividuals(individualId: string, requestBody?: IndividualEdit): CancelablePromise<Individual>;
33
- /**
34
- * @param individualId
35
- * @returns any OK
36
- * @throws ApiError
37
- */
38
- static deleteIndividuals(individualId: string): CancelablePromise<any>;
39
- /**
40
- * @param individualId
41
- * @returns Wallet OK
42
- * @throws ApiError
43
- */
44
- static getIndividualsWallets(individualId: string): CancelablePromise<Array<Wallet>>;
45
- /**
46
- * @param individualId
47
- * @param requestBody
48
- * @returns Wallet OK
49
- * @throws ApiError
50
- */
51
- static postIndividualsWallets(individualId: string, requestBody?: WalletInsert): CancelablePromise<Wallet>;
52
- /**
53
- * @param individualId
54
- * @param walletId
55
- * @returns Wallet OK
56
- * @throws ApiError
57
- */
58
- static getIndividualsWallets1(individualId: string, walletId: string): CancelablePromise<Wallet>;
59
- /**
60
- * @param individualId
61
- * @param walletId
62
- * @param requestBody
63
- * @returns Wallet OK
64
- * @throws ApiError
65
- */
66
- static patchIndividualsWallets(individualId: string, walletId: string, requestBody?: WalletEdit): CancelablePromise<Wallet>;
67
- /**
68
- * @param individualId
69
- * @param walletId
70
- * @returns any OK
71
- * @throws ApiError
72
- */
73
- static deleteIndividualsWallets(individualId: string, walletId: string): CancelablePromise<any>;
74
- }
@@ -1,154 +0,0 @@
1
- import { OpenAPI } from '../core/OpenAPI';
2
- import { request as __request } from '../core/request';
3
- export class IndividualsService {
4
- /**
5
- * @returns Individual OK
6
- * @throws ApiError
7
- */
8
- static getIndividuals() {
9
- return __request(OpenAPI, {
10
- method: 'GET',
11
- url: '/individuals',
12
- });
13
- }
14
- /**
15
- * @param requestBody
16
- * @returns Individual OK
17
- * @throws ApiError
18
- */
19
- static postIndividuals(requestBody) {
20
- return __request(OpenAPI, {
21
- method: 'POST',
22
- url: '/individuals',
23
- body: requestBody,
24
- mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
25
- });
26
- }
27
- /**
28
- * @param individualId
29
- * @returns Individual OK
30
- * @throws ApiError
31
- */
32
- static getIndividuals1(individualId) {
33
- return __request(OpenAPI, {
34
- method: 'GET',
35
- url: '/individuals/{individualId}',
36
- path: {
37
- 'individualId': individualId,
38
- },
39
- });
40
- }
41
- /**
42
- * @param individualId
43
- * @param requestBody
44
- * @returns Individual OK
45
- * @throws ApiError
46
- */
47
- static patchIndividuals(individualId, requestBody) {
48
- return __request(OpenAPI, {
49
- method: 'PATCH',
50
- url: '/individuals/{individualId}',
51
- path: {
52
- 'individualId': individualId,
53
- },
54
- body: requestBody,
55
- mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
56
- });
57
- }
58
- /**
59
- * @param individualId
60
- * @returns any OK
61
- * @throws ApiError
62
- */
63
- static deleteIndividuals(individualId) {
64
- return __request(OpenAPI, {
65
- method: 'DELETE',
66
- url: '/individuals/{individualId}',
67
- path: {
68
- 'individualId': individualId,
69
- },
70
- });
71
- }
72
- /**
73
- * @param individualId
74
- * @returns Wallet OK
75
- * @throws ApiError
76
- */
77
- static getIndividualsWallets(individualId) {
78
- return __request(OpenAPI, {
79
- method: 'GET',
80
- url: '/individuals/{individualId}/wallets',
81
- path: {
82
- 'individualId': individualId,
83
- },
84
- });
85
- }
86
- /**
87
- * @param individualId
88
- * @param requestBody
89
- * @returns Wallet OK
90
- * @throws ApiError
91
- */
92
- static postIndividualsWallets(individualId, requestBody) {
93
- return __request(OpenAPI, {
94
- method: 'POST',
95
- url: '/individuals/{individualId}/wallets',
96
- path: {
97
- 'individualId': individualId,
98
- },
99
- body: requestBody,
100
- mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
101
- });
102
- }
103
- /**
104
- * @param individualId
105
- * @param walletId
106
- * @returns Wallet OK
107
- * @throws ApiError
108
- */
109
- static getIndividualsWallets1(individualId, walletId) {
110
- return __request(OpenAPI, {
111
- method: 'GET',
112
- url: '/individuals/{individualId}/wallets/{walletId}',
113
- path: {
114
- 'individualId': individualId,
115
- 'walletId': walletId,
116
- },
117
- });
118
- }
119
- /**
120
- * @param individualId
121
- * @param walletId
122
- * @param requestBody
123
- * @returns Wallet OK
124
- * @throws ApiError
125
- */
126
- static patchIndividualsWallets(individualId, walletId, requestBody) {
127
- return __request(OpenAPI, {
128
- method: 'PATCH',
129
- url: '/individuals/{individualId}/wallets/{walletId}',
130
- path: {
131
- 'individualId': individualId,
132
- 'walletId': walletId,
133
- },
134
- body: requestBody,
135
- mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
136
- });
137
- }
138
- /**
139
- * @param individualId
140
- * @param walletId
141
- * @returns any OK
142
- * @throws ApiError
143
- */
144
- static deleteIndividualsWallets(individualId, walletId) {
145
- return __request(OpenAPI, {
146
- method: 'DELETE',
147
- url: '/individuals/{individualId}/wallets/{walletId}',
148
- path: {
149
- 'individualId': individualId,
150
- 'walletId': walletId,
151
- },
152
- });
153
- }
154
- }