@flowselections/floriday-klanten-module 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +255 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +255 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +255 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +255 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +765 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +765 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +255 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-notes.functions.d.ts +510 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +255 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.d.ts +2370 -75
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +1095 -75
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +1095 -75
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +255 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +510 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +255 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +1860 -75
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +255 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +1095 -75
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +255 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +1860 -75
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +255 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +510 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +255 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5744,12 +5744,17 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
5744
5744
|
attempts: number;
|
|
5745
5745
|
connection_id: string;
|
|
5746
5746
|
created_at: string;
|
|
5747
|
+
desired_available: boolean | null;
|
|
5747
5748
|
gateway_attempt_id: string | null;
|
|
5748
5749
|
id: string;
|
|
5749
5750
|
last_error: string | null;
|
|
5751
|
+
locked_at: string | null;
|
|
5752
|
+
locked_by: string | null;
|
|
5753
|
+
next_attempt_at: string;
|
|
5750
5754
|
number_of_pieces: number;
|
|
5751
5755
|
sent_at: string | null;
|
|
5752
5756
|
status: string;
|
|
5757
|
+
superseded_by: string | null;
|
|
5753
5758
|
trade_item_id: string;
|
|
5754
5759
|
updated_at: string;
|
|
5755
5760
|
user_id: string;
|
|
@@ -5758,12 +5763,17 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
5758
5763
|
attempts?: number;
|
|
5759
5764
|
connection_id: string;
|
|
5760
5765
|
created_at?: string;
|
|
5766
|
+
desired_available?: boolean | null;
|
|
5761
5767
|
gateway_attempt_id?: string | null;
|
|
5762
5768
|
id?: string;
|
|
5763
5769
|
last_error?: string | null;
|
|
5770
|
+
locked_at?: string | null;
|
|
5771
|
+
locked_by?: string | null;
|
|
5772
|
+
next_attempt_at?: string;
|
|
5764
5773
|
number_of_pieces?: number;
|
|
5765
5774
|
sent_at?: string | null;
|
|
5766
5775
|
status?: string;
|
|
5776
|
+
superseded_by?: string | null;
|
|
5767
5777
|
trade_item_id: string;
|
|
5768
5778
|
updated_at?: string;
|
|
5769
5779
|
user_id: string;
|
|
@@ -5772,12 +5782,17 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
5772
5782
|
attempts?: number;
|
|
5773
5783
|
connection_id?: string;
|
|
5774
5784
|
created_at?: string;
|
|
5785
|
+
desired_available?: boolean | null;
|
|
5775
5786
|
gateway_attempt_id?: string | null;
|
|
5776
5787
|
id?: string;
|
|
5777
5788
|
last_error?: string | null;
|
|
5789
|
+
locked_at?: string | null;
|
|
5790
|
+
locked_by?: string | null;
|
|
5791
|
+
next_attempt_at?: string;
|
|
5778
5792
|
number_of_pieces?: number;
|
|
5779
5793
|
sent_at?: string | null;
|
|
5780
5794
|
status?: string;
|
|
5795
|
+
superseded_by?: string | null;
|
|
5781
5796
|
trade_item_id?: string;
|
|
5782
5797
|
updated_at?: string;
|
|
5783
5798
|
user_id?: string;
|
|
@@ -8526,6 +8541,69 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
8526
8541
|
};
|
|
8527
8542
|
Relationships: [];
|
|
8528
8543
|
};
|
|
8544
|
+
logistics_floriday_pushes: {
|
|
8545
|
+
Row: {
|
|
8546
|
+
attempts: number;
|
|
8547
|
+
created_at: string;
|
|
8548
|
+
first_queued_at: string;
|
|
8549
|
+
fulfillment_order_id: string | null;
|
|
8550
|
+
id: string;
|
|
8551
|
+
last_error: string | null;
|
|
8552
|
+
last_error_at: string | null;
|
|
8553
|
+
last_sent_hash: string | null;
|
|
8554
|
+
locked_by: string | null;
|
|
8555
|
+
locked_until: string | null;
|
|
8556
|
+
next_attempt_at: string;
|
|
8557
|
+
order_ref: string;
|
|
8558
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8559
|
+
payload_hash: string | null;
|
|
8560
|
+
revision: number;
|
|
8561
|
+
sent_at: string | null;
|
|
8562
|
+
status: string;
|
|
8563
|
+
updated_at: string;
|
|
8564
|
+
};
|
|
8565
|
+
Insert: {
|
|
8566
|
+
attempts?: number;
|
|
8567
|
+
created_at?: string;
|
|
8568
|
+
first_queued_at?: string;
|
|
8569
|
+
fulfillment_order_id?: string | null;
|
|
8570
|
+
id?: string;
|
|
8571
|
+
last_error?: string | null;
|
|
8572
|
+
last_error_at?: string | null;
|
|
8573
|
+
last_sent_hash?: string | null;
|
|
8574
|
+
locked_by?: string | null;
|
|
8575
|
+
locked_until?: string | null;
|
|
8576
|
+
next_attempt_at?: string;
|
|
8577
|
+
order_ref: string;
|
|
8578
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8579
|
+
payload_hash?: string | null;
|
|
8580
|
+
revision?: number;
|
|
8581
|
+
sent_at?: string | null;
|
|
8582
|
+
status?: string;
|
|
8583
|
+
updated_at?: string;
|
|
8584
|
+
};
|
|
8585
|
+
Update: {
|
|
8586
|
+
attempts?: number;
|
|
8587
|
+
created_at?: string;
|
|
8588
|
+
first_queued_at?: string;
|
|
8589
|
+
fulfillment_order_id?: string | null;
|
|
8590
|
+
id?: string;
|
|
8591
|
+
last_error?: string | null;
|
|
8592
|
+
last_error_at?: string | null;
|
|
8593
|
+
last_sent_hash?: string | null;
|
|
8594
|
+
locked_by?: string | null;
|
|
8595
|
+
locked_until?: string | null;
|
|
8596
|
+
next_attempt_at?: string;
|
|
8597
|
+
order_ref?: string;
|
|
8598
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8599
|
+
payload_hash?: string | null;
|
|
8600
|
+
revision?: number;
|
|
8601
|
+
sent_at?: string | null;
|
|
8602
|
+
status?: string;
|
|
8603
|
+
updated_at?: string;
|
|
8604
|
+
};
|
|
8605
|
+
Relationships: [];
|
|
8606
|
+
};
|
|
8529
8607
|
logistics_formulas: {
|
|
8530
8608
|
Row: {
|
|
8531
8609
|
created_at: string;
|
|
@@ -9137,6 +9215,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
9137
9215
|
};
|
|
9138
9216
|
logistics_tasks: {
|
|
9139
9217
|
Row: {
|
|
9218
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9219
|
+
attempts: number;
|
|
9140
9220
|
buffer_ref: string | null;
|
|
9141
9221
|
claimed_at: string | null;
|
|
9142
9222
|
claimed_by: string | null;
|
|
@@ -9146,6 +9226,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
9146
9226
|
due_at: string | null;
|
|
9147
9227
|
error: string | null;
|
|
9148
9228
|
id: string;
|
|
9229
|
+
last_error: string | null;
|
|
9230
|
+
next_attempt_at: string | null;
|
|
9149
9231
|
order_ref: string;
|
|
9150
9232
|
owner_module: string;
|
|
9151
9233
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -9166,6 +9248,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
9166
9248
|
user_id: string;
|
|
9167
9249
|
};
|
|
9168
9250
|
Insert: {
|
|
9251
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9252
|
+
attempts?: number;
|
|
9169
9253
|
buffer_ref?: string | null;
|
|
9170
9254
|
claimed_at?: string | null;
|
|
9171
9255
|
claimed_by?: string | null;
|
|
@@ -9175,6 +9259,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
9175
9259
|
due_at?: string | null;
|
|
9176
9260
|
error?: string | null;
|
|
9177
9261
|
id?: string;
|
|
9262
|
+
last_error?: string | null;
|
|
9263
|
+
next_attempt_at?: string | null;
|
|
9178
9264
|
order_ref: string;
|
|
9179
9265
|
owner_module: string;
|
|
9180
9266
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -9195,6 +9281,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
9195
9281
|
user_id?: string;
|
|
9196
9282
|
};
|
|
9197
9283
|
Update: {
|
|
9284
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9285
|
+
attempts?: number;
|
|
9198
9286
|
buffer_ref?: string | null;
|
|
9199
9287
|
claimed_at?: string | null;
|
|
9200
9288
|
claimed_by?: string | null;
|
|
@@ -9204,6 +9292,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
9204
9292
|
due_at?: string | null;
|
|
9205
9293
|
error?: string | null;
|
|
9206
9294
|
id?: string;
|
|
9295
|
+
last_error?: string | null;
|
|
9296
|
+
next_attempt_at?: string | null;
|
|
9207
9297
|
order_ref?: string;
|
|
9208
9298
|
owner_module?: string;
|
|
9209
9299
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -18208,6 +18298,85 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
18208
18298
|
};
|
|
18209
18299
|
Returns: import("../integrations/supabase/types").Json;
|
|
18210
18300
|
};
|
|
18301
|
+
claim_floriday_stock_queue: {
|
|
18302
|
+
Args: {
|
|
18303
|
+
p_limit?: number;
|
|
18304
|
+
p_worker?: string;
|
|
18305
|
+
};
|
|
18306
|
+
Returns: {
|
|
18307
|
+
attempts: number;
|
|
18308
|
+
connection_id: string;
|
|
18309
|
+
created_at: string;
|
|
18310
|
+
desired_available: boolean | null;
|
|
18311
|
+
gateway_attempt_id: string | null;
|
|
18312
|
+
id: string;
|
|
18313
|
+
last_error: string | null;
|
|
18314
|
+
locked_at: string | null;
|
|
18315
|
+
locked_by: string | null;
|
|
18316
|
+
next_attempt_at: string;
|
|
18317
|
+
number_of_pieces: number;
|
|
18318
|
+
sent_at: string | null;
|
|
18319
|
+
status: string;
|
|
18320
|
+
superseded_by: string | null;
|
|
18321
|
+
trade_item_id: string;
|
|
18322
|
+
updated_at: string;
|
|
18323
|
+
user_id: string;
|
|
18324
|
+
}[];
|
|
18325
|
+
SetofOptions: {
|
|
18326
|
+
from: "*";
|
|
18327
|
+
to: "floriday_continuous_stock_queue";
|
|
18328
|
+
isOneToOne: false;
|
|
18329
|
+
isSetofReturn: true;
|
|
18330
|
+
};
|
|
18331
|
+
};
|
|
18332
|
+
claim_logistics_tasks: {
|
|
18333
|
+
Args: {
|
|
18334
|
+
_limit?: number;
|
|
18335
|
+
_owner_module: string;
|
|
18336
|
+
_stale_minutes?: number;
|
|
18337
|
+
_task_type: string;
|
|
18338
|
+
_worker: string;
|
|
18339
|
+
};
|
|
18340
|
+
Returns: {
|
|
18341
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18342
|
+
attempts: number;
|
|
18343
|
+
buffer_ref: string | null;
|
|
18344
|
+
claimed_at: string | null;
|
|
18345
|
+
claimed_by: string | null;
|
|
18346
|
+
completed_at: string | null;
|
|
18347
|
+
created_at: string;
|
|
18348
|
+
depends_on: string[];
|
|
18349
|
+
due_at: string | null;
|
|
18350
|
+
error: string | null;
|
|
18351
|
+
id: string;
|
|
18352
|
+
last_error: string | null;
|
|
18353
|
+
next_attempt_at: string | null;
|
|
18354
|
+
order_ref: string;
|
|
18355
|
+
owner_module: string;
|
|
18356
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18357
|
+
plan_run_id: string | null;
|
|
18358
|
+
planned_end: string | null;
|
|
18359
|
+
planned_start: string | null;
|
|
18360
|
+
priority: number;
|
|
18361
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18362
|
+
rule_config_id: string | null;
|
|
18363
|
+
rule_version: number | null;
|
|
18364
|
+
sequence: number;
|
|
18365
|
+
shadow: boolean;
|
|
18366
|
+
started_at: string | null;
|
|
18367
|
+
status: string;
|
|
18368
|
+
strategy_id: string | null;
|
|
18369
|
+
task_type: string;
|
|
18370
|
+
updated_at: string;
|
|
18371
|
+
user_id: string;
|
|
18372
|
+
}[];
|
|
18373
|
+
SetofOptions: {
|
|
18374
|
+
from: "*";
|
|
18375
|
+
to: "logistics_tasks";
|
|
18376
|
+
isOneToOne: false;
|
|
18377
|
+
isSetofReturn: true;
|
|
18378
|
+
};
|
|
18379
|
+
};
|
|
18211
18380
|
claim_print_jobs: {
|
|
18212
18381
|
Args: {
|
|
18213
18382
|
_agent_id: string;
|
|
@@ -18272,10 +18441,24 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
18272
18441
|
isSetofReturn: true;
|
|
18273
18442
|
};
|
|
18274
18443
|
};
|
|
18444
|
+
cleanup_floriday_stock_queue: {
|
|
18445
|
+
Args: never;
|
|
18446
|
+
Returns: undefined;
|
|
18447
|
+
};
|
|
18275
18448
|
cleanup_old_bookings: {
|
|
18276
18449
|
Args: never;
|
|
18277
18450
|
Returns: undefined;
|
|
18278
18451
|
};
|
|
18452
|
+
complete_floriday_stock_queue: {
|
|
18453
|
+
Args: {
|
|
18454
|
+
p_attempt_id?: string;
|
|
18455
|
+
p_error?: string;
|
|
18456
|
+
p_id: string;
|
|
18457
|
+
p_ok: boolean;
|
|
18458
|
+
p_permanent?: boolean;
|
|
18459
|
+
};
|
|
18460
|
+
Returns: undefined;
|
|
18461
|
+
};
|
|
18279
18462
|
consume_bom_for_production: {
|
|
18280
18463
|
Args: {
|
|
18281
18464
|
p_connection_id: string;
|
|
@@ -18967,6 +19150,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
18967
19150
|
p_worker?: string;
|
|
18968
19151
|
};
|
|
18969
19152
|
Returns: {
|
|
19153
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19154
|
+
attempts: number;
|
|
18970
19155
|
buffer_ref: string | null;
|
|
18971
19156
|
claimed_at: string | null;
|
|
18972
19157
|
claimed_by: string | null;
|
|
@@ -18976,6 +19161,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
18976
19161
|
due_at: string | null;
|
|
18977
19162
|
error: string | null;
|
|
18978
19163
|
id: string;
|
|
19164
|
+
last_error: string | null;
|
|
19165
|
+
next_attempt_at: string | null;
|
|
18979
19166
|
order_ref: string;
|
|
18980
19167
|
owner_module: string;
|
|
18981
19168
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19008,6 +19195,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19008
19195
|
p_worker?: string;
|
|
19009
19196
|
};
|
|
19010
19197
|
Returns: {
|
|
19198
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19199
|
+
attempts: number;
|
|
19011
19200
|
buffer_ref: string | null;
|
|
19012
19201
|
claimed_at: string | null;
|
|
19013
19202
|
claimed_by: string | null;
|
|
@@ -19017,6 +19206,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19017
19206
|
due_at: string | null;
|
|
19018
19207
|
error: string | null;
|
|
19019
19208
|
id: string;
|
|
19209
|
+
last_error: string | null;
|
|
19210
|
+
next_attempt_at: string | null;
|
|
19020
19211
|
order_ref: string;
|
|
19021
19212
|
owner_module: string;
|
|
19022
19213
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19049,6 +19240,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19049
19240
|
p_task_id: string;
|
|
19050
19241
|
};
|
|
19051
19242
|
Returns: {
|
|
19243
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19244
|
+
attempts: number;
|
|
19052
19245
|
buffer_ref: string | null;
|
|
19053
19246
|
claimed_at: string | null;
|
|
19054
19247
|
claimed_by: string | null;
|
|
@@ -19058,6 +19251,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19058
19251
|
due_at: string | null;
|
|
19059
19252
|
error: string | null;
|
|
19060
19253
|
id: string;
|
|
19254
|
+
last_error: string | null;
|
|
19255
|
+
next_attempt_at: string | null;
|
|
19061
19256
|
order_ref: string;
|
|
19062
19257
|
owner_module: string;
|
|
19063
19258
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19139,6 +19334,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19139
19334
|
p_task_id: string;
|
|
19140
19335
|
};
|
|
19141
19336
|
Returns: {
|
|
19337
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19338
|
+
attempts: number;
|
|
19142
19339
|
buffer_ref: string | null;
|
|
19143
19340
|
claimed_at: string | null;
|
|
19144
19341
|
claimed_by: string | null;
|
|
@@ -19148,6 +19345,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19148
19345
|
due_at: string | null;
|
|
19149
19346
|
error: string | null;
|
|
19150
19347
|
id: string;
|
|
19348
|
+
last_error: string | null;
|
|
19349
|
+
next_attempt_at: string | null;
|
|
19151
19350
|
order_ref: string;
|
|
19152
19351
|
owner_module: string;
|
|
19153
19352
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -19174,6 +19373,51 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19174
19373
|
isSetofReturn: false;
|
|
19175
19374
|
};
|
|
19176
19375
|
};
|
|
19376
|
+
logistics_floriday_claim_pushes: {
|
|
19377
|
+
Args: {
|
|
19378
|
+
_lease_seconds?: number;
|
|
19379
|
+
_limit?: number;
|
|
19380
|
+
_worker?: string;
|
|
19381
|
+
};
|
|
19382
|
+
Returns: {
|
|
19383
|
+
attempts: number;
|
|
19384
|
+
fulfillment_order_id: string;
|
|
19385
|
+
id: string;
|
|
19386
|
+
last_sent_hash: string;
|
|
19387
|
+
order_ref: string;
|
|
19388
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19389
|
+
payload_hash: string;
|
|
19390
|
+
revision: number;
|
|
19391
|
+
}[];
|
|
19392
|
+
};
|
|
19393
|
+
logistics_floriday_finish_push: {
|
|
19394
|
+
Args: {
|
|
19395
|
+
_error?: string;
|
|
19396
|
+
_fulfillment_order_id?: string;
|
|
19397
|
+
_id: string;
|
|
19398
|
+
_max_age_hours?: number;
|
|
19399
|
+
_max_attempts?: number;
|
|
19400
|
+
_ok: boolean;
|
|
19401
|
+
_permanent?: boolean;
|
|
19402
|
+
_revision: number;
|
|
19403
|
+
_sent_hash?: string;
|
|
19404
|
+
};
|
|
19405
|
+
Returns: string;
|
|
19406
|
+
};
|
|
19407
|
+
logistics_floriday_prune_pushes: {
|
|
19408
|
+
Args: {
|
|
19409
|
+
_days?: number;
|
|
19410
|
+
};
|
|
19411
|
+
Returns: number;
|
|
19412
|
+
};
|
|
19413
|
+
logistics_floriday_queue_push: {
|
|
19414
|
+
Args: {
|
|
19415
|
+
_order_ref: string;
|
|
19416
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19417
|
+
_payload_hash?: string;
|
|
19418
|
+
};
|
|
19419
|
+
Returns: string;
|
|
19420
|
+
};
|
|
19177
19421
|
logistics_live_carriers: {
|
|
19178
19422
|
Args: {
|
|
19179
19423
|
p_order_ref: string;
|
|
@@ -19901,6 +20145,10 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
19901
20145
|
Args: never;
|
|
19902
20146
|
Returns: undefined;
|
|
19903
20147
|
};
|
|
20148
|
+
run_logistics_tasks_dispatch: {
|
|
20149
|
+
Args: never;
|
|
20150
|
+
Returns: undefined;
|
|
20151
|
+
};
|
|
19904
20152
|
run_twinfield_queue_tick: {
|
|
19905
20153
|
Args: never;
|
|
19906
20154
|
Returns: undefined;
|
|
@@ -20141,6 +20389,13 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
20141
20389
|
};
|
|
20142
20390
|
Returns: number;
|
|
20143
20391
|
};
|
|
20392
|
+
schedule_floriday_stock_queue_process: {
|
|
20393
|
+
Args: {
|
|
20394
|
+
p_apikey: string;
|
|
20395
|
+
p_url: string;
|
|
20396
|
+
};
|
|
20397
|
+
Returns: number;
|
|
20398
|
+
};
|
|
20144
20399
|
schedule_floriday_token_refresh: {
|
|
20145
20400
|
Args: {
|
|
20146
20401
|
p_apikey: string;
|
|
@@ -26046,12 +26301,17 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
26046
26301
|
attempts: number;
|
|
26047
26302
|
connection_id: string;
|
|
26048
26303
|
created_at: string;
|
|
26304
|
+
desired_available: boolean | null;
|
|
26049
26305
|
gateway_attempt_id: string | null;
|
|
26050
26306
|
id: string;
|
|
26051
26307
|
last_error: string | null;
|
|
26308
|
+
locked_at: string | null;
|
|
26309
|
+
locked_by: string | null;
|
|
26310
|
+
next_attempt_at: string;
|
|
26052
26311
|
number_of_pieces: number;
|
|
26053
26312
|
sent_at: string | null;
|
|
26054
26313
|
status: string;
|
|
26314
|
+
superseded_by: string | null;
|
|
26055
26315
|
trade_item_id: string;
|
|
26056
26316
|
updated_at: string;
|
|
26057
26317
|
user_id: string;
|
|
@@ -26060,12 +26320,17 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
26060
26320
|
attempts?: number;
|
|
26061
26321
|
connection_id: string;
|
|
26062
26322
|
created_at?: string;
|
|
26323
|
+
desired_available?: boolean | null;
|
|
26063
26324
|
gateway_attempt_id?: string | null;
|
|
26064
26325
|
id?: string;
|
|
26065
26326
|
last_error?: string | null;
|
|
26327
|
+
locked_at?: string | null;
|
|
26328
|
+
locked_by?: string | null;
|
|
26329
|
+
next_attempt_at?: string;
|
|
26066
26330
|
number_of_pieces?: number;
|
|
26067
26331
|
sent_at?: string | null;
|
|
26068
26332
|
status?: string;
|
|
26333
|
+
superseded_by?: string | null;
|
|
26069
26334
|
trade_item_id: string;
|
|
26070
26335
|
updated_at?: string;
|
|
26071
26336
|
user_id: string;
|
|
@@ -26074,12 +26339,17 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
26074
26339
|
attempts?: number;
|
|
26075
26340
|
connection_id?: string;
|
|
26076
26341
|
created_at?: string;
|
|
26342
|
+
desired_available?: boolean | null;
|
|
26077
26343
|
gateway_attempt_id?: string | null;
|
|
26078
26344
|
id?: string;
|
|
26079
26345
|
last_error?: string | null;
|
|
26346
|
+
locked_at?: string | null;
|
|
26347
|
+
locked_by?: string | null;
|
|
26348
|
+
next_attempt_at?: string;
|
|
26080
26349
|
number_of_pieces?: number;
|
|
26081
26350
|
sent_at?: string | null;
|
|
26082
26351
|
status?: string;
|
|
26352
|
+
superseded_by?: string | null;
|
|
26083
26353
|
trade_item_id?: string;
|
|
26084
26354
|
updated_at?: string;
|
|
26085
26355
|
user_id?: string;
|
|
@@ -28828,6 +29098,69 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
28828
29098
|
};
|
|
28829
29099
|
Relationships: [];
|
|
28830
29100
|
};
|
|
29101
|
+
logistics_floriday_pushes: {
|
|
29102
|
+
Row: {
|
|
29103
|
+
attempts: number;
|
|
29104
|
+
created_at: string;
|
|
29105
|
+
first_queued_at: string;
|
|
29106
|
+
fulfillment_order_id: string | null;
|
|
29107
|
+
id: string;
|
|
29108
|
+
last_error: string | null;
|
|
29109
|
+
last_error_at: string | null;
|
|
29110
|
+
last_sent_hash: string | null;
|
|
29111
|
+
locked_by: string | null;
|
|
29112
|
+
locked_until: string | null;
|
|
29113
|
+
next_attempt_at: string;
|
|
29114
|
+
order_ref: string;
|
|
29115
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29116
|
+
payload_hash: string | null;
|
|
29117
|
+
revision: number;
|
|
29118
|
+
sent_at: string | null;
|
|
29119
|
+
status: string;
|
|
29120
|
+
updated_at: string;
|
|
29121
|
+
};
|
|
29122
|
+
Insert: {
|
|
29123
|
+
attempts?: number;
|
|
29124
|
+
created_at?: string;
|
|
29125
|
+
first_queued_at?: string;
|
|
29126
|
+
fulfillment_order_id?: string | null;
|
|
29127
|
+
id?: string;
|
|
29128
|
+
last_error?: string | null;
|
|
29129
|
+
last_error_at?: string | null;
|
|
29130
|
+
last_sent_hash?: string | null;
|
|
29131
|
+
locked_by?: string | null;
|
|
29132
|
+
locked_until?: string | null;
|
|
29133
|
+
next_attempt_at?: string;
|
|
29134
|
+
order_ref: string;
|
|
29135
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29136
|
+
payload_hash?: string | null;
|
|
29137
|
+
revision?: number;
|
|
29138
|
+
sent_at?: string | null;
|
|
29139
|
+
status?: string;
|
|
29140
|
+
updated_at?: string;
|
|
29141
|
+
};
|
|
29142
|
+
Update: {
|
|
29143
|
+
attempts?: number;
|
|
29144
|
+
created_at?: string;
|
|
29145
|
+
first_queued_at?: string;
|
|
29146
|
+
fulfillment_order_id?: string | null;
|
|
29147
|
+
id?: string;
|
|
29148
|
+
last_error?: string | null;
|
|
29149
|
+
last_error_at?: string | null;
|
|
29150
|
+
last_sent_hash?: string | null;
|
|
29151
|
+
locked_by?: string | null;
|
|
29152
|
+
locked_until?: string | null;
|
|
29153
|
+
next_attempt_at?: string;
|
|
29154
|
+
order_ref?: string;
|
|
29155
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29156
|
+
payload_hash?: string | null;
|
|
29157
|
+
revision?: number;
|
|
29158
|
+
sent_at?: string | null;
|
|
29159
|
+
status?: string;
|
|
29160
|
+
updated_at?: string;
|
|
29161
|
+
};
|
|
29162
|
+
Relationships: [];
|
|
29163
|
+
};
|
|
28831
29164
|
logistics_formulas: {
|
|
28832
29165
|
Row: {
|
|
28833
29166
|
created_at: string;
|
|
@@ -29439,6 +29772,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29439
29772
|
};
|
|
29440
29773
|
logistics_tasks: {
|
|
29441
29774
|
Row: {
|
|
29775
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29776
|
+
attempts: number;
|
|
29442
29777
|
buffer_ref: string | null;
|
|
29443
29778
|
claimed_at: string | null;
|
|
29444
29779
|
claimed_by: string | null;
|
|
@@ -29448,6 +29783,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29448
29783
|
due_at: string | null;
|
|
29449
29784
|
error: string | null;
|
|
29450
29785
|
id: string;
|
|
29786
|
+
last_error: string | null;
|
|
29787
|
+
next_attempt_at: string | null;
|
|
29451
29788
|
order_ref: string;
|
|
29452
29789
|
owner_module: string;
|
|
29453
29790
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -29468,6 +29805,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29468
29805
|
user_id: string;
|
|
29469
29806
|
};
|
|
29470
29807
|
Insert: {
|
|
29808
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29809
|
+
attempts?: number;
|
|
29471
29810
|
buffer_ref?: string | null;
|
|
29472
29811
|
claimed_at?: string | null;
|
|
29473
29812
|
claimed_by?: string | null;
|
|
@@ -29477,6 +29816,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29477
29816
|
due_at?: string | null;
|
|
29478
29817
|
error?: string | null;
|
|
29479
29818
|
id?: string;
|
|
29819
|
+
last_error?: string | null;
|
|
29820
|
+
next_attempt_at?: string | null;
|
|
29480
29821
|
order_ref: string;
|
|
29481
29822
|
owner_module: string;
|
|
29482
29823
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29497,6 +29838,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29497
29838
|
user_id?: string;
|
|
29498
29839
|
};
|
|
29499
29840
|
Update: {
|
|
29841
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29842
|
+
attempts?: number;
|
|
29500
29843
|
buffer_ref?: string | null;
|
|
29501
29844
|
claimed_at?: string | null;
|
|
29502
29845
|
claimed_by?: string | null;
|
|
@@ -29506,6 +29849,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29506
29849
|
due_at?: string | null;
|
|
29507
29850
|
error?: string | null;
|
|
29508
29851
|
id?: string;
|
|
29852
|
+
last_error?: string | null;
|
|
29853
|
+
next_attempt_at?: string | null;
|
|
29509
29854
|
order_ref?: string;
|
|
29510
29855
|
owner_module?: string;
|
|
29511
29856
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -38510,6 +38855,85 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38510
38855
|
};
|
|
38511
38856
|
Returns: import("../integrations/supabase/types").Json;
|
|
38512
38857
|
};
|
|
38858
|
+
claim_floriday_stock_queue: {
|
|
38859
|
+
Args: {
|
|
38860
|
+
p_limit?: number;
|
|
38861
|
+
p_worker?: string;
|
|
38862
|
+
};
|
|
38863
|
+
Returns: {
|
|
38864
|
+
attempts: number;
|
|
38865
|
+
connection_id: string;
|
|
38866
|
+
created_at: string;
|
|
38867
|
+
desired_available: boolean | null;
|
|
38868
|
+
gateway_attempt_id: string | null;
|
|
38869
|
+
id: string;
|
|
38870
|
+
last_error: string | null;
|
|
38871
|
+
locked_at: string | null;
|
|
38872
|
+
locked_by: string | null;
|
|
38873
|
+
next_attempt_at: string;
|
|
38874
|
+
number_of_pieces: number;
|
|
38875
|
+
sent_at: string | null;
|
|
38876
|
+
status: string;
|
|
38877
|
+
superseded_by: string | null;
|
|
38878
|
+
trade_item_id: string;
|
|
38879
|
+
updated_at: string;
|
|
38880
|
+
user_id: string;
|
|
38881
|
+
}[];
|
|
38882
|
+
SetofOptions: {
|
|
38883
|
+
from: "*";
|
|
38884
|
+
to: "floriday_continuous_stock_queue";
|
|
38885
|
+
isOneToOne: false;
|
|
38886
|
+
isSetofReturn: true;
|
|
38887
|
+
};
|
|
38888
|
+
};
|
|
38889
|
+
claim_logistics_tasks: {
|
|
38890
|
+
Args: {
|
|
38891
|
+
_limit?: number;
|
|
38892
|
+
_owner_module: string;
|
|
38893
|
+
_stale_minutes?: number;
|
|
38894
|
+
_task_type: string;
|
|
38895
|
+
_worker: string;
|
|
38896
|
+
};
|
|
38897
|
+
Returns: {
|
|
38898
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38899
|
+
attempts: number;
|
|
38900
|
+
buffer_ref: string | null;
|
|
38901
|
+
claimed_at: string | null;
|
|
38902
|
+
claimed_by: string | null;
|
|
38903
|
+
completed_at: string | null;
|
|
38904
|
+
created_at: string;
|
|
38905
|
+
depends_on: string[];
|
|
38906
|
+
due_at: string | null;
|
|
38907
|
+
error: string | null;
|
|
38908
|
+
id: string;
|
|
38909
|
+
last_error: string | null;
|
|
38910
|
+
next_attempt_at: string | null;
|
|
38911
|
+
order_ref: string;
|
|
38912
|
+
owner_module: string;
|
|
38913
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38914
|
+
plan_run_id: string | null;
|
|
38915
|
+
planned_end: string | null;
|
|
38916
|
+
planned_start: string | null;
|
|
38917
|
+
priority: number;
|
|
38918
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38919
|
+
rule_config_id: string | null;
|
|
38920
|
+
rule_version: number | null;
|
|
38921
|
+
sequence: number;
|
|
38922
|
+
shadow: boolean;
|
|
38923
|
+
started_at: string | null;
|
|
38924
|
+
status: string;
|
|
38925
|
+
strategy_id: string | null;
|
|
38926
|
+
task_type: string;
|
|
38927
|
+
updated_at: string;
|
|
38928
|
+
user_id: string;
|
|
38929
|
+
}[];
|
|
38930
|
+
SetofOptions: {
|
|
38931
|
+
from: "*";
|
|
38932
|
+
to: "logistics_tasks";
|
|
38933
|
+
isOneToOne: false;
|
|
38934
|
+
isSetofReturn: true;
|
|
38935
|
+
};
|
|
38936
|
+
};
|
|
38513
38937
|
claim_print_jobs: {
|
|
38514
38938
|
Args: {
|
|
38515
38939
|
_agent_id: string;
|
|
@@ -38574,10 +38998,24 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38574
38998
|
isSetofReturn: true;
|
|
38575
38999
|
};
|
|
38576
39000
|
};
|
|
39001
|
+
cleanup_floriday_stock_queue: {
|
|
39002
|
+
Args: never;
|
|
39003
|
+
Returns: undefined;
|
|
39004
|
+
};
|
|
38577
39005
|
cleanup_old_bookings: {
|
|
38578
39006
|
Args: never;
|
|
38579
39007
|
Returns: undefined;
|
|
38580
39008
|
};
|
|
39009
|
+
complete_floriday_stock_queue: {
|
|
39010
|
+
Args: {
|
|
39011
|
+
p_attempt_id?: string;
|
|
39012
|
+
p_error?: string;
|
|
39013
|
+
p_id: string;
|
|
39014
|
+
p_ok: boolean;
|
|
39015
|
+
p_permanent?: boolean;
|
|
39016
|
+
};
|
|
39017
|
+
Returns: undefined;
|
|
39018
|
+
};
|
|
38581
39019
|
consume_bom_for_production: {
|
|
38582
39020
|
Args: {
|
|
38583
39021
|
p_connection_id: string;
|
|
@@ -39269,6 +39707,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39269
39707
|
p_worker?: string;
|
|
39270
39708
|
};
|
|
39271
39709
|
Returns: {
|
|
39710
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39711
|
+
attempts: number;
|
|
39272
39712
|
buffer_ref: string | null;
|
|
39273
39713
|
claimed_at: string | null;
|
|
39274
39714
|
claimed_by: string | null;
|
|
@@ -39278,6 +39718,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39278
39718
|
due_at: string | null;
|
|
39279
39719
|
error: string | null;
|
|
39280
39720
|
id: string;
|
|
39721
|
+
last_error: string | null;
|
|
39722
|
+
next_attempt_at: string | null;
|
|
39281
39723
|
order_ref: string;
|
|
39282
39724
|
owner_module: string;
|
|
39283
39725
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39310,6 +39752,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39310
39752
|
p_worker?: string;
|
|
39311
39753
|
};
|
|
39312
39754
|
Returns: {
|
|
39755
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39756
|
+
attempts: number;
|
|
39313
39757
|
buffer_ref: string | null;
|
|
39314
39758
|
claimed_at: string | null;
|
|
39315
39759
|
claimed_by: string | null;
|
|
@@ -39319,6 +39763,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39319
39763
|
due_at: string | null;
|
|
39320
39764
|
error: string | null;
|
|
39321
39765
|
id: string;
|
|
39766
|
+
last_error: string | null;
|
|
39767
|
+
next_attempt_at: string | null;
|
|
39322
39768
|
order_ref: string;
|
|
39323
39769
|
owner_module: string;
|
|
39324
39770
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39351,6 +39797,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39351
39797
|
p_task_id: string;
|
|
39352
39798
|
};
|
|
39353
39799
|
Returns: {
|
|
39800
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39801
|
+
attempts: number;
|
|
39354
39802
|
buffer_ref: string | null;
|
|
39355
39803
|
claimed_at: string | null;
|
|
39356
39804
|
claimed_by: string | null;
|
|
@@ -39360,6 +39808,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39360
39808
|
due_at: string | null;
|
|
39361
39809
|
error: string | null;
|
|
39362
39810
|
id: string;
|
|
39811
|
+
last_error: string | null;
|
|
39812
|
+
next_attempt_at: string | null;
|
|
39363
39813
|
order_ref: string;
|
|
39364
39814
|
owner_module: string;
|
|
39365
39815
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39441,6 +39891,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39441
39891
|
p_task_id: string;
|
|
39442
39892
|
};
|
|
39443
39893
|
Returns: {
|
|
39894
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39895
|
+
attempts: number;
|
|
39444
39896
|
buffer_ref: string | null;
|
|
39445
39897
|
claimed_at: string | null;
|
|
39446
39898
|
claimed_by: string | null;
|
|
@@ -39450,6 +39902,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39450
39902
|
due_at: string | null;
|
|
39451
39903
|
error: string | null;
|
|
39452
39904
|
id: string;
|
|
39905
|
+
last_error: string | null;
|
|
39906
|
+
next_attempt_at: string | null;
|
|
39453
39907
|
order_ref: string;
|
|
39454
39908
|
owner_module: string;
|
|
39455
39909
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -39476,6 +39930,51 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
39476
39930
|
isSetofReturn: false;
|
|
39477
39931
|
};
|
|
39478
39932
|
};
|
|
39933
|
+
logistics_floriday_claim_pushes: {
|
|
39934
|
+
Args: {
|
|
39935
|
+
_lease_seconds?: number;
|
|
39936
|
+
_limit?: number;
|
|
39937
|
+
_worker?: string;
|
|
39938
|
+
};
|
|
39939
|
+
Returns: {
|
|
39940
|
+
attempts: number;
|
|
39941
|
+
fulfillment_order_id: string;
|
|
39942
|
+
id: string;
|
|
39943
|
+
last_sent_hash: string;
|
|
39944
|
+
order_ref: string;
|
|
39945
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39946
|
+
payload_hash: string;
|
|
39947
|
+
revision: number;
|
|
39948
|
+
}[];
|
|
39949
|
+
};
|
|
39950
|
+
logistics_floriday_finish_push: {
|
|
39951
|
+
Args: {
|
|
39952
|
+
_error?: string;
|
|
39953
|
+
_fulfillment_order_id?: string;
|
|
39954
|
+
_id: string;
|
|
39955
|
+
_max_age_hours?: number;
|
|
39956
|
+
_max_attempts?: number;
|
|
39957
|
+
_ok: boolean;
|
|
39958
|
+
_permanent?: boolean;
|
|
39959
|
+
_revision: number;
|
|
39960
|
+
_sent_hash?: string;
|
|
39961
|
+
};
|
|
39962
|
+
Returns: string;
|
|
39963
|
+
};
|
|
39964
|
+
logistics_floriday_prune_pushes: {
|
|
39965
|
+
Args: {
|
|
39966
|
+
_days?: number;
|
|
39967
|
+
};
|
|
39968
|
+
Returns: number;
|
|
39969
|
+
};
|
|
39970
|
+
logistics_floriday_queue_push: {
|
|
39971
|
+
Args: {
|
|
39972
|
+
_order_ref: string;
|
|
39973
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
39974
|
+
_payload_hash?: string;
|
|
39975
|
+
};
|
|
39976
|
+
Returns: string;
|
|
39977
|
+
};
|
|
39479
39978
|
logistics_live_carriers: {
|
|
39480
39979
|
Args: {
|
|
39481
39980
|
p_order_ref: string;
|
|
@@ -40203,6 +40702,10 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
40203
40702
|
Args: never;
|
|
40204
40703
|
Returns: undefined;
|
|
40205
40704
|
};
|
|
40705
|
+
run_logistics_tasks_dispatch: {
|
|
40706
|
+
Args: never;
|
|
40707
|
+
Returns: undefined;
|
|
40708
|
+
};
|
|
40206
40709
|
run_twinfield_queue_tick: {
|
|
40207
40710
|
Args: never;
|
|
40208
40711
|
Returns: undefined;
|
|
@@ -40443,6 +40946,13 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
40443
40946
|
};
|
|
40444
40947
|
Returns: number;
|
|
40445
40948
|
};
|
|
40949
|
+
schedule_floriday_stock_queue_process: {
|
|
40950
|
+
Args: {
|
|
40951
|
+
p_apikey: string;
|
|
40952
|
+
p_url: string;
|
|
40953
|
+
};
|
|
40954
|
+
Returns: number;
|
|
40955
|
+
};
|
|
40446
40956
|
schedule_floriday_token_refresh: {
|
|
40447
40957
|
Args: {
|
|
40448
40958
|
p_apikey: string;
|
|
@@ -46374,12 +46884,17 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
46374
46884
|
attempts: number;
|
|
46375
46885
|
connection_id: string;
|
|
46376
46886
|
created_at: string;
|
|
46887
|
+
desired_available: boolean | null;
|
|
46377
46888
|
gateway_attempt_id: string | null;
|
|
46378
46889
|
id: string;
|
|
46379
46890
|
last_error: string | null;
|
|
46891
|
+
locked_at: string | null;
|
|
46892
|
+
locked_by: string | null;
|
|
46893
|
+
next_attempt_at: string;
|
|
46380
46894
|
number_of_pieces: number;
|
|
46381
46895
|
sent_at: string | null;
|
|
46382
46896
|
status: string;
|
|
46897
|
+
superseded_by: string | null;
|
|
46383
46898
|
trade_item_id: string;
|
|
46384
46899
|
updated_at: string;
|
|
46385
46900
|
user_id: string;
|
|
@@ -46388,12 +46903,17 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
46388
46903
|
attempts?: number;
|
|
46389
46904
|
connection_id: string;
|
|
46390
46905
|
created_at?: string;
|
|
46906
|
+
desired_available?: boolean | null;
|
|
46391
46907
|
gateway_attempt_id?: string | null;
|
|
46392
46908
|
id?: string;
|
|
46393
46909
|
last_error?: string | null;
|
|
46910
|
+
locked_at?: string | null;
|
|
46911
|
+
locked_by?: string | null;
|
|
46912
|
+
next_attempt_at?: string;
|
|
46394
46913
|
number_of_pieces?: number;
|
|
46395
46914
|
sent_at?: string | null;
|
|
46396
46915
|
status?: string;
|
|
46916
|
+
superseded_by?: string | null;
|
|
46397
46917
|
trade_item_id: string;
|
|
46398
46918
|
updated_at?: string;
|
|
46399
46919
|
user_id: string;
|
|
@@ -46402,12 +46922,17 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
46402
46922
|
attempts?: number;
|
|
46403
46923
|
connection_id?: string;
|
|
46404
46924
|
created_at?: string;
|
|
46925
|
+
desired_available?: boolean | null;
|
|
46405
46926
|
gateway_attempt_id?: string | null;
|
|
46406
46927
|
id?: string;
|
|
46407
46928
|
last_error?: string | null;
|
|
46929
|
+
locked_at?: string | null;
|
|
46930
|
+
locked_by?: string | null;
|
|
46931
|
+
next_attempt_at?: string;
|
|
46408
46932
|
number_of_pieces?: number;
|
|
46409
46933
|
sent_at?: string | null;
|
|
46410
46934
|
status?: string;
|
|
46935
|
+
superseded_by?: string | null;
|
|
46411
46936
|
trade_item_id?: string;
|
|
46412
46937
|
updated_at?: string;
|
|
46413
46938
|
user_id?: string;
|
|
@@ -49156,6 +49681,69 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49156
49681
|
};
|
|
49157
49682
|
Relationships: [];
|
|
49158
49683
|
};
|
|
49684
|
+
logistics_floriday_pushes: {
|
|
49685
|
+
Row: {
|
|
49686
|
+
attempts: number;
|
|
49687
|
+
created_at: string;
|
|
49688
|
+
first_queued_at: string;
|
|
49689
|
+
fulfillment_order_id: string | null;
|
|
49690
|
+
id: string;
|
|
49691
|
+
last_error: string | null;
|
|
49692
|
+
last_error_at: string | null;
|
|
49693
|
+
last_sent_hash: string | null;
|
|
49694
|
+
locked_by: string | null;
|
|
49695
|
+
locked_until: string | null;
|
|
49696
|
+
next_attempt_at: string;
|
|
49697
|
+
order_ref: string;
|
|
49698
|
+
payload: import("../integrations/supabase/types").Json;
|
|
49699
|
+
payload_hash: string | null;
|
|
49700
|
+
revision: number;
|
|
49701
|
+
sent_at: string | null;
|
|
49702
|
+
status: string;
|
|
49703
|
+
updated_at: string;
|
|
49704
|
+
};
|
|
49705
|
+
Insert: {
|
|
49706
|
+
attempts?: number;
|
|
49707
|
+
created_at?: string;
|
|
49708
|
+
first_queued_at?: string;
|
|
49709
|
+
fulfillment_order_id?: string | null;
|
|
49710
|
+
id?: string;
|
|
49711
|
+
last_error?: string | null;
|
|
49712
|
+
last_error_at?: string | null;
|
|
49713
|
+
last_sent_hash?: string | null;
|
|
49714
|
+
locked_by?: string | null;
|
|
49715
|
+
locked_until?: string | null;
|
|
49716
|
+
next_attempt_at?: string;
|
|
49717
|
+
order_ref: string;
|
|
49718
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49719
|
+
payload_hash?: string | null;
|
|
49720
|
+
revision?: number;
|
|
49721
|
+
sent_at?: string | null;
|
|
49722
|
+
status?: string;
|
|
49723
|
+
updated_at?: string;
|
|
49724
|
+
};
|
|
49725
|
+
Update: {
|
|
49726
|
+
attempts?: number;
|
|
49727
|
+
created_at?: string;
|
|
49728
|
+
first_queued_at?: string;
|
|
49729
|
+
fulfillment_order_id?: string | null;
|
|
49730
|
+
id?: string;
|
|
49731
|
+
last_error?: string | null;
|
|
49732
|
+
last_error_at?: string | null;
|
|
49733
|
+
last_sent_hash?: string | null;
|
|
49734
|
+
locked_by?: string | null;
|
|
49735
|
+
locked_until?: string | null;
|
|
49736
|
+
next_attempt_at?: string;
|
|
49737
|
+
order_ref?: string;
|
|
49738
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49739
|
+
payload_hash?: string | null;
|
|
49740
|
+
revision?: number;
|
|
49741
|
+
sent_at?: string | null;
|
|
49742
|
+
status?: string;
|
|
49743
|
+
updated_at?: string;
|
|
49744
|
+
};
|
|
49745
|
+
Relationships: [];
|
|
49746
|
+
};
|
|
49159
49747
|
logistics_formulas: {
|
|
49160
49748
|
Row: {
|
|
49161
49749
|
created_at: string;
|
|
@@ -49767,6 +50355,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49767
50355
|
};
|
|
49768
50356
|
logistics_tasks: {
|
|
49769
50357
|
Row: {
|
|
50358
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
50359
|
+
attempts: number;
|
|
49770
50360
|
buffer_ref: string | null;
|
|
49771
50361
|
claimed_at: string | null;
|
|
49772
50362
|
claimed_by: string | null;
|
|
@@ -49776,6 +50366,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49776
50366
|
due_at: string | null;
|
|
49777
50367
|
error: string | null;
|
|
49778
50368
|
id: string;
|
|
50369
|
+
last_error: string | null;
|
|
50370
|
+
next_attempt_at: string | null;
|
|
49779
50371
|
order_ref: string;
|
|
49780
50372
|
owner_module: string;
|
|
49781
50373
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -49796,6 +50388,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49796
50388
|
user_id: string;
|
|
49797
50389
|
};
|
|
49798
50390
|
Insert: {
|
|
50391
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50392
|
+
attempts?: number;
|
|
49799
50393
|
buffer_ref?: string | null;
|
|
49800
50394
|
claimed_at?: string | null;
|
|
49801
50395
|
claimed_by?: string | null;
|
|
@@ -49805,6 +50399,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49805
50399
|
due_at?: string | null;
|
|
49806
50400
|
error?: string | null;
|
|
49807
50401
|
id?: string;
|
|
50402
|
+
last_error?: string | null;
|
|
50403
|
+
next_attempt_at?: string | null;
|
|
49808
50404
|
order_ref: string;
|
|
49809
50405
|
owner_module: string;
|
|
49810
50406
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49825,6 +50421,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49825
50421
|
user_id?: string;
|
|
49826
50422
|
};
|
|
49827
50423
|
Update: {
|
|
50424
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50425
|
+
attempts?: number;
|
|
49828
50426
|
buffer_ref?: string | null;
|
|
49829
50427
|
claimed_at?: string | null;
|
|
49830
50428
|
claimed_by?: string | null;
|
|
@@ -49834,6 +50432,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
49834
50432
|
due_at?: string | null;
|
|
49835
50433
|
error?: string | null;
|
|
49836
50434
|
id?: string;
|
|
50435
|
+
last_error?: string | null;
|
|
50436
|
+
next_attempt_at?: string | null;
|
|
49837
50437
|
order_ref?: string;
|
|
49838
50438
|
owner_module?: string;
|
|
49839
50439
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -58838,6 +59438,85 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
58838
59438
|
};
|
|
58839
59439
|
Returns: import("../integrations/supabase/types").Json;
|
|
58840
59440
|
};
|
|
59441
|
+
claim_floriday_stock_queue: {
|
|
59442
|
+
Args: {
|
|
59443
|
+
p_limit?: number;
|
|
59444
|
+
p_worker?: string;
|
|
59445
|
+
};
|
|
59446
|
+
Returns: {
|
|
59447
|
+
attempts: number;
|
|
59448
|
+
connection_id: string;
|
|
59449
|
+
created_at: string;
|
|
59450
|
+
desired_available: boolean | null;
|
|
59451
|
+
gateway_attempt_id: string | null;
|
|
59452
|
+
id: string;
|
|
59453
|
+
last_error: string | null;
|
|
59454
|
+
locked_at: string | null;
|
|
59455
|
+
locked_by: string | null;
|
|
59456
|
+
next_attempt_at: string;
|
|
59457
|
+
number_of_pieces: number;
|
|
59458
|
+
sent_at: string | null;
|
|
59459
|
+
status: string;
|
|
59460
|
+
superseded_by: string | null;
|
|
59461
|
+
trade_item_id: string;
|
|
59462
|
+
updated_at: string;
|
|
59463
|
+
user_id: string;
|
|
59464
|
+
}[];
|
|
59465
|
+
SetofOptions: {
|
|
59466
|
+
from: "*";
|
|
59467
|
+
to: "floriday_continuous_stock_queue";
|
|
59468
|
+
isOneToOne: false;
|
|
59469
|
+
isSetofReturn: true;
|
|
59470
|
+
};
|
|
59471
|
+
};
|
|
59472
|
+
claim_logistics_tasks: {
|
|
59473
|
+
Args: {
|
|
59474
|
+
_limit?: number;
|
|
59475
|
+
_owner_module: string;
|
|
59476
|
+
_stale_minutes?: number;
|
|
59477
|
+
_task_type: string;
|
|
59478
|
+
_worker: string;
|
|
59479
|
+
};
|
|
59480
|
+
Returns: {
|
|
59481
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59482
|
+
attempts: number;
|
|
59483
|
+
buffer_ref: string | null;
|
|
59484
|
+
claimed_at: string | null;
|
|
59485
|
+
claimed_by: string | null;
|
|
59486
|
+
completed_at: string | null;
|
|
59487
|
+
created_at: string;
|
|
59488
|
+
depends_on: string[];
|
|
59489
|
+
due_at: string | null;
|
|
59490
|
+
error: string | null;
|
|
59491
|
+
id: string;
|
|
59492
|
+
last_error: string | null;
|
|
59493
|
+
next_attempt_at: string | null;
|
|
59494
|
+
order_ref: string;
|
|
59495
|
+
owner_module: string;
|
|
59496
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59497
|
+
plan_run_id: string | null;
|
|
59498
|
+
planned_end: string | null;
|
|
59499
|
+
planned_start: string | null;
|
|
59500
|
+
priority: number;
|
|
59501
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
59502
|
+
rule_config_id: string | null;
|
|
59503
|
+
rule_version: number | null;
|
|
59504
|
+
sequence: number;
|
|
59505
|
+
shadow: boolean;
|
|
59506
|
+
started_at: string | null;
|
|
59507
|
+
status: string;
|
|
59508
|
+
strategy_id: string | null;
|
|
59509
|
+
task_type: string;
|
|
59510
|
+
updated_at: string;
|
|
59511
|
+
user_id: string;
|
|
59512
|
+
}[];
|
|
59513
|
+
SetofOptions: {
|
|
59514
|
+
from: "*";
|
|
59515
|
+
to: "logistics_tasks";
|
|
59516
|
+
isOneToOne: false;
|
|
59517
|
+
isSetofReturn: true;
|
|
59518
|
+
};
|
|
59519
|
+
};
|
|
58841
59520
|
claim_print_jobs: {
|
|
58842
59521
|
Args: {
|
|
58843
59522
|
_agent_id: string;
|
|
@@ -58902,10 +59581,24 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
58902
59581
|
isSetofReturn: true;
|
|
58903
59582
|
};
|
|
58904
59583
|
};
|
|
59584
|
+
cleanup_floriday_stock_queue: {
|
|
59585
|
+
Args: never;
|
|
59586
|
+
Returns: undefined;
|
|
59587
|
+
};
|
|
58905
59588
|
cleanup_old_bookings: {
|
|
58906
59589
|
Args: never;
|
|
58907
59590
|
Returns: undefined;
|
|
58908
59591
|
};
|
|
59592
|
+
complete_floriday_stock_queue: {
|
|
59593
|
+
Args: {
|
|
59594
|
+
p_attempt_id?: string;
|
|
59595
|
+
p_error?: string;
|
|
59596
|
+
p_id: string;
|
|
59597
|
+
p_ok: boolean;
|
|
59598
|
+
p_permanent?: boolean;
|
|
59599
|
+
};
|
|
59600
|
+
Returns: undefined;
|
|
59601
|
+
};
|
|
58909
59602
|
consume_bom_for_production: {
|
|
58910
59603
|
Args: {
|
|
58911
59604
|
p_connection_id: string;
|
|
@@ -59597,6 +60290,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59597
60290
|
p_worker?: string;
|
|
59598
60291
|
};
|
|
59599
60292
|
Returns: {
|
|
60293
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60294
|
+
attempts: number;
|
|
59600
60295
|
buffer_ref: string | null;
|
|
59601
60296
|
claimed_at: string | null;
|
|
59602
60297
|
claimed_by: string | null;
|
|
@@ -59606,6 +60301,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59606
60301
|
due_at: string | null;
|
|
59607
60302
|
error: string | null;
|
|
59608
60303
|
id: string;
|
|
60304
|
+
last_error: string | null;
|
|
60305
|
+
next_attempt_at: string | null;
|
|
59609
60306
|
order_ref: string;
|
|
59610
60307
|
owner_module: string;
|
|
59611
60308
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59638,6 +60335,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59638
60335
|
p_worker?: string;
|
|
59639
60336
|
};
|
|
59640
60337
|
Returns: {
|
|
60338
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60339
|
+
attempts: number;
|
|
59641
60340
|
buffer_ref: string | null;
|
|
59642
60341
|
claimed_at: string | null;
|
|
59643
60342
|
claimed_by: string | null;
|
|
@@ -59647,6 +60346,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59647
60346
|
due_at: string | null;
|
|
59648
60347
|
error: string | null;
|
|
59649
60348
|
id: string;
|
|
60349
|
+
last_error: string | null;
|
|
60350
|
+
next_attempt_at: string | null;
|
|
59650
60351
|
order_ref: string;
|
|
59651
60352
|
owner_module: string;
|
|
59652
60353
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59679,6 +60380,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59679
60380
|
p_task_id: string;
|
|
59680
60381
|
};
|
|
59681
60382
|
Returns: {
|
|
60383
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60384
|
+
attempts: number;
|
|
59682
60385
|
buffer_ref: string | null;
|
|
59683
60386
|
claimed_at: string | null;
|
|
59684
60387
|
claimed_by: string | null;
|
|
@@ -59688,6 +60391,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59688
60391
|
due_at: string | null;
|
|
59689
60392
|
error: string | null;
|
|
59690
60393
|
id: string;
|
|
60394
|
+
last_error: string | null;
|
|
60395
|
+
next_attempt_at: string | null;
|
|
59691
60396
|
order_ref: string;
|
|
59692
60397
|
owner_module: string;
|
|
59693
60398
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59769,6 +60474,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59769
60474
|
p_task_id: string;
|
|
59770
60475
|
};
|
|
59771
60476
|
Returns: {
|
|
60477
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60478
|
+
attempts: number;
|
|
59772
60479
|
buffer_ref: string | null;
|
|
59773
60480
|
claimed_at: string | null;
|
|
59774
60481
|
claimed_by: string | null;
|
|
@@ -59778,6 +60485,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59778
60485
|
due_at: string | null;
|
|
59779
60486
|
error: string | null;
|
|
59780
60487
|
id: string;
|
|
60488
|
+
last_error: string | null;
|
|
60489
|
+
next_attempt_at: string | null;
|
|
59781
60490
|
order_ref: string;
|
|
59782
60491
|
owner_module: string;
|
|
59783
60492
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -59804,6 +60513,51 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
59804
60513
|
isSetofReturn: false;
|
|
59805
60514
|
};
|
|
59806
60515
|
};
|
|
60516
|
+
logistics_floriday_claim_pushes: {
|
|
60517
|
+
Args: {
|
|
60518
|
+
_lease_seconds?: number;
|
|
60519
|
+
_limit?: number;
|
|
60520
|
+
_worker?: string;
|
|
60521
|
+
};
|
|
60522
|
+
Returns: {
|
|
60523
|
+
attempts: number;
|
|
60524
|
+
fulfillment_order_id: string;
|
|
60525
|
+
id: string;
|
|
60526
|
+
last_sent_hash: string;
|
|
60527
|
+
order_ref: string;
|
|
60528
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60529
|
+
payload_hash: string;
|
|
60530
|
+
revision: number;
|
|
60531
|
+
}[];
|
|
60532
|
+
};
|
|
60533
|
+
logistics_floriday_finish_push: {
|
|
60534
|
+
Args: {
|
|
60535
|
+
_error?: string;
|
|
60536
|
+
_fulfillment_order_id?: string;
|
|
60537
|
+
_id: string;
|
|
60538
|
+
_max_age_hours?: number;
|
|
60539
|
+
_max_attempts?: number;
|
|
60540
|
+
_ok: boolean;
|
|
60541
|
+
_permanent?: boolean;
|
|
60542
|
+
_revision: number;
|
|
60543
|
+
_sent_hash?: string;
|
|
60544
|
+
};
|
|
60545
|
+
Returns: string;
|
|
60546
|
+
};
|
|
60547
|
+
logistics_floriday_prune_pushes: {
|
|
60548
|
+
Args: {
|
|
60549
|
+
_days?: number;
|
|
60550
|
+
};
|
|
60551
|
+
Returns: number;
|
|
60552
|
+
};
|
|
60553
|
+
logistics_floriday_queue_push: {
|
|
60554
|
+
Args: {
|
|
60555
|
+
_order_ref: string;
|
|
60556
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60557
|
+
_payload_hash?: string;
|
|
60558
|
+
};
|
|
60559
|
+
Returns: string;
|
|
60560
|
+
};
|
|
59807
60561
|
logistics_live_carriers: {
|
|
59808
60562
|
Args: {
|
|
59809
60563
|
p_order_ref: string;
|
|
@@ -60531,6 +61285,10 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
60531
61285
|
Args: never;
|
|
60532
61286
|
Returns: undefined;
|
|
60533
61287
|
};
|
|
61288
|
+
run_logistics_tasks_dispatch: {
|
|
61289
|
+
Args: never;
|
|
61290
|
+
Returns: undefined;
|
|
61291
|
+
};
|
|
60534
61292
|
run_twinfield_queue_tick: {
|
|
60535
61293
|
Args: never;
|
|
60536
61294
|
Returns: undefined;
|
|
@@ -60771,6 +61529,13 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
60771
61529
|
};
|
|
60772
61530
|
Returns: number;
|
|
60773
61531
|
};
|
|
61532
|
+
schedule_floriday_stock_queue_process: {
|
|
61533
|
+
Args: {
|
|
61534
|
+
p_apikey: string;
|
|
61535
|
+
p_url: string;
|
|
61536
|
+
};
|
|
61537
|
+
Returns: number;
|
|
61538
|
+
};
|
|
60774
61539
|
schedule_floriday_token_refresh: {
|
|
60775
61540
|
Args: {
|
|
60776
61541
|
p_apikey: string;
|
|
@@ -66713,12 +67478,17 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66713
67478
|
attempts: number;
|
|
66714
67479
|
connection_id: string;
|
|
66715
67480
|
created_at: string;
|
|
67481
|
+
desired_available: boolean | null;
|
|
66716
67482
|
gateway_attempt_id: string | null;
|
|
66717
67483
|
id: string;
|
|
66718
67484
|
last_error: string | null;
|
|
67485
|
+
locked_at: string | null;
|
|
67486
|
+
locked_by: string | null;
|
|
67487
|
+
next_attempt_at: string;
|
|
66719
67488
|
number_of_pieces: number;
|
|
66720
67489
|
sent_at: string | null;
|
|
66721
67490
|
status: string;
|
|
67491
|
+
superseded_by: string | null;
|
|
66722
67492
|
trade_item_id: string;
|
|
66723
67493
|
updated_at: string;
|
|
66724
67494
|
user_id: string;
|
|
@@ -66727,12 +67497,17 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66727
67497
|
attempts?: number;
|
|
66728
67498
|
connection_id: string;
|
|
66729
67499
|
created_at?: string;
|
|
67500
|
+
desired_available?: boolean | null;
|
|
66730
67501
|
gateway_attempt_id?: string | null;
|
|
66731
67502
|
id?: string;
|
|
66732
67503
|
last_error?: string | null;
|
|
67504
|
+
locked_at?: string | null;
|
|
67505
|
+
locked_by?: string | null;
|
|
67506
|
+
next_attempt_at?: string;
|
|
66733
67507
|
number_of_pieces?: number;
|
|
66734
67508
|
sent_at?: string | null;
|
|
66735
67509
|
status?: string;
|
|
67510
|
+
superseded_by?: string | null;
|
|
66736
67511
|
trade_item_id: string;
|
|
66737
67512
|
updated_at?: string;
|
|
66738
67513
|
user_id: string;
|
|
@@ -66741,12 +67516,17 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66741
67516
|
attempts?: number;
|
|
66742
67517
|
connection_id?: string;
|
|
66743
67518
|
created_at?: string;
|
|
67519
|
+
desired_available?: boolean | null;
|
|
66744
67520
|
gateway_attempt_id?: string | null;
|
|
66745
67521
|
id?: string;
|
|
66746
67522
|
last_error?: string | null;
|
|
67523
|
+
locked_at?: string | null;
|
|
67524
|
+
locked_by?: string | null;
|
|
67525
|
+
next_attempt_at?: string;
|
|
66747
67526
|
number_of_pieces?: number;
|
|
66748
67527
|
sent_at?: string | null;
|
|
66749
67528
|
status?: string;
|
|
67529
|
+
superseded_by?: string | null;
|
|
66750
67530
|
trade_item_id?: string;
|
|
66751
67531
|
updated_at?: string;
|
|
66752
67532
|
user_id?: string;
|
|
@@ -69495,6 +70275,69 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
69495
70275
|
};
|
|
69496
70276
|
Relationships: [];
|
|
69497
70277
|
};
|
|
70278
|
+
logistics_floriday_pushes: {
|
|
70279
|
+
Row: {
|
|
70280
|
+
attempts: number;
|
|
70281
|
+
created_at: string;
|
|
70282
|
+
first_queued_at: string;
|
|
70283
|
+
fulfillment_order_id: string | null;
|
|
70284
|
+
id: string;
|
|
70285
|
+
last_error: string | null;
|
|
70286
|
+
last_error_at: string | null;
|
|
70287
|
+
last_sent_hash: string | null;
|
|
70288
|
+
locked_by: string | null;
|
|
70289
|
+
locked_until: string | null;
|
|
70290
|
+
next_attempt_at: string;
|
|
70291
|
+
order_ref: string;
|
|
70292
|
+
payload: import("../integrations/supabase/types").Json;
|
|
70293
|
+
payload_hash: string | null;
|
|
70294
|
+
revision: number;
|
|
70295
|
+
sent_at: string | null;
|
|
70296
|
+
status: string;
|
|
70297
|
+
updated_at: string;
|
|
70298
|
+
};
|
|
70299
|
+
Insert: {
|
|
70300
|
+
attempts?: number;
|
|
70301
|
+
created_at?: string;
|
|
70302
|
+
first_queued_at?: string;
|
|
70303
|
+
fulfillment_order_id?: string | null;
|
|
70304
|
+
id?: string;
|
|
70305
|
+
last_error?: string | null;
|
|
70306
|
+
last_error_at?: string | null;
|
|
70307
|
+
last_sent_hash?: string | null;
|
|
70308
|
+
locked_by?: string | null;
|
|
70309
|
+
locked_until?: string | null;
|
|
70310
|
+
next_attempt_at?: string;
|
|
70311
|
+
order_ref: string;
|
|
70312
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70313
|
+
payload_hash?: string | null;
|
|
70314
|
+
revision?: number;
|
|
70315
|
+
sent_at?: string | null;
|
|
70316
|
+
status?: string;
|
|
70317
|
+
updated_at?: string;
|
|
70318
|
+
};
|
|
70319
|
+
Update: {
|
|
70320
|
+
attempts?: number;
|
|
70321
|
+
created_at?: string;
|
|
70322
|
+
first_queued_at?: string;
|
|
70323
|
+
fulfillment_order_id?: string | null;
|
|
70324
|
+
id?: string;
|
|
70325
|
+
last_error?: string | null;
|
|
70326
|
+
last_error_at?: string | null;
|
|
70327
|
+
last_sent_hash?: string | null;
|
|
70328
|
+
locked_by?: string | null;
|
|
70329
|
+
locked_until?: string | null;
|
|
70330
|
+
next_attempt_at?: string;
|
|
70331
|
+
order_ref?: string;
|
|
70332
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
70333
|
+
payload_hash?: string | null;
|
|
70334
|
+
revision?: number;
|
|
70335
|
+
sent_at?: string | null;
|
|
70336
|
+
status?: string;
|
|
70337
|
+
updated_at?: string;
|
|
70338
|
+
};
|
|
70339
|
+
Relationships: [];
|
|
70340
|
+
};
|
|
69498
70341
|
logistics_formulas: {
|
|
69499
70342
|
Row: {
|
|
69500
70343
|
created_at: string;
|
|
@@ -70106,6 +70949,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
70106
70949
|
};
|
|
70107
70950
|
logistics_tasks: {
|
|
70108
70951
|
Row: {
|
|
70952
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
70953
|
+
attempts: number;
|
|
70109
70954
|
buffer_ref: string | null;
|
|
70110
70955
|
claimed_at: string | null;
|
|
70111
70956
|
claimed_by: string | null;
|
|
@@ -70115,6 +70960,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
70115
70960
|
due_at: string | null;
|
|
70116
70961
|
error: string | null;
|
|
70117
70962
|
id: string;
|
|
70963
|
+
last_error: string | null;
|
|
70964
|
+
next_attempt_at: string | null;
|
|
70118
70965
|
order_ref: string;
|
|
70119
70966
|
owner_module: string;
|
|
70120
70967
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -70135,6 +70982,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
70135
70982
|
user_id: string;
|
|
70136
70983
|
};
|
|
70137
70984
|
Insert: {
|
|
70985
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
70986
|
+
attempts?: number;
|
|
70138
70987
|
buffer_ref?: string | null;
|
|
70139
70988
|
claimed_at?: string | null;
|
|
70140
70989
|
claimed_by?: string | null;
|
|
@@ -70144,6 +70993,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
70144
70993
|
due_at?: string | null;
|
|
70145
70994
|
error?: string | null;
|
|
70146
70995
|
id?: string;
|
|
70996
|
+
last_error?: string | null;
|
|
70997
|
+
next_attempt_at?: string | null;
|
|
70147
70998
|
order_ref: string;
|
|
70148
70999
|
owner_module: string;
|
|
70149
71000
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -70164,6 +71015,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
70164
71015
|
user_id?: string;
|
|
70165
71016
|
};
|
|
70166
71017
|
Update: {
|
|
71018
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
71019
|
+
attempts?: number;
|
|
70167
71020
|
buffer_ref?: string | null;
|
|
70168
71021
|
claimed_at?: string | null;
|
|
70169
71022
|
claimed_by?: string | null;
|
|
@@ -70173,6 +71026,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
70173
71026
|
due_at?: string | null;
|
|
70174
71027
|
error?: string | null;
|
|
70175
71028
|
id?: string;
|
|
71029
|
+
last_error?: string | null;
|
|
71030
|
+
next_attempt_at?: string | null;
|
|
70176
71031
|
order_ref?: string;
|
|
70177
71032
|
owner_module?: string;
|
|
70178
71033
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -79177,6 +80032,85 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79177
80032
|
};
|
|
79178
80033
|
Returns: import("../integrations/supabase/types").Json;
|
|
79179
80034
|
};
|
|
80035
|
+
claim_floriday_stock_queue: {
|
|
80036
|
+
Args: {
|
|
80037
|
+
p_limit?: number;
|
|
80038
|
+
p_worker?: string;
|
|
80039
|
+
};
|
|
80040
|
+
Returns: {
|
|
80041
|
+
attempts: number;
|
|
80042
|
+
connection_id: string;
|
|
80043
|
+
created_at: string;
|
|
80044
|
+
desired_available: boolean | null;
|
|
80045
|
+
gateway_attempt_id: string | null;
|
|
80046
|
+
id: string;
|
|
80047
|
+
last_error: string | null;
|
|
80048
|
+
locked_at: string | null;
|
|
80049
|
+
locked_by: string | null;
|
|
80050
|
+
next_attempt_at: string;
|
|
80051
|
+
number_of_pieces: number;
|
|
80052
|
+
sent_at: string | null;
|
|
80053
|
+
status: string;
|
|
80054
|
+
superseded_by: string | null;
|
|
80055
|
+
trade_item_id: string;
|
|
80056
|
+
updated_at: string;
|
|
80057
|
+
user_id: string;
|
|
80058
|
+
}[];
|
|
80059
|
+
SetofOptions: {
|
|
80060
|
+
from: "*";
|
|
80061
|
+
to: "floriday_continuous_stock_queue";
|
|
80062
|
+
isOneToOne: false;
|
|
80063
|
+
isSetofReturn: true;
|
|
80064
|
+
};
|
|
80065
|
+
};
|
|
80066
|
+
claim_logistics_tasks: {
|
|
80067
|
+
Args: {
|
|
80068
|
+
_limit?: number;
|
|
80069
|
+
_owner_module: string;
|
|
80070
|
+
_stale_minutes?: number;
|
|
80071
|
+
_task_type: string;
|
|
80072
|
+
_worker: string;
|
|
80073
|
+
};
|
|
80074
|
+
Returns: {
|
|
80075
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80076
|
+
attempts: number;
|
|
80077
|
+
buffer_ref: string | null;
|
|
80078
|
+
claimed_at: string | null;
|
|
80079
|
+
claimed_by: string | null;
|
|
80080
|
+
completed_at: string | null;
|
|
80081
|
+
created_at: string;
|
|
80082
|
+
depends_on: string[];
|
|
80083
|
+
due_at: string | null;
|
|
80084
|
+
error: string | null;
|
|
80085
|
+
id: string;
|
|
80086
|
+
last_error: string | null;
|
|
80087
|
+
next_attempt_at: string | null;
|
|
80088
|
+
order_ref: string;
|
|
80089
|
+
owner_module: string;
|
|
80090
|
+
payload: import("../integrations/supabase/types").Json;
|
|
80091
|
+
plan_run_id: string | null;
|
|
80092
|
+
planned_end: string | null;
|
|
80093
|
+
planned_start: string | null;
|
|
80094
|
+
priority: number;
|
|
80095
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
80096
|
+
rule_config_id: string | null;
|
|
80097
|
+
rule_version: number | null;
|
|
80098
|
+
sequence: number;
|
|
80099
|
+
shadow: boolean;
|
|
80100
|
+
started_at: string | null;
|
|
80101
|
+
status: string;
|
|
80102
|
+
strategy_id: string | null;
|
|
80103
|
+
task_type: string;
|
|
80104
|
+
updated_at: string;
|
|
80105
|
+
user_id: string;
|
|
80106
|
+
}[];
|
|
80107
|
+
SetofOptions: {
|
|
80108
|
+
from: "*";
|
|
80109
|
+
to: "logistics_tasks";
|
|
80110
|
+
isOneToOne: false;
|
|
80111
|
+
isSetofReturn: true;
|
|
80112
|
+
};
|
|
80113
|
+
};
|
|
79180
80114
|
claim_print_jobs: {
|
|
79181
80115
|
Args: {
|
|
79182
80116
|
_agent_id: string;
|
|
@@ -79241,10 +80175,24 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79241
80175
|
isSetofReturn: true;
|
|
79242
80176
|
};
|
|
79243
80177
|
};
|
|
80178
|
+
cleanup_floriday_stock_queue: {
|
|
80179
|
+
Args: never;
|
|
80180
|
+
Returns: undefined;
|
|
80181
|
+
};
|
|
79244
80182
|
cleanup_old_bookings: {
|
|
79245
80183
|
Args: never;
|
|
79246
80184
|
Returns: undefined;
|
|
79247
80185
|
};
|
|
80186
|
+
complete_floriday_stock_queue: {
|
|
80187
|
+
Args: {
|
|
80188
|
+
p_attempt_id?: string;
|
|
80189
|
+
p_error?: string;
|
|
80190
|
+
p_id: string;
|
|
80191
|
+
p_ok: boolean;
|
|
80192
|
+
p_permanent?: boolean;
|
|
80193
|
+
};
|
|
80194
|
+
Returns: undefined;
|
|
80195
|
+
};
|
|
79248
80196
|
consume_bom_for_production: {
|
|
79249
80197
|
Args: {
|
|
79250
80198
|
p_connection_id: string;
|
|
@@ -79936,6 +80884,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79936
80884
|
p_worker?: string;
|
|
79937
80885
|
};
|
|
79938
80886
|
Returns: {
|
|
80887
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80888
|
+
attempts: number;
|
|
79939
80889
|
buffer_ref: string | null;
|
|
79940
80890
|
claimed_at: string | null;
|
|
79941
80891
|
claimed_by: string | null;
|
|
@@ -79945,6 +80895,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79945
80895
|
due_at: string | null;
|
|
79946
80896
|
error: string | null;
|
|
79947
80897
|
id: string;
|
|
80898
|
+
last_error: string | null;
|
|
80899
|
+
next_attempt_at: string | null;
|
|
79948
80900
|
order_ref: string;
|
|
79949
80901
|
owner_module: string;
|
|
79950
80902
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -79977,6 +80929,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79977
80929
|
p_worker?: string;
|
|
79978
80930
|
};
|
|
79979
80931
|
Returns: {
|
|
80932
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80933
|
+
attempts: number;
|
|
79980
80934
|
buffer_ref: string | null;
|
|
79981
80935
|
claimed_at: string | null;
|
|
79982
80936
|
claimed_by: string | null;
|
|
@@ -79986,6 +80940,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79986
80940
|
due_at: string | null;
|
|
79987
80941
|
error: string | null;
|
|
79988
80942
|
id: string;
|
|
80943
|
+
last_error: string | null;
|
|
80944
|
+
next_attempt_at: string | null;
|
|
79989
80945
|
order_ref: string;
|
|
79990
80946
|
owner_module: string;
|
|
79991
80947
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80018,6 +80974,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
80018
80974
|
p_task_id: string;
|
|
80019
80975
|
};
|
|
80020
80976
|
Returns: {
|
|
80977
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
80978
|
+
attempts: number;
|
|
80021
80979
|
buffer_ref: string | null;
|
|
80022
80980
|
claimed_at: string | null;
|
|
80023
80981
|
claimed_by: string | null;
|
|
@@ -80027,6 +80985,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
80027
80985
|
due_at: string | null;
|
|
80028
80986
|
error: string | null;
|
|
80029
80987
|
id: string;
|
|
80988
|
+
last_error: string | null;
|
|
80989
|
+
next_attempt_at: string | null;
|
|
80030
80990
|
order_ref: string;
|
|
80031
80991
|
owner_module: string;
|
|
80032
80992
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80108,6 +81068,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
80108
81068
|
p_task_id: string;
|
|
80109
81069
|
};
|
|
80110
81070
|
Returns: {
|
|
81071
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
81072
|
+
attempts: number;
|
|
80111
81073
|
buffer_ref: string | null;
|
|
80112
81074
|
claimed_at: string | null;
|
|
80113
81075
|
claimed_by: string | null;
|
|
@@ -80117,6 +81079,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
80117
81079
|
due_at: string | null;
|
|
80118
81080
|
error: string | null;
|
|
80119
81081
|
id: string;
|
|
81082
|
+
last_error: string | null;
|
|
81083
|
+
next_attempt_at: string | null;
|
|
80120
81084
|
order_ref: string;
|
|
80121
81085
|
owner_module: string;
|
|
80122
81086
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -80143,6 +81107,51 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
80143
81107
|
isSetofReturn: false;
|
|
80144
81108
|
};
|
|
80145
81109
|
};
|
|
81110
|
+
logistics_floriday_claim_pushes: {
|
|
81111
|
+
Args: {
|
|
81112
|
+
_lease_seconds?: number;
|
|
81113
|
+
_limit?: number;
|
|
81114
|
+
_worker?: string;
|
|
81115
|
+
};
|
|
81116
|
+
Returns: {
|
|
81117
|
+
attempts: number;
|
|
81118
|
+
fulfillment_order_id: string;
|
|
81119
|
+
id: string;
|
|
81120
|
+
last_sent_hash: string;
|
|
81121
|
+
order_ref: string;
|
|
81122
|
+
payload: import("../integrations/supabase/types").Json;
|
|
81123
|
+
payload_hash: string;
|
|
81124
|
+
revision: number;
|
|
81125
|
+
}[];
|
|
81126
|
+
};
|
|
81127
|
+
logistics_floriday_finish_push: {
|
|
81128
|
+
Args: {
|
|
81129
|
+
_error?: string;
|
|
81130
|
+
_fulfillment_order_id?: string;
|
|
81131
|
+
_id: string;
|
|
81132
|
+
_max_age_hours?: number;
|
|
81133
|
+
_max_attempts?: number;
|
|
81134
|
+
_ok: boolean;
|
|
81135
|
+
_permanent?: boolean;
|
|
81136
|
+
_revision: number;
|
|
81137
|
+
_sent_hash?: string;
|
|
81138
|
+
};
|
|
81139
|
+
Returns: string;
|
|
81140
|
+
};
|
|
81141
|
+
logistics_floriday_prune_pushes: {
|
|
81142
|
+
Args: {
|
|
81143
|
+
_days?: number;
|
|
81144
|
+
};
|
|
81145
|
+
Returns: number;
|
|
81146
|
+
};
|
|
81147
|
+
logistics_floriday_queue_push: {
|
|
81148
|
+
Args: {
|
|
81149
|
+
_order_ref: string;
|
|
81150
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
81151
|
+
_payload_hash?: string;
|
|
81152
|
+
};
|
|
81153
|
+
Returns: string;
|
|
81154
|
+
};
|
|
80146
81155
|
logistics_live_carriers: {
|
|
80147
81156
|
Args: {
|
|
80148
81157
|
p_order_ref: string;
|
|
@@ -80870,6 +81879,10 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
80870
81879
|
Args: never;
|
|
80871
81880
|
Returns: undefined;
|
|
80872
81881
|
};
|
|
81882
|
+
run_logistics_tasks_dispatch: {
|
|
81883
|
+
Args: never;
|
|
81884
|
+
Returns: undefined;
|
|
81885
|
+
};
|
|
80873
81886
|
run_twinfield_queue_tick: {
|
|
80874
81887
|
Args: never;
|
|
80875
81888
|
Returns: undefined;
|
|
@@ -81110,6 +82123,13 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
81110
82123
|
};
|
|
81111
82124
|
Returns: number;
|
|
81112
82125
|
};
|
|
82126
|
+
schedule_floriday_stock_queue_process: {
|
|
82127
|
+
Args: {
|
|
82128
|
+
p_apikey: string;
|
|
82129
|
+
p_url: string;
|
|
82130
|
+
};
|
|
82131
|
+
Returns: number;
|
|
82132
|
+
};
|
|
81113
82133
|
schedule_floriday_token_refresh: {
|
|
81114
82134
|
Args: {
|
|
81115
82135
|
p_apikey: string;
|
|
@@ -87055,12 +88075,17 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
87055
88075
|
attempts: number;
|
|
87056
88076
|
connection_id: string;
|
|
87057
88077
|
created_at: string;
|
|
88078
|
+
desired_available: boolean | null;
|
|
87058
88079
|
gateway_attempt_id: string | null;
|
|
87059
88080
|
id: string;
|
|
87060
88081
|
last_error: string | null;
|
|
88082
|
+
locked_at: string | null;
|
|
88083
|
+
locked_by: string | null;
|
|
88084
|
+
next_attempt_at: string;
|
|
87061
88085
|
number_of_pieces: number;
|
|
87062
88086
|
sent_at: string | null;
|
|
87063
88087
|
status: string;
|
|
88088
|
+
superseded_by: string | null;
|
|
87064
88089
|
trade_item_id: string;
|
|
87065
88090
|
updated_at: string;
|
|
87066
88091
|
user_id: string;
|
|
@@ -87069,12 +88094,17 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
87069
88094
|
attempts?: number;
|
|
87070
88095
|
connection_id: string;
|
|
87071
88096
|
created_at?: string;
|
|
88097
|
+
desired_available?: boolean | null;
|
|
87072
88098
|
gateway_attempt_id?: string | null;
|
|
87073
88099
|
id?: string;
|
|
87074
88100
|
last_error?: string | null;
|
|
88101
|
+
locked_at?: string | null;
|
|
88102
|
+
locked_by?: string | null;
|
|
88103
|
+
next_attempt_at?: string;
|
|
87075
88104
|
number_of_pieces?: number;
|
|
87076
88105
|
sent_at?: string | null;
|
|
87077
88106
|
status?: string;
|
|
88107
|
+
superseded_by?: string | null;
|
|
87078
88108
|
trade_item_id: string;
|
|
87079
88109
|
updated_at?: string;
|
|
87080
88110
|
user_id: string;
|
|
@@ -87083,12 +88113,17 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
87083
88113
|
attempts?: number;
|
|
87084
88114
|
connection_id?: string;
|
|
87085
88115
|
created_at?: string;
|
|
88116
|
+
desired_available?: boolean | null;
|
|
87086
88117
|
gateway_attempt_id?: string | null;
|
|
87087
88118
|
id?: string;
|
|
87088
88119
|
last_error?: string | null;
|
|
88120
|
+
locked_at?: string | null;
|
|
88121
|
+
locked_by?: string | null;
|
|
88122
|
+
next_attempt_at?: string;
|
|
87089
88123
|
number_of_pieces?: number;
|
|
87090
88124
|
sent_at?: string | null;
|
|
87091
88125
|
status?: string;
|
|
88126
|
+
superseded_by?: string | null;
|
|
87092
88127
|
trade_item_id?: string;
|
|
87093
88128
|
updated_at?: string;
|
|
87094
88129
|
user_id?: string;
|
|
@@ -89837,6 +90872,69 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
89837
90872
|
};
|
|
89838
90873
|
Relationships: [];
|
|
89839
90874
|
};
|
|
90875
|
+
logistics_floriday_pushes: {
|
|
90876
|
+
Row: {
|
|
90877
|
+
attempts: number;
|
|
90878
|
+
created_at: string;
|
|
90879
|
+
first_queued_at: string;
|
|
90880
|
+
fulfillment_order_id: string | null;
|
|
90881
|
+
id: string;
|
|
90882
|
+
last_error: string | null;
|
|
90883
|
+
last_error_at: string | null;
|
|
90884
|
+
last_sent_hash: string | null;
|
|
90885
|
+
locked_by: string | null;
|
|
90886
|
+
locked_until: string | null;
|
|
90887
|
+
next_attempt_at: string;
|
|
90888
|
+
order_ref: string;
|
|
90889
|
+
payload: import("../integrations/supabase/types").Json;
|
|
90890
|
+
payload_hash: string | null;
|
|
90891
|
+
revision: number;
|
|
90892
|
+
sent_at: string | null;
|
|
90893
|
+
status: string;
|
|
90894
|
+
updated_at: string;
|
|
90895
|
+
};
|
|
90896
|
+
Insert: {
|
|
90897
|
+
attempts?: number;
|
|
90898
|
+
created_at?: string;
|
|
90899
|
+
first_queued_at?: string;
|
|
90900
|
+
fulfillment_order_id?: string | null;
|
|
90901
|
+
id?: string;
|
|
90902
|
+
last_error?: string | null;
|
|
90903
|
+
last_error_at?: string | null;
|
|
90904
|
+
last_sent_hash?: string | null;
|
|
90905
|
+
locked_by?: string | null;
|
|
90906
|
+
locked_until?: string | null;
|
|
90907
|
+
next_attempt_at?: string;
|
|
90908
|
+
order_ref: string;
|
|
90909
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
90910
|
+
payload_hash?: string | null;
|
|
90911
|
+
revision?: number;
|
|
90912
|
+
sent_at?: string | null;
|
|
90913
|
+
status?: string;
|
|
90914
|
+
updated_at?: string;
|
|
90915
|
+
};
|
|
90916
|
+
Update: {
|
|
90917
|
+
attempts?: number;
|
|
90918
|
+
created_at?: string;
|
|
90919
|
+
first_queued_at?: string;
|
|
90920
|
+
fulfillment_order_id?: string | null;
|
|
90921
|
+
id?: string;
|
|
90922
|
+
last_error?: string | null;
|
|
90923
|
+
last_error_at?: string | null;
|
|
90924
|
+
last_sent_hash?: string | null;
|
|
90925
|
+
locked_by?: string | null;
|
|
90926
|
+
locked_until?: string | null;
|
|
90927
|
+
next_attempt_at?: string;
|
|
90928
|
+
order_ref?: string;
|
|
90929
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
90930
|
+
payload_hash?: string | null;
|
|
90931
|
+
revision?: number;
|
|
90932
|
+
sent_at?: string | null;
|
|
90933
|
+
status?: string;
|
|
90934
|
+
updated_at?: string;
|
|
90935
|
+
};
|
|
90936
|
+
Relationships: [];
|
|
90937
|
+
};
|
|
89840
90938
|
logistics_formulas: {
|
|
89841
90939
|
Row: {
|
|
89842
90940
|
created_at: string;
|
|
@@ -90448,6 +91546,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
90448
91546
|
};
|
|
90449
91547
|
logistics_tasks: {
|
|
90450
91548
|
Row: {
|
|
91549
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
91550
|
+
attempts: number;
|
|
90451
91551
|
buffer_ref: string | null;
|
|
90452
91552
|
claimed_at: string | null;
|
|
90453
91553
|
claimed_by: string | null;
|
|
@@ -90457,6 +91557,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
90457
91557
|
due_at: string | null;
|
|
90458
91558
|
error: string | null;
|
|
90459
91559
|
id: string;
|
|
91560
|
+
last_error: string | null;
|
|
91561
|
+
next_attempt_at: string | null;
|
|
90460
91562
|
order_ref: string;
|
|
90461
91563
|
owner_module: string;
|
|
90462
91564
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90477,6 +91579,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
90477
91579
|
user_id: string;
|
|
90478
91580
|
};
|
|
90479
91581
|
Insert: {
|
|
91582
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
91583
|
+
attempts?: number;
|
|
90480
91584
|
buffer_ref?: string | null;
|
|
90481
91585
|
claimed_at?: string | null;
|
|
90482
91586
|
claimed_by?: string | null;
|
|
@@ -90486,6 +91590,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
90486
91590
|
due_at?: string | null;
|
|
90487
91591
|
error?: string | null;
|
|
90488
91592
|
id?: string;
|
|
91593
|
+
last_error?: string | null;
|
|
91594
|
+
next_attempt_at?: string | null;
|
|
90489
91595
|
order_ref: string;
|
|
90490
91596
|
owner_module: string;
|
|
90491
91597
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -90506,6 +91612,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
90506
91612
|
user_id?: string;
|
|
90507
91613
|
};
|
|
90508
91614
|
Update: {
|
|
91615
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
91616
|
+
attempts?: number;
|
|
90509
91617
|
buffer_ref?: string | null;
|
|
90510
91618
|
claimed_at?: string | null;
|
|
90511
91619
|
claimed_by?: string | null;
|
|
@@ -90515,6 +91623,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
90515
91623
|
due_at?: string | null;
|
|
90516
91624
|
error?: string | null;
|
|
90517
91625
|
id?: string;
|
|
91626
|
+
last_error?: string | null;
|
|
91627
|
+
next_attempt_at?: string | null;
|
|
90518
91628
|
order_ref?: string;
|
|
90519
91629
|
owner_module?: string;
|
|
90520
91630
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -99519,6 +100629,85 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
99519
100629
|
};
|
|
99520
100630
|
Returns: import("../integrations/supabase/types").Json;
|
|
99521
100631
|
};
|
|
100632
|
+
claim_floriday_stock_queue: {
|
|
100633
|
+
Args: {
|
|
100634
|
+
p_limit?: number;
|
|
100635
|
+
p_worker?: string;
|
|
100636
|
+
};
|
|
100637
|
+
Returns: {
|
|
100638
|
+
attempts: number;
|
|
100639
|
+
connection_id: string;
|
|
100640
|
+
created_at: string;
|
|
100641
|
+
desired_available: boolean | null;
|
|
100642
|
+
gateway_attempt_id: string | null;
|
|
100643
|
+
id: string;
|
|
100644
|
+
last_error: string | null;
|
|
100645
|
+
locked_at: string | null;
|
|
100646
|
+
locked_by: string | null;
|
|
100647
|
+
next_attempt_at: string;
|
|
100648
|
+
number_of_pieces: number;
|
|
100649
|
+
sent_at: string | null;
|
|
100650
|
+
status: string;
|
|
100651
|
+
superseded_by: string | null;
|
|
100652
|
+
trade_item_id: string;
|
|
100653
|
+
updated_at: string;
|
|
100654
|
+
user_id: string;
|
|
100655
|
+
}[];
|
|
100656
|
+
SetofOptions: {
|
|
100657
|
+
from: "*";
|
|
100658
|
+
to: "floriday_continuous_stock_queue";
|
|
100659
|
+
isOneToOne: false;
|
|
100660
|
+
isSetofReturn: true;
|
|
100661
|
+
};
|
|
100662
|
+
};
|
|
100663
|
+
claim_logistics_tasks: {
|
|
100664
|
+
Args: {
|
|
100665
|
+
_limit?: number;
|
|
100666
|
+
_owner_module: string;
|
|
100667
|
+
_stale_minutes?: number;
|
|
100668
|
+
_task_type: string;
|
|
100669
|
+
_worker: string;
|
|
100670
|
+
};
|
|
100671
|
+
Returns: {
|
|
100672
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
100673
|
+
attempts: number;
|
|
100674
|
+
buffer_ref: string | null;
|
|
100675
|
+
claimed_at: string | null;
|
|
100676
|
+
claimed_by: string | null;
|
|
100677
|
+
completed_at: string | null;
|
|
100678
|
+
created_at: string;
|
|
100679
|
+
depends_on: string[];
|
|
100680
|
+
due_at: string | null;
|
|
100681
|
+
error: string | null;
|
|
100682
|
+
id: string;
|
|
100683
|
+
last_error: string | null;
|
|
100684
|
+
next_attempt_at: string | null;
|
|
100685
|
+
order_ref: string;
|
|
100686
|
+
owner_module: string;
|
|
100687
|
+
payload: import("../integrations/supabase/types").Json;
|
|
100688
|
+
plan_run_id: string | null;
|
|
100689
|
+
planned_end: string | null;
|
|
100690
|
+
planned_start: string | null;
|
|
100691
|
+
priority: number;
|
|
100692
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
100693
|
+
rule_config_id: string | null;
|
|
100694
|
+
rule_version: number | null;
|
|
100695
|
+
sequence: number;
|
|
100696
|
+
shadow: boolean;
|
|
100697
|
+
started_at: string | null;
|
|
100698
|
+
status: string;
|
|
100699
|
+
strategy_id: string | null;
|
|
100700
|
+
task_type: string;
|
|
100701
|
+
updated_at: string;
|
|
100702
|
+
user_id: string;
|
|
100703
|
+
}[];
|
|
100704
|
+
SetofOptions: {
|
|
100705
|
+
from: "*";
|
|
100706
|
+
to: "logistics_tasks";
|
|
100707
|
+
isOneToOne: false;
|
|
100708
|
+
isSetofReturn: true;
|
|
100709
|
+
};
|
|
100710
|
+
};
|
|
99522
100711
|
claim_print_jobs: {
|
|
99523
100712
|
Args: {
|
|
99524
100713
|
_agent_id: string;
|
|
@@ -99583,10 +100772,24 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
99583
100772
|
isSetofReturn: true;
|
|
99584
100773
|
};
|
|
99585
100774
|
};
|
|
100775
|
+
cleanup_floriday_stock_queue: {
|
|
100776
|
+
Args: never;
|
|
100777
|
+
Returns: undefined;
|
|
100778
|
+
};
|
|
99586
100779
|
cleanup_old_bookings: {
|
|
99587
100780
|
Args: never;
|
|
99588
100781
|
Returns: undefined;
|
|
99589
100782
|
};
|
|
100783
|
+
complete_floriday_stock_queue: {
|
|
100784
|
+
Args: {
|
|
100785
|
+
p_attempt_id?: string;
|
|
100786
|
+
p_error?: string;
|
|
100787
|
+
p_id: string;
|
|
100788
|
+
p_ok: boolean;
|
|
100789
|
+
p_permanent?: boolean;
|
|
100790
|
+
};
|
|
100791
|
+
Returns: undefined;
|
|
100792
|
+
};
|
|
99590
100793
|
consume_bom_for_production: {
|
|
99591
100794
|
Args: {
|
|
99592
100795
|
p_connection_id: string;
|
|
@@ -100278,6 +101481,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100278
101481
|
p_worker?: string;
|
|
100279
101482
|
};
|
|
100280
101483
|
Returns: {
|
|
101484
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101485
|
+
attempts: number;
|
|
100281
101486
|
buffer_ref: string | null;
|
|
100282
101487
|
claimed_at: string | null;
|
|
100283
101488
|
claimed_by: string | null;
|
|
@@ -100287,6 +101492,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100287
101492
|
due_at: string | null;
|
|
100288
101493
|
error: string | null;
|
|
100289
101494
|
id: string;
|
|
101495
|
+
last_error: string | null;
|
|
101496
|
+
next_attempt_at: string | null;
|
|
100290
101497
|
order_ref: string;
|
|
100291
101498
|
owner_module: string;
|
|
100292
101499
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100319,6 +101526,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100319
101526
|
p_worker?: string;
|
|
100320
101527
|
};
|
|
100321
101528
|
Returns: {
|
|
101529
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101530
|
+
attempts: number;
|
|
100322
101531
|
buffer_ref: string | null;
|
|
100323
101532
|
claimed_at: string | null;
|
|
100324
101533
|
claimed_by: string | null;
|
|
@@ -100328,6 +101537,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100328
101537
|
due_at: string | null;
|
|
100329
101538
|
error: string | null;
|
|
100330
101539
|
id: string;
|
|
101540
|
+
last_error: string | null;
|
|
101541
|
+
next_attempt_at: string | null;
|
|
100331
101542
|
order_ref: string;
|
|
100332
101543
|
owner_module: string;
|
|
100333
101544
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100360,6 +101571,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100360
101571
|
p_task_id: string;
|
|
100361
101572
|
};
|
|
100362
101573
|
Returns: {
|
|
101574
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101575
|
+
attempts: number;
|
|
100363
101576
|
buffer_ref: string | null;
|
|
100364
101577
|
claimed_at: string | null;
|
|
100365
101578
|
claimed_by: string | null;
|
|
@@ -100369,6 +101582,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100369
101582
|
due_at: string | null;
|
|
100370
101583
|
error: string | null;
|
|
100371
101584
|
id: string;
|
|
101585
|
+
last_error: string | null;
|
|
101586
|
+
next_attempt_at: string | null;
|
|
100372
101587
|
order_ref: string;
|
|
100373
101588
|
owner_module: string;
|
|
100374
101589
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100450,6 +101665,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100450
101665
|
p_task_id: string;
|
|
100451
101666
|
};
|
|
100452
101667
|
Returns: {
|
|
101668
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
101669
|
+
attempts: number;
|
|
100453
101670
|
buffer_ref: string | null;
|
|
100454
101671
|
claimed_at: string | null;
|
|
100455
101672
|
claimed_by: string | null;
|
|
@@ -100459,6 +101676,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100459
101676
|
due_at: string | null;
|
|
100460
101677
|
error: string | null;
|
|
100461
101678
|
id: string;
|
|
101679
|
+
last_error: string | null;
|
|
101680
|
+
next_attempt_at: string | null;
|
|
100462
101681
|
order_ref: string;
|
|
100463
101682
|
owner_module: string;
|
|
100464
101683
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -100485,6 +101704,51 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
100485
101704
|
isSetofReturn: false;
|
|
100486
101705
|
};
|
|
100487
101706
|
};
|
|
101707
|
+
logistics_floriday_claim_pushes: {
|
|
101708
|
+
Args: {
|
|
101709
|
+
_lease_seconds?: number;
|
|
101710
|
+
_limit?: number;
|
|
101711
|
+
_worker?: string;
|
|
101712
|
+
};
|
|
101713
|
+
Returns: {
|
|
101714
|
+
attempts: number;
|
|
101715
|
+
fulfillment_order_id: string;
|
|
101716
|
+
id: string;
|
|
101717
|
+
last_sent_hash: string;
|
|
101718
|
+
order_ref: string;
|
|
101719
|
+
payload: import("../integrations/supabase/types").Json;
|
|
101720
|
+
payload_hash: string;
|
|
101721
|
+
revision: number;
|
|
101722
|
+
}[];
|
|
101723
|
+
};
|
|
101724
|
+
logistics_floriday_finish_push: {
|
|
101725
|
+
Args: {
|
|
101726
|
+
_error?: string;
|
|
101727
|
+
_fulfillment_order_id?: string;
|
|
101728
|
+
_id: string;
|
|
101729
|
+
_max_age_hours?: number;
|
|
101730
|
+
_max_attempts?: number;
|
|
101731
|
+
_ok: boolean;
|
|
101732
|
+
_permanent?: boolean;
|
|
101733
|
+
_revision: number;
|
|
101734
|
+
_sent_hash?: string;
|
|
101735
|
+
};
|
|
101736
|
+
Returns: string;
|
|
101737
|
+
};
|
|
101738
|
+
logistics_floriday_prune_pushes: {
|
|
101739
|
+
Args: {
|
|
101740
|
+
_days?: number;
|
|
101741
|
+
};
|
|
101742
|
+
Returns: number;
|
|
101743
|
+
};
|
|
101744
|
+
logistics_floriday_queue_push: {
|
|
101745
|
+
Args: {
|
|
101746
|
+
_order_ref: string;
|
|
101747
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
101748
|
+
_payload_hash?: string;
|
|
101749
|
+
};
|
|
101750
|
+
Returns: string;
|
|
101751
|
+
};
|
|
100488
101752
|
logistics_live_carriers: {
|
|
100489
101753
|
Args: {
|
|
100490
101754
|
p_order_ref: string;
|
|
@@ -101212,6 +102476,10 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
101212
102476
|
Args: never;
|
|
101213
102477
|
Returns: undefined;
|
|
101214
102478
|
};
|
|
102479
|
+
run_logistics_tasks_dispatch: {
|
|
102480
|
+
Args: never;
|
|
102481
|
+
Returns: undefined;
|
|
102482
|
+
};
|
|
101215
102483
|
run_twinfield_queue_tick: {
|
|
101216
102484
|
Args: never;
|
|
101217
102485
|
Returns: undefined;
|
|
@@ -101452,6 +102720,13 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
101452
102720
|
};
|
|
101453
102721
|
Returns: number;
|
|
101454
102722
|
};
|
|
102723
|
+
schedule_floriday_stock_queue_process: {
|
|
102724
|
+
Args: {
|
|
102725
|
+
p_apikey: string;
|
|
102726
|
+
p_url: string;
|
|
102727
|
+
};
|
|
102728
|
+
Returns: number;
|
|
102729
|
+
};
|
|
101455
102730
|
schedule_floriday_token_refresh: {
|
|
101456
102731
|
Args: {
|
|
101457
102732
|
p_apikey: string;
|
|
@@ -107361,12 +108636,17 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
107361
108636
|
attempts: number;
|
|
107362
108637
|
connection_id: string;
|
|
107363
108638
|
created_at: string;
|
|
108639
|
+
desired_available: boolean | null;
|
|
107364
108640
|
gateway_attempt_id: string | null;
|
|
107365
108641
|
id: string;
|
|
107366
108642
|
last_error: string | null;
|
|
108643
|
+
locked_at: string | null;
|
|
108644
|
+
locked_by: string | null;
|
|
108645
|
+
next_attempt_at: string;
|
|
107367
108646
|
number_of_pieces: number;
|
|
107368
108647
|
sent_at: string | null;
|
|
107369
108648
|
status: string;
|
|
108649
|
+
superseded_by: string | null;
|
|
107370
108650
|
trade_item_id: string;
|
|
107371
108651
|
updated_at: string;
|
|
107372
108652
|
user_id: string;
|
|
@@ -107375,12 +108655,17 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
107375
108655
|
attempts?: number;
|
|
107376
108656
|
connection_id: string;
|
|
107377
108657
|
created_at?: string;
|
|
108658
|
+
desired_available?: boolean | null;
|
|
107378
108659
|
gateway_attempt_id?: string | null;
|
|
107379
108660
|
id?: string;
|
|
107380
108661
|
last_error?: string | null;
|
|
108662
|
+
locked_at?: string | null;
|
|
108663
|
+
locked_by?: string | null;
|
|
108664
|
+
next_attempt_at?: string;
|
|
107381
108665
|
number_of_pieces?: number;
|
|
107382
108666
|
sent_at?: string | null;
|
|
107383
108667
|
status?: string;
|
|
108668
|
+
superseded_by?: string | null;
|
|
107384
108669
|
trade_item_id: string;
|
|
107385
108670
|
updated_at?: string;
|
|
107386
108671
|
user_id: string;
|
|
@@ -107389,12 +108674,17 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
107389
108674
|
attempts?: number;
|
|
107390
108675
|
connection_id?: string;
|
|
107391
108676
|
created_at?: string;
|
|
108677
|
+
desired_available?: boolean | null;
|
|
107392
108678
|
gateway_attempt_id?: string | null;
|
|
107393
108679
|
id?: string;
|
|
107394
108680
|
last_error?: string | null;
|
|
108681
|
+
locked_at?: string | null;
|
|
108682
|
+
locked_by?: string | null;
|
|
108683
|
+
next_attempt_at?: string;
|
|
107395
108684
|
number_of_pieces?: number;
|
|
107396
108685
|
sent_at?: string | null;
|
|
107397
108686
|
status?: string;
|
|
108687
|
+
superseded_by?: string | null;
|
|
107398
108688
|
trade_item_id?: string;
|
|
107399
108689
|
updated_at?: string;
|
|
107400
108690
|
user_id?: string;
|
|
@@ -110143,6 +111433,69 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110143
111433
|
};
|
|
110144
111434
|
Relationships: [];
|
|
110145
111435
|
};
|
|
111436
|
+
logistics_floriday_pushes: {
|
|
111437
|
+
Row: {
|
|
111438
|
+
attempts: number;
|
|
111439
|
+
created_at: string;
|
|
111440
|
+
first_queued_at: string;
|
|
111441
|
+
fulfillment_order_id: string | null;
|
|
111442
|
+
id: string;
|
|
111443
|
+
last_error: string | null;
|
|
111444
|
+
last_error_at: string | null;
|
|
111445
|
+
last_sent_hash: string | null;
|
|
111446
|
+
locked_by: string | null;
|
|
111447
|
+
locked_until: string | null;
|
|
111448
|
+
next_attempt_at: string;
|
|
111449
|
+
order_ref: string;
|
|
111450
|
+
payload: import("../integrations/supabase/types").Json;
|
|
111451
|
+
payload_hash: string | null;
|
|
111452
|
+
revision: number;
|
|
111453
|
+
sent_at: string | null;
|
|
111454
|
+
status: string;
|
|
111455
|
+
updated_at: string;
|
|
111456
|
+
};
|
|
111457
|
+
Insert: {
|
|
111458
|
+
attempts?: number;
|
|
111459
|
+
created_at?: string;
|
|
111460
|
+
first_queued_at?: string;
|
|
111461
|
+
fulfillment_order_id?: string | null;
|
|
111462
|
+
id?: string;
|
|
111463
|
+
last_error?: string | null;
|
|
111464
|
+
last_error_at?: string | null;
|
|
111465
|
+
last_sent_hash?: string | null;
|
|
111466
|
+
locked_by?: string | null;
|
|
111467
|
+
locked_until?: string | null;
|
|
111468
|
+
next_attempt_at?: string;
|
|
111469
|
+
order_ref: string;
|
|
111470
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
111471
|
+
payload_hash?: string | null;
|
|
111472
|
+
revision?: number;
|
|
111473
|
+
sent_at?: string | null;
|
|
111474
|
+
status?: string;
|
|
111475
|
+
updated_at?: string;
|
|
111476
|
+
};
|
|
111477
|
+
Update: {
|
|
111478
|
+
attempts?: number;
|
|
111479
|
+
created_at?: string;
|
|
111480
|
+
first_queued_at?: string;
|
|
111481
|
+
fulfillment_order_id?: string | null;
|
|
111482
|
+
id?: string;
|
|
111483
|
+
last_error?: string | null;
|
|
111484
|
+
last_error_at?: string | null;
|
|
111485
|
+
last_sent_hash?: string | null;
|
|
111486
|
+
locked_by?: string | null;
|
|
111487
|
+
locked_until?: string | null;
|
|
111488
|
+
next_attempt_at?: string;
|
|
111489
|
+
order_ref?: string;
|
|
111490
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
111491
|
+
payload_hash?: string | null;
|
|
111492
|
+
revision?: number;
|
|
111493
|
+
sent_at?: string | null;
|
|
111494
|
+
status?: string;
|
|
111495
|
+
updated_at?: string;
|
|
111496
|
+
};
|
|
111497
|
+
Relationships: [];
|
|
111498
|
+
};
|
|
110146
111499
|
logistics_formulas: {
|
|
110147
111500
|
Row: {
|
|
110148
111501
|
created_at: string;
|
|
@@ -110754,6 +112107,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110754
112107
|
};
|
|
110755
112108
|
logistics_tasks: {
|
|
110756
112109
|
Row: {
|
|
112110
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
112111
|
+
attempts: number;
|
|
110757
112112
|
buffer_ref: string | null;
|
|
110758
112113
|
claimed_at: string | null;
|
|
110759
112114
|
claimed_by: string | null;
|
|
@@ -110763,6 +112118,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110763
112118
|
due_at: string | null;
|
|
110764
112119
|
error: string | null;
|
|
110765
112120
|
id: string;
|
|
112121
|
+
last_error: string | null;
|
|
112122
|
+
next_attempt_at: string | null;
|
|
110766
112123
|
order_ref: string;
|
|
110767
112124
|
owner_module: string;
|
|
110768
112125
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -110783,6 +112140,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110783
112140
|
user_id: string;
|
|
110784
112141
|
};
|
|
110785
112142
|
Insert: {
|
|
112143
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
112144
|
+
attempts?: number;
|
|
110786
112145
|
buffer_ref?: string | null;
|
|
110787
112146
|
claimed_at?: string | null;
|
|
110788
112147
|
claimed_by?: string | null;
|
|
@@ -110792,6 +112151,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110792
112151
|
due_at?: string | null;
|
|
110793
112152
|
error?: string | null;
|
|
110794
112153
|
id?: string;
|
|
112154
|
+
last_error?: string | null;
|
|
112155
|
+
next_attempt_at?: string | null;
|
|
110795
112156
|
order_ref: string;
|
|
110796
112157
|
owner_module: string;
|
|
110797
112158
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -110812,6 +112173,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110812
112173
|
user_id?: string;
|
|
110813
112174
|
};
|
|
110814
112175
|
Update: {
|
|
112176
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
112177
|
+
attempts?: number;
|
|
110815
112178
|
buffer_ref?: string | null;
|
|
110816
112179
|
claimed_at?: string | null;
|
|
110817
112180
|
claimed_by?: string | null;
|
|
@@ -110821,6 +112184,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
110821
112184
|
due_at?: string | null;
|
|
110822
112185
|
error?: string | null;
|
|
110823
112186
|
id?: string;
|
|
112187
|
+
last_error?: string | null;
|
|
112188
|
+
next_attempt_at?: string | null;
|
|
110824
112189
|
order_ref?: string;
|
|
110825
112190
|
owner_module?: string;
|
|
110826
112191
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -119825,6 +121190,85 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
119825
121190
|
};
|
|
119826
121191
|
Returns: import("../integrations/supabase/types").Json;
|
|
119827
121192
|
};
|
|
121193
|
+
claim_floriday_stock_queue: {
|
|
121194
|
+
Args: {
|
|
121195
|
+
p_limit?: number;
|
|
121196
|
+
p_worker?: string;
|
|
121197
|
+
};
|
|
121198
|
+
Returns: {
|
|
121199
|
+
attempts: number;
|
|
121200
|
+
connection_id: string;
|
|
121201
|
+
created_at: string;
|
|
121202
|
+
desired_available: boolean | null;
|
|
121203
|
+
gateway_attempt_id: string | null;
|
|
121204
|
+
id: string;
|
|
121205
|
+
last_error: string | null;
|
|
121206
|
+
locked_at: string | null;
|
|
121207
|
+
locked_by: string | null;
|
|
121208
|
+
next_attempt_at: string;
|
|
121209
|
+
number_of_pieces: number;
|
|
121210
|
+
sent_at: string | null;
|
|
121211
|
+
status: string;
|
|
121212
|
+
superseded_by: string | null;
|
|
121213
|
+
trade_item_id: string;
|
|
121214
|
+
updated_at: string;
|
|
121215
|
+
user_id: string;
|
|
121216
|
+
}[];
|
|
121217
|
+
SetofOptions: {
|
|
121218
|
+
from: "*";
|
|
121219
|
+
to: "floriday_continuous_stock_queue";
|
|
121220
|
+
isOneToOne: false;
|
|
121221
|
+
isSetofReturn: true;
|
|
121222
|
+
};
|
|
121223
|
+
};
|
|
121224
|
+
claim_logistics_tasks: {
|
|
121225
|
+
Args: {
|
|
121226
|
+
_limit?: number;
|
|
121227
|
+
_owner_module: string;
|
|
121228
|
+
_stale_minutes?: number;
|
|
121229
|
+
_task_type: string;
|
|
121230
|
+
_worker: string;
|
|
121231
|
+
};
|
|
121232
|
+
Returns: {
|
|
121233
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
121234
|
+
attempts: number;
|
|
121235
|
+
buffer_ref: string | null;
|
|
121236
|
+
claimed_at: string | null;
|
|
121237
|
+
claimed_by: string | null;
|
|
121238
|
+
completed_at: string | null;
|
|
121239
|
+
created_at: string;
|
|
121240
|
+
depends_on: string[];
|
|
121241
|
+
due_at: string | null;
|
|
121242
|
+
error: string | null;
|
|
121243
|
+
id: string;
|
|
121244
|
+
last_error: string | null;
|
|
121245
|
+
next_attempt_at: string | null;
|
|
121246
|
+
order_ref: string;
|
|
121247
|
+
owner_module: string;
|
|
121248
|
+
payload: import("../integrations/supabase/types").Json;
|
|
121249
|
+
plan_run_id: string | null;
|
|
121250
|
+
planned_end: string | null;
|
|
121251
|
+
planned_start: string | null;
|
|
121252
|
+
priority: number;
|
|
121253
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
121254
|
+
rule_config_id: string | null;
|
|
121255
|
+
rule_version: number | null;
|
|
121256
|
+
sequence: number;
|
|
121257
|
+
shadow: boolean;
|
|
121258
|
+
started_at: string | null;
|
|
121259
|
+
status: string;
|
|
121260
|
+
strategy_id: string | null;
|
|
121261
|
+
task_type: string;
|
|
121262
|
+
updated_at: string;
|
|
121263
|
+
user_id: string;
|
|
121264
|
+
}[];
|
|
121265
|
+
SetofOptions: {
|
|
121266
|
+
from: "*";
|
|
121267
|
+
to: "logistics_tasks";
|
|
121268
|
+
isOneToOne: false;
|
|
121269
|
+
isSetofReturn: true;
|
|
121270
|
+
};
|
|
121271
|
+
};
|
|
119828
121272
|
claim_print_jobs: {
|
|
119829
121273
|
Args: {
|
|
119830
121274
|
_agent_id: string;
|
|
@@ -119889,10 +121333,24 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
119889
121333
|
isSetofReturn: true;
|
|
119890
121334
|
};
|
|
119891
121335
|
};
|
|
121336
|
+
cleanup_floriday_stock_queue: {
|
|
121337
|
+
Args: never;
|
|
121338
|
+
Returns: undefined;
|
|
121339
|
+
};
|
|
119892
121340
|
cleanup_old_bookings: {
|
|
119893
121341
|
Args: never;
|
|
119894
121342
|
Returns: undefined;
|
|
119895
121343
|
};
|
|
121344
|
+
complete_floriday_stock_queue: {
|
|
121345
|
+
Args: {
|
|
121346
|
+
p_attempt_id?: string;
|
|
121347
|
+
p_error?: string;
|
|
121348
|
+
p_id: string;
|
|
121349
|
+
p_ok: boolean;
|
|
121350
|
+
p_permanent?: boolean;
|
|
121351
|
+
};
|
|
121352
|
+
Returns: undefined;
|
|
121353
|
+
};
|
|
119896
121354
|
consume_bom_for_production: {
|
|
119897
121355
|
Args: {
|
|
119898
121356
|
p_connection_id: string;
|
|
@@ -120584,6 +122042,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120584
122042
|
p_worker?: string;
|
|
120585
122043
|
};
|
|
120586
122044
|
Returns: {
|
|
122045
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122046
|
+
attempts: number;
|
|
120587
122047
|
buffer_ref: string | null;
|
|
120588
122048
|
claimed_at: string | null;
|
|
120589
122049
|
claimed_by: string | null;
|
|
@@ -120593,6 +122053,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120593
122053
|
due_at: string | null;
|
|
120594
122054
|
error: string | null;
|
|
120595
122055
|
id: string;
|
|
122056
|
+
last_error: string | null;
|
|
122057
|
+
next_attempt_at: string | null;
|
|
120596
122058
|
order_ref: string;
|
|
120597
122059
|
owner_module: string;
|
|
120598
122060
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -120625,6 +122087,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120625
122087
|
p_worker?: string;
|
|
120626
122088
|
};
|
|
120627
122089
|
Returns: {
|
|
122090
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122091
|
+
attempts: number;
|
|
120628
122092
|
buffer_ref: string | null;
|
|
120629
122093
|
claimed_at: string | null;
|
|
120630
122094
|
claimed_by: string | null;
|
|
@@ -120634,6 +122098,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120634
122098
|
due_at: string | null;
|
|
120635
122099
|
error: string | null;
|
|
120636
122100
|
id: string;
|
|
122101
|
+
last_error: string | null;
|
|
122102
|
+
next_attempt_at: string | null;
|
|
120637
122103
|
order_ref: string;
|
|
120638
122104
|
owner_module: string;
|
|
120639
122105
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -120666,6 +122132,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120666
122132
|
p_task_id: string;
|
|
120667
122133
|
};
|
|
120668
122134
|
Returns: {
|
|
122135
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122136
|
+
attempts: number;
|
|
120669
122137
|
buffer_ref: string | null;
|
|
120670
122138
|
claimed_at: string | null;
|
|
120671
122139
|
claimed_by: string | null;
|
|
@@ -120675,6 +122143,102 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120675
122143
|
due_at: string | null;
|
|
120676
122144
|
error: string | null;
|
|
120677
122145
|
id: string;
|
|
122146
|
+
last_error: string | null;
|
|
122147
|
+
next_attempt_at: string | null;
|
|
122148
|
+
order_ref: string;
|
|
122149
|
+
owner_module: string;
|
|
122150
|
+
payload: import("../integrations/supabase/types").Json;
|
|
122151
|
+
plan_run_id: string | null;
|
|
122152
|
+
planned_end: string | null;
|
|
122153
|
+
planned_start: string | null;
|
|
122154
|
+
priority: number;
|
|
122155
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
122156
|
+
rule_config_id: string | null;
|
|
122157
|
+
rule_version: number | null;
|
|
122158
|
+
sequence: number;
|
|
122159
|
+
shadow: boolean;
|
|
122160
|
+
started_at: string | null;
|
|
122161
|
+
status: string;
|
|
122162
|
+
strategy_id: string | null;
|
|
122163
|
+
task_type: string;
|
|
122164
|
+
updated_at: string;
|
|
122165
|
+
user_id: string;
|
|
122166
|
+
};
|
|
122167
|
+
SetofOptions: {
|
|
122168
|
+
from: "*";
|
|
122169
|
+
to: "logistics_tasks";
|
|
122170
|
+
isOneToOne: true;
|
|
122171
|
+
isSetofReturn: false;
|
|
122172
|
+
};
|
|
122173
|
+
};
|
|
122174
|
+
logistics_delay_customer_email: {
|
|
122175
|
+
Args: {
|
|
122176
|
+
p_customer: string;
|
|
122177
|
+
p_lang: string;
|
|
122178
|
+
p_new_date: string;
|
|
122179
|
+
p_order: string;
|
|
122180
|
+
p_partial?: boolean;
|
|
122181
|
+
};
|
|
122182
|
+
Returns: {
|
|
122183
|
+
body: string;
|
|
122184
|
+
subject: string;
|
|
122185
|
+
}[];
|
|
122186
|
+
};
|
|
122187
|
+
logistics_document_layout: {
|
|
122188
|
+
Args: {
|
|
122189
|
+
_document_code: string;
|
|
122190
|
+
};
|
|
122191
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122192
|
+
};
|
|
122193
|
+
logistics_document_station: {
|
|
122194
|
+
Args: {
|
|
122195
|
+
_document_code: string;
|
|
122196
|
+
};
|
|
122197
|
+
Returns: string;
|
|
122198
|
+
};
|
|
122199
|
+
logistics_emit_event: {
|
|
122200
|
+
Args: {
|
|
122201
|
+
p_event_type: string;
|
|
122202
|
+
p_idempotency_key?: string;
|
|
122203
|
+
p_order_ref: string;
|
|
122204
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
122205
|
+
p_shadow?: boolean;
|
|
122206
|
+
p_source_module: string;
|
|
122207
|
+
p_strategy_id?: string;
|
|
122208
|
+
};
|
|
122209
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122210
|
+
} | {
|
|
122211
|
+
Args: {
|
|
122212
|
+
p_event_type: string;
|
|
122213
|
+
p_idempotency_key?: string;
|
|
122214
|
+
p_order_ref: string;
|
|
122215
|
+
p_payload?: import("../integrations/supabase/types").Json;
|
|
122216
|
+
p_priority?: number;
|
|
122217
|
+
p_shadow?: boolean;
|
|
122218
|
+
p_source_module: string;
|
|
122219
|
+
p_strategy_id?: string;
|
|
122220
|
+
};
|
|
122221
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122222
|
+
};
|
|
122223
|
+
logistics_fail_task: {
|
|
122224
|
+
Args: {
|
|
122225
|
+
p_error: string;
|
|
122226
|
+
p_task_id: string;
|
|
122227
|
+
};
|
|
122228
|
+
Returns: {
|
|
122229
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
122230
|
+
attempts: number;
|
|
122231
|
+
buffer_ref: string | null;
|
|
122232
|
+
claimed_at: string | null;
|
|
122233
|
+
claimed_by: string | null;
|
|
122234
|
+
completed_at: string | null;
|
|
122235
|
+
created_at: string;
|
|
122236
|
+
depends_on: string[];
|
|
122237
|
+
due_at: string | null;
|
|
122238
|
+
error: string | null;
|
|
122239
|
+
id: string;
|
|
122240
|
+
last_error: string | null;
|
|
122241
|
+
next_attempt_at: string | null;
|
|
120678
122242
|
order_ref: string;
|
|
120679
122243
|
owner_module: string;
|
|
120680
122244
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -120701,95 +122265,50 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
120701
122265
|
isSetofReturn: false;
|
|
120702
122266
|
};
|
|
120703
122267
|
};
|
|
120704
|
-
|
|
122268
|
+
logistics_floriday_claim_pushes: {
|
|
120705
122269
|
Args: {
|
|
120706
|
-
|
|
120707
|
-
|
|
120708
|
-
|
|
120709
|
-
p_order: string;
|
|
120710
|
-
p_partial?: boolean;
|
|
122270
|
+
_lease_seconds?: number;
|
|
122271
|
+
_limit?: number;
|
|
122272
|
+
_worker?: string;
|
|
120711
122273
|
};
|
|
120712
122274
|
Returns: {
|
|
120713
|
-
|
|
120714
|
-
|
|
122275
|
+
attempts: number;
|
|
122276
|
+
fulfillment_order_id: string;
|
|
122277
|
+
id: string;
|
|
122278
|
+
last_sent_hash: string;
|
|
122279
|
+
order_ref: string;
|
|
122280
|
+
payload: import("../integrations/supabase/types").Json;
|
|
122281
|
+
payload_hash: string;
|
|
122282
|
+
revision: number;
|
|
120715
122283
|
}[];
|
|
120716
122284
|
};
|
|
120717
|
-
|
|
120718
|
-
Args: {
|
|
120719
|
-
_document_code: string;
|
|
120720
|
-
};
|
|
120721
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
120722
|
-
};
|
|
120723
|
-
logistics_document_station: {
|
|
122285
|
+
logistics_floriday_finish_push: {
|
|
120724
122286
|
Args: {
|
|
120725
|
-
|
|
122287
|
+
_error?: string;
|
|
122288
|
+
_fulfillment_order_id?: string;
|
|
122289
|
+
_id: string;
|
|
122290
|
+
_max_age_hours?: number;
|
|
122291
|
+
_max_attempts?: number;
|
|
122292
|
+
_ok: boolean;
|
|
122293
|
+
_permanent?: boolean;
|
|
122294
|
+
_revision: number;
|
|
122295
|
+
_sent_hash?: string;
|
|
120726
122296
|
};
|
|
120727
122297
|
Returns: string;
|
|
120728
122298
|
};
|
|
120729
|
-
|
|
120730
|
-
Args: {
|
|
120731
|
-
p_event_type: string;
|
|
120732
|
-
p_idempotency_key?: string;
|
|
120733
|
-
p_order_ref: string;
|
|
120734
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
120735
|
-
p_shadow?: boolean;
|
|
120736
|
-
p_source_module: string;
|
|
120737
|
-
p_strategy_id?: string;
|
|
120738
|
-
};
|
|
120739
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
120740
|
-
} | {
|
|
122299
|
+
logistics_floriday_prune_pushes: {
|
|
120741
122300
|
Args: {
|
|
120742
|
-
|
|
120743
|
-
p_idempotency_key?: string;
|
|
120744
|
-
p_order_ref: string;
|
|
120745
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
120746
|
-
p_priority?: number;
|
|
120747
|
-
p_shadow?: boolean;
|
|
120748
|
-
p_source_module: string;
|
|
120749
|
-
p_strategy_id?: string;
|
|
122301
|
+
_days?: number;
|
|
120750
122302
|
};
|
|
120751
|
-
Returns:
|
|
122303
|
+
Returns: number;
|
|
120752
122304
|
};
|
|
120753
|
-
|
|
122305
|
+
logistics_floriday_queue_push: {
|
|
120754
122306
|
Args: {
|
|
120755
|
-
|
|
120756
|
-
|
|
120757
|
-
|
|
120758
|
-
Returns: {
|
|
120759
|
-
buffer_ref: string | null;
|
|
120760
|
-
claimed_at: string | null;
|
|
120761
|
-
claimed_by: string | null;
|
|
120762
|
-
completed_at: string | null;
|
|
120763
|
-
created_at: string;
|
|
120764
|
-
depends_on: string[];
|
|
120765
|
-
due_at: string | null;
|
|
120766
|
-
error: string | null;
|
|
120767
|
-
id: string;
|
|
120768
|
-
order_ref: string;
|
|
120769
|
-
owner_module: string;
|
|
120770
|
-
payload: import("../integrations/supabase/types").Json;
|
|
120771
|
-
plan_run_id: string | null;
|
|
120772
|
-
planned_end: string | null;
|
|
120773
|
-
planned_start: string | null;
|
|
120774
|
-
priority: number;
|
|
120775
|
-
result: import("../integrations/supabase/types").Json | null;
|
|
120776
|
-
rule_config_id: string | null;
|
|
120777
|
-
rule_version: number | null;
|
|
120778
|
-
sequence: number;
|
|
120779
|
-
shadow: boolean;
|
|
120780
|
-
started_at: string | null;
|
|
120781
|
-
status: string;
|
|
120782
|
-
strategy_id: string | null;
|
|
120783
|
-
task_type: string;
|
|
120784
|
-
updated_at: string;
|
|
120785
|
-
user_id: string;
|
|
120786
|
-
};
|
|
120787
|
-
SetofOptions: {
|
|
120788
|
-
from: "*";
|
|
120789
|
-
to: "logistics_tasks";
|
|
120790
|
-
isOneToOne: true;
|
|
120791
|
-
isSetofReturn: false;
|
|
122307
|
+
_order_ref: string;
|
|
122308
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
122309
|
+
_payload_hash?: string;
|
|
120792
122310
|
};
|
|
122311
|
+
Returns: string;
|
|
120793
122312
|
};
|
|
120794
122313
|
logistics_live_carriers: {
|
|
120795
122314
|
Args: {
|
|
@@ -121518,6 +123037,10 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
121518
123037
|
Args: never;
|
|
121519
123038
|
Returns: undefined;
|
|
121520
123039
|
};
|
|
123040
|
+
run_logistics_tasks_dispatch: {
|
|
123041
|
+
Args: never;
|
|
123042
|
+
Returns: undefined;
|
|
123043
|
+
};
|
|
121521
123044
|
run_twinfield_queue_tick: {
|
|
121522
123045
|
Args: never;
|
|
121523
123046
|
Returns: undefined;
|
|
@@ -121758,6 +123281,13 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
121758
123281
|
};
|
|
121759
123282
|
Returns: number;
|
|
121760
123283
|
};
|
|
123284
|
+
schedule_floriday_stock_queue_process: {
|
|
123285
|
+
Args: {
|
|
123286
|
+
p_apikey: string;
|
|
123287
|
+
p_url: string;
|
|
123288
|
+
};
|
|
123289
|
+
Returns: number;
|
|
123290
|
+
};
|
|
121761
123291
|
schedule_floriday_token_refresh: {
|
|
121762
123292
|
Args: {
|
|
121763
123293
|
p_apikey: string;
|
|
@@ -127667,12 +129197,17 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
127667
129197
|
attempts: number;
|
|
127668
129198
|
connection_id: string;
|
|
127669
129199
|
created_at: string;
|
|
129200
|
+
desired_available: boolean | null;
|
|
127670
129201
|
gateway_attempt_id: string | null;
|
|
127671
129202
|
id: string;
|
|
127672
129203
|
last_error: string | null;
|
|
129204
|
+
locked_at: string | null;
|
|
129205
|
+
locked_by: string | null;
|
|
129206
|
+
next_attempt_at: string;
|
|
127673
129207
|
number_of_pieces: number;
|
|
127674
129208
|
sent_at: string | null;
|
|
127675
129209
|
status: string;
|
|
129210
|
+
superseded_by: string | null;
|
|
127676
129211
|
trade_item_id: string;
|
|
127677
129212
|
updated_at: string;
|
|
127678
129213
|
user_id: string;
|
|
@@ -127681,12 +129216,17 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
127681
129216
|
attempts?: number;
|
|
127682
129217
|
connection_id: string;
|
|
127683
129218
|
created_at?: string;
|
|
129219
|
+
desired_available?: boolean | null;
|
|
127684
129220
|
gateway_attempt_id?: string | null;
|
|
127685
129221
|
id?: string;
|
|
127686
129222
|
last_error?: string | null;
|
|
129223
|
+
locked_at?: string | null;
|
|
129224
|
+
locked_by?: string | null;
|
|
129225
|
+
next_attempt_at?: string;
|
|
127687
129226
|
number_of_pieces?: number;
|
|
127688
129227
|
sent_at?: string | null;
|
|
127689
129228
|
status?: string;
|
|
129229
|
+
superseded_by?: string | null;
|
|
127690
129230
|
trade_item_id: string;
|
|
127691
129231
|
updated_at?: string;
|
|
127692
129232
|
user_id: string;
|
|
@@ -127695,12 +129235,17 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
127695
129235
|
attempts?: number;
|
|
127696
129236
|
connection_id?: string;
|
|
127697
129237
|
created_at?: string;
|
|
129238
|
+
desired_available?: boolean | null;
|
|
127698
129239
|
gateway_attempt_id?: string | null;
|
|
127699
129240
|
id?: string;
|
|
127700
129241
|
last_error?: string | null;
|
|
129242
|
+
locked_at?: string | null;
|
|
129243
|
+
locked_by?: string | null;
|
|
129244
|
+
next_attempt_at?: string;
|
|
127701
129245
|
number_of_pieces?: number;
|
|
127702
129246
|
sent_at?: string | null;
|
|
127703
129247
|
status?: string;
|
|
129248
|
+
superseded_by?: string | null;
|
|
127704
129249
|
trade_item_id?: string;
|
|
127705
129250
|
updated_at?: string;
|
|
127706
129251
|
user_id?: string;
|
|
@@ -130449,6 +131994,69 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
130449
131994
|
};
|
|
130450
131995
|
Relationships: [];
|
|
130451
131996
|
};
|
|
131997
|
+
logistics_floriday_pushes: {
|
|
131998
|
+
Row: {
|
|
131999
|
+
attempts: number;
|
|
132000
|
+
created_at: string;
|
|
132001
|
+
first_queued_at: string;
|
|
132002
|
+
fulfillment_order_id: string | null;
|
|
132003
|
+
id: string;
|
|
132004
|
+
last_error: string | null;
|
|
132005
|
+
last_error_at: string | null;
|
|
132006
|
+
last_sent_hash: string | null;
|
|
132007
|
+
locked_by: string | null;
|
|
132008
|
+
locked_until: string | null;
|
|
132009
|
+
next_attempt_at: string;
|
|
132010
|
+
order_ref: string;
|
|
132011
|
+
payload: import("../integrations/supabase/types").Json;
|
|
132012
|
+
payload_hash: string | null;
|
|
132013
|
+
revision: number;
|
|
132014
|
+
sent_at: string | null;
|
|
132015
|
+
status: string;
|
|
132016
|
+
updated_at: string;
|
|
132017
|
+
};
|
|
132018
|
+
Insert: {
|
|
132019
|
+
attempts?: number;
|
|
132020
|
+
created_at?: string;
|
|
132021
|
+
first_queued_at?: string;
|
|
132022
|
+
fulfillment_order_id?: string | null;
|
|
132023
|
+
id?: string;
|
|
132024
|
+
last_error?: string | null;
|
|
132025
|
+
last_error_at?: string | null;
|
|
132026
|
+
last_sent_hash?: string | null;
|
|
132027
|
+
locked_by?: string | null;
|
|
132028
|
+
locked_until?: string | null;
|
|
132029
|
+
next_attempt_at?: string;
|
|
132030
|
+
order_ref: string;
|
|
132031
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
132032
|
+
payload_hash?: string | null;
|
|
132033
|
+
revision?: number;
|
|
132034
|
+
sent_at?: string | null;
|
|
132035
|
+
status?: string;
|
|
132036
|
+
updated_at?: string;
|
|
132037
|
+
};
|
|
132038
|
+
Update: {
|
|
132039
|
+
attempts?: number;
|
|
132040
|
+
created_at?: string;
|
|
132041
|
+
first_queued_at?: string;
|
|
132042
|
+
fulfillment_order_id?: string | null;
|
|
132043
|
+
id?: string;
|
|
132044
|
+
last_error?: string | null;
|
|
132045
|
+
last_error_at?: string | null;
|
|
132046
|
+
last_sent_hash?: string | null;
|
|
132047
|
+
locked_by?: string | null;
|
|
132048
|
+
locked_until?: string | null;
|
|
132049
|
+
next_attempt_at?: string;
|
|
132050
|
+
order_ref?: string;
|
|
132051
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
132052
|
+
payload_hash?: string | null;
|
|
132053
|
+
revision?: number;
|
|
132054
|
+
sent_at?: string | null;
|
|
132055
|
+
status?: string;
|
|
132056
|
+
updated_at?: string;
|
|
132057
|
+
};
|
|
132058
|
+
Relationships: [];
|
|
132059
|
+
};
|
|
130452
132060
|
logistics_formulas: {
|
|
130453
132061
|
Row: {
|
|
130454
132062
|
created_at: string;
|
|
@@ -131060,6 +132668,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
131060
132668
|
};
|
|
131061
132669
|
logistics_tasks: {
|
|
131062
132670
|
Row: {
|
|
132671
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
132672
|
+
attempts: number;
|
|
131063
132673
|
buffer_ref: string | null;
|
|
131064
132674
|
claimed_at: string | null;
|
|
131065
132675
|
claimed_by: string | null;
|
|
@@ -131069,6 +132679,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
131069
132679
|
due_at: string | null;
|
|
131070
132680
|
error: string | null;
|
|
131071
132681
|
id: string;
|
|
132682
|
+
last_error: string | null;
|
|
132683
|
+
next_attempt_at: string | null;
|
|
131072
132684
|
order_ref: string;
|
|
131073
132685
|
owner_module: string;
|
|
131074
132686
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -131089,6 +132701,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
131089
132701
|
user_id: string;
|
|
131090
132702
|
};
|
|
131091
132703
|
Insert: {
|
|
132704
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
132705
|
+
attempts?: number;
|
|
131092
132706
|
buffer_ref?: string | null;
|
|
131093
132707
|
claimed_at?: string | null;
|
|
131094
132708
|
claimed_by?: string | null;
|
|
@@ -131098,6 +132712,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
131098
132712
|
due_at?: string | null;
|
|
131099
132713
|
error?: string | null;
|
|
131100
132714
|
id?: string;
|
|
132715
|
+
last_error?: string | null;
|
|
132716
|
+
next_attempt_at?: string | null;
|
|
131101
132717
|
order_ref: string;
|
|
131102
132718
|
owner_module: string;
|
|
131103
132719
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -131118,6 +132734,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
131118
132734
|
user_id?: string;
|
|
131119
132735
|
};
|
|
131120
132736
|
Update: {
|
|
132737
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
132738
|
+
attempts?: number;
|
|
131121
132739
|
buffer_ref?: string | null;
|
|
131122
132740
|
claimed_at?: string | null;
|
|
131123
132741
|
claimed_by?: string | null;
|
|
@@ -131127,6 +132745,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
131127
132745
|
due_at?: string | null;
|
|
131128
132746
|
error?: string | null;
|
|
131129
132747
|
id?: string;
|
|
132748
|
+
last_error?: string | null;
|
|
132749
|
+
next_attempt_at?: string | null;
|
|
131130
132750
|
order_ref?: string;
|
|
131131
132751
|
owner_module?: string;
|
|
131132
132752
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -140131,6 +141751,85 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140131
141751
|
};
|
|
140132
141752
|
Returns: import("../integrations/supabase/types").Json;
|
|
140133
141753
|
};
|
|
141754
|
+
claim_floriday_stock_queue: {
|
|
141755
|
+
Args: {
|
|
141756
|
+
p_limit?: number;
|
|
141757
|
+
p_worker?: string;
|
|
141758
|
+
};
|
|
141759
|
+
Returns: {
|
|
141760
|
+
attempts: number;
|
|
141761
|
+
connection_id: string;
|
|
141762
|
+
created_at: string;
|
|
141763
|
+
desired_available: boolean | null;
|
|
141764
|
+
gateway_attempt_id: string | null;
|
|
141765
|
+
id: string;
|
|
141766
|
+
last_error: string | null;
|
|
141767
|
+
locked_at: string | null;
|
|
141768
|
+
locked_by: string | null;
|
|
141769
|
+
next_attempt_at: string;
|
|
141770
|
+
number_of_pieces: number;
|
|
141771
|
+
sent_at: string | null;
|
|
141772
|
+
status: string;
|
|
141773
|
+
superseded_by: string | null;
|
|
141774
|
+
trade_item_id: string;
|
|
141775
|
+
updated_at: string;
|
|
141776
|
+
user_id: string;
|
|
141777
|
+
}[];
|
|
141778
|
+
SetofOptions: {
|
|
141779
|
+
from: "*";
|
|
141780
|
+
to: "floriday_continuous_stock_queue";
|
|
141781
|
+
isOneToOne: false;
|
|
141782
|
+
isSetofReturn: true;
|
|
141783
|
+
};
|
|
141784
|
+
};
|
|
141785
|
+
claim_logistics_tasks: {
|
|
141786
|
+
Args: {
|
|
141787
|
+
_limit?: number;
|
|
141788
|
+
_owner_module: string;
|
|
141789
|
+
_stale_minutes?: number;
|
|
141790
|
+
_task_type: string;
|
|
141791
|
+
_worker: string;
|
|
141792
|
+
};
|
|
141793
|
+
Returns: {
|
|
141794
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
141795
|
+
attempts: number;
|
|
141796
|
+
buffer_ref: string | null;
|
|
141797
|
+
claimed_at: string | null;
|
|
141798
|
+
claimed_by: string | null;
|
|
141799
|
+
completed_at: string | null;
|
|
141800
|
+
created_at: string;
|
|
141801
|
+
depends_on: string[];
|
|
141802
|
+
due_at: string | null;
|
|
141803
|
+
error: string | null;
|
|
141804
|
+
id: string;
|
|
141805
|
+
last_error: string | null;
|
|
141806
|
+
next_attempt_at: string | null;
|
|
141807
|
+
order_ref: string;
|
|
141808
|
+
owner_module: string;
|
|
141809
|
+
payload: import("../integrations/supabase/types").Json;
|
|
141810
|
+
plan_run_id: string | null;
|
|
141811
|
+
planned_end: string | null;
|
|
141812
|
+
planned_start: string | null;
|
|
141813
|
+
priority: number;
|
|
141814
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
141815
|
+
rule_config_id: string | null;
|
|
141816
|
+
rule_version: number | null;
|
|
141817
|
+
sequence: number;
|
|
141818
|
+
shadow: boolean;
|
|
141819
|
+
started_at: string | null;
|
|
141820
|
+
status: string;
|
|
141821
|
+
strategy_id: string | null;
|
|
141822
|
+
task_type: string;
|
|
141823
|
+
updated_at: string;
|
|
141824
|
+
user_id: string;
|
|
141825
|
+
}[];
|
|
141826
|
+
SetofOptions: {
|
|
141827
|
+
from: "*";
|
|
141828
|
+
to: "logistics_tasks";
|
|
141829
|
+
isOneToOne: false;
|
|
141830
|
+
isSetofReturn: true;
|
|
141831
|
+
};
|
|
141832
|
+
};
|
|
140134
141833
|
claim_print_jobs: {
|
|
140135
141834
|
Args: {
|
|
140136
141835
|
_agent_id: string;
|
|
@@ -140195,10 +141894,24 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140195
141894
|
isSetofReturn: true;
|
|
140196
141895
|
};
|
|
140197
141896
|
};
|
|
141897
|
+
cleanup_floriday_stock_queue: {
|
|
141898
|
+
Args: never;
|
|
141899
|
+
Returns: undefined;
|
|
141900
|
+
};
|
|
140198
141901
|
cleanup_old_bookings: {
|
|
140199
141902
|
Args: never;
|
|
140200
141903
|
Returns: undefined;
|
|
140201
141904
|
};
|
|
141905
|
+
complete_floriday_stock_queue: {
|
|
141906
|
+
Args: {
|
|
141907
|
+
p_attempt_id?: string;
|
|
141908
|
+
p_error?: string;
|
|
141909
|
+
p_id: string;
|
|
141910
|
+
p_ok: boolean;
|
|
141911
|
+
p_permanent?: boolean;
|
|
141912
|
+
};
|
|
141913
|
+
Returns: undefined;
|
|
141914
|
+
};
|
|
140202
141915
|
consume_bom_for_production: {
|
|
140203
141916
|
Args: {
|
|
140204
141917
|
p_connection_id: string;
|
|
@@ -140890,6 +142603,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140890
142603
|
p_worker?: string;
|
|
140891
142604
|
};
|
|
140892
142605
|
Returns: {
|
|
142606
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142607
|
+
attempts: number;
|
|
140893
142608
|
buffer_ref: string | null;
|
|
140894
142609
|
claimed_at: string | null;
|
|
140895
142610
|
claimed_by: string | null;
|
|
@@ -140899,6 +142614,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140899
142614
|
due_at: string | null;
|
|
140900
142615
|
error: string | null;
|
|
140901
142616
|
id: string;
|
|
142617
|
+
last_error: string | null;
|
|
142618
|
+
next_attempt_at: string | null;
|
|
140902
142619
|
order_ref: string;
|
|
140903
142620
|
owner_module: string;
|
|
140904
142621
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -140931,6 +142648,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140931
142648
|
p_worker?: string;
|
|
140932
142649
|
};
|
|
140933
142650
|
Returns: {
|
|
142651
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142652
|
+
attempts: number;
|
|
140934
142653
|
buffer_ref: string | null;
|
|
140935
142654
|
claimed_at: string | null;
|
|
140936
142655
|
claimed_by: string | null;
|
|
@@ -140940,6 +142659,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140940
142659
|
due_at: string | null;
|
|
140941
142660
|
error: string | null;
|
|
140942
142661
|
id: string;
|
|
142662
|
+
last_error: string | null;
|
|
142663
|
+
next_attempt_at: string | null;
|
|
140943
142664
|
order_ref: string;
|
|
140944
142665
|
owner_module: string;
|
|
140945
142666
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -140972,6 +142693,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140972
142693
|
p_task_id: string;
|
|
140973
142694
|
};
|
|
140974
142695
|
Returns: {
|
|
142696
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142697
|
+
attempts: number;
|
|
140975
142698
|
buffer_ref: string | null;
|
|
140976
142699
|
claimed_at: string | null;
|
|
140977
142700
|
claimed_by: string | null;
|
|
@@ -140981,6 +142704,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
140981
142704
|
due_at: string | null;
|
|
140982
142705
|
error: string | null;
|
|
140983
142706
|
id: string;
|
|
142707
|
+
last_error: string | null;
|
|
142708
|
+
next_attempt_at: string | null;
|
|
140984
142709
|
order_ref: string;
|
|
140985
142710
|
owner_module: string;
|
|
140986
142711
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -141062,6 +142787,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
141062
142787
|
p_task_id: string;
|
|
141063
142788
|
};
|
|
141064
142789
|
Returns: {
|
|
142790
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
142791
|
+
attempts: number;
|
|
141065
142792
|
buffer_ref: string | null;
|
|
141066
142793
|
claimed_at: string | null;
|
|
141067
142794
|
claimed_by: string | null;
|
|
@@ -141071,6 +142798,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
141071
142798
|
due_at: string | null;
|
|
141072
142799
|
error: string | null;
|
|
141073
142800
|
id: string;
|
|
142801
|
+
last_error: string | null;
|
|
142802
|
+
next_attempt_at: string | null;
|
|
141074
142803
|
order_ref: string;
|
|
141075
142804
|
owner_module: string;
|
|
141076
142805
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -141097,6 +142826,51 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
141097
142826
|
isSetofReturn: false;
|
|
141098
142827
|
};
|
|
141099
142828
|
};
|
|
142829
|
+
logistics_floriday_claim_pushes: {
|
|
142830
|
+
Args: {
|
|
142831
|
+
_lease_seconds?: number;
|
|
142832
|
+
_limit?: number;
|
|
142833
|
+
_worker?: string;
|
|
142834
|
+
};
|
|
142835
|
+
Returns: {
|
|
142836
|
+
attempts: number;
|
|
142837
|
+
fulfillment_order_id: string;
|
|
142838
|
+
id: string;
|
|
142839
|
+
last_sent_hash: string;
|
|
142840
|
+
order_ref: string;
|
|
142841
|
+
payload: import("../integrations/supabase/types").Json;
|
|
142842
|
+
payload_hash: string;
|
|
142843
|
+
revision: number;
|
|
142844
|
+
}[];
|
|
142845
|
+
};
|
|
142846
|
+
logistics_floriday_finish_push: {
|
|
142847
|
+
Args: {
|
|
142848
|
+
_error?: string;
|
|
142849
|
+
_fulfillment_order_id?: string;
|
|
142850
|
+
_id: string;
|
|
142851
|
+
_max_age_hours?: number;
|
|
142852
|
+
_max_attempts?: number;
|
|
142853
|
+
_ok: boolean;
|
|
142854
|
+
_permanent?: boolean;
|
|
142855
|
+
_revision: number;
|
|
142856
|
+
_sent_hash?: string;
|
|
142857
|
+
};
|
|
142858
|
+
Returns: string;
|
|
142859
|
+
};
|
|
142860
|
+
logistics_floriday_prune_pushes: {
|
|
142861
|
+
Args: {
|
|
142862
|
+
_days?: number;
|
|
142863
|
+
};
|
|
142864
|
+
Returns: number;
|
|
142865
|
+
};
|
|
142866
|
+
logistics_floriday_queue_push: {
|
|
142867
|
+
Args: {
|
|
142868
|
+
_order_ref: string;
|
|
142869
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
142870
|
+
_payload_hash?: string;
|
|
142871
|
+
};
|
|
142872
|
+
Returns: string;
|
|
142873
|
+
};
|
|
141100
142874
|
logistics_live_carriers: {
|
|
141101
142875
|
Args: {
|
|
141102
142876
|
p_order_ref: string;
|
|
@@ -141824,6 +143598,10 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
141824
143598
|
Args: never;
|
|
141825
143599
|
Returns: undefined;
|
|
141826
143600
|
};
|
|
143601
|
+
run_logistics_tasks_dispatch: {
|
|
143602
|
+
Args: never;
|
|
143603
|
+
Returns: undefined;
|
|
143604
|
+
};
|
|
141827
143605
|
run_twinfield_queue_tick: {
|
|
141828
143606
|
Args: never;
|
|
141829
143607
|
Returns: undefined;
|
|
@@ -142064,6 +143842,13 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
142064
143842
|
};
|
|
142065
143843
|
Returns: number;
|
|
142066
143844
|
};
|
|
143845
|
+
schedule_floriday_stock_queue_process: {
|
|
143846
|
+
Args: {
|
|
143847
|
+
p_apikey: string;
|
|
143848
|
+
p_url: string;
|
|
143849
|
+
};
|
|
143850
|
+
Returns: number;
|
|
143851
|
+
};
|
|
142067
143852
|
schedule_floriday_token_refresh: {
|
|
142068
143853
|
Args: {
|
|
142069
143854
|
p_apikey: string;
|