@flowselections/floriday-klanten-module 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +255 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +255 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +255 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +255 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +765 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +765 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +255 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-notes.functions.d.ts +510 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +255 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.d.ts +2370 -75
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +1095 -75
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +1095 -75
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +255 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +510 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +255 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +1860 -75
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +255 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +1095 -75
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +255 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +1860 -75
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +255 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +510 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +255 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5736,12 +5736,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
5736
5736
|
attempts: number;
|
|
5737
5737
|
connection_id: string;
|
|
5738
5738
|
created_at: string;
|
|
5739
|
+
desired_available: boolean | null;
|
|
5739
5740
|
gateway_attempt_id: string | null;
|
|
5740
5741
|
id: string;
|
|
5741
5742
|
last_error: string | null;
|
|
5743
|
+
locked_at: string | null;
|
|
5744
|
+
locked_by: string | null;
|
|
5745
|
+
next_attempt_at: string;
|
|
5742
5746
|
number_of_pieces: number;
|
|
5743
5747
|
sent_at: string | null;
|
|
5744
5748
|
status: string;
|
|
5749
|
+
superseded_by: string | null;
|
|
5745
5750
|
trade_item_id: string;
|
|
5746
5751
|
updated_at: string;
|
|
5747
5752
|
user_id: string;
|
|
@@ -5750,12 +5755,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
5750
5755
|
attempts?: number;
|
|
5751
5756
|
connection_id: string;
|
|
5752
5757
|
created_at?: string;
|
|
5758
|
+
desired_available?: boolean | null;
|
|
5753
5759
|
gateway_attempt_id?: string | null;
|
|
5754
5760
|
id?: string;
|
|
5755
5761
|
last_error?: string | null;
|
|
5762
|
+
locked_at?: string | null;
|
|
5763
|
+
locked_by?: string | null;
|
|
5764
|
+
next_attempt_at?: string;
|
|
5756
5765
|
number_of_pieces?: number;
|
|
5757
5766
|
sent_at?: string | null;
|
|
5758
5767
|
status?: string;
|
|
5768
|
+
superseded_by?: string | null;
|
|
5759
5769
|
trade_item_id: string;
|
|
5760
5770
|
updated_at?: string;
|
|
5761
5771
|
user_id: string;
|
|
@@ -5764,12 +5774,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
5764
5774
|
attempts?: number;
|
|
5765
5775
|
connection_id?: string;
|
|
5766
5776
|
created_at?: string;
|
|
5777
|
+
desired_available?: boolean | null;
|
|
5767
5778
|
gateway_attempt_id?: string | null;
|
|
5768
5779
|
id?: string;
|
|
5769
5780
|
last_error?: string | null;
|
|
5781
|
+
locked_at?: string | null;
|
|
5782
|
+
locked_by?: string | null;
|
|
5783
|
+
next_attempt_at?: string;
|
|
5770
5784
|
number_of_pieces?: number;
|
|
5771
5785
|
sent_at?: string | null;
|
|
5772
5786
|
status?: string;
|
|
5787
|
+
superseded_by?: string | null;
|
|
5773
5788
|
trade_item_id?: string;
|
|
5774
5789
|
updated_at?: string;
|
|
5775
5790
|
user_id?: string;
|
|
@@ -8518,6 +8533,69 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8518
8533
|
};
|
|
8519
8534
|
Relationships: [];
|
|
8520
8535
|
};
|
|
8536
|
+
logistics_floriday_pushes: {
|
|
8537
|
+
Row: {
|
|
8538
|
+
attempts: number;
|
|
8539
|
+
created_at: string;
|
|
8540
|
+
first_queued_at: string;
|
|
8541
|
+
fulfillment_order_id: string | null;
|
|
8542
|
+
id: string;
|
|
8543
|
+
last_error: string | null;
|
|
8544
|
+
last_error_at: string | null;
|
|
8545
|
+
last_sent_hash: string | null;
|
|
8546
|
+
locked_by: string | null;
|
|
8547
|
+
locked_until: string | null;
|
|
8548
|
+
next_attempt_at: string;
|
|
8549
|
+
order_ref: string;
|
|
8550
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8551
|
+
payload_hash: string | null;
|
|
8552
|
+
revision: number;
|
|
8553
|
+
sent_at: string | null;
|
|
8554
|
+
status: string;
|
|
8555
|
+
updated_at: string;
|
|
8556
|
+
};
|
|
8557
|
+
Insert: {
|
|
8558
|
+
attempts?: number;
|
|
8559
|
+
created_at?: string;
|
|
8560
|
+
first_queued_at?: string;
|
|
8561
|
+
fulfillment_order_id?: string | null;
|
|
8562
|
+
id?: string;
|
|
8563
|
+
last_error?: string | null;
|
|
8564
|
+
last_error_at?: string | null;
|
|
8565
|
+
last_sent_hash?: string | null;
|
|
8566
|
+
locked_by?: string | null;
|
|
8567
|
+
locked_until?: string | null;
|
|
8568
|
+
next_attempt_at?: string;
|
|
8569
|
+
order_ref: string;
|
|
8570
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8571
|
+
payload_hash?: string | null;
|
|
8572
|
+
revision?: number;
|
|
8573
|
+
sent_at?: string | null;
|
|
8574
|
+
status?: string;
|
|
8575
|
+
updated_at?: string;
|
|
8576
|
+
};
|
|
8577
|
+
Update: {
|
|
8578
|
+
attempts?: number;
|
|
8579
|
+
created_at?: string;
|
|
8580
|
+
first_queued_at?: string;
|
|
8581
|
+
fulfillment_order_id?: string | null;
|
|
8582
|
+
id?: string;
|
|
8583
|
+
last_error?: string | null;
|
|
8584
|
+
last_error_at?: string | null;
|
|
8585
|
+
last_sent_hash?: string | null;
|
|
8586
|
+
locked_by?: string | null;
|
|
8587
|
+
locked_until?: string | null;
|
|
8588
|
+
next_attempt_at?: string;
|
|
8589
|
+
order_ref?: string;
|
|
8590
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8591
|
+
payload_hash?: string | null;
|
|
8592
|
+
revision?: number;
|
|
8593
|
+
sent_at?: string | null;
|
|
8594
|
+
status?: string;
|
|
8595
|
+
updated_at?: string;
|
|
8596
|
+
};
|
|
8597
|
+
Relationships: [];
|
|
8598
|
+
};
|
|
8521
8599
|
logistics_formulas: {
|
|
8522
8600
|
Row: {
|
|
8523
8601
|
created_at: string;
|
|
@@ -9129,6 +9207,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9129
9207
|
};
|
|
9130
9208
|
logistics_tasks: {
|
|
9131
9209
|
Row: {
|
|
9210
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9211
|
+
attempts: number;
|
|
9132
9212
|
buffer_ref: string | null;
|
|
9133
9213
|
claimed_at: string | null;
|
|
9134
9214
|
claimed_by: string | null;
|
|
@@ -9138,6 +9218,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9138
9218
|
due_at: string | null;
|
|
9139
9219
|
error: string | null;
|
|
9140
9220
|
id: string;
|
|
9221
|
+
last_error: string | null;
|
|
9222
|
+
next_attempt_at: string | null;
|
|
9141
9223
|
order_ref: string;
|
|
9142
9224
|
owner_module: string;
|
|
9143
9225
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -9158,6 +9240,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9158
9240
|
user_id: string;
|
|
9159
9241
|
};
|
|
9160
9242
|
Insert: {
|
|
9243
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9244
|
+
attempts?: number;
|
|
9161
9245
|
buffer_ref?: string | null;
|
|
9162
9246
|
claimed_at?: string | null;
|
|
9163
9247
|
claimed_by?: string | null;
|
|
@@ -9167,6 +9251,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9167
9251
|
due_at?: string | null;
|
|
9168
9252
|
error?: string | null;
|
|
9169
9253
|
id?: string;
|
|
9254
|
+
last_error?: string | null;
|
|
9255
|
+
next_attempt_at?: string | null;
|
|
9170
9256
|
order_ref: string;
|
|
9171
9257
|
owner_module: string;
|
|
9172
9258
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9187,6 +9273,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9187
9273
|
user_id?: string;
|
|
9188
9274
|
};
|
|
9189
9275
|
Update: {
|
|
9276
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9277
|
+
attempts?: number;
|
|
9190
9278
|
buffer_ref?: string | null;
|
|
9191
9279
|
claimed_at?: string | null;
|
|
9192
9280
|
claimed_by?: string | null;
|
|
@@ -9196,6 +9284,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9196
9284
|
due_at?: string | null;
|
|
9197
9285
|
error?: string | null;
|
|
9198
9286
|
id?: string;
|
|
9287
|
+
last_error?: string | null;
|
|
9288
|
+
next_attempt_at?: string | null;
|
|
9199
9289
|
order_ref?: string;
|
|
9200
9290
|
owner_module?: string;
|
|
9201
9291
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -18200,6 +18290,85 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
18200
18290
|
};
|
|
18201
18291
|
Returns: import("../integrations/supabase/types").Json;
|
|
18202
18292
|
};
|
|
18293
|
+
claim_floriday_stock_queue: {
|
|
18294
|
+
Args: {
|
|
18295
|
+
p_limit?: number;
|
|
18296
|
+
p_worker?: string;
|
|
18297
|
+
};
|
|
18298
|
+
Returns: {
|
|
18299
|
+
attempts: number;
|
|
18300
|
+
connection_id: string;
|
|
18301
|
+
created_at: string;
|
|
18302
|
+
desired_available: boolean | null;
|
|
18303
|
+
gateway_attempt_id: string | null;
|
|
18304
|
+
id: string;
|
|
18305
|
+
last_error: string | null;
|
|
18306
|
+
locked_at: string | null;
|
|
18307
|
+
locked_by: string | null;
|
|
18308
|
+
next_attempt_at: string;
|
|
18309
|
+
number_of_pieces: number;
|
|
18310
|
+
sent_at: string | null;
|
|
18311
|
+
status: string;
|
|
18312
|
+
superseded_by: string | null;
|
|
18313
|
+
trade_item_id: string;
|
|
18314
|
+
updated_at: string;
|
|
18315
|
+
user_id: string;
|
|
18316
|
+
}[];
|
|
18317
|
+
SetofOptions: {
|
|
18318
|
+
from: "*";
|
|
18319
|
+
to: "floriday_continuous_stock_queue";
|
|
18320
|
+
isOneToOne: false;
|
|
18321
|
+
isSetofReturn: true;
|
|
18322
|
+
};
|
|
18323
|
+
};
|
|
18324
|
+
claim_logistics_tasks: {
|
|
18325
|
+
Args: {
|
|
18326
|
+
_limit?: number;
|
|
18327
|
+
_owner_module: string;
|
|
18328
|
+
_stale_minutes?: number;
|
|
18329
|
+
_task_type: string;
|
|
18330
|
+
_worker: string;
|
|
18331
|
+
};
|
|
18332
|
+
Returns: {
|
|
18333
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18334
|
+
attempts: number;
|
|
18335
|
+
buffer_ref: string | null;
|
|
18336
|
+
claimed_at: string | null;
|
|
18337
|
+
claimed_by: string | null;
|
|
18338
|
+
completed_at: string | null;
|
|
18339
|
+
created_at: string;
|
|
18340
|
+
depends_on: string[];
|
|
18341
|
+
due_at: string | null;
|
|
18342
|
+
error: string | null;
|
|
18343
|
+
id: string;
|
|
18344
|
+
last_error: string | null;
|
|
18345
|
+
next_attempt_at: string | null;
|
|
18346
|
+
order_ref: string;
|
|
18347
|
+
owner_module: string;
|
|
18348
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18349
|
+
plan_run_id: string | null;
|
|
18350
|
+
planned_end: string | null;
|
|
18351
|
+
planned_start: string | null;
|
|
18352
|
+
priority: number;
|
|
18353
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18354
|
+
rule_config_id: string | null;
|
|
18355
|
+
rule_version: number | null;
|
|
18356
|
+
sequence: number;
|
|
18357
|
+
shadow: boolean;
|
|
18358
|
+
started_at: string | null;
|
|
18359
|
+
status: string;
|
|
18360
|
+
strategy_id: string | null;
|
|
18361
|
+
task_type: string;
|
|
18362
|
+
updated_at: string;
|
|
18363
|
+
user_id: string;
|
|
18364
|
+
}[];
|
|
18365
|
+
SetofOptions: {
|
|
18366
|
+
from: "*";
|
|
18367
|
+
to: "logistics_tasks";
|
|
18368
|
+
isOneToOne: false;
|
|
18369
|
+
isSetofReturn: true;
|
|
18370
|
+
};
|
|
18371
|
+
};
|
|
18203
18372
|
claim_print_jobs: {
|
|
18204
18373
|
Args: {
|
|
18205
18374
|
_agent_id: string;
|
|
@@ -18264,10 +18433,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
18264
18433
|
isSetofReturn: true;
|
|
18265
18434
|
};
|
|
18266
18435
|
};
|
|
18436
|
+
cleanup_floriday_stock_queue: {
|
|
18437
|
+
Args: never;
|
|
18438
|
+
Returns: undefined;
|
|
18439
|
+
};
|
|
18267
18440
|
cleanup_old_bookings: {
|
|
18268
18441
|
Args: never;
|
|
18269
18442
|
Returns: undefined;
|
|
18270
18443
|
};
|
|
18444
|
+
complete_floriday_stock_queue: {
|
|
18445
|
+
Args: {
|
|
18446
|
+
p_attempt_id?: string;
|
|
18447
|
+
p_error?: string;
|
|
18448
|
+
p_id: string;
|
|
18449
|
+
p_ok: boolean;
|
|
18450
|
+
p_permanent?: boolean;
|
|
18451
|
+
};
|
|
18452
|
+
Returns: undefined;
|
|
18453
|
+
};
|
|
18271
18454
|
consume_bom_for_production: {
|
|
18272
18455
|
Args: {
|
|
18273
18456
|
p_connection_id: string;
|
|
@@ -18959,6 +19142,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
18959
19142
|
p_worker?: string;
|
|
18960
19143
|
};
|
|
18961
19144
|
Returns: {
|
|
19145
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19146
|
+
attempts: number;
|
|
18962
19147
|
buffer_ref: string | null;
|
|
18963
19148
|
claimed_at: string | null;
|
|
18964
19149
|
claimed_by: string | null;
|
|
@@ -18968,6 +19153,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
18968
19153
|
due_at: string | null;
|
|
18969
19154
|
error: string | null;
|
|
18970
19155
|
id: string;
|
|
19156
|
+
last_error: string | null;
|
|
19157
|
+
next_attempt_at: string | null;
|
|
18971
19158
|
order_ref: string;
|
|
18972
19159
|
owner_module: string;
|
|
18973
19160
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19000,6 +19187,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19000
19187
|
p_worker?: string;
|
|
19001
19188
|
};
|
|
19002
19189
|
Returns: {
|
|
19190
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19191
|
+
attempts: number;
|
|
19003
19192
|
buffer_ref: string | null;
|
|
19004
19193
|
claimed_at: string | null;
|
|
19005
19194
|
claimed_by: string | null;
|
|
@@ -19009,6 +19198,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19009
19198
|
due_at: string | null;
|
|
19010
19199
|
error: string | null;
|
|
19011
19200
|
id: string;
|
|
19201
|
+
last_error: string | null;
|
|
19202
|
+
next_attempt_at: string | null;
|
|
19012
19203
|
order_ref: string;
|
|
19013
19204
|
owner_module: string;
|
|
19014
19205
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19041,6 +19232,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19041
19232
|
p_task_id: string;
|
|
19042
19233
|
};
|
|
19043
19234
|
Returns: {
|
|
19235
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19236
|
+
attempts: number;
|
|
19044
19237
|
buffer_ref: string | null;
|
|
19045
19238
|
claimed_at: string | null;
|
|
19046
19239
|
claimed_by: string | null;
|
|
@@ -19050,6 +19243,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19050
19243
|
due_at: string | null;
|
|
19051
19244
|
error: string | null;
|
|
19052
19245
|
id: string;
|
|
19246
|
+
last_error: string | null;
|
|
19247
|
+
next_attempt_at: string | null;
|
|
19053
19248
|
order_ref: string;
|
|
19054
19249
|
owner_module: string;
|
|
19055
19250
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19131,6 +19326,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19131
19326
|
p_task_id: string;
|
|
19132
19327
|
};
|
|
19133
19328
|
Returns: {
|
|
19329
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19330
|
+
attempts: number;
|
|
19134
19331
|
buffer_ref: string | null;
|
|
19135
19332
|
claimed_at: string | null;
|
|
19136
19333
|
claimed_by: string | null;
|
|
@@ -19140,6 +19337,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19140
19337
|
due_at: string | null;
|
|
19141
19338
|
error: string | null;
|
|
19142
19339
|
id: string;
|
|
19340
|
+
last_error: string | null;
|
|
19341
|
+
next_attempt_at: string | null;
|
|
19143
19342
|
order_ref: string;
|
|
19144
19343
|
owner_module: string;
|
|
19145
19344
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19166,6 +19365,51 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19166
19365
|
isSetofReturn: false;
|
|
19167
19366
|
};
|
|
19168
19367
|
};
|
|
19368
|
+
logistics_floriday_claim_pushes: {
|
|
19369
|
+
Args: {
|
|
19370
|
+
_lease_seconds?: number;
|
|
19371
|
+
_limit?: number;
|
|
19372
|
+
_worker?: string;
|
|
19373
|
+
};
|
|
19374
|
+
Returns: {
|
|
19375
|
+
attempts: number;
|
|
19376
|
+
fulfillment_order_id: string;
|
|
19377
|
+
id: string;
|
|
19378
|
+
last_sent_hash: string;
|
|
19379
|
+
order_ref: string;
|
|
19380
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19381
|
+
payload_hash: string;
|
|
19382
|
+
revision: number;
|
|
19383
|
+
}[];
|
|
19384
|
+
};
|
|
19385
|
+
logistics_floriday_finish_push: {
|
|
19386
|
+
Args: {
|
|
19387
|
+
_error?: string;
|
|
19388
|
+
_fulfillment_order_id?: string;
|
|
19389
|
+
_id: string;
|
|
19390
|
+
_max_age_hours?: number;
|
|
19391
|
+
_max_attempts?: number;
|
|
19392
|
+
_ok: boolean;
|
|
19393
|
+
_permanent?: boolean;
|
|
19394
|
+
_revision: number;
|
|
19395
|
+
_sent_hash?: string;
|
|
19396
|
+
};
|
|
19397
|
+
Returns: string;
|
|
19398
|
+
};
|
|
19399
|
+
logistics_floriday_prune_pushes: {
|
|
19400
|
+
Args: {
|
|
19401
|
+
_days?: number;
|
|
19402
|
+
};
|
|
19403
|
+
Returns: number;
|
|
19404
|
+
};
|
|
19405
|
+
logistics_floriday_queue_push: {
|
|
19406
|
+
Args: {
|
|
19407
|
+
_order_ref: string;
|
|
19408
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19409
|
+
_payload_hash?: string;
|
|
19410
|
+
};
|
|
19411
|
+
Returns: string;
|
|
19412
|
+
};
|
|
19169
19413
|
logistics_live_carriers: {
|
|
19170
19414
|
Args: {
|
|
19171
19415
|
p_order_ref: string;
|
|
@@ -19893,6 +20137,10 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
19893
20137
|
Args: never;
|
|
19894
20138
|
Returns: undefined;
|
|
19895
20139
|
};
|
|
20140
|
+
run_logistics_tasks_dispatch: {
|
|
20141
|
+
Args: never;
|
|
20142
|
+
Returns: undefined;
|
|
20143
|
+
};
|
|
19896
20144
|
run_twinfield_queue_tick: {
|
|
19897
20145
|
Args: never;
|
|
19898
20146
|
Returns: undefined;
|
|
@@ -20133,6 +20381,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
20133
20381
|
};
|
|
20134
20382
|
Returns: number;
|
|
20135
20383
|
};
|
|
20384
|
+
schedule_floriday_stock_queue_process: {
|
|
20385
|
+
Args: {
|
|
20386
|
+
p_apikey: string;
|
|
20387
|
+
p_url: string;
|
|
20388
|
+
};
|
|
20389
|
+
Returns: number;
|
|
20390
|
+
};
|
|
20136
20391
|
schedule_floriday_token_refresh: {
|
|
20137
20392
|
Args: {
|
|
20138
20393
|
p_apikey: string;
|
|
@@ -26047,12 +26302,17 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
26047
26302
|
attempts: number;
|
|
26048
26303
|
connection_id: string;
|
|
26049
26304
|
created_at: string;
|
|
26305
|
+
desired_available: boolean | null;
|
|
26050
26306
|
gateway_attempt_id: string | null;
|
|
26051
26307
|
id: string;
|
|
26052
26308
|
last_error: string | null;
|
|
26309
|
+
locked_at: string | null;
|
|
26310
|
+
locked_by: string | null;
|
|
26311
|
+
next_attempt_at: string;
|
|
26053
26312
|
number_of_pieces: number;
|
|
26054
26313
|
sent_at: string | null;
|
|
26055
26314
|
status: string;
|
|
26315
|
+
superseded_by: string | null;
|
|
26056
26316
|
trade_item_id: string;
|
|
26057
26317
|
updated_at: string;
|
|
26058
26318
|
user_id: string;
|
|
@@ -26061,12 +26321,17 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
26061
26321
|
attempts?: number;
|
|
26062
26322
|
connection_id: string;
|
|
26063
26323
|
created_at?: string;
|
|
26324
|
+
desired_available?: boolean | null;
|
|
26064
26325
|
gateway_attempt_id?: string | null;
|
|
26065
26326
|
id?: string;
|
|
26066
26327
|
last_error?: string | null;
|
|
26328
|
+
locked_at?: string | null;
|
|
26329
|
+
locked_by?: string | null;
|
|
26330
|
+
next_attempt_at?: string;
|
|
26067
26331
|
number_of_pieces?: number;
|
|
26068
26332
|
sent_at?: string | null;
|
|
26069
26333
|
status?: string;
|
|
26334
|
+
superseded_by?: string | null;
|
|
26070
26335
|
trade_item_id: string;
|
|
26071
26336
|
updated_at?: string;
|
|
26072
26337
|
user_id: string;
|
|
@@ -26075,12 +26340,17 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
26075
26340
|
attempts?: number;
|
|
26076
26341
|
connection_id?: string;
|
|
26077
26342
|
created_at?: string;
|
|
26343
|
+
desired_available?: boolean | null;
|
|
26078
26344
|
gateway_attempt_id?: string | null;
|
|
26079
26345
|
id?: string;
|
|
26080
26346
|
last_error?: string | null;
|
|
26347
|
+
locked_at?: string | null;
|
|
26348
|
+
locked_by?: string | null;
|
|
26349
|
+
next_attempt_at?: string;
|
|
26081
26350
|
number_of_pieces?: number;
|
|
26082
26351
|
sent_at?: string | null;
|
|
26083
26352
|
status?: string;
|
|
26353
|
+
superseded_by?: string | null;
|
|
26084
26354
|
trade_item_id?: string;
|
|
26085
26355
|
updated_at?: string;
|
|
26086
26356
|
user_id?: string;
|
|
@@ -28829,6 +29099,69 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
28829
29099
|
};
|
|
28830
29100
|
Relationships: [];
|
|
28831
29101
|
};
|
|
29102
|
+
logistics_floriday_pushes: {
|
|
29103
|
+
Row: {
|
|
29104
|
+
attempts: number;
|
|
29105
|
+
created_at: string;
|
|
29106
|
+
first_queued_at: string;
|
|
29107
|
+
fulfillment_order_id: string | null;
|
|
29108
|
+
id: string;
|
|
29109
|
+
last_error: string | null;
|
|
29110
|
+
last_error_at: string | null;
|
|
29111
|
+
last_sent_hash: string | null;
|
|
29112
|
+
locked_by: string | null;
|
|
29113
|
+
locked_until: string | null;
|
|
29114
|
+
next_attempt_at: string;
|
|
29115
|
+
order_ref: string;
|
|
29116
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29117
|
+
payload_hash: string | null;
|
|
29118
|
+
revision: number;
|
|
29119
|
+
sent_at: string | null;
|
|
29120
|
+
status: string;
|
|
29121
|
+
updated_at: string;
|
|
29122
|
+
};
|
|
29123
|
+
Insert: {
|
|
29124
|
+
attempts?: number;
|
|
29125
|
+
created_at?: string;
|
|
29126
|
+
first_queued_at?: string;
|
|
29127
|
+
fulfillment_order_id?: string | null;
|
|
29128
|
+
id?: string;
|
|
29129
|
+
last_error?: string | null;
|
|
29130
|
+
last_error_at?: string | null;
|
|
29131
|
+
last_sent_hash?: string | null;
|
|
29132
|
+
locked_by?: string | null;
|
|
29133
|
+
locked_until?: string | null;
|
|
29134
|
+
next_attempt_at?: string;
|
|
29135
|
+
order_ref: string;
|
|
29136
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29137
|
+
payload_hash?: string | null;
|
|
29138
|
+
revision?: number;
|
|
29139
|
+
sent_at?: string | null;
|
|
29140
|
+
status?: string;
|
|
29141
|
+
updated_at?: string;
|
|
29142
|
+
};
|
|
29143
|
+
Update: {
|
|
29144
|
+
attempts?: number;
|
|
29145
|
+
created_at?: string;
|
|
29146
|
+
first_queued_at?: string;
|
|
29147
|
+
fulfillment_order_id?: string | null;
|
|
29148
|
+
id?: string;
|
|
29149
|
+
last_error?: string | null;
|
|
29150
|
+
last_error_at?: string | null;
|
|
29151
|
+
last_sent_hash?: string | null;
|
|
29152
|
+
locked_by?: string | null;
|
|
29153
|
+
locked_until?: string | null;
|
|
29154
|
+
next_attempt_at?: string;
|
|
29155
|
+
order_ref?: string;
|
|
29156
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29157
|
+
payload_hash?: string | null;
|
|
29158
|
+
revision?: number;
|
|
29159
|
+
sent_at?: string | null;
|
|
29160
|
+
status?: string;
|
|
29161
|
+
updated_at?: string;
|
|
29162
|
+
};
|
|
29163
|
+
Relationships: [];
|
|
29164
|
+
};
|
|
28832
29165
|
logistics_formulas: {
|
|
28833
29166
|
Row: {
|
|
28834
29167
|
created_at: string;
|
|
@@ -29440,6 +29773,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
29440
29773
|
};
|
|
29441
29774
|
logistics_tasks: {
|
|
29442
29775
|
Row: {
|
|
29776
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29777
|
+
attempts: number;
|
|
29443
29778
|
buffer_ref: string | null;
|
|
29444
29779
|
claimed_at: string | null;
|
|
29445
29780
|
claimed_by: string | null;
|
|
@@ -29449,6 +29784,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
29449
29784
|
due_at: string | null;
|
|
29450
29785
|
error: string | null;
|
|
29451
29786
|
id: string;
|
|
29787
|
+
last_error: string | null;
|
|
29788
|
+
next_attempt_at: string | null;
|
|
29452
29789
|
order_ref: string;
|
|
29453
29790
|
owner_module: string;
|
|
29454
29791
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -29469,6 +29806,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
29469
29806
|
user_id: string;
|
|
29470
29807
|
};
|
|
29471
29808
|
Insert: {
|
|
29809
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29810
|
+
attempts?: number;
|
|
29472
29811
|
buffer_ref?: string | null;
|
|
29473
29812
|
claimed_at?: string | null;
|
|
29474
29813
|
claimed_by?: string | null;
|
|
@@ -29478,6 +29817,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
29478
29817
|
due_at?: string | null;
|
|
29479
29818
|
error?: string | null;
|
|
29480
29819
|
id?: string;
|
|
29820
|
+
last_error?: string | null;
|
|
29821
|
+
next_attempt_at?: string | null;
|
|
29481
29822
|
order_ref: string;
|
|
29482
29823
|
owner_module: string;
|
|
29483
29824
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29498,6 +29839,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
29498
29839
|
user_id?: string;
|
|
29499
29840
|
};
|
|
29500
29841
|
Update: {
|
|
29842
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29843
|
+
attempts?: number;
|
|
29501
29844
|
buffer_ref?: string | null;
|
|
29502
29845
|
claimed_at?: string | null;
|
|
29503
29846
|
claimed_by?: string | null;
|
|
@@ -29507,6 +29850,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
29507
29850
|
due_at?: string | null;
|
|
29508
29851
|
error?: string | null;
|
|
29509
29852
|
id?: string;
|
|
29853
|
+
last_error?: string | null;
|
|
29854
|
+
next_attempt_at?: string | null;
|
|
29510
29855
|
order_ref?: string;
|
|
29511
29856
|
owner_module?: string;
|
|
29512
29857
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -38511,6 +38856,85 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
38511
38856
|
};
|
|
38512
38857
|
Returns: import("../integrations/supabase/types").Json;
|
|
38513
38858
|
};
|
|
38859
|
+
claim_floriday_stock_queue: {
|
|
38860
|
+
Args: {
|
|
38861
|
+
p_limit?: number;
|
|
38862
|
+
p_worker?: string;
|
|
38863
|
+
};
|
|
38864
|
+
Returns: {
|
|
38865
|
+
attempts: number;
|
|
38866
|
+
connection_id: string;
|
|
38867
|
+
created_at: string;
|
|
38868
|
+
desired_available: boolean | null;
|
|
38869
|
+
gateway_attempt_id: string | null;
|
|
38870
|
+
id: string;
|
|
38871
|
+
last_error: string | null;
|
|
38872
|
+
locked_at: string | null;
|
|
38873
|
+
locked_by: string | null;
|
|
38874
|
+
next_attempt_at: string;
|
|
38875
|
+
number_of_pieces: number;
|
|
38876
|
+
sent_at: string | null;
|
|
38877
|
+
status: string;
|
|
38878
|
+
superseded_by: string | null;
|
|
38879
|
+
trade_item_id: string;
|
|
38880
|
+
updated_at: string;
|
|
38881
|
+
user_id: string;
|
|
38882
|
+
}[];
|
|
38883
|
+
SetofOptions: {
|
|
38884
|
+
from: "*";
|
|
38885
|
+
to: "floriday_continuous_stock_queue";
|
|
38886
|
+
isOneToOne: false;
|
|
38887
|
+
isSetofReturn: true;
|
|
38888
|
+
};
|
|
38889
|
+
};
|
|
38890
|
+
claim_logistics_tasks: {
|
|
38891
|
+
Args: {
|
|
38892
|
+
_limit?: number;
|
|
38893
|
+
_owner_module: string;
|
|
38894
|
+
_stale_minutes?: number;
|
|
38895
|
+
_task_type: string;
|
|
38896
|
+
_worker: string;
|
|
38897
|
+
};
|
|
38898
|
+
Returns: {
|
|
38899
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38900
|
+
attempts: number;
|
|
38901
|
+
buffer_ref: string | null;
|
|
38902
|
+
claimed_at: string | null;
|
|
38903
|
+
claimed_by: string | null;
|
|
38904
|
+
completed_at: string | null;
|
|
38905
|
+
created_at: string;
|
|
38906
|
+
depends_on: string[];
|
|
38907
|
+
due_at: string | null;
|
|
38908
|
+
error: string | null;
|
|
38909
|
+
id: string;
|
|
38910
|
+
last_error: string | null;
|
|
38911
|
+
next_attempt_at: string | null;
|
|
38912
|
+
order_ref: string;
|
|
38913
|
+
owner_module: string;
|
|
38914
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38915
|
+
plan_run_id: string | null;
|
|
38916
|
+
planned_end: string | null;
|
|
38917
|
+
planned_start: string | null;
|
|
38918
|
+
priority: number;
|
|
38919
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38920
|
+
rule_config_id: string | null;
|
|
38921
|
+
rule_version: number | null;
|
|
38922
|
+
sequence: number;
|
|
38923
|
+
shadow: boolean;
|
|
38924
|
+
started_at: string | null;
|
|
38925
|
+
status: string;
|
|
38926
|
+
strategy_id: string | null;
|
|
38927
|
+
task_type: string;
|
|
38928
|
+
updated_at: string;
|
|
38929
|
+
user_id: string;
|
|
38930
|
+
}[];
|
|
38931
|
+
SetofOptions: {
|
|
38932
|
+
from: "*";
|
|
38933
|
+
to: "logistics_tasks";
|
|
38934
|
+
isOneToOne: false;
|
|
38935
|
+
isSetofReturn: true;
|
|
38936
|
+
};
|
|
38937
|
+
};
|
|
38514
38938
|
claim_print_jobs: {
|
|
38515
38939
|
Args: {
|
|
38516
38940
|
_agent_id: string;
|
|
@@ -38575,10 +38999,24 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
38575
38999
|
isSetofReturn: true;
|
|
38576
39000
|
};
|
|
38577
39001
|
};
|
|
39002
|
+
cleanup_floriday_stock_queue: {
|
|
39003
|
+
Args: never;
|
|
39004
|
+
Returns: undefined;
|
|
39005
|
+
};
|
|
38578
39006
|
cleanup_old_bookings: {
|
|
38579
39007
|
Args: never;
|
|
38580
39008
|
Returns: undefined;
|
|
38581
39009
|
};
|
|
39010
|
+
complete_floriday_stock_queue: {
|
|
39011
|
+
Args: {
|
|
39012
|
+
p_attempt_id?: string;
|
|
39013
|
+
p_error?: string;
|
|
39014
|
+
p_id: string;
|
|
39015
|
+
p_ok: boolean;
|
|
39016
|
+
p_permanent?: boolean;
|
|
39017
|
+
};
|
|
39018
|
+
Returns: undefined;
|
|
39019
|
+
};
|
|
38582
39020
|
consume_bom_for_production: {
|
|
38583
39021
|
Args: {
|
|
38584
39022
|
p_connection_id: string;
|
|
@@ -39270,6 +39708,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39270
39708
|
p_worker?: string;
|
|
39271
39709
|
};
|
|
39272
39710
|
Returns: {
|
|
39711
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39712
|
+
attempts: number;
|
|
39273
39713
|
buffer_ref: string | null;
|
|
39274
39714
|
claimed_at: string | null;
|
|
39275
39715
|
claimed_by: string | null;
|
|
@@ -39279,6 +39719,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39279
39719
|
due_at: string | null;
|
|
39280
39720
|
error: string | null;
|
|
39281
39721
|
id: string;
|
|
39722
|
+
last_error: string | null;
|
|
39723
|
+
next_attempt_at: string | null;
|
|
39282
39724
|
order_ref: string;
|
|
39283
39725
|
owner_module: string;
|
|
39284
39726
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39311,6 +39753,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39311
39753
|
p_worker?: string;
|
|
39312
39754
|
};
|
|
39313
39755
|
Returns: {
|
|
39756
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39757
|
+
attempts: number;
|
|
39314
39758
|
buffer_ref: string | null;
|
|
39315
39759
|
claimed_at: string | null;
|
|
39316
39760
|
claimed_by: string | null;
|
|
@@ -39320,6 +39764,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39320
39764
|
due_at: string | null;
|
|
39321
39765
|
error: string | null;
|
|
39322
39766
|
id: string;
|
|
39767
|
+
last_error: string | null;
|
|
39768
|
+
next_attempt_at: string | null;
|
|
39323
39769
|
order_ref: string;
|
|
39324
39770
|
owner_module: string;
|
|
39325
39771
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39352,6 +39798,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39352
39798
|
p_task_id: string;
|
|
39353
39799
|
};
|
|
39354
39800
|
Returns: {
|
|
39801
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39802
|
+
attempts: number;
|
|
39355
39803
|
buffer_ref: string | null;
|
|
39356
39804
|
claimed_at: string | null;
|
|
39357
39805
|
claimed_by: string | null;
|
|
@@ -39361,6 +39809,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39361
39809
|
due_at: string | null;
|
|
39362
39810
|
error: string | null;
|
|
39363
39811
|
id: string;
|
|
39812
|
+
last_error: string | null;
|
|
39813
|
+
next_attempt_at: string | null;
|
|
39364
39814
|
order_ref: string;
|
|
39365
39815
|
owner_module: string;
|
|
39366
39816
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39442,6 +39892,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39442
39892
|
p_task_id: string;
|
|
39443
39893
|
};
|
|
39444
39894
|
Returns: {
|
|
39895
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39896
|
+
attempts: number;
|
|
39445
39897
|
buffer_ref: string | null;
|
|
39446
39898
|
claimed_at: string | null;
|
|
39447
39899
|
claimed_by: string | null;
|
|
@@ -39451,6 +39903,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39451
39903
|
due_at: string | null;
|
|
39452
39904
|
error: string | null;
|
|
39453
39905
|
id: string;
|
|
39906
|
+
last_error: string | null;
|
|
39907
|
+
next_attempt_at: string | null;
|
|
39454
39908
|
order_ref: string;
|
|
39455
39909
|
owner_module: string;
|
|
39456
39910
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39477,6 +39931,51 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
39477
39931
|
isSetofReturn: false;
|
|
39478
39932
|
};
|
|
39479
39933
|
};
|
|
39934
|
+
logistics_floriday_claim_pushes: {
|
|
39935
|
+
Args: {
|
|
39936
|
+
_lease_seconds?: number;
|
|
39937
|
+
_limit?: number;
|
|
39938
|
+
_worker?: string;
|
|
39939
|
+
};
|
|
39940
|
+
Returns: {
|
|
39941
|
+
attempts: number;
|
|
39942
|
+
fulfillment_order_id: string;
|
|
39943
|
+
id: string;
|
|
39944
|
+
last_sent_hash: string;
|
|
39945
|
+
order_ref: string;
|
|
39946
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39947
|
+
payload_hash: string;
|
|
39948
|
+
revision: number;
|
|
39949
|
+
}[];
|
|
39950
|
+
};
|
|
39951
|
+
logistics_floriday_finish_push: {
|
|
39952
|
+
Args: {
|
|
39953
|
+
_error?: string;
|
|
39954
|
+
_fulfillment_order_id?: string;
|
|
39955
|
+
_id: string;
|
|
39956
|
+
_max_age_hours?: number;
|
|
39957
|
+
_max_attempts?: number;
|
|
39958
|
+
_ok: boolean;
|
|
39959
|
+
_permanent?: boolean;
|
|
39960
|
+
_revision: number;
|
|
39961
|
+
_sent_hash?: string;
|
|
39962
|
+
};
|
|
39963
|
+
Returns: string;
|
|
39964
|
+
};
|
|
39965
|
+
logistics_floriday_prune_pushes: {
|
|
39966
|
+
Args: {
|
|
39967
|
+
_days?: number;
|
|
39968
|
+
};
|
|
39969
|
+
Returns: number;
|
|
39970
|
+
};
|
|
39971
|
+
logistics_floriday_queue_push: {
|
|
39972
|
+
Args: {
|
|
39973
|
+
_order_ref: string;
|
|
39974
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
39975
|
+
_payload_hash?: string;
|
|
39976
|
+
};
|
|
39977
|
+
Returns: string;
|
|
39978
|
+
};
|
|
39480
39979
|
logistics_live_carriers: {
|
|
39481
39980
|
Args: {
|
|
39482
39981
|
p_order_ref: string;
|
|
@@ -40204,6 +40703,10 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
40204
40703
|
Args: never;
|
|
40205
40704
|
Returns: undefined;
|
|
40206
40705
|
};
|
|
40706
|
+
run_logistics_tasks_dispatch: {
|
|
40707
|
+
Args: never;
|
|
40708
|
+
Returns: undefined;
|
|
40709
|
+
};
|
|
40207
40710
|
run_twinfield_queue_tick: {
|
|
40208
40711
|
Args: never;
|
|
40209
40712
|
Returns: undefined;
|
|
@@ -40444,6 +40947,13 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
40444
40947
|
};
|
|
40445
40948
|
Returns: number;
|
|
40446
40949
|
};
|
|
40950
|
+
schedule_floriday_stock_queue_process: {
|
|
40951
|
+
Args: {
|
|
40952
|
+
p_apikey: string;
|
|
40953
|
+
p_url: string;
|
|
40954
|
+
};
|
|
40955
|
+
Returns: number;
|
|
40956
|
+
};
|
|
40447
40957
|
schedule_floriday_token_refresh: {
|
|
40448
40958
|
Args: {
|
|
40449
40959
|
p_apikey: string;
|
|
@@ -46384,12 +46894,17 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
46384
46894
|
attempts: number;
|
|
46385
46895
|
connection_id: string;
|
|
46386
46896
|
created_at: string;
|
|
46897
|
+
desired_available: boolean | null;
|
|
46387
46898
|
gateway_attempt_id: string | null;
|
|
46388
46899
|
id: string;
|
|
46389
46900
|
last_error: string | null;
|
|
46901
|
+
locked_at: string | null;
|
|
46902
|
+
locked_by: string | null;
|
|
46903
|
+
next_attempt_at: string;
|
|
46390
46904
|
number_of_pieces: number;
|
|
46391
46905
|
sent_at: string | null;
|
|
46392
46906
|
status: string;
|
|
46907
|
+
superseded_by: string | null;
|
|
46393
46908
|
trade_item_id: string;
|
|
46394
46909
|
updated_at: string;
|
|
46395
46910
|
user_id: string;
|
|
@@ -46398,12 +46913,17 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
46398
46913
|
attempts?: number;
|
|
46399
46914
|
connection_id: string;
|
|
46400
46915
|
created_at?: string;
|
|
46916
|
+
desired_available?: boolean | null;
|
|
46401
46917
|
gateway_attempt_id?: string | null;
|
|
46402
46918
|
id?: string;
|
|
46403
46919
|
last_error?: string | null;
|
|
46920
|
+
locked_at?: string | null;
|
|
46921
|
+
locked_by?: string | null;
|
|
46922
|
+
next_attempt_at?: string;
|
|
46404
46923
|
number_of_pieces?: number;
|
|
46405
46924
|
sent_at?: string | null;
|
|
46406
46925
|
status?: string;
|
|
46926
|
+
superseded_by?: string | null;
|
|
46407
46927
|
trade_item_id: string;
|
|
46408
46928
|
updated_at?: string;
|
|
46409
46929
|
user_id: string;
|
|
@@ -46412,12 +46932,17 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
46412
46932
|
attempts?: number;
|
|
46413
46933
|
connection_id?: string;
|
|
46414
46934
|
created_at?: string;
|
|
46935
|
+
desired_available?: boolean | null;
|
|
46415
46936
|
gateway_attempt_id?: string | null;
|
|
46416
46937
|
id?: string;
|
|
46417
46938
|
last_error?: string | null;
|
|
46939
|
+
locked_at?: string | null;
|
|
46940
|
+
locked_by?: string | null;
|
|
46941
|
+
next_attempt_at?: string;
|
|
46418
46942
|
number_of_pieces?: number;
|
|
46419
46943
|
sent_at?: string | null;
|
|
46420
46944
|
status?: string;
|
|
46945
|
+
superseded_by?: string | null;
|
|
46421
46946
|
trade_item_id?: string;
|
|
46422
46947
|
updated_at?: string;
|
|
46423
46948
|
user_id?: string;
|
|
@@ -49166,6 +49691,69 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49166
49691
|
};
|
|
49167
49692
|
Relationships: [];
|
|
49168
49693
|
};
|
|
49694
|
+
logistics_floriday_pushes: {
|
|
49695
|
+
Row: {
|
|
49696
|
+
attempts: number;
|
|
49697
|
+
created_at: string;
|
|
49698
|
+
first_queued_at: string;
|
|
49699
|
+
fulfillment_order_id: string | null;
|
|
49700
|
+
id: string;
|
|
49701
|
+
last_error: string | null;
|
|
49702
|
+
last_error_at: string | null;
|
|
49703
|
+
last_sent_hash: string | null;
|
|
49704
|
+
locked_by: string | null;
|
|
49705
|
+
locked_until: string | null;
|
|
49706
|
+
next_attempt_at: string;
|
|
49707
|
+
order_ref: string;
|
|
49708
|
+
payload: import("../integrations/supabase/types").Json;
|
|
49709
|
+
payload_hash: string | null;
|
|
49710
|
+
revision: number;
|
|
49711
|
+
sent_at: string | null;
|
|
49712
|
+
status: string;
|
|
49713
|
+
updated_at: string;
|
|
49714
|
+
};
|
|
49715
|
+
Insert: {
|
|
49716
|
+
attempts?: number;
|
|
49717
|
+
created_at?: string;
|
|
49718
|
+
first_queued_at?: string;
|
|
49719
|
+
fulfillment_order_id?: string | null;
|
|
49720
|
+
id?: string;
|
|
49721
|
+
last_error?: string | null;
|
|
49722
|
+
last_error_at?: string | null;
|
|
49723
|
+
last_sent_hash?: string | null;
|
|
49724
|
+
locked_by?: string | null;
|
|
49725
|
+
locked_until?: string | null;
|
|
49726
|
+
next_attempt_at?: string;
|
|
49727
|
+
order_ref: string;
|
|
49728
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49729
|
+
payload_hash?: string | null;
|
|
49730
|
+
revision?: number;
|
|
49731
|
+
sent_at?: string | null;
|
|
49732
|
+
status?: string;
|
|
49733
|
+
updated_at?: string;
|
|
49734
|
+
};
|
|
49735
|
+
Update: {
|
|
49736
|
+
attempts?: number;
|
|
49737
|
+
created_at?: string;
|
|
49738
|
+
first_queued_at?: string;
|
|
49739
|
+
fulfillment_order_id?: string | null;
|
|
49740
|
+
id?: string;
|
|
49741
|
+
last_error?: string | null;
|
|
49742
|
+
last_error_at?: string | null;
|
|
49743
|
+
last_sent_hash?: string | null;
|
|
49744
|
+
locked_by?: string | null;
|
|
49745
|
+
locked_until?: string | null;
|
|
49746
|
+
next_attempt_at?: string;
|
|
49747
|
+
order_ref?: string;
|
|
49748
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49749
|
+
payload_hash?: string | null;
|
|
49750
|
+
revision?: number;
|
|
49751
|
+
sent_at?: string | null;
|
|
49752
|
+
status?: string;
|
|
49753
|
+
updated_at?: string;
|
|
49754
|
+
};
|
|
49755
|
+
Relationships: [];
|
|
49756
|
+
};
|
|
49169
49757
|
logistics_formulas: {
|
|
49170
49758
|
Row: {
|
|
49171
49759
|
created_at: string;
|
|
@@ -49777,6 +50365,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49777
50365
|
};
|
|
49778
50366
|
logistics_tasks: {
|
|
49779
50367
|
Row: {
|
|
50368
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
50369
|
+
attempts: number;
|
|
49780
50370
|
buffer_ref: string | null;
|
|
49781
50371
|
claimed_at: string | null;
|
|
49782
50372
|
claimed_by: string | null;
|
|
@@ -49786,6 +50376,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49786
50376
|
due_at: string | null;
|
|
49787
50377
|
error: string | null;
|
|
49788
50378
|
id: string;
|
|
50379
|
+
last_error: string | null;
|
|
50380
|
+
next_attempt_at: string | null;
|
|
49789
50381
|
order_ref: string;
|
|
49790
50382
|
owner_module: string;
|
|
49791
50383
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -49806,6 +50398,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49806
50398
|
user_id: string;
|
|
49807
50399
|
};
|
|
49808
50400
|
Insert: {
|
|
50401
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50402
|
+
attempts?: number;
|
|
49809
50403
|
buffer_ref?: string | null;
|
|
49810
50404
|
claimed_at?: string | null;
|
|
49811
50405
|
claimed_by?: string | null;
|
|
@@ -49815,6 +50409,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49815
50409
|
due_at?: string | null;
|
|
49816
50410
|
error?: string | null;
|
|
49817
50411
|
id?: string;
|
|
50412
|
+
last_error?: string | null;
|
|
50413
|
+
next_attempt_at?: string | null;
|
|
49818
50414
|
order_ref: string;
|
|
49819
50415
|
owner_module: string;
|
|
49820
50416
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49835,6 +50431,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49835
50431
|
user_id?: string;
|
|
49836
50432
|
};
|
|
49837
50433
|
Update: {
|
|
50434
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50435
|
+
attempts?: number;
|
|
49838
50436
|
buffer_ref?: string | null;
|
|
49839
50437
|
claimed_at?: string | null;
|
|
49840
50438
|
claimed_by?: string | null;
|
|
@@ -49844,6 +50442,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
49844
50442
|
due_at?: string | null;
|
|
49845
50443
|
error?: string | null;
|
|
49846
50444
|
id?: string;
|
|
50445
|
+
last_error?: string | null;
|
|
50446
|
+
next_attempt_at?: string | null;
|
|
49847
50447
|
order_ref?: string;
|
|
49848
50448
|
owner_module?: string;
|
|
49849
50449
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -58848,6 +59448,85 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
58848
59448
|
};
|
|
58849
59449
|
Returns: import("../integrations/supabase/types").Json;
|
|
58850
59450
|
};
|
|
59451
|
+
claim_floriday_stock_queue: {
|
|
59452
|
+
Args: {
|
|
59453
|
+
p_limit?: number;
|
|
59454
|
+
p_worker?: string;
|
|
59455
|
+
};
|
|
59456
|
+
Returns: {
|
|
59457
|
+
attempts: number;
|
|
59458
|
+
connection_id: string;
|
|
59459
|
+
created_at: string;
|
|
59460
|
+
desired_available: boolean | null;
|
|
59461
|
+
gateway_attempt_id: string | null;
|
|
59462
|
+
id: string;
|
|
59463
|
+
last_error: string | null;
|
|
59464
|
+
locked_at: string | null;
|
|
59465
|
+
locked_by: string | null;
|
|
59466
|
+
next_attempt_at: string;
|
|
59467
|
+
number_of_pieces: number;
|
|
59468
|
+
sent_at: string | null;
|
|
59469
|
+
status: string;
|
|
59470
|
+
superseded_by: string | null;
|
|
59471
|
+
trade_item_id: string;
|
|
59472
|
+
updated_at: string;
|
|
59473
|
+
user_id: string;
|
|
59474
|
+
}[];
|
|
59475
|
+
SetofOptions: {
|
|
59476
|
+
from: "*";
|
|
59477
|
+
to: "floriday_continuous_stock_queue";
|
|
59478
|
+
isOneToOne: false;
|
|
59479
|
+
isSetofReturn: true;
|
|
59480
|
+
};
|
|
59481
|
+
};
|
|
59482
|
+
claim_logistics_tasks: {
|
|
59483
|
+
Args: {
|
|
59484
|
+
_limit?: number;
|
|
59485
|
+
_owner_module: string;
|
|
59486
|
+
_stale_minutes?: number;
|
|
59487
|
+
_task_type: string;
|
|
59488
|
+
_worker: string;
|
|
59489
|
+
};
|
|
59490
|
+
Returns: {
|
|
59491
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59492
|
+
attempts: number;
|
|
59493
|
+
buffer_ref: string | null;
|
|
59494
|
+
claimed_at: string | null;
|
|
59495
|
+
claimed_by: string | null;
|
|
59496
|
+
completed_at: string | null;
|
|
59497
|
+
created_at: string;
|
|
59498
|
+
depends_on: string[];
|
|
59499
|
+
due_at: string | null;
|
|
59500
|
+
error: string | null;
|
|
59501
|
+
id: string;
|
|
59502
|
+
last_error: string | null;
|
|
59503
|
+
next_attempt_at: string | null;
|
|
59504
|
+
order_ref: string;
|
|
59505
|
+
owner_module: string;
|
|
59506
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59507
|
+
plan_run_id: string | null;
|
|
59508
|
+
planned_end: string | null;
|
|
59509
|
+
planned_start: string | null;
|
|
59510
|
+
priority: number;
|
|
59511
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
59512
|
+
rule_config_id: string | null;
|
|
59513
|
+
rule_version: number | null;
|
|
59514
|
+
sequence: number;
|
|
59515
|
+
shadow: boolean;
|
|
59516
|
+
started_at: string | null;
|
|
59517
|
+
status: string;
|
|
59518
|
+
strategy_id: string | null;
|
|
59519
|
+
task_type: string;
|
|
59520
|
+
updated_at: string;
|
|
59521
|
+
user_id: string;
|
|
59522
|
+
}[];
|
|
59523
|
+
SetofOptions: {
|
|
59524
|
+
from: "*";
|
|
59525
|
+
to: "logistics_tasks";
|
|
59526
|
+
isOneToOne: false;
|
|
59527
|
+
isSetofReturn: true;
|
|
59528
|
+
};
|
|
59529
|
+
};
|
|
58851
59530
|
claim_print_jobs: {
|
|
58852
59531
|
Args: {
|
|
58853
59532
|
_agent_id: string;
|
|
@@ -58912,10 +59591,24 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
58912
59591
|
isSetofReturn: true;
|
|
58913
59592
|
};
|
|
58914
59593
|
};
|
|
59594
|
+
cleanup_floriday_stock_queue: {
|
|
59595
|
+
Args: never;
|
|
59596
|
+
Returns: undefined;
|
|
59597
|
+
};
|
|
58915
59598
|
cleanup_old_bookings: {
|
|
58916
59599
|
Args: never;
|
|
58917
59600
|
Returns: undefined;
|
|
58918
59601
|
};
|
|
59602
|
+
complete_floriday_stock_queue: {
|
|
59603
|
+
Args: {
|
|
59604
|
+
p_attempt_id?: string;
|
|
59605
|
+
p_error?: string;
|
|
59606
|
+
p_id: string;
|
|
59607
|
+
p_ok: boolean;
|
|
59608
|
+
p_permanent?: boolean;
|
|
59609
|
+
};
|
|
59610
|
+
Returns: undefined;
|
|
59611
|
+
};
|
|
58919
59612
|
consume_bom_for_production: {
|
|
58920
59613
|
Args: {
|
|
58921
59614
|
p_connection_id: string;
|
|
@@ -59607,6 +60300,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59607
60300
|
p_worker?: string;
|
|
59608
60301
|
};
|
|
59609
60302
|
Returns: {
|
|
60303
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60304
|
+
attempts: number;
|
|
59610
60305
|
buffer_ref: string | null;
|
|
59611
60306
|
claimed_at: string | null;
|
|
59612
60307
|
claimed_by: string | null;
|
|
@@ -59616,6 +60311,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59616
60311
|
due_at: string | null;
|
|
59617
60312
|
error: string | null;
|
|
59618
60313
|
id: string;
|
|
60314
|
+
last_error: string | null;
|
|
60315
|
+
next_attempt_at: string | null;
|
|
59619
60316
|
order_ref: string;
|
|
59620
60317
|
owner_module: string;
|
|
59621
60318
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59648,6 +60345,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59648
60345
|
p_worker?: string;
|
|
59649
60346
|
};
|
|
59650
60347
|
Returns: {
|
|
60348
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60349
|
+
attempts: number;
|
|
59651
60350
|
buffer_ref: string | null;
|
|
59652
60351
|
claimed_at: string | null;
|
|
59653
60352
|
claimed_by: string | null;
|
|
@@ -59657,6 +60356,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59657
60356
|
due_at: string | null;
|
|
59658
60357
|
error: string | null;
|
|
59659
60358
|
id: string;
|
|
60359
|
+
last_error: string | null;
|
|
60360
|
+
next_attempt_at: string | null;
|
|
59660
60361
|
order_ref: string;
|
|
59661
60362
|
owner_module: string;
|
|
59662
60363
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59689,6 +60390,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59689
60390
|
p_task_id: string;
|
|
59690
60391
|
};
|
|
59691
60392
|
Returns: {
|
|
60393
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60394
|
+
attempts: number;
|
|
59692
60395
|
buffer_ref: string | null;
|
|
59693
60396
|
claimed_at: string | null;
|
|
59694
60397
|
claimed_by: string | null;
|
|
@@ -59698,6 +60401,102 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59698
60401
|
due_at: string | null;
|
|
59699
60402
|
error: string | null;
|
|
59700
60403
|
id: string;
|
|
60404
|
+
last_error: string | null;
|
|
60405
|
+
next_attempt_at: string | null;
|
|
60406
|
+
order_ref: string;
|
|
60407
|
+
owner_module: string;
|
|
60408
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60409
|
+
plan_run_id: string | null;
|
|
60410
|
+
planned_end: string | null;
|
|
60411
|
+
planned_start: string | null;
|
|
60412
|
+
priority: number;
|
|
60413
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
60414
|
+
rule_config_id: string | null;
|
|
60415
|
+
rule_version: number | null;
|
|
60416
|
+
sequence: number;
|
|
60417
|
+
shadow: boolean;
|
|
60418
|
+
started_at: string | null;
|
|
60419
|
+
status: string;
|
|
60420
|
+
strategy_id: string | null;
|
|
60421
|
+
task_type: string;
|
|
60422
|
+
updated_at: string;
|
|
60423
|
+
user_id: string;
|
|
60424
|
+
};
|
|
60425
|
+
SetofOptions: {
|
|
60426
|
+
from: "*";
|
|
60427
|
+
to: "logistics_tasks";
|
|
60428
|
+
isOneToOne: true;
|
|
60429
|
+
isSetofReturn: false;
|
|
60430
|
+
};
|
|
60431
|
+
};
|
|
60432
|
+
logistics_delay_customer_email: {
|
|
60433
|
+
Args: {
|
|
60434
|
+
p_customer: string;
|
|
60435
|
+
p_lang: string;
|
|
60436
|
+
p_new_date: string;
|
|
60437
|
+
p_order: string;
|
|
60438
|
+
p_partial?: boolean;
|
|
60439
|
+
};
|
|
60440
|
+
Returns: {
|
|
60441
|
+
body: string;
|
|
60442
|
+
subject: string;
|
|
60443
|
+
}[];
|
|
60444
|
+
};
|
|
60445
|
+
logistics_document_layout: {
|
|
60446
|
+
Args: {
|
|
60447
|
+
_document_code: string;
|
|
60448
|
+
};
|
|
60449
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60450
|
+
};
|
|
60451
|
+
logistics_document_station: {
|
|
60452
|
+
Args: {
|
|
60453
|
+
_document_code: string;
|
|
60454
|
+
};
|
|
60455
|
+
Returns: string;
|
|
60456
|
+
};
|
|
60457
|
+
logistics_emit_event: {
|
|
60458
|
+
Args: {
|
|
60459
|
+
p_event_type: string;
|
|
60460
|
+
p_idempotency_key?: string;
|
|
60461
|
+
p_order_ref: string;
|
|
60462
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
60463
|
+
p_shadow?: boolean;
|
|
60464
|
+
p_source_module: string;
|
|
60465
|
+
p_strategy_id?: string;
|
|
60466
|
+
};
|
|
60467
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60468
|
+
} | {
|
|
60469
|
+
Args: {
|
|
60470
|
+
p_event_type: string;
|
|
60471
|
+
p_idempotency_key?: string;
|
|
60472
|
+
p_order_ref: string;
|
|
60473
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
60474
|
+
p_priority?: number;
|
|
60475
|
+
p_shadow?: boolean;
|
|
60476
|
+
p_source_module: string;
|
|
60477
|
+
p_strategy_id?: string;
|
|
60478
|
+
};
|
|
60479
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60480
|
+
};
|
|
60481
|
+
logistics_fail_task: {
|
|
60482
|
+
Args: {
|
|
60483
|
+
p_error: string;
|
|
60484
|
+
p_task_id: string;
|
|
60485
|
+
};
|
|
60486
|
+
Returns: {
|
|
60487
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60488
|
+
attempts: number;
|
|
60489
|
+
buffer_ref: string | null;
|
|
60490
|
+
claimed_at: string | null;
|
|
60491
|
+
claimed_by: string | null;
|
|
60492
|
+
completed_at: string | null;
|
|
60493
|
+
created_at: string;
|
|
60494
|
+
depends_on: string[];
|
|
60495
|
+
due_at: string | null;
|
|
60496
|
+
error: string | null;
|
|
60497
|
+
id: string;
|
|
60498
|
+
last_error: string | null;
|
|
60499
|
+
next_attempt_at: string | null;
|
|
59701
60500
|
order_ref: string;
|
|
59702
60501
|
owner_module: string;
|
|
59703
60502
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59724,95 +60523,50 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
59724
60523
|
isSetofReturn: false;
|
|
59725
60524
|
};
|
|
59726
60525
|
};
|
|
59727
|
-
|
|
60526
|
+
logistics_floriday_claim_pushes: {
|
|
59728
60527
|
Args: {
|
|
59729
|
-
|
|
59730
|
-
|
|
59731
|
-
|
|
59732
|
-
p_order: string;
|
|
59733
|
-
p_partial?: boolean;
|
|
60528
|
+
_lease_seconds?: number;
|
|
60529
|
+
_limit?: number;
|
|
60530
|
+
_worker?: string;
|
|
59734
60531
|
};
|
|
59735
60532
|
Returns: {
|
|
59736
|
-
|
|
59737
|
-
|
|
60533
|
+
attempts: number;
|
|
60534
|
+
fulfillment_order_id: string;
|
|
60535
|
+
id: string;
|
|
60536
|
+
last_sent_hash: string;
|
|
60537
|
+
order_ref: string;
|
|
60538
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60539
|
+
payload_hash: string;
|
|
60540
|
+
revision: number;
|
|
59738
60541
|
}[];
|
|
59739
60542
|
};
|
|
59740
|
-
|
|
59741
|
-
Args: {
|
|
59742
|
-
_document_code: string;
|
|
59743
|
-
};
|
|
59744
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
59745
|
-
};
|
|
59746
|
-
logistics_document_station: {
|
|
60543
|
+
logistics_floriday_finish_push: {
|
|
59747
60544
|
Args: {
|
|
59748
|
-
|
|
60545
|
+
_error?: string;
|
|
60546
|
+
_fulfillment_order_id?: string;
|
|
60547
|
+
_id: string;
|
|
60548
|
+
_max_age_hours?: number;
|
|
60549
|
+
_max_attempts?: number;
|
|
60550
|
+
_ok: boolean;
|
|
60551
|
+
_permanent?: boolean;
|
|
60552
|
+
_revision: number;
|
|
60553
|
+
_sent_hash?: string;
|
|
59749
60554
|
};
|
|
59750
60555
|
Returns: string;
|
|
59751
60556
|
};
|
|
59752
|
-
|
|
59753
|
-
Args: {
|
|
59754
|
-
p_event_type: string;
|
|
59755
|
-
p_idempotency_key?: string;
|
|
59756
|
-
p_order_ref: string;
|
|
59757
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
59758
|
-
p_shadow?: boolean;
|
|
59759
|
-
p_source_module: string;
|
|
59760
|
-
p_strategy_id?: string;
|
|
59761
|
-
};
|
|
59762
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
59763
|
-
} | {
|
|
60557
|
+
logistics_floriday_prune_pushes: {
|
|
59764
60558
|
Args: {
|
|
59765
|
-
|
|
59766
|
-
p_idempotency_key?: string;
|
|
59767
|
-
p_order_ref: string;
|
|
59768
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
59769
|
-
p_priority?: number;
|
|
59770
|
-
p_shadow?: boolean;
|
|
59771
|
-
p_source_module: string;
|
|
59772
|
-
p_strategy_id?: string;
|
|
60559
|
+
_days?: number;
|
|
59773
60560
|
};
|
|
59774
|
-
Returns:
|
|
60561
|
+
Returns: number;
|
|
59775
60562
|
};
|
|
59776
|
-
|
|
60563
|
+
logistics_floriday_queue_push: {
|
|
59777
60564
|
Args: {
|
|
59778
|
-
|
|
59779
|
-
|
|
59780
|
-
|
|
59781
|
-
Returns: {
|
|
59782
|
-
buffer_ref: string | null;
|
|
59783
|
-
claimed_at: string | null;
|
|
59784
|
-
claimed_by: string | null;
|
|
59785
|
-
completed_at: string | null;
|
|
59786
|
-
created_at: string;
|
|
59787
|
-
depends_on: string[];
|
|
59788
|
-
due_at: string | null;
|
|
59789
|
-
error: string | null;
|
|
59790
|
-
id: string;
|
|
59791
|
-
order_ref: string;
|
|
59792
|
-
owner_module: string;
|
|
59793
|
-
payload: import("../integrations/supabase/types").Json;
|
|
59794
|
-
plan_run_id: string | null;
|
|
59795
|
-
planned_end: string | null;
|
|
59796
|
-
planned_start: string | null;
|
|
59797
|
-
priority: number;
|
|
59798
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
59799
|
-
rule_config_id: string | null;
|
|
59800
|
-
rule_version: number | null;
|
|
59801
|
-
sequence: number;
|
|
59802
|
-
shadow: boolean;
|
|
59803
|
-
started_at: string | null;
|
|
59804
|
-
status: string;
|
|
59805
|
-
strategy_id: string | null;
|
|
59806
|
-
task_type: string;
|
|
59807
|
-
updated_at: string;
|
|
59808
|
-
user_id: string;
|
|
59809
|
-
};
|
|
59810
|
-
SetofOptions: {
|
|
59811
|
-
from: "*";
|
|
59812
|
-
to: "logistics_tasks";
|
|
59813
|
-
isOneToOne: true;
|
|
59814
|
-
isSetofReturn: false;
|
|
60565
|
+
_order_ref: string;
|
|
60566
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60567
|
+
_payload_hash?: string;
|
|
59815
60568
|
};
|
|
60569
|
+
Returns: string;
|
|
59816
60570
|
};
|
|
59817
60571
|
logistics_live_carriers: {
|
|
59818
60572
|
Args: {
|
|
@@ -60541,6 +61295,10 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
60541
61295
|
Args: never;
|
|
60542
61296
|
Returns: undefined;
|
|
60543
61297
|
};
|
|
61298
|
+
run_logistics_tasks_dispatch: {
|
|
61299
|
+
Args: never;
|
|
61300
|
+
Returns: undefined;
|
|
61301
|
+
};
|
|
60544
61302
|
run_twinfield_queue_tick: {
|
|
60545
61303
|
Args: never;
|
|
60546
61304
|
Returns: undefined;
|
|
@@ -60781,6 +61539,13 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
60781
61539
|
};
|
|
60782
61540
|
Returns: number;
|
|
60783
61541
|
};
|
|
61542
|
+
schedule_floriday_stock_queue_process: {
|
|
61543
|
+
Args: {
|
|
61544
|
+
p_apikey: string;
|
|
61545
|
+
p_url: string;
|
|
61546
|
+
};
|
|
61547
|
+
Returns: number;
|
|
61548
|
+
};
|
|
60784
61549
|
schedule_floriday_token_refresh: {
|
|
60785
61550
|
Args: {
|
|
60786
61551
|
p_apikey: string;
|
|
@@ -66728,12 +67493,17 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
66728
67493
|
attempts: number;
|
|
66729
67494
|
connection_id: string;
|
|
66730
67495
|
created_at: string;
|
|
67496
|
+
desired_available: boolean | null;
|
|
66731
67497
|
gateway_attempt_id: string | null;
|
|
66732
67498
|
id: string;
|
|
66733
67499
|
last_error: string | null;
|
|
67500
|
+
locked_at: string | null;
|
|
67501
|
+
locked_by: string | null;
|
|
67502
|
+
next_attempt_at: string;
|
|
66734
67503
|
number_of_pieces: number;
|
|
66735
67504
|
sent_at: string | null;
|
|
66736
67505
|
status: string;
|
|
67506
|
+
superseded_by: string | null;
|
|
66737
67507
|
trade_item_id: string;
|
|
66738
67508
|
updated_at: string;
|
|
66739
67509
|
user_id: string;
|
|
@@ -66742,12 +67512,17 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
66742
67512
|
attempts?: number;
|
|
66743
67513
|
connection_id: string;
|
|
66744
67514
|
created_at?: string;
|
|
67515
|
+
desired_available?: boolean | null;
|
|
66745
67516
|
gateway_attempt_id?: string | null;
|
|
66746
67517
|
id?: string;
|
|
66747
67518
|
last_error?: string | null;
|
|
67519
|
+
locked_at?: string | null;
|
|
67520
|
+
locked_by?: string | null;
|
|
67521
|
+
next_attempt_at?: string;
|
|
66748
67522
|
number_of_pieces?: number;
|
|
66749
67523
|
sent_at?: string | null;
|
|
66750
67524
|
status?: string;
|
|
67525
|
+
superseded_by?: string | null;
|
|
66751
67526
|
trade_item_id: string;
|
|
66752
67527
|
updated_at?: string;
|
|
66753
67528
|
user_id: string;
|
|
@@ -66756,12 +67531,17 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
66756
67531
|
attempts?: number;
|
|
66757
67532
|
connection_id?: string;
|
|
66758
67533
|
created_at?: string;
|
|
67534
|
+
desired_available?: boolean | null;
|
|
66759
67535
|
gateway_attempt_id?: string | null;
|
|
66760
67536
|
id?: string;
|
|
66761
67537
|
last_error?: string | null;
|
|
67538
|
+
locked_at?: string | null;
|
|
67539
|
+
locked_by?: string | null;
|
|
67540
|
+
next_attempt_at?: string;
|
|
66762
67541
|
number_of_pieces?: number;
|
|
66763
67542
|
sent_at?: string | null;
|
|
66764
67543
|
status?: string;
|
|
67544
|
+
superseded_by?: string | null;
|
|
66765
67545
|
trade_item_id?: string;
|
|
66766
67546
|
updated_at?: string;
|
|
66767
67547
|
user_id?: string;
|
|
@@ -69510,6 +70290,69 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
69510
70290
|
};
|
|
69511
70291
|
Relationships: [];
|
|
69512
70292
|
};
|
|
70293
|
+
logistics_floriday_pushes: {
|
|
70294
|
+
Row: {
|
|
70295
|
+
attempts: number;
|
|
70296
|
+
created_at: string;
|
|
70297
|
+
first_queued_at: string;
|
|
70298
|
+
fulfillment_order_id: string | null;
|
|
70299
|
+
id: string;
|
|
70300
|
+
last_error: string | null;
|
|
70301
|
+
last_error_at: string | null;
|
|
70302
|
+
last_sent_hash: string | null;
|
|
70303
|
+
locked_by: string | null;
|
|
70304
|
+
locked_until: string | null;
|
|
70305
|
+
next_attempt_at: string;
|
|
70306
|
+
order_ref: string;
|
|
70307
|
+
payload: import("../integrations/supabase/types").Json;
|
|
70308
|
+
payload_hash: string | null;
|
|
70309
|
+
revision: number;
|
|
70310
|
+
sent_at: string | null;
|
|
70311
|
+
status: string;
|
|
70312
|
+
updated_at: string;
|
|
70313
|
+
};
|
|
70314
|
+
Insert: {
|
|
70315
|
+
attempts?: number;
|
|
70316
|
+
created_at?: string;
|
|
70317
|
+
first_queued_at?: string;
|
|
70318
|
+
fulfillment_order_id?: string | null;
|
|
70319
|
+
id?: string;
|
|
70320
|
+
last_error?: string | null;
|
|
70321
|
+
last_error_at?: string | null;
|
|
70322
|
+
last_sent_hash?: string | null;
|
|
70323
|
+
locked_by?: string | null;
|
|
70324
|
+
locked_until?: string | null;
|
|
70325
|
+
next_attempt_at?: string;
|
|
70326
|
+
order_ref: string;
|
|
70327
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70328
|
+
payload_hash?: string | null;
|
|
70329
|
+
revision?: number;
|
|
70330
|
+
sent_at?: string | null;
|
|
70331
|
+
status?: string;
|
|
70332
|
+
updated_at?: string;
|
|
70333
|
+
};
|
|
70334
|
+
Update: {
|
|
70335
|
+
attempts?: number;
|
|
70336
|
+
created_at?: string;
|
|
70337
|
+
first_queued_at?: string;
|
|
70338
|
+
fulfillment_order_id?: string | null;
|
|
70339
|
+
id?: string;
|
|
70340
|
+
last_error?: string | null;
|
|
70341
|
+
last_error_at?: string | null;
|
|
70342
|
+
last_sent_hash?: string | null;
|
|
70343
|
+
locked_by?: string | null;
|
|
70344
|
+
locked_until?: string | null;
|
|
70345
|
+
next_attempt_at?: string;
|
|
70346
|
+
order_ref?: string;
|
|
70347
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70348
|
+
payload_hash?: string | null;
|
|
70349
|
+
revision?: number;
|
|
70350
|
+
sent_at?: string | null;
|
|
70351
|
+
status?: string;
|
|
70352
|
+
updated_at?: string;
|
|
70353
|
+
};
|
|
70354
|
+
Relationships: [];
|
|
70355
|
+
};
|
|
69513
70356
|
logistics_formulas: {
|
|
69514
70357
|
Row: {
|
|
69515
70358
|
created_at: string;
|
|
@@ -70121,6 +70964,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
70121
70964
|
};
|
|
70122
70965
|
logistics_tasks: {
|
|
70123
70966
|
Row: {
|
|
70967
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
70968
|
+
attempts: number;
|
|
70124
70969
|
buffer_ref: string | null;
|
|
70125
70970
|
claimed_at: string | null;
|
|
70126
70971
|
claimed_by: string | null;
|
|
@@ -70130,6 +70975,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
70130
70975
|
due_at: string | null;
|
|
70131
70976
|
error: string | null;
|
|
70132
70977
|
id: string;
|
|
70978
|
+
last_error: string | null;
|
|
70979
|
+
next_attempt_at: string | null;
|
|
70133
70980
|
order_ref: string;
|
|
70134
70981
|
owner_module: string;
|
|
70135
70982
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -70150,6 +70997,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
70150
70997
|
user_id: string;
|
|
70151
70998
|
};
|
|
70152
70999
|
Insert: {
|
|
71000
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
71001
|
+
attempts?: number;
|
|
70153
71002
|
buffer_ref?: string | null;
|
|
70154
71003
|
claimed_at?: string | null;
|
|
70155
71004
|
claimed_by?: string | null;
|
|
@@ -70159,6 +71008,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
70159
71008
|
due_at?: string | null;
|
|
70160
71009
|
error?: string | null;
|
|
70161
71010
|
id?: string;
|
|
71011
|
+
last_error?: string | null;
|
|
71012
|
+
next_attempt_at?: string | null;
|
|
70162
71013
|
order_ref: string;
|
|
70163
71014
|
owner_module: string;
|
|
70164
71015
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -70179,6 +71030,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
70179
71030
|
user_id?: string;
|
|
70180
71031
|
};
|
|
70181
71032
|
Update: {
|
|
71033
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
71034
|
+
attempts?: number;
|
|
70182
71035
|
buffer_ref?: string | null;
|
|
70183
71036
|
claimed_at?: string | null;
|
|
70184
71037
|
claimed_by?: string | null;
|
|
@@ -70188,6 +71041,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
70188
71041
|
due_at?: string | null;
|
|
70189
71042
|
error?: string | null;
|
|
70190
71043
|
id?: string;
|
|
71044
|
+
last_error?: string | null;
|
|
71045
|
+
next_attempt_at?: string | null;
|
|
70191
71046
|
order_ref?: string;
|
|
70192
71047
|
owner_module?: string;
|
|
70193
71048
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -79192,6 +80047,85 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
79192
80047
|
};
|
|
79193
80048
|
Returns: import("../integrations/supabase/types").Json;
|
|
79194
80049
|
};
|
|
80050
|
+
claim_floriday_stock_queue: {
|
|
80051
|
+
Args: {
|
|
80052
|
+
p_limit?: number;
|
|
80053
|
+
p_worker?: string;
|
|
80054
|
+
};
|
|
80055
|
+
Returns: {
|
|
80056
|
+
attempts: number;
|
|
80057
|
+
connection_id: string;
|
|
80058
|
+
created_at: string;
|
|
80059
|
+
desired_available: boolean | null;
|
|
80060
|
+
gateway_attempt_id: string | null;
|
|
80061
|
+
id: string;
|
|
80062
|
+
last_error: string | null;
|
|
80063
|
+
locked_at: string | null;
|
|
80064
|
+
locked_by: string | null;
|
|
80065
|
+
next_attempt_at: string;
|
|
80066
|
+
number_of_pieces: number;
|
|
80067
|
+
sent_at: string | null;
|
|
80068
|
+
status: string;
|
|
80069
|
+
superseded_by: string | null;
|
|
80070
|
+
trade_item_id: string;
|
|
80071
|
+
updated_at: string;
|
|
80072
|
+
user_id: string;
|
|
80073
|
+
}[];
|
|
80074
|
+
SetofOptions: {
|
|
80075
|
+
from: "*";
|
|
80076
|
+
to: "floriday_continuous_stock_queue";
|
|
80077
|
+
isOneToOne: false;
|
|
80078
|
+
isSetofReturn: true;
|
|
80079
|
+
};
|
|
80080
|
+
};
|
|
80081
|
+
claim_logistics_tasks: {
|
|
80082
|
+
Args: {
|
|
80083
|
+
_limit?: number;
|
|
80084
|
+
_owner_module: string;
|
|
80085
|
+
_stale_minutes?: number;
|
|
80086
|
+
_task_type: string;
|
|
80087
|
+
_worker: string;
|
|
80088
|
+
};
|
|
80089
|
+
Returns: {
|
|
80090
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80091
|
+
attempts: number;
|
|
80092
|
+
buffer_ref: string | null;
|
|
80093
|
+
claimed_at: string | null;
|
|
80094
|
+
claimed_by: string | null;
|
|
80095
|
+
completed_at: string | null;
|
|
80096
|
+
created_at: string;
|
|
80097
|
+
depends_on: string[];
|
|
80098
|
+
due_at: string | null;
|
|
80099
|
+
error: string | null;
|
|
80100
|
+
id: string;
|
|
80101
|
+
last_error: string | null;
|
|
80102
|
+
next_attempt_at: string | null;
|
|
80103
|
+
order_ref: string;
|
|
80104
|
+
owner_module: string;
|
|
80105
|
+
payload: import("../integrations/supabase/types").Json;
|
|
80106
|
+
plan_run_id: string | null;
|
|
80107
|
+
planned_end: string | null;
|
|
80108
|
+
planned_start: string | null;
|
|
80109
|
+
priority: number;
|
|
80110
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
80111
|
+
rule_config_id: string | null;
|
|
80112
|
+
rule_version: number | null;
|
|
80113
|
+
sequence: number;
|
|
80114
|
+
shadow: boolean;
|
|
80115
|
+
started_at: string | null;
|
|
80116
|
+
status: string;
|
|
80117
|
+
strategy_id: string | null;
|
|
80118
|
+
task_type: string;
|
|
80119
|
+
updated_at: string;
|
|
80120
|
+
user_id: string;
|
|
80121
|
+
}[];
|
|
80122
|
+
SetofOptions: {
|
|
80123
|
+
from: "*";
|
|
80124
|
+
to: "logistics_tasks";
|
|
80125
|
+
isOneToOne: false;
|
|
80126
|
+
isSetofReturn: true;
|
|
80127
|
+
};
|
|
80128
|
+
};
|
|
79195
80129
|
claim_print_jobs: {
|
|
79196
80130
|
Args: {
|
|
79197
80131
|
_agent_id: string;
|
|
@@ -79256,10 +80190,24 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
79256
80190
|
isSetofReturn: true;
|
|
79257
80191
|
};
|
|
79258
80192
|
};
|
|
80193
|
+
cleanup_floriday_stock_queue: {
|
|
80194
|
+
Args: never;
|
|
80195
|
+
Returns: undefined;
|
|
80196
|
+
};
|
|
79259
80197
|
cleanup_old_bookings: {
|
|
79260
80198
|
Args: never;
|
|
79261
80199
|
Returns: undefined;
|
|
79262
80200
|
};
|
|
80201
|
+
complete_floriday_stock_queue: {
|
|
80202
|
+
Args: {
|
|
80203
|
+
p_attempt_id?: string;
|
|
80204
|
+
p_error?: string;
|
|
80205
|
+
p_id: string;
|
|
80206
|
+
p_ok: boolean;
|
|
80207
|
+
p_permanent?: boolean;
|
|
80208
|
+
};
|
|
80209
|
+
Returns: undefined;
|
|
80210
|
+
};
|
|
79263
80211
|
consume_bom_for_production: {
|
|
79264
80212
|
Args: {
|
|
79265
80213
|
p_connection_id: string;
|
|
@@ -79951,6 +80899,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
79951
80899
|
p_worker?: string;
|
|
79952
80900
|
};
|
|
79953
80901
|
Returns: {
|
|
80902
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80903
|
+
attempts: number;
|
|
79954
80904
|
buffer_ref: string | null;
|
|
79955
80905
|
claimed_at: string | null;
|
|
79956
80906
|
claimed_by: string | null;
|
|
@@ -79960,6 +80910,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
79960
80910
|
due_at: string | null;
|
|
79961
80911
|
error: string | null;
|
|
79962
80912
|
id: string;
|
|
80913
|
+
last_error: string | null;
|
|
80914
|
+
next_attempt_at: string | null;
|
|
79963
80915
|
order_ref: string;
|
|
79964
80916
|
owner_module: string;
|
|
79965
80917
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79992,6 +80944,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
79992
80944
|
p_worker?: string;
|
|
79993
80945
|
};
|
|
79994
80946
|
Returns: {
|
|
80947
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80948
|
+
attempts: number;
|
|
79995
80949
|
buffer_ref: string | null;
|
|
79996
80950
|
claimed_at: string | null;
|
|
79997
80951
|
claimed_by: string | null;
|
|
@@ -80001,6 +80955,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80001
80955
|
due_at: string | null;
|
|
80002
80956
|
error: string | null;
|
|
80003
80957
|
id: string;
|
|
80958
|
+
last_error: string | null;
|
|
80959
|
+
next_attempt_at: string | null;
|
|
80004
80960
|
order_ref: string;
|
|
80005
80961
|
owner_module: string;
|
|
80006
80962
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80033,6 +80989,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80033
80989
|
p_task_id: string;
|
|
80034
80990
|
};
|
|
80035
80991
|
Returns: {
|
|
80992
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80993
|
+
attempts: number;
|
|
80036
80994
|
buffer_ref: string | null;
|
|
80037
80995
|
claimed_at: string | null;
|
|
80038
80996
|
claimed_by: string | null;
|
|
@@ -80042,6 +81000,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80042
81000
|
due_at: string | null;
|
|
80043
81001
|
error: string | null;
|
|
80044
81002
|
id: string;
|
|
81003
|
+
last_error: string | null;
|
|
81004
|
+
next_attempt_at: string | null;
|
|
80045
81005
|
order_ref: string;
|
|
80046
81006
|
owner_module: string;
|
|
80047
81007
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80123,6 +81083,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80123
81083
|
p_task_id: string;
|
|
80124
81084
|
};
|
|
80125
81085
|
Returns: {
|
|
81086
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81087
|
+
attempts: number;
|
|
80126
81088
|
buffer_ref: string | null;
|
|
80127
81089
|
claimed_at: string | null;
|
|
80128
81090
|
claimed_by: string | null;
|
|
@@ -80132,6 +81094,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80132
81094
|
due_at: string | null;
|
|
80133
81095
|
error: string | null;
|
|
80134
81096
|
id: string;
|
|
81097
|
+
last_error: string | null;
|
|
81098
|
+
next_attempt_at: string | null;
|
|
80135
81099
|
order_ref: string;
|
|
80136
81100
|
owner_module: string;
|
|
80137
81101
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80158,6 +81122,51 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80158
81122
|
isSetofReturn: false;
|
|
80159
81123
|
};
|
|
80160
81124
|
};
|
|
81125
|
+
logistics_floriday_claim_pushes: {
|
|
81126
|
+
Args: {
|
|
81127
|
+
_lease_seconds?: number;
|
|
81128
|
+
_limit?: number;
|
|
81129
|
+
_worker?: string;
|
|
81130
|
+
};
|
|
81131
|
+
Returns: {
|
|
81132
|
+
attempts: number;
|
|
81133
|
+
fulfillment_order_id: string;
|
|
81134
|
+
id: string;
|
|
81135
|
+
last_sent_hash: string;
|
|
81136
|
+
order_ref: string;
|
|
81137
|
+
payload: import("../integrations/supabase/types").Json;
|
|
81138
|
+
payload_hash: string;
|
|
81139
|
+
revision: number;
|
|
81140
|
+
}[];
|
|
81141
|
+
};
|
|
81142
|
+
logistics_floriday_finish_push: {
|
|
81143
|
+
Args: {
|
|
81144
|
+
_error?: string;
|
|
81145
|
+
_fulfillment_order_id?: string;
|
|
81146
|
+
_id: string;
|
|
81147
|
+
_max_age_hours?: number;
|
|
81148
|
+
_max_attempts?: number;
|
|
81149
|
+
_ok: boolean;
|
|
81150
|
+
_permanent?: boolean;
|
|
81151
|
+
_revision: number;
|
|
81152
|
+
_sent_hash?: string;
|
|
81153
|
+
};
|
|
81154
|
+
Returns: string;
|
|
81155
|
+
};
|
|
81156
|
+
logistics_floriday_prune_pushes: {
|
|
81157
|
+
Args: {
|
|
81158
|
+
_days?: number;
|
|
81159
|
+
};
|
|
81160
|
+
Returns: number;
|
|
81161
|
+
};
|
|
81162
|
+
logistics_floriday_queue_push: {
|
|
81163
|
+
Args: {
|
|
81164
|
+
_order_ref: string;
|
|
81165
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
81166
|
+
_payload_hash?: string;
|
|
81167
|
+
};
|
|
81168
|
+
Returns: string;
|
|
81169
|
+
};
|
|
80161
81170
|
logistics_live_carriers: {
|
|
80162
81171
|
Args: {
|
|
80163
81172
|
p_order_ref: string;
|
|
@@ -80885,6 +81894,10 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
80885
81894
|
Args: never;
|
|
80886
81895
|
Returns: undefined;
|
|
80887
81896
|
};
|
|
81897
|
+
run_logistics_tasks_dispatch: {
|
|
81898
|
+
Args: never;
|
|
81899
|
+
Returns: undefined;
|
|
81900
|
+
};
|
|
80888
81901
|
run_twinfield_queue_tick: {
|
|
80889
81902
|
Args: never;
|
|
80890
81903
|
Returns: undefined;
|
|
@@ -81125,6 +82138,13 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
81125
82138
|
};
|
|
81126
82139
|
Returns: number;
|
|
81127
82140
|
};
|
|
82141
|
+
schedule_floriday_stock_queue_process: {
|
|
82142
|
+
Args: {
|
|
82143
|
+
p_apikey: string;
|
|
82144
|
+
p_url: string;
|
|
82145
|
+
};
|
|
82146
|
+
Returns: number;
|
|
82147
|
+
};
|
|
81128
82148
|
schedule_floriday_token_refresh: {
|
|
81129
82149
|
Args: {
|
|
81130
82150
|
p_apikey: string;
|