@incomy/platform-sdk 0.6.1-beta.2566 → 0.6.1-beta.2578

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.
@@ -75,10 +75,8 @@ export type { StringStringValueTuple } from './models/StringStringValueTuple';
75
75
  export type { Template } from './models/Template';
76
76
  export type { TemplateAccrualDefinition } from './models/TemplateAccrualDefinition';
77
77
  export type { TemplateBucketBreakdownDefinition } from './models/TemplateBucketBreakdownDefinition';
78
- export type { TemplateData } from './models/TemplateData';
79
78
  export type { TemplateDefinition } from './models/TemplateDefinition';
80
79
  export type { TemplateEdit } from './models/TemplateEdit';
81
- export type { TemplateInfo } from './models/TemplateInfo';
82
80
  export type { TemplateInput } from './models/TemplateInput';
83
81
  export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
84
82
  export type { TemplateInsert } from './models/TemplateInsert';
@@ -1,6 +1,5 @@
1
1
  import type { BucketBreakdown } from './BucketBreakdown';
2
2
  import type { Money } from './Money';
3
- import type { TemplateInfo } from './TemplateInfo';
4
3
  export type Accrual = {
5
4
  bucketBreakdown?: Array<BucketBreakdown> | null;
6
5
  companyId?: string | null;
@@ -38,7 +37,6 @@ export type Accrual = {
38
37
  multiEventId?: string | null;
39
38
  name: string;
40
39
  occurredAt: string;
41
- template?: TemplateInfo;
42
40
  /**
43
41
  * If null, the target is the project itself.
44
42
  */
@@ -1,7 +1,6 @@
1
1
  import type { BucketBreakdown } from './BucketBreakdown';
2
2
  import type { EventDocumentsEdit } from './EventDocumentsEdit';
3
3
  import type { Money } from './Money';
4
- import type { TemplateInfo } from './TemplateInfo';
5
4
  export type AccrualEdit = {
6
5
  bucketBreakdown?: Array<BucketBreakdown> | null;
7
6
  /**
@@ -27,7 +26,6 @@ export type AccrualEdit = {
27
26
  multiEventId?: string | null;
28
27
  name?: string | null;
29
28
  occurredAt?: string | null;
30
- template?: TemplateInfo;
31
29
  /**
32
30
  * If null, the target is the Project itself.
33
31
  */
@@ -1,6 +1,5 @@
1
1
  import type { BucketBreakdown } from './BucketBreakdown';
2
2
  import type { Money } from './Money';
3
- import type { TemplateInfo } from './TemplateInfo';
4
3
  export type AccrualInsert = {
5
4
  bucketBreakdown?: Array<BucketBreakdown> | null;
6
5
  companyId?: string | null;
@@ -31,7 +30,6 @@ export type AccrualInsert = {
31
30
  * When left empty: if is linked to a multievent its time will be used, otherwise server time at creation
32
31
  */
33
32
  occurredAt?: string | null;
34
- template?: TemplateInfo;
35
33
  /**
36
34
  * If null, the target is the project itself.
37
35
  */
@@ -17,8 +17,7 @@ export type EventDocumentsEdit = {
17
17
  * The desired final set of documents linked to this event. When non-null it is authoritative: an id in the set
18
18
  * but not yet linked is linked; a document currently linked but absent from the set is unlinked (it stays in the
19
19
  * project library). An empty list unlinks all. Null leaves the links unchanged. Each id must belong to the
20
- * project; the per-event document limit applies. Ignored for a template-backed event (its documents come from
21
- * the template's documents input).
20
+ * project; the per-event document limit applies.
22
21
  */
23
22
  ids?: Array<string> | null;
24
23
  /**
@@ -1,7 +1,6 @@
1
1
  import type { BalanceReport } from './BalanceReport';
2
2
  import type { BucketBreakdown } from './BucketBreakdown';
3
3
  import type { Money } from './Money';
4
- import type { TemplateInfo } from './TemplateInfo';
5
4
  export type LogAccrual = {
6
5
  balance?: BalanceReport;
7
6
  bucketBreakdown?: Array<BucketBreakdown> | null;
@@ -40,7 +39,6 @@ export type LogAccrual = {
40
39
  multiEventId?: string | null;
41
40
  name: string;
42
41
  occurredAt: string;
43
- template?: TemplateInfo;
44
42
  /**
45
43
  * If null, the target is the project itself.
46
44
  */
@@ -1,7 +1,6 @@
1
1
  import type { BalanceReport } from './BalanceReport';
2
2
  import type { BucketBreakdown } from './BucketBreakdown';
3
3
  import type { Money } from './Money';
4
- import type { TemplateInfo } from './TemplateInfo';
5
4
  export type LogOperation = {
6
5
  balance?: BalanceReport;
7
6
  bucketBreakdown?: Array<BucketBreakdown> | null;
@@ -37,7 +36,6 @@ export type LogOperation = {
37
36
  originWalletId?: string | null;
38
37
  targetCompanyId?: string | null;
39
38
  targetWalletId?: string | null;
40
- template?: TemplateInfo;
41
39
  time: string;
42
40
  type: 'in' | 'out' | 'transfer';
43
41
  };
@@ -1,13 +1,10 @@
1
1
  import type { Accrual } from './Accrual';
2
2
  import type { BalanceReport } from './BalanceReport';
3
3
  import type { Operation } from './Operation';
4
- import type { TemplateInfo } from './TemplateInfo';
5
4
  export type MultiEvent = {
6
5
  accruals: Array<Accrual>;
7
6
  balance?: BalanceReport;
8
7
  id: string;
9
8
  name: string;
10
- occurredAt: string;
11
9
  operations: Array<Operation>;
12
- template?: TemplateInfo;
13
10
  };
@@ -1,10 +1,7 @@
1
1
  import type { MultiEventAccruals } from './MultiEventAccruals';
2
2
  import type { MultiEventOperations } from './MultiEventOperations';
3
- import type { TemplateInfo } from './TemplateInfo';
4
3
  export type MultiEventEdit = {
5
4
  accruals?: MultiEventAccruals;
6
5
  name?: string | null;
7
- occurredAt?: string | null;
8
6
  operations?: MultiEventOperations;
9
- template?: TemplateInfo;
10
7
  };
@@ -1,13 +1,7 @@
1
1
  import type { MultiEventAccruals } from './MultiEventAccruals';
2
2
  import type { MultiEventOperations } from './MultiEventOperations';
3
- import type { TemplateInfo } from './TemplateInfo';
4
3
  export type MultiEventInsert = {
5
4
  accruals?: MultiEventAccruals;
6
- name?: string | null;
7
- /**
8
- * Server time will be used if left empty
9
- */
10
- occurredAt?: string | null;
5
+ name: string;
11
6
  operations?: MultiEventOperations;
12
- template?: TemplateInfo;
13
7
  };
@@ -1,6 +1,5 @@
1
1
  import type { BucketBreakdown } from './BucketBreakdown';
2
2
  import type { Money } from './Money';
3
- import type { TemplateInfo } from './TemplateInfo';
4
3
  export type Operation = {
5
4
  bucketBreakdown?: Array<BucketBreakdown> | null;
6
5
  /**
@@ -35,7 +34,6 @@ export type Operation = {
35
34
  originWalletId?: string | null;
36
35
  targetCompanyId?: string | null;
37
36
  targetWalletId?: string | null;
38
- template?: TemplateInfo;
39
37
  time: string;
40
38
  type: 'in' | 'out' | 'transfer';
41
39
  };
@@ -1,7 +1,6 @@
1
1
  import type { BucketBreakdown } from './BucketBreakdown';
2
2
  import type { EventDocumentsEdit } from './EventDocumentsEdit';
3
3
  import type { Money } from './Money';
4
- import type { TemplateInfo } from './TemplateInfo';
5
4
  export type OperationEdit = {
6
5
  bucketBreakdown?: Array<BucketBreakdown> | null;
7
6
  /**
@@ -36,7 +35,6 @@ export type OperationEdit = {
36
35
  * Set to "" in order to clear.
37
36
  */
38
37
  targetWalletId?: string | null;
39
- template?: TemplateInfo;
40
38
  time?: string | null;
41
39
  type?: 'in' | 'out' | 'transfer' | null;
42
40
  };
@@ -1,6 +1,5 @@
1
1
  import type { BucketBreakdown } from './BucketBreakdown';
2
2
  import type { Money } from './Money';
3
- import type { TemplateInfo } from './TemplateInfo';
4
3
  export type OperationInsert = {
5
4
  bucketBreakdown?: Array<BucketBreakdown> | null;
6
5
  /**
@@ -25,7 +24,6 @@ export type OperationInsert = {
25
24
  originWalletId?: string | null;
26
25
  targetCompanyId?: string | null;
27
26
  targetWalletId?: string | null;
28
- template?: TemplateInfo;
29
27
  /**
30
28
  * MultiEvent time will be used if left empty
31
29
  */
@@ -1,4 +1,3 @@
1
1
  export type TemplateMultiEventDefinition = {
2
2
  nameExpression: string;
3
- occurredAtExpression?: string | null;
4
3
  };
@@ -8,9 +8,8 @@ export declare class MultiEventsService {
8
8
  * @returns MultiEventPaginatedList OK
9
9
  * @throws ApiError
10
10
  */
11
- static getProjectsMultievents({ projectId, templateId, query, includeBalance, orderByName, orderByTime, limit, next, }: {
11
+ static getProjectsMultievents({ projectId, query, includeBalance, orderByName, orderByTime, limit, next, }: {
12
12
  projectId: string;
13
- templateId?: string;
14
13
  query?: string;
15
14
  includeBalance?: boolean;
16
15
  orderByName?: 'Desc' | 'Asc';
@@ -5,7 +5,7 @@ export class MultiEventsService {
5
5
  * @returns MultiEventPaginatedList OK
6
6
  * @throws ApiError
7
7
  */
8
- static getProjectsMultievents({ projectId, templateId, query, includeBalance = false, orderByName, orderByTime, limit = 100, next, }) {
8
+ static getProjectsMultievents({ projectId, query, includeBalance = false, orderByName, orderByTime, limit = 100, next, }) {
9
9
  return __request(OpenAPI, {
10
10
  method: 'GET',
11
11
  url: '/projects/{projectId}/multievents',
@@ -13,7 +13,6 @@ export class MultiEventsService {
13
13
  'projectId': projectId,
14
14
  },
15
15
  query: {
16
- 'templateId': templateId,
17
16
  'query': query,
18
17
  'includeBalance': includeBalance,
19
18
  'orderByName': orderByName,
@@ -92,7 +92,6 @@ export declare class ProjectDocumentsService {
92
92
  }): CancelablePromise<Array<DocumentLinkTarget>>;
93
93
  /**
94
94
  * Attach a document to an event (many-to-many) — the body sets exactly one of the two event ids.
95
- * Rejected (409) on a template-created event: its documents are managed through the template's documents input.
96
95
  * @returns any OK
97
96
  * @throws ApiError
98
97
  */
@@ -142,7 +142,6 @@ export class ProjectDocumentsService {
142
142
  }
143
143
  /**
144
144
  * Attach a document to an event (many-to-many) — the body sets exactly one of the two event ids.
145
- * Rejected (409) on a template-created event: its documents are managed through the template's documents input.
146
145
  * @returns any OK
147
146
  * @throws ApiError
148
147
  */
package/meta.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
- "sdkVersion": "0.6.1-beta.2566",
3
- "generatedAt": "2026-07-23T22:33:03.369Z",
4
- "apiCommit": "75e19710",
5
- "pipelineUrl": "https://gitlab.com/incomy/platform/-/pipelines/2701666425",
2
+ "sdkVersion": "0.6.1-beta.2578",
3
+ "generatedAt": "2026-07-25T09:32:32.079Z",
4
+ "apiCommit": "77b6bf9a",
5
+ "pipelineUrl": "https://gitlab.com/incomy/platform/-/pipelines/2705115795",
6
6
  "sources": {
7
7
  "hub": {
8
- "sha256": "cb2bd93078ce929375c991f45fd9fc8b24d88e3515aaa88dc2447c78262f7893"
8
+ "sha256": "49bd5aff1338f6d6bed7615af99a87ce2f1fec07d35d9c5ddf5e143c1acdf6ad"
9
9
  }
10
10
  }
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incomy/platform-sdk",
3
- "version": "0.6.1-beta.2566",
3
+ "version": "0.6.1-beta.2578",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -1,4 +0,0 @@
1
- import type { TemplateInput } from './TemplateInput';
2
- export type TemplateData = {
3
- inputData: TemplateInput;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import type { TemplateData } from './TemplateData';
2
- export type TemplateInfo = {
3
- data: TemplateData;
4
- templateId: string;
5
- };
@@ -1 +0,0 @@
1
- export {};