mintly-lib 2.9.0-preview → 2.11.0-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/build/clients/financial-movement-client.d.ts +4 -2
  2. package/build/clients/financial-movement-client.d.ts.map +1 -1
  3. package/build/clients/financial-movement-client.js +4 -3
  4. package/build/clients/financial-movement-client.js.map +1 -1
  5. package/build/clients/index.d.ts +1 -0
  6. package/build/clients/index.d.ts.map +1 -1
  7. package/build/clients/index.js +3 -1
  8. package/build/clients/index.js.map +1 -1
  9. package/build/clients/report-client.d.ts +14 -0
  10. package/build/clients/report-client.d.ts.map +1 -0
  11. package/build/clients/report-client.js +22 -0
  12. package/build/clients/report-client.js.map +1 -0
  13. package/build/clients/restaurant-client.d.ts +14 -3
  14. package/build/clients/restaurant-client.d.ts.map +1 -1
  15. package/build/clients/restaurant-client.js +18 -2
  16. package/build/clients/restaurant-client.js.map +1 -1
  17. package/build/core/client/master-client.d.ts +2 -1
  18. package/build/core/client/master-client.d.ts.map +1 -1
  19. package/build/core/client/master-client.js +1 -0
  20. package/build/core/client/master-client.js.map +1 -1
  21. package/build/core/data/financial/financial-category-schema.d.ts +408 -7
  22. package/build/core/data/financial/financial-category-schema.d.ts.map +1 -1
  23. package/build/core/data/financial/financial-category-schema.js +34 -3
  24. package/build/core/data/financial/financial-category-schema.js.map +1 -1
  25. package/build/core/data/financial/financial-movement-response.d.ts +9 -0
  26. package/build/core/data/financial/financial-movement-response.d.ts.map +1 -1
  27. package/build/core/data/financial/financial-movement-schema.d.ts +100 -0
  28. package/build/core/data/financial/financial-movement-schema.d.ts.map +1 -1
  29. package/build/core/data/financial/financial-movement-schema.js +10 -0
  30. package/build/core/data/financial/financial-movement-schema.js.map +1 -1
  31. package/build/core/data/financial/index.d.ts +2 -2
  32. package/build/core/data/financial/index.d.ts.map +1 -1
  33. package/build/core/data/financial/index.js +2 -1
  34. package/build/core/data/financial/index.js.map +1 -1
  35. package/build/core/data/index.d.ts +1 -0
  36. package/build/core/data/index.d.ts.map +1 -1
  37. package/build/core/data/index.js +1 -0
  38. package/build/core/data/index.js.map +1 -1
  39. package/build/core/data/reports/cash-flow-response.d.ts +86 -0
  40. package/build/core/data/reports/cash-flow-response.d.ts.map +1 -0
  41. package/build/core/data/reports/cash-flow-response.js +3 -0
  42. package/build/core/data/reports/cash-flow-response.js.map +1 -0
  43. package/build/core/data/reports/index.d.ts +2 -0
  44. package/build/core/data/reports/index.d.ts.map +1 -0
  45. package/build/core/data/reports/index.js +18 -0
  46. package/build/core/data/reports/index.js.map +1 -0
  47. package/build/core/data/restaurant/index.d.ts +2 -1
  48. package/build/core/data/restaurant/index.d.ts.map +1 -1
  49. package/build/core/data/restaurant/index.js +18 -1
  50. package/build/core/data/restaurant/index.js.map +1 -1
  51. package/build/core/data/restaurant/restaurant-schema.d.ts +22 -0
  52. package/build/core/data/restaurant/restaurant-schema.d.ts.map +1 -1
  53. package/build/core/data/restaurant/restaurant-schema.js +18 -1
  54. package/build/core/data/restaurant/restaurant-schema.js.map +1 -1
  55. package/build/core/data/restaurant/restaurant-tax.d.ts +64 -0
  56. package/build/core/data/restaurant/restaurant-tax.d.ts.map +1 -0
  57. package/build/core/data/restaurant/restaurant-tax.js +3 -0
  58. package/build/core/data/restaurant/restaurant-tax.js.map +1 -0
  59. package/package.json +1 -1
@@ -5,16 +5,31 @@ export declare enum CategoryType {
5
5
  }
6
6
  export declare enum CategoryBehavior {
7
7
  Fixed = "fixed",
8
- Variable = "variable"
8
+ Variable = "variable",
9
+ /** Parte fixa, parte variável (ex.: utilidades). No ponto de equilíbrio: N8, fatia 4. */
10
+ Mixed = "mixed"
11
+ }
12
+ /**
13
+ * Classificação contábil da DESPESA no DRE (M2). Só existe em categoria de
14
+ * despesa — por isso a união discriminada por `type` abaixo.
15
+ * - cmv: ingredientes e insumos (margem bruta)
16
+ * - labor: pró-labore e salários (prime cost)
17
+ * - tax: imposto — sai da despesa operacional; o DRE deduz pela alíquota (M5)
18
+ * - opex: demais despesas operacionais
19
+ */
20
+ export declare enum DreGroup {
21
+ Cmv = "cmv",
22
+ Labor = "labor",
23
+ Tax = "tax",
24
+ Opex = "opex"
9
25
  }
10
26
  export declare enum OperationalNature {
11
27
  Operational = "operational",
12
28
  NonOperational = "nonOperational"
13
29
  }
14
- export declare const financialCategorySchema: import("@ascendance-hub/sapphire-core").ObjectField<{
30
+ export declare const financialCategorySchema: import("@ascendance-hub/sapphire-core").UnionField<(import("@ascendance-hub/sapphire-core").ObjectField<Omit<{
15
31
  restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
16
32
  name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
17
- type: import("@ascendance-hub/sapphire-core").EnumField<CategoryType, CategoryType, CategoryType>;
18
33
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
19
34
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
20
35
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
@@ -63,10 +78,11 @@ export declare const financialCategorySchema: import("@ascendance-hub/sapphire-c
63
78
  createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
64
79
  updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
65
80
  }>>;
66
- }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
81
+ }, "type"> & {
82
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
83
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
67
84
  restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
68
85
  name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
69
- type: import("@ascendance-hub/sapphire-core").EnumField<CategoryType, CategoryType, CategoryType>;
70
86
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
71
87
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
72
88
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
@@ -115,10 +131,386 @@ export declare const financialCategorySchema: import("@ascendance-hub/sapphire-c
115
131
  createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
116
132
  updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
117
133
  }>>;
118
- }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
134
+ }, "type"> & {
135
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
136
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
137
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
138
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
139
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
140
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
141
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
142
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
143
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
144
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
145
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
146
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
147
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
148
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
149
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
150
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
151
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
152
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
153
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
154
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
155
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
156
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
157
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
158
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
159
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
160
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
161
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
162
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
163
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
164
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
165
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
166
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
167
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
168
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
169
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
170
+ }>[] | undefined>;
171
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
172
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
173
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
174
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
175
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
176
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
177
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
178
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
179
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
180
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
181
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
182
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
183
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
184
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
185
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
186
+ }>>;
187
+ }, "type"> & {
188
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
189
+ }>> | import("@ascendance-hub/sapphire-core").ObjectField<Omit<{
190
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
191
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
192
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
193
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
194
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
195
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
196
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
197
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
198
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
199
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
200
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
201
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
202
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
203
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
204
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
205
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
206
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
207
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
208
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
209
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
210
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
211
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
212
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
213
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
214
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
215
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
216
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
217
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
218
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
219
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
220
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
221
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
222
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
223
+ }>[] | undefined>;
224
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
225
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
226
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
227
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
228
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
229
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
230
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
231
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
232
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
233
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
234
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
235
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
236
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
237
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
238
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
239
+ }>>;
240
+ }, "type" | "dreGroup"> & {
241
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
242
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup, DreGroup>;
243
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
244
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
245
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
246
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
247
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
248
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
249
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
250
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
251
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
252
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
253
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
254
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
255
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
256
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
257
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
258
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
259
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
260
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
261
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
262
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
263
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
264
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
265
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
266
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
267
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
268
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
269
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
270
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
271
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
272
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
273
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
274
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
275
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
276
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
277
+ }>[] | undefined>;
278
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
279
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
280
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
281
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
282
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
283
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
284
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
285
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
286
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
287
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
288
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
289
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
290
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
291
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
292
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
293
+ }>>;
294
+ }, "type" | "dreGroup"> & {
295
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
296
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup, DreGroup>;
297
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
298
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
299
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
300
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
301
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
302
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
303
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
304
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
305
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
306
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
307
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
308
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
309
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
310
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
311
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
312
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
313
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
314
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
315
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
316
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
317
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
318
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
319
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
320
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
321
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
322
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
323
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
324
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
325
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
326
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
327
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
328
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
329
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
330
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
331
+ }>[] | undefined>;
332
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
333
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
334
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
335
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
336
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
337
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
338
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
339
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
340
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
341
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
342
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
343
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
344
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
345
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
346
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
347
+ }>>;
348
+ }, "type" | "dreGroup"> & {
349
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
350
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup, DreGroup>;
351
+ }>>)[], import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
352
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
353
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
354
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
355
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
356
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
357
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
358
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
359
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
360
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
361
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
362
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
363
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
364
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
365
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
366
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
367
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
368
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
369
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
370
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
371
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
372
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
373
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
374
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
375
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
376
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
377
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
378
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
379
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
380
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
381
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
382
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
383
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
384
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
385
+ }>[] | undefined>;
386
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
387
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
388
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
389
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
390
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
391
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
392
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
393
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
394
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
395
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
396
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
397
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
398
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
399
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
400
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
401
+ }>>;
402
+ }, "type"> & {
403
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
404
+ }> | import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
405
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
406
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
407
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
408
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
409
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
410
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
411
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
412
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
413
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
414
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
415
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
416
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
417
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
418
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
419
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
420
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
421
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
422
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
423
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
424
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
425
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
426
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
427
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
428
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
429
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
430
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
431
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
432
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
433
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
434
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
435
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
436
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
437
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
438
+ }>[] | undefined>;
439
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
440
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
441
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
442
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
443
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
444
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
445
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
446
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
447
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
448
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
449
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
450
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
451
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
452
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
453
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
454
+ }>>;
455
+ }, "type" | "dreGroup"> & {
456
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
457
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup, DreGroup>;
458
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
459
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
460
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
461
+ behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
462
+ operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
463
+ status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
464
+ isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean, boolean>;
465
+ usage: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
466
+ lastUsedAt: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
467
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
468
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
469
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
470
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
471
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
472
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
473
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
474
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
475
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
476
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
477
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
478
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
479
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
480
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
481
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
482
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
483
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
484
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
485
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
486
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
487
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
488
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
489
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
490
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
491
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
492
+ }>[] | undefined>;
493
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
494
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
495
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
496
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
497
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
498
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
499
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
500
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
501
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
502
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
503
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
504
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
505
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
506
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
507
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
508
+ }>>;
509
+ }, "type"> & {
510
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
511
+ }> | import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
119
512
  restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
120
513
  name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
121
- type: import("@ascendance-hub/sapphire-core").EnumField<CategoryType, CategoryType, CategoryType>;
122
514
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
123
515
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
124
516
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
@@ -167,6 +559,9 @@ export declare const financialCategorySchema: import("@ascendance-hub/sapphire-c
167
559
  createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
168
560
  updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
169
561
  }>>;
562
+ }, "type" | "dreGroup"> & {
563
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
564
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup, DreGroup>;
170
565
  }>>;
171
566
  export declare const financialCategoryUpdateSchema: import("@ascendance-hub/sapphire-core").ObjectField<{
172
567
  name: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
@@ -174,18 +569,21 @@ export declare const financialCategoryUpdateSchema: import("@ascendance-hub/sapp
174
569
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior | undefined, CategoryBehavior | undefined>;
175
570
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature | undefined, OperationalNature | undefined>;
176
571
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus | undefined, RecordStatus | undefined>;
572
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup | undefined, DreGroup | undefined>;
177
573
  }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
178
574
  name: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
179
575
  type: import("@ascendance-hub/sapphire-core").EnumField<CategoryType, CategoryType | undefined, CategoryType | undefined>;
180
576
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior | undefined, CategoryBehavior | undefined>;
181
577
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature | undefined, OperationalNature | undefined>;
182
578
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus | undefined, RecordStatus | undefined>;
579
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup | undefined, DreGroup | undefined>;
183
580
  }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
184
581
  name: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
185
582
  type: import("@ascendance-hub/sapphire-core").EnumField<CategoryType, CategoryType | undefined, CategoryType | undefined>;
186
583
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior | undefined, CategoryBehavior | undefined>;
187
584
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature | undefined, OperationalNature | undefined>;
188
585
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus | undefined, RecordStatus | undefined>;
586
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup | undefined, DreGroup | undefined>;
189
587
  }>>;
190
588
  export declare const financialCategoryInsertSchema: import("@ascendance-hub/sapphire-core").ObjectField<{
191
589
  name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
@@ -193,6 +591,7 @@ export declare const financialCategoryInsertSchema: import("@ascendance-hub/sapp
193
591
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
194
592
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
195
593
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
594
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup | undefined, DreGroup | undefined>;
196
595
  restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
197
596
  isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
198
597
  usage: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
@@ -245,6 +644,7 @@ export declare const financialCategoryInsertSchema: import("@ascendance-hub/sapp
245
644
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
246
645
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
247
646
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
647
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup | undefined, DreGroup | undefined>;
248
648
  restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
249
649
  isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
250
650
  usage: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
@@ -297,6 +697,7 @@ export declare const financialCategoryInsertSchema: import("@ascendance-hub/sapp
297
697
  behavior: import("@ascendance-hub/sapphire-core").EnumField<CategoryBehavior, CategoryBehavior, CategoryBehavior>;
298
698
  operationalNature: import("@ascendance-hub/sapphire-core").EnumField<OperationalNature, OperationalNature, OperationalNature>;
299
699
  status: import("@ascendance-hub/sapphire-core").EnumField<RecordStatus, RecordStatus, RecordStatus>;
700
+ dreGroup: import("@ascendance-hub/sapphire-core").EnumField<DreGroup, DreGroup | undefined, DreGroup | undefined>;
300
701
  restaurantId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
301
702
  isSystem: import("@ascendance-hub/sapphire-core").BooleanField<boolean | undefined, boolean | undefined>;
302
703
  usage: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"financial-category-schema.d.ts","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-category-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAK/C,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,oBAAY,iBAAiB;IAC3B,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;CAClC;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBlC,CAAA;AAMF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;GAM9B,CAAA;AAQZ,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBxC,CAAA"}
1
+ {"version":3,"file":"financial-category-schema.d.ts","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-category-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAK/C,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,yFAAyF;IACzF,KAAK,UAAU;CAChB;AAED;;;;;;;GAOG;AACH,oBAAY,QAAQ;IAClB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,IAAI,SAAS;CACd;AAED,oBAAY,iBAAiB;IAC3B,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;CAClC;AAoCD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAA;AAMrG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;GAQ9B,CAAA;AAQZ,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBxC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.financialCategoryInsertSchema = exports.financialCategoryUpdateSchema = exports.financialCategorySchema = exports.OperationalNature = exports.CategoryBehavior = exports.CategoryType = void 0;
3
+ exports.financialCategoryInsertSchema = exports.financialCategoryUpdateSchema = exports.financialCategorySchema = exports.OperationalNature = exports.DreGroup = exports.CategoryBehavior = exports.CategoryType = void 0;
4
4
  const sapphire_core_1 = require("@ascendance-hub/sapphire-core");
5
5
  const status_1 = require("../common/status");
6
6
  const audit_1 = require("../common/audit");
@@ -14,16 +14,32 @@ var CategoryBehavior;
14
14
  (function (CategoryBehavior) {
15
15
  CategoryBehavior["Fixed"] = "fixed";
16
16
  CategoryBehavior["Variable"] = "variable";
17
+ /** Parte fixa, parte variável (ex.: utilidades). No ponto de equilíbrio: N8, fatia 4. */
18
+ CategoryBehavior["Mixed"] = "mixed";
17
19
  })(CategoryBehavior || (exports.CategoryBehavior = CategoryBehavior = {}));
20
+ /**
21
+ * Classificação contábil da DESPESA no DRE (M2). Só existe em categoria de
22
+ * despesa — por isso a união discriminada por `type` abaixo.
23
+ * - cmv: ingredientes e insumos (margem bruta)
24
+ * - labor: pró-labore e salários (prime cost)
25
+ * - tax: imposto — sai da despesa operacional; o DRE deduz pela alíquota (M5)
26
+ * - opex: demais despesas operacionais
27
+ */
28
+ var DreGroup;
29
+ (function (DreGroup) {
30
+ DreGroup["Cmv"] = "cmv";
31
+ DreGroup["Labor"] = "labor";
32
+ DreGroup["Tax"] = "tax";
33
+ DreGroup["Opex"] = "opex";
34
+ })(DreGroup || (exports.DreGroup = DreGroup = {}));
18
35
  var OperationalNature;
19
36
  (function (OperationalNature) {
20
37
  OperationalNature["Operational"] = "operational";
21
38
  OperationalNature["NonOperational"] = "nonOperational";
22
39
  })(OperationalNature || (exports.OperationalNature = OperationalNature = {}));
23
- exports.financialCategorySchema = s.object({
40
+ const baseCategorySchema = s.object({
24
41
  restaurantId: s.string(),
25
42
  name: s.string(),
26
- type: s.type().enum(CategoryType),
27
43
  behavior: s.type().enum(CategoryBehavior),
28
44
  operationalNature: s.type().enum(OperationalNature),
29
45
  status: s.type().enum(status_1.RecordStatus),
@@ -40,6 +56,17 @@ exports.financialCategorySchema = s.object({
40
56
  })).default([]),
41
57
  audit: audit_1.auditSchema,
42
58
  });
59
+ // União discriminada por `type` (mesmo recurso do financialAccountSchema): só
60
+ // despesa tem dreGroup, e nela ele é obrigatório. O Sapphire não tem `refine`,
61
+ // então é assim que a coerência tipo × grupo fica no contrato.
62
+ const revenueCategorySchema = baseCategorySchema.extend({
63
+ type: s.type().literal(CategoryType.Revenue),
64
+ });
65
+ const expenseCategorySchema = baseCategorySchema.extend({
66
+ type: s.type().literal(CategoryType.Expense),
67
+ dreGroup: s.type().enum(DreGroup),
68
+ });
69
+ exports.financialCategorySchema = s.type().union([revenueCategorySchema, expenseCategorySchema]);
43
70
  // Campos editáveis via PATCH — mesmo padrão do financialAccountUpdateSchema:
44
71
  // objeto achatado + .partial(). restaurantId, isSystem, usage, lastUsedAt,
45
72
  // history e audit ficam de fora de propósito (protegidos/computados pelo
@@ -50,6 +77,8 @@ exports.financialCategoryUpdateSchema = s.object({
50
77
  behavior: s.type().enum(CategoryBehavior),
51
78
  operationalNature: s.type().enum(OperationalNature),
52
79
  status: s.type().enum(status_1.RecordStatus),
80
+ // a coerência com o tipo GRAVADO é validada na API (category-rules)
81
+ dreGroup: s.type().enum(DreGroup),
53
82
  }).partial();
54
83
  // Schema de INSERT (POST /financial-categories). Diferente do schema completo
55
84
  // (entity), os campos que o servidor computa/força ficam OPCIONAIS — assim o
@@ -63,6 +92,8 @@ exports.financialCategoryInsertSchema = s.object({
63
92
  behavior: s.type().enum(CategoryBehavior),
64
93
  operationalNature: s.type().enum(OperationalNature),
65
94
  status: s.type().enum(status_1.RecordStatus),
95
+ // opcional: a API completa com 'opex' em despesa e recusa em receita
96
+ dreGroup: s.type().enum(DreGroup).optional(),
66
97
  restaurantId: s.string().optional(),
67
98
  isSystem: s.boolean().optional(),
68
99
  usage: s.number().int().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"financial-category-schema.js","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-category-schema.ts"],"names":[],"mappings":";;;AAAA,iEAAwD;AACxD,6CAA+C;AAC/C,2CAA6C;AAE7C,MAAM,CAAC,GAAG,IAAI,wBAAQ,EAAE,CAAA;AAExB,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAED,IAAY,gBAG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U,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,OAAO,EAAE,CAAC,CAAC,KAAK,CACd,CAAC,CAAC,MAAM,CAAC;QACP,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE;QACrB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;QAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC,CACH,CAAC,QAAQ,EAAE;IACZ,KAAK,EAAE,mBAAW,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA"}
1
+ {"version":3,"file":"financial-category-schema.js","sourceRoot":"","sources":["../../../../src/core/data/financial/financial-category-schema.ts"],"names":[],"mappings":";;;AAAA,iEAAwD;AACxD,6CAA+C;AAC/C,2CAA6C;AAE7C,MAAM,CAAC,GAAG,IAAI,wBAAQ,EAAE,CAAA;AAExB,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;AACrB,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAED,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,yCAAqB,CAAA;IACrB,yFAAyF;IACzF,mCAAe,CAAA;AACjB,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B;AAED;;;;;;;GAOG;AACH,IAAY,QAKX;AALD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,2BAAe,CAAA;IACf,uBAAW,CAAA;IACX,yBAAa,CAAA;AACf,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,gDAA2B,CAAA;IAC3B,sDAAiC,CAAA;AACnC,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,MAAM,kBAAkB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