@overmap-ai/core 1.0.52 → 1.0.53-add-agent-slice.0

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/sdk/sdk.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AttachmentService, AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentTypeService, EmailVerificationService, FileService, IssueCommentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService, IssueUpdateService, AgentService, TeamService } from "./services";
1
+ import { AttachmentService, AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentTypeService, EmailVerificationService, FileService, IssueCommentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService, IssueUpdateService, AgentService, TeamService, IssueTypeService } from "./services";
2
2
  import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore.js";
3
3
  import { RootState } from "../typings";
4
4
  export declare class OvermapSDK {
@@ -14,6 +14,7 @@ export declare class OvermapSDK {
14
14
  organizations: OrganizationService;
15
15
  organizationAccess: OrganizationAccessService;
16
16
  issues: IssueService;
17
+ issueTypes: IssueTypeService;
17
18
  issueComments: IssueCommentService;
18
19
  issueUpdates: IssueUpdateService;
19
20
  workspaces: WorkspaceService;
@@ -1,11 +1,11 @@
1
1
  import { BaseApiService } from "./BaseApiService";
2
2
  import { OptimisticModelResult, OptimisticMultipleModelResult } from "../typings";
3
- import { Issue, Submitted } from "../../typings";
3
+ import { Issue, IssueType, Submitted } from "../../typings";
4
4
  /**
5
5
  * Handles CRUD operations on issues
6
6
  */
7
7
  export declare class IssueService extends BaseApiService {
8
- add(issue: Issue): OptimisticModelResult<Issue>;
8
+ add(issue: Issue, issue_type?: IssueType["offline_id"] | null): OptimisticModelResult<Issue>;
9
9
  fetchAll(projectId: number): OptimisticMultipleModelResult<Issue>;
10
10
  update(issue: Submitted<Partial<Issue>>): OptimisticModelResult<Issue>;
11
11
  remove(id: string): Promise<undefined>;
@@ -0,0 +1,9 @@
1
+ import { BaseApiService } from "./BaseApiService";
2
+ import { OptimisticModelResult } from "../typings";
3
+ import { IssueType, IssueTypePayload, Offline } from "../../typings";
4
+ export declare class IssueTypeService extends BaseApiService {
5
+ add(payload: IssueTypePayload): OptimisticModelResult<IssueType>;
6
+ update(issueTypeFields: Offline<Partial<IssueType>>): OptimisticModelResult<IssueType>;
7
+ delete(issueTypeId: string): Promise<void>;
8
+ refreshStore(): Promise<void>;
9
+ }
@@ -4,8 +4,16 @@ import { BaseApiService } from "./BaseApiService";
4
4
  export declare class UserFormService extends BaseApiService {
5
5
  private getAttachImagePromises;
6
6
  private add;
7
- addForOrganization(initialRevision: UserFormRevisionPayload, componentTypeId?: string): Promise<[SubmittedUserForm, UserFormRevision, Promise<UserFormRevision>, Promise<UserFormRevision>]>;
8
- addForCurrentUser(initialRevision: UserFormRevision, componentTypeId?: string): Promise<[SubmittedUserForm, UserFormRevision, Promise<UserFormRevision>, Promise<UserFormRevision>]>;
7
+ addForOrganization(initialRevision: UserFormRevisionPayload, attachedTo?: {
8
+ componentTypeId: string;
9
+ } | {
10
+ issueTypeId: string;
11
+ }): Promise<[SubmittedUserForm, UserFormRevision, Promise<UserFormRevision>, Promise<UserFormRevision>]>;
12
+ addForCurrentUser(initialRevision: UserFormRevision, attachedTo?: {
13
+ componentTypeId: string;
14
+ } | {
15
+ issueTypeId: string;
16
+ }): Promise<[SubmittedUserForm, UserFormRevision, Promise<UserFormRevision>, Promise<UserFormRevision>]>;
9
17
  createRevision(formId: string, revision: UserFormRevisionPayload): Promise<OptimisticModelResult<UserFormRevision>>;
10
18
  favorite(formId: string): Promise<undefined>;
11
19
  unfavorite(formId: string): Promise<undefined>;
@@ -9,6 +9,7 @@ export * from "./ComponentTypeService";
9
9
  export * from "./IssueCommentService";
10
10
  export * from "./IssueUpdateService";
11
11
  export * from "./IssueService";
12
+ export * from "./IssueTypeService";
12
13
  export * from "./MainService";
13
14
  export * from "./ProjectAccessService";
14
15
  export * from "./ProjectFileService";
@@ -0,0 +1,14 @@
1
+ import { PayloadAction, Reducer } from "@reduxjs/toolkit";
2
+ import { RootState } from "../../typings";
3
+ export interface AgentState {
4
+ conversationId: string | undefined;
5
+ }
6
+ /**
7
+ * Stores the state of the user's chats with the agent
8
+ */
9
+ export declare const agentSlice: import("@reduxjs/toolkit").Slice<AgentState, {
10
+ setConversationId: (state: import("immer/dist/internal.js").WritableDraft<AgentState>, action: PayloadAction<string | undefined>) => void;
11
+ }, "agents">;
12
+ export declare const setConversationId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "agents/setConversationId">;
13
+ export declare const selectConversationId: (state: RootState) => string | undefined;
14
+ export declare const agentReducer: Reducer<AgentState>;
@@ -51,6 +51,7 @@ export declare const selectCategories: ((state: import("redux").EmptyObject & {
51
51
  componentStageReducer: import('..').ComponentStageState;
52
52
  componentTypeReducer: import('..').ComponentTypeState;
53
53
  issueReducer: import('..').IssueState;
54
+ issueTypeReducer: import('..').IssueTypeState;
54
55
  mapReducer: import('..').MapState;
55
56
  organizationReducer: import('..').OrganizationState;
56
57
  outboxReducer: import('..').OutboxState;
@@ -69,6 +70,7 @@ export declare const selectCategories: ((state: import("redux").EmptyObject & {
69
70
  licenseReducer: import('..').LicenseState;
70
71
  documentsReducer: import('..').DocumentState;
71
72
  teamReducer: import('..').TeamState;
73
+ agentReducer: import('..').AgentState;
72
74
  } & {
73
75
  offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
74
76
  }) => Category[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Category>, args_1: string | null) => Category[], {
@@ -52,12 +52,11 @@ export declare const documentSlice: import("@reduxjs/toolkit").Slice<DocumentSta
52
52
  type: string;
53
53
  }) => void;
54
54
  }, "documents">;
55
- export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & {
55
+ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
56
56
  title: string | null;
57
57
  description: string | null;
58
58
  content: string | null;
59
59
  parent_document: string | null;
60
- created_by: number;
61
60
  } & {
62
61
  project: number;
63
62
  organization: null;
@@ -65,23 +64,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
65
64
  children_documents: string[];
66
65
  } & {
67
66
  offline_id: string;
68
- } & Omit<import('../../typings/models/base').OfflineModel & {
67
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
69
68
  title: string | null;
70
69
  description: string | null;
71
70
  content: string | null;
72
71
  parent_document: string | null;
73
- created_by: number;
74
72
  } & {
75
73
  project: number;
76
74
  organization: null;
77
75
  } & {
78
76
  children_documents: string[];
79
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
77
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
80
78
  title: string | null;
81
79
  description: string | null;
82
80
  content: string | null;
83
81
  parent_document: string | null;
84
- created_by: number;
85
82
  } & {
86
83
  organization: number;
87
84
  project: null;
@@ -89,23 +86,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
89
86
  children_documents: string[];
90
87
  } & {
91
88
  offline_id: string;
92
- } & Omit<import('../../typings/models/base').OfflineModel & {
89
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
93
90
  title: string | null;
94
91
  description: string | null;
95
92
  content: string | null;
96
93
  parent_document: string | null;
97
- created_by: number;
98
94
  } & {
99
95
  organization: number;
100
96
  project: null;
101
97
  } & {
102
98
  children_documents: string[];
103
- }, "id" | "created_at" | "created_by">))[], "documents/setDocuments">, addDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & {
99
+ }, "id" | "created_at" | "created_by">))[], "documents/setDocuments">, addDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
104
100
  title: string | null;
105
101
  description: string | null;
106
102
  content: string | null;
107
103
  parent_document: string | null;
108
- created_by: number;
109
104
  } & {
110
105
  project: number;
111
106
  organization: null;
@@ -113,23 +108,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
113
108
  children_documents: string[];
114
109
  } & {
115
110
  offline_id: string;
116
- } & Omit<import('../../typings/models/base').OfflineModel & {
111
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
117
112
  title: string | null;
118
113
  description: string | null;
119
114
  content: string | null;
120
115
  parent_document: string | null;
121
- created_by: number;
122
116
  } & {
123
117
  project: number;
124
118
  organization: null;
125
119
  } & {
126
120
  children_documents: string[];
127
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
121
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
128
122
  title: string | null;
129
123
  description: string | null;
130
124
  content: string | null;
131
125
  parent_document: string | null;
132
- created_by: number;
133
126
  } & {
134
127
  organization: number;
135
128
  project: null;
@@ -137,23 +130,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
137
130
  children_documents: string[];
138
131
  } & {
139
132
  offline_id: string;
140
- } & Omit<import('../../typings/models/base').OfflineModel & {
133
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
141
134
  title: string | null;
142
135
  description: string | null;
143
136
  content: string | null;
144
137
  parent_document: string | null;
145
- created_by: number;
146
138
  } & {
147
139
  organization: number;
148
140
  project: null;
149
141
  } & {
150
142
  children_documents: string[];
151
- }, "id" | "created_at" | "created_by">))[], "documents/addDocuments">, updateDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<(import('../../typings/models/base').OfflineModel & {
143
+ }, "id" | "created_at" | "created_by">))[], "documents/addDocuments">, updateDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<Partial<(import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
152
144
  title: string | null;
153
145
  description: string | null;
154
146
  content: string | null;
155
147
  parent_document: string | null;
156
- created_by: number;
157
148
  } & {
158
149
  project: number;
159
150
  organization: null;
@@ -161,23 +152,21 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
161
152
  children_documents: string[];
162
153
  } & {
163
154
  offline_id: string;
164
- } & Omit<import('../../typings/models/base').OfflineModel & {
155
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
165
156
  title: string | null;
166
157
  description: string | null;
167
158
  content: string | null;
168
159
  parent_document: string | null;
169
- created_by: number;
170
160
  } & {
171
161
  project: number;
172
162
  organization: null;
173
163
  } & {
174
164
  children_documents: string[];
175
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
165
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
176
166
  title: string | null;
177
167
  description: string | null;
178
168
  content: string | null;
179
169
  parent_document: string | null;
180
- created_by: number;
181
170
  } & {
182
171
  organization: number;
183
172
  project: null;
@@ -185,12 +174,11 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
185
174
  children_documents: string[];
186
175
  } & {
187
176
  offline_id: string;
188
- } & Omit<import('../../typings/models/base').OfflineModel & {
177
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
189
178
  title: string | null;
190
179
  description: string | null;
191
180
  content: string | null;
192
181
  parent_document: string | null;
193
- created_by: number;
194
182
  } & {
195
183
  organization: number;
196
184
  project: null;
@@ -199,12 +187,11 @@ export declare const setDocuments: import("@reduxjs/toolkit").ActionCreatorWithP
199
187
  }, "id" | "created_at" | "created_by">)>>[], "documents/updateDocuments">, moveDocument: import("@reduxjs/toolkit").ActionCreatorWithPayload<MoveDocumentPayload, "documents/moveDocument">, removeDocuments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocuments">, setDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<DocumentAttachment>[], "documents/setDocumentAttachments">, addDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>, "documents/addDocumentAttachment">, addDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>[], "documents/addDocumentAttachments">, updateDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<DocumentAttachment>, "documents/updateDocumentAttachment">, removeDocumentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "documents/removeDocumentAttachment">, removeDocumentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "documents/removeDocumentAttachments">;
200
188
  export declare const selectDocumentsMapping: AppSelector<Record<string, Stored<Document>>>;
201
189
  export declare const selectDocuments: AppSelector<Stored<Document>[]>;
202
- export declare const selectDocument: (args: string) => (state: RootState) => (import('../../typings/models/base').OfflineModel & {
190
+ export declare const selectDocument: (args: string) => (state: RootState) => (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
203
191
  title: string | null;
204
192
  description: string | null;
205
193
  content: string | null;
206
194
  parent_document: string | null;
207
- created_by: number;
208
195
  } & {
209
196
  project: number;
210
197
  organization: null;
@@ -212,23 +199,21 @@ export declare const selectDocument: (args: string) => (state: RootState) => (im
212
199
  children_documents: string[];
213
200
  } & {
214
201
  offline_id: string;
215
- } & Omit<import('../../typings/models/base').OfflineModel & {
202
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
216
203
  title: string | null;
217
204
  description: string | null;
218
205
  content: string | null;
219
206
  parent_document: string | null;
220
- created_by: number;
221
207
  } & {
222
208
  project: number;
223
209
  organization: null;
224
210
  } & {
225
211
  children_documents: string[];
226
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
212
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
227
213
  title: string | null;
228
214
  description: string | null;
229
215
  content: string | null;
230
216
  parent_document: string | null;
231
- created_by: number;
232
217
  } & {
233
218
  organization: number;
234
219
  project: null;
@@ -236,12 +221,11 @@ export declare const selectDocument: (args: string) => (state: RootState) => (im
236
221
  children_documents: string[];
237
222
  } & {
238
223
  offline_id: string;
239
- } & Omit<import('../../typings/models/base').OfflineModel & {
224
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
240
225
  title: string | null;
241
226
  description: string | null;
242
227
  content: string | null;
243
228
  parent_document: string | null;
244
- created_by: number;
245
229
  } & {
246
230
  organization: number;
247
231
  project: null;
@@ -259,6 +243,7 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
259
243
  componentStageReducer: import('..').ComponentStageState;
260
244
  componentTypeReducer: import("./componentTypeSlice").ComponentTypeState;
261
245
  issueReducer: import('..').IssueState;
246
+ issueTypeReducer: import('..').IssueTypeState;
262
247
  mapReducer: import('..').MapState;
263
248
  organizationReducer: import('..').OrganizationState;
264
249
  outboxReducer: import('..').OutboxState;
@@ -277,14 +262,14 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
277
262
  licenseReducer: import('..').LicenseState;
278
263
  documentsReducer: DocumentState;
279
264
  teamReducer: import('..').TeamState;
265
+ agentReducer: import('..').AgentState;
280
266
  } & {
281
267
  offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
282
- }) => ((import('../../typings/models/base').OfflineModel & {
268
+ }) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
283
269
  title: string | null;
284
270
  description: string | null;
285
271
  content: string | null;
286
272
  parent_document: string | null;
287
- created_by: number;
288
273
  } & {
289
274
  project: number;
290
275
  organization: null;
@@ -292,23 +277,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
292
277
  children_documents: string[];
293
278
  } & {
294
279
  offline_id: string;
295
- } & Omit<import('../../typings/models/base').OfflineModel & {
280
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
296
281
  title: string | null;
297
282
  description: string | null;
298
283
  content: string | null;
299
284
  parent_document: string | null;
300
- created_by: number;
301
285
  } & {
302
286
  project: number;
303
287
  organization: null;
304
288
  } & {
305
289
  children_documents: string[];
306
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
290
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
307
291
  title: string | null;
308
292
  description: string | null;
309
293
  content: string | null;
310
294
  parent_document: string | null;
311
- created_by: number;
312
295
  } & {
313
296
  organization: number;
314
297
  project: null;
@@ -316,23 +299,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
316
299
  children_documents: string[];
317
300
  } & {
318
301
  offline_id: string;
319
- } & Omit<import('../../typings/models/base').OfflineModel & {
302
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
320
303
  title: string | null;
321
304
  description: string | null;
322
305
  content: string | null;
323
306
  parent_document: string | null;
324
- created_by: number;
325
307
  } & {
326
308
  organization: number;
327
309
  project: null;
328
310
  } & {
329
311
  children_documents: string[];
330
- }, "id" | "created_at" | "created_by">))[]) & import("reselect").OutputSelectorFields<(args_0: ((import('../../typings/models/base').OfflineModel & {
312
+ }, "id" | "created_at" | "created_by">))[]) & import("reselect").OutputSelectorFields<(args_0: ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
331
313
  title: string | null;
332
314
  description: string | null;
333
315
  content: string | null;
334
316
  parent_document: string | null;
335
- created_by: number;
336
317
  } & {
337
318
  project: number;
338
319
  organization: null;
@@ -340,23 +321,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
340
321
  children_documents: string[];
341
322
  } & {
342
323
  offline_id: string;
343
- } & Omit<import('../../typings/models/base').OfflineModel & {
324
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
344
325
  title: string | null;
345
326
  description: string | null;
346
327
  content: string | null;
347
328
  parent_document: string | null;
348
- created_by: number;
349
329
  } & {
350
330
  project: number;
351
331
  organization: null;
352
332
  } & {
353
333
  children_documents: string[];
354
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
334
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
355
335
  title: string | null;
356
336
  description: string | null;
357
337
  content: string | null;
358
338
  parent_document: string | null;
359
- created_by: number;
360
339
  } & {
361
340
  organization: number;
362
341
  project: null;
@@ -364,23 +343,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
364
343
  children_documents: string[];
365
344
  } & {
366
345
  offline_id: string;
367
- } & Omit<import('../../typings/models/base').OfflineModel & {
346
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
368
347
  title: string | null;
369
348
  description: string | null;
370
349
  content: string | null;
371
350
  parent_document: string | null;
372
- created_by: number;
373
351
  } & {
374
352
  organization: number;
375
353
  project: null;
376
354
  } & {
377
355
  children_documents: string[];
378
- }, "id" | "created_at" | "created_by">))[]) => ((import('../../typings/models/base').OfflineModel & {
356
+ }, "id" | "created_at" | "created_by">))[]) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
379
357
  title: string | null;
380
358
  description: string | null;
381
359
  content: string | null;
382
360
  parent_document: string | null;
383
- created_by: number;
384
361
  } & {
385
362
  project: number;
386
363
  organization: null;
@@ -388,23 +365,21 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
388
365
  children_documents: string[];
389
366
  } & {
390
367
  offline_id: string;
391
- } & Omit<import('../../typings/models/base').OfflineModel & {
368
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
392
369
  title: string | null;
393
370
  description: string | null;
394
371
  content: string | null;
395
372
  parent_document: string | null;
396
- created_by: number;
397
373
  } & {
398
374
  project: number;
399
375
  organization: null;
400
376
  } & {
401
377
  children_documents: string[];
402
- }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & {
378
+ }, "id" | "created_at" | "created_by">) | (import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
403
379
  title: string | null;
404
380
  description: string | null;
405
381
  content: string | null;
406
382
  parent_document: string | null;
407
- created_by: number;
408
383
  } & {
409
384
  organization: number;
410
385
  project: null;
@@ -412,12 +387,11 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
412
387
  children_documents: string[];
413
388
  } & {
414
389
  offline_id: string;
415
- } & Omit<import('../../typings/models/base').OfflineModel & {
390
+ } & Omit<import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
416
391
  title: string | null;
417
392
  description: string | null;
418
393
  content: string | null;
419
394
  parent_document: string | null;
420
- created_by: number;
421
395
  } & {
422
396
  organization: number;
423
397
  project: null;
@@ -18,39 +18,41 @@ export declare const formRevisionsSlice: import("@reduxjs/toolkit").Slice<FormRe
18
18
  deleteFormRevisionAttachment: (state: import("immer/dist/internal.js").WritableDraft<FormRevisionState>, action: PayloadAction<UserFormRevisionAttachment["offline_id"]>) => void;
19
19
  deleteFormRevisionAttachments: (state: import("immer/dist/internal.js").WritableDraft<FormRevisionState>, action: PayloadAction<UserFormRevisionAttachment["offline_id"][]>) => void;
20
20
  }, "formRevisions">;
21
- export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>, "formRevisions/setFormRevision">, setFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>[], "formRevisions/setFormRevisions">, addFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>, "formRevisions/addFormRevision">, addFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>[], "formRevisions/addFormRevisions">, deleteFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevision">, deleteFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisions">, setFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/setFormRevisionAttachments">, addFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>, "formRevisions/addFormRevisionAttachment">, addFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/addFormRevisionAttachments">, deleteFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevisionAttachment">, deleteFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisionAttachments">;
22
- export declare const selectFormRevisionMapping: (state: RootState) => Record<string, Stored<UserFormRevision<import("index.ts").ISerializedField>>>;
21
+ export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>, "formRevisions/setFormRevision">, setFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>[], "formRevisions/setFormRevisions">, addFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>, "formRevisions/addFormRevision">, addFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import('../../forms').ISerializedField>>[], "formRevisions/addFormRevisions">, deleteFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevision">, deleteFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisions">, setFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/setFormRevisionAttachments">, addFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>, "formRevisions/addFormRevisionAttachment">, addFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/addFormRevisionAttachments">, deleteFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevisionAttachment">, deleteFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisionAttachments">;
22
+ export declare const selectFormRevisionMapping: (state: RootState) => Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>;
23
23
  export declare const selectFormRevisions: ((state: import("redux").EmptyObject & {
24
- versioning: import('../slices/versioningSlice.ts').VersioningState;
25
- fileReducer: import("index.ts").FileState;
26
- authReducer: import("index.ts").AuthState;
27
- categoryReducer: import("index.ts").CategoryState;
28
- componentReducer: import("index.ts").ComponentState;
29
- componentStageCompletionReducer: import("index.ts").ComponentStageCompletionState;
30
- componentStageReducer: import("index.ts").ComponentStageState;
31
- componentTypeReducer: import("index.ts").ComponentTypeState;
32
- issueReducer: import("index.ts").IssueState;
33
- mapReducer: import("index.ts").MapState;
34
- organizationReducer: import("index.ts").OrganizationState;
35
- outboxReducer: import("index.ts").OutboxState;
36
- projectReducer: import("index.ts").ProjectState;
37
- projectAccessReducer: import("index.ts").ProjectAccessState;
38
- organizationAccessReducer: import("index.ts").OrganizationAccessState;
39
- projectFileReducer: import("index.ts").ProjectFileState;
40
- rehydratedReducer: import("index.ts").RehydratedState;
41
- settingReducer: import("index.ts").SettingState;
42
- formReducer: import("index.ts").FormState;
43
- userReducer: import("index.ts").UserState;
24
+ versioning: import('../slices/versioningSlice').VersioningState;
25
+ fileReducer: import('..').FileState;
26
+ authReducer: import('..').AuthState;
27
+ categoryReducer: import('..').CategoryState;
28
+ componentReducer: import('..').ComponentState;
29
+ componentStageCompletionReducer: import('..').ComponentStageCompletionState;
30
+ componentStageReducer: import('..').ComponentStageState;
31
+ componentTypeReducer: import('..').ComponentTypeState;
32
+ issueReducer: import('..').IssueState;
33
+ issueTypeReducer: import('..').IssueTypeState;
34
+ mapReducer: import('..').MapState;
35
+ organizationReducer: import('..').OrganizationState;
36
+ outboxReducer: import('..').OutboxState;
37
+ projectReducer: import('..').ProjectState;
38
+ projectAccessReducer: import('..').ProjectAccessState;
39
+ organizationAccessReducer: import('..').OrganizationAccessState;
40
+ projectFileReducer: import('..').ProjectFileState;
41
+ rehydratedReducer: import('..').RehydratedState;
42
+ settingReducer: import('..').SettingState;
43
+ formReducer: import('..').FormState;
44
+ userReducer: import('..').UserState;
44
45
  formRevisionReducer: FormRevisionState;
45
- formSubmissionReducer: import("index.ts").FormSubmissionState;
46
- workspaceReducer: import("index.ts").WorkspaceState;
47
- emailDomainsReducer: import("index.ts").EmailDomainState;
48
- licenseReducer: import("index.ts").LicenseState;
49
- documentsReducer: import("index.ts").DocumentState;
50
- teamReducer: import("index.ts").TeamState;
46
+ formSubmissionReducer: import('..').FormSubmissionState;
47
+ workspaceReducer: import('..').WorkspaceState;
48
+ emailDomainsReducer: import('..').EmailDomainState;
49
+ licenseReducer: import('..').LicenseState;
50
+ documentsReducer: import('..').DocumentState;
51
+ teamReducer: import('..').TeamState;
52
+ agentReducer: import('..').AgentState;
51
53
  } & {
52
54
  offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
53
- }) => Stored<UserFormRevision<import("index.ts").ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import("index.ts").ISerializedField>>>) => Stored<UserFormRevision<import("index.ts").ISerializedField>>[], {
55
+ }) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import('../../forms').ISerializedField>>>) => Stored<UserFormRevision<import('../../forms').ISerializedField>>[], {
54
56
  clearCache: () => void;
55
57
  }> & {
56
58
  clearCache: () => void;
@@ -25,6 +25,7 @@ export declare const formSlice: import("@reduxjs/toolkit").Slice<FormState, {
25
25
  export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPayload<((Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
26
26
  favorite: boolean;
27
27
  component_type?: string | undefined;
28
+ issue_type?: string | undefined;
28
29
  } & {
29
30
  owner_organization: number;
30
31
  owner_user: undefined;
@@ -36,6 +37,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
36
37
  }) | (Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
37
38
  favorite: boolean;
38
39
  component_type?: string | undefined;
40
+ issue_type?: string | undefined;
39
41
  } & {
40
42
  owner_organization: undefined;
41
43
  owner_user: number;
@@ -47,6 +49,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
47
49
  }))[], "forms/setForms">, addForm: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
48
50
  favorite: boolean;
49
51
  component_type?: string | undefined;
52
+ issue_type?: string | undefined;
50
53
  } & {
51
54
  owner_organization: number;
52
55
  owner_user: undefined;
@@ -58,6 +61,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
58
61
  }) | (Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
59
62
  favorite: boolean;
60
63
  component_type?: string | undefined;
64
+ issue_type?: string | undefined;
61
65
  } & {
62
66
  owner_organization: undefined;
63
67
  owner_user: number;
@@ -69,6 +73,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
69
73
  }), "forms/addForm">, addForms: import("@reduxjs/toolkit").ActionCreatorWithPayload<((Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
70
74
  favorite: boolean;
71
75
  component_type?: string | undefined;
76
+ issue_type?: string | undefined;
72
77
  } & {
73
78
  owner_organization: number;
74
79
  owner_user: undefined;
@@ -80,6 +85,7 @@ export declare const setForms: import("@reduxjs/toolkit").ActionCreatorWithPaylo
80
85
  }) | (Pick<import('../../typings/models/workspace').WorkspaceIndexedModel, "index_workspace"> & {
81
86
  favorite: boolean;
82
87
  component_type?: string | undefined;
88
+ issue_type?: string | undefined;
83
89
  } & {
84
90
  owner_organization: undefined;
85
91
  owner_user: number;
@@ -105,6 +111,7 @@ export declare const selectFilteredForms: SelectorWithArgs<FormSearchArgs, Cache
105
111
  export declare const selectForm: SelectorWithArgs<string, Stored<UserForm>>;
106
112
  export declare const selectFormMapping: Selector<Record<Stored<UserForm>["offline_id"], Stored<UserForm>>>;
107
113
  export declare const selectFormOfComponentType: SelectorWithArgs<string, Stored<UserForm>>;
114
+ export declare const selectFormOfIssueType: SelectorWithArgs<string, Stored<UserForm>>;
108
115
  export declare const selectFormsCount: Selector<number>;
109
116
  export declare const selectGeneralFormCount: Selector<number>;
110
117
  export declare const formReducer: Reducer<FormState>;
@@ -39,6 +39,8 @@ export declare const selectFormSubmissionsMapping: Selector<FormSubmissionState[
39
39
  export declare const selectFormSubmissions: Selector<Stored<UserFormSubmission>[]>;
40
40
  export declare const selectFormSubmission: SelectorWithArgs<string, Stored<UserFormSubmission>>;
41
41
  export declare const selectFormSubmissionsOfForm: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
42
+ export declare const selectFormSubmissionsByFormRevisions: Selector<Record<string, Stored<UserFormSubmission>[]>>;
43
+ export declare const selectSortedFormSubmissionsOfForm: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
42
44
  export declare const selectFormSubmissionsOfIssue: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
43
45
  export declare const selectFormSubmissionsOfComponent: SelectorWithArgs<string, Stored<UserFormSubmission>[]>;
44
46
  export declare const selectFormSubmissionsByComponents: Selector<Record<string, Stored<UserFormSubmission>[]>>;