@flowselections/floriday-klanten-module 1.0.30 → 1.0.32
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
|
@@ -5719,12 +5719,17 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
5719
5719
|
attempts: number;
|
|
5720
5720
|
connection_id: string;
|
|
5721
5721
|
created_at: string;
|
|
5722
|
+
desired_available: boolean | null;
|
|
5722
5723
|
gateway_attempt_id: string | null;
|
|
5723
5724
|
id: string;
|
|
5724
5725
|
last_error: string | null;
|
|
5726
|
+
locked_at: string | null;
|
|
5727
|
+
locked_by: string | null;
|
|
5728
|
+
next_attempt_at: string;
|
|
5725
5729
|
number_of_pieces: number;
|
|
5726
5730
|
sent_at: string | null;
|
|
5727
5731
|
status: string;
|
|
5732
|
+
superseded_by: string | null;
|
|
5728
5733
|
trade_item_id: string;
|
|
5729
5734
|
updated_at: string;
|
|
5730
5735
|
user_id: string;
|
|
@@ -5733,12 +5738,17 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
5733
5738
|
attempts?: number;
|
|
5734
5739
|
connection_id: string;
|
|
5735
5740
|
created_at?: string;
|
|
5741
|
+
desired_available?: boolean | null;
|
|
5736
5742
|
gateway_attempt_id?: string | null;
|
|
5737
5743
|
id?: string;
|
|
5738
5744
|
last_error?: string | null;
|
|
5745
|
+
locked_at?: string | null;
|
|
5746
|
+
locked_by?: string | null;
|
|
5747
|
+
next_attempt_at?: string;
|
|
5739
5748
|
number_of_pieces?: number;
|
|
5740
5749
|
sent_at?: string | null;
|
|
5741
5750
|
status?: string;
|
|
5751
|
+
superseded_by?: string | null;
|
|
5742
5752
|
trade_item_id: string;
|
|
5743
5753
|
updated_at?: string;
|
|
5744
5754
|
user_id: string;
|
|
@@ -5747,12 +5757,17 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
5747
5757
|
attempts?: number;
|
|
5748
5758
|
connection_id?: string;
|
|
5749
5759
|
created_at?: string;
|
|
5760
|
+
desired_available?: boolean | null;
|
|
5750
5761
|
gateway_attempt_id?: string | null;
|
|
5751
5762
|
id?: string;
|
|
5752
5763
|
last_error?: string | null;
|
|
5764
|
+
locked_at?: string | null;
|
|
5765
|
+
locked_by?: string | null;
|
|
5766
|
+
next_attempt_at?: string;
|
|
5753
5767
|
number_of_pieces?: number;
|
|
5754
5768
|
sent_at?: string | null;
|
|
5755
5769
|
status?: string;
|
|
5770
|
+
superseded_by?: string | null;
|
|
5756
5771
|
trade_item_id?: string;
|
|
5757
5772
|
updated_at?: string;
|
|
5758
5773
|
user_id?: string;
|
|
@@ -8501,6 +8516,69 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
8501
8516
|
};
|
|
8502
8517
|
Relationships: [];
|
|
8503
8518
|
};
|
|
8519
|
+
logistics_floriday_pushes: {
|
|
8520
|
+
Row: {
|
|
8521
|
+
attempts: number;
|
|
8522
|
+
created_at: string;
|
|
8523
|
+
first_queued_at: string;
|
|
8524
|
+
fulfillment_order_id: string | null;
|
|
8525
|
+
id: string;
|
|
8526
|
+
last_error: string | null;
|
|
8527
|
+
last_error_at: string | null;
|
|
8528
|
+
last_sent_hash: string | null;
|
|
8529
|
+
locked_by: string | null;
|
|
8530
|
+
locked_until: string | null;
|
|
8531
|
+
next_attempt_at: string;
|
|
8532
|
+
order_ref: string;
|
|
8533
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8534
|
+
payload_hash: string | null;
|
|
8535
|
+
revision: number;
|
|
8536
|
+
sent_at: string | null;
|
|
8537
|
+
status: string;
|
|
8538
|
+
updated_at: string;
|
|
8539
|
+
};
|
|
8540
|
+
Insert: {
|
|
8541
|
+
attempts?: number;
|
|
8542
|
+
created_at?: string;
|
|
8543
|
+
first_queued_at?: string;
|
|
8544
|
+
fulfillment_order_id?: string | null;
|
|
8545
|
+
id?: string;
|
|
8546
|
+
last_error?: string | null;
|
|
8547
|
+
last_error_at?: string | null;
|
|
8548
|
+
last_sent_hash?: string | null;
|
|
8549
|
+
locked_by?: string | null;
|
|
8550
|
+
locked_until?: string | null;
|
|
8551
|
+
next_attempt_at?: string;
|
|
8552
|
+
order_ref: string;
|
|
8553
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8554
|
+
payload_hash?: string | null;
|
|
8555
|
+
revision?: number;
|
|
8556
|
+
sent_at?: string | null;
|
|
8557
|
+
status?: string;
|
|
8558
|
+
updated_at?: string;
|
|
8559
|
+
};
|
|
8560
|
+
Update: {
|
|
8561
|
+
attempts?: number;
|
|
8562
|
+
created_at?: string;
|
|
8563
|
+
first_queued_at?: string;
|
|
8564
|
+
fulfillment_order_id?: string | null;
|
|
8565
|
+
id?: string;
|
|
8566
|
+
last_error?: string | null;
|
|
8567
|
+
last_error_at?: string | null;
|
|
8568
|
+
last_sent_hash?: string | null;
|
|
8569
|
+
locked_by?: string | null;
|
|
8570
|
+
locked_until?: string | null;
|
|
8571
|
+
next_attempt_at?: string;
|
|
8572
|
+
order_ref?: string;
|
|
8573
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8574
|
+
payload_hash?: string | null;
|
|
8575
|
+
revision?: number;
|
|
8576
|
+
sent_at?: string | null;
|
|
8577
|
+
status?: string;
|
|
8578
|
+
updated_at?: string;
|
|
8579
|
+
};
|
|
8580
|
+
Relationships: [];
|
|
8581
|
+
};
|
|
8504
8582
|
logistics_formulas: {
|
|
8505
8583
|
Row: {
|
|
8506
8584
|
created_at: string;
|
|
@@ -9112,6 +9190,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
9112
9190
|
};
|
|
9113
9191
|
logistics_tasks: {
|
|
9114
9192
|
Row: {
|
|
9193
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9194
|
+
attempts: number;
|
|
9115
9195
|
buffer_ref: string | null;
|
|
9116
9196
|
claimed_at: string | null;
|
|
9117
9197
|
claimed_by: string | null;
|
|
@@ -9121,6 +9201,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
9121
9201
|
due_at: string | null;
|
|
9122
9202
|
error: string | null;
|
|
9123
9203
|
id: string;
|
|
9204
|
+
last_error: string | null;
|
|
9205
|
+
next_attempt_at: string | null;
|
|
9124
9206
|
order_ref: string;
|
|
9125
9207
|
owner_module: string;
|
|
9126
9208
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -9141,6 +9223,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
9141
9223
|
user_id: string;
|
|
9142
9224
|
};
|
|
9143
9225
|
Insert: {
|
|
9226
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9227
|
+
attempts?: number;
|
|
9144
9228
|
buffer_ref?: string | null;
|
|
9145
9229
|
claimed_at?: string | null;
|
|
9146
9230
|
claimed_by?: string | null;
|
|
@@ -9150,6 +9234,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
9150
9234
|
due_at?: string | null;
|
|
9151
9235
|
error?: string | null;
|
|
9152
9236
|
id?: string;
|
|
9237
|
+
last_error?: string | null;
|
|
9238
|
+
next_attempt_at?: string | null;
|
|
9153
9239
|
order_ref: string;
|
|
9154
9240
|
owner_module: string;
|
|
9155
9241
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9170,6 +9256,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
9170
9256
|
user_id?: string;
|
|
9171
9257
|
};
|
|
9172
9258
|
Update: {
|
|
9259
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9260
|
+
attempts?: number;
|
|
9173
9261
|
buffer_ref?: string | null;
|
|
9174
9262
|
claimed_at?: string | null;
|
|
9175
9263
|
claimed_by?: string | null;
|
|
@@ -9179,6 +9267,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
9179
9267
|
due_at?: string | null;
|
|
9180
9268
|
error?: string | null;
|
|
9181
9269
|
id?: string;
|
|
9270
|
+
last_error?: string | null;
|
|
9271
|
+
next_attempt_at?: string | null;
|
|
9182
9272
|
order_ref?: string;
|
|
9183
9273
|
owner_module?: string;
|
|
9184
9274
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -18183,6 +18273,85 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
18183
18273
|
};
|
|
18184
18274
|
Returns: import("../integrations/supabase/types").Json;
|
|
18185
18275
|
};
|
|
18276
|
+
claim_floriday_stock_queue: {
|
|
18277
|
+
Args: {
|
|
18278
|
+
p_limit?: number;
|
|
18279
|
+
p_worker?: string;
|
|
18280
|
+
};
|
|
18281
|
+
Returns: {
|
|
18282
|
+
attempts: number;
|
|
18283
|
+
connection_id: string;
|
|
18284
|
+
created_at: string;
|
|
18285
|
+
desired_available: boolean | null;
|
|
18286
|
+
gateway_attempt_id: string | null;
|
|
18287
|
+
id: string;
|
|
18288
|
+
last_error: string | null;
|
|
18289
|
+
locked_at: string | null;
|
|
18290
|
+
locked_by: string | null;
|
|
18291
|
+
next_attempt_at: string;
|
|
18292
|
+
number_of_pieces: number;
|
|
18293
|
+
sent_at: string | null;
|
|
18294
|
+
status: string;
|
|
18295
|
+
superseded_by: string | null;
|
|
18296
|
+
trade_item_id: string;
|
|
18297
|
+
updated_at: string;
|
|
18298
|
+
user_id: string;
|
|
18299
|
+
}[];
|
|
18300
|
+
SetofOptions: {
|
|
18301
|
+
from: "*";
|
|
18302
|
+
to: "floriday_continuous_stock_queue";
|
|
18303
|
+
isOneToOne: false;
|
|
18304
|
+
isSetofReturn: true;
|
|
18305
|
+
};
|
|
18306
|
+
};
|
|
18307
|
+
claim_logistics_tasks: {
|
|
18308
|
+
Args: {
|
|
18309
|
+
_limit?: number;
|
|
18310
|
+
_owner_module: string;
|
|
18311
|
+
_stale_minutes?: number;
|
|
18312
|
+
_task_type: string;
|
|
18313
|
+
_worker: string;
|
|
18314
|
+
};
|
|
18315
|
+
Returns: {
|
|
18316
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18317
|
+
attempts: number;
|
|
18318
|
+
buffer_ref: string | null;
|
|
18319
|
+
claimed_at: string | null;
|
|
18320
|
+
claimed_by: string | null;
|
|
18321
|
+
completed_at: string | null;
|
|
18322
|
+
created_at: string;
|
|
18323
|
+
depends_on: string[];
|
|
18324
|
+
due_at: string | null;
|
|
18325
|
+
error: string | null;
|
|
18326
|
+
id: string;
|
|
18327
|
+
last_error: string | null;
|
|
18328
|
+
next_attempt_at: string | null;
|
|
18329
|
+
order_ref: string;
|
|
18330
|
+
owner_module: string;
|
|
18331
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18332
|
+
plan_run_id: string | null;
|
|
18333
|
+
planned_end: string | null;
|
|
18334
|
+
planned_start: string | null;
|
|
18335
|
+
priority: number;
|
|
18336
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18337
|
+
rule_config_id: string | null;
|
|
18338
|
+
rule_version: number | null;
|
|
18339
|
+
sequence: number;
|
|
18340
|
+
shadow: boolean;
|
|
18341
|
+
started_at: string | null;
|
|
18342
|
+
status: string;
|
|
18343
|
+
strategy_id: string | null;
|
|
18344
|
+
task_type: string;
|
|
18345
|
+
updated_at: string;
|
|
18346
|
+
user_id: string;
|
|
18347
|
+
}[];
|
|
18348
|
+
SetofOptions: {
|
|
18349
|
+
from: "*";
|
|
18350
|
+
to: "logistics_tasks";
|
|
18351
|
+
isOneToOne: false;
|
|
18352
|
+
isSetofReturn: true;
|
|
18353
|
+
};
|
|
18354
|
+
};
|
|
18186
18355
|
claim_print_jobs: {
|
|
18187
18356
|
Args: {
|
|
18188
18357
|
_agent_id: string;
|
|
@@ -18247,10 +18416,24 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
18247
18416
|
isSetofReturn: true;
|
|
18248
18417
|
};
|
|
18249
18418
|
};
|
|
18419
|
+
cleanup_floriday_stock_queue: {
|
|
18420
|
+
Args: never;
|
|
18421
|
+
Returns: undefined;
|
|
18422
|
+
};
|
|
18250
18423
|
cleanup_old_bookings: {
|
|
18251
18424
|
Args: never;
|
|
18252
18425
|
Returns: undefined;
|
|
18253
18426
|
};
|
|
18427
|
+
complete_floriday_stock_queue: {
|
|
18428
|
+
Args: {
|
|
18429
|
+
p_attempt_id?: string;
|
|
18430
|
+
p_error?: string;
|
|
18431
|
+
p_id: string;
|
|
18432
|
+
p_ok: boolean;
|
|
18433
|
+
p_permanent?: boolean;
|
|
18434
|
+
};
|
|
18435
|
+
Returns: undefined;
|
|
18436
|
+
};
|
|
18254
18437
|
consume_bom_for_production: {
|
|
18255
18438
|
Args: {
|
|
18256
18439
|
p_connection_id: string;
|
|
@@ -18942,6 +19125,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
18942
19125
|
p_worker?: string;
|
|
18943
19126
|
};
|
|
18944
19127
|
Returns: {
|
|
19128
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19129
|
+
attempts: number;
|
|
18945
19130
|
buffer_ref: string | null;
|
|
18946
19131
|
claimed_at: string | null;
|
|
18947
19132
|
claimed_by: string | null;
|
|
@@ -18951,6 +19136,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
18951
19136
|
due_at: string | null;
|
|
18952
19137
|
error: string | null;
|
|
18953
19138
|
id: string;
|
|
19139
|
+
last_error: string | null;
|
|
19140
|
+
next_attempt_at: string | null;
|
|
18954
19141
|
order_ref: string;
|
|
18955
19142
|
owner_module: string;
|
|
18956
19143
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18983,6 +19170,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
18983
19170
|
p_worker?: string;
|
|
18984
19171
|
};
|
|
18985
19172
|
Returns: {
|
|
19173
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19174
|
+
attempts: number;
|
|
18986
19175
|
buffer_ref: string | null;
|
|
18987
19176
|
claimed_at: string | null;
|
|
18988
19177
|
claimed_by: string | null;
|
|
@@ -18992,6 +19181,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
18992
19181
|
due_at: string | null;
|
|
18993
19182
|
error: string | null;
|
|
18994
19183
|
id: string;
|
|
19184
|
+
last_error: string | null;
|
|
19185
|
+
next_attempt_at: string | null;
|
|
18995
19186
|
order_ref: string;
|
|
18996
19187
|
owner_module: string;
|
|
18997
19188
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19024,6 +19215,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
19024
19215
|
p_task_id: string;
|
|
19025
19216
|
};
|
|
19026
19217
|
Returns: {
|
|
19218
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19219
|
+
attempts: number;
|
|
19027
19220
|
buffer_ref: string | null;
|
|
19028
19221
|
claimed_at: string | null;
|
|
19029
19222
|
claimed_by: string | null;
|
|
@@ -19033,6 +19226,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
19033
19226
|
due_at: string | null;
|
|
19034
19227
|
error: string | null;
|
|
19035
19228
|
id: string;
|
|
19229
|
+
last_error: string | null;
|
|
19230
|
+
next_attempt_at: string | null;
|
|
19036
19231
|
order_ref: string;
|
|
19037
19232
|
owner_module: string;
|
|
19038
19233
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19114,6 +19309,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
19114
19309
|
p_task_id: string;
|
|
19115
19310
|
};
|
|
19116
19311
|
Returns: {
|
|
19312
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19313
|
+
attempts: number;
|
|
19117
19314
|
buffer_ref: string | null;
|
|
19118
19315
|
claimed_at: string | null;
|
|
19119
19316
|
claimed_by: string | null;
|
|
@@ -19123,6 +19320,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
19123
19320
|
due_at: string | null;
|
|
19124
19321
|
error: string | null;
|
|
19125
19322
|
id: string;
|
|
19323
|
+
last_error: string | null;
|
|
19324
|
+
next_attempt_at: string | null;
|
|
19126
19325
|
order_ref: string;
|
|
19127
19326
|
owner_module: string;
|
|
19128
19327
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19149,6 +19348,51 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
19149
19348
|
isSetofReturn: false;
|
|
19150
19349
|
};
|
|
19151
19350
|
};
|
|
19351
|
+
logistics_floriday_claim_pushes: {
|
|
19352
|
+
Args: {
|
|
19353
|
+
_lease_seconds?: number;
|
|
19354
|
+
_limit?: number;
|
|
19355
|
+
_worker?: string;
|
|
19356
|
+
};
|
|
19357
|
+
Returns: {
|
|
19358
|
+
attempts: number;
|
|
19359
|
+
fulfillment_order_id: string;
|
|
19360
|
+
id: string;
|
|
19361
|
+
last_sent_hash: string;
|
|
19362
|
+
order_ref: string;
|
|
19363
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19364
|
+
payload_hash: string;
|
|
19365
|
+
revision: number;
|
|
19366
|
+
}[];
|
|
19367
|
+
};
|
|
19368
|
+
logistics_floriday_finish_push: {
|
|
19369
|
+
Args: {
|
|
19370
|
+
_error?: string;
|
|
19371
|
+
_fulfillment_order_id?: string;
|
|
19372
|
+
_id: string;
|
|
19373
|
+
_max_age_hours?: number;
|
|
19374
|
+
_max_attempts?: number;
|
|
19375
|
+
_ok: boolean;
|
|
19376
|
+
_permanent?: boolean;
|
|
19377
|
+
_revision: number;
|
|
19378
|
+
_sent_hash?: string;
|
|
19379
|
+
};
|
|
19380
|
+
Returns: string;
|
|
19381
|
+
};
|
|
19382
|
+
logistics_floriday_prune_pushes: {
|
|
19383
|
+
Args: {
|
|
19384
|
+
_days?: number;
|
|
19385
|
+
};
|
|
19386
|
+
Returns: number;
|
|
19387
|
+
};
|
|
19388
|
+
logistics_floriday_queue_push: {
|
|
19389
|
+
Args: {
|
|
19390
|
+
_order_ref: string;
|
|
19391
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19392
|
+
_payload_hash?: string;
|
|
19393
|
+
};
|
|
19394
|
+
Returns: string;
|
|
19395
|
+
};
|
|
19152
19396
|
logistics_live_carriers: {
|
|
19153
19397
|
Args: {
|
|
19154
19398
|
p_order_ref: string;
|
|
@@ -19876,6 +20120,10 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
19876
20120
|
Args: never;
|
|
19877
20121
|
Returns: undefined;
|
|
19878
20122
|
};
|
|
20123
|
+
run_logistics_tasks_dispatch: {
|
|
20124
|
+
Args: never;
|
|
20125
|
+
Returns: undefined;
|
|
20126
|
+
};
|
|
19879
20127
|
run_twinfield_queue_tick: {
|
|
19880
20128
|
Args: never;
|
|
19881
20129
|
Returns: undefined;
|
|
@@ -20116,6 +20364,13 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
20116
20364
|
};
|
|
20117
20365
|
Returns: number;
|
|
20118
20366
|
};
|
|
20367
|
+
schedule_floriday_stock_queue_process: {
|
|
20368
|
+
Args: {
|
|
20369
|
+
p_apikey: string;
|
|
20370
|
+
p_url: string;
|
|
20371
|
+
};
|
|
20372
|
+
Returns: number;
|
|
20373
|
+
};
|
|
20119
20374
|
schedule_floriday_token_refresh: {
|
|
20120
20375
|
Args: {
|
|
20121
20376
|
p_apikey: string;
|
|
@@ -26023,12 +26278,17 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
26023
26278
|
attempts: number;
|
|
26024
26279
|
connection_id: string;
|
|
26025
26280
|
created_at: string;
|
|
26281
|
+
desired_available: boolean | null;
|
|
26026
26282
|
gateway_attempt_id: string | null;
|
|
26027
26283
|
id: string;
|
|
26028
26284
|
last_error: string | null;
|
|
26285
|
+
locked_at: string | null;
|
|
26286
|
+
locked_by: string | null;
|
|
26287
|
+
next_attempt_at: string;
|
|
26029
26288
|
number_of_pieces: number;
|
|
26030
26289
|
sent_at: string | null;
|
|
26031
26290
|
status: string;
|
|
26291
|
+
superseded_by: string | null;
|
|
26032
26292
|
trade_item_id: string;
|
|
26033
26293
|
updated_at: string;
|
|
26034
26294
|
user_id: string;
|
|
@@ -26037,12 +26297,17 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
26037
26297
|
attempts?: number;
|
|
26038
26298
|
connection_id: string;
|
|
26039
26299
|
created_at?: string;
|
|
26300
|
+
desired_available?: boolean | null;
|
|
26040
26301
|
gateway_attempt_id?: string | null;
|
|
26041
26302
|
id?: string;
|
|
26042
26303
|
last_error?: string | null;
|
|
26304
|
+
locked_at?: string | null;
|
|
26305
|
+
locked_by?: string | null;
|
|
26306
|
+
next_attempt_at?: string;
|
|
26043
26307
|
number_of_pieces?: number;
|
|
26044
26308
|
sent_at?: string | null;
|
|
26045
26309
|
status?: string;
|
|
26310
|
+
superseded_by?: string | null;
|
|
26046
26311
|
trade_item_id: string;
|
|
26047
26312
|
updated_at?: string;
|
|
26048
26313
|
user_id: string;
|
|
@@ -26051,12 +26316,17 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
26051
26316
|
attempts?: number;
|
|
26052
26317
|
connection_id?: string;
|
|
26053
26318
|
created_at?: string;
|
|
26319
|
+
desired_available?: boolean | null;
|
|
26054
26320
|
gateway_attempt_id?: string | null;
|
|
26055
26321
|
id?: string;
|
|
26056
26322
|
last_error?: string | null;
|
|
26323
|
+
locked_at?: string | null;
|
|
26324
|
+
locked_by?: string | null;
|
|
26325
|
+
next_attempt_at?: string;
|
|
26057
26326
|
number_of_pieces?: number;
|
|
26058
26327
|
sent_at?: string | null;
|
|
26059
26328
|
status?: string;
|
|
26329
|
+
superseded_by?: string | null;
|
|
26060
26330
|
trade_item_id?: string;
|
|
26061
26331
|
updated_at?: string;
|
|
26062
26332
|
user_id?: string;
|
|
@@ -28805,6 +29075,69 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
28805
29075
|
};
|
|
28806
29076
|
Relationships: [];
|
|
28807
29077
|
};
|
|
29078
|
+
logistics_floriday_pushes: {
|
|
29079
|
+
Row: {
|
|
29080
|
+
attempts: number;
|
|
29081
|
+
created_at: string;
|
|
29082
|
+
first_queued_at: string;
|
|
29083
|
+
fulfillment_order_id: string | null;
|
|
29084
|
+
id: string;
|
|
29085
|
+
last_error: string | null;
|
|
29086
|
+
last_error_at: string | null;
|
|
29087
|
+
last_sent_hash: string | null;
|
|
29088
|
+
locked_by: string | null;
|
|
29089
|
+
locked_until: string | null;
|
|
29090
|
+
next_attempt_at: string;
|
|
29091
|
+
order_ref: string;
|
|
29092
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29093
|
+
payload_hash: string | null;
|
|
29094
|
+
revision: number;
|
|
29095
|
+
sent_at: string | null;
|
|
29096
|
+
status: string;
|
|
29097
|
+
updated_at: string;
|
|
29098
|
+
};
|
|
29099
|
+
Insert: {
|
|
29100
|
+
attempts?: number;
|
|
29101
|
+
created_at?: string;
|
|
29102
|
+
first_queued_at?: string;
|
|
29103
|
+
fulfillment_order_id?: string | null;
|
|
29104
|
+
id?: string;
|
|
29105
|
+
last_error?: string | null;
|
|
29106
|
+
last_error_at?: string | null;
|
|
29107
|
+
last_sent_hash?: string | null;
|
|
29108
|
+
locked_by?: string | null;
|
|
29109
|
+
locked_until?: string | null;
|
|
29110
|
+
next_attempt_at?: string;
|
|
29111
|
+
order_ref: string;
|
|
29112
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29113
|
+
payload_hash?: string | null;
|
|
29114
|
+
revision?: number;
|
|
29115
|
+
sent_at?: string | null;
|
|
29116
|
+
status?: string;
|
|
29117
|
+
updated_at?: string;
|
|
29118
|
+
};
|
|
29119
|
+
Update: {
|
|
29120
|
+
attempts?: number;
|
|
29121
|
+
created_at?: string;
|
|
29122
|
+
first_queued_at?: string;
|
|
29123
|
+
fulfillment_order_id?: string | null;
|
|
29124
|
+
id?: string;
|
|
29125
|
+
last_error?: string | null;
|
|
29126
|
+
last_error_at?: string | null;
|
|
29127
|
+
last_sent_hash?: string | null;
|
|
29128
|
+
locked_by?: string | null;
|
|
29129
|
+
locked_until?: string | null;
|
|
29130
|
+
next_attempt_at?: string;
|
|
29131
|
+
order_ref?: string;
|
|
29132
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29133
|
+
payload_hash?: string | null;
|
|
29134
|
+
revision?: number;
|
|
29135
|
+
sent_at?: string | null;
|
|
29136
|
+
status?: string;
|
|
29137
|
+
updated_at?: string;
|
|
29138
|
+
};
|
|
29139
|
+
Relationships: [];
|
|
29140
|
+
};
|
|
28808
29141
|
logistics_formulas: {
|
|
28809
29142
|
Row: {
|
|
28810
29143
|
created_at: string;
|
|
@@ -29416,6 +29749,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29416
29749
|
};
|
|
29417
29750
|
logistics_tasks: {
|
|
29418
29751
|
Row: {
|
|
29752
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29753
|
+
attempts: number;
|
|
29419
29754
|
buffer_ref: string | null;
|
|
29420
29755
|
claimed_at: string | null;
|
|
29421
29756
|
claimed_by: string | null;
|
|
@@ -29425,6 +29760,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29425
29760
|
due_at: string | null;
|
|
29426
29761
|
error: string | null;
|
|
29427
29762
|
id: string;
|
|
29763
|
+
last_error: string | null;
|
|
29764
|
+
next_attempt_at: string | null;
|
|
29428
29765
|
order_ref: string;
|
|
29429
29766
|
owner_module: string;
|
|
29430
29767
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -29445,6 +29782,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29445
29782
|
user_id: string;
|
|
29446
29783
|
};
|
|
29447
29784
|
Insert: {
|
|
29785
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29786
|
+
attempts?: number;
|
|
29448
29787
|
buffer_ref?: string | null;
|
|
29449
29788
|
claimed_at?: string | null;
|
|
29450
29789
|
claimed_by?: string | null;
|
|
@@ -29454,6 +29793,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29454
29793
|
due_at?: string | null;
|
|
29455
29794
|
error?: string | null;
|
|
29456
29795
|
id?: string;
|
|
29796
|
+
last_error?: string | null;
|
|
29797
|
+
next_attempt_at?: string | null;
|
|
29457
29798
|
order_ref: string;
|
|
29458
29799
|
owner_module: string;
|
|
29459
29800
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29474,6 +29815,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29474
29815
|
user_id?: string;
|
|
29475
29816
|
};
|
|
29476
29817
|
Update: {
|
|
29818
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29819
|
+
attempts?: number;
|
|
29477
29820
|
buffer_ref?: string | null;
|
|
29478
29821
|
claimed_at?: string | null;
|
|
29479
29822
|
claimed_by?: string | null;
|
|
@@ -29483,6 +29826,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29483
29826
|
due_at?: string | null;
|
|
29484
29827
|
error?: string | null;
|
|
29485
29828
|
id?: string;
|
|
29829
|
+
last_error?: string | null;
|
|
29830
|
+
next_attempt_at?: string | null;
|
|
29486
29831
|
order_ref?: string;
|
|
29487
29832
|
owner_module?: string;
|
|
29488
29833
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -38487,6 +38832,85 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38487
38832
|
};
|
|
38488
38833
|
Returns: import("../integrations/supabase/types").Json;
|
|
38489
38834
|
};
|
|
38835
|
+
claim_floriday_stock_queue: {
|
|
38836
|
+
Args: {
|
|
38837
|
+
p_limit?: number;
|
|
38838
|
+
p_worker?: string;
|
|
38839
|
+
};
|
|
38840
|
+
Returns: {
|
|
38841
|
+
attempts: number;
|
|
38842
|
+
connection_id: string;
|
|
38843
|
+
created_at: string;
|
|
38844
|
+
desired_available: boolean | null;
|
|
38845
|
+
gateway_attempt_id: string | null;
|
|
38846
|
+
id: string;
|
|
38847
|
+
last_error: string | null;
|
|
38848
|
+
locked_at: string | null;
|
|
38849
|
+
locked_by: string | null;
|
|
38850
|
+
next_attempt_at: string;
|
|
38851
|
+
number_of_pieces: number;
|
|
38852
|
+
sent_at: string | null;
|
|
38853
|
+
status: string;
|
|
38854
|
+
superseded_by: string | null;
|
|
38855
|
+
trade_item_id: string;
|
|
38856
|
+
updated_at: string;
|
|
38857
|
+
user_id: string;
|
|
38858
|
+
}[];
|
|
38859
|
+
SetofOptions: {
|
|
38860
|
+
from: "*";
|
|
38861
|
+
to: "floriday_continuous_stock_queue";
|
|
38862
|
+
isOneToOne: false;
|
|
38863
|
+
isSetofReturn: true;
|
|
38864
|
+
};
|
|
38865
|
+
};
|
|
38866
|
+
claim_logistics_tasks: {
|
|
38867
|
+
Args: {
|
|
38868
|
+
_limit?: number;
|
|
38869
|
+
_owner_module: string;
|
|
38870
|
+
_stale_minutes?: number;
|
|
38871
|
+
_task_type: string;
|
|
38872
|
+
_worker: string;
|
|
38873
|
+
};
|
|
38874
|
+
Returns: {
|
|
38875
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38876
|
+
attempts: number;
|
|
38877
|
+
buffer_ref: string | null;
|
|
38878
|
+
claimed_at: string | null;
|
|
38879
|
+
claimed_by: string | null;
|
|
38880
|
+
completed_at: string | null;
|
|
38881
|
+
created_at: string;
|
|
38882
|
+
depends_on: string[];
|
|
38883
|
+
due_at: string | null;
|
|
38884
|
+
error: string | null;
|
|
38885
|
+
id: string;
|
|
38886
|
+
last_error: string | null;
|
|
38887
|
+
next_attempt_at: string | null;
|
|
38888
|
+
order_ref: string;
|
|
38889
|
+
owner_module: string;
|
|
38890
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38891
|
+
plan_run_id: string | null;
|
|
38892
|
+
planned_end: string | null;
|
|
38893
|
+
planned_start: string | null;
|
|
38894
|
+
priority: number;
|
|
38895
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38896
|
+
rule_config_id: string | null;
|
|
38897
|
+
rule_version: number | null;
|
|
38898
|
+
sequence: number;
|
|
38899
|
+
shadow: boolean;
|
|
38900
|
+
started_at: string | null;
|
|
38901
|
+
status: string;
|
|
38902
|
+
strategy_id: string | null;
|
|
38903
|
+
task_type: string;
|
|
38904
|
+
updated_at: string;
|
|
38905
|
+
user_id: string;
|
|
38906
|
+
}[];
|
|
38907
|
+
SetofOptions: {
|
|
38908
|
+
from: "*";
|
|
38909
|
+
to: "logistics_tasks";
|
|
38910
|
+
isOneToOne: false;
|
|
38911
|
+
isSetofReturn: true;
|
|
38912
|
+
};
|
|
38913
|
+
};
|
|
38490
38914
|
claim_print_jobs: {
|
|
38491
38915
|
Args: {
|
|
38492
38916
|
_agent_id: string;
|
|
@@ -38551,10 +38975,24 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38551
38975
|
isSetofReturn: true;
|
|
38552
38976
|
};
|
|
38553
38977
|
};
|
|
38978
|
+
cleanup_floriday_stock_queue: {
|
|
38979
|
+
Args: never;
|
|
38980
|
+
Returns: undefined;
|
|
38981
|
+
};
|
|
38554
38982
|
cleanup_old_bookings: {
|
|
38555
38983
|
Args: never;
|
|
38556
38984
|
Returns: undefined;
|
|
38557
38985
|
};
|
|
38986
|
+
complete_floriday_stock_queue: {
|
|
38987
|
+
Args: {
|
|
38988
|
+
p_attempt_id?: string;
|
|
38989
|
+
p_error?: string;
|
|
38990
|
+
p_id: string;
|
|
38991
|
+
p_ok: boolean;
|
|
38992
|
+
p_permanent?: boolean;
|
|
38993
|
+
};
|
|
38994
|
+
Returns: undefined;
|
|
38995
|
+
};
|
|
38558
38996
|
consume_bom_for_production: {
|
|
38559
38997
|
Args: {
|
|
38560
38998
|
p_connection_id: string;
|
|
@@ -39246,6 +39684,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39246
39684
|
p_worker?: string;
|
|
39247
39685
|
};
|
|
39248
39686
|
Returns: {
|
|
39687
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39688
|
+
attempts: number;
|
|
39249
39689
|
buffer_ref: string | null;
|
|
39250
39690
|
claimed_at: string | null;
|
|
39251
39691
|
claimed_by: string | null;
|
|
@@ -39255,6 +39695,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39255
39695
|
due_at: string | null;
|
|
39256
39696
|
error: string | null;
|
|
39257
39697
|
id: string;
|
|
39698
|
+
last_error: string | null;
|
|
39699
|
+
next_attempt_at: string | null;
|
|
39258
39700
|
order_ref: string;
|
|
39259
39701
|
owner_module: string;
|
|
39260
39702
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39287,6 +39729,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39287
39729
|
p_worker?: string;
|
|
39288
39730
|
};
|
|
39289
39731
|
Returns: {
|
|
39732
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39733
|
+
attempts: number;
|
|
39290
39734
|
buffer_ref: string | null;
|
|
39291
39735
|
claimed_at: string | null;
|
|
39292
39736
|
claimed_by: string | null;
|
|
@@ -39296,6 +39740,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39296
39740
|
due_at: string | null;
|
|
39297
39741
|
error: string | null;
|
|
39298
39742
|
id: string;
|
|
39743
|
+
last_error: string | null;
|
|
39744
|
+
next_attempt_at: string | null;
|
|
39299
39745
|
order_ref: string;
|
|
39300
39746
|
owner_module: string;
|
|
39301
39747
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39328,6 +39774,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39328
39774
|
p_task_id: string;
|
|
39329
39775
|
};
|
|
39330
39776
|
Returns: {
|
|
39777
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39778
|
+
attempts: number;
|
|
39331
39779
|
buffer_ref: string | null;
|
|
39332
39780
|
claimed_at: string | null;
|
|
39333
39781
|
claimed_by: string | null;
|
|
@@ -39337,6 +39785,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39337
39785
|
due_at: string | null;
|
|
39338
39786
|
error: string | null;
|
|
39339
39787
|
id: string;
|
|
39788
|
+
last_error: string | null;
|
|
39789
|
+
next_attempt_at: string | null;
|
|
39340
39790
|
order_ref: string;
|
|
39341
39791
|
owner_module: string;
|
|
39342
39792
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39418,6 +39868,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39418
39868
|
p_task_id: string;
|
|
39419
39869
|
};
|
|
39420
39870
|
Returns: {
|
|
39871
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39872
|
+
attempts: number;
|
|
39421
39873
|
buffer_ref: string | null;
|
|
39422
39874
|
claimed_at: string | null;
|
|
39423
39875
|
claimed_by: string | null;
|
|
@@ -39427,6 +39879,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39427
39879
|
due_at: string | null;
|
|
39428
39880
|
error: string | null;
|
|
39429
39881
|
id: string;
|
|
39882
|
+
last_error: string | null;
|
|
39883
|
+
next_attempt_at: string | null;
|
|
39430
39884
|
order_ref: string;
|
|
39431
39885
|
owner_module: string;
|
|
39432
39886
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39453,6 +39907,51 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
39453
39907
|
isSetofReturn: false;
|
|
39454
39908
|
};
|
|
39455
39909
|
};
|
|
39910
|
+
logistics_floriday_claim_pushes: {
|
|
39911
|
+
Args: {
|
|
39912
|
+
_lease_seconds?: number;
|
|
39913
|
+
_limit?: number;
|
|
39914
|
+
_worker?: string;
|
|
39915
|
+
};
|
|
39916
|
+
Returns: {
|
|
39917
|
+
attempts: number;
|
|
39918
|
+
fulfillment_order_id: string;
|
|
39919
|
+
id: string;
|
|
39920
|
+
last_sent_hash: string;
|
|
39921
|
+
order_ref: string;
|
|
39922
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39923
|
+
payload_hash: string;
|
|
39924
|
+
revision: number;
|
|
39925
|
+
}[];
|
|
39926
|
+
};
|
|
39927
|
+
logistics_floriday_finish_push: {
|
|
39928
|
+
Args: {
|
|
39929
|
+
_error?: string;
|
|
39930
|
+
_fulfillment_order_id?: string;
|
|
39931
|
+
_id: string;
|
|
39932
|
+
_max_age_hours?: number;
|
|
39933
|
+
_max_attempts?: number;
|
|
39934
|
+
_ok: boolean;
|
|
39935
|
+
_permanent?: boolean;
|
|
39936
|
+
_revision: number;
|
|
39937
|
+
_sent_hash?: string;
|
|
39938
|
+
};
|
|
39939
|
+
Returns: string;
|
|
39940
|
+
};
|
|
39941
|
+
logistics_floriday_prune_pushes: {
|
|
39942
|
+
Args: {
|
|
39943
|
+
_days?: number;
|
|
39944
|
+
};
|
|
39945
|
+
Returns: number;
|
|
39946
|
+
};
|
|
39947
|
+
logistics_floriday_queue_push: {
|
|
39948
|
+
Args: {
|
|
39949
|
+
_order_ref: string;
|
|
39950
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
39951
|
+
_payload_hash?: string;
|
|
39952
|
+
};
|
|
39953
|
+
Returns: string;
|
|
39954
|
+
};
|
|
39456
39955
|
logistics_live_carriers: {
|
|
39457
39956
|
Args: {
|
|
39458
39957
|
p_order_ref: string;
|
|
@@ -40180,6 +40679,10 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
40180
40679
|
Args: never;
|
|
40181
40680
|
Returns: undefined;
|
|
40182
40681
|
};
|
|
40682
|
+
run_logistics_tasks_dispatch: {
|
|
40683
|
+
Args: never;
|
|
40684
|
+
Returns: undefined;
|
|
40685
|
+
};
|
|
40183
40686
|
run_twinfield_queue_tick: {
|
|
40184
40687
|
Args: never;
|
|
40185
40688
|
Returns: undefined;
|
|
@@ -40420,6 +40923,13 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
40420
40923
|
};
|
|
40421
40924
|
Returns: number;
|
|
40422
40925
|
};
|
|
40926
|
+
schedule_floriday_stock_queue_process: {
|
|
40927
|
+
Args: {
|
|
40928
|
+
p_apikey: string;
|
|
40929
|
+
p_url: string;
|
|
40930
|
+
};
|
|
40931
|
+
Returns: number;
|
|
40932
|
+
};
|
|
40423
40933
|
schedule_floriday_token_refresh: {
|
|
40424
40934
|
Args: {
|
|
40425
40935
|
p_apikey: string;
|
|
@@ -46337,12 +46847,17 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
46337
46847
|
attempts: number;
|
|
46338
46848
|
connection_id: string;
|
|
46339
46849
|
created_at: string;
|
|
46850
|
+
desired_available: boolean | null;
|
|
46340
46851
|
gateway_attempt_id: string | null;
|
|
46341
46852
|
id: string;
|
|
46342
46853
|
last_error: string | null;
|
|
46854
|
+
locked_at: string | null;
|
|
46855
|
+
locked_by: string | null;
|
|
46856
|
+
next_attempt_at: string;
|
|
46343
46857
|
number_of_pieces: number;
|
|
46344
46858
|
sent_at: string | null;
|
|
46345
46859
|
status: string;
|
|
46860
|
+
superseded_by: string | null;
|
|
46346
46861
|
trade_item_id: string;
|
|
46347
46862
|
updated_at: string;
|
|
46348
46863
|
user_id: string;
|
|
@@ -46351,12 +46866,17 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
46351
46866
|
attempts?: number;
|
|
46352
46867
|
connection_id: string;
|
|
46353
46868
|
created_at?: string;
|
|
46869
|
+
desired_available?: boolean | null;
|
|
46354
46870
|
gateway_attempt_id?: string | null;
|
|
46355
46871
|
id?: string;
|
|
46356
46872
|
last_error?: string | null;
|
|
46873
|
+
locked_at?: string | null;
|
|
46874
|
+
locked_by?: string | null;
|
|
46875
|
+
next_attempt_at?: string;
|
|
46357
46876
|
number_of_pieces?: number;
|
|
46358
46877
|
sent_at?: string | null;
|
|
46359
46878
|
status?: string;
|
|
46879
|
+
superseded_by?: string | null;
|
|
46360
46880
|
trade_item_id: string;
|
|
46361
46881
|
updated_at?: string;
|
|
46362
46882
|
user_id: string;
|
|
@@ -46365,12 +46885,17 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
46365
46885
|
attempts?: number;
|
|
46366
46886
|
connection_id?: string;
|
|
46367
46887
|
created_at?: string;
|
|
46888
|
+
desired_available?: boolean | null;
|
|
46368
46889
|
gateway_attempt_id?: string | null;
|
|
46369
46890
|
id?: string;
|
|
46370
46891
|
last_error?: string | null;
|
|
46892
|
+
locked_at?: string | null;
|
|
46893
|
+
locked_by?: string | null;
|
|
46894
|
+
next_attempt_at?: string;
|
|
46371
46895
|
number_of_pieces?: number;
|
|
46372
46896
|
sent_at?: string | null;
|
|
46373
46897
|
status?: string;
|
|
46898
|
+
superseded_by?: string | null;
|
|
46374
46899
|
trade_item_id?: string;
|
|
46375
46900
|
updated_at?: string;
|
|
46376
46901
|
user_id?: string;
|
|
@@ -49119,6 +49644,69 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49119
49644
|
};
|
|
49120
49645
|
Relationships: [];
|
|
49121
49646
|
};
|
|
49647
|
+
logistics_floriday_pushes: {
|
|
49648
|
+
Row: {
|
|
49649
|
+
attempts: number;
|
|
49650
|
+
created_at: string;
|
|
49651
|
+
first_queued_at: string;
|
|
49652
|
+
fulfillment_order_id: string | null;
|
|
49653
|
+
id: string;
|
|
49654
|
+
last_error: string | null;
|
|
49655
|
+
last_error_at: string | null;
|
|
49656
|
+
last_sent_hash: string | null;
|
|
49657
|
+
locked_by: string | null;
|
|
49658
|
+
locked_until: string | null;
|
|
49659
|
+
next_attempt_at: string;
|
|
49660
|
+
order_ref: string;
|
|
49661
|
+
payload: import("../integrations/supabase/types").Json;
|
|
49662
|
+
payload_hash: string | null;
|
|
49663
|
+
revision: number;
|
|
49664
|
+
sent_at: string | null;
|
|
49665
|
+
status: string;
|
|
49666
|
+
updated_at: string;
|
|
49667
|
+
};
|
|
49668
|
+
Insert: {
|
|
49669
|
+
attempts?: number;
|
|
49670
|
+
created_at?: string;
|
|
49671
|
+
first_queued_at?: string;
|
|
49672
|
+
fulfillment_order_id?: string | null;
|
|
49673
|
+
id?: string;
|
|
49674
|
+
last_error?: string | null;
|
|
49675
|
+
last_error_at?: string | null;
|
|
49676
|
+
last_sent_hash?: string | null;
|
|
49677
|
+
locked_by?: string | null;
|
|
49678
|
+
locked_until?: string | null;
|
|
49679
|
+
next_attempt_at?: string;
|
|
49680
|
+
order_ref: string;
|
|
49681
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49682
|
+
payload_hash?: string | null;
|
|
49683
|
+
revision?: number;
|
|
49684
|
+
sent_at?: string | null;
|
|
49685
|
+
status?: string;
|
|
49686
|
+
updated_at?: string;
|
|
49687
|
+
};
|
|
49688
|
+
Update: {
|
|
49689
|
+
attempts?: number;
|
|
49690
|
+
created_at?: string;
|
|
49691
|
+
first_queued_at?: string;
|
|
49692
|
+
fulfillment_order_id?: string | null;
|
|
49693
|
+
id?: string;
|
|
49694
|
+
last_error?: string | null;
|
|
49695
|
+
last_error_at?: string | null;
|
|
49696
|
+
last_sent_hash?: string | null;
|
|
49697
|
+
locked_by?: string | null;
|
|
49698
|
+
locked_until?: string | null;
|
|
49699
|
+
next_attempt_at?: string;
|
|
49700
|
+
order_ref?: string;
|
|
49701
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49702
|
+
payload_hash?: string | null;
|
|
49703
|
+
revision?: number;
|
|
49704
|
+
sent_at?: string | null;
|
|
49705
|
+
status?: string;
|
|
49706
|
+
updated_at?: string;
|
|
49707
|
+
};
|
|
49708
|
+
Relationships: [];
|
|
49709
|
+
};
|
|
49122
49710
|
logistics_formulas: {
|
|
49123
49711
|
Row: {
|
|
49124
49712
|
created_at: string;
|
|
@@ -49730,6 +50318,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49730
50318
|
};
|
|
49731
50319
|
logistics_tasks: {
|
|
49732
50320
|
Row: {
|
|
50321
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
50322
|
+
attempts: number;
|
|
49733
50323
|
buffer_ref: string | null;
|
|
49734
50324
|
claimed_at: string | null;
|
|
49735
50325
|
claimed_by: string | null;
|
|
@@ -49739,6 +50329,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49739
50329
|
due_at: string | null;
|
|
49740
50330
|
error: string | null;
|
|
49741
50331
|
id: string;
|
|
50332
|
+
last_error: string | null;
|
|
50333
|
+
next_attempt_at: string | null;
|
|
49742
50334
|
order_ref: string;
|
|
49743
50335
|
owner_module: string;
|
|
49744
50336
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -49759,6 +50351,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49759
50351
|
user_id: string;
|
|
49760
50352
|
};
|
|
49761
50353
|
Insert: {
|
|
50354
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50355
|
+
attempts?: number;
|
|
49762
50356
|
buffer_ref?: string | null;
|
|
49763
50357
|
claimed_at?: string | null;
|
|
49764
50358
|
claimed_by?: string | null;
|
|
@@ -49768,6 +50362,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49768
50362
|
due_at?: string | null;
|
|
49769
50363
|
error?: string | null;
|
|
49770
50364
|
id?: string;
|
|
50365
|
+
last_error?: string | null;
|
|
50366
|
+
next_attempt_at?: string | null;
|
|
49771
50367
|
order_ref: string;
|
|
49772
50368
|
owner_module: string;
|
|
49773
50369
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49788,6 +50384,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49788
50384
|
user_id?: string;
|
|
49789
50385
|
};
|
|
49790
50386
|
Update: {
|
|
50387
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50388
|
+
attempts?: number;
|
|
49791
50389
|
buffer_ref?: string | null;
|
|
49792
50390
|
claimed_at?: string | null;
|
|
49793
50391
|
claimed_by?: string | null;
|
|
@@ -49797,6 +50395,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
49797
50395
|
due_at?: string | null;
|
|
49798
50396
|
error?: string | null;
|
|
49799
50397
|
id?: string;
|
|
50398
|
+
last_error?: string | null;
|
|
50399
|
+
next_attempt_at?: string | null;
|
|
49800
50400
|
order_ref?: string;
|
|
49801
50401
|
owner_module?: string;
|
|
49802
50402
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -58801,6 +59401,85 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
58801
59401
|
};
|
|
58802
59402
|
Returns: import("../integrations/supabase/types").Json;
|
|
58803
59403
|
};
|
|
59404
|
+
claim_floriday_stock_queue: {
|
|
59405
|
+
Args: {
|
|
59406
|
+
p_limit?: number;
|
|
59407
|
+
p_worker?: string;
|
|
59408
|
+
};
|
|
59409
|
+
Returns: {
|
|
59410
|
+
attempts: number;
|
|
59411
|
+
connection_id: string;
|
|
59412
|
+
created_at: string;
|
|
59413
|
+
desired_available: boolean | null;
|
|
59414
|
+
gateway_attempt_id: string | null;
|
|
59415
|
+
id: string;
|
|
59416
|
+
last_error: string | null;
|
|
59417
|
+
locked_at: string | null;
|
|
59418
|
+
locked_by: string | null;
|
|
59419
|
+
next_attempt_at: string;
|
|
59420
|
+
number_of_pieces: number;
|
|
59421
|
+
sent_at: string | null;
|
|
59422
|
+
status: string;
|
|
59423
|
+
superseded_by: string | null;
|
|
59424
|
+
trade_item_id: string;
|
|
59425
|
+
updated_at: string;
|
|
59426
|
+
user_id: string;
|
|
59427
|
+
}[];
|
|
59428
|
+
SetofOptions: {
|
|
59429
|
+
from: "*";
|
|
59430
|
+
to: "floriday_continuous_stock_queue";
|
|
59431
|
+
isOneToOne: false;
|
|
59432
|
+
isSetofReturn: true;
|
|
59433
|
+
};
|
|
59434
|
+
};
|
|
59435
|
+
claim_logistics_tasks: {
|
|
59436
|
+
Args: {
|
|
59437
|
+
_limit?: number;
|
|
59438
|
+
_owner_module: string;
|
|
59439
|
+
_stale_minutes?: number;
|
|
59440
|
+
_task_type: string;
|
|
59441
|
+
_worker: string;
|
|
59442
|
+
};
|
|
59443
|
+
Returns: {
|
|
59444
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59445
|
+
attempts: number;
|
|
59446
|
+
buffer_ref: string | null;
|
|
59447
|
+
claimed_at: string | null;
|
|
59448
|
+
claimed_by: string | null;
|
|
59449
|
+
completed_at: string | null;
|
|
59450
|
+
created_at: string;
|
|
59451
|
+
depends_on: string[];
|
|
59452
|
+
due_at: string | null;
|
|
59453
|
+
error: string | null;
|
|
59454
|
+
id: string;
|
|
59455
|
+
last_error: string | null;
|
|
59456
|
+
next_attempt_at: string | null;
|
|
59457
|
+
order_ref: string;
|
|
59458
|
+
owner_module: string;
|
|
59459
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59460
|
+
plan_run_id: string | null;
|
|
59461
|
+
planned_end: string | null;
|
|
59462
|
+
planned_start: string | null;
|
|
59463
|
+
priority: number;
|
|
59464
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
59465
|
+
rule_config_id: string | null;
|
|
59466
|
+
rule_version: number | null;
|
|
59467
|
+
sequence: number;
|
|
59468
|
+
shadow: boolean;
|
|
59469
|
+
started_at: string | null;
|
|
59470
|
+
status: string;
|
|
59471
|
+
strategy_id: string | null;
|
|
59472
|
+
task_type: string;
|
|
59473
|
+
updated_at: string;
|
|
59474
|
+
user_id: string;
|
|
59475
|
+
}[];
|
|
59476
|
+
SetofOptions: {
|
|
59477
|
+
from: "*";
|
|
59478
|
+
to: "logistics_tasks";
|
|
59479
|
+
isOneToOne: false;
|
|
59480
|
+
isSetofReturn: true;
|
|
59481
|
+
};
|
|
59482
|
+
};
|
|
58804
59483
|
claim_print_jobs: {
|
|
58805
59484
|
Args: {
|
|
58806
59485
|
_agent_id: string;
|
|
@@ -58865,10 +59544,24 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
58865
59544
|
isSetofReturn: true;
|
|
58866
59545
|
};
|
|
58867
59546
|
};
|
|
59547
|
+
cleanup_floriday_stock_queue: {
|
|
59548
|
+
Args: never;
|
|
59549
|
+
Returns: undefined;
|
|
59550
|
+
};
|
|
58868
59551
|
cleanup_old_bookings: {
|
|
58869
59552
|
Args: never;
|
|
58870
59553
|
Returns: undefined;
|
|
58871
59554
|
};
|
|
59555
|
+
complete_floriday_stock_queue: {
|
|
59556
|
+
Args: {
|
|
59557
|
+
p_attempt_id?: string;
|
|
59558
|
+
p_error?: string;
|
|
59559
|
+
p_id: string;
|
|
59560
|
+
p_ok: boolean;
|
|
59561
|
+
p_permanent?: boolean;
|
|
59562
|
+
};
|
|
59563
|
+
Returns: undefined;
|
|
59564
|
+
};
|
|
58872
59565
|
consume_bom_for_production: {
|
|
58873
59566
|
Args: {
|
|
58874
59567
|
p_connection_id: string;
|
|
@@ -59560,6 +60253,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59560
60253
|
p_worker?: string;
|
|
59561
60254
|
};
|
|
59562
60255
|
Returns: {
|
|
60256
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60257
|
+
attempts: number;
|
|
59563
60258
|
buffer_ref: string | null;
|
|
59564
60259
|
claimed_at: string | null;
|
|
59565
60260
|
claimed_by: string | null;
|
|
@@ -59569,6 +60264,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59569
60264
|
due_at: string | null;
|
|
59570
60265
|
error: string | null;
|
|
59571
60266
|
id: string;
|
|
60267
|
+
last_error: string | null;
|
|
60268
|
+
next_attempt_at: string | null;
|
|
59572
60269
|
order_ref: string;
|
|
59573
60270
|
owner_module: string;
|
|
59574
60271
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59601,6 +60298,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59601
60298
|
p_worker?: string;
|
|
59602
60299
|
};
|
|
59603
60300
|
Returns: {
|
|
60301
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60302
|
+
attempts: number;
|
|
59604
60303
|
buffer_ref: string | null;
|
|
59605
60304
|
claimed_at: string | null;
|
|
59606
60305
|
claimed_by: string | null;
|
|
@@ -59610,6 +60309,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59610
60309
|
due_at: string | null;
|
|
59611
60310
|
error: string | null;
|
|
59612
60311
|
id: string;
|
|
60312
|
+
last_error: string | null;
|
|
60313
|
+
next_attempt_at: string | null;
|
|
59613
60314
|
order_ref: string;
|
|
59614
60315
|
owner_module: string;
|
|
59615
60316
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59642,6 +60343,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59642
60343
|
p_task_id: string;
|
|
59643
60344
|
};
|
|
59644
60345
|
Returns: {
|
|
60346
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60347
|
+
attempts: number;
|
|
59645
60348
|
buffer_ref: string | null;
|
|
59646
60349
|
claimed_at: string | null;
|
|
59647
60350
|
claimed_by: string | null;
|
|
@@ -59651,6 +60354,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59651
60354
|
due_at: string | null;
|
|
59652
60355
|
error: string | null;
|
|
59653
60356
|
id: string;
|
|
60357
|
+
last_error: string | null;
|
|
60358
|
+
next_attempt_at: string | null;
|
|
59654
60359
|
order_ref: string;
|
|
59655
60360
|
owner_module: string;
|
|
59656
60361
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59732,6 +60437,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59732
60437
|
p_task_id: string;
|
|
59733
60438
|
};
|
|
59734
60439
|
Returns: {
|
|
60440
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60441
|
+
attempts: number;
|
|
59735
60442
|
buffer_ref: string | null;
|
|
59736
60443
|
claimed_at: string | null;
|
|
59737
60444
|
claimed_by: string | null;
|
|
@@ -59741,6 +60448,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59741
60448
|
due_at: string | null;
|
|
59742
60449
|
error: string | null;
|
|
59743
60450
|
id: string;
|
|
60451
|
+
last_error: string | null;
|
|
60452
|
+
next_attempt_at: string | null;
|
|
59744
60453
|
order_ref: string;
|
|
59745
60454
|
owner_module: string;
|
|
59746
60455
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59767,6 +60476,51 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
59767
60476
|
isSetofReturn: false;
|
|
59768
60477
|
};
|
|
59769
60478
|
};
|
|
60479
|
+
logistics_floriday_claim_pushes: {
|
|
60480
|
+
Args: {
|
|
60481
|
+
_lease_seconds?: number;
|
|
60482
|
+
_limit?: number;
|
|
60483
|
+
_worker?: string;
|
|
60484
|
+
};
|
|
60485
|
+
Returns: {
|
|
60486
|
+
attempts: number;
|
|
60487
|
+
fulfillment_order_id: string;
|
|
60488
|
+
id: string;
|
|
60489
|
+
last_sent_hash: string;
|
|
60490
|
+
order_ref: string;
|
|
60491
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60492
|
+
payload_hash: string;
|
|
60493
|
+
revision: number;
|
|
60494
|
+
}[];
|
|
60495
|
+
};
|
|
60496
|
+
logistics_floriday_finish_push: {
|
|
60497
|
+
Args: {
|
|
60498
|
+
_error?: string;
|
|
60499
|
+
_fulfillment_order_id?: string;
|
|
60500
|
+
_id: string;
|
|
60501
|
+
_max_age_hours?: number;
|
|
60502
|
+
_max_attempts?: number;
|
|
60503
|
+
_ok: boolean;
|
|
60504
|
+
_permanent?: boolean;
|
|
60505
|
+
_revision: number;
|
|
60506
|
+
_sent_hash?: string;
|
|
60507
|
+
};
|
|
60508
|
+
Returns: string;
|
|
60509
|
+
};
|
|
60510
|
+
logistics_floriday_prune_pushes: {
|
|
60511
|
+
Args: {
|
|
60512
|
+
_days?: number;
|
|
60513
|
+
};
|
|
60514
|
+
Returns: number;
|
|
60515
|
+
};
|
|
60516
|
+
logistics_floriday_queue_push: {
|
|
60517
|
+
Args: {
|
|
60518
|
+
_order_ref: string;
|
|
60519
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60520
|
+
_payload_hash?: string;
|
|
60521
|
+
};
|
|
60522
|
+
Returns: string;
|
|
60523
|
+
};
|
|
59770
60524
|
logistics_live_carriers: {
|
|
59771
60525
|
Args: {
|
|
59772
60526
|
p_order_ref: string;
|
|
@@ -60494,6 +61248,10 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
60494
61248
|
Args: never;
|
|
60495
61249
|
Returns: undefined;
|
|
60496
61250
|
};
|
|
61251
|
+
run_logistics_tasks_dispatch: {
|
|
61252
|
+
Args: never;
|
|
61253
|
+
Returns: undefined;
|
|
61254
|
+
};
|
|
60497
61255
|
run_twinfield_queue_tick: {
|
|
60498
61256
|
Args: never;
|
|
60499
61257
|
Returns: undefined;
|
|
@@ -60734,6 +61492,13 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
60734
61492
|
};
|
|
60735
61493
|
Returns: number;
|
|
60736
61494
|
};
|
|
61495
|
+
schedule_floriday_stock_queue_process: {
|
|
61496
|
+
Args: {
|
|
61497
|
+
p_apikey: string;
|
|
61498
|
+
p_url: string;
|
|
61499
|
+
};
|
|
61500
|
+
Returns: number;
|
|
61501
|
+
};
|
|
60737
61502
|
schedule_floriday_token_refresh: {
|
|
60738
61503
|
Args: {
|
|
60739
61504
|
p_apikey: string;
|
|
@@ -66667,12 +67432,17 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
66667
67432
|
attempts: number;
|
|
66668
67433
|
connection_id: string;
|
|
66669
67434
|
created_at: string;
|
|
67435
|
+
desired_available: boolean | null;
|
|
66670
67436
|
gateway_attempt_id: string | null;
|
|
66671
67437
|
id: string;
|
|
66672
67438
|
last_error: string | null;
|
|
67439
|
+
locked_at: string | null;
|
|
67440
|
+
locked_by: string | null;
|
|
67441
|
+
next_attempt_at: string;
|
|
66673
67442
|
number_of_pieces: number;
|
|
66674
67443
|
sent_at: string | null;
|
|
66675
67444
|
status: string;
|
|
67445
|
+
superseded_by: string | null;
|
|
66676
67446
|
trade_item_id: string;
|
|
66677
67447
|
updated_at: string;
|
|
66678
67448
|
user_id: string;
|
|
@@ -66681,12 +67451,17 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
66681
67451
|
attempts?: number;
|
|
66682
67452
|
connection_id: string;
|
|
66683
67453
|
created_at?: string;
|
|
67454
|
+
desired_available?: boolean | null;
|
|
66684
67455
|
gateway_attempt_id?: string | null;
|
|
66685
67456
|
id?: string;
|
|
66686
67457
|
last_error?: string | null;
|
|
67458
|
+
locked_at?: string | null;
|
|
67459
|
+
locked_by?: string | null;
|
|
67460
|
+
next_attempt_at?: string;
|
|
66687
67461
|
number_of_pieces?: number;
|
|
66688
67462
|
sent_at?: string | null;
|
|
66689
67463
|
status?: string;
|
|
67464
|
+
superseded_by?: string | null;
|
|
66690
67465
|
trade_item_id: string;
|
|
66691
67466
|
updated_at?: string;
|
|
66692
67467
|
user_id: string;
|
|
@@ -66695,12 +67470,17 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
66695
67470
|
attempts?: number;
|
|
66696
67471
|
connection_id?: string;
|
|
66697
67472
|
created_at?: string;
|
|
67473
|
+
desired_available?: boolean | null;
|
|
66698
67474
|
gateway_attempt_id?: string | null;
|
|
66699
67475
|
id?: string;
|
|
66700
67476
|
last_error?: string | null;
|
|
67477
|
+
locked_at?: string | null;
|
|
67478
|
+
locked_by?: string | null;
|
|
67479
|
+
next_attempt_at?: string;
|
|
66701
67480
|
number_of_pieces?: number;
|
|
66702
67481
|
sent_at?: string | null;
|
|
66703
67482
|
status?: string;
|
|
67483
|
+
superseded_by?: string | null;
|
|
66704
67484
|
trade_item_id?: string;
|
|
66705
67485
|
updated_at?: string;
|
|
66706
67486
|
user_id?: string;
|
|
@@ -69449,6 +70229,69 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
69449
70229
|
};
|
|
69450
70230
|
Relationships: [];
|
|
69451
70231
|
};
|
|
70232
|
+
logistics_floriday_pushes: {
|
|
70233
|
+
Row: {
|
|
70234
|
+
attempts: number;
|
|
70235
|
+
created_at: string;
|
|
70236
|
+
first_queued_at: string;
|
|
70237
|
+
fulfillment_order_id: string | null;
|
|
70238
|
+
id: string;
|
|
70239
|
+
last_error: string | null;
|
|
70240
|
+
last_error_at: string | null;
|
|
70241
|
+
last_sent_hash: string | null;
|
|
70242
|
+
locked_by: string | null;
|
|
70243
|
+
locked_until: string | null;
|
|
70244
|
+
next_attempt_at: string;
|
|
70245
|
+
order_ref: string;
|
|
70246
|
+
payload: import("../integrations/supabase/types").Json;
|
|
70247
|
+
payload_hash: string | null;
|
|
70248
|
+
revision: number;
|
|
70249
|
+
sent_at: string | null;
|
|
70250
|
+
status: string;
|
|
70251
|
+
updated_at: string;
|
|
70252
|
+
};
|
|
70253
|
+
Insert: {
|
|
70254
|
+
attempts?: number;
|
|
70255
|
+
created_at?: string;
|
|
70256
|
+
first_queued_at?: string;
|
|
70257
|
+
fulfillment_order_id?: string | null;
|
|
70258
|
+
id?: string;
|
|
70259
|
+
last_error?: string | null;
|
|
70260
|
+
last_error_at?: string | null;
|
|
70261
|
+
last_sent_hash?: string | null;
|
|
70262
|
+
locked_by?: string | null;
|
|
70263
|
+
locked_until?: string | null;
|
|
70264
|
+
next_attempt_at?: string;
|
|
70265
|
+
order_ref: string;
|
|
70266
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70267
|
+
payload_hash?: string | null;
|
|
70268
|
+
revision?: number;
|
|
70269
|
+
sent_at?: string | null;
|
|
70270
|
+
status?: string;
|
|
70271
|
+
updated_at?: string;
|
|
70272
|
+
};
|
|
70273
|
+
Update: {
|
|
70274
|
+
attempts?: number;
|
|
70275
|
+
created_at?: string;
|
|
70276
|
+
first_queued_at?: string;
|
|
70277
|
+
fulfillment_order_id?: string | null;
|
|
70278
|
+
id?: string;
|
|
70279
|
+
last_error?: string | null;
|
|
70280
|
+
last_error_at?: string | null;
|
|
70281
|
+
last_sent_hash?: string | null;
|
|
70282
|
+
locked_by?: string | null;
|
|
70283
|
+
locked_until?: string | null;
|
|
70284
|
+
next_attempt_at?: string;
|
|
70285
|
+
order_ref?: string;
|
|
70286
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70287
|
+
payload_hash?: string | null;
|
|
70288
|
+
revision?: number;
|
|
70289
|
+
sent_at?: string | null;
|
|
70290
|
+
status?: string;
|
|
70291
|
+
updated_at?: string;
|
|
70292
|
+
};
|
|
70293
|
+
Relationships: [];
|
|
70294
|
+
};
|
|
69452
70295
|
logistics_formulas: {
|
|
69453
70296
|
Row: {
|
|
69454
70297
|
created_at: string;
|
|
@@ -70060,6 +70903,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
70060
70903
|
};
|
|
70061
70904
|
logistics_tasks: {
|
|
70062
70905
|
Row: {
|
|
70906
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
70907
|
+
attempts: number;
|
|
70063
70908
|
buffer_ref: string | null;
|
|
70064
70909
|
claimed_at: string | null;
|
|
70065
70910
|
claimed_by: string | null;
|
|
@@ -70069,6 +70914,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
70069
70914
|
due_at: string | null;
|
|
70070
70915
|
error: string | null;
|
|
70071
70916
|
id: string;
|
|
70917
|
+
last_error: string | null;
|
|
70918
|
+
next_attempt_at: string | null;
|
|
70072
70919
|
order_ref: string;
|
|
70073
70920
|
owner_module: string;
|
|
70074
70921
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -70089,6 +70936,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
70089
70936
|
user_id: string;
|
|
70090
70937
|
};
|
|
70091
70938
|
Insert: {
|
|
70939
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
70940
|
+
attempts?: number;
|
|
70092
70941
|
buffer_ref?: string | null;
|
|
70093
70942
|
claimed_at?: string | null;
|
|
70094
70943
|
claimed_by?: string | null;
|
|
@@ -70098,6 +70947,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
70098
70947
|
due_at?: string | null;
|
|
70099
70948
|
error?: string | null;
|
|
70100
70949
|
id?: string;
|
|
70950
|
+
last_error?: string | null;
|
|
70951
|
+
next_attempt_at?: string | null;
|
|
70101
70952
|
order_ref: string;
|
|
70102
70953
|
owner_module: string;
|
|
70103
70954
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -70118,6 +70969,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
70118
70969
|
user_id?: string;
|
|
70119
70970
|
};
|
|
70120
70971
|
Update: {
|
|
70972
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
70973
|
+
attempts?: number;
|
|
70121
70974
|
buffer_ref?: string | null;
|
|
70122
70975
|
claimed_at?: string | null;
|
|
70123
70976
|
claimed_by?: string | null;
|
|
@@ -70127,6 +70980,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
70127
70980
|
due_at?: string | null;
|
|
70128
70981
|
error?: string | null;
|
|
70129
70982
|
id?: string;
|
|
70983
|
+
last_error?: string | null;
|
|
70984
|
+
next_attempt_at?: string | null;
|
|
70130
70985
|
order_ref?: string;
|
|
70131
70986
|
owner_module?: string;
|
|
70132
70987
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -79131,6 +79986,85 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79131
79986
|
};
|
|
79132
79987
|
Returns: import("../integrations/supabase/types").Json;
|
|
79133
79988
|
};
|
|
79989
|
+
claim_floriday_stock_queue: {
|
|
79990
|
+
Args: {
|
|
79991
|
+
p_limit?: number;
|
|
79992
|
+
p_worker?: string;
|
|
79993
|
+
};
|
|
79994
|
+
Returns: {
|
|
79995
|
+
attempts: number;
|
|
79996
|
+
connection_id: string;
|
|
79997
|
+
created_at: string;
|
|
79998
|
+
desired_available: boolean | null;
|
|
79999
|
+
gateway_attempt_id: string | null;
|
|
80000
|
+
id: string;
|
|
80001
|
+
last_error: string | null;
|
|
80002
|
+
locked_at: string | null;
|
|
80003
|
+
locked_by: string | null;
|
|
80004
|
+
next_attempt_at: string;
|
|
80005
|
+
number_of_pieces: number;
|
|
80006
|
+
sent_at: string | null;
|
|
80007
|
+
status: string;
|
|
80008
|
+
superseded_by: string | null;
|
|
80009
|
+
trade_item_id: string;
|
|
80010
|
+
updated_at: string;
|
|
80011
|
+
user_id: string;
|
|
80012
|
+
}[];
|
|
80013
|
+
SetofOptions: {
|
|
80014
|
+
from: "*";
|
|
80015
|
+
to: "floriday_continuous_stock_queue";
|
|
80016
|
+
isOneToOne: false;
|
|
80017
|
+
isSetofReturn: true;
|
|
80018
|
+
};
|
|
80019
|
+
};
|
|
80020
|
+
claim_logistics_tasks: {
|
|
80021
|
+
Args: {
|
|
80022
|
+
_limit?: number;
|
|
80023
|
+
_owner_module: string;
|
|
80024
|
+
_stale_minutes?: number;
|
|
80025
|
+
_task_type: string;
|
|
80026
|
+
_worker: string;
|
|
80027
|
+
};
|
|
80028
|
+
Returns: {
|
|
80029
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80030
|
+
attempts: number;
|
|
80031
|
+
buffer_ref: string | null;
|
|
80032
|
+
claimed_at: string | null;
|
|
80033
|
+
claimed_by: string | null;
|
|
80034
|
+
completed_at: string | null;
|
|
80035
|
+
created_at: string;
|
|
80036
|
+
depends_on: string[];
|
|
80037
|
+
due_at: string | null;
|
|
80038
|
+
error: string | null;
|
|
80039
|
+
id: string;
|
|
80040
|
+
last_error: string | null;
|
|
80041
|
+
next_attempt_at: string | null;
|
|
80042
|
+
order_ref: string;
|
|
80043
|
+
owner_module: string;
|
|
80044
|
+
payload: import("../integrations/supabase/types").Json;
|
|
80045
|
+
plan_run_id: string | null;
|
|
80046
|
+
planned_end: string | null;
|
|
80047
|
+
planned_start: string | null;
|
|
80048
|
+
priority: number;
|
|
80049
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
80050
|
+
rule_config_id: string | null;
|
|
80051
|
+
rule_version: number | null;
|
|
80052
|
+
sequence: number;
|
|
80053
|
+
shadow: boolean;
|
|
80054
|
+
started_at: string | null;
|
|
80055
|
+
status: string;
|
|
80056
|
+
strategy_id: string | null;
|
|
80057
|
+
task_type: string;
|
|
80058
|
+
updated_at: string;
|
|
80059
|
+
user_id: string;
|
|
80060
|
+
}[];
|
|
80061
|
+
SetofOptions: {
|
|
80062
|
+
from: "*";
|
|
80063
|
+
to: "logistics_tasks";
|
|
80064
|
+
isOneToOne: false;
|
|
80065
|
+
isSetofReturn: true;
|
|
80066
|
+
};
|
|
80067
|
+
};
|
|
79134
80068
|
claim_print_jobs: {
|
|
79135
80069
|
Args: {
|
|
79136
80070
|
_agent_id: string;
|
|
@@ -79195,10 +80129,24 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79195
80129
|
isSetofReturn: true;
|
|
79196
80130
|
};
|
|
79197
80131
|
};
|
|
80132
|
+
cleanup_floriday_stock_queue: {
|
|
80133
|
+
Args: never;
|
|
80134
|
+
Returns: undefined;
|
|
80135
|
+
};
|
|
79198
80136
|
cleanup_old_bookings: {
|
|
79199
80137
|
Args: never;
|
|
79200
80138
|
Returns: undefined;
|
|
79201
80139
|
};
|
|
80140
|
+
complete_floriday_stock_queue: {
|
|
80141
|
+
Args: {
|
|
80142
|
+
p_attempt_id?: string;
|
|
80143
|
+
p_error?: string;
|
|
80144
|
+
p_id: string;
|
|
80145
|
+
p_ok: boolean;
|
|
80146
|
+
p_permanent?: boolean;
|
|
80147
|
+
};
|
|
80148
|
+
Returns: undefined;
|
|
80149
|
+
};
|
|
79202
80150
|
consume_bom_for_production: {
|
|
79203
80151
|
Args: {
|
|
79204
80152
|
p_connection_id: string;
|
|
@@ -79890,6 +80838,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79890
80838
|
p_worker?: string;
|
|
79891
80839
|
};
|
|
79892
80840
|
Returns: {
|
|
80841
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80842
|
+
attempts: number;
|
|
79893
80843
|
buffer_ref: string | null;
|
|
79894
80844
|
claimed_at: string | null;
|
|
79895
80845
|
claimed_by: string | null;
|
|
@@ -79899,6 +80849,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79899
80849
|
due_at: string | null;
|
|
79900
80850
|
error: string | null;
|
|
79901
80851
|
id: string;
|
|
80852
|
+
last_error: string | null;
|
|
80853
|
+
next_attempt_at: string | null;
|
|
79902
80854
|
order_ref: string;
|
|
79903
80855
|
owner_module: string;
|
|
79904
80856
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79931,6 +80883,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79931
80883
|
p_worker?: string;
|
|
79932
80884
|
};
|
|
79933
80885
|
Returns: {
|
|
80886
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80887
|
+
attempts: number;
|
|
79934
80888
|
buffer_ref: string | null;
|
|
79935
80889
|
claimed_at: string | null;
|
|
79936
80890
|
claimed_by: string | null;
|
|
@@ -79940,6 +80894,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79940
80894
|
due_at: string | null;
|
|
79941
80895
|
error: string | null;
|
|
79942
80896
|
id: string;
|
|
80897
|
+
last_error: string | null;
|
|
80898
|
+
next_attempt_at: string | null;
|
|
79943
80899
|
order_ref: string;
|
|
79944
80900
|
owner_module: string;
|
|
79945
80901
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79972,6 +80928,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79972
80928
|
p_task_id: string;
|
|
79973
80929
|
};
|
|
79974
80930
|
Returns: {
|
|
80931
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80932
|
+
attempts: number;
|
|
79975
80933
|
buffer_ref: string | null;
|
|
79976
80934
|
claimed_at: string | null;
|
|
79977
80935
|
claimed_by: string | null;
|
|
@@ -79981,6 +80939,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
79981
80939
|
due_at: string | null;
|
|
79982
80940
|
error: string | null;
|
|
79983
80941
|
id: string;
|
|
80942
|
+
last_error: string | null;
|
|
80943
|
+
next_attempt_at: string | null;
|
|
79984
80944
|
order_ref: string;
|
|
79985
80945
|
owner_module: string;
|
|
79986
80946
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80062,6 +81022,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
80062
81022
|
p_task_id: string;
|
|
80063
81023
|
};
|
|
80064
81024
|
Returns: {
|
|
81025
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81026
|
+
attempts: number;
|
|
80065
81027
|
buffer_ref: string | null;
|
|
80066
81028
|
claimed_at: string | null;
|
|
80067
81029
|
claimed_by: string | null;
|
|
@@ -80071,6 +81033,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
80071
81033
|
due_at: string | null;
|
|
80072
81034
|
error: string | null;
|
|
80073
81035
|
id: string;
|
|
81036
|
+
last_error: string | null;
|
|
81037
|
+
next_attempt_at: string | null;
|
|
80074
81038
|
order_ref: string;
|
|
80075
81039
|
owner_module: string;
|
|
80076
81040
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80097,6 +81061,51 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
80097
81061
|
isSetofReturn: false;
|
|
80098
81062
|
};
|
|
80099
81063
|
};
|
|
81064
|
+
logistics_floriday_claim_pushes: {
|
|
81065
|
+
Args: {
|
|
81066
|
+
_lease_seconds?: number;
|
|
81067
|
+
_limit?: number;
|
|
81068
|
+
_worker?: string;
|
|
81069
|
+
};
|
|
81070
|
+
Returns: {
|
|
81071
|
+
attempts: number;
|
|
81072
|
+
fulfillment_order_id: string;
|
|
81073
|
+
id: string;
|
|
81074
|
+
last_sent_hash: string;
|
|
81075
|
+
order_ref: string;
|
|
81076
|
+
payload: import("../integrations/supabase/types").Json;
|
|
81077
|
+
payload_hash: string;
|
|
81078
|
+
revision: number;
|
|
81079
|
+
}[];
|
|
81080
|
+
};
|
|
81081
|
+
logistics_floriday_finish_push: {
|
|
81082
|
+
Args: {
|
|
81083
|
+
_error?: string;
|
|
81084
|
+
_fulfillment_order_id?: string;
|
|
81085
|
+
_id: string;
|
|
81086
|
+
_max_age_hours?: number;
|
|
81087
|
+
_max_attempts?: number;
|
|
81088
|
+
_ok: boolean;
|
|
81089
|
+
_permanent?: boolean;
|
|
81090
|
+
_revision: number;
|
|
81091
|
+
_sent_hash?: string;
|
|
81092
|
+
};
|
|
81093
|
+
Returns: string;
|
|
81094
|
+
};
|
|
81095
|
+
logistics_floriday_prune_pushes: {
|
|
81096
|
+
Args: {
|
|
81097
|
+
_days?: number;
|
|
81098
|
+
};
|
|
81099
|
+
Returns: number;
|
|
81100
|
+
};
|
|
81101
|
+
logistics_floriday_queue_push: {
|
|
81102
|
+
Args: {
|
|
81103
|
+
_order_ref: string;
|
|
81104
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
81105
|
+
_payload_hash?: string;
|
|
81106
|
+
};
|
|
81107
|
+
Returns: string;
|
|
81108
|
+
};
|
|
80100
81109
|
logistics_live_carriers: {
|
|
80101
81110
|
Args: {
|
|
80102
81111
|
p_order_ref: string;
|
|
@@ -80824,6 +81833,10 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
80824
81833
|
Args: never;
|
|
80825
81834
|
Returns: undefined;
|
|
80826
81835
|
};
|
|
81836
|
+
run_logistics_tasks_dispatch: {
|
|
81837
|
+
Args: never;
|
|
81838
|
+
Returns: undefined;
|
|
81839
|
+
};
|
|
80827
81840
|
run_twinfield_queue_tick: {
|
|
80828
81841
|
Args: never;
|
|
80829
81842
|
Returns: undefined;
|
|
@@ -81064,6 +82077,13 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
81064
82077
|
};
|
|
81065
82078
|
Returns: number;
|
|
81066
82079
|
};
|
|
82080
|
+
schedule_floriday_stock_queue_process: {
|
|
82081
|
+
Args: {
|
|
82082
|
+
p_apikey: string;
|
|
82083
|
+
p_url: string;
|
|
82084
|
+
};
|
|
82085
|
+
Returns: number;
|
|
82086
|
+
};
|
|
81067
82087
|
schedule_floriday_token_refresh: {
|
|
81068
82088
|
Args: {
|
|
81069
82089
|
p_apikey: string;
|
|
@@ -86997,12 +88017,17 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
86997
88017
|
attempts: number;
|
|
86998
88018
|
connection_id: string;
|
|
86999
88019
|
created_at: string;
|
|
88020
|
+
desired_available: boolean | null;
|
|
87000
88021
|
gateway_attempt_id: string | null;
|
|
87001
88022
|
id: string;
|
|
87002
88023
|
last_error: string | null;
|
|
88024
|
+
locked_at: string | null;
|
|
88025
|
+
locked_by: string | null;
|
|
88026
|
+
next_attempt_at: string;
|
|
87003
88027
|
number_of_pieces: number;
|
|
87004
88028
|
sent_at: string | null;
|
|
87005
88029
|
status: string;
|
|
88030
|
+
superseded_by: string | null;
|
|
87006
88031
|
trade_item_id: string;
|
|
87007
88032
|
updated_at: string;
|
|
87008
88033
|
user_id: string;
|
|
@@ -87011,12 +88036,17 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
87011
88036
|
attempts?: number;
|
|
87012
88037
|
connection_id: string;
|
|
87013
88038
|
created_at?: string;
|
|
88039
|
+
desired_available?: boolean | null;
|
|
87014
88040
|
gateway_attempt_id?: string | null;
|
|
87015
88041
|
id?: string;
|
|
87016
88042
|
last_error?: string | null;
|
|
88043
|
+
locked_at?: string | null;
|
|
88044
|
+
locked_by?: string | null;
|
|
88045
|
+
next_attempt_at?: string;
|
|
87017
88046
|
number_of_pieces?: number;
|
|
87018
88047
|
sent_at?: string | null;
|
|
87019
88048
|
status?: string;
|
|
88049
|
+
superseded_by?: string | null;
|
|
87020
88050
|
trade_item_id: string;
|
|
87021
88051
|
updated_at?: string;
|
|
87022
88052
|
user_id: string;
|
|
@@ -87025,12 +88055,17 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
87025
88055
|
attempts?: number;
|
|
87026
88056
|
connection_id?: string;
|
|
87027
88057
|
created_at?: string;
|
|
88058
|
+
desired_available?: boolean | null;
|
|
87028
88059
|
gateway_attempt_id?: string | null;
|
|
87029
88060
|
id?: string;
|
|
87030
88061
|
last_error?: string | null;
|
|
88062
|
+
locked_at?: string | null;
|
|
88063
|
+
locked_by?: string | null;
|
|
88064
|
+
next_attempt_at?: string;
|
|
87031
88065
|
number_of_pieces?: number;
|
|
87032
88066
|
sent_at?: string | null;
|
|
87033
88067
|
status?: string;
|
|
88068
|
+
superseded_by?: string | null;
|
|
87034
88069
|
trade_item_id?: string;
|
|
87035
88070
|
updated_at?: string;
|
|
87036
88071
|
user_id?: string;
|
|
@@ -89779,6 +90814,69 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
89779
90814
|
};
|
|
89780
90815
|
Relationships: [];
|
|
89781
90816
|
};
|
|
90817
|
+
logistics_floriday_pushes: {
|
|
90818
|
+
Row: {
|
|
90819
|
+
attempts: number;
|
|
90820
|
+
created_at: string;
|
|
90821
|
+
first_queued_at: string;
|
|
90822
|
+
fulfillment_order_id: string | null;
|
|
90823
|
+
id: string;
|
|
90824
|
+
last_error: string | null;
|
|
90825
|
+
last_error_at: string | null;
|
|
90826
|
+
last_sent_hash: string | null;
|
|
90827
|
+
locked_by: string | null;
|
|
90828
|
+
locked_until: string | null;
|
|
90829
|
+
next_attempt_at: string;
|
|
90830
|
+
order_ref: string;
|
|
90831
|
+
payload: import("../integrations/supabase/types").Json;
|
|
90832
|
+
payload_hash: string | null;
|
|
90833
|
+
revision: number;
|
|
90834
|
+
sent_at: string | null;
|
|
90835
|
+
status: string;
|
|
90836
|
+
updated_at: string;
|
|
90837
|
+
};
|
|
90838
|
+
Insert: {
|
|
90839
|
+
attempts?: number;
|
|
90840
|
+
created_at?: string;
|
|
90841
|
+
first_queued_at?: string;
|
|
90842
|
+
fulfillment_order_id?: string | null;
|
|
90843
|
+
id?: string;
|
|
90844
|
+
last_error?: string | null;
|
|
90845
|
+
last_error_at?: string | null;
|
|
90846
|
+
last_sent_hash?: string | null;
|
|
90847
|
+
locked_by?: string | null;
|
|
90848
|
+
locked_until?: string | null;
|
|
90849
|
+
next_attempt_at?: string;
|
|
90850
|
+
order_ref: string;
|
|
90851
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
90852
|
+
payload_hash?: string | null;
|
|
90853
|
+
revision?: number;
|
|
90854
|
+
sent_at?: string | null;
|
|
90855
|
+
status?: string;
|
|
90856
|
+
updated_at?: string;
|
|
90857
|
+
};
|
|
90858
|
+
Update: {
|
|
90859
|
+
attempts?: number;
|
|
90860
|
+
created_at?: string;
|
|
90861
|
+
first_queued_at?: string;
|
|
90862
|
+
fulfillment_order_id?: string | null;
|
|
90863
|
+
id?: string;
|
|
90864
|
+
last_error?: string | null;
|
|
90865
|
+
last_error_at?: string | null;
|
|
90866
|
+
last_sent_hash?: string | null;
|
|
90867
|
+
locked_by?: string | null;
|
|
90868
|
+
locked_until?: string | null;
|
|
90869
|
+
next_attempt_at?: string;
|
|
90870
|
+
order_ref?: string;
|
|
90871
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
90872
|
+
payload_hash?: string | null;
|
|
90873
|
+
revision?: number;
|
|
90874
|
+
sent_at?: string | null;
|
|
90875
|
+
status?: string;
|
|
90876
|
+
updated_at?: string;
|
|
90877
|
+
};
|
|
90878
|
+
Relationships: [];
|
|
90879
|
+
};
|
|
89782
90880
|
logistics_formulas: {
|
|
89783
90881
|
Row: {
|
|
89784
90882
|
created_at: string;
|
|
@@ -90390,6 +91488,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
90390
91488
|
};
|
|
90391
91489
|
logistics_tasks: {
|
|
90392
91490
|
Row: {
|
|
91491
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
91492
|
+
attempts: number;
|
|
90393
91493
|
buffer_ref: string | null;
|
|
90394
91494
|
claimed_at: string | null;
|
|
90395
91495
|
claimed_by: string | null;
|
|
@@ -90399,6 +91499,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
90399
91499
|
due_at: string | null;
|
|
90400
91500
|
error: string | null;
|
|
90401
91501
|
id: string;
|
|
91502
|
+
last_error: string | null;
|
|
91503
|
+
next_attempt_at: string | null;
|
|
90402
91504
|
order_ref: string;
|
|
90403
91505
|
owner_module: string;
|
|
90404
91506
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90419,6 +91521,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
90419
91521
|
user_id: string;
|
|
90420
91522
|
};
|
|
90421
91523
|
Insert: {
|
|
91524
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
91525
|
+
attempts?: number;
|
|
90422
91526
|
buffer_ref?: string | null;
|
|
90423
91527
|
claimed_at?: string | null;
|
|
90424
91528
|
claimed_by?: string | null;
|
|
@@ -90428,6 +91532,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
90428
91532
|
due_at?: string | null;
|
|
90429
91533
|
error?: string | null;
|
|
90430
91534
|
id?: string;
|
|
91535
|
+
last_error?: string | null;
|
|
91536
|
+
next_attempt_at?: string | null;
|
|
90431
91537
|
order_ref: string;
|
|
90432
91538
|
owner_module: string;
|
|
90433
91539
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -90448,6 +91554,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
90448
91554
|
user_id?: string;
|
|
90449
91555
|
};
|
|
90450
91556
|
Update: {
|
|
91557
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
91558
|
+
attempts?: number;
|
|
90451
91559
|
buffer_ref?: string | null;
|
|
90452
91560
|
claimed_at?: string | null;
|
|
90453
91561
|
claimed_by?: string | null;
|
|
@@ -90457,6 +91565,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
90457
91565
|
due_at?: string | null;
|
|
90458
91566
|
error?: string | null;
|
|
90459
91567
|
id?: string;
|
|
91568
|
+
last_error?: string | null;
|
|
91569
|
+
next_attempt_at?: string | null;
|
|
90460
91570
|
order_ref?: string;
|
|
90461
91571
|
owner_module?: string;
|
|
90462
91572
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -99461,6 +100571,85 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
99461
100571
|
};
|
|
99462
100572
|
Returns: import("../integrations/supabase/types").Json;
|
|
99463
100573
|
};
|
|
100574
|
+
claim_floriday_stock_queue: {
|
|
100575
|
+
Args: {
|
|
100576
|
+
p_limit?: number;
|
|
100577
|
+
p_worker?: string;
|
|
100578
|
+
};
|
|
100579
|
+
Returns: {
|
|
100580
|
+
attempts: number;
|
|
100581
|
+
connection_id: string;
|
|
100582
|
+
created_at: string;
|
|
100583
|
+
desired_available: boolean | null;
|
|
100584
|
+
gateway_attempt_id: string | null;
|
|
100585
|
+
id: string;
|
|
100586
|
+
last_error: string | null;
|
|
100587
|
+
locked_at: string | null;
|
|
100588
|
+
locked_by: string | null;
|
|
100589
|
+
next_attempt_at: string;
|
|
100590
|
+
number_of_pieces: number;
|
|
100591
|
+
sent_at: string | null;
|
|
100592
|
+
status: string;
|
|
100593
|
+
superseded_by: string | null;
|
|
100594
|
+
trade_item_id: string;
|
|
100595
|
+
updated_at: string;
|
|
100596
|
+
user_id: string;
|
|
100597
|
+
}[];
|
|
100598
|
+
SetofOptions: {
|
|
100599
|
+
from: "*";
|
|
100600
|
+
to: "floriday_continuous_stock_queue";
|
|
100601
|
+
isOneToOne: false;
|
|
100602
|
+
isSetofReturn: true;
|
|
100603
|
+
};
|
|
100604
|
+
};
|
|
100605
|
+
claim_logistics_tasks: {
|
|
100606
|
+
Args: {
|
|
100607
|
+
_limit?: number;
|
|
100608
|
+
_owner_module: string;
|
|
100609
|
+
_stale_minutes?: number;
|
|
100610
|
+
_task_type: string;
|
|
100611
|
+
_worker: string;
|
|
100612
|
+
};
|
|
100613
|
+
Returns: {
|
|
100614
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
100615
|
+
attempts: number;
|
|
100616
|
+
buffer_ref: string | null;
|
|
100617
|
+
claimed_at: string | null;
|
|
100618
|
+
claimed_by: string | null;
|
|
100619
|
+
completed_at: string | null;
|
|
100620
|
+
created_at: string;
|
|
100621
|
+
depends_on: string[];
|
|
100622
|
+
due_at: string | null;
|
|
100623
|
+
error: string | null;
|
|
100624
|
+
id: string;
|
|
100625
|
+
last_error: string | null;
|
|
100626
|
+
next_attempt_at: string | null;
|
|
100627
|
+
order_ref: string;
|
|
100628
|
+
owner_module: string;
|
|
100629
|
+
payload: import("../integrations/supabase/types").Json;
|
|
100630
|
+
plan_run_id: string | null;
|
|
100631
|
+
planned_end: string | null;
|
|
100632
|
+
planned_start: string | null;
|
|
100633
|
+
priority: number;
|
|
100634
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
100635
|
+
rule_config_id: string | null;
|
|
100636
|
+
rule_version: number | null;
|
|
100637
|
+
sequence: number;
|
|
100638
|
+
shadow: boolean;
|
|
100639
|
+
started_at: string | null;
|
|
100640
|
+
status: string;
|
|
100641
|
+
strategy_id: string | null;
|
|
100642
|
+
task_type: string;
|
|
100643
|
+
updated_at: string;
|
|
100644
|
+
user_id: string;
|
|
100645
|
+
}[];
|
|
100646
|
+
SetofOptions: {
|
|
100647
|
+
from: "*";
|
|
100648
|
+
to: "logistics_tasks";
|
|
100649
|
+
isOneToOne: false;
|
|
100650
|
+
isSetofReturn: true;
|
|
100651
|
+
};
|
|
100652
|
+
};
|
|
99464
100653
|
claim_print_jobs: {
|
|
99465
100654
|
Args: {
|
|
99466
100655
|
_agent_id: string;
|
|
@@ -99525,10 +100714,24 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
99525
100714
|
isSetofReturn: true;
|
|
99526
100715
|
};
|
|
99527
100716
|
};
|
|
100717
|
+
cleanup_floriday_stock_queue: {
|
|
100718
|
+
Args: never;
|
|
100719
|
+
Returns: undefined;
|
|
100720
|
+
};
|
|
99528
100721
|
cleanup_old_bookings: {
|
|
99529
100722
|
Args: never;
|
|
99530
100723
|
Returns: undefined;
|
|
99531
100724
|
};
|
|
100725
|
+
complete_floriday_stock_queue: {
|
|
100726
|
+
Args: {
|
|
100727
|
+
p_attempt_id?: string;
|
|
100728
|
+
p_error?: string;
|
|
100729
|
+
p_id: string;
|
|
100730
|
+
p_ok: boolean;
|
|
100731
|
+
p_permanent?: boolean;
|
|
100732
|
+
};
|
|
100733
|
+
Returns: undefined;
|
|
100734
|
+
};
|
|
99532
100735
|
consume_bom_for_production: {
|
|
99533
100736
|
Args: {
|
|
99534
100737
|
p_connection_id: string;
|
|
@@ -100220,6 +101423,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100220
101423
|
p_worker?: string;
|
|
100221
101424
|
};
|
|
100222
101425
|
Returns: {
|
|
101426
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101427
|
+
attempts: number;
|
|
100223
101428
|
buffer_ref: string | null;
|
|
100224
101429
|
claimed_at: string | null;
|
|
100225
101430
|
claimed_by: string | null;
|
|
@@ -100229,6 +101434,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100229
101434
|
due_at: string | null;
|
|
100230
101435
|
error: string | null;
|
|
100231
101436
|
id: string;
|
|
101437
|
+
last_error: string | null;
|
|
101438
|
+
next_attempt_at: string | null;
|
|
100232
101439
|
order_ref: string;
|
|
100233
101440
|
owner_module: string;
|
|
100234
101441
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100261,6 +101468,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100261
101468
|
p_worker?: string;
|
|
100262
101469
|
};
|
|
100263
101470
|
Returns: {
|
|
101471
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101472
|
+
attempts: number;
|
|
100264
101473
|
buffer_ref: string | null;
|
|
100265
101474
|
claimed_at: string | null;
|
|
100266
101475
|
claimed_by: string | null;
|
|
@@ -100270,6 +101479,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100270
101479
|
due_at: string | null;
|
|
100271
101480
|
error: string | null;
|
|
100272
101481
|
id: string;
|
|
101482
|
+
last_error: string | null;
|
|
101483
|
+
next_attempt_at: string | null;
|
|
100273
101484
|
order_ref: string;
|
|
100274
101485
|
owner_module: string;
|
|
100275
101486
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100302,6 +101513,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100302
101513
|
p_task_id: string;
|
|
100303
101514
|
};
|
|
100304
101515
|
Returns: {
|
|
101516
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101517
|
+
attempts: number;
|
|
100305
101518
|
buffer_ref: string | null;
|
|
100306
101519
|
claimed_at: string | null;
|
|
100307
101520
|
claimed_by: string | null;
|
|
@@ -100311,6 +101524,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100311
101524
|
due_at: string | null;
|
|
100312
101525
|
error: string | null;
|
|
100313
101526
|
id: string;
|
|
101527
|
+
last_error: string | null;
|
|
101528
|
+
next_attempt_at: string | null;
|
|
100314
101529
|
order_ref: string;
|
|
100315
101530
|
owner_module: string;
|
|
100316
101531
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100392,6 +101607,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100392
101607
|
p_task_id: string;
|
|
100393
101608
|
};
|
|
100394
101609
|
Returns: {
|
|
101610
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101611
|
+
attempts: number;
|
|
100395
101612
|
buffer_ref: string | null;
|
|
100396
101613
|
claimed_at: string | null;
|
|
100397
101614
|
claimed_by: string | null;
|
|
@@ -100401,6 +101618,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100401
101618
|
due_at: string | null;
|
|
100402
101619
|
error: string | null;
|
|
100403
101620
|
id: string;
|
|
101621
|
+
last_error: string | null;
|
|
101622
|
+
next_attempt_at: string | null;
|
|
100404
101623
|
order_ref: string;
|
|
100405
101624
|
owner_module: string;
|
|
100406
101625
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100427,6 +101646,51 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
100427
101646
|
isSetofReturn: false;
|
|
100428
101647
|
};
|
|
100429
101648
|
};
|
|
101649
|
+
logistics_floriday_claim_pushes: {
|
|
101650
|
+
Args: {
|
|
101651
|
+
_lease_seconds?: number;
|
|
101652
|
+
_limit?: number;
|
|
101653
|
+
_worker?: string;
|
|
101654
|
+
};
|
|
101655
|
+
Returns: {
|
|
101656
|
+
attempts: number;
|
|
101657
|
+
fulfillment_order_id: string;
|
|
101658
|
+
id: string;
|
|
101659
|
+
last_sent_hash: string;
|
|
101660
|
+
order_ref: string;
|
|
101661
|
+
payload: import("../integrations/supabase/types").Json;
|
|
101662
|
+
payload_hash: string;
|
|
101663
|
+
revision: number;
|
|
101664
|
+
}[];
|
|
101665
|
+
};
|
|
101666
|
+
logistics_floriday_finish_push: {
|
|
101667
|
+
Args: {
|
|
101668
|
+
_error?: string;
|
|
101669
|
+
_fulfillment_order_id?: string;
|
|
101670
|
+
_id: string;
|
|
101671
|
+
_max_age_hours?: number;
|
|
101672
|
+
_max_attempts?: number;
|
|
101673
|
+
_ok: boolean;
|
|
101674
|
+
_permanent?: boolean;
|
|
101675
|
+
_revision: number;
|
|
101676
|
+
_sent_hash?: string;
|
|
101677
|
+
};
|
|
101678
|
+
Returns: string;
|
|
101679
|
+
};
|
|
101680
|
+
logistics_floriday_prune_pushes: {
|
|
101681
|
+
Args: {
|
|
101682
|
+
_days?: number;
|
|
101683
|
+
};
|
|
101684
|
+
Returns: number;
|
|
101685
|
+
};
|
|
101686
|
+
logistics_floriday_queue_push: {
|
|
101687
|
+
Args: {
|
|
101688
|
+
_order_ref: string;
|
|
101689
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
101690
|
+
_payload_hash?: string;
|
|
101691
|
+
};
|
|
101692
|
+
Returns: string;
|
|
101693
|
+
};
|
|
100430
101694
|
logistics_live_carriers: {
|
|
100431
101695
|
Args: {
|
|
100432
101696
|
p_order_ref: string;
|
|
@@ -101154,6 +102418,10 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
101154
102418
|
Args: never;
|
|
101155
102419
|
Returns: undefined;
|
|
101156
102420
|
};
|
|
102421
|
+
run_logistics_tasks_dispatch: {
|
|
102422
|
+
Args: never;
|
|
102423
|
+
Returns: undefined;
|
|
102424
|
+
};
|
|
101157
102425
|
run_twinfield_queue_tick: {
|
|
101158
102426
|
Args: never;
|
|
101159
102427
|
Returns: undefined;
|
|
@@ -101394,6 +102662,13 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
101394
102662
|
};
|
|
101395
102663
|
Returns: number;
|
|
101396
102664
|
};
|
|
102665
|
+
schedule_floriday_stock_queue_process: {
|
|
102666
|
+
Args: {
|
|
102667
|
+
p_apikey: string;
|
|
102668
|
+
p_url: string;
|
|
102669
|
+
};
|
|
102670
|
+
Returns: number;
|
|
102671
|
+
};
|
|
101397
102672
|
schedule_floriday_token_refresh: {
|
|
101398
102673
|
Args: {
|
|
101399
102674
|
p_apikey: string;
|
|
@@ -107327,12 +108602,17 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
107327
108602
|
attempts: number;
|
|
107328
108603
|
connection_id: string;
|
|
107329
108604
|
created_at: string;
|
|
108605
|
+
desired_available: boolean | null;
|
|
107330
108606
|
gateway_attempt_id: string | null;
|
|
107331
108607
|
id: string;
|
|
107332
108608
|
last_error: string | null;
|
|
108609
|
+
locked_at: string | null;
|
|
108610
|
+
locked_by: string | null;
|
|
108611
|
+
next_attempt_at: string;
|
|
107333
108612
|
number_of_pieces: number;
|
|
107334
108613
|
sent_at: string | null;
|
|
107335
108614
|
status: string;
|
|
108615
|
+
superseded_by: string | null;
|
|
107336
108616
|
trade_item_id: string;
|
|
107337
108617
|
updated_at: string;
|
|
107338
108618
|
user_id: string;
|
|
@@ -107341,12 +108621,17 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
107341
108621
|
attempts?: number;
|
|
107342
108622
|
connection_id: string;
|
|
107343
108623
|
created_at?: string;
|
|
108624
|
+
desired_available?: boolean | null;
|
|
107344
108625
|
gateway_attempt_id?: string | null;
|
|
107345
108626
|
id?: string;
|
|
107346
108627
|
last_error?: string | null;
|
|
108628
|
+
locked_at?: string | null;
|
|
108629
|
+
locked_by?: string | null;
|
|
108630
|
+
next_attempt_at?: string;
|
|
107347
108631
|
number_of_pieces?: number;
|
|
107348
108632
|
sent_at?: string | null;
|
|
107349
108633
|
status?: string;
|
|
108634
|
+
superseded_by?: string | null;
|
|
107350
108635
|
trade_item_id: string;
|
|
107351
108636
|
updated_at?: string;
|
|
107352
108637
|
user_id: string;
|
|
@@ -107355,12 +108640,17 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
107355
108640
|
attempts?: number;
|
|
107356
108641
|
connection_id?: string;
|
|
107357
108642
|
created_at?: string;
|
|
108643
|
+
desired_available?: boolean | null;
|
|
107358
108644
|
gateway_attempt_id?: string | null;
|
|
107359
108645
|
id?: string;
|
|
107360
108646
|
last_error?: string | null;
|
|
108647
|
+
locked_at?: string | null;
|
|
108648
|
+
locked_by?: string | null;
|
|
108649
|
+
next_attempt_at?: string;
|
|
107361
108650
|
number_of_pieces?: number;
|
|
107362
108651
|
sent_at?: string | null;
|
|
107363
108652
|
status?: string;
|
|
108653
|
+
superseded_by?: string | null;
|
|
107364
108654
|
trade_item_id?: string;
|
|
107365
108655
|
updated_at?: string;
|
|
107366
108656
|
user_id?: string;
|
|
@@ -110109,6 +111399,69 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110109
111399
|
};
|
|
110110
111400
|
Relationships: [];
|
|
110111
111401
|
};
|
|
111402
|
+
logistics_floriday_pushes: {
|
|
111403
|
+
Row: {
|
|
111404
|
+
attempts: number;
|
|
111405
|
+
created_at: string;
|
|
111406
|
+
first_queued_at: string;
|
|
111407
|
+
fulfillment_order_id: string | null;
|
|
111408
|
+
id: string;
|
|
111409
|
+
last_error: string | null;
|
|
111410
|
+
last_error_at: string | null;
|
|
111411
|
+
last_sent_hash: string | null;
|
|
111412
|
+
locked_by: string | null;
|
|
111413
|
+
locked_until: string | null;
|
|
111414
|
+
next_attempt_at: string;
|
|
111415
|
+
order_ref: string;
|
|
111416
|
+
payload: import("../integrations/supabase/types").Json;
|
|
111417
|
+
payload_hash: string | null;
|
|
111418
|
+
revision: number;
|
|
111419
|
+
sent_at: string | null;
|
|
111420
|
+
status: string;
|
|
111421
|
+
updated_at: string;
|
|
111422
|
+
};
|
|
111423
|
+
Insert: {
|
|
111424
|
+
attempts?: number;
|
|
111425
|
+
created_at?: string;
|
|
111426
|
+
first_queued_at?: string;
|
|
111427
|
+
fulfillment_order_id?: string | null;
|
|
111428
|
+
id?: string;
|
|
111429
|
+
last_error?: string | null;
|
|
111430
|
+
last_error_at?: string | null;
|
|
111431
|
+
last_sent_hash?: string | null;
|
|
111432
|
+
locked_by?: string | null;
|
|
111433
|
+
locked_until?: string | null;
|
|
111434
|
+
next_attempt_at?: string;
|
|
111435
|
+
order_ref: string;
|
|
111436
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
111437
|
+
payload_hash?: string | null;
|
|
111438
|
+
revision?: number;
|
|
111439
|
+
sent_at?: string | null;
|
|
111440
|
+
status?: string;
|
|
111441
|
+
updated_at?: string;
|
|
111442
|
+
};
|
|
111443
|
+
Update: {
|
|
111444
|
+
attempts?: number;
|
|
111445
|
+
created_at?: string;
|
|
111446
|
+
first_queued_at?: string;
|
|
111447
|
+
fulfillment_order_id?: string | null;
|
|
111448
|
+
id?: string;
|
|
111449
|
+
last_error?: string | null;
|
|
111450
|
+
last_error_at?: string | null;
|
|
111451
|
+
last_sent_hash?: string | null;
|
|
111452
|
+
locked_by?: string | null;
|
|
111453
|
+
locked_until?: string | null;
|
|
111454
|
+
next_attempt_at?: string;
|
|
111455
|
+
order_ref?: string;
|
|
111456
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
111457
|
+
payload_hash?: string | null;
|
|
111458
|
+
revision?: number;
|
|
111459
|
+
sent_at?: string | null;
|
|
111460
|
+
status?: string;
|
|
111461
|
+
updated_at?: string;
|
|
111462
|
+
};
|
|
111463
|
+
Relationships: [];
|
|
111464
|
+
};
|
|
110112
111465
|
logistics_formulas: {
|
|
110113
111466
|
Row: {
|
|
110114
111467
|
created_at: string;
|
|
@@ -110720,6 +112073,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110720
112073
|
};
|
|
110721
112074
|
logistics_tasks: {
|
|
110722
112075
|
Row: {
|
|
112076
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
112077
|
+
attempts: number;
|
|
110723
112078
|
buffer_ref: string | null;
|
|
110724
112079
|
claimed_at: string | null;
|
|
110725
112080
|
claimed_by: string | null;
|
|
@@ -110729,6 +112084,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110729
112084
|
due_at: string | null;
|
|
110730
112085
|
error: string | null;
|
|
110731
112086
|
id: string;
|
|
112087
|
+
last_error: string | null;
|
|
112088
|
+
next_attempt_at: string | null;
|
|
110732
112089
|
order_ref: string;
|
|
110733
112090
|
owner_module: string;
|
|
110734
112091
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -110749,6 +112106,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110749
112106
|
user_id: string;
|
|
110750
112107
|
};
|
|
110751
112108
|
Insert: {
|
|
112109
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
112110
|
+
attempts?: number;
|
|
110752
112111
|
buffer_ref?: string | null;
|
|
110753
112112
|
claimed_at?: string | null;
|
|
110754
112113
|
claimed_by?: string | null;
|
|
@@ -110758,6 +112117,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110758
112117
|
due_at?: string | null;
|
|
110759
112118
|
error?: string | null;
|
|
110760
112119
|
id?: string;
|
|
112120
|
+
last_error?: string | null;
|
|
112121
|
+
next_attempt_at?: string | null;
|
|
110761
112122
|
order_ref: string;
|
|
110762
112123
|
owner_module: string;
|
|
110763
112124
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -110778,6 +112139,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110778
112139
|
user_id?: string;
|
|
110779
112140
|
};
|
|
110780
112141
|
Update: {
|
|
112142
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
112143
|
+
attempts?: number;
|
|
110781
112144
|
buffer_ref?: string | null;
|
|
110782
112145
|
claimed_at?: string | null;
|
|
110783
112146
|
claimed_by?: string | null;
|
|
@@ -110787,6 +112150,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
110787
112150
|
due_at?: string | null;
|
|
110788
112151
|
error?: string | null;
|
|
110789
112152
|
id?: string;
|
|
112153
|
+
last_error?: string | null;
|
|
112154
|
+
next_attempt_at?: string | null;
|
|
110790
112155
|
order_ref?: string;
|
|
110791
112156
|
owner_module?: string;
|
|
110792
112157
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -119791,6 +121156,85 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
119791
121156
|
};
|
|
119792
121157
|
Returns: import("../integrations/supabase/types").Json;
|
|
119793
121158
|
};
|
|
121159
|
+
claim_floriday_stock_queue: {
|
|
121160
|
+
Args: {
|
|
121161
|
+
p_limit?: number;
|
|
121162
|
+
p_worker?: string;
|
|
121163
|
+
};
|
|
121164
|
+
Returns: {
|
|
121165
|
+
attempts: number;
|
|
121166
|
+
connection_id: string;
|
|
121167
|
+
created_at: string;
|
|
121168
|
+
desired_available: boolean | null;
|
|
121169
|
+
gateway_attempt_id: string | null;
|
|
121170
|
+
id: string;
|
|
121171
|
+
last_error: string | null;
|
|
121172
|
+
locked_at: string | null;
|
|
121173
|
+
locked_by: string | null;
|
|
121174
|
+
next_attempt_at: string;
|
|
121175
|
+
number_of_pieces: number;
|
|
121176
|
+
sent_at: string | null;
|
|
121177
|
+
status: string;
|
|
121178
|
+
superseded_by: string | null;
|
|
121179
|
+
trade_item_id: string;
|
|
121180
|
+
updated_at: string;
|
|
121181
|
+
user_id: string;
|
|
121182
|
+
}[];
|
|
121183
|
+
SetofOptions: {
|
|
121184
|
+
from: "*";
|
|
121185
|
+
to: "floriday_continuous_stock_queue";
|
|
121186
|
+
isOneToOne: false;
|
|
121187
|
+
isSetofReturn: true;
|
|
121188
|
+
};
|
|
121189
|
+
};
|
|
121190
|
+
claim_logistics_tasks: {
|
|
121191
|
+
Args: {
|
|
121192
|
+
_limit?: number;
|
|
121193
|
+
_owner_module: string;
|
|
121194
|
+
_stale_minutes?: number;
|
|
121195
|
+
_task_type: string;
|
|
121196
|
+
_worker: string;
|
|
121197
|
+
};
|
|
121198
|
+
Returns: {
|
|
121199
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
121200
|
+
attempts: number;
|
|
121201
|
+
buffer_ref: string | null;
|
|
121202
|
+
claimed_at: string | null;
|
|
121203
|
+
claimed_by: string | null;
|
|
121204
|
+
completed_at: string | null;
|
|
121205
|
+
created_at: string;
|
|
121206
|
+
depends_on: string[];
|
|
121207
|
+
due_at: string | null;
|
|
121208
|
+
error: string | null;
|
|
121209
|
+
id: string;
|
|
121210
|
+
last_error: string | null;
|
|
121211
|
+
next_attempt_at: string | null;
|
|
121212
|
+
order_ref: string;
|
|
121213
|
+
owner_module: string;
|
|
121214
|
+
payload: import("../integrations/supabase/types").Json;
|
|
121215
|
+
plan_run_id: string | null;
|
|
121216
|
+
planned_end: string | null;
|
|
121217
|
+
planned_start: string | null;
|
|
121218
|
+
priority: number;
|
|
121219
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
121220
|
+
rule_config_id: string | null;
|
|
121221
|
+
rule_version: number | null;
|
|
121222
|
+
sequence: number;
|
|
121223
|
+
shadow: boolean;
|
|
121224
|
+
started_at: string | null;
|
|
121225
|
+
status: string;
|
|
121226
|
+
strategy_id: string | null;
|
|
121227
|
+
task_type: string;
|
|
121228
|
+
updated_at: string;
|
|
121229
|
+
user_id: string;
|
|
121230
|
+
}[];
|
|
121231
|
+
SetofOptions: {
|
|
121232
|
+
from: "*";
|
|
121233
|
+
to: "logistics_tasks";
|
|
121234
|
+
isOneToOne: false;
|
|
121235
|
+
isSetofReturn: true;
|
|
121236
|
+
};
|
|
121237
|
+
};
|
|
119794
121238
|
claim_print_jobs: {
|
|
119795
121239
|
Args: {
|
|
119796
121240
|
_agent_id: string;
|
|
@@ -119855,10 +121299,24 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
119855
121299
|
isSetofReturn: true;
|
|
119856
121300
|
};
|
|
119857
121301
|
};
|
|
121302
|
+
cleanup_floriday_stock_queue: {
|
|
121303
|
+
Args: never;
|
|
121304
|
+
Returns: undefined;
|
|
121305
|
+
};
|
|
119858
121306
|
cleanup_old_bookings: {
|
|
119859
121307
|
Args: never;
|
|
119860
121308
|
Returns: undefined;
|
|
119861
121309
|
};
|
|
121310
|
+
complete_floriday_stock_queue: {
|
|
121311
|
+
Args: {
|
|
121312
|
+
p_attempt_id?: string;
|
|
121313
|
+
p_error?: string;
|
|
121314
|
+
p_id: string;
|
|
121315
|
+
p_ok: boolean;
|
|
121316
|
+
p_permanent?: boolean;
|
|
121317
|
+
};
|
|
121318
|
+
Returns: undefined;
|
|
121319
|
+
};
|
|
119862
121320
|
consume_bom_for_production: {
|
|
119863
121321
|
Args: {
|
|
119864
121322
|
p_connection_id: string;
|
|
@@ -120550,6 +122008,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120550
122008
|
p_worker?: string;
|
|
120551
122009
|
};
|
|
120552
122010
|
Returns: {
|
|
122011
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122012
|
+
attempts: number;
|
|
120553
122013
|
buffer_ref: string | null;
|
|
120554
122014
|
claimed_at: string | null;
|
|
120555
122015
|
claimed_by: string | null;
|
|
@@ -120559,6 +122019,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120559
122019
|
due_at: string | null;
|
|
120560
122020
|
error: string | null;
|
|
120561
122021
|
id: string;
|
|
122022
|
+
last_error: string | null;
|
|
122023
|
+
next_attempt_at: string | null;
|
|
120562
122024
|
order_ref: string;
|
|
120563
122025
|
owner_module: string;
|
|
120564
122026
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -120591,6 +122053,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120591
122053
|
p_worker?: string;
|
|
120592
122054
|
};
|
|
120593
122055
|
Returns: {
|
|
122056
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122057
|
+
attempts: number;
|
|
120594
122058
|
buffer_ref: string | null;
|
|
120595
122059
|
claimed_at: string | null;
|
|
120596
122060
|
claimed_by: string | null;
|
|
@@ -120600,6 +122064,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120600
122064
|
due_at: string | null;
|
|
120601
122065
|
error: string | null;
|
|
120602
122066
|
id: string;
|
|
122067
|
+
last_error: string | null;
|
|
122068
|
+
next_attempt_at: string | null;
|
|
120603
122069
|
order_ref: string;
|
|
120604
122070
|
owner_module: string;
|
|
120605
122071
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -120632,6 +122098,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120632
122098
|
p_task_id: string;
|
|
120633
122099
|
};
|
|
120634
122100
|
Returns: {
|
|
122101
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122102
|
+
attempts: number;
|
|
120635
122103
|
buffer_ref: string | null;
|
|
120636
122104
|
claimed_at: string | null;
|
|
120637
122105
|
claimed_by: string | null;
|
|
@@ -120641,6 +122109,102 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120641
122109
|
due_at: string | null;
|
|
120642
122110
|
error: string | null;
|
|
120643
122111
|
id: string;
|
|
122112
|
+
last_error: string | null;
|
|
122113
|
+
next_attempt_at: string | null;
|
|
122114
|
+
order_ref: string;
|
|
122115
|
+
owner_module: string;
|
|
122116
|
+
payload: import("../integrations/supabase/types").Json;
|
|
122117
|
+
plan_run_id: string | null;
|
|
122118
|
+
planned_end: string | null;
|
|
122119
|
+
planned_start: string | null;
|
|
122120
|
+
priority: number;
|
|
122121
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
122122
|
+
rule_config_id: string | null;
|
|
122123
|
+
rule_version: number | null;
|
|
122124
|
+
sequence: number;
|
|
122125
|
+
shadow: boolean;
|
|
122126
|
+
started_at: string | null;
|
|
122127
|
+
status: string;
|
|
122128
|
+
strategy_id: string | null;
|
|
122129
|
+
task_type: string;
|
|
122130
|
+
updated_at: string;
|
|
122131
|
+
user_id: string;
|
|
122132
|
+
};
|
|
122133
|
+
SetofOptions: {
|
|
122134
|
+
from: "*";
|
|
122135
|
+
to: "logistics_tasks";
|
|
122136
|
+
isOneToOne: true;
|
|
122137
|
+
isSetofReturn: false;
|
|
122138
|
+
};
|
|
122139
|
+
};
|
|
122140
|
+
logistics_delay_customer_email: {
|
|
122141
|
+
Args: {
|
|
122142
|
+
p_customer: string;
|
|
122143
|
+
p_lang: string;
|
|
122144
|
+
p_new_date: string;
|
|
122145
|
+
p_order: string;
|
|
122146
|
+
p_partial?: boolean;
|
|
122147
|
+
};
|
|
122148
|
+
Returns: {
|
|
122149
|
+
body: string;
|
|
122150
|
+
subject: string;
|
|
122151
|
+
}[];
|
|
122152
|
+
};
|
|
122153
|
+
logistics_document_layout: {
|
|
122154
|
+
Args: {
|
|
122155
|
+
_document_code: string;
|
|
122156
|
+
};
|
|
122157
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122158
|
+
};
|
|
122159
|
+
logistics_document_station: {
|
|
122160
|
+
Args: {
|
|
122161
|
+
_document_code: string;
|
|
122162
|
+
};
|
|
122163
|
+
Returns: string;
|
|
122164
|
+
};
|
|
122165
|
+
logistics_emit_event: {
|
|
122166
|
+
Args: {
|
|
122167
|
+
p_event_type: string;
|
|
122168
|
+
p_idempotency_key?: string;
|
|
122169
|
+
p_order_ref: string;
|
|
122170
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
122171
|
+
p_shadow?: boolean;
|
|
122172
|
+
p_source_module: string;
|
|
122173
|
+
p_strategy_id?: string;
|
|
122174
|
+
};
|
|
122175
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122176
|
+
} | {
|
|
122177
|
+
Args: {
|
|
122178
|
+
p_event_type: string;
|
|
122179
|
+
p_idempotency_key?: string;
|
|
122180
|
+
p_order_ref: string;
|
|
122181
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
122182
|
+
p_priority?: number;
|
|
122183
|
+
p_shadow?: boolean;
|
|
122184
|
+
p_source_module: string;
|
|
122185
|
+
p_strategy_id?: string;
|
|
122186
|
+
};
|
|
122187
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122188
|
+
};
|
|
122189
|
+
logistics_fail_task: {
|
|
122190
|
+
Args: {
|
|
122191
|
+
p_error: string;
|
|
122192
|
+
p_task_id: string;
|
|
122193
|
+
};
|
|
122194
|
+
Returns: {
|
|
122195
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122196
|
+
attempts: number;
|
|
122197
|
+
buffer_ref: string | null;
|
|
122198
|
+
claimed_at: string | null;
|
|
122199
|
+
claimed_by: string | null;
|
|
122200
|
+
completed_at: string | null;
|
|
122201
|
+
created_at: string;
|
|
122202
|
+
depends_on: string[];
|
|
122203
|
+
due_at: string | null;
|
|
122204
|
+
error: string | null;
|
|
122205
|
+
id: string;
|
|
122206
|
+
last_error: string | null;
|
|
122207
|
+
next_attempt_at: string | null;
|
|
120644
122208
|
order_ref: string;
|
|
120645
122209
|
owner_module: string;
|
|
120646
122210
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -120667,95 +122231,50 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
120667
122231
|
isSetofReturn: false;
|
|
120668
122232
|
};
|
|
120669
122233
|
};
|
|
120670
|
-
|
|
122234
|
+
logistics_floriday_claim_pushes: {
|
|
120671
122235
|
Args: {
|
|
120672
|
-
|
|
120673
|
-
|
|
120674
|
-
|
|
120675
|
-
p_order: string;
|
|
120676
|
-
p_partial?: boolean;
|
|
122236
|
+
_lease_seconds?: number;
|
|
122237
|
+
_limit?: number;
|
|
122238
|
+
_worker?: string;
|
|
120677
122239
|
};
|
|
120678
122240
|
Returns: {
|
|
120679
|
-
|
|
120680
|
-
|
|
122241
|
+
attempts: number;
|
|
122242
|
+
fulfillment_order_id: string;
|
|
122243
|
+
id: string;
|
|
122244
|
+
last_sent_hash: string;
|
|
122245
|
+
order_ref: string;
|
|
122246
|
+
payload: import("../integrations/supabase/types").Json;
|
|
122247
|
+
payload_hash: string;
|
|
122248
|
+
revision: number;
|
|
120681
122249
|
}[];
|
|
120682
122250
|
};
|
|
120683
|
-
|
|
120684
|
-
Args: {
|
|
120685
|
-
_document_code: string;
|
|
120686
|
-
};
|
|
120687
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
120688
|
-
};
|
|
120689
|
-
logistics_document_station: {
|
|
122251
|
+
logistics_floriday_finish_push: {
|
|
120690
122252
|
Args: {
|
|
120691
|
-
|
|
122253
|
+
_error?: string;
|
|
122254
|
+
_fulfillment_order_id?: string;
|
|
122255
|
+
_id: string;
|
|
122256
|
+
_max_age_hours?: number;
|
|
122257
|
+
_max_attempts?: number;
|
|
122258
|
+
_ok: boolean;
|
|
122259
|
+
_permanent?: boolean;
|
|
122260
|
+
_revision: number;
|
|
122261
|
+
_sent_hash?: string;
|
|
120692
122262
|
};
|
|
120693
122263
|
Returns: string;
|
|
120694
122264
|
};
|
|
120695
|
-
|
|
120696
|
-
Args: {
|
|
120697
|
-
p_event_type: string;
|
|
120698
|
-
p_idempotency_key?: string;
|
|
120699
|
-
p_order_ref: string;
|
|
120700
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
120701
|
-
p_shadow?: boolean;
|
|
120702
|
-
p_source_module: string;
|
|
120703
|
-
p_strategy_id?: string;
|
|
120704
|
-
};
|
|
120705
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
120706
|
-
} | {
|
|
122265
|
+
logistics_floriday_prune_pushes: {
|
|
120707
122266
|
Args: {
|
|
120708
|
-
|
|
120709
|
-
p_idempotency_key?: string;
|
|
120710
|
-
p_order_ref: string;
|
|
120711
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
120712
|
-
p_priority?: number;
|
|
120713
|
-
p_shadow?: boolean;
|
|
120714
|
-
p_source_module: string;
|
|
120715
|
-
p_strategy_id?: string;
|
|
122267
|
+
_days?: number;
|
|
120716
122268
|
};
|
|
120717
|
-
Returns:
|
|
122269
|
+
Returns: number;
|
|
120718
122270
|
};
|
|
120719
|
-
|
|
122271
|
+
logistics_floriday_queue_push: {
|
|
120720
122272
|
Args: {
|
|
120721
|
-
|
|
120722
|
-
|
|
120723
|
-
|
|
120724
|
-
Returns: {
|
|
120725
|
-
buffer_ref: string | null;
|
|
120726
|
-
claimed_at: string | null;
|
|
120727
|
-
claimed_by: string | null;
|
|
120728
|
-
completed_at: string | null;
|
|
120729
|
-
created_at: string;
|
|
120730
|
-
depends_on: string[];
|
|
120731
|
-
due_at: string | null;
|
|
120732
|
-
error: string | null;
|
|
120733
|
-
id: string;
|
|
120734
|
-
order_ref: string;
|
|
120735
|
-
owner_module: string;
|
|
120736
|
-
payload: import("../integrations/supabase/types").Json;
|
|
120737
|
-
plan_run_id: string | null;
|
|
120738
|
-
planned_end: string | null;
|
|
120739
|
-
planned_start: string | null;
|
|
120740
|
-
priority: number;
|
|
120741
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
120742
|
-
rule_config_id: string | null;
|
|
120743
|
-
rule_version: number | null;
|
|
120744
|
-
sequence: number;
|
|
120745
|
-
shadow: boolean;
|
|
120746
|
-
started_at: string | null;
|
|
120747
|
-
status: string;
|
|
120748
|
-
strategy_id: string | null;
|
|
120749
|
-
task_type: string;
|
|
120750
|
-
updated_at: string;
|
|
120751
|
-
user_id: string;
|
|
120752
|
-
};
|
|
120753
|
-
SetofOptions: {
|
|
120754
|
-
from: "*";
|
|
120755
|
-
to: "logistics_tasks";
|
|
120756
|
-
isOneToOne: true;
|
|
120757
|
-
isSetofReturn: false;
|
|
122273
|
+
_order_ref: string;
|
|
122274
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
122275
|
+
_payload_hash?: string;
|
|
120758
122276
|
};
|
|
122277
|
+
Returns: string;
|
|
120759
122278
|
};
|
|
120760
122279
|
logistics_live_carriers: {
|
|
120761
122280
|
Args: {
|
|
@@ -121484,6 +123003,10 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
121484
123003
|
Args: never;
|
|
121485
123004
|
Returns: undefined;
|
|
121486
123005
|
};
|
|
123006
|
+
run_logistics_tasks_dispatch: {
|
|
123007
|
+
Args: never;
|
|
123008
|
+
Returns: undefined;
|
|
123009
|
+
};
|
|
121487
123010
|
run_twinfield_queue_tick: {
|
|
121488
123011
|
Args: never;
|
|
121489
123012
|
Returns: undefined;
|
|
@@ -121724,6 +123247,13 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
121724
123247
|
};
|
|
121725
123248
|
Returns: number;
|
|
121726
123249
|
};
|
|
123250
|
+
schedule_floriday_stock_queue_process: {
|
|
123251
|
+
Args: {
|
|
123252
|
+
p_apikey: string;
|
|
123253
|
+
p_url: string;
|
|
123254
|
+
};
|
|
123255
|
+
Returns: number;
|
|
123256
|
+
};
|
|
121727
123257
|
schedule_floriday_token_refresh: {
|
|
121728
123258
|
Args: {
|
|
121729
123259
|
p_apikey: string;
|
|
@@ -127634,12 +129164,17 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
127634
129164
|
attempts: number;
|
|
127635
129165
|
connection_id: string;
|
|
127636
129166
|
created_at: string;
|
|
129167
|
+
desired_available: boolean | null;
|
|
127637
129168
|
gateway_attempt_id: string | null;
|
|
127638
129169
|
id: string;
|
|
127639
129170
|
last_error: string | null;
|
|
129171
|
+
locked_at: string | null;
|
|
129172
|
+
locked_by: string | null;
|
|
129173
|
+
next_attempt_at: string;
|
|
127640
129174
|
number_of_pieces: number;
|
|
127641
129175
|
sent_at: string | null;
|
|
127642
129176
|
status: string;
|
|
129177
|
+
superseded_by: string | null;
|
|
127643
129178
|
trade_item_id: string;
|
|
127644
129179
|
updated_at: string;
|
|
127645
129180
|
user_id: string;
|
|
@@ -127648,12 +129183,17 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
127648
129183
|
attempts?: number;
|
|
127649
129184
|
connection_id: string;
|
|
127650
129185
|
created_at?: string;
|
|
129186
|
+
desired_available?: boolean | null;
|
|
127651
129187
|
gateway_attempt_id?: string | null;
|
|
127652
129188
|
id?: string;
|
|
127653
129189
|
last_error?: string | null;
|
|
129190
|
+
locked_at?: string | null;
|
|
129191
|
+
locked_by?: string | null;
|
|
129192
|
+
next_attempt_at?: string;
|
|
127654
129193
|
number_of_pieces?: number;
|
|
127655
129194
|
sent_at?: string | null;
|
|
127656
129195
|
status?: string;
|
|
129196
|
+
superseded_by?: string | null;
|
|
127657
129197
|
trade_item_id: string;
|
|
127658
129198
|
updated_at?: string;
|
|
127659
129199
|
user_id: string;
|
|
@@ -127662,12 +129202,17 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
127662
129202
|
attempts?: number;
|
|
127663
129203
|
connection_id?: string;
|
|
127664
129204
|
created_at?: string;
|
|
129205
|
+
desired_available?: boolean | null;
|
|
127665
129206
|
gateway_attempt_id?: string | null;
|
|
127666
129207
|
id?: string;
|
|
127667
129208
|
last_error?: string | null;
|
|
129209
|
+
locked_at?: string | null;
|
|
129210
|
+
locked_by?: string | null;
|
|
129211
|
+
next_attempt_at?: string;
|
|
127668
129212
|
number_of_pieces?: number;
|
|
127669
129213
|
sent_at?: string | null;
|
|
127670
129214
|
status?: string;
|
|
129215
|
+
superseded_by?: string | null;
|
|
127671
129216
|
trade_item_id?: string;
|
|
127672
129217
|
updated_at?: string;
|
|
127673
129218
|
user_id?: string;
|
|
@@ -130416,6 +131961,69 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
130416
131961
|
};
|
|
130417
131962
|
Relationships: [];
|
|
130418
131963
|
};
|
|
131964
|
+
logistics_floriday_pushes: {
|
|
131965
|
+
Row: {
|
|
131966
|
+
attempts: number;
|
|
131967
|
+
created_at: string;
|
|
131968
|
+
first_queued_at: string;
|
|
131969
|
+
fulfillment_order_id: string | null;
|
|
131970
|
+
id: string;
|
|
131971
|
+
last_error: string | null;
|
|
131972
|
+
last_error_at: string | null;
|
|
131973
|
+
last_sent_hash: string | null;
|
|
131974
|
+
locked_by: string | null;
|
|
131975
|
+
locked_until: string | null;
|
|
131976
|
+
next_attempt_at: string;
|
|
131977
|
+
order_ref: string;
|
|
131978
|
+
payload: import("../integrations/supabase/types").Json;
|
|
131979
|
+
payload_hash: string | null;
|
|
131980
|
+
revision: number;
|
|
131981
|
+
sent_at: string | null;
|
|
131982
|
+
status: string;
|
|
131983
|
+
updated_at: string;
|
|
131984
|
+
};
|
|
131985
|
+
Insert: {
|
|
131986
|
+
attempts?: number;
|
|
131987
|
+
created_at?: string;
|
|
131988
|
+
first_queued_at?: string;
|
|
131989
|
+
fulfillment_order_id?: string | null;
|
|
131990
|
+
id?: string;
|
|
131991
|
+
last_error?: string | null;
|
|
131992
|
+
last_error_at?: string | null;
|
|
131993
|
+
last_sent_hash?: string | null;
|
|
131994
|
+
locked_by?: string | null;
|
|
131995
|
+
locked_until?: string | null;
|
|
131996
|
+
next_attempt_at?: string;
|
|
131997
|
+
order_ref: string;
|
|
131998
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
131999
|
+
payload_hash?: string | null;
|
|
132000
|
+
revision?: number;
|
|
132001
|
+
sent_at?: string | null;
|
|
132002
|
+
status?: string;
|
|
132003
|
+
updated_at?: string;
|
|
132004
|
+
};
|
|
132005
|
+
Update: {
|
|
132006
|
+
attempts?: number;
|
|
132007
|
+
created_at?: string;
|
|
132008
|
+
first_queued_at?: string;
|
|
132009
|
+
fulfillment_order_id?: string | null;
|
|
132010
|
+
id?: string;
|
|
132011
|
+
last_error?: string | null;
|
|
132012
|
+
last_error_at?: string | null;
|
|
132013
|
+
last_sent_hash?: string | null;
|
|
132014
|
+
locked_by?: string | null;
|
|
132015
|
+
locked_until?: string | null;
|
|
132016
|
+
next_attempt_at?: string;
|
|
132017
|
+
order_ref?: string;
|
|
132018
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
132019
|
+
payload_hash?: string | null;
|
|
132020
|
+
revision?: number;
|
|
132021
|
+
sent_at?: string | null;
|
|
132022
|
+
status?: string;
|
|
132023
|
+
updated_at?: string;
|
|
132024
|
+
};
|
|
132025
|
+
Relationships: [];
|
|
132026
|
+
};
|
|
130419
132027
|
logistics_formulas: {
|
|
130420
132028
|
Row: {
|
|
130421
132029
|
created_at: string;
|
|
@@ -131027,6 +132635,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
131027
132635
|
};
|
|
131028
132636
|
logistics_tasks: {
|
|
131029
132637
|
Row: {
|
|
132638
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
132639
|
+
attempts: number;
|
|
131030
132640
|
buffer_ref: string | null;
|
|
131031
132641
|
claimed_at: string | null;
|
|
131032
132642
|
claimed_by: string | null;
|
|
@@ -131036,6 +132646,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
131036
132646
|
due_at: string | null;
|
|
131037
132647
|
error: string | null;
|
|
131038
132648
|
id: string;
|
|
132649
|
+
last_error: string | null;
|
|
132650
|
+
next_attempt_at: string | null;
|
|
131039
132651
|
order_ref: string;
|
|
131040
132652
|
owner_module: string;
|
|
131041
132653
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -131056,6 +132668,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
131056
132668
|
user_id: string;
|
|
131057
132669
|
};
|
|
131058
132670
|
Insert: {
|
|
132671
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
132672
|
+
attempts?: number;
|
|
131059
132673
|
buffer_ref?: string | null;
|
|
131060
132674
|
claimed_at?: string | null;
|
|
131061
132675
|
claimed_by?: string | null;
|
|
@@ -131065,6 +132679,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
131065
132679
|
due_at?: string | null;
|
|
131066
132680
|
error?: string | null;
|
|
131067
132681
|
id?: string;
|
|
132682
|
+
last_error?: string | null;
|
|
132683
|
+
next_attempt_at?: string | null;
|
|
131068
132684
|
order_ref: string;
|
|
131069
132685
|
owner_module: string;
|
|
131070
132686
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -131085,6 +132701,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
131085
132701
|
user_id?: string;
|
|
131086
132702
|
};
|
|
131087
132703
|
Update: {
|
|
132704
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
132705
|
+
attempts?: number;
|
|
131088
132706
|
buffer_ref?: string | null;
|
|
131089
132707
|
claimed_at?: string | null;
|
|
131090
132708
|
claimed_by?: string | null;
|
|
@@ -131094,6 +132712,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
131094
132712
|
due_at?: string | null;
|
|
131095
132713
|
error?: string | null;
|
|
131096
132714
|
id?: string;
|
|
132715
|
+
last_error?: string | null;
|
|
132716
|
+
next_attempt_at?: string | null;
|
|
131097
132717
|
order_ref?: string;
|
|
131098
132718
|
owner_module?: string;
|
|
131099
132719
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -140098,6 +141718,85 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140098
141718
|
};
|
|
140099
141719
|
Returns: import("../integrations/supabase/types").Json;
|
|
140100
141720
|
};
|
|
141721
|
+
claim_floriday_stock_queue: {
|
|
141722
|
+
Args: {
|
|
141723
|
+
p_limit?: number;
|
|
141724
|
+
p_worker?: string;
|
|
141725
|
+
};
|
|
141726
|
+
Returns: {
|
|
141727
|
+
attempts: number;
|
|
141728
|
+
connection_id: string;
|
|
141729
|
+
created_at: string;
|
|
141730
|
+
desired_available: boolean | null;
|
|
141731
|
+
gateway_attempt_id: string | null;
|
|
141732
|
+
id: string;
|
|
141733
|
+
last_error: string | null;
|
|
141734
|
+
locked_at: string | null;
|
|
141735
|
+
locked_by: string | null;
|
|
141736
|
+
next_attempt_at: string;
|
|
141737
|
+
number_of_pieces: number;
|
|
141738
|
+
sent_at: string | null;
|
|
141739
|
+
status: string;
|
|
141740
|
+
superseded_by: string | null;
|
|
141741
|
+
trade_item_id: string;
|
|
141742
|
+
updated_at: string;
|
|
141743
|
+
user_id: string;
|
|
141744
|
+
}[];
|
|
141745
|
+
SetofOptions: {
|
|
141746
|
+
from: "*";
|
|
141747
|
+
to: "floriday_continuous_stock_queue";
|
|
141748
|
+
isOneToOne: false;
|
|
141749
|
+
isSetofReturn: true;
|
|
141750
|
+
};
|
|
141751
|
+
};
|
|
141752
|
+
claim_logistics_tasks: {
|
|
141753
|
+
Args: {
|
|
141754
|
+
_limit?: number;
|
|
141755
|
+
_owner_module: string;
|
|
141756
|
+
_stale_minutes?: number;
|
|
141757
|
+
_task_type: string;
|
|
141758
|
+
_worker: string;
|
|
141759
|
+
};
|
|
141760
|
+
Returns: {
|
|
141761
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
141762
|
+
attempts: number;
|
|
141763
|
+
buffer_ref: string | null;
|
|
141764
|
+
claimed_at: string | null;
|
|
141765
|
+
claimed_by: string | null;
|
|
141766
|
+
completed_at: string | null;
|
|
141767
|
+
created_at: string;
|
|
141768
|
+
depends_on: string[];
|
|
141769
|
+
due_at: string | null;
|
|
141770
|
+
error: string | null;
|
|
141771
|
+
id: string;
|
|
141772
|
+
last_error: string | null;
|
|
141773
|
+
next_attempt_at: string | null;
|
|
141774
|
+
order_ref: string;
|
|
141775
|
+
owner_module: string;
|
|
141776
|
+
payload: import("../integrations/supabase/types").Json;
|
|
141777
|
+
plan_run_id: string | null;
|
|
141778
|
+
planned_end: string | null;
|
|
141779
|
+
planned_start: string | null;
|
|
141780
|
+
priority: number;
|
|
141781
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
141782
|
+
rule_config_id: string | null;
|
|
141783
|
+
rule_version: number | null;
|
|
141784
|
+
sequence: number;
|
|
141785
|
+
shadow: boolean;
|
|
141786
|
+
started_at: string | null;
|
|
141787
|
+
status: string;
|
|
141788
|
+
strategy_id: string | null;
|
|
141789
|
+
task_type: string;
|
|
141790
|
+
updated_at: string;
|
|
141791
|
+
user_id: string;
|
|
141792
|
+
}[];
|
|
141793
|
+
SetofOptions: {
|
|
141794
|
+
from: "*";
|
|
141795
|
+
to: "logistics_tasks";
|
|
141796
|
+
isOneToOne: false;
|
|
141797
|
+
isSetofReturn: true;
|
|
141798
|
+
};
|
|
141799
|
+
};
|
|
140101
141800
|
claim_print_jobs: {
|
|
140102
141801
|
Args: {
|
|
140103
141802
|
_agent_id: string;
|
|
@@ -140162,10 +141861,24 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140162
141861
|
isSetofReturn: true;
|
|
140163
141862
|
};
|
|
140164
141863
|
};
|
|
141864
|
+
cleanup_floriday_stock_queue: {
|
|
141865
|
+
Args: never;
|
|
141866
|
+
Returns: undefined;
|
|
141867
|
+
};
|
|
140165
141868
|
cleanup_old_bookings: {
|
|
140166
141869
|
Args: never;
|
|
140167
141870
|
Returns: undefined;
|
|
140168
141871
|
};
|
|
141872
|
+
complete_floriday_stock_queue: {
|
|
141873
|
+
Args: {
|
|
141874
|
+
p_attempt_id?: string;
|
|
141875
|
+
p_error?: string;
|
|
141876
|
+
p_id: string;
|
|
141877
|
+
p_ok: boolean;
|
|
141878
|
+
p_permanent?: boolean;
|
|
141879
|
+
};
|
|
141880
|
+
Returns: undefined;
|
|
141881
|
+
};
|
|
140169
141882
|
consume_bom_for_production: {
|
|
140170
141883
|
Args: {
|
|
140171
141884
|
p_connection_id: string;
|
|
@@ -140857,6 +142570,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140857
142570
|
p_worker?: string;
|
|
140858
142571
|
};
|
|
140859
142572
|
Returns: {
|
|
142573
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142574
|
+
attempts: number;
|
|
140860
142575
|
buffer_ref: string | null;
|
|
140861
142576
|
claimed_at: string | null;
|
|
140862
142577
|
claimed_by: string | null;
|
|
@@ -140866,6 +142581,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140866
142581
|
due_at: string | null;
|
|
140867
142582
|
error: string | null;
|
|
140868
142583
|
id: string;
|
|
142584
|
+
last_error: string | null;
|
|
142585
|
+
next_attempt_at: string | null;
|
|
140869
142586
|
order_ref: string;
|
|
140870
142587
|
owner_module: string;
|
|
140871
142588
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -140898,6 +142615,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140898
142615
|
p_worker?: string;
|
|
140899
142616
|
};
|
|
140900
142617
|
Returns: {
|
|
142618
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142619
|
+
attempts: number;
|
|
140901
142620
|
buffer_ref: string | null;
|
|
140902
142621
|
claimed_at: string | null;
|
|
140903
142622
|
claimed_by: string | null;
|
|
@@ -140907,6 +142626,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140907
142626
|
due_at: string | null;
|
|
140908
142627
|
error: string | null;
|
|
140909
142628
|
id: string;
|
|
142629
|
+
last_error: string | null;
|
|
142630
|
+
next_attempt_at: string | null;
|
|
140910
142631
|
order_ref: string;
|
|
140911
142632
|
owner_module: string;
|
|
140912
142633
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -140939,6 +142660,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140939
142660
|
p_task_id: string;
|
|
140940
142661
|
};
|
|
140941
142662
|
Returns: {
|
|
142663
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142664
|
+
attempts: number;
|
|
140942
142665
|
buffer_ref: string | null;
|
|
140943
142666
|
claimed_at: string | null;
|
|
140944
142667
|
claimed_by: string | null;
|
|
@@ -140948,6 +142671,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
140948
142671
|
due_at: string | null;
|
|
140949
142672
|
error: string | null;
|
|
140950
142673
|
id: string;
|
|
142674
|
+
last_error: string | null;
|
|
142675
|
+
next_attempt_at: string | null;
|
|
140951
142676
|
order_ref: string;
|
|
140952
142677
|
owner_module: string;
|
|
140953
142678
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -141029,6 +142754,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
141029
142754
|
p_task_id: string;
|
|
141030
142755
|
};
|
|
141031
142756
|
Returns: {
|
|
142757
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142758
|
+
attempts: number;
|
|
141032
142759
|
buffer_ref: string | null;
|
|
141033
142760
|
claimed_at: string | null;
|
|
141034
142761
|
claimed_by: string | null;
|
|
@@ -141038,6 +142765,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
141038
142765
|
due_at: string | null;
|
|
141039
142766
|
error: string | null;
|
|
141040
142767
|
id: string;
|
|
142768
|
+
last_error: string | null;
|
|
142769
|
+
next_attempt_at: string | null;
|
|
141041
142770
|
order_ref: string;
|
|
141042
142771
|
owner_module: string;
|
|
141043
142772
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -141064,6 +142793,51 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
141064
142793
|
isSetofReturn: false;
|
|
141065
142794
|
};
|
|
141066
142795
|
};
|
|
142796
|
+
logistics_floriday_claim_pushes: {
|
|
142797
|
+
Args: {
|
|
142798
|
+
_lease_seconds?: number;
|
|
142799
|
+
_limit?: number;
|
|
142800
|
+
_worker?: string;
|
|
142801
|
+
};
|
|
142802
|
+
Returns: {
|
|
142803
|
+
attempts: number;
|
|
142804
|
+
fulfillment_order_id: string;
|
|
142805
|
+
id: string;
|
|
142806
|
+
last_sent_hash: string;
|
|
142807
|
+
order_ref: string;
|
|
142808
|
+
payload: import("../integrations/supabase/types").Json;
|
|
142809
|
+
payload_hash: string;
|
|
142810
|
+
revision: number;
|
|
142811
|
+
}[];
|
|
142812
|
+
};
|
|
142813
|
+
logistics_floriday_finish_push: {
|
|
142814
|
+
Args: {
|
|
142815
|
+
_error?: string;
|
|
142816
|
+
_fulfillment_order_id?: string;
|
|
142817
|
+
_id: string;
|
|
142818
|
+
_max_age_hours?: number;
|
|
142819
|
+
_max_attempts?: number;
|
|
142820
|
+
_ok: boolean;
|
|
142821
|
+
_permanent?: boolean;
|
|
142822
|
+
_revision: number;
|
|
142823
|
+
_sent_hash?: string;
|
|
142824
|
+
};
|
|
142825
|
+
Returns: string;
|
|
142826
|
+
};
|
|
142827
|
+
logistics_floriday_prune_pushes: {
|
|
142828
|
+
Args: {
|
|
142829
|
+
_days?: number;
|
|
142830
|
+
};
|
|
142831
|
+
Returns: number;
|
|
142832
|
+
};
|
|
142833
|
+
logistics_floriday_queue_push: {
|
|
142834
|
+
Args: {
|
|
142835
|
+
_order_ref: string;
|
|
142836
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
142837
|
+
_payload_hash?: string;
|
|
142838
|
+
};
|
|
142839
|
+
Returns: string;
|
|
142840
|
+
};
|
|
141067
142841
|
logistics_live_carriers: {
|
|
141068
142842
|
Args: {
|
|
141069
142843
|
p_order_ref: string;
|
|
@@ -141791,6 +143565,10 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
141791
143565
|
Args: never;
|
|
141792
143566
|
Returns: undefined;
|
|
141793
143567
|
};
|
|
143568
|
+
run_logistics_tasks_dispatch: {
|
|
143569
|
+
Args: never;
|
|
143570
|
+
Returns: undefined;
|
|
143571
|
+
};
|
|
141794
143572
|
run_twinfield_queue_tick: {
|
|
141795
143573
|
Args: never;
|
|
141796
143574
|
Returns: undefined;
|
|
@@ -142031,6 +143809,13 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
142031
143809
|
};
|
|
142032
143810
|
Returns: number;
|
|
142033
143811
|
};
|
|
143812
|
+
schedule_floriday_stock_queue_process: {
|
|
143813
|
+
Args: {
|
|
143814
|
+
p_apikey: string;
|
|
143815
|
+
p_url: string;
|
|
143816
|
+
};
|
|
143817
|
+
Returns: number;
|
|
143818
|
+
};
|
|
142034
143819
|
schedule_floriday_token_refresh: {
|
|
142035
143820
|
Args: {
|
|
142036
143821
|
p_apikey: string;
|