@incomy/platform-sdk 0.3.0-alpha.1 → 0.3.0-alpha.11

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.
@@ -18,6 +18,8 @@ export type { EntryOperations } from './models/EntryOperations';
18
18
  export type { EntrySettlements } from './models/EntrySettlements';
19
19
  export type { InputFieldDefinition } from './models/InputFieldDefinition';
20
20
  export type { LogItem } from './models/LogItem';
21
+ export type { LogOperation } from './models/LogOperation';
22
+ export type { LogSettlement } from './models/LogSettlement';
21
23
  export type { Member } from './models/Member';
22
24
  export type { MemberBalanceReport } from './models/MemberBalanceReport';
23
25
  export type { MemberEdit } from './models/MemberEdit';
@@ -1,9 +1,9 @@
1
1
  import type { Entry } from './Entry';
2
- import type { Operation } from './Operation';
3
- import type { Settlement } from './Settlement';
2
+ import type { LogOperation } from './LogOperation';
3
+ import type { LogSettlement } from './LogSettlement';
4
4
  export type LogItem = {
5
5
  type?: 'OPERATION' | 'SETTLEMENT' | 'ENTRY';
6
- operation?: Operation;
7
- settlement?: Settlement;
6
+ operation?: LogOperation;
7
+ settlement?: LogSettlement;
8
8
  entry?: Entry;
9
9
  };
@@ -0,0 +1,19 @@
1
+ import type { BalanceReport } from './BalanceReport';
2
+ import type { BucketBreakdown } from './BucketBreakdown';
3
+ import type { Money } from './Money';
4
+ export type LogOperation = {
5
+ id: string;
6
+ name: string;
7
+ time: string;
8
+ originWalletId?: string | null;
9
+ targetWalletId?: string | null;
10
+ type: 'in' | 'out' | 'transfer';
11
+ money: Money;
12
+ bucketBreakdown?: Array<BucketBreakdown> | null;
13
+ entryId?: string | null;
14
+ /**
15
+ * If set, operation will be deleted when unlined from an entry or when linked entry is deleted.
16
+ */
17
+ deleteWithEntryRemoval?: boolean;
18
+ balance?: BalanceReport;
19
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,19 @@
1
+ import type { BalanceReport } from './BalanceReport';
2
+ import type { BucketBreakdown } from './BucketBreakdown';
3
+ import type { Money } from './Money';
4
+ export type LogSettlement = {
5
+ id: string;
6
+ name: string;
7
+ description?: string | null;
8
+ memberId: string;
9
+ money: Money;
10
+ bucketBreakdown: Array<BucketBreakdown>;
11
+ compensation: boolean;
12
+ occurredAt: string;
13
+ entryId?: string | null;
14
+ /**
15
+ * If set, settlement will be deleted when unlined from an entry or when linked entry is deleted.
16
+ */
17
+ deleteWithEntryRemoval?: boolean;
18
+ balance?: BalanceReport;
19
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incomy/platform-sdk",
3
- "version": "0.3.0-alpha.1+19",
3
+ "version": "0.3.0-alpha.11",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [