@flowselections/logistiek-engine 1.0.239 → 1.0.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/db/schema/logistiek-engine.sql +1341 -0
- package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -1
- package/dist-lib/components/GeblokkeerdeOrdersCard.js +2 -2
- package/dist-lib/components/KarplanStatusCard.d.ts.map +1 -1
- package/dist-lib/components/KarplanStatusCard.js +7 -2
- package/dist-lib/components/StandaardgegevensCard.d.ts.map +1 -1
- package/dist-lib/components/StandaardgegevensCard.js +43 -3
- package/dist-lib/components/TaakGezondheidCard.d.ts.map +1 -1
- package/dist-lib/components/TaakGezondheidCard.js +5 -3
- package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +2 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -1
- package/dist-lib/hooks/useGeblokkeerdeOrders.js +13 -0
- package/dist-lib/integrations/supabase/types.d.ts +658 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/engineStatusTeksten.d.ts +7 -0
- package/dist-lib/lib/engineStatusTeksten.d.ts.map +1 -0
- package/dist-lib/lib/engineStatusTeksten.js +22 -0
- package/dist-lib/lib/flowTree.js +3 -3
- package/dist-lib/lib/moduleVersion.d.ts +1 -1
- package/dist-lib/lib/moduleVersion.js +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +2 -2
- package/dist-lib/lib/taakTeLaat.d.ts +7 -0
- package/dist-lib/lib/taakTeLaat.d.ts.map +1 -0
- package/dist-lib/lib/taakTeLaat.js +62 -0
- package/package.json +1 -1
|
@@ -7,6 +7,331 @@ export type Database = {
|
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
10
|
+
accounting_exchange_log: {
|
|
11
|
+
Row: {
|
|
12
|
+
created_at: string;
|
|
13
|
+
entity_id: string | null;
|
|
14
|
+
entity_type: string | null;
|
|
15
|
+
id: string;
|
|
16
|
+
ok: boolean;
|
|
17
|
+
outbox_id: string | null;
|
|
18
|
+
profile_id: string | null;
|
|
19
|
+
request: string | null;
|
|
20
|
+
response: string | null;
|
|
21
|
+
summary: string;
|
|
22
|
+
};
|
|
23
|
+
Insert: {
|
|
24
|
+
created_at?: string;
|
|
25
|
+
entity_id?: string | null;
|
|
26
|
+
entity_type?: string | null;
|
|
27
|
+
id?: string;
|
|
28
|
+
ok: boolean;
|
|
29
|
+
outbox_id?: string | null;
|
|
30
|
+
profile_id?: string | null;
|
|
31
|
+
request?: string | null;
|
|
32
|
+
response?: string | null;
|
|
33
|
+
summary: string;
|
|
34
|
+
};
|
|
35
|
+
Update: {
|
|
36
|
+
created_at?: string;
|
|
37
|
+
entity_id?: string | null;
|
|
38
|
+
entity_type?: string | null;
|
|
39
|
+
id?: string;
|
|
40
|
+
ok?: boolean;
|
|
41
|
+
outbox_id?: string | null;
|
|
42
|
+
profile_id?: string | null;
|
|
43
|
+
request?: string | null;
|
|
44
|
+
response?: string | null;
|
|
45
|
+
summary?: string;
|
|
46
|
+
};
|
|
47
|
+
Relationships: [
|
|
48
|
+
{
|
|
49
|
+
foreignKeyName: "accounting_exchange_log_profile_id_fkey";
|
|
50
|
+
columns: ["profile_id"];
|
|
51
|
+
isOneToOne: false;
|
|
52
|
+
referencedRelation: "accounting_profiles";
|
|
53
|
+
referencedColumns: ["id"];
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
};
|
|
57
|
+
accounting_links: {
|
|
58
|
+
Row: {
|
|
59
|
+
administration_code: string;
|
|
60
|
+
base_snapshot: Json | null;
|
|
61
|
+
created_at: string;
|
|
62
|
+
entity_id: string;
|
|
63
|
+
entity_type: string;
|
|
64
|
+
external_code: string | null;
|
|
65
|
+
external_id: string | null;
|
|
66
|
+
external_scope: string | null;
|
|
67
|
+
external_version: string | null;
|
|
68
|
+
id: string;
|
|
69
|
+
last_hash: string | null;
|
|
70
|
+
missing_since: string | null;
|
|
71
|
+
present: boolean;
|
|
72
|
+
profile_id: string;
|
|
73
|
+
provider: string;
|
|
74
|
+
source: string;
|
|
75
|
+
sync_error: string | null;
|
|
76
|
+
synced_at: string | null;
|
|
77
|
+
updated_at: string;
|
|
78
|
+
};
|
|
79
|
+
Insert: {
|
|
80
|
+
administration_code: string;
|
|
81
|
+
base_snapshot?: Json | null;
|
|
82
|
+
created_at?: string;
|
|
83
|
+
entity_id: string;
|
|
84
|
+
entity_type: string;
|
|
85
|
+
external_code?: string | null;
|
|
86
|
+
external_id?: string | null;
|
|
87
|
+
external_scope?: string | null;
|
|
88
|
+
external_version?: string | null;
|
|
89
|
+
id?: string;
|
|
90
|
+
last_hash?: string | null;
|
|
91
|
+
missing_since?: string | null;
|
|
92
|
+
present?: boolean;
|
|
93
|
+
profile_id: string;
|
|
94
|
+
provider: string;
|
|
95
|
+
source?: string;
|
|
96
|
+
sync_error?: string | null;
|
|
97
|
+
synced_at?: string | null;
|
|
98
|
+
updated_at?: string;
|
|
99
|
+
};
|
|
100
|
+
Update: {
|
|
101
|
+
administration_code?: string;
|
|
102
|
+
base_snapshot?: Json | null;
|
|
103
|
+
created_at?: string;
|
|
104
|
+
entity_id?: string;
|
|
105
|
+
entity_type?: string;
|
|
106
|
+
external_code?: string | null;
|
|
107
|
+
external_id?: string | null;
|
|
108
|
+
external_scope?: string | null;
|
|
109
|
+
external_version?: string | null;
|
|
110
|
+
id?: string;
|
|
111
|
+
last_hash?: string | null;
|
|
112
|
+
missing_since?: string | null;
|
|
113
|
+
present?: boolean;
|
|
114
|
+
profile_id?: string;
|
|
115
|
+
provider?: string;
|
|
116
|
+
source?: string;
|
|
117
|
+
sync_error?: string | null;
|
|
118
|
+
synced_at?: string | null;
|
|
119
|
+
updated_at?: string;
|
|
120
|
+
};
|
|
121
|
+
Relationships: [
|
|
122
|
+
{
|
|
123
|
+
foreignKeyName: "accounting_links_profile_id_fkey";
|
|
124
|
+
columns: ["profile_id"];
|
|
125
|
+
isOneToOne: false;
|
|
126
|
+
referencedRelation: "accounting_profiles";
|
|
127
|
+
referencedColumns: ["id"];
|
|
128
|
+
}
|
|
129
|
+
];
|
|
130
|
+
};
|
|
131
|
+
accounting_mappings: {
|
|
132
|
+
Row: {
|
|
133
|
+
confirmed_at: string | null;
|
|
134
|
+
confirmed_by: string | null;
|
|
135
|
+
created_at: string;
|
|
136
|
+
erp_value: string;
|
|
137
|
+
external_code: string | null;
|
|
138
|
+
external_id: string | null;
|
|
139
|
+
id: string;
|
|
140
|
+
kind: string;
|
|
141
|
+
label: string | null;
|
|
142
|
+
profile_id: string;
|
|
143
|
+
updated_at: string;
|
|
144
|
+
};
|
|
145
|
+
Insert: {
|
|
146
|
+
confirmed_at?: string | null;
|
|
147
|
+
confirmed_by?: string | null;
|
|
148
|
+
created_at?: string;
|
|
149
|
+
erp_value: string;
|
|
150
|
+
external_code?: string | null;
|
|
151
|
+
external_id?: string | null;
|
|
152
|
+
id?: string;
|
|
153
|
+
kind: string;
|
|
154
|
+
label?: string | null;
|
|
155
|
+
profile_id: string;
|
|
156
|
+
updated_at?: string;
|
|
157
|
+
};
|
|
158
|
+
Update: {
|
|
159
|
+
confirmed_at?: string | null;
|
|
160
|
+
confirmed_by?: string | null;
|
|
161
|
+
created_at?: string;
|
|
162
|
+
erp_value?: string;
|
|
163
|
+
external_code?: string | null;
|
|
164
|
+
external_id?: string | null;
|
|
165
|
+
id?: string;
|
|
166
|
+
kind?: string;
|
|
167
|
+
label?: string | null;
|
|
168
|
+
profile_id?: string;
|
|
169
|
+
updated_at?: string;
|
|
170
|
+
};
|
|
171
|
+
Relationships: [
|
|
172
|
+
{
|
|
173
|
+
foreignKeyName: "accounting_mappings_profile_id_fkey";
|
|
174
|
+
columns: ["profile_id"];
|
|
175
|
+
isOneToOne: false;
|
|
176
|
+
referencedRelation: "accounting_profiles";
|
|
177
|
+
referencedColumns: ["id"];
|
|
178
|
+
}
|
|
179
|
+
];
|
|
180
|
+
};
|
|
181
|
+
accounting_outbox: {
|
|
182
|
+
Row: {
|
|
183
|
+
action: string;
|
|
184
|
+
attempts: number;
|
|
185
|
+
claimed_at: string | null;
|
|
186
|
+
created_at: string;
|
|
187
|
+
entity_id: string;
|
|
188
|
+
entity_type: string;
|
|
189
|
+
error_kind: string | null;
|
|
190
|
+
id: string;
|
|
191
|
+
idem_key: string;
|
|
192
|
+
last_error: string | null;
|
|
193
|
+
next_attempt_at: string;
|
|
194
|
+
payload: Json | null;
|
|
195
|
+
priority: number;
|
|
196
|
+
profile_id: string;
|
|
197
|
+
status: string;
|
|
198
|
+
updated_at: string;
|
|
199
|
+
};
|
|
200
|
+
Insert: {
|
|
201
|
+
action: string;
|
|
202
|
+
attempts?: number;
|
|
203
|
+
claimed_at?: string | null;
|
|
204
|
+
created_at?: string;
|
|
205
|
+
entity_id: string;
|
|
206
|
+
entity_type: string;
|
|
207
|
+
error_kind?: string | null;
|
|
208
|
+
id?: string;
|
|
209
|
+
idem_key: string;
|
|
210
|
+
last_error?: string | null;
|
|
211
|
+
next_attempt_at?: string;
|
|
212
|
+
payload?: Json | null;
|
|
213
|
+
priority?: number;
|
|
214
|
+
profile_id: string;
|
|
215
|
+
status?: string;
|
|
216
|
+
updated_at?: string;
|
|
217
|
+
};
|
|
218
|
+
Update: {
|
|
219
|
+
action?: string;
|
|
220
|
+
attempts?: number;
|
|
221
|
+
claimed_at?: string | null;
|
|
222
|
+
created_at?: string;
|
|
223
|
+
entity_id?: string;
|
|
224
|
+
entity_type?: string;
|
|
225
|
+
error_kind?: string | null;
|
|
226
|
+
id?: string;
|
|
227
|
+
idem_key?: string;
|
|
228
|
+
last_error?: string | null;
|
|
229
|
+
next_attempt_at?: string;
|
|
230
|
+
payload?: Json | null;
|
|
231
|
+
priority?: number;
|
|
232
|
+
profile_id?: string;
|
|
233
|
+
status?: string;
|
|
234
|
+
updated_at?: string;
|
|
235
|
+
};
|
|
236
|
+
Relationships: [
|
|
237
|
+
{
|
|
238
|
+
foreignKeyName: "accounting_outbox_profile_id_fkey";
|
|
239
|
+
columns: ["profile_id"];
|
|
240
|
+
isOneToOne: false;
|
|
241
|
+
referencedRelation: "accounting_profiles";
|
|
242
|
+
referencedColumns: ["id"];
|
|
243
|
+
}
|
|
244
|
+
];
|
|
245
|
+
};
|
|
246
|
+
accounting_profile_events: {
|
|
247
|
+
Row: {
|
|
248
|
+
actor: string | null;
|
|
249
|
+
after: Json;
|
|
250
|
+
before: Json | null;
|
|
251
|
+
created_at: string;
|
|
252
|
+
event: string;
|
|
253
|
+
id: string;
|
|
254
|
+
profile_id: string;
|
|
255
|
+
};
|
|
256
|
+
Insert: {
|
|
257
|
+
actor?: string | null;
|
|
258
|
+
after: Json;
|
|
259
|
+
before?: Json | null;
|
|
260
|
+
created_at?: string;
|
|
261
|
+
event: string;
|
|
262
|
+
id?: string;
|
|
263
|
+
profile_id: string;
|
|
264
|
+
};
|
|
265
|
+
Update: {
|
|
266
|
+
actor?: string | null;
|
|
267
|
+
after?: Json;
|
|
268
|
+
before?: Json | null;
|
|
269
|
+
created_at?: string;
|
|
270
|
+
event?: string;
|
|
271
|
+
id?: string;
|
|
272
|
+
profile_id?: string;
|
|
273
|
+
};
|
|
274
|
+
Relationships: [
|
|
275
|
+
{
|
|
276
|
+
foreignKeyName: "accounting_profile_events_profile_id_fkey";
|
|
277
|
+
columns: ["profile_id"];
|
|
278
|
+
isOneToOne: false;
|
|
279
|
+
referencedRelation: "accounting_profiles";
|
|
280
|
+
referencedColumns: ["id"];
|
|
281
|
+
}
|
|
282
|
+
];
|
|
283
|
+
};
|
|
284
|
+
accounting_profiles: {
|
|
285
|
+
Row: {
|
|
286
|
+
administration_code: string;
|
|
287
|
+
chosen_at: string;
|
|
288
|
+
chosen_by: string | null;
|
|
289
|
+
connection_ref: string;
|
|
290
|
+
created_at: string;
|
|
291
|
+
environment: string | null;
|
|
292
|
+
id: string;
|
|
293
|
+
is_active: boolean;
|
|
294
|
+
notes: string | null;
|
|
295
|
+
provider: string;
|
|
296
|
+
source: string;
|
|
297
|
+
status: string;
|
|
298
|
+
updated_at: string;
|
|
299
|
+
write_enabled: boolean;
|
|
300
|
+
};
|
|
301
|
+
Insert: {
|
|
302
|
+
administration_code: string;
|
|
303
|
+
chosen_at?: string;
|
|
304
|
+
chosen_by?: string | null;
|
|
305
|
+
connection_ref: string;
|
|
306
|
+
created_at?: string;
|
|
307
|
+
environment?: string | null;
|
|
308
|
+
id?: string;
|
|
309
|
+
is_active?: boolean;
|
|
310
|
+
notes?: string | null;
|
|
311
|
+
provider: string;
|
|
312
|
+
source?: string;
|
|
313
|
+
status?: string;
|
|
314
|
+
updated_at?: string;
|
|
315
|
+
write_enabled?: boolean;
|
|
316
|
+
};
|
|
317
|
+
Update: {
|
|
318
|
+
administration_code?: string;
|
|
319
|
+
chosen_at?: string;
|
|
320
|
+
chosen_by?: string | null;
|
|
321
|
+
connection_ref?: string;
|
|
322
|
+
created_at?: string;
|
|
323
|
+
environment?: string | null;
|
|
324
|
+
id?: string;
|
|
325
|
+
is_active?: boolean;
|
|
326
|
+
notes?: string | null;
|
|
327
|
+
provider?: string;
|
|
328
|
+
source?: string;
|
|
329
|
+
status?: string;
|
|
330
|
+
updated_at?: string;
|
|
331
|
+
write_enabled?: boolean;
|
|
332
|
+
};
|
|
333
|
+
Relationships: [];
|
|
334
|
+
};
|
|
10
335
|
afh_shell_settings: {
|
|
11
336
|
Row: {
|
|
12
337
|
changed_at: string | null;
|
|
@@ -11392,6 +11717,7 @@ export type Database = {
|
|
|
11392
11717
|
pickup_offset_days: number;
|
|
11393
11718
|
pickup_time_of_day: string;
|
|
11394
11719
|
singleton: boolean;
|
|
11720
|
+
start_date: string | null;
|
|
11395
11721
|
time_of_day: string;
|
|
11396
11722
|
updated_at: string;
|
|
11397
11723
|
};
|
|
@@ -11408,6 +11734,7 @@ export type Database = {
|
|
|
11408
11734
|
pickup_offset_days?: number;
|
|
11409
11735
|
pickup_time_of_day?: string;
|
|
11410
11736
|
singleton?: boolean;
|
|
11737
|
+
start_date?: string | null;
|
|
11411
11738
|
time_of_day?: string;
|
|
11412
11739
|
updated_at?: string;
|
|
11413
11740
|
};
|
|
@@ -11424,6 +11751,7 @@ export type Database = {
|
|
|
11424
11751
|
pickup_offset_days?: number;
|
|
11425
11752
|
pickup_time_of_day?: string;
|
|
11426
11753
|
singleton?: boolean;
|
|
11754
|
+
start_date?: string | null;
|
|
11427
11755
|
time_of_day?: string;
|
|
11428
11756
|
updated_at?: string;
|
|
11429
11757
|
};
|
|
@@ -14856,6 +15184,63 @@ export type Database = {
|
|
|
14856
15184
|
};
|
|
14857
15185
|
Relationships: [];
|
|
14858
15186
|
};
|
|
15187
|
+
logistics_merge_herstel_log: {
|
|
15188
|
+
Row: {
|
|
15189
|
+
categorie: string;
|
|
15190
|
+
details: Json | null;
|
|
15191
|
+
hersteld_at: string;
|
|
15192
|
+
kept_order_id: string | null;
|
|
15193
|
+
merged_order_id: string;
|
|
15194
|
+
regels_terug: number;
|
|
15195
|
+
};
|
|
15196
|
+
Insert: {
|
|
15197
|
+
categorie: string;
|
|
15198
|
+
details?: Json | null;
|
|
15199
|
+
hersteld_at?: string;
|
|
15200
|
+
kept_order_id?: string | null;
|
|
15201
|
+
merged_order_id: string;
|
|
15202
|
+
regels_terug?: number;
|
|
15203
|
+
};
|
|
15204
|
+
Update: {
|
|
15205
|
+
categorie?: string;
|
|
15206
|
+
details?: Json | null;
|
|
15207
|
+
hersteld_at?: string;
|
|
15208
|
+
kept_order_id?: string | null;
|
|
15209
|
+
merged_order_id?: string;
|
|
15210
|
+
regels_terug?: number;
|
|
15211
|
+
};
|
|
15212
|
+
Relationships: [];
|
|
15213
|
+
};
|
|
15214
|
+
logistics_merge_meldingen: {
|
|
15215
|
+
Row: {
|
|
15216
|
+
aantal: number | null;
|
|
15217
|
+
created_at: string;
|
|
15218
|
+
fout: string | null;
|
|
15219
|
+
group_key: string | null;
|
|
15220
|
+
id: string;
|
|
15221
|
+
order_id: string | null;
|
|
15222
|
+
soort: string;
|
|
15223
|
+
};
|
|
15224
|
+
Insert: {
|
|
15225
|
+
aantal?: number | null;
|
|
15226
|
+
created_at?: string;
|
|
15227
|
+
fout?: string | null;
|
|
15228
|
+
group_key?: string | null;
|
|
15229
|
+
id?: string;
|
|
15230
|
+
order_id?: string | null;
|
|
15231
|
+
soort: string;
|
|
15232
|
+
};
|
|
15233
|
+
Update: {
|
|
15234
|
+
aantal?: number | null;
|
|
15235
|
+
created_at?: string;
|
|
15236
|
+
fout?: string | null;
|
|
15237
|
+
group_key?: string | null;
|
|
15238
|
+
id?: string;
|
|
15239
|
+
order_id?: string | null;
|
|
15240
|
+
soort?: string;
|
|
15241
|
+
};
|
|
15242
|
+
Relationships: [];
|
|
15243
|
+
};
|
|
14859
15244
|
logistics_opening_exceptions: {
|
|
14860
15245
|
Row: {
|
|
14861
15246
|
closes: string | null;
|
|
@@ -30391,6 +30776,51 @@ export type Database = {
|
|
|
30391
30776
|
};
|
|
30392
30777
|
Relationships: [];
|
|
30393
30778
|
};
|
|
30779
|
+
verkoop_inhaal_items: {
|
|
30780
|
+
Row: {
|
|
30781
|
+
aangevraagd_at: string;
|
|
30782
|
+
categorie: string;
|
|
30783
|
+
created_at: string;
|
|
30784
|
+
melding: string | null;
|
|
30785
|
+
order_id: string | null;
|
|
30786
|
+
pogingen: number;
|
|
30787
|
+
run_id: string;
|
|
30788
|
+
sales_order_id: string;
|
|
30789
|
+
sinds: string;
|
|
30790
|
+
status: string;
|
|
30791
|
+
updated_at: string;
|
|
30792
|
+
verwerkt_at: string | null;
|
|
30793
|
+
};
|
|
30794
|
+
Insert: {
|
|
30795
|
+
aangevraagd_at?: string;
|
|
30796
|
+
categorie: string;
|
|
30797
|
+
created_at?: string;
|
|
30798
|
+
melding?: string | null;
|
|
30799
|
+
order_id?: string | null;
|
|
30800
|
+
pogingen?: number;
|
|
30801
|
+
run_id: string;
|
|
30802
|
+
sales_order_id: string;
|
|
30803
|
+
sinds: string;
|
|
30804
|
+
status?: string;
|
|
30805
|
+
updated_at?: string;
|
|
30806
|
+
verwerkt_at?: string | null;
|
|
30807
|
+
};
|
|
30808
|
+
Update: {
|
|
30809
|
+
aangevraagd_at?: string;
|
|
30810
|
+
categorie?: string;
|
|
30811
|
+
created_at?: string;
|
|
30812
|
+
melding?: string | null;
|
|
30813
|
+
order_id?: string | null;
|
|
30814
|
+
pogingen?: number;
|
|
30815
|
+
run_id?: string;
|
|
30816
|
+
sales_order_id?: string;
|
|
30817
|
+
sinds?: string;
|
|
30818
|
+
status?: string;
|
|
30819
|
+
updated_at?: string;
|
|
30820
|
+
verwerkt_at?: string | null;
|
|
30821
|
+
};
|
|
30822
|
+
Relationships: [];
|
|
30823
|
+
};
|
|
30394
30824
|
verkoop_klok_events: {
|
|
30395
30825
|
Row: {
|
|
30396
30826
|
actie: string;
|
|
@@ -30703,6 +31133,7 @@ export type Database = {
|
|
|
30703
31133
|
};
|
|
30704
31134
|
verkoop_sync_state: {
|
|
30705
31135
|
Row: {
|
|
31136
|
+
details: Json | null;
|
|
30706
31137
|
ensure_cron_at: string | null;
|
|
30707
31138
|
full_run_at: string | null;
|
|
30708
31139
|
key: string;
|
|
@@ -30710,10 +31141,12 @@ export type Database = {
|
|
|
30710
31141
|
last_error_at: string | null;
|
|
30711
31142
|
last_ok_at: string | null;
|
|
30712
31143
|
last_seen_at: string | null;
|
|
31144
|
+
last_status: number | null;
|
|
30713
31145
|
rebuilt_at: string | null;
|
|
30714
31146
|
updated_at: string;
|
|
30715
31147
|
};
|
|
30716
31148
|
Insert: {
|
|
31149
|
+
details?: Json | null;
|
|
30717
31150
|
ensure_cron_at?: string | null;
|
|
30718
31151
|
full_run_at?: string | null;
|
|
30719
31152
|
key: string;
|
|
@@ -30721,10 +31154,12 @@ export type Database = {
|
|
|
30721
31154
|
last_error_at?: string | null;
|
|
30722
31155
|
last_ok_at?: string | null;
|
|
30723
31156
|
last_seen_at?: string | null;
|
|
31157
|
+
last_status?: number | null;
|
|
30724
31158
|
rebuilt_at?: string | null;
|
|
30725
31159
|
updated_at?: string;
|
|
30726
31160
|
};
|
|
30727
31161
|
Update: {
|
|
31162
|
+
details?: Json | null;
|
|
30728
31163
|
ensure_cron_at?: string | null;
|
|
30729
31164
|
full_run_at?: string | null;
|
|
30730
31165
|
key?: string;
|
|
@@ -30732,6 +31167,7 @@ export type Database = {
|
|
|
30732
31167
|
last_error_at?: string | null;
|
|
30733
31168
|
last_ok_at?: string | null;
|
|
30734
31169
|
last_seen_at?: string | null;
|
|
31170
|
+
last_status?: number | null;
|
|
30735
31171
|
rebuilt_at?: string | null;
|
|
30736
31172
|
updated_at?: string;
|
|
30737
31173
|
};
|
|
@@ -34579,6 +35015,36 @@ export type Database = {
|
|
|
34579
35015
|
};
|
|
34580
35016
|
Returns: Json;
|
|
34581
35017
|
};
|
|
35018
|
+
_logistics_merge_herstel_kandidaten: {
|
|
35019
|
+
Args: never;
|
|
35020
|
+
Returns: {
|
|
35021
|
+
categorie: string;
|
|
35022
|
+
kept_order_id: string;
|
|
35023
|
+
kept_order_number: string;
|
|
35024
|
+
leverdag: string;
|
|
35025
|
+
merged_order_id: string;
|
|
35026
|
+
merged_order_number: string;
|
|
35027
|
+
reden: string;
|
|
35028
|
+
regels: number;
|
|
35029
|
+
status: string;
|
|
35030
|
+
}[];
|
|
35031
|
+
};
|
|
35032
|
+
_logistics_merge_melding: {
|
|
35033
|
+
Args: {
|
|
35034
|
+
p_aantal: number;
|
|
35035
|
+
p_fout: string;
|
|
35036
|
+
p_key: string;
|
|
35037
|
+
p_order_id: string;
|
|
35038
|
+
p_soort: string;
|
|
35039
|
+
};
|
|
35040
|
+
Returns: undefined;
|
|
35041
|
+
};
|
|
35042
|
+
_logistics_order_karren_vast: {
|
|
35043
|
+
Args: {
|
|
35044
|
+
p_order_id: string;
|
|
35045
|
+
};
|
|
35046
|
+
Returns: boolean;
|
|
35047
|
+
};
|
|
34582
35048
|
_mailbox_norm: {
|
|
34583
35049
|
Args: {
|
|
34584
35050
|
p: string;
|
|
@@ -34681,6 +35147,26 @@ export type Database = {
|
|
|
34681
35147
|
};
|
|
34682
35148
|
Returns: undefined;
|
|
34683
35149
|
};
|
|
35150
|
+
_productie_order_plan: {
|
|
35151
|
+
Args: {
|
|
35152
|
+
p_aanmaken: boolean;
|
|
35153
|
+
p_aantal: number;
|
|
35154
|
+
p_product_id: string;
|
|
35155
|
+
};
|
|
35156
|
+
Returns: {
|
|
35157
|
+
aantal: number;
|
|
35158
|
+
naam: string;
|
|
35159
|
+
product_id: string;
|
|
35160
|
+
trade_item_key: string;
|
|
35161
|
+
}[];
|
|
35162
|
+
};
|
|
35163
|
+
_productie_order_sleutel: {
|
|
35164
|
+
Args: {
|
|
35165
|
+
p_aanmaken: boolean;
|
|
35166
|
+
p_ref: string;
|
|
35167
|
+
};
|
|
35168
|
+
Returns: string;
|
|
35169
|
+
};
|
|
34684
35170
|
_productie_order_verwerken_kern: {
|
|
34685
35171
|
Args: {
|
|
34686
35172
|
p_bron: Json;
|
|
@@ -35005,6 +35491,12 @@ export type Database = {
|
|
|
35005
35491
|
};
|
|
35006
35492
|
Returns: boolean;
|
|
35007
35493
|
};
|
|
35494
|
+
afh_order_signup_uitgesloten: {
|
|
35495
|
+
Args: {
|
|
35496
|
+
p_order_id: string;
|
|
35497
|
+
};
|
|
35498
|
+
Returns: boolean;
|
|
35499
|
+
};
|
|
35008
35500
|
afh_orders_have_carrier_id: {
|
|
35009
35501
|
Args: never;
|
|
35010
35502
|
Returns: boolean;
|
|
@@ -35329,6 +35821,34 @@ export type Database = {
|
|
|
35329
35821
|
Args: never;
|
|
35330
35822
|
Returns: number;
|
|
35331
35823
|
};
|
|
35824
|
+
boekhoud_vertaal_ensure_defaults: {
|
|
35825
|
+
Args: never;
|
|
35826
|
+
Returns: Json;
|
|
35827
|
+
};
|
|
35828
|
+
boekhoud_vertaal_install_check: {
|
|
35829
|
+
Args: never;
|
|
35830
|
+
Returns: Json;
|
|
35831
|
+
};
|
|
35832
|
+
boekhoud_vertaal_is_beheerder: {
|
|
35833
|
+
Args: never;
|
|
35834
|
+
Returns: boolean;
|
|
35835
|
+
};
|
|
35836
|
+
boekhoud_vertaal_is_server: {
|
|
35837
|
+
Args: never;
|
|
35838
|
+
Returns: boolean;
|
|
35839
|
+
};
|
|
35840
|
+
boekhoud_vertaal_prune_log: {
|
|
35841
|
+
Args: {
|
|
35842
|
+
p_days?: number;
|
|
35843
|
+
};
|
|
35844
|
+
Returns: number;
|
|
35845
|
+
};
|
|
35846
|
+
boekhoud_vertaal_toegang: {
|
|
35847
|
+
Args: {
|
|
35848
|
+
p_niveau: string;
|
|
35849
|
+
};
|
|
35850
|
+
Returns: undefined;
|
|
35851
|
+
};
|
|
35332
35852
|
calculate_floriday_desired_stock: {
|
|
35333
35853
|
Args: {
|
|
35334
35854
|
p_connection_id: string;
|
|
@@ -35442,6 +35962,36 @@ export type Database = {
|
|
|
35442
35962
|
};
|
|
35443
35963
|
Returns: Json;
|
|
35444
35964
|
};
|
|
35965
|
+
claim_accounting_outbox_batch: {
|
|
35966
|
+
Args: {
|
|
35967
|
+
p_entity_type: string;
|
|
35968
|
+
p_limit?: number;
|
|
35969
|
+
};
|
|
35970
|
+
Returns: {
|
|
35971
|
+
action: string;
|
|
35972
|
+
attempts: number;
|
|
35973
|
+
claimed_at: string | null;
|
|
35974
|
+
created_at: string;
|
|
35975
|
+
entity_id: string;
|
|
35976
|
+
entity_type: string;
|
|
35977
|
+
error_kind: string | null;
|
|
35978
|
+
id: string;
|
|
35979
|
+
idem_key: string;
|
|
35980
|
+
last_error: string | null;
|
|
35981
|
+
next_attempt_at: string;
|
|
35982
|
+
payload: Json | null;
|
|
35983
|
+
priority: number;
|
|
35984
|
+
profile_id: string;
|
|
35985
|
+
status: string;
|
|
35986
|
+
updated_at: string;
|
|
35987
|
+
}[];
|
|
35988
|
+
SetofOptions: {
|
|
35989
|
+
from: "*";
|
|
35990
|
+
to: "accounting_outbox";
|
|
35991
|
+
isOneToOne: false;
|
|
35992
|
+
isSetofReturn: true;
|
|
35993
|
+
};
|
|
35994
|
+
};
|
|
35445
35995
|
claim_cloud_print_jobs: {
|
|
35446
35996
|
Args: {
|
|
35447
35997
|
_max?: number;
|
|
@@ -40711,6 +41261,14 @@ export type Database = {
|
|
|
40711
41261
|
toelichting: string;
|
|
40712
41262
|
}[];
|
|
40713
41263
|
};
|
|
41264
|
+
logistics_install_check_samenvoegen: {
|
|
41265
|
+
Args: never;
|
|
41266
|
+
Returns: {
|
|
41267
|
+
ok: boolean;
|
|
41268
|
+
onderdeel: string;
|
|
41269
|
+
toelichting: string;
|
|
41270
|
+
}[];
|
|
41271
|
+
};
|
|
40714
41272
|
logistics_is_beheer: {
|
|
40715
41273
|
Args: never;
|
|
40716
41274
|
Returns: boolean;
|
|
@@ -40945,6 +41503,17 @@ export type Database = {
|
|
|
40945
41503
|
};
|
|
40946
41504
|
Returns: string;
|
|
40947
41505
|
};
|
|
41506
|
+
logistics_merge_herstel_uitvoeren: {
|
|
41507
|
+
Args: {
|
|
41508
|
+
p_categorie: string;
|
|
41509
|
+
p_max?: number;
|
|
41510
|
+
};
|
|
41511
|
+
Returns: Json;
|
|
41512
|
+
};
|
|
41513
|
+
logistics_merge_herstel_voorbeeld: {
|
|
41514
|
+
Args: never;
|
|
41515
|
+
Returns: Json;
|
|
41516
|
+
};
|
|
40948
41517
|
logistics_merge_lines_enabled: {
|
|
40949
41518
|
Args: never;
|
|
40950
41519
|
Returns: boolean;
|
|
@@ -40955,6 +41524,10 @@ export type Database = {
|
|
|
40955
41524
|
};
|
|
40956
41525
|
Returns: Json;
|
|
40957
41526
|
};
|
|
41527
|
+
logistics_merge_status: {
|
|
41528
|
+
Args: never;
|
|
41529
|
+
Returns: Json;
|
|
41530
|
+
};
|
|
40958
41531
|
logistics_next_workday_date: {
|
|
40959
41532
|
Args: {
|
|
40960
41533
|
p_date: string;
|
|
@@ -41267,6 +41840,12 @@ export type Database = {
|
|
|
41267
41840
|
};
|
|
41268
41841
|
Returns: Json;
|
|
41269
41842
|
};
|
|
41843
|
+
logistics_order_is_backfill: {
|
|
41844
|
+
Args: {
|
|
41845
|
+
p_order_id: string;
|
|
41846
|
+
};
|
|
41847
|
+
Returns: boolean;
|
|
41848
|
+
};
|
|
41270
41849
|
logistics_order_is_backlog: {
|
|
41271
41850
|
Args: {
|
|
41272
41851
|
p_order_id: string;
|
|
@@ -41316,6 +41895,12 @@ export type Database = {
|
|
|
41316
41895
|
};
|
|
41317
41896
|
Returns: string;
|
|
41318
41897
|
};
|
|
41898
|
+
logistics_order_merge_key_v2: {
|
|
41899
|
+
Args: {
|
|
41900
|
+
p_order_id: string;
|
|
41901
|
+
};
|
|
41902
|
+
Returns: string;
|
|
41903
|
+
};
|
|
41319
41904
|
logistics_order_mergeable: {
|
|
41320
41905
|
Args: {
|
|
41321
41906
|
p_order_id: string;
|
|
@@ -42652,6 +43237,10 @@ export type Database = {
|
|
|
42652
43237
|
};
|
|
42653
43238
|
Returns: Json;
|
|
42654
43239
|
};
|
|
43240
|
+
logistics_schema_versie: {
|
|
43241
|
+
Args: never;
|
|
43242
|
+
Returns: string;
|
|
43243
|
+
};
|
|
42655
43244
|
logistics_set_components_scaled: {
|
|
42656
43245
|
Args: {
|
|
42657
43246
|
p_order_item_id: string;
|
|
@@ -46382,6 +46971,13 @@ export type Database = {
|
|
|
46382
46971
|
};
|
|
46383
46972
|
Returns: Json;
|
|
46384
46973
|
};
|
|
46974
|
+
productie_order_voorbeeld: {
|
|
46975
|
+
Args: {
|
|
46976
|
+
p_aantal: number;
|
|
46977
|
+
p_product_id: string;
|
|
46978
|
+
};
|
|
46979
|
+
Returns: Json;
|
|
46980
|
+
};
|
|
46385
46981
|
productie_orders_lijst: {
|
|
46386
46982
|
Args: {
|
|
46387
46983
|
p_limit?: number;
|
|
@@ -48919,6 +49515,13 @@ export type Database = {
|
|
|
48919
49515
|
};
|
|
48920
49516
|
Returns: number;
|
|
48921
49517
|
};
|
|
49518
|
+
verkoop_alert_mail: {
|
|
49519
|
+
Args: {
|
|
49520
|
+
p_onderwerp: string;
|
|
49521
|
+
p_tekst: string;
|
|
49522
|
+
};
|
|
49523
|
+
Returns: string;
|
|
49524
|
+
};
|
|
48922
49525
|
verkoop_assert_caller: {
|
|
48923
49526
|
Args: {
|
|
48924
49527
|
p_level: string;
|
|
@@ -48926,6 +49529,10 @@ export type Database = {
|
|
|
48926
49529
|
};
|
|
48927
49530
|
Returns: undefined;
|
|
48928
49531
|
};
|
|
49532
|
+
verkoop_bewaking_verwijderd: {
|
|
49533
|
+
Args: never;
|
|
49534
|
+
Returns: Json;
|
|
49535
|
+
};
|
|
48929
49536
|
verkoop_correctie_verpakking: {
|
|
48930
49537
|
Args: {
|
|
48931
49538
|
p_uitvoeren?: boolean;
|
|
@@ -48970,6 +49577,10 @@ export type Database = {
|
|
|
48970
49577
|
Args: never;
|
|
48971
49578
|
Returns: Json;
|
|
48972
49579
|
};
|
|
49580
|
+
verkoop_ensure_cron_heal: {
|
|
49581
|
+
Args: never;
|
|
49582
|
+
Returns: Json;
|
|
49583
|
+
};
|
|
48973
49584
|
verkoop_ensure_defaults: {
|
|
48974
49585
|
Args: never;
|
|
48975
49586
|
Returns: Json;
|
|
@@ -49016,12 +49627,39 @@ export type Database = {
|
|
|
49016
49627
|
opm: string;
|
|
49017
49628
|
}[];
|
|
49018
49629
|
};
|
|
49630
|
+
verkoop_inhaal_ondersteund: {
|
|
49631
|
+
Args: never;
|
|
49632
|
+
Returns: Json;
|
|
49633
|
+
};
|
|
49019
49634
|
verkoop_inhaal_preview: {
|
|
49020
49635
|
Args: {
|
|
49021
49636
|
p_sinds: string;
|
|
49022
49637
|
};
|
|
49023
49638
|
Returns: Json;
|
|
49024
49639
|
};
|
|
49640
|
+
verkoop_inhaal_status: {
|
|
49641
|
+
Args: {
|
|
49642
|
+
p_run_id?: string;
|
|
49643
|
+
};
|
|
49644
|
+
Returns: Json;
|
|
49645
|
+
};
|
|
49646
|
+
verkoop_inhaal_uitvoeren: {
|
|
49647
|
+
Args: {
|
|
49648
|
+
p_max?: number;
|
|
49649
|
+
p_sinds: string;
|
|
49650
|
+
};
|
|
49651
|
+
Returns: Json;
|
|
49652
|
+
};
|
|
49653
|
+
verkoop_inhaal_vrijgave: {
|
|
49654
|
+
Args: {
|
|
49655
|
+
p_aan: boolean;
|
|
49656
|
+
};
|
|
49657
|
+
Returns: Json;
|
|
49658
|
+
};
|
|
49659
|
+
verkoop_inhaal_vrijgegeven: {
|
|
49660
|
+
Args: never;
|
|
49661
|
+
Returns: boolean;
|
|
49662
|
+
};
|
|
49025
49663
|
verkoop_insert_manual_order: {
|
|
49026
49664
|
Args: {
|
|
49027
49665
|
p_idempotency_key: string;
|
|
@@ -49691,6 +50329,10 @@ export type Database = {
|
|
|
49691
50329
|
};
|
|
49692
50330
|
Returns: undefined;
|
|
49693
50331
|
};
|
|
50332
|
+
voorraad_ingest_taak_status: {
|
|
50333
|
+
Args: never;
|
|
50334
|
+
Returns: Json;
|
|
50335
|
+
};
|
|
49694
50336
|
voorraad_install_check: {
|
|
49695
50337
|
Args: never;
|
|
49696
50338
|
Returns: Json;
|
|
@@ -49814,6 +50456,12 @@ export type Database = {
|
|
|
49814
50456
|
};
|
|
49815
50457
|
Returns: boolean;
|
|
49816
50458
|
};
|
|
50459
|
+
voorraad_order_is_backfill: {
|
|
50460
|
+
Args: {
|
|
50461
|
+
p_order_id: string;
|
|
50462
|
+
};
|
|
50463
|
+
Returns: boolean;
|
|
50464
|
+
};
|
|
49817
50465
|
voorraad_order_terugdraaien: {
|
|
49818
50466
|
Args: {
|
|
49819
50467
|
p_order_id: string;
|
|
@@ -49918,6 +50566,16 @@ export type Database = {
|
|
|
49918
50566
|
Args: never;
|
|
49919
50567
|
Returns: Json;
|
|
49920
50568
|
};
|
|
50569
|
+
voorraad_taak_fout_tekst: {
|
|
50570
|
+
Args: {
|
|
50571
|
+
p_fout: string;
|
|
50572
|
+
};
|
|
50573
|
+
Returns: string;
|
|
50574
|
+
};
|
|
50575
|
+
voorraad_taken_status: {
|
|
50576
|
+
Args: never;
|
|
50577
|
+
Returns: Json;
|
|
50578
|
+
};
|
|
49921
50579
|
voorraad_telmoment_lijst: {
|
|
49922
50580
|
Args: {
|
|
49923
50581
|
p_keys?: string[];
|