@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
|
@@ -5704,12 +5704,17 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
5704
5704
|
attempts: number;
|
|
5705
5705
|
connection_id: string;
|
|
5706
5706
|
created_at: string;
|
|
5707
|
+
desired_available: boolean | null;
|
|
5707
5708
|
gateway_attempt_id: string | null;
|
|
5708
5709
|
id: string;
|
|
5709
5710
|
last_error: string | null;
|
|
5711
|
+
locked_at: string | null;
|
|
5712
|
+
locked_by: string | null;
|
|
5713
|
+
next_attempt_at: string;
|
|
5710
5714
|
number_of_pieces: number;
|
|
5711
5715
|
sent_at: string | null;
|
|
5712
5716
|
status: string;
|
|
5717
|
+
superseded_by: string | null;
|
|
5713
5718
|
trade_item_id: string;
|
|
5714
5719
|
updated_at: string;
|
|
5715
5720
|
user_id: string;
|
|
@@ -5718,12 +5723,17 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
5718
5723
|
attempts?: number;
|
|
5719
5724
|
connection_id: string;
|
|
5720
5725
|
created_at?: string;
|
|
5726
|
+
desired_available?: boolean | null;
|
|
5721
5727
|
gateway_attempt_id?: string | null;
|
|
5722
5728
|
id?: string;
|
|
5723
5729
|
last_error?: string | null;
|
|
5730
|
+
locked_at?: string | null;
|
|
5731
|
+
locked_by?: string | null;
|
|
5732
|
+
next_attempt_at?: string;
|
|
5724
5733
|
number_of_pieces?: number;
|
|
5725
5734
|
sent_at?: string | null;
|
|
5726
5735
|
status?: string;
|
|
5736
|
+
superseded_by?: string | null;
|
|
5727
5737
|
trade_item_id: string;
|
|
5728
5738
|
updated_at?: string;
|
|
5729
5739
|
user_id: string;
|
|
@@ -5732,12 +5742,17 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
5732
5742
|
attempts?: number;
|
|
5733
5743
|
connection_id?: string;
|
|
5734
5744
|
created_at?: string;
|
|
5745
|
+
desired_available?: boolean | null;
|
|
5735
5746
|
gateway_attempt_id?: string | null;
|
|
5736
5747
|
id?: string;
|
|
5737
5748
|
last_error?: string | null;
|
|
5749
|
+
locked_at?: string | null;
|
|
5750
|
+
locked_by?: string | null;
|
|
5751
|
+
next_attempt_at?: string;
|
|
5738
5752
|
number_of_pieces?: number;
|
|
5739
5753
|
sent_at?: string | null;
|
|
5740
5754
|
status?: string;
|
|
5755
|
+
superseded_by?: string | null;
|
|
5741
5756
|
trade_item_id?: string;
|
|
5742
5757
|
updated_at?: string;
|
|
5743
5758
|
user_id?: string;
|
|
@@ -8486,6 +8501,69 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
8486
8501
|
};
|
|
8487
8502
|
Relationships: [];
|
|
8488
8503
|
};
|
|
8504
|
+
logistics_floriday_pushes: {
|
|
8505
|
+
Row: {
|
|
8506
|
+
attempts: number;
|
|
8507
|
+
created_at: string;
|
|
8508
|
+
first_queued_at: string;
|
|
8509
|
+
fulfillment_order_id: string | null;
|
|
8510
|
+
id: string;
|
|
8511
|
+
last_error: string | null;
|
|
8512
|
+
last_error_at: string | null;
|
|
8513
|
+
last_sent_hash: string | null;
|
|
8514
|
+
locked_by: string | null;
|
|
8515
|
+
locked_until: string | null;
|
|
8516
|
+
next_attempt_at: string;
|
|
8517
|
+
order_ref: string;
|
|
8518
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8519
|
+
payload_hash: string | null;
|
|
8520
|
+
revision: number;
|
|
8521
|
+
sent_at: string | null;
|
|
8522
|
+
status: string;
|
|
8523
|
+
updated_at: string;
|
|
8524
|
+
};
|
|
8525
|
+
Insert: {
|
|
8526
|
+
attempts?: number;
|
|
8527
|
+
created_at?: string;
|
|
8528
|
+
first_queued_at?: string;
|
|
8529
|
+
fulfillment_order_id?: string | null;
|
|
8530
|
+
id?: string;
|
|
8531
|
+
last_error?: string | null;
|
|
8532
|
+
last_error_at?: string | null;
|
|
8533
|
+
last_sent_hash?: string | null;
|
|
8534
|
+
locked_by?: string | null;
|
|
8535
|
+
locked_until?: string | null;
|
|
8536
|
+
next_attempt_at?: string;
|
|
8537
|
+
order_ref: string;
|
|
8538
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8539
|
+
payload_hash?: string | null;
|
|
8540
|
+
revision?: number;
|
|
8541
|
+
sent_at?: string | null;
|
|
8542
|
+
status?: string;
|
|
8543
|
+
updated_at?: string;
|
|
8544
|
+
};
|
|
8545
|
+
Update: {
|
|
8546
|
+
attempts?: number;
|
|
8547
|
+
created_at?: string;
|
|
8548
|
+
first_queued_at?: string;
|
|
8549
|
+
fulfillment_order_id?: string | null;
|
|
8550
|
+
id?: string;
|
|
8551
|
+
last_error?: string | null;
|
|
8552
|
+
last_error_at?: string | null;
|
|
8553
|
+
last_sent_hash?: string | null;
|
|
8554
|
+
locked_by?: string | null;
|
|
8555
|
+
locked_until?: string | null;
|
|
8556
|
+
next_attempt_at?: string;
|
|
8557
|
+
order_ref?: string;
|
|
8558
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8559
|
+
payload_hash?: string | null;
|
|
8560
|
+
revision?: number;
|
|
8561
|
+
sent_at?: string | null;
|
|
8562
|
+
status?: string;
|
|
8563
|
+
updated_at?: string;
|
|
8564
|
+
};
|
|
8565
|
+
Relationships: [];
|
|
8566
|
+
};
|
|
8489
8567
|
logistics_formulas: {
|
|
8490
8568
|
Row: {
|
|
8491
8569
|
created_at: string;
|
|
@@ -9097,6 +9175,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
9097
9175
|
};
|
|
9098
9176
|
logistics_tasks: {
|
|
9099
9177
|
Row: {
|
|
9178
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9179
|
+
attempts: number;
|
|
9100
9180
|
buffer_ref: string | null;
|
|
9101
9181
|
claimed_at: string | null;
|
|
9102
9182
|
claimed_by: string | null;
|
|
@@ -9106,6 +9186,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
9106
9186
|
due_at: string | null;
|
|
9107
9187
|
error: string | null;
|
|
9108
9188
|
id: string;
|
|
9189
|
+
last_error: string | null;
|
|
9190
|
+
next_attempt_at: string | null;
|
|
9109
9191
|
order_ref: string;
|
|
9110
9192
|
owner_module: string;
|
|
9111
9193
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -9126,6 +9208,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
9126
9208
|
user_id: string;
|
|
9127
9209
|
};
|
|
9128
9210
|
Insert: {
|
|
9211
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9212
|
+
attempts?: number;
|
|
9129
9213
|
buffer_ref?: string | null;
|
|
9130
9214
|
claimed_at?: string | null;
|
|
9131
9215
|
claimed_by?: string | null;
|
|
@@ -9135,6 +9219,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
9135
9219
|
due_at?: string | null;
|
|
9136
9220
|
error?: string | null;
|
|
9137
9221
|
id?: string;
|
|
9222
|
+
last_error?: string | null;
|
|
9223
|
+
next_attempt_at?: string | null;
|
|
9138
9224
|
order_ref: string;
|
|
9139
9225
|
owner_module: string;
|
|
9140
9226
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9155,6 +9241,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
9155
9241
|
user_id?: string;
|
|
9156
9242
|
};
|
|
9157
9243
|
Update: {
|
|
9244
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9245
|
+
attempts?: number;
|
|
9158
9246
|
buffer_ref?: string | null;
|
|
9159
9247
|
claimed_at?: string | null;
|
|
9160
9248
|
claimed_by?: string | null;
|
|
@@ -9164,6 +9252,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
9164
9252
|
due_at?: string | null;
|
|
9165
9253
|
error?: string | null;
|
|
9166
9254
|
id?: string;
|
|
9255
|
+
last_error?: string | null;
|
|
9256
|
+
next_attempt_at?: string | null;
|
|
9167
9257
|
order_ref?: string;
|
|
9168
9258
|
owner_module?: string;
|
|
9169
9259
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -18168,6 +18258,85 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
18168
18258
|
};
|
|
18169
18259
|
Returns: import("../integrations/supabase/types").Json;
|
|
18170
18260
|
};
|
|
18261
|
+
claim_floriday_stock_queue: {
|
|
18262
|
+
Args: {
|
|
18263
|
+
p_limit?: number;
|
|
18264
|
+
p_worker?: string;
|
|
18265
|
+
};
|
|
18266
|
+
Returns: {
|
|
18267
|
+
attempts: number;
|
|
18268
|
+
connection_id: string;
|
|
18269
|
+
created_at: string;
|
|
18270
|
+
desired_available: boolean | null;
|
|
18271
|
+
gateway_attempt_id: string | null;
|
|
18272
|
+
id: string;
|
|
18273
|
+
last_error: string | null;
|
|
18274
|
+
locked_at: string | null;
|
|
18275
|
+
locked_by: string | null;
|
|
18276
|
+
next_attempt_at: string;
|
|
18277
|
+
number_of_pieces: number;
|
|
18278
|
+
sent_at: string | null;
|
|
18279
|
+
status: string;
|
|
18280
|
+
superseded_by: string | null;
|
|
18281
|
+
trade_item_id: string;
|
|
18282
|
+
updated_at: string;
|
|
18283
|
+
user_id: string;
|
|
18284
|
+
}[];
|
|
18285
|
+
SetofOptions: {
|
|
18286
|
+
from: "*";
|
|
18287
|
+
to: "floriday_continuous_stock_queue";
|
|
18288
|
+
isOneToOne: false;
|
|
18289
|
+
isSetofReturn: true;
|
|
18290
|
+
};
|
|
18291
|
+
};
|
|
18292
|
+
claim_logistics_tasks: {
|
|
18293
|
+
Args: {
|
|
18294
|
+
_limit?: number;
|
|
18295
|
+
_owner_module: string;
|
|
18296
|
+
_stale_minutes?: number;
|
|
18297
|
+
_task_type: string;
|
|
18298
|
+
_worker: string;
|
|
18299
|
+
};
|
|
18300
|
+
Returns: {
|
|
18301
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18302
|
+
attempts: number;
|
|
18303
|
+
buffer_ref: string | null;
|
|
18304
|
+
claimed_at: string | null;
|
|
18305
|
+
claimed_by: string | null;
|
|
18306
|
+
completed_at: string | null;
|
|
18307
|
+
created_at: string;
|
|
18308
|
+
depends_on: string[];
|
|
18309
|
+
due_at: string | null;
|
|
18310
|
+
error: string | null;
|
|
18311
|
+
id: string;
|
|
18312
|
+
last_error: string | null;
|
|
18313
|
+
next_attempt_at: string | null;
|
|
18314
|
+
order_ref: string;
|
|
18315
|
+
owner_module: string;
|
|
18316
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18317
|
+
plan_run_id: string | null;
|
|
18318
|
+
planned_end: string | null;
|
|
18319
|
+
planned_start: string | null;
|
|
18320
|
+
priority: number;
|
|
18321
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18322
|
+
rule_config_id: string | null;
|
|
18323
|
+
rule_version: number | null;
|
|
18324
|
+
sequence: number;
|
|
18325
|
+
shadow: boolean;
|
|
18326
|
+
started_at: string | null;
|
|
18327
|
+
status: string;
|
|
18328
|
+
strategy_id: string | null;
|
|
18329
|
+
task_type: string;
|
|
18330
|
+
updated_at: string;
|
|
18331
|
+
user_id: string;
|
|
18332
|
+
}[];
|
|
18333
|
+
SetofOptions: {
|
|
18334
|
+
from: "*";
|
|
18335
|
+
to: "logistics_tasks";
|
|
18336
|
+
isOneToOne: false;
|
|
18337
|
+
isSetofReturn: true;
|
|
18338
|
+
};
|
|
18339
|
+
};
|
|
18171
18340
|
claim_print_jobs: {
|
|
18172
18341
|
Args: {
|
|
18173
18342
|
_agent_id: string;
|
|
@@ -18232,10 +18401,24 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
18232
18401
|
isSetofReturn: true;
|
|
18233
18402
|
};
|
|
18234
18403
|
};
|
|
18404
|
+
cleanup_floriday_stock_queue: {
|
|
18405
|
+
Args: never;
|
|
18406
|
+
Returns: undefined;
|
|
18407
|
+
};
|
|
18235
18408
|
cleanup_old_bookings: {
|
|
18236
18409
|
Args: never;
|
|
18237
18410
|
Returns: undefined;
|
|
18238
18411
|
};
|
|
18412
|
+
complete_floriday_stock_queue: {
|
|
18413
|
+
Args: {
|
|
18414
|
+
p_attempt_id?: string;
|
|
18415
|
+
p_error?: string;
|
|
18416
|
+
p_id: string;
|
|
18417
|
+
p_ok: boolean;
|
|
18418
|
+
p_permanent?: boolean;
|
|
18419
|
+
};
|
|
18420
|
+
Returns: undefined;
|
|
18421
|
+
};
|
|
18239
18422
|
consume_bom_for_production: {
|
|
18240
18423
|
Args: {
|
|
18241
18424
|
p_connection_id: string;
|
|
@@ -18927,6 +19110,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
18927
19110
|
p_worker?: string;
|
|
18928
19111
|
};
|
|
18929
19112
|
Returns: {
|
|
19113
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19114
|
+
attempts: number;
|
|
18930
19115
|
buffer_ref: string | null;
|
|
18931
19116
|
claimed_at: string | null;
|
|
18932
19117
|
claimed_by: string | null;
|
|
@@ -18936,6 +19121,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
18936
19121
|
due_at: string | null;
|
|
18937
19122
|
error: string | null;
|
|
18938
19123
|
id: string;
|
|
19124
|
+
last_error: string | null;
|
|
19125
|
+
next_attempt_at: string | null;
|
|
18939
19126
|
order_ref: string;
|
|
18940
19127
|
owner_module: string;
|
|
18941
19128
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18968,6 +19155,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
18968
19155
|
p_worker?: string;
|
|
18969
19156
|
};
|
|
18970
19157
|
Returns: {
|
|
19158
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19159
|
+
attempts: number;
|
|
18971
19160
|
buffer_ref: string | null;
|
|
18972
19161
|
claimed_at: string | null;
|
|
18973
19162
|
claimed_by: string | null;
|
|
@@ -18977,6 +19166,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
18977
19166
|
due_at: string | null;
|
|
18978
19167
|
error: string | null;
|
|
18979
19168
|
id: string;
|
|
19169
|
+
last_error: string | null;
|
|
19170
|
+
next_attempt_at: string | null;
|
|
18980
19171
|
order_ref: string;
|
|
18981
19172
|
owner_module: string;
|
|
18982
19173
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19009,6 +19200,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
19009
19200
|
p_task_id: string;
|
|
19010
19201
|
};
|
|
19011
19202
|
Returns: {
|
|
19203
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19204
|
+
attempts: number;
|
|
19012
19205
|
buffer_ref: string | null;
|
|
19013
19206
|
claimed_at: string | null;
|
|
19014
19207
|
claimed_by: string | null;
|
|
@@ -19018,6 +19211,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
19018
19211
|
due_at: string | null;
|
|
19019
19212
|
error: string | null;
|
|
19020
19213
|
id: string;
|
|
19214
|
+
last_error: string | null;
|
|
19215
|
+
next_attempt_at: string | null;
|
|
19021
19216
|
order_ref: string;
|
|
19022
19217
|
owner_module: string;
|
|
19023
19218
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19099,6 +19294,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
19099
19294
|
p_task_id: string;
|
|
19100
19295
|
};
|
|
19101
19296
|
Returns: {
|
|
19297
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19298
|
+
attempts: number;
|
|
19102
19299
|
buffer_ref: string | null;
|
|
19103
19300
|
claimed_at: string | null;
|
|
19104
19301
|
claimed_by: string | null;
|
|
@@ -19108,6 +19305,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
19108
19305
|
due_at: string | null;
|
|
19109
19306
|
error: string | null;
|
|
19110
19307
|
id: string;
|
|
19308
|
+
last_error: string | null;
|
|
19309
|
+
next_attempt_at: string | null;
|
|
19111
19310
|
order_ref: string;
|
|
19112
19311
|
owner_module: string;
|
|
19113
19312
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19134,6 +19333,51 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
19134
19333
|
isSetofReturn: false;
|
|
19135
19334
|
};
|
|
19136
19335
|
};
|
|
19336
|
+
logistics_floriday_claim_pushes: {
|
|
19337
|
+
Args: {
|
|
19338
|
+
_lease_seconds?: number;
|
|
19339
|
+
_limit?: number;
|
|
19340
|
+
_worker?: string;
|
|
19341
|
+
};
|
|
19342
|
+
Returns: {
|
|
19343
|
+
attempts: number;
|
|
19344
|
+
fulfillment_order_id: string;
|
|
19345
|
+
id: string;
|
|
19346
|
+
last_sent_hash: string;
|
|
19347
|
+
order_ref: string;
|
|
19348
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19349
|
+
payload_hash: string;
|
|
19350
|
+
revision: number;
|
|
19351
|
+
}[];
|
|
19352
|
+
};
|
|
19353
|
+
logistics_floriday_finish_push: {
|
|
19354
|
+
Args: {
|
|
19355
|
+
_error?: string;
|
|
19356
|
+
_fulfillment_order_id?: string;
|
|
19357
|
+
_id: string;
|
|
19358
|
+
_max_age_hours?: number;
|
|
19359
|
+
_max_attempts?: number;
|
|
19360
|
+
_ok: boolean;
|
|
19361
|
+
_permanent?: boolean;
|
|
19362
|
+
_revision: number;
|
|
19363
|
+
_sent_hash?: string;
|
|
19364
|
+
};
|
|
19365
|
+
Returns: string;
|
|
19366
|
+
};
|
|
19367
|
+
logistics_floriday_prune_pushes: {
|
|
19368
|
+
Args: {
|
|
19369
|
+
_days?: number;
|
|
19370
|
+
};
|
|
19371
|
+
Returns: number;
|
|
19372
|
+
};
|
|
19373
|
+
logistics_floriday_queue_push: {
|
|
19374
|
+
Args: {
|
|
19375
|
+
_order_ref: string;
|
|
19376
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19377
|
+
_payload_hash?: string;
|
|
19378
|
+
};
|
|
19379
|
+
Returns: string;
|
|
19380
|
+
};
|
|
19137
19381
|
logistics_live_carriers: {
|
|
19138
19382
|
Args: {
|
|
19139
19383
|
p_order_ref: string;
|
|
@@ -19861,6 +20105,10 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
19861
20105
|
Args: never;
|
|
19862
20106
|
Returns: undefined;
|
|
19863
20107
|
};
|
|
20108
|
+
run_logistics_tasks_dispatch: {
|
|
20109
|
+
Args: never;
|
|
20110
|
+
Returns: undefined;
|
|
20111
|
+
};
|
|
19864
20112
|
run_twinfield_queue_tick: {
|
|
19865
20113
|
Args: never;
|
|
19866
20114
|
Returns: undefined;
|
|
@@ -20101,6 +20349,13 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
20101
20349
|
};
|
|
20102
20350
|
Returns: number;
|
|
20103
20351
|
};
|
|
20352
|
+
schedule_floriday_stock_queue_process: {
|
|
20353
|
+
Args: {
|
|
20354
|
+
p_apikey: string;
|
|
20355
|
+
p_url: string;
|
|
20356
|
+
};
|
|
20357
|
+
Returns: number;
|
|
20358
|
+
};
|
|
20104
20359
|
schedule_floriday_token_refresh: {
|
|
20105
20360
|
Args: {
|
|
20106
20361
|
p_apikey: string;
|
|
@@ -26008,12 +26263,17 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
26008
26263
|
attempts: number;
|
|
26009
26264
|
connection_id: string;
|
|
26010
26265
|
created_at: string;
|
|
26266
|
+
desired_available: boolean | null;
|
|
26011
26267
|
gateway_attempt_id: string | null;
|
|
26012
26268
|
id: string;
|
|
26013
26269
|
last_error: string | null;
|
|
26270
|
+
locked_at: string | null;
|
|
26271
|
+
locked_by: string | null;
|
|
26272
|
+
next_attempt_at: string;
|
|
26014
26273
|
number_of_pieces: number;
|
|
26015
26274
|
sent_at: string | null;
|
|
26016
26275
|
status: string;
|
|
26276
|
+
superseded_by: string | null;
|
|
26017
26277
|
trade_item_id: string;
|
|
26018
26278
|
updated_at: string;
|
|
26019
26279
|
user_id: string;
|
|
@@ -26022,12 +26282,17 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
26022
26282
|
attempts?: number;
|
|
26023
26283
|
connection_id: string;
|
|
26024
26284
|
created_at?: string;
|
|
26285
|
+
desired_available?: boolean | null;
|
|
26025
26286
|
gateway_attempt_id?: string | null;
|
|
26026
26287
|
id?: string;
|
|
26027
26288
|
last_error?: string | null;
|
|
26289
|
+
locked_at?: string | null;
|
|
26290
|
+
locked_by?: string | null;
|
|
26291
|
+
next_attempt_at?: string;
|
|
26028
26292
|
number_of_pieces?: number;
|
|
26029
26293
|
sent_at?: string | null;
|
|
26030
26294
|
status?: string;
|
|
26295
|
+
superseded_by?: string | null;
|
|
26031
26296
|
trade_item_id: string;
|
|
26032
26297
|
updated_at?: string;
|
|
26033
26298
|
user_id: string;
|
|
@@ -26036,12 +26301,17 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
26036
26301
|
attempts?: number;
|
|
26037
26302
|
connection_id?: string;
|
|
26038
26303
|
created_at?: string;
|
|
26304
|
+
desired_available?: boolean | null;
|
|
26039
26305
|
gateway_attempt_id?: string | null;
|
|
26040
26306
|
id?: string;
|
|
26041
26307
|
last_error?: string | null;
|
|
26308
|
+
locked_at?: string | null;
|
|
26309
|
+
locked_by?: string | null;
|
|
26310
|
+
next_attempt_at?: string;
|
|
26042
26311
|
number_of_pieces?: number;
|
|
26043
26312
|
sent_at?: string | null;
|
|
26044
26313
|
status?: string;
|
|
26314
|
+
superseded_by?: string | null;
|
|
26045
26315
|
trade_item_id?: string;
|
|
26046
26316
|
updated_at?: string;
|
|
26047
26317
|
user_id?: string;
|
|
@@ -28790,6 +29060,69 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
28790
29060
|
};
|
|
28791
29061
|
Relationships: [];
|
|
28792
29062
|
};
|
|
29063
|
+
logistics_floriday_pushes: {
|
|
29064
|
+
Row: {
|
|
29065
|
+
attempts: number;
|
|
29066
|
+
created_at: string;
|
|
29067
|
+
first_queued_at: string;
|
|
29068
|
+
fulfillment_order_id: string | null;
|
|
29069
|
+
id: string;
|
|
29070
|
+
last_error: string | null;
|
|
29071
|
+
last_error_at: string | null;
|
|
29072
|
+
last_sent_hash: string | null;
|
|
29073
|
+
locked_by: string | null;
|
|
29074
|
+
locked_until: string | null;
|
|
29075
|
+
next_attempt_at: string;
|
|
29076
|
+
order_ref: string;
|
|
29077
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29078
|
+
payload_hash: string | null;
|
|
29079
|
+
revision: number;
|
|
29080
|
+
sent_at: string | null;
|
|
29081
|
+
status: string;
|
|
29082
|
+
updated_at: string;
|
|
29083
|
+
};
|
|
29084
|
+
Insert: {
|
|
29085
|
+
attempts?: number;
|
|
29086
|
+
created_at?: string;
|
|
29087
|
+
first_queued_at?: string;
|
|
29088
|
+
fulfillment_order_id?: string | null;
|
|
29089
|
+
id?: string;
|
|
29090
|
+
last_error?: string | null;
|
|
29091
|
+
last_error_at?: string | null;
|
|
29092
|
+
last_sent_hash?: string | null;
|
|
29093
|
+
locked_by?: string | null;
|
|
29094
|
+
locked_until?: string | null;
|
|
29095
|
+
next_attempt_at?: string;
|
|
29096
|
+
order_ref: string;
|
|
29097
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29098
|
+
payload_hash?: string | null;
|
|
29099
|
+
revision?: number;
|
|
29100
|
+
sent_at?: string | null;
|
|
29101
|
+
status?: string;
|
|
29102
|
+
updated_at?: string;
|
|
29103
|
+
};
|
|
29104
|
+
Update: {
|
|
29105
|
+
attempts?: number;
|
|
29106
|
+
created_at?: string;
|
|
29107
|
+
first_queued_at?: string;
|
|
29108
|
+
fulfillment_order_id?: string | null;
|
|
29109
|
+
id?: string;
|
|
29110
|
+
last_error?: string | null;
|
|
29111
|
+
last_error_at?: string | null;
|
|
29112
|
+
last_sent_hash?: string | null;
|
|
29113
|
+
locked_by?: string | null;
|
|
29114
|
+
locked_until?: string | null;
|
|
29115
|
+
next_attempt_at?: string;
|
|
29116
|
+
order_ref?: string;
|
|
29117
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29118
|
+
payload_hash?: string | null;
|
|
29119
|
+
revision?: number;
|
|
29120
|
+
sent_at?: string | null;
|
|
29121
|
+
status?: string;
|
|
29122
|
+
updated_at?: string;
|
|
29123
|
+
};
|
|
29124
|
+
Relationships: [];
|
|
29125
|
+
};
|
|
28793
29126
|
logistics_formulas: {
|
|
28794
29127
|
Row: {
|
|
28795
29128
|
created_at: string;
|
|
@@ -29401,6 +29734,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29401
29734
|
};
|
|
29402
29735
|
logistics_tasks: {
|
|
29403
29736
|
Row: {
|
|
29737
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29738
|
+
attempts: number;
|
|
29404
29739
|
buffer_ref: string | null;
|
|
29405
29740
|
claimed_at: string | null;
|
|
29406
29741
|
claimed_by: string | null;
|
|
@@ -29410,6 +29745,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29410
29745
|
due_at: string | null;
|
|
29411
29746
|
error: string | null;
|
|
29412
29747
|
id: string;
|
|
29748
|
+
last_error: string | null;
|
|
29749
|
+
next_attempt_at: string | null;
|
|
29413
29750
|
order_ref: string;
|
|
29414
29751
|
owner_module: string;
|
|
29415
29752
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -29430,6 +29767,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29430
29767
|
user_id: string;
|
|
29431
29768
|
};
|
|
29432
29769
|
Insert: {
|
|
29770
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29771
|
+
attempts?: number;
|
|
29433
29772
|
buffer_ref?: string | null;
|
|
29434
29773
|
claimed_at?: string | null;
|
|
29435
29774
|
claimed_by?: string | null;
|
|
@@ -29439,6 +29778,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29439
29778
|
due_at?: string | null;
|
|
29440
29779
|
error?: string | null;
|
|
29441
29780
|
id?: string;
|
|
29781
|
+
last_error?: string | null;
|
|
29782
|
+
next_attempt_at?: string | null;
|
|
29442
29783
|
order_ref: string;
|
|
29443
29784
|
owner_module: string;
|
|
29444
29785
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29459,6 +29800,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29459
29800
|
user_id?: string;
|
|
29460
29801
|
};
|
|
29461
29802
|
Update: {
|
|
29803
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29804
|
+
attempts?: number;
|
|
29462
29805
|
buffer_ref?: string | null;
|
|
29463
29806
|
claimed_at?: string | null;
|
|
29464
29807
|
claimed_by?: string | null;
|
|
@@ -29468,6 +29811,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29468
29811
|
due_at?: string | null;
|
|
29469
29812
|
error?: string | null;
|
|
29470
29813
|
id?: string;
|
|
29814
|
+
last_error?: string | null;
|
|
29815
|
+
next_attempt_at?: string | null;
|
|
29471
29816
|
order_ref?: string;
|
|
29472
29817
|
owner_module?: string;
|
|
29473
29818
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -38472,6 +38817,85 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38472
38817
|
};
|
|
38473
38818
|
Returns: import("../integrations/supabase/types").Json;
|
|
38474
38819
|
};
|
|
38820
|
+
claim_floriday_stock_queue: {
|
|
38821
|
+
Args: {
|
|
38822
|
+
p_limit?: number;
|
|
38823
|
+
p_worker?: string;
|
|
38824
|
+
};
|
|
38825
|
+
Returns: {
|
|
38826
|
+
attempts: number;
|
|
38827
|
+
connection_id: string;
|
|
38828
|
+
created_at: string;
|
|
38829
|
+
desired_available: boolean | null;
|
|
38830
|
+
gateway_attempt_id: string | null;
|
|
38831
|
+
id: string;
|
|
38832
|
+
last_error: string | null;
|
|
38833
|
+
locked_at: string | null;
|
|
38834
|
+
locked_by: string | null;
|
|
38835
|
+
next_attempt_at: string;
|
|
38836
|
+
number_of_pieces: number;
|
|
38837
|
+
sent_at: string | null;
|
|
38838
|
+
status: string;
|
|
38839
|
+
superseded_by: string | null;
|
|
38840
|
+
trade_item_id: string;
|
|
38841
|
+
updated_at: string;
|
|
38842
|
+
user_id: string;
|
|
38843
|
+
}[];
|
|
38844
|
+
SetofOptions: {
|
|
38845
|
+
from: "*";
|
|
38846
|
+
to: "floriday_continuous_stock_queue";
|
|
38847
|
+
isOneToOne: false;
|
|
38848
|
+
isSetofReturn: true;
|
|
38849
|
+
};
|
|
38850
|
+
};
|
|
38851
|
+
claim_logistics_tasks: {
|
|
38852
|
+
Args: {
|
|
38853
|
+
_limit?: number;
|
|
38854
|
+
_owner_module: string;
|
|
38855
|
+
_stale_minutes?: number;
|
|
38856
|
+
_task_type: string;
|
|
38857
|
+
_worker: string;
|
|
38858
|
+
};
|
|
38859
|
+
Returns: {
|
|
38860
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38861
|
+
attempts: number;
|
|
38862
|
+
buffer_ref: string | null;
|
|
38863
|
+
claimed_at: string | null;
|
|
38864
|
+
claimed_by: string | null;
|
|
38865
|
+
completed_at: string | null;
|
|
38866
|
+
created_at: string;
|
|
38867
|
+
depends_on: string[];
|
|
38868
|
+
due_at: string | null;
|
|
38869
|
+
error: string | null;
|
|
38870
|
+
id: string;
|
|
38871
|
+
last_error: string | null;
|
|
38872
|
+
next_attempt_at: string | null;
|
|
38873
|
+
order_ref: string;
|
|
38874
|
+
owner_module: string;
|
|
38875
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38876
|
+
plan_run_id: string | null;
|
|
38877
|
+
planned_end: string | null;
|
|
38878
|
+
planned_start: string | null;
|
|
38879
|
+
priority: number;
|
|
38880
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38881
|
+
rule_config_id: string | null;
|
|
38882
|
+
rule_version: number | null;
|
|
38883
|
+
sequence: number;
|
|
38884
|
+
shadow: boolean;
|
|
38885
|
+
started_at: string | null;
|
|
38886
|
+
status: string;
|
|
38887
|
+
strategy_id: string | null;
|
|
38888
|
+
task_type: string;
|
|
38889
|
+
updated_at: string;
|
|
38890
|
+
user_id: string;
|
|
38891
|
+
}[];
|
|
38892
|
+
SetofOptions: {
|
|
38893
|
+
from: "*";
|
|
38894
|
+
to: "logistics_tasks";
|
|
38895
|
+
isOneToOne: false;
|
|
38896
|
+
isSetofReturn: true;
|
|
38897
|
+
};
|
|
38898
|
+
};
|
|
38475
38899
|
claim_print_jobs: {
|
|
38476
38900
|
Args: {
|
|
38477
38901
|
_agent_id: string;
|
|
@@ -38536,10 +38960,24 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38536
38960
|
isSetofReturn: true;
|
|
38537
38961
|
};
|
|
38538
38962
|
};
|
|
38963
|
+
cleanup_floriday_stock_queue: {
|
|
38964
|
+
Args: never;
|
|
38965
|
+
Returns: undefined;
|
|
38966
|
+
};
|
|
38539
38967
|
cleanup_old_bookings: {
|
|
38540
38968
|
Args: never;
|
|
38541
38969
|
Returns: undefined;
|
|
38542
38970
|
};
|
|
38971
|
+
complete_floriday_stock_queue: {
|
|
38972
|
+
Args: {
|
|
38973
|
+
p_attempt_id?: string;
|
|
38974
|
+
p_error?: string;
|
|
38975
|
+
p_id: string;
|
|
38976
|
+
p_ok: boolean;
|
|
38977
|
+
p_permanent?: boolean;
|
|
38978
|
+
};
|
|
38979
|
+
Returns: undefined;
|
|
38980
|
+
};
|
|
38543
38981
|
consume_bom_for_production: {
|
|
38544
38982
|
Args: {
|
|
38545
38983
|
p_connection_id: string;
|
|
@@ -39231,6 +39669,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39231
39669
|
p_worker?: string;
|
|
39232
39670
|
};
|
|
39233
39671
|
Returns: {
|
|
39672
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39673
|
+
attempts: number;
|
|
39234
39674
|
buffer_ref: string | null;
|
|
39235
39675
|
claimed_at: string | null;
|
|
39236
39676
|
claimed_by: string | null;
|
|
@@ -39240,6 +39680,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39240
39680
|
due_at: string | null;
|
|
39241
39681
|
error: string | null;
|
|
39242
39682
|
id: string;
|
|
39683
|
+
last_error: string | null;
|
|
39684
|
+
next_attempt_at: string | null;
|
|
39243
39685
|
order_ref: string;
|
|
39244
39686
|
owner_module: string;
|
|
39245
39687
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39272,6 +39714,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39272
39714
|
p_worker?: string;
|
|
39273
39715
|
};
|
|
39274
39716
|
Returns: {
|
|
39717
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39718
|
+
attempts: number;
|
|
39275
39719
|
buffer_ref: string | null;
|
|
39276
39720
|
claimed_at: string | null;
|
|
39277
39721
|
claimed_by: string | null;
|
|
@@ -39281,6 +39725,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39281
39725
|
due_at: string | null;
|
|
39282
39726
|
error: string | null;
|
|
39283
39727
|
id: string;
|
|
39728
|
+
last_error: string | null;
|
|
39729
|
+
next_attempt_at: string | null;
|
|
39284
39730
|
order_ref: string;
|
|
39285
39731
|
owner_module: string;
|
|
39286
39732
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39313,6 +39759,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39313
39759
|
p_task_id: string;
|
|
39314
39760
|
};
|
|
39315
39761
|
Returns: {
|
|
39762
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39763
|
+
attempts: number;
|
|
39316
39764
|
buffer_ref: string | null;
|
|
39317
39765
|
claimed_at: string | null;
|
|
39318
39766
|
claimed_by: string | null;
|
|
@@ -39322,6 +39770,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39322
39770
|
due_at: string | null;
|
|
39323
39771
|
error: string | null;
|
|
39324
39772
|
id: string;
|
|
39773
|
+
last_error: string | null;
|
|
39774
|
+
next_attempt_at: string | null;
|
|
39325
39775
|
order_ref: string;
|
|
39326
39776
|
owner_module: string;
|
|
39327
39777
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39403,6 +39853,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39403
39853
|
p_task_id: string;
|
|
39404
39854
|
};
|
|
39405
39855
|
Returns: {
|
|
39856
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39857
|
+
attempts: number;
|
|
39406
39858
|
buffer_ref: string | null;
|
|
39407
39859
|
claimed_at: string | null;
|
|
39408
39860
|
claimed_by: string | null;
|
|
@@ -39412,6 +39864,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39412
39864
|
due_at: string | null;
|
|
39413
39865
|
error: string | null;
|
|
39414
39866
|
id: string;
|
|
39867
|
+
last_error: string | null;
|
|
39868
|
+
next_attempt_at: string | null;
|
|
39415
39869
|
order_ref: string;
|
|
39416
39870
|
owner_module: string;
|
|
39417
39871
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39438,6 +39892,51 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
39438
39892
|
isSetofReturn: false;
|
|
39439
39893
|
};
|
|
39440
39894
|
};
|
|
39895
|
+
logistics_floriday_claim_pushes: {
|
|
39896
|
+
Args: {
|
|
39897
|
+
_lease_seconds?: number;
|
|
39898
|
+
_limit?: number;
|
|
39899
|
+
_worker?: string;
|
|
39900
|
+
};
|
|
39901
|
+
Returns: {
|
|
39902
|
+
attempts: number;
|
|
39903
|
+
fulfillment_order_id: string;
|
|
39904
|
+
id: string;
|
|
39905
|
+
last_sent_hash: string;
|
|
39906
|
+
order_ref: string;
|
|
39907
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39908
|
+
payload_hash: string;
|
|
39909
|
+
revision: number;
|
|
39910
|
+
}[];
|
|
39911
|
+
};
|
|
39912
|
+
logistics_floriday_finish_push: {
|
|
39913
|
+
Args: {
|
|
39914
|
+
_error?: string;
|
|
39915
|
+
_fulfillment_order_id?: string;
|
|
39916
|
+
_id: string;
|
|
39917
|
+
_max_age_hours?: number;
|
|
39918
|
+
_max_attempts?: number;
|
|
39919
|
+
_ok: boolean;
|
|
39920
|
+
_permanent?: boolean;
|
|
39921
|
+
_revision: number;
|
|
39922
|
+
_sent_hash?: string;
|
|
39923
|
+
};
|
|
39924
|
+
Returns: string;
|
|
39925
|
+
};
|
|
39926
|
+
logistics_floriday_prune_pushes: {
|
|
39927
|
+
Args: {
|
|
39928
|
+
_days?: number;
|
|
39929
|
+
};
|
|
39930
|
+
Returns: number;
|
|
39931
|
+
};
|
|
39932
|
+
logistics_floriday_queue_push: {
|
|
39933
|
+
Args: {
|
|
39934
|
+
_order_ref: string;
|
|
39935
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
39936
|
+
_payload_hash?: string;
|
|
39937
|
+
};
|
|
39938
|
+
Returns: string;
|
|
39939
|
+
};
|
|
39441
39940
|
logistics_live_carriers: {
|
|
39442
39941
|
Args: {
|
|
39443
39942
|
p_order_ref: string;
|
|
@@ -40165,6 +40664,10 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
40165
40664
|
Args: never;
|
|
40166
40665
|
Returns: undefined;
|
|
40167
40666
|
};
|
|
40667
|
+
run_logistics_tasks_dispatch: {
|
|
40668
|
+
Args: never;
|
|
40669
|
+
Returns: undefined;
|
|
40670
|
+
};
|
|
40168
40671
|
run_twinfield_queue_tick: {
|
|
40169
40672
|
Args: never;
|
|
40170
40673
|
Returns: undefined;
|
|
@@ -40405,6 +40908,13 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
40405
40908
|
};
|
|
40406
40909
|
Returns: number;
|
|
40407
40910
|
};
|
|
40911
|
+
schedule_floriday_stock_queue_process: {
|
|
40912
|
+
Args: {
|
|
40913
|
+
p_apikey: string;
|
|
40914
|
+
p_url: string;
|
|
40915
|
+
};
|
|
40916
|
+
Returns: number;
|
|
40917
|
+
};
|
|
40408
40918
|
schedule_floriday_token_refresh: {
|
|
40409
40919
|
Args: {
|
|
40410
40920
|
p_apikey: string;
|
|
@@ -46324,12 +46834,17 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
46324
46834
|
attempts: number;
|
|
46325
46835
|
connection_id: string;
|
|
46326
46836
|
created_at: string;
|
|
46837
|
+
desired_available: boolean | null;
|
|
46327
46838
|
gateway_attempt_id: string | null;
|
|
46328
46839
|
id: string;
|
|
46329
46840
|
last_error: string | null;
|
|
46841
|
+
locked_at: string | null;
|
|
46842
|
+
locked_by: string | null;
|
|
46843
|
+
next_attempt_at: string;
|
|
46330
46844
|
number_of_pieces: number;
|
|
46331
46845
|
sent_at: string | null;
|
|
46332
46846
|
status: string;
|
|
46847
|
+
superseded_by: string | null;
|
|
46333
46848
|
trade_item_id: string;
|
|
46334
46849
|
updated_at: string;
|
|
46335
46850
|
user_id: string;
|
|
@@ -46338,12 +46853,17 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
46338
46853
|
attempts?: number;
|
|
46339
46854
|
connection_id: string;
|
|
46340
46855
|
created_at?: string;
|
|
46856
|
+
desired_available?: boolean | null;
|
|
46341
46857
|
gateway_attempt_id?: string | null;
|
|
46342
46858
|
id?: string;
|
|
46343
46859
|
last_error?: string | null;
|
|
46860
|
+
locked_at?: string | null;
|
|
46861
|
+
locked_by?: string | null;
|
|
46862
|
+
next_attempt_at?: string;
|
|
46344
46863
|
number_of_pieces?: number;
|
|
46345
46864
|
sent_at?: string | null;
|
|
46346
46865
|
status?: string;
|
|
46866
|
+
superseded_by?: string | null;
|
|
46347
46867
|
trade_item_id: string;
|
|
46348
46868
|
updated_at?: string;
|
|
46349
46869
|
user_id: string;
|
|
@@ -46352,12 +46872,17 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
46352
46872
|
attempts?: number;
|
|
46353
46873
|
connection_id?: string;
|
|
46354
46874
|
created_at?: string;
|
|
46875
|
+
desired_available?: boolean | null;
|
|
46355
46876
|
gateway_attempt_id?: string | null;
|
|
46356
46877
|
id?: string;
|
|
46357
46878
|
last_error?: string | null;
|
|
46879
|
+
locked_at?: string | null;
|
|
46880
|
+
locked_by?: string | null;
|
|
46881
|
+
next_attempt_at?: string;
|
|
46358
46882
|
number_of_pieces?: number;
|
|
46359
46883
|
sent_at?: string | null;
|
|
46360
46884
|
status?: string;
|
|
46885
|
+
superseded_by?: string | null;
|
|
46361
46886
|
trade_item_id?: string;
|
|
46362
46887
|
updated_at?: string;
|
|
46363
46888
|
user_id?: string;
|
|
@@ -49106,6 +49631,69 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49106
49631
|
};
|
|
49107
49632
|
Relationships: [];
|
|
49108
49633
|
};
|
|
49634
|
+
logistics_floriday_pushes: {
|
|
49635
|
+
Row: {
|
|
49636
|
+
attempts: number;
|
|
49637
|
+
created_at: string;
|
|
49638
|
+
first_queued_at: string;
|
|
49639
|
+
fulfillment_order_id: string | null;
|
|
49640
|
+
id: string;
|
|
49641
|
+
last_error: string | null;
|
|
49642
|
+
last_error_at: string | null;
|
|
49643
|
+
last_sent_hash: string | null;
|
|
49644
|
+
locked_by: string | null;
|
|
49645
|
+
locked_until: string | null;
|
|
49646
|
+
next_attempt_at: string;
|
|
49647
|
+
order_ref: string;
|
|
49648
|
+
payload: import("../integrations/supabase/types").Json;
|
|
49649
|
+
payload_hash: string | null;
|
|
49650
|
+
revision: number;
|
|
49651
|
+
sent_at: string | null;
|
|
49652
|
+
status: string;
|
|
49653
|
+
updated_at: string;
|
|
49654
|
+
};
|
|
49655
|
+
Insert: {
|
|
49656
|
+
attempts?: number;
|
|
49657
|
+
created_at?: string;
|
|
49658
|
+
first_queued_at?: string;
|
|
49659
|
+
fulfillment_order_id?: string | null;
|
|
49660
|
+
id?: string;
|
|
49661
|
+
last_error?: string | null;
|
|
49662
|
+
last_error_at?: string | null;
|
|
49663
|
+
last_sent_hash?: string | null;
|
|
49664
|
+
locked_by?: string | null;
|
|
49665
|
+
locked_until?: string | null;
|
|
49666
|
+
next_attempt_at?: string;
|
|
49667
|
+
order_ref: string;
|
|
49668
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49669
|
+
payload_hash?: string | null;
|
|
49670
|
+
revision?: number;
|
|
49671
|
+
sent_at?: string | null;
|
|
49672
|
+
status?: string;
|
|
49673
|
+
updated_at?: string;
|
|
49674
|
+
};
|
|
49675
|
+
Update: {
|
|
49676
|
+
attempts?: number;
|
|
49677
|
+
created_at?: string;
|
|
49678
|
+
first_queued_at?: string;
|
|
49679
|
+
fulfillment_order_id?: string | null;
|
|
49680
|
+
id?: string;
|
|
49681
|
+
last_error?: string | null;
|
|
49682
|
+
last_error_at?: string | null;
|
|
49683
|
+
last_sent_hash?: string | null;
|
|
49684
|
+
locked_by?: string | null;
|
|
49685
|
+
locked_until?: string | null;
|
|
49686
|
+
next_attempt_at?: string;
|
|
49687
|
+
order_ref?: string;
|
|
49688
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49689
|
+
payload_hash?: string | null;
|
|
49690
|
+
revision?: number;
|
|
49691
|
+
sent_at?: string | null;
|
|
49692
|
+
status?: string;
|
|
49693
|
+
updated_at?: string;
|
|
49694
|
+
};
|
|
49695
|
+
Relationships: [];
|
|
49696
|
+
};
|
|
49109
49697
|
logistics_formulas: {
|
|
49110
49698
|
Row: {
|
|
49111
49699
|
created_at: string;
|
|
@@ -49717,6 +50305,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49717
50305
|
};
|
|
49718
50306
|
logistics_tasks: {
|
|
49719
50307
|
Row: {
|
|
50308
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
50309
|
+
attempts: number;
|
|
49720
50310
|
buffer_ref: string | null;
|
|
49721
50311
|
claimed_at: string | null;
|
|
49722
50312
|
claimed_by: string | null;
|
|
@@ -49726,6 +50316,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49726
50316
|
due_at: string | null;
|
|
49727
50317
|
error: string | null;
|
|
49728
50318
|
id: string;
|
|
50319
|
+
last_error: string | null;
|
|
50320
|
+
next_attempt_at: string | null;
|
|
49729
50321
|
order_ref: string;
|
|
49730
50322
|
owner_module: string;
|
|
49731
50323
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -49746,6 +50338,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49746
50338
|
user_id: string;
|
|
49747
50339
|
};
|
|
49748
50340
|
Insert: {
|
|
50341
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50342
|
+
attempts?: number;
|
|
49749
50343
|
buffer_ref?: string | null;
|
|
49750
50344
|
claimed_at?: string | null;
|
|
49751
50345
|
claimed_by?: string | null;
|
|
@@ -49755,6 +50349,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49755
50349
|
due_at?: string | null;
|
|
49756
50350
|
error?: string | null;
|
|
49757
50351
|
id?: string;
|
|
50352
|
+
last_error?: string | null;
|
|
50353
|
+
next_attempt_at?: string | null;
|
|
49758
50354
|
order_ref: string;
|
|
49759
50355
|
owner_module: string;
|
|
49760
50356
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49775,6 +50371,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49775
50371
|
user_id?: string;
|
|
49776
50372
|
};
|
|
49777
50373
|
Update: {
|
|
50374
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50375
|
+
attempts?: number;
|
|
49778
50376
|
buffer_ref?: string | null;
|
|
49779
50377
|
claimed_at?: string | null;
|
|
49780
50378
|
claimed_by?: string | null;
|
|
@@ -49784,6 +50382,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
49784
50382
|
due_at?: string | null;
|
|
49785
50383
|
error?: string | null;
|
|
49786
50384
|
id?: string;
|
|
50385
|
+
last_error?: string | null;
|
|
50386
|
+
next_attempt_at?: string | null;
|
|
49787
50387
|
order_ref?: string;
|
|
49788
50388
|
owner_module?: string;
|
|
49789
50389
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -58788,6 +59388,85 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
58788
59388
|
};
|
|
58789
59389
|
Returns: import("../integrations/supabase/types").Json;
|
|
58790
59390
|
};
|
|
59391
|
+
claim_floriday_stock_queue: {
|
|
59392
|
+
Args: {
|
|
59393
|
+
p_limit?: number;
|
|
59394
|
+
p_worker?: string;
|
|
59395
|
+
};
|
|
59396
|
+
Returns: {
|
|
59397
|
+
attempts: number;
|
|
59398
|
+
connection_id: string;
|
|
59399
|
+
created_at: string;
|
|
59400
|
+
desired_available: boolean | null;
|
|
59401
|
+
gateway_attempt_id: string | null;
|
|
59402
|
+
id: string;
|
|
59403
|
+
last_error: string | null;
|
|
59404
|
+
locked_at: string | null;
|
|
59405
|
+
locked_by: string | null;
|
|
59406
|
+
next_attempt_at: string;
|
|
59407
|
+
number_of_pieces: number;
|
|
59408
|
+
sent_at: string | null;
|
|
59409
|
+
status: string;
|
|
59410
|
+
superseded_by: string | null;
|
|
59411
|
+
trade_item_id: string;
|
|
59412
|
+
updated_at: string;
|
|
59413
|
+
user_id: string;
|
|
59414
|
+
}[];
|
|
59415
|
+
SetofOptions: {
|
|
59416
|
+
from: "*";
|
|
59417
|
+
to: "floriday_continuous_stock_queue";
|
|
59418
|
+
isOneToOne: false;
|
|
59419
|
+
isSetofReturn: true;
|
|
59420
|
+
};
|
|
59421
|
+
};
|
|
59422
|
+
claim_logistics_tasks: {
|
|
59423
|
+
Args: {
|
|
59424
|
+
_limit?: number;
|
|
59425
|
+
_owner_module: string;
|
|
59426
|
+
_stale_minutes?: number;
|
|
59427
|
+
_task_type: string;
|
|
59428
|
+
_worker: string;
|
|
59429
|
+
};
|
|
59430
|
+
Returns: {
|
|
59431
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59432
|
+
attempts: number;
|
|
59433
|
+
buffer_ref: string | null;
|
|
59434
|
+
claimed_at: string | null;
|
|
59435
|
+
claimed_by: string | null;
|
|
59436
|
+
completed_at: string | null;
|
|
59437
|
+
created_at: string;
|
|
59438
|
+
depends_on: string[];
|
|
59439
|
+
due_at: string | null;
|
|
59440
|
+
error: string | null;
|
|
59441
|
+
id: string;
|
|
59442
|
+
last_error: string | null;
|
|
59443
|
+
next_attempt_at: string | null;
|
|
59444
|
+
order_ref: string;
|
|
59445
|
+
owner_module: string;
|
|
59446
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59447
|
+
plan_run_id: string | null;
|
|
59448
|
+
planned_end: string | null;
|
|
59449
|
+
planned_start: string | null;
|
|
59450
|
+
priority: number;
|
|
59451
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
59452
|
+
rule_config_id: string | null;
|
|
59453
|
+
rule_version: number | null;
|
|
59454
|
+
sequence: number;
|
|
59455
|
+
shadow: boolean;
|
|
59456
|
+
started_at: string | null;
|
|
59457
|
+
status: string;
|
|
59458
|
+
strategy_id: string | null;
|
|
59459
|
+
task_type: string;
|
|
59460
|
+
updated_at: string;
|
|
59461
|
+
user_id: string;
|
|
59462
|
+
}[];
|
|
59463
|
+
SetofOptions: {
|
|
59464
|
+
from: "*";
|
|
59465
|
+
to: "logistics_tasks";
|
|
59466
|
+
isOneToOne: false;
|
|
59467
|
+
isSetofReturn: true;
|
|
59468
|
+
};
|
|
59469
|
+
};
|
|
58791
59470
|
claim_print_jobs: {
|
|
58792
59471
|
Args: {
|
|
58793
59472
|
_agent_id: string;
|
|
@@ -58852,10 +59531,24 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
58852
59531
|
isSetofReturn: true;
|
|
58853
59532
|
};
|
|
58854
59533
|
};
|
|
59534
|
+
cleanup_floriday_stock_queue: {
|
|
59535
|
+
Args: never;
|
|
59536
|
+
Returns: undefined;
|
|
59537
|
+
};
|
|
58855
59538
|
cleanup_old_bookings: {
|
|
58856
59539
|
Args: never;
|
|
58857
59540
|
Returns: undefined;
|
|
58858
59541
|
};
|
|
59542
|
+
complete_floriday_stock_queue: {
|
|
59543
|
+
Args: {
|
|
59544
|
+
p_attempt_id?: string;
|
|
59545
|
+
p_error?: string;
|
|
59546
|
+
p_id: string;
|
|
59547
|
+
p_ok: boolean;
|
|
59548
|
+
p_permanent?: boolean;
|
|
59549
|
+
};
|
|
59550
|
+
Returns: undefined;
|
|
59551
|
+
};
|
|
58859
59552
|
consume_bom_for_production: {
|
|
58860
59553
|
Args: {
|
|
58861
59554
|
p_connection_id: string;
|
|
@@ -59547,6 +60240,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59547
60240
|
p_worker?: string;
|
|
59548
60241
|
};
|
|
59549
60242
|
Returns: {
|
|
60243
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60244
|
+
attempts: number;
|
|
59550
60245
|
buffer_ref: string | null;
|
|
59551
60246
|
claimed_at: string | null;
|
|
59552
60247
|
claimed_by: string | null;
|
|
@@ -59556,6 +60251,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59556
60251
|
due_at: string | null;
|
|
59557
60252
|
error: string | null;
|
|
59558
60253
|
id: string;
|
|
60254
|
+
last_error: string | null;
|
|
60255
|
+
next_attempt_at: string | null;
|
|
59559
60256
|
order_ref: string;
|
|
59560
60257
|
owner_module: string;
|
|
59561
60258
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59588,6 +60285,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59588
60285
|
p_worker?: string;
|
|
59589
60286
|
};
|
|
59590
60287
|
Returns: {
|
|
60288
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60289
|
+
attempts: number;
|
|
59591
60290
|
buffer_ref: string | null;
|
|
59592
60291
|
claimed_at: string | null;
|
|
59593
60292
|
claimed_by: string | null;
|
|
@@ -59597,6 +60296,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59597
60296
|
due_at: string | null;
|
|
59598
60297
|
error: string | null;
|
|
59599
60298
|
id: string;
|
|
60299
|
+
last_error: string | null;
|
|
60300
|
+
next_attempt_at: string | null;
|
|
59600
60301
|
order_ref: string;
|
|
59601
60302
|
owner_module: string;
|
|
59602
60303
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59629,6 +60330,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59629
60330
|
p_task_id: string;
|
|
59630
60331
|
};
|
|
59631
60332
|
Returns: {
|
|
60333
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60334
|
+
attempts: number;
|
|
59632
60335
|
buffer_ref: string | null;
|
|
59633
60336
|
claimed_at: string | null;
|
|
59634
60337
|
claimed_by: string | null;
|
|
@@ -59638,6 +60341,102 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59638
60341
|
due_at: string | null;
|
|
59639
60342
|
error: string | null;
|
|
59640
60343
|
id: string;
|
|
60344
|
+
last_error: string | null;
|
|
60345
|
+
next_attempt_at: string | null;
|
|
60346
|
+
order_ref: string;
|
|
60347
|
+
owner_module: string;
|
|
60348
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60349
|
+
plan_run_id: string | null;
|
|
60350
|
+
planned_end: string | null;
|
|
60351
|
+
planned_start: string | null;
|
|
60352
|
+
priority: number;
|
|
60353
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
60354
|
+
rule_config_id: string | null;
|
|
60355
|
+
rule_version: number | null;
|
|
60356
|
+
sequence: number;
|
|
60357
|
+
shadow: boolean;
|
|
60358
|
+
started_at: string | null;
|
|
60359
|
+
status: string;
|
|
60360
|
+
strategy_id: string | null;
|
|
60361
|
+
task_type: string;
|
|
60362
|
+
updated_at: string;
|
|
60363
|
+
user_id: string;
|
|
60364
|
+
};
|
|
60365
|
+
SetofOptions: {
|
|
60366
|
+
from: "*";
|
|
60367
|
+
to: "logistics_tasks";
|
|
60368
|
+
isOneToOne: true;
|
|
60369
|
+
isSetofReturn: false;
|
|
60370
|
+
};
|
|
60371
|
+
};
|
|
60372
|
+
logistics_delay_customer_email: {
|
|
60373
|
+
Args: {
|
|
60374
|
+
p_customer: string;
|
|
60375
|
+
p_lang: string;
|
|
60376
|
+
p_new_date: string;
|
|
60377
|
+
p_order: string;
|
|
60378
|
+
p_partial?: boolean;
|
|
60379
|
+
};
|
|
60380
|
+
Returns: {
|
|
60381
|
+
body: string;
|
|
60382
|
+
subject: string;
|
|
60383
|
+
}[];
|
|
60384
|
+
};
|
|
60385
|
+
logistics_document_layout: {
|
|
60386
|
+
Args: {
|
|
60387
|
+
_document_code: string;
|
|
60388
|
+
};
|
|
60389
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60390
|
+
};
|
|
60391
|
+
logistics_document_station: {
|
|
60392
|
+
Args: {
|
|
60393
|
+
_document_code: string;
|
|
60394
|
+
};
|
|
60395
|
+
Returns: string;
|
|
60396
|
+
};
|
|
60397
|
+
logistics_emit_event: {
|
|
60398
|
+
Args: {
|
|
60399
|
+
p_event_type: string;
|
|
60400
|
+
p_idempotency_key?: string;
|
|
60401
|
+
p_order_ref: string;
|
|
60402
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
60403
|
+
p_shadow?: boolean;
|
|
60404
|
+
p_source_module: string;
|
|
60405
|
+
p_strategy_id?: string;
|
|
60406
|
+
};
|
|
60407
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60408
|
+
} | {
|
|
60409
|
+
Args: {
|
|
60410
|
+
p_event_type: string;
|
|
60411
|
+
p_idempotency_key?: string;
|
|
60412
|
+
p_order_ref: string;
|
|
60413
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
60414
|
+
p_priority?: number;
|
|
60415
|
+
p_shadow?: boolean;
|
|
60416
|
+
p_source_module: string;
|
|
60417
|
+
p_strategy_id?: string;
|
|
60418
|
+
};
|
|
60419
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
60420
|
+
};
|
|
60421
|
+
logistics_fail_task: {
|
|
60422
|
+
Args: {
|
|
60423
|
+
p_error: string;
|
|
60424
|
+
p_task_id: string;
|
|
60425
|
+
};
|
|
60426
|
+
Returns: {
|
|
60427
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60428
|
+
attempts: number;
|
|
60429
|
+
buffer_ref: string | null;
|
|
60430
|
+
claimed_at: string | null;
|
|
60431
|
+
claimed_by: string | null;
|
|
60432
|
+
completed_at: string | null;
|
|
60433
|
+
created_at: string;
|
|
60434
|
+
depends_on: string[];
|
|
60435
|
+
due_at: string | null;
|
|
60436
|
+
error: string | null;
|
|
60437
|
+
id: string;
|
|
60438
|
+
last_error: string | null;
|
|
60439
|
+
next_attempt_at: string | null;
|
|
59641
60440
|
order_ref: string;
|
|
59642
60441
|
owner_module: string;
|
|
59643
60442
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59664,95 +60463,50 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
59664
60463
|
isSetofReturn: false;
|
|
59665
60464
|
};
|
|
59666
60465
|
};
|
|
59667
|
-
|
|
60466
|
+
logistics_floriday_claim_pushes: {
|
|
59668
60467
|
Args: {
|
|
59669
|
-
|
|
59670
|
-
|
|
59671
|
-
|
|
59672
|
-
p_order: string;
|
|
59673
|
-
p_partial?: boolean;
|
|
60468
|
+
_lease_seconds?: number;
|
|
60469
|
+
_limit?: number;
|
|
60470
|
+
_worker?: string;
|
|
59674
60471
|
};
|
|
59675
60472
|
Returns: {
|
|
59676
|
-
|
|
59677
|
-
|
|
60473
|
+
attempts: number;
|
|
60474
|
+
fulfillment_order_id: string;
|
|
60475
|
+
id: string;
|
|
60476
|
+
last_sent_hash: string;
|
|
60477
|
+
order_ref: string;
|
|
60478
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60479
|
+
payload_hash: string;
|
|
60480
|
+
revision: number;
|
|
59678
60481
|
}[];
|
|
59679
60482
|
};
|
|
59680
|
-
|
|
59681
|
-
Args: {
|
|
59682
|
-
_document_code: string;
|
|
59683
|
-
};
|
|
59684
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
59685
|
-
};
|
|
59686
|
-
logistics_document_station: {
|
|
60483
|
+
logistics_floriday_finish_push: {
|
|
59687
60484
|
Args: {
|
|
59688
|
-
|
|
60485
|
+
_error?: string;
|
|
60486
|
+
_fulfillment_order_id?: string;
|
|
60487
|
+
_id: string;
|
|
60488
|
+
_max_age_hours?: number;
|
|
60489
|
+
_max_attempts?: number;
|
|
60490
|
+
_ok: boolean;
|
|
60491
|
+
_permanent?: boolean;
|
|
60492
|
+
_revision: number;
|
|
60493
|
+
_sent_hash?: string;
|
|
59689
60494
|
};
|
|
59690
60495
|
Returns: string;
|
|
59691
60496
|
};
|
|
59692
|
-
|
|
59693
|
-
Args: {
|
|
59694
|
-
p_event_type: string;
|
|
59695
|
-
p_idempotency_key?: string;
|
|
59696
|
-
p_order_ref: string;
|
|
59697
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
59698
|
-
p_shadow?: boolean;
|
|
59699
|
-
p_source_module: string;
|
|
59700
|
-
p_strategy_id?: string;
|
|
59701
|
-
};
|
|
59702
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
59703
|
-
} | {
|
|
60497
|
+
logistics_floriday_prune_pushes: {
|
|
59704
60498
|
Args: {
|
|
59705
|
-
|
|
59706
|
-
p_idempotency_key?: string;
|
|
59707
|
-
p_order_ref: string;
|
|
59708
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
59709
|
-
p_priority?: number;
|
|
59710
|
-
p_shadow?: boolean;
|
|
59711
|
-
p_source_module: string;
|
|
59712
|
-
p_strategy_id?: string;
|
|
60499
|
+
_days?: number;
|
|
59713
60500
|
};
|
|
59714
|
-
Returns:
|
|
60501
|
+
Returns: number;
|
|
59715
60502
|
};
|
|
59716
|
-
|
|
60503
|
+
logistics_floriday_queue_push: {
|
|
59717
60504
|
Args: {
|
|
59718
|
-
|
|
59719
|
-
|
|
59720
|
-
|
|
59721
|
-
Returns: {
|
|
59722
|
-
buffer_ref: string | null;
|
|
59723
|
-
claimed_at: string | null;
|
|
59724
|
-
claimed_by: string | null;
|
|
59725
|
-
completed_at: string | null;
|
|
59726
|
-
created_at: string;
|
|
59727
|
-
depends_on: string[];
|
|
59728
|
-
due_at: string | null;
|
|
59729
|
-
error: string | null;
|
|
59730
|
-
id: string;
|
|
59731
|
-
order_ref: string;
|
|
59732
|
-
owner_module: string;
|
|
59733
|
-
payload: import("../integrations/supabase/types").Json;
|
|
59734
|
-
plan_run_id: string | null;
|
|
59735
|
-
planned_end: string | null;
|
|
59736
|
-
planned_start: string | null;
|
|
59737
|
-
priority: number;
|
|
59738
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
59739
|
-
rule_config_id: string | null;
|
|
59740
|
-
rule_version: number | null;
|
|
59741
|
-
sequence: number;
|
|
59742
|
-
shadow: boolean;
|
|
59743
|
-
started_at: string | null;
|
|
59744
|
-
status: string;
|
|
59745
|
-
strategy_id: string | null;
|
|
59746
|
-
task_type: string;
|
|
59747
|
-
updated_at: string;
|
|
59748
|
-
user_id: string;
|
|
59749
|
-
};
|
|
59750
|
-
SetofOptions: {
|
|
59751
|
-
from: "*";
|
|
59752
|
-
to: "logistics_tasks";
|
|
59753
|
-
isOneToOne: true;
|
|
59754
|
-
isSetofReturn: false;
|
|
60505
|
+
_order_ref: string;
|
|
60506
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60507
|
+
_payload_hash?: string;
|
|
59755
60508
|
};
|
|
60509
|
+
Returns: string;
|
|
59756
60510
|
};
|
|
59757
60511
|
logistics_live_carriers: {
|
|
59758
60512
|
Args: {
|
|
@@ -60481,6 +61235,10 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
60481
61235
|
Args: never;
|
|
60482
61236
|
Returns: undefined;
|
|
60483
61237
|
};
|
|
61238
|
+
run_logistics_tasks_dispatch: {
|
|
61239
|
+
Args: never;
|
|
61240
|
+
Returns: undefined;
|
|
61241
|
+
};
|
|
60484
61242
|
run_twinfield_queue_tick: {
|
|
60485
61243
|
Args: never;
|
|
60486
61244
|
Returns: undefined;
|
|
@@ -60721,6 +61479,13 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
60721
61479
|
};
|
|
60722
61480
|
Returns: number;
|
|
60723
61481
|
};
|
|
61482
|
+
schedule_floriday_stock_queue_process: {
|
|
61483
|
+
Args: {
|
|
61484
|
+
p_apikey: string;
|
|
61485
|
+
p_url: string;
|
|
61486
|
+
};
|
|
61487
|
+
Returns: number;
|
|
61488
|
+
};
|
|
60724
61489
|
schedule_floriday_token_refresh: {
|
|
60725
61490
|
Args: {
|
|
60726
61491
|
p_apikey: string;
|
|
@@ -66641,12 +67406,17 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
66641
67406
|
attempts: number;
|
|
66642
67407
|
connection_id: string;
|
|
66643
67408
|
created_at: string;
|
|
67409
|
+
desired_available: boolean | null;
|
|
66644
67410
|
gateway_attempt_id: string | null;
|
|
66645
67411
|
id: string;
|
|
66646
67412
|
last_error: string | null;
|
|
67413
|
+
locked_at: string | null;
|
|
67414
|
+
locked_by: string | null;
|
|
67415
|
+
next_attempt_at: string;
|
|
66647
67416
|
number_of_pieces: number;
|
|
66648
67417
|
sent_at: string | null;
|
|
66649
67418
|
status: string;
|
|
67419
|
+
superseded_by: string | null;
|
|
66650
67420
|
trade_item_id: string;
|
|
66651
67421
|
updated_at: string;
|
|
66652
67422
|
user_id: string;
|
|
@@ -66655,12 +67425,17 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
66655
67425
|
attempts?: number;
|
|
66656
67426
|
connection_id: string;
|
|
66657
67427
|
created_at?: string;
|
|
67428
|
+
desired_available?: boolean | null;
|
|
66658
67429
|
gateway_attempt_id?: string | null;
|
|
66659
67430
|
id?: string;
|
|
66660
67431
|
last_error?: string | null;
|
|
67432
|
+
locked_at?: string | null;
|
|
67433
|
+
locked_by?: string | null;
|
|
67434
|
+
next_attempt_at?: string;
|
|
66661
67435
|
number_of_pieces?: number;
|
|
66662
67436
|
sent_at?: string | null;
|
|
66663
67437
|
status?: string;
|
|
67438
|
+
superseded_by?: string | null;
|
|
66664
67439
|
trade_item_id: string;
|
|
66665
67440
|
updated_at?: string;
|
|
66666
67441
|
user_id: string;
|
|
@@ -66669,12 +67444,17 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
66669
67444
|
attempts?: number;
|
|
66670
67445
|
connection_id?: string;
|
|
66671
67446
|
created_at?: string;
|
|
67447
|
+
desired_available?: boolean | null;
|
|
66672
67448
|
gateway_attempt_id?: string | null;
|
|
66673
67449
|
id?: string;
|
|
66674
67450
|
last_error?: string | null;
|
|
67451
|
+
locked_at?: string | null;
|
|
67452
|
+
locked_by?: string | null;
|
|
67453
|
+
next_attempt_at?: string;
|
|
66675
67454
|
number_of_pieces?: number;
|
|
66676
67455
|
sent_at?: string | null;
|
|
66677
67456
|
status?: string;
|
|
67457
|
+
superseded_by?: string | null;
|
|
66678
67458
|
trade_item_id?: string;
|
|
66679
67459
|
updated_at?: string;
|
|
66680
67460
|
user_id?: string;
|
|
@@ -69423,6 +70203,69 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
69423
70203
|
};
|
|
69424
70204
|
Relationships: [];
|
|
69425
70205
|
};
|
|
70206
|
+
logistics_floriday_pushes: {
|
|
70207
|
+
Row: {
|
|
70208
|
+
attempts: number;
|
|
70209
|
+
created_at: string;
|
|
70210
|
+
first_queued_at: string;
|
|
70211
|
+
fulfillment_order_id: string | null;
|
|
70212
|
+
id: string;
|
|
70213
|
+
last_error: string | null;
|
|
70214
|
+
last_error_at: string | null;
|
|
70215
|
+
last_sent_hash: string | null;
|
|
70216
|
+
locked_by: string | null;
|
|
70217
|
+
locked_until: string | null;
|
|
70218
|
+
next_attempt_at: string;
|
|
70219
|
+
order_ref: string;
|
|
70220
|
+
payload: import("../integrations/supabase/types").Json;
|
|
70221
|
+
payload_hash: string | null;
|
|
70222
|
+
revision: number;
|
|
70223
|
+
sent_at: string | null;
|
|
70224
|
+
status: string;
|
|
70225
|
+
updated_at: string;
|
|
70226
|
+
};
|
|
70227
|
+
Insert: {
|
|
70228
|
+
attempts?: number;
|
|
70229
|
+
created_at?: string;
|
|
70230
|
+
first_queued_at?: string;
|
|
70231
|
+
fulfillment_order_id?: string | null;
|
|
70232
|
+
id?: string;
|
|
70233
|
+
last_error?: string | null;
|
|
70234
|
+
last_error_at?: string | null;
|
|
70235
|
+
last_sent_hash?: string | null;
|
|
70236
|
+
locked_by?: string | null;
|
|
70237
|
+
locked_until?: string | null;
|
|
70238
|
+
next_attempt_at?: string;
|
|
70239
|
+
order_ref: string;
|
|
70240
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70241
|
+
payload_hash?: string | null;
|
|
70242
|
+
revision?: number;
|
|
70243
|
+
sent_at?: string | null;
|
|
70244
|
+
status?: string;
|
|
70245
|
+
updated_at?: string;
|
|
70246
|
+
};
|
|
70247
|
+
Update: {
|
|
70248
|
+
attempts?: number;
|
|
70249
|
+
created_at?: string;
|
|
70250
|
+
first_queued_at?: string;
|
|
70251
|
+
fulfillment_order_id?: string | null;
|
|
70252
|
+
id?: string;
|
|
70253
|
+
last_error?: string | null;
|
|
70254
|
+
last_error_at?: string | null;
|
|
70255
|
+
last_sent_hash?: string | null;
|
|
70256
|
+
locked_by?: string | null;
|
|
70257
|
+
locked_until?: string | null;
|
|
70258
|
+
next_attempt_at?: string;
|
|
70259
|
+
order_ref?: string;
|
|
70260
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70261
|
+
payload_hash?: string | null;
|
|
70262
|
+
revision?: number;
|
|
70263
|
+
sent_at?: string | null;
|
|
70264
|
+
status?: string;
|
|
70265
|
+
updated_at?: string;
|
|
70266
|
+
};
|
|
70267
|
+
Relationships: [];
|
|
70268
|
+
};
|
|
69426
70269
|
logistics_formulas: {
|
|
69427
70270
|
Row: {
|
|
69428
70271
|
created_at: string;
|
|
@@ -70034,6 +70877,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
70034
70877
|
};
|
|
70035
70878
|
logistics_tasks: {
|
|
70036
70879
|
Row: {
|
|
70880
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
70881
|
+
attempts: number;
|
|
70037
70882
|
buffer_ref: string | null;
|
|
70038
70883
|
claimed_at: string | null;
|
|
70039
70884
|
claimed_by: string | null;
|
|
@@ -70043,6 +70888,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
70043
70888
|
due_at: string | null;
|
|
70044
70889
|
error: string | null;
|
|
70045
70890
|
id: string;
|
|
70891
|
+
last_error: string | null;
|
|
70892
|
+
next_attempt_at: string | null;
|
|
70046
70893
|
order_ref: string;
|
|
70047
70894
|
owner_module: string;
|
|
70048
70895
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -70063,6 +70910,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
70063
70910
|
user_id: string;
|
|
70064
70911
|
};
|
|
70065
70912
|
Insert: {
|
|
70913
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
70914
|
+
attempts?: number;
|
|
70066
70915
|
buffer_ref?: string | null;
|
|
70067
70916
|
claimed_at?: string | null;
|
|
70068
70917
|
claimed_by?: string | null;
|
|
@@ -70072,6 +70921,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
70072
70921
|
due_at?: string | null;
|
|
70073
70922
|
error?: string | null;
|
|
70074
70923
|
id?: string;
|
|
70924
|
+
last_error?: string | null;
|
|
70925
|
+
next_attempt_at?: string | null;
|
|
70075
70926
|
order_ref: string;
|
|
70076
70927
|
owner_module: string;
|
|
70077
70928
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -70092,6 +70943,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
70092
70943
|
user_id?: string;
|
|
70093
70944
|
};
|
|
70094
70945
|
Update: {
|
|
70946
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
70947
|
+
attempts?: number;
|
|
70095
70948
|
buffer_ref?: string | null;
|
|
70096
70949
|
claimed_at?: string | null;
|
|
70097
70950
|
claimed_by?: string | null;
|
|
@@ -70101,6 +70954,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
70101
70954
|
due_at?: string | null;
|
|
70102
70955
|
error?: string | null;
|
|
70103
70956
|
id?: string;
|
|
70957
|
+
last_error?: string | null;
|
|
70958
|
+
next_attempt_at?: string | null;
|
|
70104
70959
|
order_ref?: string;
|
|
70105
70960
|
owner_module?: string;
|
|
70106
70961
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -79105,6 +79960,85 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79105
79960
|
};
|
|
79106
79961
|
Returns: import("../integrations/supabase/types").Json;
|
|
79107
79962
|
};
|
|
79963
|
+
claim_floriday_stock_queue: {
|
|
79964
|
+
Args: {
|
|
79965
|
+
p_limit?: number;
|
|
79966
|
+
p_worker?: string;
|
|
79967
|
+
};
|
|
79968
|
+
Returns: {
|
|
79969
|
+
attempts: number;
|
|
79970
|
+
connection_id: string;
|
|
79971
|
+
created_at: string;
|
|
79972
|
+
desired_available: boolean | null;
|
|
79973
|
+
gateway_attempt_id: string | null;
|
|
79974
|
+
id: string;
|
|
79975
|
+
last_error: string | null;
|
|
79976
|
+
locked_at: string | null;
|
|
79977
|
+
locked_by: string | null;
|
|
79978
|
+
next_attempt_at: string;
|
|
79979
|
+
number_of_pieces: number;
|
|
79980
|
+
sent_at: string | null;
|
|
79981
|
+
status: string;
|
|
79982
|
+
superseded_by: string | null;
|
|
79983
|
+
trade_item_id: string;
|
|
79984
|
+
updated_at: string;
|
|
79985
|
+
user_id: string;
|
|
79986
|
+
}[];
|
|
79987
|
+
SetofOptions: {
|
|
79988
|
+
from: "*";
|
|
79989
|
+
to: "floriday_continuous_stock_queue";
|
|
79990
|
+
isOneToOne: false;
|
|
79991
|
+
isSetofReturn: true;
|
|
79992
|
+
};
|
|
79993
|
+
};
|
|
79994
|
+
claim_logistics_tasks: {
|
|
79995
|
+
Args: {
|
|
79996
|
+
_limit?: number;
|
|
79997
|
+
_owner_module: string;
|
|
79998
|
+
_stale_minutes?: number;
|
|
79999
|
+
_task_type: string;
|
|
80000
|
+
_worker: string;
|
|
80001
|
+
};
|
|
80002
|
+
Returns: {
|
|
80003
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80004
|
+
attempts: number;
|
|
80005
|
+
buffer_ref: string | null;
|
|
80006
|
+
claimed_at: string | null;
|
|
80007
|
+
claimed_by: string | null;
|
|
80008
|
+
completed_at: string | null;
|
|
80009
|
+
created_at: string;
|
|
80010
|
+
depends_on: string[];
|
|
80011
|
+
due_at: string | null;
|
|
80012
|
+
error: string | null;
|
|
80013
|
+
id: string;
|
|
80014
|
+
last_error: string | null;
|
|
80015
|
+
next_attempt_at: string | null;
|
|
80016
|
+
order_ref: string;
|
|
80017
|
+
owner_module: string;
|
|
80018
|
+
payload: import("../integrations/supabase/types").Json;
|
|
80019
|
+
plan_run_id: string | null;
|
|
80020
|
+
planned_end: string | null;
|
|
80021
|
+
planned_start: string | null;
|
|
80022
|
+
priority: number;
|
|
80023
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
80024
|
+
rule_config_id: string | null;
|
|
80025
|
+
rule_version: number | null;
|
|
80026
|
+
sequence: number;
|
|
80027
|
+
shadow: boolean;
|
|
80028
|
+
started_at: string | null;
|
|
80029
|
+
status: string;
|
|
80030
|
+
strategy_id: string | null;
|
|
80031
|
+
task_type: string;
|
|
80032
|
+
updated_at: string;
|
|
80033
|
+
user_id: string;
|
|
80034
|
+
}[];
|
|
80035
|
+
SetofOptions: {
|
|
80036
|
+
from: "*";
|
|
80037
|
+
to: "logistics_tasks";
|
|
80038
|
+
isOneToOne: false;
|
|
80039
|
+
isSetofReturn: true;
|
|
80040
|
+
};
|
|
80041
|
+
};
|
|
79108
80042
|
claim_print_jobs: {
|
|
79109
80043
|
Args: {
|
|
79110
80044
|
_agent_id: string;
|
|
@@ -79169,10 +80103,24 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79169
80103
|
isSetofReturn: true;
|
|
79170
80104
|
};
|
|
79171
80105
|
};
|
|
80106
|
+
cleanup_floriday_stock_queue: {
|
|
80107
|
+
Args: never;
|
|
80108
|
+
Returns: undefined;
|
|
80109
|
+
};
|
|
79172
80110
|
cleanup_old_bookings: {
|
|
79173
80111
|
Args: never;
|
|
79174
80112
|
Returns: undefined;
|
|
79175
80113
|
};
|
|
80114
|
+
complete_floriday_stock_queue: {
|
|
80115
|
+
Args: {
|
|
80116
|
+
p_attempt_id?: string;
|
|
80117
|
+
p_error?: string;
|
|
80118
|
+
p_id: string;
|
|
80119
|
+
p_ok: boolean;
|
|
80120
|
+
p_permanent?: boolean;
|
|
80121
|
+
};
|
|
80122
|
+
Returns: undefined;
|
|
80123
|
+
};
|
|
79176
80124
|
consume_bom_for_production: {
|
|
79177
80125
|
Args: {
|
|
79178
80126
|
p_connection_id: string;
|
|
@@ -79864,6 +80812,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79864
80812
|
p_worker?: string;
|
|
79865
80813
|
};
|
|
79866
80814
|
Returns: {
|
|
80815
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80816
|
+
attempts: number;
|
|
79867
80817
|
buffer_ref: string | null;
|
|
79868
80818
|
claimed_at: string | null;
|
|
79869
80819
|
claimed_by: string | null;
|
|
@@ -79873,6 +80823,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79873
80823
|
due_at: string | null;
|
|
79874
80824
|
error: string | null;
|
|
79875
80825
|
id: string;
|
|
80826
|
+
last_error: string | null;
|
|
80827
|
+
next_attempt_at: string | null;
|
|
79876
80828
|
order_ref: string;
|
|
79877
80829
|
owner_module: string;
|
|
79878
80830
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79905,6 +80857,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79905
80857
|
p_worker?: string;
|
|
79906
80858
|
};
|
|
79907
80859
|
Returns: {
|
|
80860
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80861
|
+
attempts: number;
|
|
79908
80862
|
buffer_ref: string | null;
|
|
79909
80863
|
claimed_at: string | null;
|
|
79910
80864
|
claimed_by: string | null;
|
|
@@ -79914,6 +80868,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79914
80868
|
due_at: string | null;
|
|
79915
80869
|
error: string | null;
|
|
79916
80870
|
id: string;
|
|
80871
|
+
last_error: string | null;
|
|
80872
|
+
next_attempt_at: string | null;
|
|
79917
80873
|
order_ref: string;
|
|
79918
80874
|
owner_module: string;
|
|
79919
80875
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79946,6 +80902,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79946
80902
|
p_task_id: string;
|
|
79947
80903
|
};
|
|
79948
80904
|
Returns: {
|
|
80905
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80906
|
+
attempts: number;
|
|
79949
80907
|
buffer_ref: string | null;
|
|
79950
80908
|
claimed_at: string | null;
|
|
79951
80909
|
claimed_by: string | null;
|
|
@@ -79955,6 +80913,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
79955
80913
|
due_at: string | null;
|
|
79956
80914
|
error: string | null;
|
|
79957
80915
|
id: string;
|
|
80916
|
+
last_error: string | null;
|
|
80917
|
+
next_attempt_at: string | null;
|
|
79958
80918
|
order_ref: string;
|
|
79959
80919
|
owner_module: string;
|
|
79960
80920
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80036,6 +80996,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
80036
80996
|
p_task_id: string;
|
|
80037
80997
|
};
|
|
80038
80998
|
Returns: {
|
|
80999
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81000
|
+
attempts: number;
|
|
80039
81001
|
buffer_ref: string | null;
|
|
80040
81002
|
claimed_at: string | null;
|
|
80041
81003
|
claimed_by: string | null;
|
|
@@ -80045,6 +81007,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
80045
81007
|
due_at: string | null;
|
|
80046
81008
|
error: string | null;
|
|
80047
81009
|
id: string;
|
|
81010
|
+
last_error: string | null;
|
|
81011
|
+
next_attempt_at: string | null;
|
|
80048
81012
|
order_ref: string;
|
|
80049
81013
|
owner_module: string;
|
|
80050
81014
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80071,6 +81035,51 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
80071
81035
|
isSetofReturn: false;
|
|
80072
81036
|
};
|
|
80073
81037
|
};
|
|
81038
|
+
logistics_floriday_claim_pushes: {
|
|
81039
|
+
Args: {
|
|
81040
|
+
_lease_seconds?: number;
|
|
81041
|
+
_limit?: number;
|
|
81042
|
+
_worker?: string;
|
|
81043
|
+
};
|
|
81044
|
+
Returns: {
|
|
81045
|
+
attempts: number;
|
|
81046
|
+
fulfillment_order_id: string;
|
|
81047
|
+
id: string;
|
|
81048
|
+
last_sent_hash: string;
|
|
81049
|
+
order_ref: string;
|
|
81050
|
+
payload: import("../integrations/supabase/types").Json;
|
|
81051
|
+
payload_hash: string;
|
|
81052
|
+
revision: number;
|
|
81053
|
+
}[];
|
|
81054
|
+
};
|
|
81055
|
+
logistics_floriday_finish_push: {
|
|
81056
|
+
Args: {
|
|
81057
|
+
_error?: string;
|
|
81058
|
+
_fulfillment_order_id?: string;
|
|
81059
|
+
_id: string;
|
|
81060
|
+
_max_age_hours?: number;
|
|
81061
|
+
_max_attempts?: number;
|
|
81062
|
+
_ok: boolean;
|
|
81063
|
+
_permanent?: boolean;
|
|
81064
|
+
_revision: number;
|
|
81065
|
+
_sent_hash?: string;
|
|
81066
|
+
};
|
|
81067
|
+
Returns: string;
|
|
81068
|
+
};
|
|
81069
|
+
logistics_floriday_prune_pushes: {
|
|
81070
|
+
Args: {
|
|
81071
|
+
_days?: number;
|
|
81072
|
+
};
|
|
81073
|
+
Returns: number;
|
|
81074
|
+
};
|
|
81075
|
+
logistics_floriday_queue_push: {
|
|
81076
|
+
Args: {
|
|
81077
|
+
_order_ref: string;
|
|
81078
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
81079
|
+
_payload_hash?: string;
|
|
81080
|
+
};
|
|
81081
|
+
Returns: string;
|
|
81082
|
+
};
|
|
80074
81083
|
logistics_live_carriers: {
|
|
80075
81084
|
Args: {
|
|
80076
81085
|
p_order_ref: string;
|
|
@@ -80798,6 +81807,10 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
80798
81807
|
Args: never;
|
|
80799
81808
|
Returns: undefined;
|
|
80800
81809
|
};
|
|
81810
|
+
run_logistics_tasks_dispatch: {
|
|
81811
|
+
Args: never;
|
|
81812
|
+
Returns: undefined;
|
|
81813
|
+
};
|
|
80801
81814
|
run_twinfield_queue_tick: {
|
|
80802
81815
|
Args: never;
|
|
80803
81816
|
Returns: undefined;
|
|
@@ -81038,6 +82051,13 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
81038
82051
|
};
|
|
81039
82052
|
Returns: number;
|
|
81040
82053
|
};
|
|
82054
|
+
schedule_floriday_stock_queue_process: {
|
|
82055
|
+
Args: {
|
|
82056
|
+
p_apikey: string;
|
|
82057
|
+
p_url: string;
|
|
82058
|
+
};
|
|
82059
|
+
Returns: number;
|
|
82060
|
+
};
|
|
81041
82061
|
schedule_floriday_token_refresh: {
|
|
81042
82062
|
Args: {
|
|
81043
82063
|
p_apikey: string;
|