@flowselections/floriday-afhandeling-module 1.0.20 → 1.0.22
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/index.d.ts +3 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +93 -125
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +93 -125
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +93 -125
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +95 -127
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +186 -250
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +465 -625
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +465 -625
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +930 -1250
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +93 -125
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts +372 -500
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts +93 -125
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts +186 -250
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts +744 -1000
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts +372 -500
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts.map +1 -1
- package/dist-lib/lib/serverRoutes/dispatchCarrierSignups.handler.d.ts +1 -1
- package/dist-lib/lib/serverRoutes/dispatchCarrierSignups.handler.d.ts.map +1 -1
- package/dist-lib/lib/serverRoutes/dispatchCarrierSignups.handler.js +6 -1
- package/dist-lib/lib/serverRoutes/logisticsTick.handler.d.ts +1 -1
- package/dist-lib/lib/serverRoutes/logisticsTick.handler.d.ts.map +1 -1
- package/dist-lib/lib/serverRoutes/logisticsTick.handler.js +6 -1
- package/package.json +34 -1
|
@@ -4533,6 +4533,27 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
4533
4533
|
referencedColumns: ["id"];
|
|
4534
4534
|
}];
|
|
4535
4535
|
};
|
|
4536
|
+
floriday_continuous_stock_cache: {
|
|
4537
|
+
Row: {
|
|
4538
|
+
connection_id: string;
|
|
4539
|
+
fetched_at: string;
|
|
4540
|
+
number_of_pieces: number;
|
|
4541
|
+
trade_item_id: string;
|
|
4542
|
+
};
|
|
4543
|
+
Insert: {
|
|
4544
|
+
connection_id: string;
|
|
4545
|
+
fetched_at?: string;
|
|
4546
|
+
number_of_pieces?: number;
|
|
4547
|
+
trade_item_id: string;
|
|
4548
|
+
};
|
|
4549
|
+
Update: {
|
|
4550
|
+
connection_id?: string;
|
|
4551
|
+
fetched_at?: string;
|
|
4552
|
+
number_of_pieces?: number;
|
|
4553
|
+
trade_item_id?: string;
|
|
4554
|
+
};
|
|
4555
|
+
Relationships: [];
|
|
4556
|
+
};
|
|
4536
4557
|
floriday_continuous_stock_queue: {
|
|
4537
4558
|
Row: {
|
|
4538
4559
|
attempts: number;
|
|
@@ -5511,6 +5532,45 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
5511
5532
|
referencedColumns: ["id"];
|
|
5512
5533
|
}];
|
|
5513
5534
|
};
|
|
5535
|
+
floriday_trade_settings_customers_cache: {
|
|
5536
|
+
Row: {
|
|
5537
|
+
connection_id: string;
|
|
5538
|
+
data: import("../../integrations/supabase/types").Json;
|
|
5539
|
+
fetched_at: string;
|
|
5540
|
+
floriday_id: string;
|
|
5541
|
+
id: string;
|
|
5542
|
+
is_deleted: boolean;
|
|
5543
|
+
sequence_number: number;
|
|
5544
|
+
updated_at: string;
|
|
5545
|
+
};
|
|
5546
|
+
Insert: {
|
|
5547
|
+
connection_id: string;
|
|
5548
|
+
data: import("../../integrations/supabase/types").Json;
|
|
5549
|
+
fetched_at?: string;
|
|
5550
|
+
floriday_id: string;
|
|
5551
|
+
id?: string;
|
|
5552
|
+
is_deleted?: boolean;
|
|
5553
|
+
sequence_number?: number;
|
|
5554
|
+
updated_at?: string;
|
|
5555
|
+
};
|
|
5556
|
+
Update: {
|
|
5557
|
+
connection_id?: string;
|
|
5558
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
5559
|
+
fetched_at?: string;
|
|
5560
|
+
floriday_id?: string;
|
|
5561
|
+
id?: string;
|
|
5562
|
+
is_deleted?: boolean;
|
|
5563
|
+
sequence_number?: number;
|
|
5564
|
+
updated_at?: string;
|
|
5565
|
+
};
|
|
5566
|
+
Relationships: [{
|
|
5567
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
5568
|
+
columns: ["connection_id"];
|
|
5569
|
+
isOneToOne: false;
|
|
5570
|
+
referencedRelation: "floriday_connections";
|
|
5571
|
+
referencedColumns: ["id"];
|
|
5572
|
+
}];
|
|
5573
|
+
};
|
|
5514
5574
|
floriday_trips_cache: {
|
|
5515
5575
|
Row: {
|
|
5516
5576
|
carrier_organization_id: string | null;
|
|
@@ -5559,6 +5619,27 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
5559
5619
|
referencedColumns: ["id"];
|
|
5560
5620
|
}];
|
|
5561
5621
|
};
|
|
5622
|
+
floriday_vbn_required_characteristics: {
|
|
5623
|
+
Row: {
|
|
5624
|
+
required_codes: string[];
|
|
5625
|
+
updated_at: string;
|
|
5626
|
+
updated_by: string | null;
|
|
5627
|
+
vbn_code: string;
|
|
5628
|
+
};
|
|
5629
|
+
Insert: {
|
|
5630
|
+
required_codes?: string[];
|
|
5631
|
+
updated_at?: string;
|
|
5632
|
+
updated_by?: string | null;
|
|
5633
|
+
vbn_code: string;
|
|
5634
|
+
};
|
|
5635
|
+
Update: {
|
|
5636
|
+
required_codes?: string[];
|
|
5637
|
+
updated_at?: string;
|
|
5638
|
+
updated_by?: string | null;
|
|
5639
|
+
vbn_code?: string;
|
|
5640
|
+
};
|
|
5641
|
+
Relationships: [];
|
|
5642
|
+
};
|
|
5562
5643
|
floriday_warehouses_cache: {
|
|
5563
5644
|
Row: {
|
|
5564
5645
|
connection_id: string;
|
|
@@ -10532,9 +10613,7 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
10532
10613
|
};
|
|
10533
10614
|
twinfield_connections: {
|
|
10534
10615
|
Row: {
|
|
10535
|
-
|
|
10536
|
-
client_id: string;
|
|
10537
|
-
client_secret: string | null;
|
|
10616
|
+
account_key: string | null;
|
|
10538
10617
|
cluster_uri: string | null;
|
|
10539
10618
|
company_code: string | null;
|
|
10540
10619
|
company_name: string | null;
|
|
@@ -10546,15 +10625,11 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
10546
10625
|
label: string | null;
|
|
10547
10626
|
office_code: string | null;
|
|
10548
10627
|
redirect_uri: string;
|
|
10549
|
-
refresh_token: string | null;
|
|
10550
|
-
token_expires_at: string | null;
|
|
10551
10628
|
updated_at: string;
|
|
10552
10629
|
user_id: string;
|
|
10553
10630
|
};
|
|
10554
10631
|
Insert: {
|
|
10555
|
-
|
|
10556
|
-
client_id: string;
|
|
10557
|
-
client_secret?: string | null;
|
|
10632
|
+
account_key?: string | null;
|
|
10558
10633
|
cluster_uri?: string | null;
|
|
10559
10634
|
company_code?: string | null;
|
|
10560
10635
|
company_name?: string | null;
|
|
@@ -10566,15 +10641,11 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
10566
10641
|
label?: string | null;
|
|
10567
10642
|
office_code?: string | null;
|
|
10568
10643
|
redirect_uri: string;
|
|
10569
|
-
refresh_token?: string | null;
|
|
10570
|
-
token_expires_at?: string | null;
|
|
10571
10644
|
updated_at?: string;
|
|
10572
10645
|
user_id: string;
|
|
10573
10646
|
};
|
|
10574
10647
|
Update: {
|
|
10575
|
-
|
|
10576
|
-
client_id?: string;
|
|
10577
|
-
client_secret?: string | null;
|
|
10648
|
+
account_key?: string | null;
|
|
10578
10649
|
cluster_uri?: string | null;
|
|
10579
10650
|
company_code?: string | null;
|
|
10580
10651
|
company_name?: string | null;
|
|
@@ -10586,53 +10657,6 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
10586
10657
|
label?: string | null;
|
|
10587
10658
|
office_code?: string | null;
|
|
10588
10659
|
redirect_uri?: string;
|
|
10589
|
-
refresh_token?: string | null;
|
|
10590
|
-
token_expires_at?: string | null;
|
|
10591
|
-
updated_at?: string;
|
|
10592
|
-
user_id?: string;
|
|
10593
|
-
};
|
|
10594
|
-
Relationships: [];
|
|
10595
|
-
};
|
|
10596
|
-
twinfield_credentials: {
|
|
10597
|
-
Row: {
|
|
10598
|
-
administration_code: string | null;
|
|
10599
|
-
client_id: string | null;
|
|
10600
|
-
client_secret: string | null;
|
|
10601
|
-
cluster: string | null;
|
|
10602
|
-
connected_at: string | null;
|
|
10603
|
-
created_at: string;
|
|
10604
|
-
environment: string | null;
|
|
10605
|
-
id: string;
|
|
10606
|
-
redirect_uri: string | null;
|
|
10607
|
-
refresh_token: string | null;
|
|
10608
|
-
updated_at: string;
|
|
10609
|
-
user_id: string;
|
|
10610
|
-
};
|
|
10611
|
-
Insert: {
|
|
10612
|
-
administration_code?: string | null;
|
|
10613
|
-
client_id?: string | null;
|
|
10614
|
-
client_secret?: string | null;
|
|
10615
|
-
cluster?: string | null;
|
|
10616
|
-
connected_at?: string | null;
|
|
10617
|
-
created_at?: string;
|
|
10618
|
-
environment?: string | null;
|
|
10619
|
-
id?: string;
|
|
10620
|
-
redirect_uri?: string | null;
|
|
10621
|
-
refresh_token?: string | null;
|
|
10622
|
-
updated_at?: string;
|
|
10623
|
-
user_id: string;
|
|
10624
|
-
};
|
|
10625
|
-
Update: {
|
|
10626
|
-
administration_code?: string | null;
|
|
10627
|
-
client_id?: string | null;
|
|
10628
|
-
client_secret?: string | null;
|
|
10629
|
-
cluster?: string | null;
|
|
10630
|
-
connected_at?: string | null;
|
|
10631
|
-
created_at?: string;
|
|
10632
|
-
environment?: string | null;
|
|
10633
|
-
id?: string;
|
|
10634
|
-
redirect_uri?: string | null;
|
|
10635
|
-
refresh_token?: string | null;
|
|
10636
10660
|
updated_at?: string;
|
|
10637
10661
|
user_id?: string;
|
|
10638
10662
|
};
|
|
@@ -11133,30 +11157,6 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
11133
11157
|
referencedColumns: ["id"];
|
|
11134
11158
|
}];
|
|
11135
11159
|
};
|
|
11136
|
-
twinfield_oauth_state: {
|
|
11137
|
-
Row: {
|
|
11138
|
-
created_at: string;
|
|
11139
|
-
environment: string;
|
|
11140
|
-
nonce: string | null;
|
|
11141
|
-
state: string;
|
|
11142
|
-
user_id: string;
|
|
11143
|
-
};
|
|
11144
|
-
Insert: {
|
|
11145
|
-
created_at?: string;
|
|
11146
|
-
environment: string;
|
|
11147
|
-
nonce?: string | null;
|
|
11148
|
-
state: string;
|
|
11149
|
-
user_id: string;
|
|
11150
|
-
};
|
|
11151
|
-
Update: {
|
|
11152
|
-
created_at?: string;
|
|
11153
|
-
environment?: string;
|
|
11154
|
-
nonce?: string | null;
|
|
11155
|
-
state?: string;
|
|
11156
|
-
user_id?: string;
|
|
11157
|
-
};
|
|
11158
|
-
Relationships: [];
|
|
11159
|
-
};
|
|
11160
11160
|
twinfield_push_queue: {
|
|
11161
11161
|
Row: {
|
|
11162
11162
|
action: string;
|
|
@@ -11322,39 +11322,6 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
11322
11322
|
referencedColumns: ["id"];
|
|
11323
11323
|
}];
|
|
11324
11324
|
};
|
|
11325
|
-
twinfield_token_refresh_log: {
|
|
11326
|
-
Row: {
|
|
11327
|
-
attempted_at: string;
|
|
11328
|
-
connection_id: string;
|
|
11329
|
-
error: string | null;
|
|
11330
|
-
expires_at: string | null;
|
|
11331
|
-
id: string;
|
|
11332
|
-
ok: boolean;
|
|
11333
|
-
};
|
|
11334
|
-
Insert: {
|
|
11335
|
-
attempted_at?: string;
|
|
11336
|
-
connection_id: string;
|
|
11337
|
-
error?: string | null;
|
|
11338
|
-
expires_at?: string | null;
|
|
11339
|
-
id?: string;
|
|
11340
|
-
ok: boolean;
|
|
11341
|
-
};
|
|
11342
|
-
Update: {
|
|
11343
|
-
attempted_at?: string;
|
|
11344
|
-
connection_id?: string;
|
|
11345
|
-
error?: string | null;
|
|
11346
|
-
expires_at?: string | null;
|
|
11347
|
-
id?: string;
|
|
11348
|
-
ok?: boolean;
|
|
11349
|
-
};
|
|
11350
|
-
Relationships: [{
|
|
11351
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
11352
|
-
columns: ["connection_id"];
|
|
11353
|
-
isOneToOne: false;
|
|
11354
|
-
referencedRelation: "twinfield_connections";
|
|
11355
|
-
referencedColumns: ["id"];
|
|
11356
|
-
}];
|
|
11357
|
-
};
|
|
11358
11325
|
user_roles: {
|
|
11359
11326
|
Row: {
|
|
11360
11327
|
created_at: string;
|
|
@@ -13795,15 +13762,16 @@ export declare const saveWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
13795
13762
|
};
|
|
13796
13763
|
Returns: undefined;
|
|
13797
13764
|
};
|
|
13798
|
-
|
|
13765
|
+
twinfield_upsert_connection_by_account_key: {
|
|
13799
13766
|
Args: {
|
|
13800
|
-
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13805
|
-
|
|
13806
|
-
|
|
13767
|
+
p_account_key: string;
|
|
13768
|
+
p_cluster_uri?: string;
|
|
13769
|
+
p_company_code?: string;
|
|
13770
|
+
p_company_name?: string;
|
|
13771
|
+
p_environment: string;
|
|
13772
|
+
p_office_code?: string;
|
|
13773
|
+
p_status?: string;
|
|
13774
|
+
p_user_id: string;
|
|
13807
13775
|
};
|
|
13808
13776
|
Returns: string;
|
|
13809
13777
|
};
|
|
@@ -18377,6 +18345,27 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
18377
18345
|
referencedColumns: ["id"];
|
|
18378
18346
|
}];
|
|
18379
18347
|
};
|
|
18348
|
+
floriday_continuous_stock_cache: {
|
|
18349
|
+
Row: {
|
|
18350
|
+
connection_id: string;
|
|
18351
|
+
fetched_at: string;
|
|
18352
|
+
number_of_pieces: number;
|
|
18353
|
+
trade_item_id: string;
|
|
18354
|
+
};
|
|
18355
|
+
Insert: {
|
|
18356
|
+
connection_id: string;
|
|
18357
|
+
fetched_at?: string;
|
|
18358
|
+
number_of_pieces?: number;
|
|
18359
|
+
trade_item_id: string;
|
|
18360
|
+
};
|
|
18361
|
+
Update: {
|
|
18362
|
+
connection_id?: string;
|
|
18363
|
+
fetched_at?: string;
|
|
18364
|
+
number_of_pieces?: number;
|
|
18365
|
+
trade_item_id?: string;
|
|
18366
|
+
};
|
|
18367
|
+
Relationships: [];
|
|
18368
|
+
};
|
|
18380
18369
|
floriday_continuous_stock_queue: {
|
|
18381
18370
|
Row: {
|
|
18382
18371
|
attempts: number;
|
|
@@ -19355,6 +19344,45 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
19355
19344
|
referencedColumns: ["id"];
|
|
19356
19345
|
}];
|
|
19357
19346
|
};
|
|
19347
|
+
floriday_trade_settings_customers_cache: {
|
|
19348
|
+
Row: {
|
|
19349
|
+
connection_id: string;
|
|
19350
|
+
data: import("../../integrations/supabase/types").Json;
|
|
19351
|
+
fetched_at: string;
|
|
19352
|
+
floriday_id: string;
|
|
19353
|
+
id: string;
|
|
19354
|
+
is_deleted: boolean;
|
|
19355
|
+
sequence_number: number;
|
|
19356
|
+
updated_at: string;
|
|
19357
|
+
};
|
|
19358
|
+
Insert: {
|
|
19359
|
+
connection_id: string;
|
|
19360
|
+
data: import("../../integrations/supabase/types").Json;
|
|
19361
|
+
fetched_at?: string;
|
|
19362
|
+
floriday_id: string;
|
|
19363
|
+
id?: string;
|
|
19364
|
+
is_deleted?: boolean;
|
|
19365
|
+
sequence_number?: number;
|
|
19366
|
+
updated_at?: string;
|
|
19367
|
+
};
|
|
19368
|
+
Update: {
|
|
19369
|
+
connection_id?: string;
|
|
19370
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
19371
|
+
fetched_at?: string;
|
|
19372
|
+
floriday_id?: string;
|
|
19373
|
+
id?: string;
|
|
19374
|
+
is_deleted?: boolean;
|
|
19375
|
+
sequence_number?: number;
|
|
19376
|
+
updated_at?: string;
|
|
19377
|
+
};
|
|
19378
|
+
Relationships: [{
|
|
19379
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
19380
|
+
columns: ["connection_id"];
|
|
19381
|
+
isOneToOne: false;
|
|
19382
|
+
referencedRelation: "floriday_connections";
|
|
19383
|
+
referencedColumns: ["id"];
|
|
19384
|
+
}];
|
|
19385
|
+
};
|
|
19358
19386
|
floriday_trips_cache: {
|
|
19359
19387
|
Row: {
|
|
19360
19388
|
carrier_organization_id: string | null;
|
|
@@ -19403,6 +19431,27 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
19403
19431
|
referencedColumns: ["id"];
|
|
19404
19432
|
}];
|
|
19405
19433
|
};
|
|
19434
|
+
floriday_vbn_required_characteristics: {
|
|
19435
|
+
Row: {
|
|
19436
|
+
required_codes: string[];
|
|
19437
|
+
updated_at: string;
|
|
19438
|
+
updated_by: string | null;
|
|
19439
|
+
vbn_code: string;
|
|
19440
|
+
};
|
|
19441
|
+
Insert: {
|
|
19442
|
+
required_codes?: string[];
|
|
19443
|
+
updated_at?: string;
|
|
19444
|
+
updated_by?: string | null;
|
|
19445
|
+
vbn_code: string;
|
|
19446
|
+
};
|
|
19447
|
+
Update: {
|
|
19448
|
+
required_codes?: string[];
|
|
19449
|
+
updated_at?: string;
|
|
19450
|
+
updated_by?: string | null;
|
|
19451
|
+
vbn_code?: string;
|
|
19452
|
+
};
|
|
19453
|
+
Relationships: [];
|
|
19454
|
+
};
|
|
19406
19455
|
floriday_warehouses_cache: {
|
|
19407
19456
|
Row: {
|
|
19408
19457
|
connection_id: string;
|
|
@@ -24376,9 +24425,7 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
24376
24425
|
};
|
|
24377
24426
|
twinfield_connections: {
|
|
24378
24427
|
Row: {
|
|
24379
|
-
|
|
24380
|
-
client_id: string;
|
|
24381
|
-
client_secret: string | null;
|
|
24428
|
+
account_key: string | null;
|
|
24382
24429
|
cluster_uri: string | null;
|
|
24383
24430
|
company_code: string | null;
|
|
24384
24431
|
company_name: string | null;
|
|
@@ -24390,15 +24437,11 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
24390
24437
|
label: string | null;
|
|
24391
24438
|
office_code: string | null;
|
|
24392
24439
|
redirect_uri: string;
|
|
24393
|
-
refresh_token: string | null;
|
|
24394
|
-
token_expires_at: string | null;
|
|
24395
24440
|
updated_at: string;
|
|
24396
24441
|
user_id: string;
|
|
24397
24442
|
};
|
|
24398
24443
|
Insert: {
|
|
24399
|
-
|
|
24400
|
-
client_id: string;
|
|
24401
|
-
client_secret?: string | null;
|
|
24444
|
+
account_key?: string | null;
|
|
24402
24445
|
cluster_uri?: string | null;
|
|
24403
24446
|
company_code?: string | null;
|
|
24404
24447
|
company_name?: string | null;
|
|
@@ -24410,15 +24453,11 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
24410
24453
|
label?: string | null;
|
|
24411
24454
|
office_code?: string | null;
|
|
24412
24455
|
redirect_uri: string;
|
|
24413
|
-
refresh_token?: string | null;
|
|
24414
|
-
token_expires_at?: string | null;
|
|
24415
24456
|
updated_at?: string;
|
|
24416
24457
|
user_id: string;
|
|
24417
24458
|
};
|
|
24418
24459
|
Update: {
|
|
24419
|
-
|
|
24420
|
-
client_id?: string;
|
|
24421
|
-
client_secret?: string | null;
|
|
24460
|
+
account_key?: string | null;
|
|
24422
24461
|
cluster_uri?: string | null;
|
|
24423
24462
|
company_code?: string | null;
|
|
24424
24463
|
company_name?: string | null;
|
|
@@ -24430,53 +24469,6 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
24430
24469
|
label?: string | null;
|
|
24431
24470
|
office_code?: string | null;
|
|
24432
24471
|
redirect_uri?: string;
|
|
24433
|
-
refresh_token?: string | null;
|
|
24434
|
-
token_expires_at?: string | null;
|
|
24435
|
-
updated_at?: string;
|
|
24436
|
-
user_id?: string;
|
|
24437
|
-
};
|
|
24438
|
-
Relationships: [];
|
|
24439
|
-
};
|
|
24440
|
-
twinfield_credentials: {
|
|
24441
|
-
Row: {
|
|
24442
|
-
administration_code: string | null;
|
|
24443
|
-
client_id: string | null;
|
|
24444
|
-
client_secret: string | null;
|
|
24445
|
-
cluster: string | null;
|
|
24446
|
-
connected_at: string | null;
|
|
24447
|
-
created_at: string;
|
|
24448
|
-
environment: string | null;
|
|
24449
|
-
id: string;
|
|
24450
|
-
redirect_uri: string | null;
|
|
24451
|
-
refresh_token: string | null;
|
|
24452
|
-
updated_at: string;
|
|
24453
|
-
user_id: string;
|
|
24454
|
-
};
|
|
24455
|
-
Insert: {
|
|
24456
|
-
administration_code?: string | null;
|
|
24457
|
-
client_id?: string | null;
|
|
24458
|
-
client_secret?: string | null;
|
|
24459
|
-
cluster?: string | null;
|
|
24460
|
-
connected_at?: string | null;
|
|
24461
|
-
created_at?: string;
|
|
24462
|
-
environment?: string | null;
|
|
24463
|
-
id?: string;
|
|
24464
|
-
redirect_uri?: string | null;
|
|
24465
|
-
refresh_token?: string | null;
|
|
24466
|
-
updated_at?: string;
|
|
24467
|
-
user_id: string;
|
|
24468
|
-
};
|
|
24469
|
-
Update: {
|
|
24470
|
-
administration_code?: string | null;
|
|
24471
|
-
client_id?: string | null;
|
|
24472
|
-
client_secret?: string | null;
|
|
24473
|
-
cluster?: string | null;
|
|
24474
|
-
connected_at?: string | null;
|
|
24475
|
-
created_at?: string;
|
|
24476
|
-
environment?: string | null;
|
|
24477
|
-
id?: string;
|
|
24478
|
-
redirect_uri?: string | null;
|
|
24479
|
-
refresh_token?: string | null;
|
|
24480
24472
|
updated_at?: string;
|
|
24481
24473
|
user_id?: string;
|
|
24482
24474
|
};
|
|
@@ -24977,30 +24969,6 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
24977
24969
|
referencedColumns: ["id"];
|
|
24978
24970
|
}];
|
|
24979
24971
|
};
|
|
24980
|
-
twinfield_oauth_state: {
|
|
24981
|
-
Row: {
|
|
24982
|
-
created_at: string;
|
|
24983
|
-
environment: string;
|
|
24984
|
-
nonce: string | null;
|
|
24985
|
-
state: string;
|
|
24986
|
-
user_id: string;
|
|
24987
|
-
};
|
|
24988
|
-
Insert: {
|
|
24989
|
-
created_at?: string;
|
|
24990
|
-
environment: string;
|
|
24991
|
-
nonce?: string | null;
|
|
24992
|
-
state: string;
|
|
24993
|
-
user_id: string;
|
|
24994
|
-
};
|
|
24995
|
-
Update: {
|
|
24996
|
-
created_at?: string;
|
|
24997
|
-
environment?: string;
|
|
24998
|
-
nonce?: string | null;
|
|
24999
|
-
state?: string;
|
|
25000
|
-
user_id?: string;
|
|
25001
|
-
};
|
|
25002
|
-
Relationships: [];
|
|
25003
|
-
};
|
|
25004
24972
|
twinfield_push_queue: {
|
|
25005
24973
|
Row: {
|
|
25006
24974
|
action: string;
|
|
@@ -25166,39 +25134,6 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
25166
25134
|
referencedColumns: ["id"];
|
|
25167
25135
|
}];
|
|
25168
25136
|
};
|
|
25169
|
-
twinfield_token_refresh_log: {
|
|
25170
|
-
Row: {
|
|
25171
|
-
attempted_at: string;
|
|
25172
|
-
connection_id: string;
|
|
25173
|
-
error: string | null;
|
|
25174
|
-
expires_at: string | null;
|
|
25175
|
-
id: string;
|
|
25176
|
-
ok: boolean;
|
|
25177
|
-
};
|
|
25178
|
-
Insert: {
|
|
25179
|
-
attempted_at?: string;
|
|
25180
|
-
connection_id: string;
|
|
25181
|
-
error?: string | null;
|
|
25182
|
-
expires_at?: string | null;
|
|
25183
|
-
id?: string;
|
|
25184
|
-
ok: boolean;
|
|
25185
|
-
};
|
|
25186
|
-
Update: {
|
|
25187
|
-
attempted_at?: string;
|
|
25188
|
-
connection_id?: string;
|
|
25189
|
-
error?: string | null;
|
|
25190
|
-
expires_at?: string | null;
|
|
25191
|
-
id?: string;
|
|
25192
|
-
ok?: boolean;
|
|
25193
|
-
};
|
|
25194
|
-
Relationships: [{
|
|
25195
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
25196
|
-
columns: ["connection_id"];
|
|
25197
|
-
isOneToOne: false;
|
|
25198
|
-
referencedRelation: "twinfield_connections";
|
|
25199
|
-
referencedColumns: ["id"];
|
|
25200
|
-
}];
|
|
25201
|
-
};
|
|
25202
25137
|
user_roles: {
|
|
25203
25138
|
Row: {
|
|
25204
25139
|
created_at: string;
|
|
@@ -27639,15 +27574,16 @@ export declare const loadWizardConfig: import("@tanstack/start-client-core").Req
|
|
|
27639
27574
|
};
|
|
27640
27575
|
Returns: undefined;
|
|
27641
27576
|
};
|
|
27642
|
-
|
|
27643
|
-
Args: {
|
|
27644
|
-
cipher: string;
|
|
27645
|
-
};
|
|
27646
|
-
Returns: string;
|
|
27647
|
-
};
|
|
27648
|
-
twinfield_encrypt: {
|
|
27577
|
+
twinfield_upsert_connection_by_account_key: {
|
|
27649
27578
|
Args: {
|
|
27650
|
-
|
|
27579
|
+
p_account_key: string;
|
|
27580
|
+
p_cluster_uri?: string;
|
|
27581
|
+
p_company_code?: string;
|
|
27582
|
+
p_company_name?: string;
|
|
27583
|
+
p_environment: string;
|
|
27584
|
+
p_office_code?: string;
|
|
27585
|
+
p_status?: string;
|
|
27586
|
+
p_user_id: string;
|
|
27651
27587
|
};
|
|
27652
27588
|
Returns: string;
|
|
27653
27589
|
};
|
|
@@ -32222,6 +32158,27 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
32222
32158
|
referencedColumns: ["id"];
|
|
32223
32159
|
}];
|
|
32224
32160
|
};
|
|
32161
|
+
floriday_continuous_stock_cache: {
|
|
32162
|
+
Row: {
|
|
32163
|
+
connection_id: string;
|
|
32164
|
+
fetched_at: string;
|
|
32165
|
+
number_of_pieces: number;
|
|
32166
|
+
trade_item_id: string;
|
|
32167
|
+
};
|
|
32168
|
+
Insert: {
|
|
32169
|
+
connection_id: string;
|
|
32170
|
+
fetched_at?: string;
|
|
32171
|
+
number_of_pieces?: number;
|
|
32172
|
+
trade_item_id: string;
|
|
32173
|
+
};
|
|
32174
|
+
Update: {
|
|
32175
|
+
connection_id?: string;
|
|
32176
|
+
fetched_at?: string;
|
|
32177
|
+
number_of_pieces?: number;
|
|
32178
|
+
trade_item_id?: string;
|
|
32179
|
+
};
|
|
32180
|
+
Relationships: [];
|
|
32181
|
+
};
|
|
32225
32182
|
floriday_continuous_stock_queue: {
|
|
32226
32183
|
Row: {
|
|
32227
32184
|
attempts: number;
|
|
@@ -33200,6 +33157,45 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
33200
33157
|
referencedColumns: ["id"];
|
|
33201
33158
|
}];
|
|
33202
33159
|
};
|
|
33160
|
+
floriday_trade_settings_customers_cache: {
|
|
33161
|
+
Row: {
|
|
33162
|
+
connection_id: string;
|
|
33163
|
+
data: import("../../integrations/supabase/types").Json;
|
|
33164
|
+
fetched_at: string;
|
|
33165
|
+
floriday_id: string;
|
|
33166
|
+
id: string;
|
|
33167
|
+
is_deleted: boolean;
|
|
33168
|
+
sequence_number: number;
|
|
33169
|
+
updated_at: string;
|
|
33170
|
+
};
|
|
33171
|
+
Insert: {
|
|
33172
|
+
connection_id: string;
|
|
33173
|
+
data: import("../../integrations/supabase/types").Json;
|
|
33174
|
+
fetched_at?: string;
|
|
33175
|
+
floriday_id: string;
|
|
33176
|
+
id?: string;
|
|
33177
|
+
is_deleted?: boolean;
|
|
33178
|
+
sequence_number?: number;
|
|
33179
|
+
updated_at?: string;
|
|
33180
|
+
};
|
|
33181
|
+
Update: {
|
|
33182
|
+
connection_id?: string;
|
|
33183
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
33184
|
+
fetched_at?: string;
|
|
33185
|
+
floriday_id?: string;
|
|
33186
|
+
id?: string;
|
|
33187
|
+
is_deleted?: boolean;
|
|
33188
|
+
sequence_number?: number;
|
|
33189
|
+
updated_at?: string;
|
|
33190
|
+
};
|
|
33191
|
+
Relationships: [{
|
|
33192
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
33193
|
+
columns: ["connection_id"];
|
|
33194
|
+
isOneToOne: false;
|
|
33195
|
+
referencedRelation: "floriday_connections";
|
|
33196
|
+
referencedColumns: ["id"];
|
|
33197
|
+
}];
|
|
33198
|
+
};
|
|
33203
33199
|
floriday_trips_cache: {
|
|
33204
33200
|
Row: {
|
|
33205
33201
|
carrier_organization_id: string | null;
|
|
@@ -33248,6 +33244,27 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
33248
33244
|
referencedColumns: ["id"];
|
|
33249
33245
|
}];
|
|
33250
33246
|
};
|
|
33247
|
+
floriday_vbn_required_characteristics: {
|
|
33248
|
+
Row: {
|
|
33249
|
+
required_codes: string[];
|
|
33250
|
+
updated_at: string;
|
|
33251
|
+
updated_by: string | null;
|
|
33252
|
+
vbn_code: string;
|
|
33253
|
+
};
|
|
33254
|
+
Insert: {
|
|
33255
|
+
required_codes?: string[];
|
|
33256
|
+
updated_at?: string;
|
|
33257
|
+
updated_by?: string | null;
|
|
33258
|
+
vbn_code: string;
|
|
33259
|
+
};
|
|
33260
|
+
Update: {
|
|
33261
|
+
required_codes?: string[];
|
|
33262
|
+
updated_at?: string;
|
|
33263
|
+
updated_by?: string | null;
|
|
33264
|
+
vbn_code?: string;
|
|
33265
|
+
};
|
|
33266
|
+
Relationships: [];
|
|
33267
|
+
};
|
|
33251
33268
|
floriday_warehouses_cache: {
|
|
33252
33269
|
Row: {
|
|
33253
33270
|
connection_id: string;
|
|
@@ -38221,9 +38238,7 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
38221
38238
|
};
|
|
38222
38239
|
twinfield_connections: {
|
|
38223
38240
|
Row: {
|
|
38224
|
-
|
|
38225
|
-
client_id: string;
|
|
38226
|
-
client_secret: string | null;
|
|
38241
|
+
account_key: string | null;
|
|
38227
38242
|
cluster_uri: string | null;
|
|
38228
38243
|
company_code: string | null;
|
|
38229
38244
|
company_name: string | null;
|
|
@@ -38235,15 +38250,11 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
38235
38250
|
label: string | null;
|
|
38236
38251
|
office_code: string | null;
|
|
38237
38252
|
redirect_uri: string;
|
|
38238
|
-
refresh_token: string | null;
|
|
38239
|
-
token_expires_at: string | null;
|
|
38240
38253
|
updated_at: string;
|
|
38241
38254
|
user_id: string;
|
|
38242
38255
|
};
|
|
38243
38256
|
Insert: {
|
|
38244
|
-
|
|
38245
|
-
client_id: string;
|
|
38246
|
-
client_secret?: string | null;
|
|
38257
|
+
account_key?: string | null;
|
|
38247
38258
|
cluster_uri?: string | null;
|
|
38248
38259
|
company_code?: string | null;
|
|
38249
38260
|
company_name?: string | null;
|
|
@@ -38255,15 +38266,11 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
38255
38266
|
label?: string | null;
|
|
38256
38267
|
office_code?: string | null;
|
|
38257
38268
|
redirect_uri: string;
|
|
38258
|
-
refresh_token?: string | null;
|
|
38259
|
-
token_expires_at?: string | null;
|
|
38260
38269
|
updated_at?: string;
|
|
38261
38270
|
user_id: string;
|
|
38262
38271
|
};
|
|
38263
38272
|
Update: {
|
|
38264
|
-
|
|
38265
|
-
client_id?: string;
|
|
38266
|
-
client_secret?: string | null;
|
|
38273
|
+
account_key?: string | null;
|
|
38267
38274
|
cluster_uri?: string | null;
|
|
38268
38275
|
company_code?: string | null;
|
|
38269
38276
|
company_name?: string | null;
|
|
@@ -38275,53 +38282,6 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
38275
38282
|
label?: string | null;
|
|
38276
38283
|
office_code?: string | null;
|
|
38277
38284
|
redirect_uri?: string;
|
|
38278
|
-
refresh_token?: string | null;
|
|
38279
|
-
token_expires_at?: string | null;
|
|
38280
|
-
updated_at?: string;
|
|
38281
|
-
user_id?: string;
|
|
38282
|
-
};
|
|
38283
|
-
Relationships: [];
|
|
38284
|
-
};
|
|
38285
|
-
twinfield_credentials: {
|
|
38286
|
-
Row: {
|
|
38287
|
-
administration_code: string | null;
|
|
38288
|
-
client_id: string | null;
|
|
38289
|
-
client_secret: string | null;
|
|
38290
|
-
cluster: string | null;
|
|
38291
|
-
connected_at: string | null;
|
|
38292
|
-
created_at: string;
|
|
38293
|
-
environment: string | null;
|
|
38294
|
-
id: string;
|
|
38295
|
-
redirect_uri: string | null;
|
|
38296
|
-
refresh_token: string | null;
|
|
38297
|
-
updated_at: string;
|
|
38298
|
-
user_id: string;
|
|
38299
|
-
};
|
|
38300
|
-
Insert: {
|
|
38301
|
-
administration_code?: string | null;
|
|
38302
|
-
client_id?: string | null;
|
|
38303
|
-
client_secret?: string | null;
|
|
38304
|
-
cluster?: string | null;
|
|
38305
|
-
connected_at?: string | null;
|
|
38306
|
-
created_at?: string;
|
|
38307
|
-
environment?: string | null;
|
|
38308
|
-
id?: string;
|
|
38309
|
-
redirect_uri?: string | null;
|
|
38310
|
-
refresh_token?: string | null;
|
|
38311
|
-
updated_at?: string;
|
|
38312
|
-
user_id: string;
|
|
38313
|
-
};
|
|
38314
|
-
Update: {
|
|
38315
|
-
administration_code?: string | null;
|
|
38316
|
-
client_id?: string | null;
|
|
38317
|
-
client_secret?: string | null;
|
|
38318
|
-
cluster?: string | null;
|
|
38319
|
-
connected_at?: string | null;
|
|
38320
|
-
created_at?: string;
|
|
38321
|
-
environment?: string | null;
|
|
38322
|
-
id?: string;
|
|
38323
|
-
redirect_uri?: string | null;
|
|
38324
|
-
refresh_token?: string | null;
|
|
38325
38285
|
updated_at?: string;
|
|
38326
38286
|
user_id?: string;
|
|
38327
38287
|
};
|
|
@@ -38822,30 +38782,6 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
38822
38782
|
referencedColumns: ["id"];
|
|
38823
38783
|
}];
|
|
38824
38784
|
};
|
|
38825
|
-
twinfield_oauth_state: {
|
|
38826
|
-
Row: {
|
|
38827
|
-
created_at: string;
|
|
38828
|
-
environment: string;
|
|
38829
|
-
nonce: string | null;
|
|
38830
|
-
state: string;
|
|
38831
|
-
user_id: string;
|
|
38832
|
-
};
|
|
38833
|
-
Insert: {
|
|
38834
|
-
created_at?: string;
|
|
38835
|
-
environment: string;
|
|
38836
|
-
nonce?: string | null;
|
|
38837
|
-
state: string;
|
|
38838
|
-
user_id: string;
|
|
38839
|
-
};
|
|
38840
|
-
Update: {
|
|
38841
|
-
created_at?: string;
|
|
38842
|
-
environment?: string;
|
|
38843
|
-
nonce?: string | null;
|
|
38844
|
-
state?: string;
|
|
38845
|
-
user_id?: string;
|
|
38846
|
-
};
|
|
38847
|
-
Relationships: [];
|
|
38848
|
-
};
|
|
38849
38785
|
twinfield_push_queue: {
|
|
38850
38786
|
Row: {
|
|
38851
38787
|
action: string;
|
|
@@ -39011,39 +38947,6 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
39011
38947
|
referencedColumns: ["id"];
|
|
39012
38948
|
}];
|
|
39013
38949
|
};
|
|
39014
|
-
twinfield_token_refresh_log: {
|
|
39015
|
-
Row: {
|
|
39016
|
-
attempted_at: string;
|
|
39017
|
-
connection_id: string;
|
|
39018
|
-
error: string | null;
|
|
39019
|
-
expires_at: string | null;
|
|
39020
|
-
id: string;
|
|
39021
|
-
ok: boolean;
|
|
39022
|
-
};
|
|
39023
|
-
Insert: {
|
|
39024
|
-
attempted_at?: string;
|
|
39025
|
-
connection_id: string;
|
|
39026
|
-
error?: string | null;
|
|
39027
|
-
expires_at?: string | null;
|
|
39028
|
-
id?: string;
|
|
39029
|
-
ok: boolean;
|
|
39030
|
-
};
|
|
39031
|
-
Update: {
|
|
39032
|
-
attempted_at?: string;
|
|
39033
|
-
connection_id?: string;
|
|
39034
|
-
error?: string | null;
|
|
39035
|
-
expires_at?: string | null;
|
|
39036
|
-
id?: string;
|
|
39037
|
-
ok?: boolean;
|
|
39038
|
-
};
|
|
39039
|
-
Relationships: [{
|
|
39040
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
39041
|
-
columns: ["connection_id"];
|
|
39042
|
-
isOneToOne: false;
|
|
39043
|
-
referencedRelation: "twinfield_connections";
|
|
39044
|
-
referencedColumns: ["id"];
|
|
39045
|
-
}];
|
|
39046
|
-
};
|
|
39047
38950
|
user_roles: {
|
|
39048
38951
|
Row: {
|
|
39049
38952
|
created_at: string;
|
|
@@ -41484,15 +41387,16 @@ export declare const getActiveWizardConfig: import("@tanstack/start-client-core"
|
|
|
41484
41387
|
};
|
|
41485
41388
|
Returns: undefined;
|
|
41486
41389
|
};
|
|
41487
|
-
|
|
41390
|
+
twinfield_upsert_connection_by_account_key: {
|
|
41488
41391
|
Args: {
|
|
41489
|
-
|
|
41490
|
-
|
|
41491
|
-
|
|
41492
|
-
|
|
41493
|
-
|
|
41494
|
-
|
|
41495
|
-
|
|
41392
|
+
p_account_key: string;
|
|
41393
|
+
p_cluster_uri?: string;
|
|
41394
|
+
p_company_code?: string;
|
|
41395
|
+
p_company_name?: string;
|
|
41396
|
+
p_environment: string;
|
|
41397
|
+
p_office_code?: string;
|
|
41398
|
+
p_status?: string;
|
|
41399
|
+
p_user_id: string;
|
|
41496
41400
|
};
|
|
41497
41401
|
Returns: string;
|
|
41498
41402
|
};
|
|
@@ -46059,6 +45963,27 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
46059
45963
|
referencedColumns: ["id"];
|
|
46060
45964
|
}];
|
|
46061
45965
|
};
|
|
45966
|
+
floriday_continuous_stock_cache: {
|
|
45967
|
+
Row: {
|
|
45968
|
+
connection_id: string;
|
|
45969
|
+
fetched_at: string;
|
|
45970
|
+
number_of_pieces: number;
|
|
45971
|
+
trade_item_id: string;
|
|
45972
|
+
};
|
|
45973
|
+
Insert: {
|
|
45974
|
+
connection_id: string;
|
|
45975
|
+
fetched_at?: string;
|
|
45976
|
+
number_of_pieces?: number;
|
|
45977
|
+
trade_item_id: string;
|
|
45978
|
+
};
|
|
45979
|
+
Update: {
|
|
45980
|
+
connection_id?: string;
|
|
45981
|
+
fetched_at?: string;
|
|
45982
|
+
number_of_pieces?: number;
|
|
45983
|
+
trade_item_id?: string;
|
|
45984
|
+
};
|
|
45985
|
+
Relationships: [];
|
|
45986
|
+
};
|
|
46062
45987
|
floriday_continuous_stock_queue: {
|
|
46063
45988
|
Row: {
|
|
46064
45989
|
attempts: number;
|
|
@@ -47037,6 +46962,45 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
47037
46962
|
referencedColumns: ["id"];
|
|
47038
46963
|
}];
|
|
47039
46964
|
};
|
|
46965
|
+
floriday_trade_settings_customers_cache: {
|
|
46966
|
+
Row: {
|
|
46967
|
+
connection_id: string;
|
|
46968
|
+
data: import("../../integrations/supabase/types").Json;
|
|
46969
|
+
fetched_at: string;
|
|
46970
|
+
floriday_id: string;
|
|
46971
|
+
id: string;
|
|
46972
|
+
is_deleted: boolean;
|
|
46973
|
+
sequence_number: number;
|
|
46974
|
+
updated_at: string;
|
|
46975
|
+
};
|
|
46976
|
+
Insert: {
|
|
46977
|
+
connection_id: string;
|
|
46978
|
+
data: import("../../integrations/supabase/types").Json;
|
|
46979
|
+
fetched_at?: string;
|
|
46980
|
+
floriday_id: string;
|
|
46981
|
+
id?: string;
|
|
46982
|
+
is_deleted?: boolean;
|
|
46983
|
+
sequence_number?: number;
|
|
46984
|
+
updated_at?: string;
|
|
46985
|
+
};
|
|
46986
|
+
Update: {
|
|
46987
|
+
connection_id?: string;
|
|
46988
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
46989
|
+
fetched_at?: string;
|
|
46990
|
+
floriday_id?: string;
|
|
46991
|
+
id?: string;
|
|
46992
|
+
is_deleted?: boolean;
|
|
46993
|
+
sequence_number?: number;
|
|
46994
|
+
updated_at?: string;
|
|
46995
|
+
};
|
|
46996
|
+
Relationships: [{
|
|
46997
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
46998
|
+
columns: ["connection_id"];
|
|
46999
|
+
isOneToOne: false;
|
|
47000
|
+
referencedRelation: "floriday_connections";
|
|
47001
|
+
referencedColumns: ["id"];
|
|
47002
|
+
}];
|
|
47003
|
+
};
|
|
47040
47004
|
floriday_trips_cache: {
|
|
47041
47005
|
Row: {
|
|
47042
47006
|
carrier_organization_id: string | null;
|
|
@@ -47085,6 +47049,27 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
47085
47049
|
referencedColumns: ["id"];
|
|
47086
47050
|
}];
|
|
47087
47051
|
};
|
|
47052
|
+
floriday_vbn_required_characteristics: {
|
|
47053
|
+
Row: {
|
|
47054
|
+
required_codes: string[];
|
|
47055
|
+
updated_at: string;
|
|
47056
|
+
updated_by: string | null;
|
|
47057
|
+
vbn_code: string;
|
|
47058
|
+
};
|
|
47059
|
+
Insert: {
|
|
47060
|
+
required_codes?: string[];
|
|
47061
|
+
updated_at?: string;
|
|
47062
|
+
updated_by?: string | null;
|
|
47063
|
+
vbn_code: string;
|
|
47064
|
+
};
|
|
47065
|
+
Update: {
|
|
47066
|
+
required_codes?: string[];
|
|
47067
|
+
updated_at?: string;
|
|
47068
|
+
updated_by?: string | null;
|
|
47069
|
+
vbn_code?: string;
|
|
47070
|
+
};
|
|
47071
|
+
Relationships: [];
|
|
47072
|
+
};
|
|
47088
47073
|
floriday_warehouses_cache: {
|
|
47089
47074
|
Row: {
|
|
47090
47075
|
connection_id: string;
|
|
@@ -52058,9 +52043,7 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
52058
52043
|
};
|
|
52059
52044
|
twinfield_connections: {
|
|
52060
52045
|
Row: {
|
|
52061
|
-
|
|
52062
|
-
client_id: string;
|
|
52063
|
-
client_secret: string | null;
|
|
52046
|
+
account_key: string | null;
|
|
52064
52047
|
cluster_uri: string | null;
|
|
52065
52048
|
company_code: string | null;
|
|
52066
52049
|
company_name: string | null;
|
|
@@ -52072,15 +52055,11 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
52072
52055
|
label: string | null;
|
|
52073
52056
|
office_code: string | null;
|
|
52074
52057
|
redirect_uri: string;
|
|
52075
|
-
refresh_token: string | null;
|
|
52076
|
-
token_expires_at: string | null;
|
|
52077
52058
|
updated_at: string;
|
|
52078
52059
|
user_id: string;
|
|
52079
52060
|
};
|
|
52080
52061
|
Insert: {
|
|
52081
|
-
|
|
52082
|
-
client_id: string;
|
|
52083
|
-
client_secret?: string | null;
|
|
52062
|
+
account_key?: string | null;
|
|
52084
52063
|
cluster_uri?: string | null;
|
|
52085
52064
|
company_code?: string | null;
|
|
52086
52065
|
company_name?: string | null;
|
|
@@ -52092,15 +52071,11 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
52092
52071
|
label?: string | null;
|
|
52093
52072
|
office_code?: string | null;
|
|
52094
52073
|
redirect_uri: string;
|
|
52095
|
-
refresh_token?: string | null;
|
|
52096
|
-
token_expires_at?: string | null;
|
|
52097
52074
|
updated_at?: string;
|
|
52098
52075
|
user_id: string;
|
|
52099
52076
|
};
|
|
52100
52077
|
Update: {
|
|
52101
|
-
|
|
52102
|
-
client_id?: string;
|
|
52103
|
-
client_secret?: string | null;
|
|
52078
|
+
account_key?: string | null;
|
|
52104
52079
|
cluster_uri?: string | null;
|
|
52105
52080
|
company_code?: string | null;
|
|
52106
52081
|
company_name?: string | null;
|
|
@@ -52112,53 +52087,6 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
52112
52087
|
label?: string | null;
|
|
52113
52088
|
office_code?: string | null;
|
|
52114
52089
|
redirect_uri?: string;
|
|
52115
|
-
refresh_token?: string | null;
|
|
52116
|
-
token_expires_at?: string | null;
|
|
52117
|
-
updated_at?: string;
|
|
52118
|
-
user_id?: string;
|
|
52119
|
-
};
|
|
52120
|
-
Relationships: [];
|
|
52121
|
-
};
|
|
52122
|
-
twinfield_credentials: {
|
|
52123
|
-
Row: {
|
|
52124
|
-
administration_code: string | null;
|
|
52125
|
-
client_id: string | null;
|
|
52126
|
-
client_secret: string | null;
|
|
52127
|
-
cluster: string | null;
|
|
52128
|
-
connected_at: string | null;
|
|
52129
|
-
created_at: string;
|
|
52130
|
-
environment: string | null;
|
|
52131
|
-
id: string;
|
|
52132
|
-
redirect_uri: string | null;
|
|
52133
|
-
refresh_token: string | null;
|
|
52134
|
-
updated_at: string;
|
|
52135
|
-
user_id: string;
|
|
52136
|
-
};
|
|
52137
|
-
Insert: {
|
|
52138
|
-
administration_code?: string | null;
|
|
52139
|
-
client_id?: string | null;
|
|
52140
|
-
client_secret?: string | null;
|
|
52141
|
-
cluster?: string | null;
|
|
52142
|
-
connected_at?: string | null;
|
|
52143
|
-
created_at?: string;
|
|
52144
|
-
environment?: string | null;
|
|
52145
|
-
id?: string;
|
|
52146
|
-
redirect_uri?: string | null;
|
|
52147
|
-
refresh_token?: string | null;
|
|
52148
|
-
updated_at?: string;
|
|
52149
|
-
user_id: string;
|
|
52150
|
-
};
|
|
52151
|
-
Update: {
|
|
52152
|
-
administration_code?: string | null;
|
|
52153
|
-
client_id?: string | null;
|
|
52154
|
-
client_secret?: string | null;
|
|
52155
|
-
cluster?: string | null;
|
|
52156
|
-
connected_at?: string | null;
|
|
52157
|
-
created_at?: string;
|
|
52158
|
-
environment?: string | null;
|
|
52159
|
-
id?: string;
|
|
52160
|
-
redirect_uri?: string | null;
|
|
52161
|
-
refresh_token?: string | null;
|
|
52162
52090
|
updated_at?: string;
|
|
52163
52091
|
user_id?: string;
|
|
52164
52092
|
};
|
|
@@ -52659,30 +52587,6 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
52659
52587
|
referencedColumns: ["id"];
|
|
52660
52588
|
}];
|
|
52661
52589
|
};
|
|
52662
|
-
twinfield_oauth_state: {
|
|
52663
|
-
Row: {
|
|
52664
|
-
created_at: string;
|
|
52665
|
-
environment: string;
|
|
52666
|
-
nonce: string | null;
|
|
52667
|
-
state: string;
|
|
52668
|
-
user_id: string;
|
|
52669
|
-
};
|
|
52670
|
-
Insert: {
|
|
52671
|
-
created_at?: string;
|
|
52672
|
-
environment: string;
|
|
52673
|
-
nonce?: string | null;
|
|
52674
|
-
state: string;
|
|
52675
|
-
user_id: string;
|
|
52676
|
-
};
|
|
52677
|
-
Update: {
|
|
52678
|
-
created_at?: string;
|
|
52679
|
-
environment?: string;
|
|
52680
|
-
nonce?: string | null;
|
|
52681
|
-
state?: string;
|
|
52682
|
-
user_id?: string;
|
|
52683
|
-
};
|
|
52684
|
-
Relationships: [];
|
|
52685
|
-
};
|
|
52686
52590
|
twinfield_push_queue: {
|
|
52687
52591
|
Row: {
|
|
52688
52592
|
action: string;
|
|
@@ -52848,39 +52752,6 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
52848
52752
|
referencedColumns: ["id"];
|
|
52849
52753
|
}];
|
|
52850
52754
|
};
|
|
52851
|
-
twinfield_token_refresh_log: {
|
|
52852
|
-
Row: {
|
|
52853
|
-
attempted_at: string;
|
|
52854
|
-
connection_id: string;
|
|
52855
|
-
error: string | null;
|
|
52856
|
-
expires_at: string | null;
|
|
52857
|
-
id: string;
|
|
52858
|
-
ok: boolean;
|
|
52859
|
-
};
|
|
52860
|
-
Insert: {
|
|
52861
|
-
attempted_at?: string;
|
|
52862
|
-
connection_id: string;
|
|
52863
|
-
error?: string | null;
|
|
52864
|
-
expires_at?: string | null;
|
|
52865
|
-
id?: string;
|
|
52866
|
-
ok: boolean;
|
|
52867
|
-
};
|
|
52868
|
-
Update: {
|
|
52869
|
-
attempted_at?: string;
|
|
52870
|
-
connection_id?: string;
|
|
52871
|
-
error?: string | null;
|
|
52872
|
-
expires_at?: string | null;
|
|
52873
|
-
id?: string;
|
|
52874
|
-
ok?: boolean;
|
|
52875
|
-
};
|
|
52876
|
-
Relationships: [{
|
|
52877
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
52878
|
-
columns: ["connection_id"];
|
|
52879
|
-
isOneToOne: false;
|
|
52880
|
-
referencedRelation: "twinfield_connections";
|
|
52881
|
-
referencedColumns: ["id"];
|
|
52882
|
-
}];
|
|
52883
|
-
};
|
|
52884
52755
|
user_roles: {
|
|
52885
52756
|
Row: {
|
|
52886
52757
|
created_at: string;
|
|
@@ -55321,15 +55192,16 @@ export declare const aiSuggestConfig: import("@tanstack/start-client-core").Requ
|
|
|
55321
55192
|
};
|
|
55322
55193
|
Returns: undefined;
|
|
55323
55194
|
};
|
|
55324
|
-
|
|
55195
|
+
twinfield_upsert_connection_by_account_key: {
|
|
55325
55196
|
Args: {
|
|
55326
|
-
|
|
55327
|
-
|
|
55328
|
-
|
|
55329
|
-
|
|
55330
|
-
|
|
55331
|
-
|
|
55332
|
-
|
|
55197
|
+
p_account_key: string;
|
|
55198
|
+
p_cluster_uri?: string;
|
|
55199
|
+
p_company_code?: string;
|
|
55200
|
+
p_company_name?: string;
|
|
55201
|
+
p_environment: string;
|
|
55202
|
+
p_office_code?: string;
|
|
55203
|
+
p_status?: string;
|
|
55204
|
+
p_user_id: string;
|
|
55333
55205
|
};
|
|
55334
55206
|
Returns: string;
|
|
55335
55207
|
};
|