mintly-lib 2.3.0-preview → 2.5.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 (25) hide show
  1. package/build/clients/financial-account-client.d.ts +7 -0
  2. package/build/clients/financial-account-client.d.ts.map +1 -1
  3. package/build/clients/financial-account-client.js +11 -0
  4. package/build/clients/financial-account-client.js.map +1 -1
  5. package/build/core/data/financial/financial-account-response.d.ts +9 -0
  6. package/build/core/data/financial/financial-account-response.d.ts.map +1 -0
  7. package/build/core/data/financial/financial-account-response.js +3 -0
  8. package/build/core/data/financial/financial-account-response.js.map +1 -0
  9. package/build/core/data/financial/financial-category-schema.d.ts +103 -0
  10. package/build/core/data/financial/financial-category-schema.d.ts.map +1 -1
  11. package/build/core/data/financial/financial-category-schema.js +22 -1
  12. package/build/core/data/financial/financial-category-schema.js.map +1 -1
  13. package/build/core/data/financial/financial-movement-entity.d.ts +5 -0
  14. package/build/core/data/financial/financial-movement-entity.d.ts.map +1 -0
  15. package/build/core/data/financial/financial-movement-entity.js +3 -0
  16. package/build/core/data/financial/financial-movement-entity.js.map +1 -0
  17. package/build/core/data/financial/financial-movement-schema.d.ts +1020 -0
  18. package/build/core/data/financial/financial-movement-schema.d.ts.map +1 -0
  19. package/build/core/data/financial/financial-movement-schema.js +123 -0
  20. package/build/core/data/financial/financial-movement-schema.js.map +1 -0
  21. package/build/core/data/financial/index.d.ts +4 -1
  22. package/build/core/data/financial/index.d.ts.map +1 -1
  23. package/build/core/data/financial/index.js +9 -1
  24. package/build/core/data/financial/index.js.map +1 -1
  25. package/package.json +1 -1
@@ -0,0 +1,1020 @@
1
+ import { FinancialAccountType } from './financial-account-schema';
2
+ import { CategoryType } from './financial-category-schema';
3
+ /**
4
+ * Schema unificado de movimentação financeira (MIN-49/50, modelo único).
5
+ * Collection `financial_movements` (snake_case); campos camelCase.
6
+ *
7
+ * Dinheiro (grossValue/feeValue/netValue) é modelado aqui logicamente como
8
+ * `number` (sapphire-core). O Decimal128 é aplicado no lado da API na
9
+ * persistência, via driver do mongo (`Decimal128` + `$inc`) — NÃO via
10
+ * sapphire-bson: ele só gera validator de collection e não suporta `decimal`
11
+ * (mapeia number -> bsonType 'number'). Ver Sapphire issue #39.
12
+ */
13
+ export declare enum MovementDirection {
14
+ In = "in",
15
+ Out = "out"
16
+ }
17
+ export declare enum MovementStatus {
18
+ Pending = "pending",
19
+ Settled = "settled",
20
+ Cancelled = "cancelled"
21
+ }
22
+ export declare enum PaymentMethod {
23
+ Cash = "cash",
24
+ Pix = "pix",
25
+ Debit = "debit",
26
+ Credit = "credit",
27
+ Transfer = "transfer",
28
+ Boleto = "boleto",
29
+ DigitalWallet = "digitalWallet"
30
+ }
31
+ export declare enum MovementOrigin {
32
+ Manual = "manual",
33
+ Sefaz = "sefaz"
34
+ }
35
+ export declare enum CounterpartyKind {
36
+ Client = "client",
37
+ Supplier = "supplier"
38
+ }
39
+ export declare const financialMovementSchema: import("@ascendance-hub/sapphire-core").UnionField<(import("@ascendance-hub/sapphire-core").ObjectField<Omit<{
40
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
41
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
42
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
43
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
44
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
45
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
46
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
47
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
48
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
49
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
50
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
51
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
52
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
53
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
54
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
55
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
56
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
57
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
58
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
59
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
60
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
61
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
62
+ }>>;
63
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
64
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
65
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
66
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
67
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
68
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
69
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
70
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
71
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
72
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
73
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
74
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
75
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
76
+ }> | undefined>;
77
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
78
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
79
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
80
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
81
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
82
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
83
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
84
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
85
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
86
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
87
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
88
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
89
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
90
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
91
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
92
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
93
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
94
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
95
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
96
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
97
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
98
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
99
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
100
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
101
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
102
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
103
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
104
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
105
+ }>[] | undefined>;
106
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
107
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
108
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
109
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
110
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
111
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
112
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
113
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
114
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
115
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
116
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
117
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
118
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
119
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
120
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
121
+ }>>;
122
+ }, "direction" | "category"> & {
123
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.In, MovementDirection.In, MovementDirection.In>;
124
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
125
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
126
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
127
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
128
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
129
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
130
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
131
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
132
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
133
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
134
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
135
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
136
+ }>>;
137
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
138
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
139
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
140
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
141
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
142
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
143
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
144
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
145
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
146
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
147
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
148
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
149
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
150
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
151
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
152
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
153
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
154
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
155
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
156
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
157
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
158
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
159
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
160
+ }>>;
161
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
162
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
163
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
164
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
165
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
166
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
167
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
168
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
169
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
170
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
171
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
172
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
173
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
174
+ }> | undefined>;
175
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
176
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
177
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
178
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
179
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
180
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
181
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
182
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
183
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
184
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
185
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
186
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
187
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
188
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
189
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
190
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
191
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
192
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
193
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
194
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
195
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
196
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
197
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
198
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
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
+ }>[] | undefined>;
204
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
205
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
206
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
207
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
208
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
209
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
210
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
211
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
212
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
213
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
214
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
215
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
216
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
217
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
218
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
219
+ }>>;
220
+ }, "direction" | "category"> & {
221
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.In, MovementDirection.In, MovementDirection.In>;
222
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
223
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
224
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
225
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
226
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
227
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
228
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
229
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
230
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
231
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
232
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
233
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
234
+ }>>;
235
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
236
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
237
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
238
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
239
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
240
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
241
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
242
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
243
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
244
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
245
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
246
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
247
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
248
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
249
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
250
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
251
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
252
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
253
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
254
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
255
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
256
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
257
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
258
+ }>>;
259
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
260
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
261
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
262
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
263
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
264
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
265
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
266
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
267
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
268
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
269
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
270
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
271
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
272
+ }> | undefined>;
273
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
274
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
275
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
276
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
277
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
278
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
279
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
280
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
281
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
282
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
283
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
284
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
285
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
286
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
287
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
288
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
289
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
290
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
291
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
292
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
293
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
294
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
295
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
296
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
297
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
298
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
299
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
300
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
301
+ }>[] | undefined>;
302
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
303
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
304
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
305
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
306
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
307
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
308
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
309
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
310
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
311
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
312
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
313
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
314
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
315
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
316
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
317
+ }>>;
318
+ }, "direction" | "category"> & {
319
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.In, MovementDirection.In, MovementDirection.In>;
320
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
321
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
322
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
323
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
324
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
325
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
326
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
327
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
328
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
329
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
330
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
331
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
332
+ }>>;
333
+ }>> | import("@ascendance-hub/sapphire-core").ObjectField<Omit<{
334
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
335
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
336
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
337
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
338
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
339
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
340
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
341
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
342
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
343
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
344
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
345
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
346
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
347
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
348
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
349
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
350
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
351
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
352
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
353
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
354
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
355
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
356
+ }>>;
357
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
358
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
359
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
360
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
361
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
362
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
363
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
364
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
365
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
366
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
367
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
368
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
369
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
370
+ }> | undefined>;
371
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
372
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
373
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
374
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
375
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
376
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
377
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
378
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
379
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
380
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
381
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
382
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
383
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
384
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
385
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
386
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
387
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
388
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
389
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
390
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
391
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
392
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
393
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
394
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
395
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
396
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
397
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
398
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
399
+ }>[] | undefined>;
400
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
401
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
402
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
403
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
404
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
405
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
406
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
407
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
408
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
409
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
410
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
411
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
412
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
413
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
414
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
415
+ }>>;
416
+ }, "direction" | "category"> & {
417
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.Out, MovementDirection.Out, MovementDirection.Out>;
418
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
419
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
420
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
421
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
422
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
423
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
424
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
425
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
426
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
427
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
428
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
429
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
430
+ }>>;
431
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
432
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
433
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
434
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
435
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
436
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
437
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
438
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
439
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
440
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
441
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
442
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
443
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
444
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
445
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
446
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
447
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
448
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
449
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
450
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
451
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
452
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
453
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
454
+ }>>;
455
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
456
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
457
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
458
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
459
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
460
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
461
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
462
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
463
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
464
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
465
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
466
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
467
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
468
+ }> | undefined>;
469
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
470
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
471
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
472
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
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").ObjectOutput<{
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").ObjectInput<{
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").ObjectOutput<{
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
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
493
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
494
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
495
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
496
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
497
+ }>[] | undefined>;
498
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
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").ObjectOutput<{
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
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
509
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
510
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
511
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
512
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
513
+ }>>;
514
+ }, "direction" | "category"> & {
515
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.Out, MovementDirection.Out, MovementDirection.Out>;
516
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
517
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
518
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
519
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
520
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
521
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
522
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
523
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
524
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
525
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
526
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
527
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
528
+ }>>;
529
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
530
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
531
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
532
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
533
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
534
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
535
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
536
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
537
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
538
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
539
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
540
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
541
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
542
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
543
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
544
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
545
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
546
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
547
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
548
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
549
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
550
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
551
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
552
+ }>>;
553
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
554
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
555
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
556
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
557
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
558
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
559
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
560
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
561
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
562
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
563
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
564
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
565
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
566
+ }> | undefined>;
567
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
568
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
569
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
570
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
571
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
572
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
573
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
574
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
575
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
576
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
577
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
578
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
579
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
580
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
581
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
582
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
583
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
584
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
585
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
586
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
587
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
588
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
589
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
590
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
591
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
592
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
593
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
594
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
595
+ }>[] | undefined>;
596
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
597
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
598
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
599
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
600
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
601
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
602
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
603
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
604
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
605
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
606
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
607
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
608
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
609
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
610
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
611
+ }>>;
612
+ }, "direction" | "category"> & {
613
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.Out, MovementDirection.Out, MovementDirection.Out>;
614
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
615
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
616
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
617
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
618
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
619
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
620
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
621
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
622
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
623
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
624
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
625
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
626
+ }>>;
627
+ }>>)[], import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
628
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
629
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
630
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
631
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
632
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
633
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
634
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
635
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
636
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
637
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
638
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
639
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
640
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
641
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
642
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
643
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
644
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
645
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
646
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
647
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
648
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
649
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
650
+ }>>;
651
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
652
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
653
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
654
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
655
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
656
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
657
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
658
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
659
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
660
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
661
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
662
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
663
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
664
+ }> | undefined>;
665
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
666
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
667
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
668
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
669
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
670
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
671
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
672
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
673
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
674
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
675
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
676
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
677
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
678
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
679
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
680
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
681
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
682
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
683
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
684
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
685
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
686
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
687
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
688
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
689
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
690
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
691
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
692
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
693
+ }>[] | undefined>;
694
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
695
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
696
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
697
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
698
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
699
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
700
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
701
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
702
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
703
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
704
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
705
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
706
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
707
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
708
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
709
+ }>>;
710
+ }, "direction" | "category"> & {
711
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.In, MovementDirection.In, MovementDirection.In>;
712
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
713
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
714
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
715
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
716
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
717
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
718
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
719
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
720
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
721
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
722
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
723
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
724
+ }>>;
725
+ }> | import("@ascendance-hub/sapphire-core").ObjectOutput<Omit<{
726
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
727
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
728
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
729
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
730
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
731
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
732
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
733
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
734
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
735
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
736
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
737
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
738
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
739
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
740
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
741
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
742
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
743
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
744
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
745
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
746
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
747
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
748
+ }>>;
749
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
750
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
751
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
752
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
753
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
754
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
755
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
756
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
757
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
758
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
759
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
760
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
761
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
762
+ }> | undefined>;
763
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
764
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
765
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
766
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
767
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
768
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
769
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
770
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
771
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
772
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
773
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
774
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
775
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
776
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
777
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
778
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
779
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
780
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
781
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
782
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
783
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
784
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
785
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
786
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
787
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
788
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
789
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
790
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
791
+ }>[] | undefined>;
792
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
793
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
794
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
795
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
796
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
797
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
798
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
799
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
800
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
801
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
802
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
803
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
804
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
805
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
806
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
807
+ }>>;
808
+ }, "direction" | "category"> & {
809
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.Out, MovementDirection.Out, MovementDirection.Out>;
810
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
811
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
812
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
813
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
814
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
815
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
816
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
817
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
818
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
819
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
820
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
821
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
822
+ }>>;
823
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
824
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
825
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
826
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
827
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
828
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
829
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
830
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
831
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
832
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
833
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
834
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
835
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
836
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
837
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
838
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
839
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
840
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
841
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
842
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
843
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
844
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
845
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
846
+ }>>;
847
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
848
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
849
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
850
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
851
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
852
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
853
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
854
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
855
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
856
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
857
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
858
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
859
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
860
+ }> | undefined>;
861
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
862
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
863
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
864
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
865
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
866
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
867
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
868
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
869
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
870
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
871
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
872
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
873
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
874
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
875
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
876
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
877
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
878
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
879
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
880
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
881
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
882
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
883
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
884
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
885
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
886
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
887
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
888
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
889
+ }>[] | undefined>;
890
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
891
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
892
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
893
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
894
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
895
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
896
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
897
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
898
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
899
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
900
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
901
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
902
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
903
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
904
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
905
+ }>>;
906
+ }, "direction" | "category"> & {
907
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.In, MovementDirection.In, MovementDirection.In>;
908
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
909
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
910
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
911
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
912
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
913
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
914
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
915
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
916
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
917
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
918
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
919
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Revenue, CategoryType.Revenue, CategoryType.Revenue>;
920
+ }>>;
921
+ }> | import("@ascendance-hub/sapphire-core").ObjectInput<Omit<{
922
+ restaurantId: import("@ascendance-hub/sapphire-core").StringField<string, string>;
923
+ title: import("@ascendance-hub/sapphire-core").StringField<string, string>;
924
+ status: import("@ascendance-hub/sapphire-core").EnumField<MovementStatus, MovementStatus, MovementStatus>;
925
+ date: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
926
+ grossValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
927
+ feeValue: import("@ascendance-hub/sapphire-core").NumberField<number, number | undefined>;
928
+ netValue: import("@ascendance-hub/sapphire-core").NumberField<number, number>;
929
+ feePercentApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
930
+ settlementDaysApplied: import("@ascendance-hub/sapphire-core").NumberField<number | undefined, number | undefined>;
931
+ predictedReceiptDate: import("@ascendance-hub/sapphire-core").DateField<Date | undefined, Date | undefined>;
932
+ account: import("@ascendance-hub/sapphire-core").ObjectField<{
933
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
934
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
935
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
936
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
937
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
938
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
939
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
940
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
941
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
942
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
943
+ type: import("@ascendance-hub/sapphire-core").EnumField<FinancialAccountType, FinancialAccountType, FinancialAccountType>;
944
+ }>>;
945
+ paymentMethod: import("@ascendance-hub/sapphire-core").EnumField<PaymentMethod, PaymentMethod, PaymentMethod>;
946
+ counterparty: import("@ascendance-hub/sapphire-core").ObjectField<{
947
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
948
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
949
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
950
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
951
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
952
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
953
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
954
+ }> | undefined, import("@ascendance-hub/sapphire-core").ObjectInput<{
955
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
956
+ kind: import("@ascendance-hub/sapphire-core").EnumField<CounterpartyKind, CounterpartyKind, CounterpartyKind>;
957
+ refId: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
958
+ }> | undefined>;
959
+ fiscalNote: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
960
+ description: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
961
+ origin: import("@ascendance-hub/sapphire-core").EnumField<MovementOrigin, MovementOrigin, MovementOrigin>;
962
+ history: import("@ascendance-hub/sapphire-core").ArrayField<import("@ascendance-hub/sapphire-core").ObjectField<{
963
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
964
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
965
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
966
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
967
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
968
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
969
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
970
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
971
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
972
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
973
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
974
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
975
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
976
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
977
+ }>>, import("@ascendance-hub/sapphire-core").ObjectOutput<{
978
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
979
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
980
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
981
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
982
+ }>[], import("@ascendance-hub/sapphire-core").ObjectInput<{
983
+ at: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
984
+ by: import("@ascendance-hub/sapphire-core").StringField<string, string>;
985
+ action: import("@ascendance-hub/sapphire-core").StringField<string, string>;
986
+ detail: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
987
+ }>[] | undefined>;
988
+ audit: import("@ascendance-hub/sapphire-core").ObjectField<{
989
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
990
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
991
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
992
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
993
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
994
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
995
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
996
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
997
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
998
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
999
+ createdAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
1000
+ updatedAt: import("@ascendance-hub/sapphire-core").DateField<Date, Date>;
1001
+ createdBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
1002
+ updatedBy: import("@ascendance-hub/sapphire-core").StringField<string | undefined, string | undefined>;
1003
+ }>>;
1004
+ }, "direction" | "category"> & {
1005
+ direction: import("@ascendance-hub/sapphire-core").LiteralField<MovementDirection.Out, MovementDirection.Out, MovementDirection.Out>;
1006
+ category: import("@ascendance-hub/sapphire-core").ObjectField<{
1007
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
1008
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
1009
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
1010
+ }, import("@ascendance-hub/sapphire-core").ObjectOutput<{
1011
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
1012
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
1013
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
1014
+ }>, import("@ascendance-hub/sapphire-core").ObjectInput<{
1015
+ _id: import("@ascendance-hub/sapphire-core").StringField<string, string>;
1016
+ name: import("@ascendance-hub/sapphire-core").StringField<string, string>;
1017
+ type: import("@ascendance-hub/sapphire-core").LiteralField<CategoryType.Expense, CategoryType.Expense, CategoryType.Expense>;
1018
+ }>>;
1019
+ }>>;
1020
+ //# sourceMappingURL=financial-movement-schema.d.ts.map