@incomy/platform-sdk 0.6.1-beta.2532 → 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.
- package/dist/services/hub/index.d.ts +1 -2
- package/dist/services/hub/models/Accrual.d.ts +0 -2
- package/dist/services/hub/models/AccrualEdit.d.ts +2 -2
- package/dist/services/hub/models/AccrualInsert.d.ts +0 -2
- package/dist/services/hub/models/EventDocumentsEdit.d.ts +30 -0
- package/dist/services/hub/models/InputFieldDefinition.d.ts +1 -1
- package/dist/services/hub/models/LogAccrual.d.ts +0 -2
- package/dist/services/hub/models/LogOperation.d.ts +0 -2
- package/dist/services/hub/models/MultiEvent.d.ts +0 -3
- package/dist/services/hub/models/MultiEventEdit.d.ts +0 -3
- package/dist/services/hub/models/MultiEventInsert.d.ts +1 -7
- package/dist/services/hub/models/Operation.d.ts +0 -2
- package/dist/services/hub/models/OperationEdit.d.ts +2 -2
- package/dist/services/hub/models/OperationInsert.d.ts +0 -2
- package/dist/services/hub/models/TemplateAccrualDefinition.d.ts +13 -0
- package/dist/services/hub/models/TemplateMultiEventDefinition.d.ts +0 -1
- package/dist/services/hub/models/TemplateOperationDefinition.d.ts +13 -0
- package/dist/services/hub/services/MultiEventsService.d.ts +1 -2
- package/dist/services/hub/services/MultiEventsService.js +1 -2
- package/dist/services/hub/services/ProjectDocumentsService.d.ts +5 -3
- package/dist/services/hub/services/ProjectDocumentsService.js +5 -3
- package/meta.json +5 -5
- package/package.json +1 -1
- package/dist/services/hub/models/TemplateData.d.ts +0 -4
- package/dist/services/hub/models/TemplateInfo.d.ts +0 -5
- package/dist/services/hub/models/TemplateInfo.js +0 -1
- /package/dist/services/hub/models/{TemplateData.js → EventDocumentsEdit.js} +0 -0
|
@@ -30,6 +30,7 @@ export type { DocumentLinkTarget } from './models/DocumentLinkTarget';
|
|
|
30
30
|
export type { DocumentPaginatedList } from './models/DocumentPaginatedList';
|
|
31
31
|
export type { DocumentUploadRequest } from './models/DocumentUploadRequest';
|
|
32
32
|
export type { DocumentUploadTicket } from './models/DocumentUploadTicket';
|
|
33
|
+
export type { EventDocumentsEdit } from './models/EventDocumentsEdit';
|
|
33
34
|
export type { Icon } from './models/Icon';
|
|
34
35
|
export type { InputFieldDefinition } from './models/InputFieldDefinition';
|
|
35
36
|
export type { Label } from './models/Label';
|
|
@@ -74,10 +75,8 @@ export type { StringStringValueTuple } from './models/StringStringValueTuple';
|
|
|
74
75
|
export type { Template } from './models/Template';
|
|
75
76
|
export type { TemplateAccrualDefinition } from './models/TemplateAccrualDefinition';
|
|
76
77
|
export type { TemplateBucketBreakdownDefinition } from './models/TemplateBucketBreakdownDefinition';
|
|
77
|
-
export type { TemplateData } from './models/TemplateData';
|
|
78
78
|
export type { TemplateDefinition } from './models/TemplateDefinition';
|
|
79
79
|
export type { TemplateEdit } from './models/TemplateEdit';
|
|
80
|
-
export type { TemplateInfo } from './models/TemplateInfo';
|
|
81
80
|
export type { TemplateInput } from './models/TemplateInput';
|
|
82
81
|
export type { TemplateInputDefinition } from './models/TemplateInputDefinition';
|
|
83
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,6 +1,6 @@
|
|
|
1
1
|
import type { BucketBreakdown } from './BucketBreakdown';
|
|
2
|
+
import type { EventDocumentsEdit } from './EventDocumentsEdit';
|
|
2
3
|
import type { Money } from './Money';
|
|
3
|
-
import type { TemplateInfo } from './TemplateInfo';
|
|
4
4
|
export type AccrualEdit = {
|
|
5
5
|
bucketBreakdown?: Array<BucketBreakdown> | null;
|
|
6
6
|
/**
|
|
@@ -16,6 +16,7 @@ export type AccrualEdit = {
|
|
|
16
16
|
* If provided, sets whether this accrual is expected to have an attached document (advisory). Null leaves it unchanged.
|
|
17
17
|
*/
|
|
18
18
|
documentRequired?: boolean | null;
|
|
19
|
+
documents?: EventDocumentsEdit;
|
|
19
20
|
/**
|
|
20
21
|
* If null, the source is the Project itself.
|
|
21
22
|
*/
|
|
@@ -25,7 +26,6 @@ export type AccrualEdit = {
|
|
|
25
26
|
multiEventId?: string | null;
|
|
26
27
|
name?: string | null;
|
|
27
28
|
occurredAt?: string | null;
|
|
28
|
-
template?: TemplateInfo;
|
|
29
29
|
/**
|
|
30
30
|
* If null, the target is the Project itself.
|
|
31
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
|
*/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DocumentEdit } from './DocumentEdit';
|
|
2
|
+
/**
|
|
3
|
+
* Apply-on-save document changes carried inside an event edit (operation or accrual). Every member is optional and
|
|
4
|
+
* a null member leaves that aspect untouched, so an edit that omits the whole envelope changes nothing about the
|
|
5
|
+
* event's documents (backward compatible). Mirrors how a multievent carries its children in one payload: the entire
|
|
6
|
+
* set of document changes rides the single event PATCH and is applied server-side in that one request (link/unlink
|
|
7
|
+
* reconcile + rename + soft-delete), so the client never makes separate per-document calls.
|
|
8
|
+
*/
|
|
9
|
+
export type EventDocumentsEdit = {
|
|
10
|
+
/**
|
|
11
|
+
* Documents to soft-delete into the Trash in this save — removing them from the library everywhere, not just
|
|
12
|
+
* this event (distinct from unlink, which keeps the document). Restorable from the Trash. Null or empty deletes
|
|
13
|
+
* nothing.
|
|
14
|
+
*/
|
|
15
|
+
deleted?: Array<string> | null;
|
|
16
|
+
/**
|
|
17
|
+
* The desired final set of documents linked to this event. When non-null it is authoritative: an id in the set
|
|
18
|
+
* but not yet linked is linked; a document currently linked but absent from the set is unlinked (it stays in the
|
|
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.
|
|
21
|
+
*/
|
|
22
|
+
ids?: Array<string> | null;
|
|
23
|
+
/**
|
|
24
|
+
* Metadata edits to apply in this save: document id -> the edited metadata (currently a rename via
|
|
25
|
+
* DocumentEdit.FileName). Applied to the project-library document, so the change is visible from every event it
|
|
26
|
+
* is linked to. Modelled as a DocumentEdit (not a bare string) so future editable document properties extend the
|
|
27
|
+
* payload without a breaking wire change. Null or empty edits nothing.
|
|
28
|
+
*/
|
|
29
|
+
updates?: Record<string, DocumentEdit> | null;
|
|
30
|
+
};
|
|
@@ -2,5 +2,5 @@ export type InputFieldDefinition = {
|
|
|
2
2
|
defaultValue?: string | null;
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
|
-
type: 'string' | 'number' | 'boolean' | 'member' | 'bucket' | 'wallet' | 'currency';
|
|
5
|
+
type: 'string' | 'number' | 'boolean' | 'member' | 'bucket' | 'wallet' | 'currency' | 'documents';
|
|
6
6
|
};
|
|
@@ -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
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import type { BucketBreakdown } from './BucketBreakdown';
|
|
2
|
+
import type { EventDocumentsEdit } from './EventDocumentsEdit';
|
|
2
3
|
import type { Money } from './Money';
|
|
3
|
-
import type { TemplateInfo } from './TemplateInfo';
|
|
4
4
|
export type OperationEdit = {
|
|
5
5
|
bucketBreakdown?: Array<BucketBreakdown> | null;
|
|
6
6
|
/**
|
|
@@ -11,6 +11,7 @@ export type OperationEdit = {
|
|
|
11
11
|
* If provided, sets whether this operation is expected to have an attached document (advisory). Null leaves it unchanged.
|
|
12
12
|
*/
|
|
13
13
|
documentRequired?: boolean | null;
|
|
14
|
+
documents?: EventDocumentsEdit;
|
|
14
15
|
labelIds?: Array<string> | null;
|
|
15
16
|
money?: Money;
|
|
16
17
|
/**
|
|
@@ -34,7 +35,6 @@ export type OperationEdit = {
|
|
|
34
35
|
* Set to "" in order to clear.
|
|
35
36
|
*/
|
|
36
37
|
targetWalletId?: string | null;
|
|
37
|
-
template?: TemplateInfo;
|
|
38
38
|
time?: string | null;
|
|
39
39
|
type?: 'in' | 'out' | 'transfer' | null;
|
|
40
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
|
*/
|
|
@@ -2,6 +2,19 @@ import type { MoneyExpression } from './MoneyExpression';
|
|
|
2
2
|
import type { TemplateBucketBreakdownDefinition } from './TemplateBucketBreakdownDefinition';
|
|
3
3
|
export type TemplateAccrualDefinition = {
|
|
4
4
|
bucketBreakdownDefinitions?: Array<TemplateBucketBreakdownDefinition> | null;
|
|
5
|
+
/**
|
|
6
|
+
* Optional expression evaluated to a bool at apply time; sets the created accrual's advisory
|
|
7
|
+
* Incomy.Platform.Hub.Models.Accrual.DocumentRequired flag. Empty/null ⇒ false. May bind a boolean input,
|
|
8
|
+
* e.g. "inputs.needsReceipt".
|
|
9
|
+
*/
|
|
10
|
+
documentRequiredExpression?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Optional expression evaluated to a list of project-document ids to attach to the created accrual at
|
|
13
|
+
* apply time, typically a bound Incomy.Platform.Hub.Models.FieldType.Documents input (e.g. "inputs.receipt"). Empty/null
|
|
14
|
+
* ⇒ none. Same upload-first-then-link flow as Incomy.Platform.Hub.Models.AccrualInsert.DocumentIds; the per-event
|
|
15
|
+
* document cap applies.
|
|
16
|
+
*/
|
|
17
|
+
documentsExpression?: string | null;
|
|
5
18
|
fromMemberIdExpression?: string | null;
|
|
6
19
|
money: MoneyExpression;
|
|
7
20
|
nameExpression: string;
|
|
@@ -2,6 +2,19 @@ import type { MoneyExpression } from './MoneyExpression';
|
|
|
2
2
|
import type { TemplateBucketBreakdownDefinition } from './TemplateBucketBreakdownDefinition';
|
|
3
3
|
export type TemplateOperationDefinition = {
|
|
4
4
|
bucketBreakdownDefinitions?: Array<TemplateBucketBreakdownDefinition> | null;
|
|
5
|
+
/**
|
|
6
|
+
* Optional expression evaluated to a bool at apply time; sets the created operation's advisory
|
|
7
|
+
* Incomy.Platform.Hub.Models.Operation.DocumentRequired flag. Empty/null ⇒ false. May bind a boolean input,
|
|
8
|
+
* e.g. "inputs.needsReceipt".
|
|
9
|
+
*/
|
|
10
|
+
documentRequiredExpression?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Optional expression evaluated to a list of project-document ids to attach to the created operation at
|
|
13
|
+
* apply time, typically a bound Incomy.Platform.Hub.Models.FieldType.Documents input (e.g. "inputs.receipt"). Empty/null
|
|
14
|
+
* ⇒ none. Same upload-first-then-link flow as Incomy.Platform.Hub.Models.OperationInsert.DocumentIds; the per-event
|
|
15
|
+
* document cap applies.
|
|
16
|
+
*/
|
|
17
|
+
documentsExpression?: string | null;
|
|
5
18
|
money: MoneyExpression;
|
|
6
19
|
nameExpression: string;
|
|
7
20
|
originWalletIdExpression?: string | null;
|
|
@@ -8,9 +8,8 @@ export declare class MultiEventsService {
|
|
|
8
8
|
* @returns MultiEventPaginatedList OK
|
|
9
9
|
* @throws ApiError
|
|
10
10
|
*/
|
|
11
|
-
static getProjectsMultievents({ projectId,
|
|
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,
|
|
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,
|
|
@@ -10,16 +10,18 @@ export declare class ProjectDocumentsService {
|
|
|
10
10
|
/**
|
|
11
11
|
* List documents. With `operationId` OR `accrualId`: the documents attached to that event (returned as a
|
|
12
12
|
* single page). With neither: the whole project documents library, paginated and optionally filtered by a filename
|
|
13
|
-
* `query` (each item carries its `linkedEventCount`).
|
|
13
|
+
* `query` (each item carries its `linkedEventCount`). Sorted by file name (`orderByName`) when set;
|
|
14
|
+
* otherwise by date added (`orderByDateAdded`, newest first by default). Supplying both event ids is a 400.
|
|
14
15
|
* @returns DocumentPaginatedList OK
|
|
15
16
|
* @throws ApiError
|
|
16
17
|
*/
|
|
17
|
-
static getProjectsDocuments({ projectId, operationId, accrualId, query, orderByName, limit, next, }: {
|
|
18
|
+
static getProjectsDocuments({ projectId, operationId, accrualId, query, orderByName, orderByDateAdded, limit, next, }: {
|
|
18
19
|
projectId: string;
|
|
19
20
|
operationId?: string;
|
|
20
21
|
accrualId?: string;
|
|
21
22
|
query?: string;
|
|
22
23
|
orderByName?: 'Desc' | 'Asc';
|
|
24
|
+
orderByDateAdded?: 'Desc' | 'Asc';
|
|
23
25
|
limit?: number;
|
|
24
26
|
next?: string;
|
|
25
27
|
}): CancelablePromise<DocumentPaginatedList>;
|
|
@@ -49,7 +51,7 @@ export declare class ProjectDocumentsService {
|
|
|
49
51
|
documentId: string;
|
|
50
52
|
}): CancelablePromise<Document>;
|
|
51
53
|
/**
|
|
52
|
-
*
|
|
54
|
+
* Edit a document's metadata (currently just its display file name).
|
|
53
55
|
* @returns Document OK
|
|
54
56
|
* @throws ApiError
|
|
55
57
|
*/
|
|
@@ -4,11 +4,12 @@ export class ProjectDocumentsService {
|
|
|
4
4
|
/**
|
|
5
5
|
* List documents. With `operationId` OR `accrualId`: the documents attached to that event (returned as a
|
|
6
6
|
* single page). With neither: the whole project documents library, paginated and optionally filtered by a filename
|
|
7
|
-
* `query` (each item carries its `linkedEventCount`).
|
|
7
|
+
* `query` (each item carries its `linkedEventCount`). Sorted by file name (`orderByName`) when set;
|
|
8
|
+
* otherwise by date added (`orderByDateAdded`, newest first by default). Supplying both event ids is a 400.
|
|
8
9
|
* @returns DocumentPaginatedList OK
|
|
9
10
|
* @throws ApiError
|
|
10
11
|
*/
|
|
11
|
-
static getProjectsDocuments({ projectId, operationId, accrualId, query, orderByName, limit = 50, next, }) {
|
|
12
|
+
static getProjectsDocuments({ projectId, operationId, accrualId, query, orderByName, orderByDateAdded, limit = 50, next, }) {
|
|
12
13
|
return __request(OpenAPI, {
|
|
13
14
|
method: 'GET',
|
|
14
15
|
url: '/projects/{projectId}/documents',
|
|
@@ -20,6 +21,7 @@ export class ProjectDocumentsService {
|
|
|
20
21
|
'accrualId': accrualId,
|
|
21
22
|
'query': query,
|
|
22
23
|
'orderByName': orderByName,
|
|
24
|
+
'orderByDateAdded': orderByDateAdded,
|
|
23
25
|
'limit': limit,
|
|
24
26
|
'next': next,
|
|
25
27
|
},
|
|
@@ -70,7 +72,7 @@ export class ProjectDocumentsService {
|
|
|
70
72
|
});
|
|
71
73
|
}
|
|
72
74
|
/**
|
|
73
|
-
*
|
|
75
|
+
* Edit a document's metadata (currently just its display file name).
|
|
74
76
|
* @returns Document OK
|
|
75
77
|
* @throws ApiError
|
|
76
78
|
*/
|
package/meta.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sdkVersion": "0.6.1-beta.
|
|
3
|
-
"generatedAt": "2026-07-
|
|
4
|
-
"apiCommit": "
|
|
5
|
-
"pipelineUrl": "https://gitlab.com/incomy/platform/-/pipelines/
|
|
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": "
|
|
8
|
+
"sha256": "49bd5aff1338f6d6bed7615af99a87ce2f1fec07d35d9c5ddf5e143c1acdf6ad"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|