@flowselections/floriday-afhandeling-module 1.0.21 → 1.0.23
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/components/afhandeling/ControleLijstPrint.js +21 -21
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- 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/carrierSignupMail.server.js +26 -26
- 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 +376 -512
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts.map +1 -1
- package/package.json +18 -1
|
@@ -4543,6 +4543,27 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
4543
4543
|
referencedColumns: ["id"];
|
|
4544
4544
|
}];
|
|
4545
4545
|
};
|
|
4546
|
+
floriday_continuous_stock_cache: {
|
|
4547
|
+
Row: {
|
|
4548
|
+
connection_id: string;
|
|
4549
|
+
fetched_at: string;
|
|
4550
|
+
number_of_pieces: number;
|
|
4551
|
+
trade_item_id: string;
|
|
4552
|
+
};
|
|
4553
|
+
Insert: {
|
|
4554
|
+
connection_id: string;
|
|
4555
|
+
fetched_at?: string;
|
|
4556
|
+
number_of_pieces?: number;
|
|
4557
|
+
trade_item_id: string;
|
|
4558
|
+
};
|
|
4559
|
+
Update: {
|
|
4560
|
+
connection_id?: string;
|
|
4561
|
+
fetched_at?: string;
|
|
4562
|
+
number_of_pieces?: number;
|
|
4563
|
+
trade_item_id?: string;
|
|
4564
|
+
};
|
|
4565
|
+
Relationships: [];
|
|
4566
|
+
};
|
|
4546
4567
|
floriday_continuous_stock_queue: {
|
|
4547
4568
|
Row: {
|
|
4548
4569
|
attempts: number;
|
|
@@ -5521,6 +5542,45 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
5521
5542
|
referencedColumns: ["id"];
|
|
5522
5543
|
}];
|
|
5523
5544
|
};
|
|
5545
|
+
floriday_trade_settings_customers_cache: {
|
|
5546
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
5567
|
+
connection_id?: string;
|
|
5568
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
5569
|
+
fetched_at?: string;
|
|
5570
|
+
floriday_id?: string;
|
|
5571
|
+
id?: string;
|
|
5572
|
+
is_deleted?: boolean;
|
|
5573
|
+
sequence_number?: number;
|
|
5574
|
+
updated_at?: string;
|
|
5575
|
+
};
|
|
5576
|
+
Relationships: [{
|
|
5577
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
5578
|
+
columns: ["connection_id"];
|
|
5579
|
+
isOneToOne: false;
|
|
5580
|
+
referencedRelation: "floriday_connections";
|
|
5581
|
+
referencedColumns: ["id"];
|
|
5582
|
+
}];
|
|
5583
|
+
};
|
|
5524
5584
|
floriday_trips_cache: {
|
|
5525
5585
|
Row: {
|
|
5526
5586
|
carrier_organization_id: string | null;
|
|
@@ -5569,6 +5629,27 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
5569
5629
|
referencedColumns: ["id"];
|
|
5570
5630
|
}];
|
|
5571
5631
|
};
|
|
5632
|
+
floriday_vbn_required_characteristics: {
|
|
5633
|
+
Row: {
|
|
5634
|
+
required_codes: string[];
|
|
5635
|
+
updated_at: string;
|
|
5636
|
+
updated_by: string | null;
|
|
5637
|
+
vbn_code: string;
|
|
5638
|
+
};
|
|
5639
|
+
Insert: {
|
|
5640
|
+
required_codes?: string[];
|
|
5641
|
+
updated_at?: string;
|
|
5642
|
+
updated_by?: string | null;
|
|
5643
|
+
vbn_code: string;
|
|
5644
|
+
};
|
|
5645
|
+
Update: {
|
|
5646
|
+
required_codes?: string[];
|
|
5647
|
+
updated_at?: string;
|
|
5648
|
+
updated_by?: string | null;
|
|
5649
|
+
vbn_code?: string;
|
|
5650
|
+
};
|
|
5651
|
+
Relationships: [];
|
|
5652
|
+
};
|
|
5572
5653
|
floriday_warehouses_cache: {
|
|
5573
5654
|
Row: {
|
|
5574
5655
|
connection_id: string;
|
|
@@ -10542,9 +10623,7 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
10542
10623
|
};
|
|
10543
10624
|
twinfield_connections: {
|
|
10544
10625
|
Row: {
|
|
10545
|
-
|
|
10546
|
-
client_id: string;
|
|
10547
|
-
client_secret: string | null;
|
|
10626
|
+
account_key: string | null;
|
|
10548
10627
|
cluster_uri: string | null;
|
|
10549
10628
|
company_code: string | null;
|
|
10550
10629
|
company_name: string | null;
|
|
@@ -10556,15 +10635,11 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
10556
10635
|
label: string | null;
|
|
10557
10636
|
office_code: string | null;
|
|
10558
10637
|
redirect_uri: string;
|
|
10559
|
-
refresh_token: string | null;
|
|
10560
|
-
token_expires_at: string | null;
|
|
10561
10638
|
updated_at: string;
|
|
10562
10639
|
user_id: string;
|
|
10563
10640
|
};
|
|
10564
10641
|
Insert: {
|
|
10565
|
-
|
|
10566
|
-
client_id: string;
|
|
10567
|
-
client_secret?: string | null;
|
|
10642
|
+
account_key?: string | null;
|
|
10568
10643
|
cluster_uri?: string | null;
|
|
10569
10644
|
company_code?: string | null;
|
|
10570
10645
|
company_name?: string | null;
|
|
@@ -10576,15 +10651,11 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
10576
10651
|
label?: string | null;
|
|
10577
10652
|
office_code?: string | null;
|
|
10578
10653
|
redirect_uri: string;
|
|
10579
|
-
refresh_token?: string | null;
|
|
10580
|
-
token_expires_at?: string | null;
|
|
10581
10654
|
updated_at?: string;
|
|
10582
10655
|
user_id: string;
|
|
10583
10656
|
};
|
|
10584
10657
|
Update: {
|
|
10585
|
-
|
|
10586
|
-
client_id?: string;
|
|
10587
|
-
client_secret?: string | null;
|
|
10658
|
+
account_key?: string | null;
|
|
10588
10659
|
cluster_uri?: string | null;
|
|
10589
10660
|
company_code?: string | null;
|
|
10590
10661
|
company_name?: string | null;
|
|
@@ -10596,53 +10667,6 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
10596
10667
|
label?: string | null;
|
|
10597
10668
|
office_code?: string | null;
|
|
10598
10669
|
redirect_uri?: string;
|
|
10599
|
-
refresh_token?: string | null;
|
|
10600
|
-
token_expires_at?: string | null;
|
|
10601
|
-
updated_at?: string;
|
|
10602
|
-
user_id?: string;
|
|
10603
|
-
};
|
|
10604
|
-
Relationships: [];
|
|
10605
|
-
};
|
|
10606
|
-
twinfield_credentials: {
|
|
10607
|
-
Row: {
|
|
10608
|
-
administration_code: string | null;
|
|
10609
|
-
client_id: string | null;
|
|
10610
|
-
client_secret: string | null;
|
|
10611
|
-
cluster: string | null;
|
|
10612
|
-
connected_at: string | null;
|
|
10613
|
-
created_at: string;
|
|
10614
|
-
environment: string | null;
|
|
10615
|
-
id: string;
|
|
10616
|
-
redirect_uri: string | null;
|
|
10617
|
-
refresh_token: string | null;
|
|
10618
|
-
updated_at: string;
|
|
10619
|
-
user_id: string;
|
|
10620
|
-
};
|
|
10621
|
-
Insert: {
|
|
10622
|
-
administration_code?: string | null;
|
|
10623
|
-
client_id?: string | null;
|
|
10624
|
-
client_secret?: string | null;
|
|
10625
|
-
cluster?: string | null;
|
|
10626
|
-
connected_at?: string | null;
|
|
10627
|
-
created_at?: string;
|
|
10628
|
-
environment?: string | null;
|
|
10629
|
-
id?: string;
|
|
10630
|
-
redirect_uri?: string | null;
|
|
10631
|
-
refresh_token?: string | null;
|
|
10632
|
-
updated_at?: string;
|
|
10633
|
-
user_id: string;
|
|
10634
|
-
};
|
|
10635
|
-
Update: {
|
|
10636
|
-
administration_code?: string | null;
|
|
10637
|
-
client_id?: string | null;
|
|
10638
|
-
client_secret?: string | null;
|
|
10639
|
-
cluster?: string | null;
|
|
10640
|
-
connected_at?: string | null;
|
|
10641
|
-
created_at?: string;
|
|
10642
|
-
environment?: string | null;
|
|
10643
|
-
id?: string;
|
|
10644
|
-
redirect_uri?: string | null;
|
|
10645
|
-
refresh_token?: string | null;
|
|
10646
10670
|
updated_at?: string;
|
|
10647
10671
|
user_id?: string;
|
|
10648
10672
|
};
|
|
@@ -11143,30 +11167,6 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
11143
11167
|
referencedColumns: ["id"];
|
|
11144
11168
|
}];
|
|
11145
11169
|
};
|
|
11146
|
-
twinfield_oauth_state: {
|
|
11147
|
-
Row: {
|
|
11148
|
-
created_at: string;
|
|
11149
|
-
environment: string;
|
|
11150
|
-
nonce: string | null;
|
|
11151
|
-
state: string;
|
|
11152
|
-
user_id: string;
|
|
11153
|
-
};
|
|
11154
|
-
Insert: {
|
|
11155
|
-
created_at?: string;
|
|
11156
|
-
environment: string;
|
|
11157
|
-
nonce?: string | null;
|
|
11158
|
-
state: string;
|
|
11159
|
-
user_id: string;
|
|
11160
|
-
};
|
|
11161
|
-
Update: {
|
|
11162
|
-
created_at?: string;
|
|
11163
|
-
environment?: string;
|
|
11164
|
-
nonce?: string | null;
|
|
11165
|
-
state?: string;
|
|
11166
|
-
user_id?: string;
|
|
11167
|
-
};
|
|
11168
|
-
Relationships: [];
|
|
11169
|
-
};
|
|
11170
11170
|
twinfield_push_queue: {
|
|
11171
11171
|
Row: {
|
|
11172
11172
|
action: string;
|
|
@@ -11332,39 +11332,6 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
11332
11332
|
referencedColumns: ["id"];
|
|
11333
11333
|
}];
|
|
11334
11334
|
};
|
|
11335
|
-
twinfield_token_refresh_log: {
|
|
11336
|
-
Row: {
|
|
11337
|
-
attempted_at: string;
|
|
11338
|
-
connection_id: string;
|
|
11339
|
-
error: string | null;
|
|
11340
|
-
expires_at: string | null;
|
|
11341
|
-
id: string;
|
|
11342
|
-
ok: boolean;
|
|
11343
|
-
};
|
|
11344
|
-
Insert: {
|
|
11345
|
-
attempted_at?: string;
|
|
11346
|
-
connection_id: string;
|
|
11347
|
-
error?: string | null;
|
|
11348
|
-
expires_at?: string | null;
|
|
11349
|
-
id?: string;
|
|
11350
|
-
ok: boolean;
|
|
11351
|
-
};
|
|
11352
|
-
Update: {
|
|
11353
|
-
attempted_at?: string;
|
|
11354
|
-
connection_id?: string;
|
|
11355
|
-
error?: string | null;
|
|
11356
|
-
expires_at?: string | null;
|
|
11357
|
-
id?: string;
|
|
11358
|
-
ok?: boolean;
|
|
11359
|
-
};
|
|
11360
|
-
Relationships: [{
|
|
11361
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
11362
|
-
columns: ["connection_id"];
|
|
11363
|
-
isOneToOne: false;
|
|
11364
|
-
referencedRelation: "twinfield_connections";
|
|
11365
|
-
referencedColumns: ["id"];
|
|
11366
|
-
}];
|
|
11367
|
-
};
|
|
11368
11335
|
user_roles: {
|
|
11369
11336
|
Row: {
|
|
11370
11337
|
created_at: string;
|
|
@@ -13805,15 +13772,16 @@ export declare const getCapacitySettings: import("@tanstack/start-client-core").
|
|
|
13805
13772
|
};
|
|
13806
13773
|
Returns: undefined;
|
|
13807
13774
|
};
|
|
13808
|
-
|
|
13775
|
+
twinfield_upsert_connection_by_account_key: {
|
|
13809
13776
|
Args: {
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
13814
|
-
|
|
13815
|
-
|
|
13816
|
-
|
|
13777
|
+
p_account_key: string;
|
|
13778
|
+
p_cluster_uri?: string;
|
|
13779
|
+
p_company_code?: string;
|
|
13780
|
+
p_company_name?: string;
|
|
13781
|
+
p_environment: string;
|
|
13782
|
+
p_office_code?: string;
|
|
13783
|
+
p_status?: string;
|
|
13784
|
+
p_user_id: string;
|
|
13817
13785
|
};
|
|
13818
13786
|
Returns: string;
|
|
13819
13787
|
};
|
|
@@ -18377,6 +18345,27 @@ export declare const saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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 saveCapacitySettings: import("@tanstack/start-client-core")
|
|
|
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
|
};
|
|
@@ -32216,6 +32152,27 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
32216
32152
|
referencedColumns: ["id"];
|
|
32217
32153
|
}];
|
|
32218
32154
|
};
|
|
32155
|
+
floriday_continuous_stock_cache: {
|
|
32156
|
+
Row: {
|
|
32157
|
+
connection_id: string;
|
|
32158
|
+
fetched_at: string;
|
|
32159
|
+
number_of_pieces: number;
|
|
32160
|
+
trade_item_id: string;
|
|
32161
|
+
};
|
|
32162
|
+
Insert: {
|
|
32163
|
+
connection_id: string;
|
|
32164
|
+
fetched_at?: string;
|
|
32165
|
+
number_of_pieces?: number;
|
|
32166
|
+
trade_item_id: string;
|
|
32167
|
+
};
|
|
32168
|
+
Update: {
|
|
32169
|
+
connection_id?: string;
|
|
32170
|
+
fetched_at?: string;
|
|
32171
|
+
number_of_pieces?: number;
|
|
32172
|
+
trade_item_id?: string;
|
|
32173
|
+
};
|
|
32174
|
+
Relationships: [];
|
|
32175
|
+
};
|
|
32219
32176
|
floriday_continuous_stock_queue: {
|
|
32220
32177
|
Row: {
|
|
32221
32178
|
attempts: number;
|
|
@@ -33194,6 +33151,45 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
33194
33151
|
referencedColumns: ["id"];
|
|
33195
33152
|
}];
|
|
33196
33153
|
};
|
|
33154
|
+
floriday_trade_settings_customers_cache: {
|
|
33155
|
+
Row: {
|
|
33156
|
+
connection_id: string;
|
|
33157
|
+
data: import("../../integrations/supabase/types").Json;
|
|
33158
|
+
fetched_at: string;
|
|
33159
|
+
floriday_id: string;
|
|
33160
|
+
id: string;
|
|
33161
|
+
is_deleted: boolean;
|
|
33162
|
+
sequence_number: number;
|
|
33163
|
+
updated_at: string;
|
|
33164
|
+
};
|
|
33165
|
+
Insert: {
|
|
33166
|
+
connection_id: string;
|
|
33167
|
+
data: import("../../integrations/supabase/types").Json;
|
|
33168
|
+
fetched_at?: string;
|
|
33169
|
+
floriday_id: string;
|
|
33170
|
+
id?: string;
|
|
33171
|
+
is_deleted?: boolean;
|
|
33172
|
+
sequence_number?: number;
|
|
33173
|
+
updated_at?: string;
|
|
33174
|
+
};
|
|
33175
|
+
Update: {
|
|
33176
|
+
connection_id?: string;
|
|
33177
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
33178
|
+
fetched_at?: string;
|
|
33179
|
+
floriday_id?: string;
|
|
33180
|
+
id?: string;
|
|
33181
|
+
is_deleted?: boolean;
|
|
33182
|
+
sequence_number?: number;
|
|
33183
|
+
updated_at?: string;
|
|
33184
|
+
};
|
|
33185
|
+
Relationships: [{
|
|
33186
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
33187
|
+
columns: ["connection_id"];
|
|
33188
|
+
isOneToOne: false;
|
|
33189
|
+
referencedRelation: "floriday_connections";
|
|
33190
|
+
referencedColumns: ["id"];
|
|
33191
|
+
}];
|
|
33192
|
+
};
|
|
33197
33193
|
floriday_trips_cache: {
|
|
33198
33194
|
Row: {
|
|
33199
33195
|
carrier_organization_id: string | null;
|
|
@@ -33242,6 +33238,27 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
33242
33238
|
referencedColumns: ["id"];
|
|
33243
33239
|
}];
|
|
33244
33240
|
};
|
|
33241
|
+
floriday_vbn_required_characteristics: {
|
|
33242
|
+
Row: {
|
|
33243
|
+
required_codes: string[];
|
|
33244
|
+
updated_at: string;
|
|
33245
|
+
updated_by: string | null;
|
|
33246
|
+
vbn_code: string;
|
|
33247
|
+
};
|
|
33248
|
+
Insert: {
|
|
33249
|
+
required_codes?: string[];
|
|
33250
|
+
updated_at?: string;
|
|
33251
|
+
updated_by?: string | null;
|
|
33252
|
+
vbn_code: string;
|
|
33253
|
+
};
|
|
33254
|
+
Update: {
|
|
33255
|
+
required_codes?: string[];
|
|
33256
|
+
updated_at?: string;
|
|
33257
|
+
updated_by?: string | null;
|
|
33258
|
+
vbn_code?: string;
|
|
33259
|
+
};
|
|
33260
|
+
Relationships: [];
|
|
33261
|
+
};
|
|
33245
33262
|
floriday_warehouses_cache: {
|
|
33246
33263
|
Row: {
|
|
33247
33264
|
connection_id: string;
|
|
@@ -38215,9 +38232,7 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
38215
38232
|
};
|
|
38216
38233
|
twinfield_connections: {
|
|
38217
38234
|
Row: {
|
|
38218
|
-
|
|
38219
|
-
client_id: string;
|
|
38220
|
-
client_secret: string | null;
|
|
38235
|
+
account_key: string | null;
|
|
38221
38236
|
cluster_uri: string | null;
|
|
38222
38237
|
company_code: string | null;
|
|
38223
38238
|
company_name: string | null;
|
|
@@ -38229,15 +38244,11 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
38229
38244
|
label: string | null;
|
|
38230
38245
|
office_code: string | null;
|
|
38231
38246
|
redirect_uri: string;
|
|
38232
|
-
refresh_token: string | null;
|
|
38233
|
-
token_expires_at: string | null;
|
|
38234
38247
|
updated_at: string;
|
|
38235
38248
|
user_id: string;
|
|
38236
38249
|
};
|
|
38237
38250
|
Insert: {
|
|
38238
|
-
|
|
38239
|
-
client_id: string;
|
|
38240
|
-
client_secret?: string | null;
|
|
38251
|
+
account_key?: string | null;
|
|
38241
38252
|
cluster_uri?: string | null;
|
|
38242
38253
|
company_code?: string | null;
|
|
38243
38254
|
company_name?: string | null;
|
|
@@ -38249,15 +38260,11 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
38249
38260
|
label?: string | null;
|
|
38250
38261
|
office_code?: string | null;
|
|
38251
38262
|
redirect_uri: string;
|
|
38252
|
-
refresh_token?: string | null;
|
|
38253
|
-
token_expires_at?: string | null;
|
|
38254
38263
|
updated_at?: string;
|
|
38255
38264
|
user_id: string;
|
|
38256
38265
|
};
|
|
38257
38266
|
Update: {
|
|
38258
|
-
|
|
38259
|
-
client_id?: string;
|
|
38260
|
-
client_secret?: string | null;
|
|
38267
|
+
account_key?: string | null;
|
|
38261
38268
|
cluster_uri?: string | null;
|
|
38262
38269
|
company_code?: string | null;
|
|
38263
38270
|
company_name?: string | null;
|
|
@@ -38269,53 +38276,6 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
38269
38276
|
label?: string | null;
|
|
38270
38277
|
office_code?: string | null;
|
|
38271
38278
|
redirect_uri?: string;
|
|
38272
|
-
refresh_token?: string | null;
|
|
38273
|
-
token_expires_at?: string | null;
|
|
38274
|
-
updated_at?: string;
|
|
38275
|
-
user_id?: string;
|
|
38276
|
-
};
|
|
38277
|
-
Relationships: [];
|
|
38278
|
-
};
|
|
38279
|
-
twinfield_credentials: {
|
|
38280
|
-
Row: {
|
|
38281
|
-
administration_code: string | null;
|
|
38282
|
-
client_id: string | null;
|
|
38283
|
-
client_secret: string | null;
|
|
38284
|
-
cluster: string | null;
|
|
38285
|
-
connected_at: string | null;
|
|
38286
|
-
created_at: string;
|
|
38287
|
-
environment: string | null;
|
|
38288
|
-
id: string;
|
|
38289
|
-
redirect_uri: string | null;
|
|
38290
|
-
refresh_token: string | null;
|
|
38291
|
-
updated_at: string;
|
|
38292
|
-
user_id: string;
|
|
38293
|
-
};
|
|
38294
|
-
Insert: {
|
|
38295
|
-
administration_code?: string | null;
|
|
38296
|
-
client_id?: string | null;
|
|
38297
|
-
client_secret?: string | null;
|
|
38298
|
-
cluster?: string | null;
|
|
38299
|
-
connected_at?: string | null;
|
|
38300
|
-
created_at?: string;
|
|
38301
|
-
environment?: string | null;
|
|
38302
|
-
id?: string;
|
|
38303
|
-
redirect_uri?: string | null;
|
|
38304
|
-
refresh_token?: string | null;
|
|
38305
|
-
updated_at?: string;
|
|
38306
|
-
user_id: string;
|
|
38307
|
-
};
|
|
38308
|
-
Update: {
|
|
38309
|
-
administration_code?: string | null;
|
|
38310
|
-
client_id?: string | null;
|
|
38311
|
-
client_secret?: string | null;
|
|
38312
|
-
cluster?: string | null;
|
|
38313
|
-
connected_at?: string | null;
|
|
38314
|
-
created_at?: string;
|
|
38315
|
-
environment?: string | null;
|
|
38316
|
-
id?: string;
|
|
38317
|
-
redirect_uri?: string | null;
|
|
38318
|
-
refresh_token?: string | null;
|
|
38319
38279
|
updated_at?: string;
|
|
38320
38280
|
user_id?: string;
|
|
38321
38281
|
};
|
|
@@ -38816,30 +38776,6 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
38816
38776
|
referencedColumns: ["id"];
|
|
38817
38777
|
}];
|
|
38818
38778
|
};
|
|
38819
|
-
twinfield_oauth_state: {
|
|
38820
|
-
Row: {
|
|
38821
|
-
created_at: string;
|
|
38822
|
-
environment: string;
|
|
38823
|
-
nonce: string | null;
|
|
38824
|
-
state: string;
|
|
38825
|
-
user_id: string;
|
|
38826
|
-
};
|
|
38827
|
-
Insert: {
|
|
38828
|
-
created_at?: string;
|
|
38829
|
-
environment: string;
|
|
38830
|
-
nonce?: string | null;
|
|
38831
|
-
state: string;
|
|
38832
|
-
user_id: string;
|
|
38833
|
-
};
|
|
38834
|
-
Update: {
|
|
38835
|
-
created_at?: string;
|
|
38836
|
-
environment?: string;
|
|
38837
|
-
nonce?: string | null;
|
|
38838
|
-
state?: string;
|
|
38839
|
-
user_id?: string;
|
|
38840
|
-
};
|
|
38841
|
-
Relationships: [];
|
|
38842
|
-
};
|
|
38843
38779
|
twinfield_push_queue: {
|
|
38844
38780
|
Row: {
|
|
38845
38781
|
action: string;
|
|
@@ -39005,39 +38941,6 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
39005
38941
|
referencedColumns: ["id"];
|
|
39006
38942
|
}];
|
|
39007
38943
|
};
|
|
39008
|
-
twinfield_token_refresh_log: {
|
|
39009
|
-
Row: {
|
|
39010
|
-
attempted_at: string;
|
|
39011
|
-
connection_id: string;
|
|
39012
|
-
error: string | null;
|
|
39013
|
-
expires_at: string | null;
|
|
39014
|
-
id: string;
|
|
39015
|
-
ok: boolean;
|
|
39016
|
-
};
|
|
39017
|
-
Insert: {
|
|
39018
|
-
attempted_at?: string;
|
|
39019
|
-
connection_id: string;
|
|
39020
|
-
error?: string | null;
|
|
39021
|
-
expires_at?: string | null;
|
|
39022
|
-
id?: string;
|
|
39023
|
-
ok: boolean;
|
|
39024
|
-
};
|
|
39025
|
-
Update: {
|
|
39026
|
-
attempted_at?: string;
|
|
39027
|
-
connection_id?: string;
|
|
39028
|
-
error?: string | null;
|
|
39029
|
-
expires_at?: string | null;
|
|
39030
|
-
id?: string;
|
|
39031
|
-
ok?: boolean;
|
|
39032
|
-
};
|
|
39033
|
-
Relationships: [{
|
|
39034
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
39035
|
-
columns: ["connection_id"];
|
|
39036
|
-
isOneToOne: false;
|
|
39037
|
-
referencedRelation: "twinfield_connections";
|
|
39038
|
-
referencedColumns: ["id"];
|
|
39039
|
-
}];
|
|
39040
|
-
};
|
|
39041
38944
|
user_roles: {
|
|
39042
38945
|
Row: {
|
|
39043
38946
|
created_at: string;
|
|
@@ -41478,15 +41381,16 @@ export declare const evaluateCapacityFn: import("@tanstack/start-client-core").R
|
|
|
41478
41381
|
};
|
|
41479
41382
|
Returns: undefined;
|
|
41480
41383
|
};
|
|
41481
|
-
|
|
41384
|
+
twinfield_upsert_connection_by_account_key: {
|
|
41482
41385
|
Args: {
|
|
41483
|
-
|
|
41484
|
-
|
|
41485
|
-
|
|
41486
|
-
|
|
41487
|
-
|
|
41488
|
-
|
|
41489
|
-
|
|
41386
|
+
p_account_key: string;
|
|
41387
|
+
p_cluster_uri?: string;
|
|
41388
|
+
p_company_code?: string;
|
|
41389
|
+
p_company_name?: string;
|
|
41390
|
+
p_environment: string;
|
|
41391
|
+
p_office_code?: string;
|
|
41392
|
+
p_status?: string;
|
|
41393
|
+
p_user_id: string;
|
|
41490
41394
|
};
|
|
41491
41395
|
Returns: string;
|
|
41492
41396
|
};
|
|
@@ -46058,6 +45962,27 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
46058
45962
|
referencedColumns: ["id"];
|
|
46059
45963
|
}];
|
|
46060
45964
|
};
|
|
45965
|
+
floriday_continuous_stock_cache: {
|
|
45966
|
+
Row: {
|
|
45967
|
+
connection_id: string;
|
|
45968
|
+
fetched_at: string;
|
|
45969
|
+
number_of_pieces: number;
|
|
45970
|
+
trade_item_id: string;
|
|
45971
|
+
};
|
|
45972
|
+
Insert: {
|
|
45973
|
+
connection_id: string;
|
|
45974
|
+
fetched_at?: string;
|
|
45975
|
+
number_of_pieces?: number;
|
|
45976
|
+
trade_item_id: string;
|
|
45977
|
+
};
|
|
45978
|
+
Update: {
|
|
45979
|
+
connection_id?: string;
|
|
45980
|
+
fetched_at?: string;
|
|
45981
|
+
number_of_pieces?: number;
|
|
45982
|
+
trade_item_id?: string;
|
|
45983
|
+
};
|
|
45984
|
+
Relationships: [];
|
|
45985
|
+
};
|
|
46061
45986
|
floriday_continuous_stock_queue: {
|
|
46062
45987
|
Row: {
|
|
46063
45988
|
attempts: number;
|
|
@@ -47036,6 +46961,45 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
47036
46961
|
referencedColumns: ["id"];
|
|
47037
46962
|
}];
|
|
47038
46963
|
};
|
|
46964
|
+
floriday_trade_settings_customers_cache: {
|
|
46965
|
+
Row: {
|
|
46966
|
+
connection_id: string;
|
|
46967
|
+
data: import("../../integrations/supabase/types").Json;
|
|
46968
|
+
fetched_at: string;
|
|
46969
|
+
floriday_id: string;
|
|
46970
|
+
id: string;
|
|
46971
|
+
is_deleted: boolean;
|
|
46972
|
+
sequence_number: number;
|
|
46973
|
+
updated_at: string;
|
|
46974
|
+
};
|
|
46975
|
+
Insert: {
|
|
46976
|
+
connection_id: string;
|
|
46977
|
+
data: import("../../integrations/supabase/types").Json;
|
|
46978
|
+
fetched_at?: string;
|
|
46979
|
+
floriday_id: string;
|
|
46980
|
+
id?: string;
|
|
46981
|
+
is_deleted?: boolean;
|
|
46982
|
+
sequence_number?: number;
|
|
46983
|
+
updated_at?: string;
|
|
46984
|
+
};
|
|
46985
|
+
Update: {
|
|
46986
|
+
connection_id?: string;
|
|
46987
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
46988
|
+
fetched_at?: string;
|
|
46989
|
+
floriday_id?: string;
|
|
46990
|
+
id?: string;
|
|
46991
|
+
is_deleted?: boolean;
|
|
46992
|
+
sequence_number?: number;
|
|
46993
|
+
updated_at?: string;
|
|
46994
|
+
};
|
|
46995
|
+
Relationships: [{
|
|
46996
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
46997
|
+
columns: ["connection_id"];
|
|
46998
|
+
isOneToOne: false;
|
|
46999
|
+
referencedRelation: "floriday_connections";
|
|
47000
|
+
referencedColumns: ["id"];
|
|
47001
|
+
}];
|
|
47002
|
+
};
|
|
47039
47003
|
floriday_trips_cache: {
|
|
47040
47004
|
Row: {
|
|
47041
47005
|
carrier_organization_id: string | null;
|
|
@@ -47084,6 +47048,27 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
47084
47048
|
referencedColumns: ["id"];
|
|
47085
47049
|
}];
|
|
47086
47050
|
};
|
|
47051
|
+
floriday_vbn_required_characteristics: {
|
|
47052
|
+
Row: {
|
|
47053
|
+
required_codes: string[];
|
|
47054
|
+
updated_at: string;
|
|
47055
|
+
updated_by: string | null;
|
|
47056
|
+
vbn_code: string;
|
|
47057
|
+
};
|
|
47058
|
+
Insert: {
|
|
47059
|
+
required_codes?: string[];
|
|
47060
|
+
updated_at?: string;
|
|
47061
|
+
updated_by?: string | null;
|
|
47062
|
+
vbn_code: string;
|
|
47063
|
+
};
|
|
47064
|
+
Update: {
|
|
47065
|
+
required_codes?: string[];
|
|
47066
|
+
updated_at?: string;
|
|
47067
|
+
updated_by?: string | null;
|
|
47068
|
+
vbn_code?: string;
|
|
47069
|
+
};
|
|
47070
|
+
Relationships: [];
|
|
47071
|
+
};
|
|
47087
47072
|
floriday_warehouses_cache: {
|
|
47088
47073
|
Row: {
|
|
47089
47074
|
connection_id: string;
|
|
@@ -52057,9 +52042,7 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
52057
52042
|
};
|
|
52058
52043
|
twinfield_connections: {
|
|
52059
52044
|
Row: {
|
|
52060
|
-
|
|
52061
|
-
client_id: string;
|
|
52062
|
-
client_secret: string | null;
|
|
52045
|
+
account_key: string | null;
|
|
52063
52046
|
cluster_uri: string | null;
|
|
52064
52047
|
company_code: string | null;
|
|
52065
52048
|
company_name: string | null;
|
|
@@ -52071,15 +52054,11 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
52071
52054
|
label: string | null;
|
|
52072
52055
|
office_code: string | null;
|
|
52073
52056
|
redirect_uri: string;
|
|
52074
|
-
refresh_token: string | null;
|
|
52075
|
-
token_expires_at: string | null;
|
|
52076
52057
|
updated_at: string;
|
|
52077
52058
|
user_id: string;
|
|
52078
52059
|
};
|
|
52079
52060
|
Insert: {
|
|
52080
|
-
|
|
52081
|
-
client_id: string;
|
|
52082
|
-
client_secret?: string | null;
|
|
52061
|
+
account_key?: string | null;
|
|
52083
52062
|
cluster_uri?: string | null;
|
|
52084
52063
|
company_code?: string | null;
|
|
52085
52064
|
company_name?: string | null;
|
|
@@ -52091,15 +52070,11 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
52091
52070
|
label?: string | null;
|
|
52092
52071
|
office_code?: string | null;
|
|
52093
52072
|
redirect_uri: string;
|
|
52094
|
-
refresh_token?: string | null;
|
|
52095
|
-
token_expires_at?: string | null;
|
|
52096
52073
|
updated_at?: string;
|
|
52097
52074
|
user_id: string;
|
|
52098
52075
|
};
|
|
52099
52076
|
Update: {
|
|
52100
|
-
|
|
52101
|
-
client_id?: string;
|
|
52102
|
-
client_secret?: string | null;
|
|
52077
|
+
account_key?: string | null;
|
|
52103
52078
|
cluster_uri?: string | null;
|
|
52104
52079
|
company_code?: string | null;
|
|
52105
52080
|
company_name?: string | null;
|
|
@@ -52111,53 +52086,6 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
52111
52086
|
label?: string | null;
|
|
52112
52087
|
office_code?: string | null;
|
|
52113
52088
|
redirect_uri?: string;
|
|
52114
|
-
refresh_token?: string | null;
|
|
52115
|
-
token_expires_at?: string | null;
|
|
52116
|
-
updated_at?: string;
|
|
52117
|
-
user_id?: string;
|
|
52118
|
-
};
|
|
52119
|
-
Relationships: [];
|
|
52120
|
-
};
|
|
52121
|
-
twinfield_credentials: {
|
|
52122
|
-
Row: {
|
|
52123
|
-
administration_code: string | null;
|
|
52124
|
-
client_id: string | null;
|
|
52125
|
-
client_secret: string | null;
|
|
52126
|
-
cluster: string | null;
|
|
52127
|
-
connected_at: string | null;
|
|
52128
|
-
created_at: string;
|
|
52129
|
-
environment: string | null;
|
|
52130
|
-
id: string;
|
|
52131
|
-
redirect_uri: string | null;
|
|
52132
|
-
refresh_token: string | null;
|
|
52133
|
-
updated_at: string;
|
|
52134
|
-
user_id: string;
|
|
52135
|
-
};
|
|
52136
|
-
Insert: {
|
|
52137
|
-
administration_code?: string | null;
|
|
52138
|
-
client_id?: string | null;
|
|
52139
|
-
client_secret?: string | null;
|
|
52140
|
-
cluster?: string | null;
|
|
52141
|
-
connected_at?: string | null;
|
|
52142
|
-
created_at?: string;
|
|
52143
|
-
environment?: string | null;
|
|
52144
|
-
id?: string;
|
|
52145
|
-
redirect_uri?: string | null;
|
|
52146
|
-
refresh_token?: string | null;
|
|
52147
|
-
updated_at?: string;
|
|
52148
|
-
user_id: string;
|
|
52149
|
-
};
|
|
52150
|
-
Update: {
|
|
52151
|
-
administration_code?: string | null;
|
|
52152
|
-
client_id?: string | null;
|
|
52153
|
-
client_secret?: string | null;
|
|
52154
|
-
cluster?: string | null;
|
|
52155
|
-
connected_at?: string | null;
|
|
52156
|
-
created_at?: string;
|
|
52157
|
-
environment?: string | null;
|
|
52158
|
-
id?: string;
|
|
52159
|
-
redirect_uri?: string | null;
|
|
52160
|
-
refresh_token?: string | null;
|
|
52161
52089
|
updated_at?: string;
|
|
52162
52090
|
user_id?: string;
|
|
52163
52091
|
};
|
|
@@ -52658,30 +52586,6 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
52658
52586
|
referencedColumns: ["id"];
|
|
52659
52587
|
}];
|
|
52660
52588
|
};
|
|
52661
|
-
twinfield_oauth_state: {
|
|
52662
|
-
Row: {
|
|
52663
|
-
created_at: string;
|
|
52664
|
-
environment: string;
|
|
52665
|
-
nonce: string | null;
|
|
52666
|
-
state: string;
|
|
52667
|
-
user_id: string;
|
|
52668
|
-
};
|
|
52669
|
-
Insert: {
|
|
52670
|
-
created_at?: string;
|
|
52671
|
-
environment: string;
|
|
52672
|
-
nonce?: string | null;
|
|
52673
|
-
state: string;
|
|
52674
|
-
user_id: string;
|
|
52675
|
-
};
|
|
52676
|
-
Update: {
|
|
52677
|
-
created_at?: string;
|
|
52678
|
-
environment?: string;
|
|
52679
|
-
nonce?: string | null;
|
|
52680
|
-
state?: string;
|
|
52681
|
-
user_id?: string;
|
|
52682
|
-
};
|
|
52683
|
-
Relationships: [];
|
|
52684
|
-
};
|
|
52685
52589
|
twinfield_push_queue: {
|
|
52686
52590
|
Row: {
|
|
52687
52591
|
action: string;
|
|
@@ -52847,39 +52751,6 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
52847
52751
|
referencedColumns: ["id"];
|
|
52848
52752
|
}];
|
|
52849
52753
|
};
|
|
52850
|
-
twinfield_token_refresh_log: {
|
|
52851
|
-
Row: {
|
|
52852
|
-
attempted_at: string;
|
|
52853
|
-
connection_id: string;
|
|
52854
|
-
error: string | null;
|
|
52855
|
-
expires_at: string | null;
|
|
52856
|
-
id: string;
|
|
52857
|
-
ok: boolean;
|
|
52858
|
-
};
|
|
52859
|
-
Insert: {
|
|
52860
|
-
attempted_at?: string;
|
|
52861
|
-
connection_id: string;
|
|
52862
|
-
error?: string | null;
|
|
52863
|
-
expires_at?: string | null;
|
|
52864
|
-
id?: string;
|
|
52865
|
-
ok: boolean;
|
|
52866
|
-
};
|
|
52867
|
-
Update: {
|
|
52868
|
-
attempted_at?: string;
|
|
52869
|
-
connection_id?: string;
|
|
52870
|
-
error?: string | null;
|
|
52871
|
-
expires_at?: string | null;
|
|
52872
|
-
id?: string;
|
|
52873
|
-
ok?: boolean;
|
|
52874
|
-
};
|
|
52875
|
-
Relationships: [{
|
|
52876
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
52877
|
-
columns: ["connection_id"];
|
|
52878
|
-
isOneToOne: false;
|
|
52879
|
-
referencedRelation: "twinfield_connections";
|
|
52880
|
-
referencedColumns: ["id"];
|
|
52881
|
-
}];
|
|
52882
|
-
};
|
|
52883
52754
|
user_roles: {
|
|
52884
52755
|
Row: {
|
|
52885
52756
|
created_at: string;
|
|
@@ -55320,15 +55191,16 @@ export declare const listCapacityEvents: import("@tanstack/start-client-core").O
|
|
|
55320
55191
|
};
|
|
55321
55192
|
Returns: undefined;
|
|
55322
55193
|
};
|
|
55323
|
-
|
|
55194
|
+
twinfield_upsert_connection_by_account_key: {
|
|
55324
55195
|
Args: {
|
|
55325
|
-
|
|
55326
|
-
|
|
55327
|
-
|
|
55328
|
-
|
|
55329
|
-
|
|
55330
|
-
|
|
55331
|
-
|
|
55196
|
+
p_account_key: string;
|
|
55197
|
+
p_cluster_uri?: string;
|
|
55198
|
+
p_company_code?: string;
|
|
55199
|
+
p_company_name?: string;
|
|
55200
|
+
p_environment: string;
|
|
55201
|
+
p_office_code?: string;
|
|
55202
|
+
p_status?: string;
|
|
55203
|
+
p_user_id: string;
|
|
55332
55204
|
};
|
|
55333
55205
|
Returns: string;
|
|
55334
55206
|
};
|