@tstdl/base 0.92.85 → 0.92.87
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/ai/ai.service.d.ts +4 -4
- package/ai/ai.service.js +27 -14
- package/ai/types.d.ts +5 -4
- package/api/server/gateway.js +1 -1
- package/authentication/authentication.api.d.ts +9 -9
- package/authentication/models/schemas.d.ts +2 -2
- package/authentication/server/authentication-ancillary.service.d.ts +6 -4
- package/authentication/server/authentication-ancillary.service.js +5 -5
- package/cancellation/token.d.ts +1 -1
- package/context/context.d.ts +1 -9
- package/context/context.js +8 -5
- package/document-management/api/document-management.api.d.ts +142 -110
- package/document-management/models/document-category.model.d.ts +1 -0
- package/document-management/models/document-category.model.js +2 -0
- package/document-management/models/document-collection-document.model.js +7 -3
- package/document-management/models/document-property-value.model.d.ts +13 -14
- package/document-management/models/document-property-value.model.js +60 -27
- package/document-management/models/document-property.model.d.ts +2 -0
- package/document-management/models/document-property.model.js +4 -1
- package/document-management/models/document-request-assignment-task-collection.model.d.ts +7 -0
- package/document-management/models/document-request-assignment-task-collection.model.js +32 -0
- package/document-management/models/document-request-assignment-task.model.d.ts +14 -0
- package/document-management/models/document-request-assignment-task.model.js +72 -0
- package/document-management/models/document-request-collection.model.d.ts +1 -0
- package/document-management/models/document-request-collection.model.js +7 -3
- package/document-management/models/document-request-file.model.d.ts +7 -2
- package/document-management/models/document-request-file.model.js +29 -4
- package/document-management/models/document-request.model.d.ts +1 -0
- package/document-management/models/document-requests-template.js +2 -0
- package/document-management/models/document-type-property.model.js +7 -3
- package/document-management/models/document-type.model.d.ts +1 -0
- package/document-management/models/document-type.model.js +7 -3
- package/document-management/models/document.model.d.ts +5 -2
- package/document-management/models/document.model.js +21 -6
- package/document-management/models/index.d.ts +2 -0
- package/document-management/models/index.js +2 -0
- package/document-management/models/service-models/document.service-model.d.ts +84 -65
- package/document-management/models/service-models/document.service-model.js +11 -6
- package/document-management/models/service-models/document.view-model.d.ts +1 -1
- package/document-management/models/service-models/document.view-model.js +2 -2
- package/document-management/server/drizzle/{0000_sloppy_fenris.sql → 0000_cool_victor_mancha.sql} +99 -43
- package/document-management/server/drizzle/meta/0000_snapshot.json +518 -130
- package/document-management/server/drizzle/meta/_journal.json +2 -2
- package/document-management/server/drizzle.config.js +1 -1
- package/document-management/server/module.d.ts +3 -2
- package/document-management/server/module.js +4 -2
- package/document-management/server/schemas.d.ts +36 -0
- package/document-management/server/schemas.js +37 -0
- package/document-management/server/services/document-management-ancillary.service.d.ts +4 -0
- package/document-management/server/services/document-management-ancillary.service.js +13 -0
- package/document-management/server/services/document-management.service.d.ts +71 -22
- package/document-management/server/services/document-management.service.js +528 -81
- package/document-management/server/services/index.d.ts +1 -0
- package/document-management/server/services/index.js +1 -0
- package/eslint.config.js +1 -0
- package/examples/document-management/main.d.ts +5 -0
- package/examples/document-management/main.js +20 -2
- package/examples/orm/schemas.d.ts +1 -1
- package/file/index.d.ts +1 -0
- package/file/index.js +1 -0
- package/file/temporary-file.d.ts +17 -0
- package/file/temporary-file.js +49 -0
- package/http/server/http-server-response.d.ts +2 -0
- package/http/server/http-server-response.js +13 -0
- package/injector/index.d.ts +1 -0
- package/injector/index.js +1 -0
- package/injector/injector.js +19 -7
- package/injector/interfaces.d.ts +1 -1
- package/injector/interfaces.js +1 -1
- package/injector/resolution.d.ts +15 -0
- package/injector/resolution.js +6 -0
- package/logger/console/logger.d.ts +1 -1
- package/logger/logger.d.ts +1 -1
- package/mail/drizzle.config.js +1 -1
- package/mail/models/schemas.d.ts +1 -1
- package/object-storage/object-storage.d.ts +5 -7
- package/object-storage/s3/s3.object-storage.d.ts +0 -1
- package/object-storage/s3/s3.object-storage.js +0 -3
- package/orm/{server/data-types → data-types}/numeric-date.js +2 -3
- package/orm/decorators.d.ts +17 -8
- package/orm/decorators.js +13 -7
- package/orm/entity.d.ts +5 -7
- package/orm/entity.js +11 -7
- package/orm/index.d.ts +2 -0
- package/orm/index.js +2 -0
- package/orm/query.d.ts +1 -3
- package/orm/query.js +0 -1
- package/orm/repository.types.d.ts +32 -0
- package/orm/repository.types.js +1 -0
- package/orm/server/database-schema.d.ts +4 -4
- package/orm/server/drizzle/schema-converter.d.ts +1 -1
- package/orm/server/drizzle/schema-converter.js +48 -19
- package/orm/server/index.d.ts +1 -0
- package/orm/server/index.js +1 -0
- package/orm/server/query-converter.d.ts +1 -2
- package/orm/server/query-converter.js +66 -61
- package/orm/server/repository.d.ts +80 -43
- package/orm/server/repository.js +219 -112
- package/orm/server/sqls.d.ts +15 -0
- package/orm/server/sqls.js +19 -0
- package/orm/server/types.d.ts +3 -3
- package/orm/types.d.ts +4 -4
- package/orm/utils.d.ts +3 -0
- package/orm/utils.js +6 -0
- package/package.json +23 -19
- package/pdf/pdf.service.d.ts +0 -1
- package/pdf/pdf.service.js +1 -95
- package/pdf/utils.d.ts +3 -1
- package/pdf/utils.js +129 -4
- package/promise/lazy-promise.d.ts +3 -3
- package/queue/enqueue-batch.d.ts +1 -0
- package/queue/enqueue-batch.js +1 -1
- package/queue/mongo/queue.d.ts +9 -4
- package/queue/mongo/queue.js +5 -6
- package/queue/postgres/drizzle/0000_zippy_moondragon.sql +11 -0
- package/queue/postgres/drizzle/meta/0000_snapshot.json +90 -0
- package/queue/postgres/drizzle/meta/_journal.json +13 -0
- package/queue/postgres/drizzle.config.d.ts +2 -0
- package/queue/postgres/drizzle.config.js +11 -0
- package/queue/postgres/index.d.ts +4 -0
- package/queue/postgres/index.js +4 -0
- package/queue/postgres/job.model.d.ts +13 -0
- package/queue/postgres/job.model.js +55 -0
- package/queue/postgres/module.d.ts +9 -0
- package/queue/postgres/module.js +29 -0
- package/queue/postgres/queue.d.ts +28 -0
- package/queue/postgres/queue.js +147 -0
- package/queue/postgres/queue.provider.d.ts +7 -0
- package/queue/postgres/queue.provider.js +21 -0
- package/queue/postgres/schemas.d.ts +3 -0
- package/queue/postgres/schemas.js +4 -0
- package/queue/provider.d.ts +2 -1
- package/queue/queue.d.ts +32 -6
- package/queue/queue.js +43 -0
- package/schema/schemas/object.d.ts +1 -1
- package/utils/date-time.d.ts +4 -2
- package/utils/date-time.js +10 -3
- package/utils/format-error.js +0 -1
- package/utils/object/lazy-property.js +0 -1
- package/utils/timing.d.ts +4 -3
- package/utils/timing.js +3 -1
- package/utils/try-ignore.d.ts +9 -2
- package/utils/try-ignore.js +30 -6
- package/document-management/models/schemas.d.ts +0 -33
- package/document-management/models/schemas.js +0 -34
- /package/orm/{server/data-types → data-types}/bytea.d.ts +0 -0
- /package/orm/{server/data-types → data-types}/bytea.js +0 -0
- /package/orm/{server/data-types → data-types}/index.d.ts +0 -0
- /package/orm/{server/data-types → data-types}/index.js +0 -0
- /package/orm/{server/data-types → data-types}/numeric-date.d.ts +0 -0
- /package/orm/{server/data-types → data-types}/timestamp.d.ts +0 -0
- /package/orm/{server/data-types → data-types}/timestamp.js +0 -0
|
@@ -7,10 +7,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
7
7
|
resource: string;
|
|
8
8
|
method: "GET";
|
|
9
9
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
collectionIds: string | string[];
|
|
11
|
+
collectionsMetadata: Partial<import("../../schema/index.js").Record<string, {
|
|
12
|
+
name?: string | null | undefined;
|
|
13
|
+
group?: string | null | undefined;
|
|
14
14
|
}>>;
|
|
15
15
|
}>;
|
|
16
16
|
result: typeof DocumentManagementData;
|
|
@@ -32,9 +32,9 @@ export declare const documentManagementApiDefinition: {
|
|
|
32
32
|
resource: string;
|
|
33
33
|
method: "GET";
|
|
34
34
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
title: string | null;
|
|
36
|
+
id: string;
|
|
37
|
+
download?: boolean | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
result: Uint8ArrayConstructor;
|
|
40
40
|
credentials: true;
|
|
@@ -43,9 +43,9 @@ export declare const documentManagementApiDefinition: {
|
|
|
43
43
|
resource: string;
|
|
44
44
|
method: "GET";
|
|
45
45
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
title: string | null;
|
|
47
|
+
id: string;
|
|
48
|
+
download?: boolean | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
result: import("../../schema/index.js").StringSchema;
|
|
51
51
|
credentials: true;
|
|
@@ -55,7 +55,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
55
55
|
method: "POST";
|
|
56
56
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
57
57
|
label: string;
|
|
58
|
-
|
|
58
|
+
metadata?: Partial<{
|
|
59
59
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
60
60
|
}> | undefined;
|
|
61
61
|
}>;
|
|
@@ -69,7 +69,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
69
69
|
group: string | null;
|
|
70
70
|
label: string;
|
|
71
71
|
categoryId: import("../../orm/schemas/uuid.js").Uuid;
|
|
72
|
-
|
|
72
|
+
metadata?: Partial<{
|
|
73
73
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
74
74
|
}> | undefined;
|
|
75
75
|
}>;
|
|
@@ -80,7 +80,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
80
80
|
resource: string;
|
|
81
81
|
method: "POST";
|
|
82
82
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
83
|
-
|
|
83
|
+
metadata?: Partial<{
|
|
84
84
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
85
85
|
}> | undefined;
|
|
86
86
|
}>;
|
|
@@ -92,19 +92,22 @@ export declare const documentManagementApiDefinition: {
|
|
|
92
92
|
method: "POST";
|
|
93
93
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
94
94
|
date: import("../../orm/schemas/numeric-date.js").NumericDate | null;
|
|
95
|
-
|
|
95
|
+
summary: string | null;
|
|
96
|
+
title: string | null;
|
|
97
|
+
tags: string[] | null;
|
|
96
98
|
typeId: import("../../orm/schemas/uuid.js").Uuid | null;
|
|
97
|
-
|
|
99
|
+
subtitle: string | null;
|
|
100
|
+
pages: number | null;
|
|
98
101
|
originalFileName: string | null;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
collectionIds: string | string[];
|
|
103
|
+
properties?: {
|
|
104
|
+
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
105
|
+
value: unknown;
|
|
106
|
+
metadata?: Partial<{
|
|
103
107
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
104
108
|
}> | undefined;
|
|
105
|
-
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
106
109
|
}[] | undefined;
|
|
107
|
-
|
|
110
|
+
metadata?: Partial<{
|
|
108
111
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
109
112
|
}> | undefined;
|
|
110
113
|
}>;
|
|
@@ -119,7 +122,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
119
122
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
120
123
|
description: string | null;
|
|
121
124
|
label: string;
|
|
122
|
-
|
|
125
|
+
metadata?: Partial<{
|
|
123
126
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
124
127
|
}> | undefined;
|
|
125
128
|
}>;
|
|
@@ -133,7 +136,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
133
136
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
134
137
|
description?: string | null | undefined;
|
|
135
138
|
label?: string | undefined;
|
|
136
|
-
|
|
139
|
+
metadata?: Partial<{
|
|
137
140
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
138
141
|
}> | undefined;
|
|
139
142
|
}>;
|
|
@@ -145,8 +148,8 @@ export declare const documentManagementApiDefinition: {
|
|
|
145
148
|
method: "POST";
|
|
146
149
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
147
150
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
148
|
-
|
|
149
|
-
|
|
151
|
+
collectionIds: string[];
|
|
152
|
+
metadata?: Partial<{
|
|
150
153
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
151
154
|
}> | undefined;
|
|
152
155
|
}>;
|
|
@@ -158,7 +161,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
158
161
|
method: "DELETE";
|
|
159
162
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
160
163
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
161
|
-
|
|
164
|
+
metadata?: Partial<{
|
|
162
165
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
163
166
|
}> | undefined;
|
|
164
167
|
}>;
|
|
@@ -169,11 +172,11 @@ export declare const documentManagementApiDefinition: {
|
|
|
169
172
|
resource: string;
|
|
170
173
|
method: "POST";
|
|
171
174
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
172
|
-
comment: string | null;
|
|
173
175
|
typeId: import("../../orm/schemas/uuid.js").Uuid | null;
|
|
174
176
|
requiredFilesCount: number;
|
|
177
|
+
comment: string | null;
|
|
175
178
|
requestsTemplateId: import("../../orm/schemas/uuid.js").Uuid;
|
|
176
|
-
|
|
179
|
+
metadata?: Partial<{
|
|
177
180
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
178
181
|
}> | undefined;
|
|
179
182
|
}>;
|
|
@@ -185,10 +188,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
185
188
|
method: "PATCH";
|
|
186
189
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
187
190
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
188
|
-
comment?: string | null | undefined;
|
|
189
191
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
190
192
|
requiredFilesCount?: number | undefined;
|
|
191
|
-
|
|
193
|
+
comment?: string | null | undefined;
|
|
194
|
+
metadata?: Partial<{
|
|
192
195
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
193
196
|
}> | undefined;
|
|
194
197
|
}>;
|
|
@@ -200,7 +203,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
200
203
|
method: "DELETE";
|
|
201
204
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
202
205
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
203
|
-
|
|
206
|
+
metadata?: Partial<{
|
|
204
207
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
205
208
|
}> | undefined;
|
|
206
209
|
}>;
|
|
@@ -211,10 +214,15 @@ export declare const documentManagementApiDefinition: {
|
|
|
211
214
|
resource: string;
|
|
212
215
|
method: "POST";
|
|
213
216
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
214
|
-
|
|
215
|
-
|
|
217
|
+
requestId: string;
|
|
218
|
+
date: import("../../orm/schemas/numeric-date.js").NumericDate | null;
|
|
219
|
+
summary: string | null;
|
|
220
|
+
title: string | null;
|
|
221
|
+
tags: string[] | null;
|
|
222
|
+
subtitle: string | null;
|
|
223
|
+
pages: number | null;
|
|
216
224
|
originalFileName: string | null;
|
|
217
|
-
|
|
225
|
+
metadata?: Partial<{
|
|
218
226
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
219
227
|
}> | undefined;
|
|
220
228
|
}>;
|
|
@@ -229,10 +237,10 @@ export declare const documentManagementApiDefinition: {
|
|
|
229
237
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
230
238
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
231
239
|
approvalComment: string | null;
|
|
232
|
-
|
|
240
|
+
documentMetadata?: Partial<{
|
|
233
241
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
234
242
|
}> | undefined;
|
|
235
|
-
|
|
243
|
+
requestFileMetadata?: Partial<{
|
|
236
244
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
237
245
|
}> | undefined;
|
|
238
246
|
}>;
|
|
@@ -245,7 +253,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
245
253
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
246
254
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
247
255
|
approvalComment: string | null;
|
|
248
|
-
|
|
256
|
+
metadata?: Partial<{
|
|
249
257
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
250
258
|
}> | undefined;
|
|
251
259
|
}>;
|
|
@@ -257,10 +265,15 @@ export declare const documentManagementApiDefinition: {
|
|
|
257
265
|
method: "PATCH";
|
|
258
266
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
259
267
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
260
|
-
|
|
268
|
+
date?: import("../../orm/types.js").NumericDate | null | undefined;
|
|
269
|
+
summary?: string | null | undefined;
|
|
270
|
+
title?: string | null | undefined;
|
|
271
|
+
tags?: string[] | null | undefined;
|
|
272
|
+
subtitle?: string | null | undefined;
|
|
273
|
+
pages?: number | null | undefined;
|
|
261
274
|
approvalComment?: string | null | undefined;
|
|
262
275
|
approvalTimestamp?: import("../../orm/types.js").Timestamp | null | undefined;
|
|
263
|
-
|
|
276
|
+
metadata?: Partial<{
|
|
264
277
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
265
278
|
}> | undefined;
|
|
266
279
|
}>;
|
|
@@ -272,7 +285,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
272
285
|
method: "DELETE";
|
|
273
286
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
274
287
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
275
|
-
|
|
288
|
+
metadata?: Partial<{
|
|
276
289
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
277
290
|
}> | undefined;
|
|
278
291
|
}>;
|
|
@@ -283,11 +296,11 @@ export declare const documentManagementApiDefinition: {
|
|
|
283
296
|
resource: string;
|
|
284
297
|
method: "POST";
|
|
285
298
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
286
|
-
comment: string | null;
|
|
287
299
|
typeId: import("../../orm/schemas/uuid.js").Uuid | null;
|
|
288
300
|
requiredFilesCount: number;
|
|
289
|
-
|
|
290
|
-
|
|
301
|
+
comment: string | null;
|
|
302
|
+
collectionIds: string[];
|
|
303
|
+
metadata?: Partial<{
|
|
291
304
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
292
305
|
}> | undefined;
|
|
293
306
|
}>;
|
|
@@ -299,11 +312,11 @@ export declare const documentManagementApiDefinition: {
|
|
|
299
312
|
method: "PATCH";
|
|
300
313
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
301
314
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
302
|
-
comment?: string | null | undefined;
|
|
303
315
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
304
316
|
requiredFilesCount?: number | undefined;
|
|
317
|
+
comment?: string | null | undefined;
|
|
305
318
|
completed?: boolean | undefined;
|
|
306
|
-
|
|
319
|
+
metadata?: Partial<{
|
|
307
320
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
308
321
|
}> | undefined;
|
|
309
322
|
}>;
|
|
@@ -315,7 +328,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
315
328
|
method: "DELETE";
|
|
316
329
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
317
330
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
318
|
-
|
|
331
|
+
metadata?: Partial<{
|
|
319
332
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
320
333
|
}> | undefined;
|
|
321
334
|
}>;
|
|
@@ -328,7 +341,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
328
341
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
329
342
|
collectionId: import("../../orm/schemas/uuid.js").Uuid;
|
|
330
343
|
documentId: import("../../orm/schemas/uuid.js").Uuid;
|
|
331
|
-
|
|
344
|
+
metadata?: Partial<{
|
|
332
345
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
333
346
|
}> | undefined;
|
|
334
347
|
}>;
|
|
@@ -341,7 +354,7 @@ export declare const documentManagementApiDefinition: {
|
|
|
341
354
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
342
355
|
collectionId: import("../../orm/schemas/uuid.js").Uuid;
|
|
343
356
|
documentId: import("../../orm/schemas/uuid.js").Uuid;
|
|
344
|
-
|
|
357
|
+
metadata?: Partial<{
|
|
345
358
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
346
359
|
}> | undefined;
|
|
347
360
|
}>;
|
|
@@ -354,18 +367,21 @@ export declare const documentManagementApiDefinition: {
|
|
|
354
367
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
355
368
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
356
369
|
date?: import("../../orm/types.js").NumericDate | null | undefined;
|
|
357
|
-
|
|
370
|
+
summary?: string | null | undefined;
|
|
371
|
+
title?: string | null | undefined;
|
|
372
|
+
tags?: string[] | null | undefined;
|
|
358
373
|
fileId?: import("../../orm/types.js").Uuid | undefined;
|
|
359
374
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
375
|
+
subtitle?: string | null | undefined;
|
|
376
|
+
pages?: number | null | undefined;
|
|
377
|
+
properties?: {
|
|
378
|
+
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
379
|
+
value: unknown;
|
|
380
|
+
metadata?: Partial<{
|
|
364
381
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
365
382
|
}> | undefined;
|
|
366
|
-
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
367
383
|
}[] | undefined;
|
|
368
|
-
|
|
384
|
+
metadata?: Partial<{
|
|
369
385
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
370
386
|
}> | undefined;
|
|
371
387
|
}>;
|
|
@@ -381,10 +397,10 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
381
397
|
resource: string;
|
|
382
398
|
method: "GET";
|
|
383
399
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
400
|
+
collectionIds: string | string[];
|
|
401
|
+
collectionsMetadata: Partial<import("../../schema/index.js").Record<string, {
|
|
402
|
+
name?: string | null | undefined;
|
|
403
|
+
group?: string | null | undefined;
|
|
388
404
|
}>>;
|
|
389
405
|
}>;
|
|
390
406
|
result: typeof DocumentManagementData;
|
|
@@ -406,9 +422,9 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
406
422
|
resource: string;
|
|
407
423
|
method: "GET";
|
|
408
424
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
425
|
+
title: string | null;
|
|
426
|
+
id: string;
|
|
427
|
+
download?: boolean | undefined;
|
|
412
428
|
}>;
|
|
413
429
|
result: Uint8ArrayConstructor;
|
|
414
430
|
credentials: true;
|
|
@@ -417,9 +433,9 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
417
433
|
resource: string;
|
|
418
434
|
method: "GET";
|
|
419
435
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
436
|
+
title: string | null;
|
|
437
|
+
id: string;
|
|
438
|
+
download?: boolean | undefined;
|
|
423
439
|
}>;
|
|
424
440
|
result: import("../../schema/index.js").StringSchema;
|
|
425
441
|
credentials: true;
|
|
@@ -429,7 +445,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
429
445
|
method: "POST";
|
|
430
446
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
431
447
|
label: string;
|
|
432
|
-
|
|
448
|
+
metadata?: Partial<{
|
|
433
449
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
434
450
|
}> | undefined;
|
|
435
451
|
}>;
|
|
@@ -443,7 +459,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
443
459
|
group: string | null;
|
|
444
460
|
label: string;
|
|
445
461
|
categoryId: import("../../orm/schemas/uuid.js").Uuid;
|
|
446
|
-
|
|
462
|
+
metadata?: Partial<{
|
|
447
463
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
448
464
|
}> | undefined;
|
|
449
465
|
}>;
|
|
@@ -454,7 +470,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
454
470
|
resource: string;
|
|
455
471
|
method: "POST";
|
|
456
472
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
457
|
-
|
|
473
|
+
metadata?: Partial<{
|
|
458
474
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
459
475
|
}> | undefined;
|
|
460
476
|
}>;
|
|
@@ -466,19 +482,22 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
466
482
|
method: "POST";
|
|
467
483
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
468
484
|
date: import("../../orm/schemas/numeric-date.js").NumericDate | null;
|
|
469
|
-
|
|
485
|
+
summary: string | null;
|
|
486
|
+
title: string | null;
|
|
487
|
+
tags: string[] | null;
|
|
470
488
|
typeId: import("../../orm/schemas/uuid.js").Uuid | null;
|
|
471
|
-
|
|
489
|
+
subtitle: string | null;
|
|
490
|
+
pages: number | null;
|
|
472
491
|
originalFileName: string | null;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
492
|
+
collectionIds: string | string[];
|
|
493
|
+
properties?: {
|
|
494
|
+
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
495
|
+
value: unknown;
|
|
496
|
+
metadata?: Partial<{
|
|
477
497
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
478
498
|
}> | undefined;
|
|
479
|
-
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
480
499
|
}[] | undefined;
|
|
481
|
-
|
|
500
|
+
metadata?: Partial<{
|
|
482
501
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
483
502
|
}> | undefined;
|
|
484
503
|
}>;
|
|
@@ -493,7 +512,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
493
512
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
494
513
|
description: string | null;
|
|
495
514
|
label: string;
|
|
496
|
-
|
|
515
|
+
metadata?: Partial<{
|
|
497
516
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
498
517
|
}> | undefined;
|
|
499
518
|
}>;
|
|
@@ -507,7 +526,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
507
526
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
508
527
|
description?: string | null | undefined;
|
|
509
528
|
label?: string | undefined;
|
|
510
|
-
|
|
529
|
+
metadata?: Partial<{
|
|
511
530
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
512
531
|
}> | undefined;
|
|
513
532
|
}>;
|
|
@@ -519,8 +538,8 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
519
538
|
method: "POST";
|
|
520
539
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
521
540
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
522
|
-
|
|
523
|
-
|
|
541
|
+
collectionIds: string[];
|
|
542
|
+
metadata?: Partial<{
|
|
524
543
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
525
544
|
}> | undefined;
|
|
526
545
|
}>;
|
|
@@ -532,7 +551,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
532
551
|
method: "DELETE";
|
|
533
552
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
534
553
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
535
|
-
|
|
554
|
+
metadata?: Partial<{
|
|
536
555
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
537
556
|
}> | undefined;
|
|
538
557
|
}>;
|
|
@@ -543,11 +562,11 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
543
562
|
resource: string;
|
|
544
563
|
method: "POST";
|
|
545
564
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
546
|
-
comment: string | null;
|
|
547
565
|
typeId: import("../../orm/schemas/uuid.js").Uuid | null;
|
|
548
566
|
requiredFilesCount: number;
|
|
567
|
+
comment: string | null;
|
|
549
568
|
requestsTemplateId: import("../../orm/schemas/uuid.js").Uuid;
|
|
550
|
-
|
|
569
|
+
metadata?: Partial<{
|
|
551
570
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
552
571
|
}> | undefined;
|
|
553
572
|
}>;
|
|
@@ -559,10 +578,10 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
559
578
|
method: "PATCH";
|
|
560
579
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
561
580
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
562
|
-
comment?: string | null | undefined;
|
|
563
581
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
564
582
|
requiredFilesCount?: number | undefined;
|
|
565
|
-
|
|
583
|
+
comment?: string | null | undefined;
|
|
584
|
+
metadata?: Partial<{
|
|
566
585
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
567
586
|
}> | undefined;
|
|
568
587
|
}>;
|
|
@@ -574,7 +593,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
574
593
|
method: "DELETE";
|
|
575
594
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
576
595
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
577
|
-
|
|
596
|
+
metadata?: Partial<{
|
|
578
597
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
579
598
|
}> | undefined;
|
|
580
599
|
}>;
|
|
@@ -585,10 +604,15 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
585
604
|
resource: string;
|
|
586
605
|
method: "POST";
|
|
587
606
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
588
|
-
|
|
589
|
-
|
|
607
|
+
requestId: string;
|
|
608
|
+
date: import("../../orm/schemas/numeric-date.js").NumericDate | null;
|
|
609
|
+
summary: string | null;
|
|
610
|
+
title: string | null;
|
|
611
|
+
tags: string[] | null;
|
|
612
|
+
subtitle: string | null;
|
|
613
|
+
pages: number | null;
|
|
590
614
|
originalFileName: string | null;
|
|
591
|
-
|
|
615
|
+
metadata?: Partial<{
|
|
592
616
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
593
617
|
}> | undefined;
|
|
594
618
|
}>;
|
|
@@ -603,10 +627,10 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
603
627
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
604
628
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
605
629
|
approvalComment: string | null;
|
|
606
|
-
|
|
630
|
+
documentMetadata?: Partial<{
|
|
607
631
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
608
632
|
}> | undefined;
|
|
609
|
-
|
|
633
|
+
requestFileMetadata?: Partial<{
|
|
610
634
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
611
635
|
}> | undefined;
|
|
612
636
|
}>;
|
|
@@ -619,7 +643,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
619
643
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
620
644
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
621
645
|
approvalComment: string | null;
|
|
622
|
-
|
|
646
|
+
metadata?: Partial<{
|
|
623
647
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
624
648
|
}> | undefined;
|
|
625
649
|
}>;
|
|
@@ -631,10 +655,15 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
631
655
|
method: "PATCH";
|
|
632
656
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
633
657
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
634
|
-
|
|
658
|
+
date?: import("../../orm/types.js").NumericDate | null | undefined;
|
|
659
|
+
summary?: string | null | undefined;
|
|
660
|
+
title?: string | null | undefined;
|
|
661
|
+
tags?: string[] | null | undefined;
|
|
662
|
+
subtitle?: string | null | undefined;
|
|
663
|
+
pages?: number | null | undefined;
|
|
635
664
|
approvalComment?: string | null | undefined;
|
|
636
665
|
approvalTimestamp?: import("../../orm/types.js").Timestamp | null | undefined;
|
|
637
|
-
|
|
666
|
+
metadata?: Partial<{
|
|
638
667
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
639
668
|
}> | undefined;
|
|
640
669
|
}>;
|
|
@@ -646,7 +675,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
646
675
|
method: "DELETE";
|
|
647
676
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
648
677
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
649
|
-
|
|
678
|
+
metadata?: Partial<{
|
|
650
679
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
651
680
|
}> | undefined;
|
|
652
681
|
}>;
|
|
@@ -657,11 +686,11 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
657
686
|
resource: string;
|
|
658
687
|
method: "POST";
|
|
659
688
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
660
|
-
comment: string | null;
|
|
661
689
|
typeId: import("../../orm/schemas/uuid.js").Uuid | null;
|
|
662
690
|
requiredFilesCount: number;
|
|
663
|
-
|
|
664
|
-
|
|
691
|
+
comment: string | null;
|
|
692
|
+
collectionIds: string[];
|
|
693
|
+
metadata?: Partial<{
|
|
665
694
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
666
695
|
}> | undefined;
|
|
667
696
|
}>;
|
|
@@ -673,11 +702,11 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
673
702
|
method: "PATCH";
|
|
674
703
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
675
704
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
676
|
-
comment?: string | null | undefined;
|
|
677
705
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
678
706
|
requiredFilesCount?: number | undefined;
|
|
707
|
+
comment?: string | null | undefined;
|
|
679
708
|
completed?: boolean | undefined;
|
|
680
|
-
|
|
709
|
+
metadata?: Partial<{
|
|
681
710
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
682
711
|
}> | undefined;
|
|
683
712
|
}>;
|
|
@@ -689,7 +718,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
689
718
|
method: "DELETE";
|
|
690
719
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
691
720
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
692
|
-
|
|
721
|
+
metadata?: Partial<{
|
|
693
722
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
694
723
|
}> | undefined;
|
|
695
724
|
}>;
|
|
@@ -702,7 +731,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
702
731
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
703
732
|
collectionId: import("../../orm/schemas/uuid.js").Uuid;
|
|
704
733
|
documentId: import("../../orm/schemas/uuid.js").Uuid;
|
|
705
|
-
|
|
734
|
+
metadata?: Partial<{
|
|
706
735
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
707
736
|
}> | undefined;
|
|
708
737
|
}>;
|
|
@@ -715,7 +744,7 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
715
744
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
716
745
|
collectionId: import("../../orm/schemas/uuid.js").Uuid;
|
|
717
746
|
documentId: import("../../orm/schemas/uuid.js").Uuid;
|
|
718
|
-
|
|
747
|
+
metadata?: Partial<{
|
|
719
748
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
720
749
|
}> | undefined;
|
|
721
750
|
}>;
|
|
@@ -728,18 +757,21 @@ declare const _DocumentManagementApi: import("../../api/index.js").ApiClient<{
|
|
|
728
757
|
parameters: import("../../schema/index.js").ObjectSchema<{
|
|
729
758
|
id: import("../../orm/types.js").IsPrimaryKey<import("../../orm/types.js").HasDefault<import("../../orm/schemas/uuid.js").Uuid>>;
|
|
730
759
|
date?: import("../../orm/types.js").NumericDate | null | undefined;
|
|
731
|
-
|
|
760
|
+
summary?: string | null | undefined;
|
|
761
|
+
title?: string | null | undefined;
|
|
762
|
+
tags?: string[] | null | undefined;
|
|
732
763
|
fileId?: import("../../orm/types.js").Uuid | undefined;
|
|
733
764
|
typeId?: import("../../orm/types.js").Uuid | null | undefined;
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
765
|
+
subtitle?: string | null | undefined;
|
|
766
|
+
pages?: number | null | undefined;
|
|
767
|
+
properties?: {
|
|
768
|
+
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
769
|
+
value: unknown;
|
|
770
|
+
metadata?: Partial<{
|
|
738
771
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
739
772
|
}> | undefined;
|
|
740
|
-
propertyId: import("../../orm/schemas/uuid.js").Uuid;
|
|
741
773
|
}[] | undefined;
|
|
742
|
-
|
|
774
|
+
metadata?: Partial<{
|
|
743
775
|
attributes: import("../../orm/types.js").HasDefault<import("../../orm/schemas/json.js").Json<import("../../orm/entity.js").EntityMetadataAttributes>>;
|
|
744
776
|
}> | undefined;
|
|
745
777
|
}>;
|