@incomy/platform-sdk 0.4.0-143 → 0.4.0-146

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.
Files changed (32) hide show
  1. package/dist/services/hub/index.d.ts +8 -8
  2. package/dist/services/hub/index.js +1 -1
  3. package/dist/services/hub/models/Accrual.d.ts +3 -3
  4. package/dist/services/hub/models/AccrualEdit.d.ts +3 -3
  5. package/dist/services/hub/models/AccrualInsert.d.ts +4 -4
  6. package/dist/services/hub/models/LogAccrual.d.ts +3 -3
  7. package/dist/services/hub/models/LogItem.d.ts +3 -3
  8. package/dist/services/hub/models/LogOperation.d.ts +3 -3
  9. package/dist/services/hub/models/{Entry.d.ts → MultiEvent.d.ts} +1 -1
  10. package/dist/services/hub/models/{EntryAccruals.d.ts → MultiEventAccruals.d.ts} +1 -1
  11. package/dist/services/hub/models/MultiEventEdit.d.ts +10 -0
  12. package/dist/services/hub/models/MultiEventInsert.d.ts +13 -0
  13. package/dist/services/hub/models/{EntryOperations.d.ts → MultiEventOperations.d.ts} +1 -1
  14. package/dist/services/hub/models/{EntryPaginatedList.d.ts → MultiEventPaginatedList.d.ts} +3 -3
  15. package/dist/services/hub/models/Operation.d.ts +3 -3
  16. package/dist/services/hub/models/OperationEdit.d.ts +4 -4
  17. package/dist/services/hub/models/OperationInsert.d.ts +4 -4
  18. package/dist/services/hub/models/TemplateDefinition.d.ts +2 -2
  19. package/dist/services/hub/models/{TemplateEntryDefinition.d.ts → TemplateMultiEventDefinition.d.ts} +1 -1
  20. package/dist/services/hub/services/MultiEventsService.d.ts +50 -0
  21. package/dist/services/hub/services/{EntriesService.js → MultiEventsService.js} +21 -21
  22. package/package.json +1 -1
  23. package/dist/services/hub/models/EntryEdit.d.ts +0 -10
  24. package/dist/services/hub/models/EntryInsert.d.ts +0 -13
  25. package/dist/services/hub/services/EntriesService.d.ts +0 -50
  26. /package/dist/services/hub/models/{Entry.js → MultiEvent.js} +0 -0
  27. /package/dist/services/hub/models/{EntryAccruals.js → MultiEventAccruals.js} +0 -0
  28. /package/dist/services/hub/models/{EntryEdit.js → MultiEventEdit.js} +0 -0
  29. /package/dist/services/hub/models/{EntryInsert.js → MultiEventInsert.js} +0 -0
  30. /package/dist/services/hub/models/{EntryOperations.js → MultiEventOperations.js} +0 -0
  31. /package/dist/services/hub/models/{EntryPaginatedList.js → MultiEventPaginatedList.js} +0 -0
  32. /package/dist/services/hub/models/{TemplateEntryDefinition.js → TemplateMultiEventDefinition.js} +0 -0
@@ -14,12 +14,6 @@ export type { BucketBalance } from './models/BucketBalance';
14
14
  export type { BucketBreakdown } from './models/BucketBreakdown';
15
15
  export type { BucketEdit } from './models/BucketEdit';
16
16
  export type { BucketInsert } from './models/BucketInsert';
17
- export type { Entry } from './models/Entry';
18
- export type { EntryAccruals } from './models/EntryAccruals';
19
- export type { EntryEdit } from './models/EntryEdit';
20
- export type { EntryInsert } from './models/EntryInsert';
21
- export type { EntryOperations } from './models/EntryOperations';
22
- export type { EntryPaginatedList } from './models/EntryPaginatedList';
23
17
  export type { Icon } from './models/Icon';
24
18
  export type { InputFieldDefinition } from './models/InputFieldDefinition';
25
19
  export type { Label } from './models/Label';
@@ -39,6 +33,12 @@ export type { MemberInsert } from './models/MemberInsert';
39
33
  export type { MemberPaginatedList } from './models/MemberPaginatedList';
40
34
  export type { Money } from './models/Money';
41
35
  export type { MoneyExpression } from './models/MoneyExpression';
36
+ export type { MultiEvent } from './models/MultiEvent';
37
+ export type { MultiEventAccruals } from './models/MultiEventAccruals';
38
+ export type { MultiEventEdit } from './models/MultiEventEdit';
39
+ export type { MultiEventInsert } from './models/MultiEventInsert';
40
+ export type { MultiEventOperations } from './models/MultiEventOperations';
41
+ export type { MultiEventPaginatedList } from './models/MultiEventPaginatedList';
42
42
  export type { Operation } from './models/Operation';
43
43
  export type { OperationEdit } from './models/OperationEdit';
44
44
  export type { OperationInsert } from './models/OperationInsert';
@@ -61,11 +61,11 @@ export type { TemplateBucketBreakdownDefinition } from './models/TemplateBucketB
61
61
  export type { TemplateData } from './models/TemplateData';
62
62
  export type { TemplateDefinition } from './models/TemplateDefinition';
63
63
  export type { TemplateEdit } from './models/TemplateEdit';
64
- export type { TemplateEntryDefinition } from './models/TemplateEntryDefinition';
65
64
  export type { TemplateInfo } from './models/TemplateInfo';
66
65
  export type { TemplateInput } from './models/TemplateInput';
67
66
  export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
68
67
  export type { TemplateInsert } from './models/TemplateInsert';
68
+ export type { TemplateMultiEventDefinition } from './models/TemplateMultiEventDefinition';
69
69
  export type { TemplateOperationDefinition } from './models/TemplateOperationDefinition';
70
70
  export type { UpdateProfileRequest } from './models/UpdateProfileRequest';
71
71
  export type { User } from './models/User';
@@ -75,9 +75,9 @@ export type { WalletBalancePaginatedList } from './models/WalletBalancePaginated
75
75
  export { AccrualsService } from './services/AccrualsService';
76
76
  export { AuthService } from './services/AuthService';
77
77
  export { BucketsService } from './services/BucketsService';
78
- export { EntriesService } from './services/EntriesService';
79
78
  export { LabelsService } from './services/LabelsService';
80
79
  export { MembersService } from './services/MembersService';
80
+ export { MultiEventsService } from './services/MultiEventsService';
81
81
  export { OperationsService } from './services/OperationsService';
82
82
  export { ProjectsService } from './services/ProjectsService';
83
83
  export { ProjectWalletsService } from './services/ProjectWalletsService';
@@ -8,9 +8,9 @@ export { OpenAPI } from './core/OpenAPI';
8
8
  export { AccrualsService } from './services/AccrualsService';
9
9
  export { AuthService } from './services/AuthService';
10
10
  export { BucketsService } from './services/BucketsService';
11
- export { EntriesService } from './services/EntriesService';
12
11
  export { LabelsService } from './services/LabelsService';
13
12
  export { MembersService } from './services/MembersService';
13
+ export { MultiEventsService } from './services/MultiEventsService';
14
14
  export { OperationsService } from './services/OperationsService';
15
15
  export { ProjectsService } from './services/ProjectsService';
16
16
  export { ProjectWalletsService } from './services/ProjectWalletsService';
@@ -16,10 +16,10 @@ export type Accrual = {
16
16
  money: Money;
17
17
  bucketBreakdown?: Array<BucketBreakdown> | null;
18
18
  occurredAt: string;
19
- entryId?: string | null;
19
+ multiEventId?: string | null;
20
20
  /**
21
- * If set, record will be deleted when unlined from an entry or when linked entry is deleted.
21
+ * If set, record will be deleted when unlined from a multievent or when linked multievent is deleted.
22
22
  */
23
- deleteWithEntryRemoval?: boolean;
23
+ deleteWithMultiEventRemoval?: boolean;
24
24
  labelIds: Array<string>;
25
25
  };
@@ -15,10 +15,10 @@ export type AccrualEdit = {
15
15
  money?: Money;
16
16
  bucketBreakdown?: Array<BucketBreakdown> | null;
17
17
  occurredAt?: string | null;
18
- entryId?: string | null;
18
+ multiEventId?: string | null;
19
19
  /**
20
- * If set, record will be deleted when unlined from an entry or when linked entry is deleted.
20
+ * If set, record will be deleted when unlined from a multievent or when linked multievent is deleted.
21
21
  */
22
- deleteWithEntryRemoval?: boolean | null;
22
+ deleteWithMultiEventRemoval?: boolean | null;
23
23
  labelIds?: Array<string> | null;
24
24
  };
@@ -15,13 +15,13 @@ export type AccrualInsert = {
15
15
  money: Money;
16
16
  bucketBreakdown?: Array<BucketBreakdown> | null;
17
17
  /**
18
- * When left empty: if is linked to an entry its time will be used, otherwise server time at creation
18
+ * When left empty: if is linked to a multievent its time will be used, otherwise server time at creation
19
19
  */
20
20
  occurredAt?: string | null;
21
- entryId?: string | null;
21
+ multiEventId?: string | null;
22
22
  /**
23
- * If set, record will be deleted when unlined from an entry or when linked entry is deleted.
23
+ * If set, record will be deleted when unlined from a multievent or when linked multievent is deleted.
24
24
  */
25
- deleteWithEntryRemoval?: boolean;
25
+ deleteWithMultiEventRemoval?: boolean;
26
26
  labelIds?: Array<string> | null;
27
27
  };
@@ -17,11 +17,11 @@ export type LogAccrual = {
17
17
  money: Money;
18
18
  bucketBreakdown?: Array<BucketBreakdown> | null;
19
19
  occurredAt: string;
20
- entryId?: string | null;
20
+ multiEventId?: string | null;
21
21
  /**
22
- * If set, record will be deleted when unlined from an entry or when linked entry is deleted.
22
+ * If set, record will be deleted when unlined from a multievent or when linked multievent is deleted.
23
23
  */
24
- deleteWithEntryRemoval?: boolean;
24
+ deleteWithMultiEventRemoval?: boolean;
25
25
  labelIds: Array<string>;
26
26
  balance?: BalanceReport;
27
27
  };
@@ -1,9 +1,9 @@
1
- import type { Entry } from './Entry';
2
1
  import type { LogAccrual } from './LogAccrual';
3
2
  import type { LogOperation } from './LogOperation';
3
+ import type { MultiEvent } from './MultiEvent';
4
4
  export type LogItem = {
5
- type?: 'OPERATION' | 'ACCRUAL' | 'ENTRY';
5
+ type?: 'OPERATION' | 'ACCRUAL' | 'MULTIEVENT';
6
6
  operation?: LogOperation;
7
7
  accrual?: LogAccrual;
8
- entry?: Entry;
8
+ multiEvent?: MultiEvent;
9
9
  };
@@ -10,11 +10,11 @@ export type LogOperation = {
10
10
  type: 'in' | 'out' | 'transfer';
11
11
  money: Money;
12
12
  bucketBreakdown?: Array<BucketBreakdown> | null;
13
- entryId?: string | null;
13
+ multiEventId?: string | null;
14
14
  /**
15
- * If set, operation will be deleted when unlined from an entry or when linked entry is deleted.
15
+ * If set, operation will be deleted when unlined from a multievent or when linked multievent is deleted.
16
16
  */
17
- deleteWithEntryRemoval?: boolean;
17
+ deleteWithMultiEventRemoval?: boolean;
18
18
  labelIds: Array<string>;
19
19
  balance?: BalanceReport;
20
20
  };
@@ -2,7 +2,7 @@ import type { Accrual } from './Accrual';
2
2
  import type { BalanceReport } from './BalanceReport';
3
3
  import type { Operation } from './Operation';
4
4
  import type { TemplateInfo } from './TemplateInfo';
5
- export type Entry = {
5
+ export type MultiEvent = {
6
6
  id: string;
7
7
  name: string;
8
8
  occurredAt: string;
@@ -1,6 +1,6 @@
1
1
  import type { AccrualEdit } from './AccrualEdit';
2
2
  import type { AccrualInsert } from './AccrualInsert';
3
- export type EntryAccruals = {
3
+ export type MultiEventAccruals = {
4
4
  create?: Array<AccrualInsert> | null;
5
5
  update?: Record<string, AccrualEdit> | null;
6
6
  };
@@ -0,0 +1,10 @@
1
+ import type { MultiEventAccruals } from './MultiEventAccruals';
2
+ import type { MultiEventOperations } from './MultiEventOperations';
3
+ import type { TemplateInfo } from './TemplateInfo';
4
+ export type MultiEventEdit = {
5
+ name?: string | null;
6
+ occurredAt?: string | null;
7
+ operations?: MultiEventOperations;
8
+ accruals?: MultiEventAccruals;
9
+ template?: TemplateInfo;
10
+ };
@@ -0,0 +1,13 @@
1
+ import type { MultiEventAccruals } from './MultiEventAccruals';
2
+ import type { MultiEventOperations } from './MultiEventOperations';
3
+ import type { TemplateInfo } from './TemplateInfo';
4
+ export type MultiEventInsert = {
5
+ name?: string | null;
6
+ /**
7
+ * Server time will be used if left empty
8
+ */
9
+ occurredAt?: string | null;
10
+ operations?: MultiEventOperations;
11
+ accruals?: MultiEventAccruals;
12
+ template?: TemplateInfo;
13
+ };
@@ -1,6 +1,6 @@
1
1
  import type { OperationEdit } from './OperationEdit';
2
2
  import type { OperationInsert } from './OperationInsert';
3
- export type EntryOperations = {
3
+ export type MultiEventOperations = {
4
4
  create?: Array<OperationInsert> | null;
5
5
  update?: Record<string, OperationEdit> | null;
6
6
  };
@@ -1,5 +1,5 @@
1
- import type { Entry } from './Entry';
2
- export type EntryPaginatedList = {
1
+ import type { MultiEvent } from './MultiEvent';
2
+ export type MultiEventPaginatedList = {
3
3
  /**
4
4
  * Token item to start the next query from; Empty start from the beginning
5
5
  */
@@ -11,6 +11,6 @@ export type EntryPaginatedList = {
11
11
  /**
12
12
  * Results for the current query
13
13
  */
14
- items: Array<Entry>;
14
+ items: Array<MultiEvent>;
15
15
  meta?: Record<string, string | null> | null;
16
16
  };
@@ -9,10 +9,10 @@ export type Operation = {
9
9
  type: 'in' | 'out' | 'transfer';
10
10
  money: Money;
11
11
  bucketBreakdown?: Array<BucketBreakdown> | null;
12
- entryId?: string | null;
12
+ multiEventId?: string | null;
13
13
  /**
14
- * If set, operation will be deleted when unlined from an entry or when linked entry is deleted.
14
+ * If set, operation will be deleted when unlined from a multievent or when linked multievent is deleted.
15
15
  */
16
- deleteWithEntryRemoval?: boolean;
16
+ deleteWithMultiEventRemoval?: boolean;
17
17
  labelIds: Array<string>;
18
18
  };
@@ -15,12 +15,12 @@ export type OperationEdit = {
15
15
  money?: Money;
16
16
  bucketBreakdown?: Array<BucketBreakdown> | null;
17
17
  /**
18
- * Use empty string in order to unlink operation from entry
18
+ * Use empty string in order to unlink operation from multievent
19
19
  */
20
- entryId?: string | null;
20
+ multiEventId?: string | null;
21
21
  /**
22
- * If set, operation will be deleted when unlined from an entry or when linked entry is deleted.
22
+ * If set, operation will be deleted when unlined from a multievent or when linked multievent is deleted.
23
23
  */
24
- deleteWithEntryRemoval?: boolean | null;
24
+ deleteWithMultiEventRemoval?: boolean | null;
25
25
  labelIds?: Array<string> | null;
26
26
  };
@@ -3,7 +3,7 @@ import type { Money } from './Money';
3
3
  export type OperationInsert = {
4
4
  name: string;
5
5
  /**
6
- * Entry time will be used if left empty
6
+ * MultiEvent time will be used if left empty
7
7
  */
8
8
  time?: string | null;
9
9
  originWalletId?: string | null;
@@ -11,10 +11,10 @@ export type OperationInsert = {
11
11
  type: 'in' | 'out' | 'transfer';
12
12
  money: Money;
13
13
  bucketBreakdown?: Array<BucketBreakdown> | null;
14
- entryId?: string | null;
14
+ multiEventId?: string | null;
15
15
  /**
16
- * If set, operation will be deleted when unlined from an entry or when linked entry is deleted.
16
+ * If set, operation will be deleted when unlined from a multievent or when linked multievent is deleted.
17
17
  */
18
- deleteWithEntryRemoval?: boolean;
18
+ deleteWithMultiEventRemoval?: boolean;
19
19
  labelIds?: Array<string> | null;
20
20
  };
@@ -1,10 +1,10 @@
1
1
  import type { TemplateAccrualDefinition } from './TemplateAccrualDefinition';
2
- import type { TemplateEntryDefinition } from './TemplateEntryDefinition';
3
2
  import type { TemplateInputDefinition } from './TemplateInputDefinition';
3
+ import type { TemplateMultiEventDefinition } from './TemplateMultiEventDefinition';
4
4
  import type { TemplateOperationDefinition } from './TemplateOperationDefinition';
5
5
  export type TemplateDefinition = {
6
6
  inputDefinition: TemplateInputDefinition;
7
7
  accrualDefinitions: Array<TemplateAccrualDefinition>;
8
8
  operationDefinitions: Array<TemplateOperationDefinition>;
9
- entryDefinition: TemplateEntryDefinition;
9
+ multiEventDefinition: TemplateMultiEventDefinition;
10
10
  };
@@ -1,4 +1,4 @@
1
- export type TemplateEntryDefinition = {
1
+ export type TemplateMultiEventDefinition = {
2
2
  nameExpression: string;
3
3
  occurredAtExpression?: string | null;
4
4
  };
@@ -0,0 +1,50 @@
1
+ import type { MultiEvent } from '../models/MultiEvent';
2
+ import type { MultiEventEdit } from '../models/MultiEventEdit';
3
+ import type { MultiEventInsert } from '../models/MultiEventInsert';
4
+ import type { MultiEventPaginatedList } from '../models/MultiEventPaginatedList';
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ export declare class MultiEventsService {
7
+ /**
8
+ * @param projectId
9
+ * @param templateId
10
+ * @param query
11
+ * @param includeBalance
12
+ * @param orderByName
13
+ * @param orderByTime
14
+ * @param limit
15
+ * @param next
16
+ * @returns MultiEventPaginatedList OK
17
+ * @throws ApiError
18
+ */
19
+ static getProjectsMultievents(projectId: string, templateId?: string, query?: string, includeBalance?: boolean, orderByName?: 'Desc' | 'Asc', orderByTime?: 'Desc' | 'Asc', limit?: number, next?: string): CancelablePromise<MultiEventPaginatedList>;
20
+ /**
21
+ * @param projectId
22
+ * @param requestBody
23
+ * @returns MultiEvent OK
24
+ * @throws ApiError
25
+ */
26
+ static postProjectsMultievents(projectId: string, requestBody?: MultiEventInsert): CancelablePromise<MultiEvent>;
27
+ /**
28
+ * @param projectId
29
+ * @param multiEventId
30
+ * @param includeBalance
31
+ * @returns MultiEvent OK
32
+ * @throws ApiError
33
+ */
34
+ static getProjectsMultievents1(projectId: string, multiEventId: string, includeBalance?: boolean): CancelablePromise<MultiEvent>;
35
+ /**
36
+ * @param projectId
37
+ * @param multiEventId
38
+ * @param requestBody
39
+ * @returns MultiEvent OK
40
+ * @throws ApiError
41
+ */
42
+ static patchProjectsMultievents(projectId: string, multiEventId: string, requestBody?: MultiEventEdit): CancelablePromise<MultiEvent>;
43
+ /**
44
+ * @param projectId
45
+ * @param multiEventId
46
+ * @returns any OK
47
+ * @throws ApiError
48
+ */
49
+ static deleteProjectsMultievents(projectId: string, multiEventId: string): CancelablePromise<any>;
50
+ }
@@ -1,6 +1,6 @@
1
1
  import { OpenAPI } from '../core/OpenAPI';
2
2
  import { request as __request } from '../core/request';
3
- export class EntriesService {
3
+ export class MultiEventsService {
4
4
  /**
5
5
  * @param projectId
6
6
  * @param templateId
@@ -10,13 +10,13 @@ export class EntriesService {
10
10
  * @param orderByTime
11
11
  * @param limit
12
12
  * @param next
13
- * @returns EntryPaginatedList OK
13
+ * @returns MultiEventPaginatedList OK
14
14
  * @throws ApiError
15
15
  */
16
- static getProjectsEntries(projectId, templateId, query, includeBalance = false, orderByName, orderByTime, limit = 100, next) {
16
+ static getProjectsMultievents(projectId, templateId, query, includeBalance = false, orderByName, orderByTime, limit = 100, next) {
17
17
  return __request(OpenAPI, {
18
18
  method: 'GET',
19
- url: '/projects/{projectId}/entries',
19
+ url: '/projects/{projectId}/multievents',
20
20
  path: {
21
21
  'projectId': projectId,
22
22
  },
@@ -34,13 +34,13 @@ export class EntriesService {
34
34
  /**
35
35
  * @param projectId
36
36
  * @param requestBody
37
- * @returns Entry OK
37
+ * @returns MultiEvent OK
38
38
  * @throws ApiError
39
39
  */
40
- static postProjectsEntries(projectId, requestBody) {
40
+ static postProjectsMultievents(projectId, requestBody) {
41
41
  return __request(OpenAPI, {
42
42
  method: 'POST',
43
- url: '/projects/{projectId}/entries',
43
+ url: '/projects/{projectId}/multievents',
44
44
  path: {
45
45
  'projectId': projectId,
46
46
  },
@@ -50,18 +50,18 @@ export class EntriesService {
50
50
  }
51
51
  /**
52
52
  * @param projectId
53
- * @param entryId
53
+ * @param multiEventId
54
54
  * @param includeBalance
55
- * @returns Entry OK
55
+ * @returns MultiEvent OK
56
56
  * @throws ApiError
57
57
  */
58
- static getProjectsEntries1(projectId, entryId, includeBalance = false) {
58
+ static getProjectsMultievents1(projectId, multiEventId, includeBalance = false) {
59
59
  return __request(OpenAPI, {
60
60
  method: 'GET',
61
- url: '/projects/{projectId}/entries/{entryId}',
61
+ url: '/projects/{projectId}/multievents/{multiEventId}',
62
62
  path: {
63
63
  'projectId': projectId,
64
- 'entryId': entryId,
64
+ 'multiEventId': multiEventId,
65
65
  },
66
66
  query: {
67
67
  'includeBalance': includeBalance,
@@ -70,18 +70,18 @@ export class EntriesService {
70
70
  }
71
71
  /**
72
72
  * @param projectId
73
- * @param entryId
73
+ * @param multiEventId
74
74
  * @param requestBody
75
- * @returns Entry OK
75
+ * @returns MultiEvent OK
76
76
  * @throws ApiError
77
77
  */
78
- static patchProjectsEntries(projectId, entryId, requestBody) {
78
+ static patchProjectsMultievents(projectId, multiEventId, requestBody) {
79
79
  return __request(OpenAPI, {
80
80
  method: 'PATCH',
81
- url: '/projects/{projectId}/entries/{entryId}',
81
+ url: '/projects/{projectId}/multievents/{multiEventId}',
82
82
  path: {
83
83
  'projectId': projectId,
84
- 'entryId': entryId,
84
+ 'multiEventId': multiEventId,
85
85
  },
86
86
  body: requestBody,
87
87
  mediaType: 'application/json;odata.metadata=minimal;odata.streaming=true',
@@ -89,17 +89,17 @@ export class EntriesService {
89
89
  }
90
90
  /**
91
91
  * @param projectId
92
- * @param entryId
92
+ * @param multiEventId
93
93
  * @returns any OK
94
94
  * @throws ApiError
95
95
  */
96
- static deleteProjectsEntries(projectId, entryId) {
96
+ static deleteProjectsMultievents(projectId, multiEventId) {
97
97
  return __request(OpenAPI, {
98
98
  method: 'DELETE',
99
- url: '/projects/{projectId}/entries/{entryId}',
99
+ url: '/projects/{projectId}/multievents/{multiEventId}',
100
100
  path: {
101
101
  'projectId': projectId,
102
- 'entryId': entryId,
102
+ 'multiEventId': multiEventId,
103
103
  },
104
104
  });
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incomy/platform-sdk",
3
- "version": "0.4.0-143",
3
+ "version": "0.4.0-146",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -1,10 +0,0 @@
1
- import type { EntryAccruals } from './EntryAccruals';
2
- import type { EntryOperations } from './EntryOperations';
3
- import type { TemplateInfo } from './TemplateInfo';
4
- export type EntryEdit = {
5
- name?: string | null;
6
- occurredAt?: string | null;
7
- operations?: EntryOperations;
8
- accruals?: EntryAccruals;
9
- template?: TemplateInfo;
10
- };
@@ -1,13 +0,0 @@
1
- import type { EntryAccruals } from './EntryAccruals';
2
- import type { EntryOperations } from './EntryOperations';
3
- import type { TemplateInfo } from './TemplateInfo';
4
- export type EntryInsert = {
5
- name?: string | null;
6
- /**
7
- * Server time will be used if left empty
8
- */
9
- occurredAt?: string | null;
10
- operations?: EntryOperations;
11
- accruals?: EntryAccruals;
12
- template?: TemplateInfo;
13
- };
@@ -1,50 +0,0 @@
1
- import type { Entry } from '../models/Entry';
2
- import type { EntryEdit } from '../models/EntryEdit';
3
- import type { EntryInsert } from '../models/EntryInsert';
4
- import type { EntryPaginatedList } from '../models/EntryPaginatedList';
5
- import type { CancelablePromise } from '../core/CancelablePromise';
6
- export declare class EntriesService {
7
- /**
8
- * @param projectId
9
- * @param templateId
10
- * @param query
11
- * @param includeBalance
12
- * @param orderByName
13
- * @param orderByTime
14
- * @param limit
15
- * @param next
16
- * @returns EntryPaginatedList OK
17
- * @throws ApiError
18
- */
19
- static getProjectsEntries(projectId: string, templateId?: string, query?: string, includeBalance?: boolean, orderByName?: 'Desc' | 'Asc', orderByTime?: 'Desc' | 'Asc', limit?: number, next?: string): CancelablePromise<EntryPaginatedList>;
20
- /**
21
- * @param projectId
22
- * @param requestBody
23
- * @returns Entry OK
24
- * @throws ApiError
25
- */
26
- static postProjectsEntries(projectId: string, requestBody?: EntryInsert): CancelablePromise<Entry>;
27
- /**
28
- * @param projectId
29
- * @param entryId
30
- * @param includeBalance
31
- * @returns Entry OK
32
- * @throws ApiError
33
- */
34
- static getProjectsEntries1(projectId: string, entryId: string, includeBalance?: boolean): CancelablePromise<Entry>;
35
- /**
36
- * @param projectId
37
- * @param entryId
38
- * @param requestBody
39
- * @returns Entry OK
40
- * @throws ApiError
41
- */
42
- static patchProjectsEntries(projectId: string, entryId: string, requestBody?: EntryEdit): CancelablePromise<Entry>;
43
- /**
44
- * @param projectId
45
- * @param entryId
46
- * @returns any OK
47
- * @throws ApiError
48
- */
49
- static deleteProjectsEntries(projectId: string, entryId: string): CancelablePromise<any>;
50
- }