@flowselections/ai-authenticatie 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +266 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +266 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +266 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +273 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiChat.functions.d.ts +532 -0
- package/dist-lib/lib/aiChat.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiCredentialTest.functions.d.ts +532 -0
- package/dist-lib/lib/aiCredentialTest.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiModules.functions.d.ts +1596 -0
- package/dist-lib/lib/aiModules.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiPricing.functions.d.ts +532 -0
- package/dist-lib/lib/aiPricing.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiUsageByModule.functions.d.ts +532 -0
- package/dist-lib/lib/aiUsageByModule.functions.d.ts.map +1 -1
- package/dist-lib/lib/modules.functions.d.ts +798 -0
- package/dist-lib/lib/modules.functions.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -2931,6 +2931,7 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
2931
2931
|
status: string;
|
|
2932
2932
|
token_expires_at: string | null;
|
|
2933
2933
|
updated_at: string;
|
|
2934
|
+
watch_scope: string;
|
|
2934
2935
|
webhook_last_attempt_at: string | null;
|
|
2935
2936
|
webhook_last_error: string | null;
|
|
2936
2937
|
webhook_status: string;
|
|
@@ -2973,6 +2974,7 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
2973
2974
|
status?: string;
|
|
2974
2975
|
token_expires_at?: string | null;
|
|
2975
2976
|
updated_at?: string;
|
|
2977
|
+
watch_scope?: string;
|
|
2976
2978
|
webhook_last_attempt_at?: string | null;
|
|
2977
2979
|
webhook_last_error?: string | null;
|
|
2978
2980
|
webhook_status?: string;
|
|
@@ -3015,6 +3017,7 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
3015
3017
|
status?: string;
|
|
3016
3018
|
token_expires_at?: string | null;
|
|
3017
3019
|
updated_at?: string;
|
|
3020
|
+
watch_scope?: string;
|
|
3018
3021
|
webhook_last_attempt_at?: string | null;
|
|
3019
3022
|
webhook_last_error?: string | null;
|
|
3020
3023
|
webhook_status?: string;
|
|
@@ -3213,6 +3216,72 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
3213
3216
|
referencedColumns: ["id"];
|
|
3214
3217
|
}];
|
|
3215
3218
|
};
|
|
3219
|
+
email_auth_watch_folders: {
|
|
3220
|
+
Row: {
|
|
3221
|
+
connection_id: string;
|
|
3222
|
+
created_at: string;
|
|
3223
|
+
folder_id: string;
|
|
3224
|
+
folder_name: string | null;
|
|
3225
|
+
gmail_history_id: string | null;
|
|
3226
|
+
graph_subscription_expires_at: string | null;
|
|
3227
|
+
graph_subscription_id: string | null;
|
|
3228
|
+
id: string;
|
|
3229
|
+
imap_last_uid: number | null;
|
|
3230
|
+
imap_uid_validity: number | null;
|
|
3231
|
+
mailbox: string;
|
|
3232
|
+
provider: string;
|
|
3233
|
+
updated_at: string;
|
|
3234
|
+
webhook_last_error: string | null;
|
|
3235
|
+
webhook_status: string | null;
|
|
3236
|
+
};
|
|
3237
|
+
Insert: {
|
|
3238
|
+
connection_id: string;
|
|
3239
|
+
created_at?: string;
|
|
3240
|
+
folder_id: string;
|
|
3241
|
+
folder_name?: string | null;
|
|
3242
|
+
gmail_history_id?: string | null;
|
|
3243
|
+
graph_subscription_expires_at?: string | null;
|
|
3244
|
+
graph_subscription_id?: string | null;
|
|
3245
|
+
id?: string;
|
|
3246
|
+
imap_last_uid?: number | null;
|
|
3247
|
+
imap_uid_validity?: number | null;
|
|
3248
|
+
mailbox?: string;
|
|
3249
|
+
provider: string;
|
|
3250
|
+
updated_at?: string;
|
|
3251
|
+
webhook_last_error?: string | null;
|
|
3252
|
+
webhook_status?: string | null;
|
|
3253
|
+
};
|
|
3254
|
+
Update: {
|
|
3255
|
+
connection_id?: string;
|
|
3256
|
+
created_at?: string;
|
|
3257
|
+
folder_id?: string;
|
|
3258
|
+
folder_name?: string | null;
|
|
3259
|
+
gmail_history_id?: string | null;
|
|
3260
|
+
graph_subscription_expires_at?: string | null;
|
|
3261
|
+
graph_subscription_id?: string | null;
|
|
3262
|
+
id?: string;
|
|
3263
|
+
imap_last_uid?: number | null;
|
|
3264
|
+
imap_uid_validity?: number | null;
|
|
3265
|
+
mailbox?: string;
|
|
3266
|
+
provider?: string;
|
|
3267
|
+
updated_at?: string;
|
|
3268
|
+
webhook_last_error?: string | null;
|
|
3269
|
+
webhook_status?: string | null;
|
|
3270
|
+
};
|
|
3271
|
+
Relationships: [{
|
|
3272
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3273
|
+
columns: ["connection_id"];
|
|
3274
|
+
isOneToOne: false;
|
|
3275
|
+
referencedRelation: "email_auth_connections";
|
|
3276
|
+
referencedColumns: ["id"];
|
|
3277
|
+
}, {
|
|
3278
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3279
|
+
columns: ["connection_id"];
|
|
3280
|
+
isOneToOne: false;
|
|
3281
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3282
|
+
referencedColumns: ["id"];
|
|
3283
|
+
}];
|
|
3284
|
+
};
|
|
3216
3285
|
email_auth_webhook_log: {
|
|
3217
3286
|
Row: {
|
|
3218
3287
|
body_sample: string | null;
|
|
@@ -6480,6 +6549,36 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
6480
6549
|
};
|
|
6481
6550
|
Relationships: [];
|
|
6482
6551
|
};
|
|
6552
|
+
invoice_post_idempotency: {
|
|
6553
|
+
Row: {
|
|
6554
|
+
client_request_id: string;
|
|
6555
|
+
completed_at: string | null;
|
|
6556
|
+
created_at: string;
|
|
6557
|
+
error_message: string | null;
|
|
6558
|
+
invoice_number: string | null;
|
|
6559
|
+
status: string;
|
|
6560
|
+
user_id: string;
|
|
6561
|
+
};
|
|
6562
|
+
Insert: {
|
|
6563
|
+
client_request_id: string;
|
|
6564
|
+
completed_at?: string | null;
|
|
6565
|
+
created_at?: string;
|
|
6566
|
+
error_message?: string | null;
|
|
6567
|
+
invoice_number?: string | null;
|
|
6568
|
+
status?: string;
|
|
6569
|
+
user_id: string;
|
|
6570
|
+
};
|
|
6571
|
+
Update: {
|
|
6572
|
+
client_request_id?: string;
|
|
6573
|
+
completed_at?: string | null;
|
|
6574
|
+
created_at?: string;
|
|
6575
|
+
error_message?: string | null;
|
|
6576
|
+
invoice_number?: string | null;
|
|
6577
|
+
status?: string;
|
|
6578
|
+
user_id?: string;
|
|
6579
|
+
};
|
|
6580
|
+
Relationships: [];
|
|
6581
|
+
};
|
|
6483
6582
|
invoice_push_log: {
|
|
6484
6583
|
Row: {
|
|
6485
6584
|
connection_id: string | null;
|
|
@@ -7335,6 +7434,96 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
7335
7434
|
referencedColumns: ["id"];
|
|
7336
7435
|
}];
|
|
7337
7436
|
};
|
|
7437
|
+
logistics_rule_configs: {
|
|
7438
|
+
Row: {
|
|
7439
|
+
created_at: string;
|
|
7440
|
+
current_version: number;
|
|
7441
|
+
description: string | null;
|
|
7442
|
+
id: string;
|
|
7443
|
+
is_active: boolean;
|
|
7444
|
+
name: string;
|
|
7445
|
+
settings: import("../integrations/supabase/types").Json;
|
|
7446
|
+
status: string;
|
|
7447
|
+
strategy_id: string | null;
|
|
7448
|
+
updated_at: string;
|
|
7449
|
+
user_id: string;
|
|
7450
|
+
};
|
|
7451
|
+
Insert: {
|
|
7452
|
+
created_at?: string;
|
|
7453
|
+
current_version?: number;
|
|
7454
|
+
description?: string | null;
|
|
7455
|
+
id?: string;
|
|
7456
|
+
is_active?: boolean;
|
|
7457
|
+
name: string;
|
|
7458
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7459
|
+
status?: string;
|
|
7460
|
+
strategy_id?: string | null;
|
|
7461
|
+
updated_at?: string;
|
|
7462
|
+
user_id?: string;
|
|
7463
|
+
};
|
|
7464
|
+
Update: {
|
|
7465
|
+
created_at?: string;
|
|
7466
|
+
current_version?: number;
|
|
7467
|
+
description?: string | null;
|
|
7468
|
+
id?: string;
|
|
7469
|
+
is_active?: boolean;
|
|
7470
|
+
name?: string;
|
|
7471
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7472
|
+
status?: string;
|
|
7473
|
+
strategy_id?: string | null;
|
|
7474
|
+
updated_at?: string;
|
|
7475
|
+
user_id?: string;
|
|
7476
|
+
};
|
|
7477
|
+
Relationships: [{
|
|
7478
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
7479
|
+
columns: ["strategy_id"];
|
|
7480
|
+
isOneToOne: false;
|
|
7481
|
+
referencedRelation: "logistics_strategies";
|
|
7482
|
+
referencedColumns: ["id"];
|
|
7483
|
+
}];
|
|
7484
|
+
};
|
|
7485
|
+
logistics_rule_versions: {
|
|
7486
|
+
Row: {
|
|
7487
|
+
config_id: string;
|
|
7488
|
+
created_at: string;
|
|
7489
|
+
id: string;
|
|
7490
|
+
label: string | null;
|
|
7491
|
+
note: string | null;
|
|
7492
|
+
settings: import("../integrations/supabase/types").Json;
|
|
7493
|
+
status: string;
|
|
7494
|
+
user_id: string;
|
|
7495
|
+
version: number;
|
|
7496
|
+
};
|
|
7497
|
+
Insert: {
|
|
7498
|
+
config_id: string;
|
|
7499
|
+
created_at?: string;
|
|
7500
|
+
id?: string;
|
|
7501
|
+
label?: string | null;
|
|
7502
|
+
note?: string | null;
|
|
7503
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7504
|
+
status?: string;
|
|
7505
|
+
user_id?: string;
|
|
7506
|
+
version: number;
|
|
7507
|
+
};
|
|
7508
|
+
Update: {
|
|
7509
|
+
config_id?: string;
|
|
7510
|
+
created_at?: string;
|
|
7511
|
+
id?: string;
|
|
7512
|
+
label?: string | null;
|
|
7513
|
+
note?: string | null;
|
|
7514
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7515
|
+
status?: string;
|
|
7516
|
+
user_id?: string;
|
|
7517
|
+
version?: number;
|
|
7518
|
+
};
|
|
7519
|
+
Relationships: [{
|
|
7520
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
7521
|
+
columns: ["config_id"];
|
|
7522
|
+
isOneToOne: false;
|
|
7523
|
+
referencedRelation: "logistics_rule_configs";
|
|
7524
|
+
referencedColumns: ["id"];
|
|
7525
|
+
}];
|
|
7526
|
+
};
|
|
7338
7527
|
logistics_strategies: {
|
|
7339
7528
|
Row: {
|
|
7340
7529
|
color: string;
|
|
@@ -13152,6 +13341,27 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
13152
13341
|
};
|
|
13153
13342
|
Relationships: [];
|
|
13154
13343
|
};
|
|
13344
|
+
twinfield_revoked_accounts: {
|
|
13345
|
+
Row: {
|
|
13346
|
+
account_key: string;
|
|
13347
|
+
last_revoke_error: string | null;
|
|
13348
|
+
revoked_at: string;
|
|
13349
|
+
user_id: string;
|
|
13350
|
+
};
|
|
13351
|
+
Insert: {
|
|
13352
|
+
account_key: string;
|
|
13353
|
+
last_revoke_error?: string | null;
|
|
13354
|
+
revoked_at?: string;
|
|
13355
|
+
user_id: string;
|
|
13356
|
+
};
|
|
13357
|
+
Update: {
|
|
13358
|
+
account_key?: string;
|
|
13359
|
+
last_revoke_error?: string | null;
|
|
13360
|
+
revoked_at?: string;
|
|
13361
|
+
user_id?: string;
|
|
13362
|
+
};
|
|
13363
|
+
Relationships: [];
|
|
13364
|
+
};
|
|
13155
13365
|
twinfield_session_cache: {
|
|
13156
13366
|
Row: {
|
|
13157
13367
|
cluster: string;
|
|
@@ -13254,6 +13464,48 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
13254
13464
|
referencedColumns: ["id"];
|
|
13255
13465
|
}];
|
|
13256
13466
|
};
|
|
13467
|
+
voorraad_custom_fields: {
|
|
13468
|
+
Row: {
|
|
13469
|
+
created_at: string;
|
|
13470
|
+
field_key: string;
|
|
13471
|
+
field_label: string;
|
|
13472
|
+
field_type: string;
|
|
13473
|
+
id: string;
|
|
13474
|
+
options: string[];
|
|
13475
|
+
show_in_columns: boolean;
|
|
13476
|
+
show_in_detail: boolean;
|
|
13477
|
+
show_in_template: boolean;
|
|
13478
|
+
sort_order: number;
|
|
13479
|
+
updated_at: string;
|
|
13480
|
+
};
|
|
13481
|
+
Insert: {
|
|
13482
|
+
created_at?: string;
|
|
13483
|
+
field_key: string;
|
|
13484
|
+
field_label: string;
|
|
13485
|
+
field_type?: string;
|
|
13486
|
+
id?: string;
|
|
13487
|
+
options?: string[];
|
|
13488
|
+
show_in_columns?: boolean;
|
|
13489
|
+
show_in_detail?: boolean;
|
|
13490
|
+
show_in_template?: boolean;
|
|
13491
|
+
sort_order?: number;
|
|
13492
|
+
updated_at?: string;
|
|
13493
|
+
};
|
|
13494
|
+
Update: {
|
|
13495
|
+
created_at?: string;
|
|
13496
|
+
field_key?: string;
|
|
13497
|
+
field_label?: string;
|
|
13498
|
+
field_type?: string;
|
|
13499
|
+
id?: string;
|
|
13500
|
+
options?: string[];
|
|
13501
|
+
show_in_columns?: boolean;
|
|
13502
|
+
show_in_detail?: boolean;
|
|
13503
|
+
show_in_template?: boolean;
|
|
13504
|
+
sort_order?: number;
|
|
13505
|
+
updated_at?: string;
|
|
13506
|
+
};
|
|
13507
|
+
Relationships: [];
|
|
13508
|
+
};
|
|
13257
13509
|
voorraad_media_upload_failures: {
|
|
13258
13510
|
Row: {
|
|
13259
13511
|
action: string;
|
|
@@ -15536,6 +15788,13 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
15536
15788
|
};
|
|
15537
15789
|
Returns: number;
|
|
15538
15790
|
};
|
|
15791
|
+
release_debtor_lock: {
|
|
15792
|
+
Args: {
|
|
15793
|
+
_group_key: string;
|
|
15794
|
+
_user_id: string;
|
|
15795
|
+
};
|
|
15796
|
+
Returns: boolean;
|
|
15797
|
+
};
|
|
15539
15798
|
reorder_customer_price_groups: {
|
|
15540
15799
|
Args: {
|
|
15541
15800
|
_ids: string[];
|
|
@@ -15915,6 +16174,13 @@ export declare const listAiModules: import("@tanstack/start-client-core").Option
|
|
|
15915
16174
|
};
|
|
15916
16175
|
Returns: undefined;
|
|
15917
16176
|
};
|
|
16177
|
+
try_debtor_lock: {
|
|
16178
|
+
Args: {
|
|
16179
|
+
_group_key: string;
|
|
16180
|
+
_user_id: string;
|
|
16181
|
+
};
|
|
16182
|
+
Returns: boolean;
|
|
16183
|
+
};
|
|
15918
16184
|
twinfield_register_cron: {
|
|
15919
16185
|
Args: {
|
|
15920
16186
|
apikey: string;
|
|
@@ -18900,6 +19166,7 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
18900
19166
|
status: string;
|
|
18901
19167
|
token_expires_at: string | null;
|
|
18902
19168
|
updated_at: string;
|
|
19169
|
+
watch_scope: string;
|
|
18903
19170
|
webhook_last_attempt_at: string | null;
|
|
18904
19171
|
webhook_last_error: string | null;
|
|
18905
19172
|
webhook_status: string;
|
|
@@ -18942,6 +19209,7 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
18942
19209
|
status?: string;
|
|
18943
19210
|
token_expires_at?: string | null;
|
|
18944
19211
|
updated_at?: string;
|
|
19212
|
+
watch_scope?: string;
|
|
18945
19213
|
webhook_last_attempt_at?: string | null;
|
|
18946
19214
|
webhook_last_error?: string | null;
|
|
18947
19215
|
webhook_status?: string;
|
|
@@ -18984,6 +19252,7 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
18984
19252
|
status?: string;
|
|
18985
19253
|
token_expires_at?: string | null;
|
|
18986
19254
|
updated_at?: string;
|
|
19255
|
+
watch_scope?: string;
|
|
18987
19256
|
webhook_last_attempt_at?: string | null;
|
|
18988
19257
|
webhook_last_error?: string | null;
|
|
18989
19258
|
webhook_status?: string;
|
|
@@ -19182,6 +19451,72 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
19182
19451
|
referencedColumns: ["id"];
|
|
19183
19452
|
}];
|
|
19184
19453
|
};
|
|
19454
|
+
email_auth_watch_folders: {
|
|
19455
|
+
Row: {
|
|
19456
|
+
connection_id: string;
|
|
19457
|
+
created_at: string;
|
|
19458
|
+
folder_id: string;
|
|
19459
|
+
folder_name: string | null;
|
|
19460
|
+
gmail_history_id: string | null;
|
|
19461
|
+
graph_subscription_expires_at: string | null;
|
|
19462
|
+
graph_subscription_id: string | null;
|
|
19463
|
+
id: string;
|
|
19464
|
+
imap_last_uid: number | null;
|
|
19465
|
+
imap_uid_validity: number | null;
|
|
19466
|
+
mailbox: string;
|
|
19467
|
+
provider: string;
|
|
19468
|
+
updated_at: string;
|
|
19469
|
+
webhook_last_error: string | null;
|
|
19470
|
+
webhook_status: string | null;
|
|
19471
|
+
};
|
|
19472
|
+
Insert: {
|
|
19473
|
+
connection_id: string;
|
|
19474
|
+
created_at?: string;
|
|
19475
|
+
folder_id: string;
|
|
19476
|
+
folder_name?: string | null;
|
|
19477
|
+
gmail_history_id?: string | null;
|
|
19478
|
+
graph_subscription_expires_at?: string | null;
|
|
19479
|
+
graph_subscription_id?: string | null;
|
|
19480
|
+
id?: string;
|
|
19481
|
+
imap_last_uid?: number | null;
|
|
19482
|
+
imap_uid_validity?: number | null;
|
|
19483
|
+
mailbox?: string;
|
|
19484
|
+
provider: string;
|
|
19485
|
+
updated_at?: string;
|
|
19486
|
+
webhook_last_error?: string | null;
|
|
19487
|
+
webhook_status?: string | null;
|
|
19488
|
+
};
|
|
19489
|
+
Update: {
|
|
19490
|
+
connection_id?: string;
|
|
19491
|
+
created_at?: string;
|
|
19492
|
+
folder_id?: string;
|
|
19493
|
+
folder_name?: string | null;
|
|
19494
|
+
gmail_history_id?: string | null;
|
|
19495
|
+
graph_subscription_expires_at?: string | null;
|
|
19496
|
+
graph_subscription_id?: string | null;
|
|
19497
|
+
id?: string;
|
|
19498
|
+
imap_last_uid?: number | null;
|
|
19499
|
+
imap_uid_validity?: number | null;
|
|
19500
|
+
mailbox?: string;
|
|
19501
|
+
provider?: string;
|
|
19502
|
+
updated_at?: string;
|
|
19503
|
+
webhook_last_error?: string | null;
|
|
19504
|
+
webhook_status?: string | null;
|
|
19505
|
+
};
|
|
19506
|
+
Relationships: [{
|
|
19507
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
19508
|
+
columns: ["connection_id"];
|
|
19509
|
+
isOneToOne: false;
|
|
19510
|
+
referencedRelation: "email_auth_connections";
|
|
19511
|
+
referencedColumns: ["id"];
|
|
19512
|
+
}, {
|
|
19513
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
19514
|
+
columns: ["connection_id"];
|
|
19515
|
+
isOneToOne: false;
|
|
19516
|
+
referencedRelation: "email_auth_connections_safe";
|
|
19517
|
+
referencedColumns: ["id"];
|
|
19518
|
+
}];
|
|
19519
|
+
};
|
|
19185
19520
|
email_auth_webhook_log: {
|
|
19186
19521
|
Row: {
|
|
19187
19522
|
body_sample: string | null;
|
|
@@ -22449,6 +22784,36 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
22449
22784
|
};
|
|
22450
22785
|
Relationships: [];
|
|
22451
22786
|
};
|
|
22787
|
+
invoice_post_idempotency: {
|
|
22788
|
+
Row: {
|
|
22789
|
+
client_request_id: string;
|
|
22790
|
+
completed_at: string | null;
|
|
22791
|
+
created_at: string;
|
|
22792
|
+
error_message: string | null;
|
|
22793
|
+
invoice_number: string | null;
|
|
22794
|
+
status: string;
|
|
22795
|
+
user_id: string;
|
|
22796
|
+
};
|
|
22797
|
+
Insert: {
|
|
22798
|
+
client_request_id: string;
|
|
22799
|
+
completed_at?: string | null;
|
|
22800
|
+
created_at?: string;
|
|
22801
|
+
error_message?: string | null;
|
|
22802
|
+
invoice_number?: string | null;
|
|
22803
|
+
status?: string;
|
|
22804
|
+
user_id: string;
|
|
22805
|
+
};
|
|
22806
|
+
Update: {
|
|
22807
|
+
client_request_id?: string;
|
|
22808
|
+
completed_at?: string | null;
|
|
22809
|
+
created_at?: string;
|
|
22810
|
+
error_message?: string | null;
|
|
22811
|
+
invoice_number?: string | null;
|
|
22812
|
+
status?: string;
|
|
22813
|
+
user_id?: string;
|
|
22814
|
+
};
|
|
22815
|
+
Relationships: [];
|
|
22816
|
+
};
|
|
22452
22817
|
invoice_push_log: {
|
|
22453
22818
|
Row: {
|
|
22454
22819
|
connection_id: string | null;
|
|
@@ -23304,6 +23669,96 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
23304
23669
|
referencedColumns: ["id"];
|
|
23305
23670
|
}];
|
|
23306
23671
|
};
|
|
23672
|
+
logistics_rule_configs: {
|
|
23673
|
+
Row: {
|
|
23674
|
+
created_at: string;
|
|
23675
|
+
current_version: number;
|
|
23676
|
+
description: string | null;
|
|
23677
|
+
id: string;
|
|
23678
|
+
is_active: boolean;
|
|
23679
|
+
name: string;
|
|
23680
|
+
settings: import("../integrations/supabase/types").Json;
|
|
23681
|
+
status: string;
|
|
23682
|
+
strategy_id: string | null;
|
|
23683
|
+
updated_at: string;
|
|
23684
|
+
user_id: string;
|
|
23685
|
+
};
|
|
23686
|
+
Insert: {
|
|
23687
|
+
created_at?: string;
|
|
23688
|
+
current_version?: number;
|
|
23689
|
+
description?: string | null;
|
|
23690
|
+
id?: string;
|
|
23691
|
+
is_active?: boolean;
|
|
23692
|
+
name: string;
|
|
23693
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23694
|
+
status?: string;
|
|
23695
|
+
strategy_id?: string | null;
|
|
23696
|
+
updated_at?: string;
|
|
23697
|
+
user_id?: string;
|
|
23698
|
+
};
|
|
23699
|
+
Update: {
|
|
23700
|
+
created_at?: string;
|
|
23701
|
+
current_version?: number;
|
|
23702
|
+
description?: string | null;
|
|
23703
|
+
id?: string;
|
|
23704
|
+
is_active?: boolean;
|
|
23705
|
+
name?: string;
|
|
23706
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23707
|
+
status?: string;
|
|
23708
|
+
strategy_id?: string | null;
|
|
23709
|
+
updated_at?: string;
|
|
23710
|
+
user_id?: string;
|
|
23711
|
+
};
|
|
23712
|
+
Relationships: [{
|
|
23713
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
23714
|
+
columns: ["strategy_id"];
|
|
23715
|
+
isOneToOne: false;
|
|
23716
|
+
referencedRelation: "logistics_strategies";
|
|
23717
|
+
referencedColumns: ["id"];
|
|
23718
|
+
}];
|
|
23719
|
+
};
|
|
23720
|
+
logistics_rule_versions: {
|
|
23721
|
+
Row: {
|
|
23722
|
+
config_id: string;
|
|
23723
|
+
created_at: string;
|
|
23724
|
+
id: string;
|
|
23725
|
+
label: string | null;
|
|
23726
|
+
note: string | null;
|
|
23727
|
+
settings: import("../integrations/supabase/types").Json;
|
|
23728
|
+
status: string;
|
|
23729
|
+
user_id: string;
|
|
23730
|
+
version: number;
|
|
23731
|
+
};
|
|
23732
|
+
Insert: {
|
|
23733
|
+
config_id: string;
|
|
23734
|
+
created_at?: string;
|
|
23735
|
+
id?: string;
|
|
23736
|
+
label?: string | null;
|
|
23737
|
+
note?: string | null;
|
|
23738
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23739
|
+
status?: string;
|
|
23740
|
+
user_id?: string;
|
|
23741
|
+
version: number;
|
|
23742
|
+
};
|
|
23743
|
+
Update: {
|
|
23744
|
+
config_id?: string;
|
|
23745
|
+
created_at?: string;
|
|
23746
|
+
id?: string;
|
|
23747
|
+
label?: string | null;
|
|
23748
|
+
note?: string | null;
|
|
23749
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23750
|
+
status?: string;
|
|
23751
|
+
user_id?: string;
|
|
23752
|
+
version?: number;
|
|
23753
|
+
};
|
|
23754
|
+
Relationships: [{
|
|
23755
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
23756
|
+
columns: ["config_id"];
|
|
23757
|
+
isOneToOne: false;
|
|
23758
|
+
referencedRelation: "logistics_rule_configs";
|
|
23759
|
+
referencedColumns: ["id"];
|
|
23760
|
+
}];
|
|
23761
|
+
};
|
|
23307
23762
|
logistics_strategies: {
|
|
23308
23763
|
Row: {
|
|
23309
23764
|
color: string;
|
|
@@ -29121,6 +29576,27 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
29121
29576
|
};
|
|
29122
29577
|
Relationships: [];
|
|
29123
29578
|
};
|
|
29579
|
+
twinfield_revoked_accounts: {
|
|
29580
|
+
Row: {
|
|
29581
|
+
account_key: string;
|
|
29582
|
+
last_revoke_error: string | null;
|
|
29583
|
+
revoked_at: string;
|
|
29584
|
+
user_id: string;
|
|
29585
|
+
};
|
|
29586
|
+
Insert: {
|
|
29587
|
+
account_key: string;
|
|
29588
|
+
last_revoke_error?: string | null;
|
|
29589
|
+
revoked_at?: string;
|
|
29590
|
+
user_id: string;
|
|
29591
|
+
};
|
|
29592
|
+
Update: {
|
|
29593
|
+
account_key?: string;
|
|
29594
|
+
last_revoke_error?: string | null;
|
|
29595
|
+
revoked_at?: string;
|
|
29596
|
+
user_id?: string;
|
|
29597
|
+
};
|
|
29598
|
+
Relationships: [];
|
|
29599
|
+
};
|
|
29124
29600
|
twinfield_session_cache: {
|
|
29125
29601
|
Row: {
|
|
29126
29602
|
cluster: string;
|
|
@@ -29223,6 +29699,48 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
29223
29699
|
referencedColumns: ["id"];
|
|
29224
29700
|
}];
|
|
29225
29701
|
};
|
|
29702
|
+
voorraad_custom_fields: {
|
|
29703
|
+
Row: {
|
|
29704
|
+
created_at: string;
|
|
29705
|
+
field_key: string;
|
|
29706
|
+
field_label: string;
|
|
29707
|
+
field_type: string;
|
|
29708
|
+
id: string;
|
|
29709
|
+
options: string[];
|
|
29710
|
+
show_in_columns: boolean;
|
|
29711
|
+
show_in_detail: boolean;
|
|
29712
|
+
show_in_template: boolean;
|
|
29713
|
+
sort_order: number;
|
|
29714
|
+
updated_at: string;
|
|
29715
|
+
};
|
|
29716
|
+
Insert: {
|
|
29717
|
+
created_at?: string;
|
|
29718
|
+
field_key: string;
|
|
29719
|
+
field_label: string;
|
|
29720
|
+
field_type?: string;
|
|
29721
|
+
id?: string;
|
|
29722
|
+
options?: string[];
|
|
29723
|
+
show_in_columns?: boolean;
|
|
29724
|
+
show_in_detail?: boolean;
|
|
29725
|
+
show_in_template?: boolean;
|
|
29726
|
+
sort_order?: number;
|
|
29727
|
+
updated_at?: string;
|
|
29728
|
+
};
|
|
29729
|
+
Update: {
|
|
29730
|
+
created_at?: string;
|
|
29731
|
+
field_key?: string;
|
|
29732
|
+
field_label?: string;
|
|
29733
|
+
field_type?: string;
|
|
29734
|
+
id?: string;
|
|
29735
|
+
options?: string[];
|
|
29736
|
+
show_in_columns?: boolean;
|
|
29737
|
+
show_in_detail?: boolean;
|
|
29738
|
+
show_in_template?: boolean;
|
|
29739
|
+
sort_order?: number;
|
|
29740
|
+
updated_at?: string;
|
|
29741
|
+
};
|
|
29742
|
+
Relationships: [];
|
|
29743
|
+
};
|
|
29226
29744
|
voorraad_media_upload_failures: {
|
|
29227
29745
|
Row: {
|
|
29228
29746
|
action: string;
|
|
@@ -31505,6 +32023,13 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
31505
32023
|
};
|
|
31506
32024
|
Returns: number;
|
|
31507
32025
|
};
|
|
32026
|
+
release_debtor_lock: {
|
|
32027
|
+
Args: {
|
|
32028
|
+
_group_key: string;
|
|
32029
|
+
_user_id: string;
|
|
32030
|
+
};
|
|
32031
|
+
Returns: boolean;
|
|
32032
|
+
};
|
|
31508
32033
|
reorder_customer_price_groups: {
|
|
31509
32034
|
Args: {
|
|
31510
32035
|
_ids: string[];
|
|
@@ -31884,6 +32409,13 @@ export declare const saveAiModule: import("@tanstack/start-client-core").Require
|
|
|
31884
32409
|
};
|
|
31885
32410
|
Returns: undefined;
|
|
31886
32411
|
};
|
|
32412
|
+
try_debtor_lock: {
|
|
32413
|
+
Args: {
|
|
32414
|
+
_group_key: string;
|
|
32415
|
+
_user_id: string;
|
|
32416
|
+
};
|
|
32417
|
+
Returns: boolean;
|
|
32418
|
+
};
|
|
31887
32419
|
twinfield_register_cron: {
|
|
31888
32420
|
Args: {
|
|
31889
32421
|
apikey: string;
|
|
@@ -34877,6 +35409,7 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
34877
35409
|
status: string;
|
|
34878
35410
|
token_expires_at: string | null;
|
|
34879
35411
|
updated_at: string;
|
|
35412
|
+
watch_scope: string;
|
|
34880
35413
|
webhook_last_attempt_at: string | null;
|
|
34881
35414
|
webhook_last_error: string | null;
|
|
34882
35415
|
webhook_status: string;
|
|
@@ -34919,6 +35452,7 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
34919
35452
|
status?: string;
|
|
34920
35453
|
token_expires_at?: string | null;
|
|
34921
35454
|
updated_at?: string;
|
|
35455
|
+
watch_scope?: string;
|
|
34922
35456
|
webhook_last_attempt_at?: string | null;
|
|
34923
35457
|
webhook_last_error?: string | null;
|
|
34924
35458
|
webhook_status?: string;
|
|
@@ -34961,6 +35495,7 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
34961
35495
|
status?: string;
|
|
34962
35496
|
token_expires_at?: string | null;
|
|
34963
35497
|
updated_at?: string;
|
|
35498
|
+
watch_scope?: string;
|
|
34964
35499
|
webhook_last_attempt_at?: string | null;
|
|
34965
35500
|
webhook_last_error?: string | null;
|
|
34966
35501
|
webhook_status?: string;
|
|
@@ -35159,6 +35694,72 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
35159
35694
|
referencedColumns: ["id"];
|
|
35160
35695
|
}];
|
|
35161
35696
|
};
|
|
35697
|
+
email_auth_watch_folders: {
|
|
35698
|
+
Row: {
|
|
35699
|
+
connection_id: string;
|
|
35700
|
+
created_at: string;
|
|
35701
|
+
folder_id: string;
|
|
35702
|
+
folder_name: string | null;
|
|
35703
|
+
gmail_history_id: string | null;
|
|
35704
|
+
graph_subscription_expires_at: string | null;
|
|
35705
|
+
graph_subscription_id: string | null;
|
|
35706
|
+
id: string;
|
|
35707
|
+
imap_last_uid: number | null;
|
|
35708
|
+
imap_uid_validity: number | null;
|
|
35709
|
+
mailbox: string;
|
|
35710
|
+
provider: string;
|
|
35711
|
+
updated_at: string;
|
|
35712
|
+
webhook_last_error: string | null;
|
|
35713
|
+
webhook_status: string | null;
|
|
35714
|
+
};
|
|
35715
|
+
Insert: {
|
|
35716
|
+
connection_id: string;
|
|
35717
|
+
created_at?: string;
|
|
35718
|
+
folder_id: string;
|
|
35719
|
+
folder_name?: string | null;
|
|
35720
|
+
gmail_history_id?: string | null;
|
|
35721
|
+
graph_subscription_expires_at?: string | null;
|
|
35722
|
+
graph_subscription_id?: string | null;
|
|
35723
|
+
id?: string;
|
|
35724
|
+
imap_last_uid?: number | null;
|
|
35725
|
+
imap_uid_validity?: number | null;
|
|
35726
|
+
mailbox?: string;
|
|
35727
|
+
provider: string;
|
|
35728
|
+
updated_at?: string;
|
|
35729
|
+
webhook_last_error?: string | null;
|
|
35730
|
+
webhook_status?: string | null;
|
|
35731
|
+
};
|
|
35732
|
+
Update: {
|
|
35733
|
+
connection_id?: string;
|
|
35734
|
+
created_at?: string;
|
|
35735
|
+
folder_id?: string;
|
|
35736
|
+
folder_name?: string | null;
|
|
35737
|
+
gmail_history_id?: string | null;
|
|
35738
|
+
graph_subscription_expires_at?: string | null;
|
|
35739
|
+
graph_subscription_id?: string | null;
|
|
35740
|
+
id?: string;
|
|
35741
|
+
imap_last_uid?: number | null;
|
|
35742
|
+
imap_uid_validity?: number | null;
|
|
35743
|
+
mailbox?: string;
|
|
35744
|
+
provider?: string;
|
|
35745
|
+
updated_at?: string;
|
|
35746
|
+
webhook_last_error?: string | null;
|
|
35747
|
+
webhook_status?: string | null;
|
|
35748
|
+
};
|
|
35749
|
+
Relationships: [{
|
|
35750
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
35751
|
+
columns: ["connection_id"];
|
|
35752
|
+
isOneToOne: false;
|
|
35753
|
+
referencedRelation: "email_auth_connections";
|
|
35754
|
+
referencedColumns: ["id"];
|
|
35755
|
+
}, {
|
|
35756
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
35757
|
+
columns: ["connection_id"];
|
|
35758
|
+
isOneToOne: false;
|
|
35759
|
+
referencedRelation: "email_auth_connections_safe";
|
|
35760
|
+
referencedColumns: ["id"];
|
|
35761
|
+
}];
|
|
35762
|
+
};
|
|
35162
35763
|
email_auth_webhook_log: {
|
|
35163
35764
|
Row: {
|
|
35164
35765
|
body_sample: string | null;
|
|
@@ -38426,6 +39027,36 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
38426
39027
|
};
|
|
38427
39028
|
Relationships: [];
|
|
38428
39029
|
};
|
|
39030
|
+
invoice_post_idempotency: {
|
|
39031
|
+
Row: {
|
|
39032
|
+
client_request_id: string;
|
|
39033
|
+
completed_at: string | null;
|
|
39034
|
+
created_at: string;
|
|
39035
|
+
error_message: string | null;
|
|
39036
|
+
invoice_number: string | null;
|
|
39037
|
+
status: string;
|
|
39038
|
+
user_id: string;
|
|
39039
|
+
};
|
|
39040
|
+
Insert: {
|
|
39041
|
+
client_request_id: string;
|
|
39042
|
+
completed_at?: string | null;
|
|
39043
|
+
created_at?: string;
|
|
39044
|
+
error_message?: string | null;
|
|
39045
|
+
invoice_number?: string | null;
|
|
39046
|
+
status?: string;
|
|
39047
|
+
user_id: string;
|
|
39048
|
+
};
|
|
39049
|
+
Update: {
|
|
39050
|
+
client_request_id?: string;
|
|
39051
|
+
completed_at?: string | null;
|
|
39052
|
+
created_at?: string;
|
|
39053
|
+
error_message?: string | null;
|
|
39054
|
+
invoice_number?: string | null;
|
|
39055
|
+
status?: string;
|
|
39056
|
+
user_id?: string;
|
|
39057
|
+
};
|
|
39058
|
+
Relationships: [];
|
|
39059
|
+
};
|
|
38429
39060
|
invoice_push_log: {
|
|
38430
39061
|
Row: {
|
|
38431
39062
|
connection_id: string | null;
|
|
@@ -39281,6 +39912,96 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
39281
39912
|
referencedColumns: ["id"];
|
|
39282
39913
|
}];
|
|
39283
39914
|
};
|
|
39915
|
+
logistics_rule_configs: {
|
|
39916
|
+
Row: {
|
|
39917
|
+
created_at: string;
|
|
39918
|
+
current_version: number;
|
|
39919
|
+
description: string | null;
|
|
39920
|
+
id: string;
|
|
39921
|
+
is_active: boolean;
|
|
39922
|
+
name: string;
|
|
39923
|
+
settings: import("../integrations/supabase/types").Json;
|
|
39924
|
+
status: string;
|
|
39925
|
+
strategy_id: string | null;
|
|
39926
|
+
updated_at: string;
|
|
39927
|
+
user_id: string;
|
|
39928
|
+
};
|
|
39929
|
+
Insert: {
|
|
39930
|
+
created_at?: string;
|
|
39931
|
+
current_version?: number;
|
|
39932
|
+
description?: string | null;
|
|
39933
|
+
id?: string;
|
|
39934
|
+
is_active?: boolean;
|
|
39935
|
+
name: string;
|
|
39936
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
39937
|
+
status?: string;
|
|
39938
|
+
strategy_id?: string | null;
|
|
39939
|
+
updated_at?: string;
|
|
39940
|
+
user_id?: string;
|
|
39941
|
+
};
|
|
39942
|
+
Update: {
|
|
39943
|
+
created_at?: string;
|
|
39944
|
+
current_version?: number;
|
|
39945
|
+
description?: string | null;
|
|
39946
|
+
id?: string;
|
|
39947
|
+
is_active?: boolean;
|
|
39948
|
+
name?: string;
|
|
39949
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
39950
|
+
status?: string;
|
|
39951
|
+
strategy_id?: string | null;
|
|
39952
|
+
updated_at?: string;
|
|
39953
|
+
user_id?: string;
|
|
39954
|
+
};
|
|
39955
|
+
Relationships: [{
|
|
39956
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
39957
|
+
columns: ["strategy_id"];
|
|
39958
|
+
isOneToOne: false;
|
|
39959
|
+
referencedRelation: "logistics_strategies";
|
|
39960
|
+
referencedColumns: ["id"];
|
|
39961
|
+
}];
|
|
39962
|
+
};
|
|
39963
|
+
logistics_rule_versions: {
|
|
39964
|
+
Row: {
|
|
39965
|
+
config_id: string;
|
|
39966
|
+
created_at: string;
|
|
39967
|
+
id: string;
|
|
39968
|
+
label: string | null;
|
|
39969
|
+
note: string | null;
|
|
39970
|
+
settings: import("../integrations/supabase/types").Json;
|
|
39971
|
+
status: string;
|
|
39972
|
+
user_id: string;
|
|
39973
|
+
version: number;
|
|
39974
|
+
};
|
|
39975
|
+
Insert: {
|
|
39976
|
+
config_id: string;
|
|
39977
|
+
created_at?: string;
|
|
39978
|
+
id?: string;
|
|
39979
|
+
label?: string | null;
|
|
39980
|
+
note?: string | null;
|
|
39981
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
39982
|
+
status?: string;
|
|
39983
|
+
user_id?: string;
|
|
39984
|
+
version: number;
|
|
39985
|
+
};
|
|
39986
|
+
Update: {
|
|
39987
|
+
config_id?: string;
|
|
39988
|
+
created_at?: string;
|
|
39989
|
+
id?: string;
|
|
39990
|
+
label?: string | null;
|
|
39991
|
+
note?: string | null;
|
|
39992
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
39993
|
+
status?: string;
|
|
39994
|
+
user_id?: string;
|
|
39995
|
+
version?: number;
|
|
39996
|
+
};
|
|
39997
|
+
Relationships: [{
|
|
39998
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
39999
|
+
columns: ["config_id"];
|
|
40000
|
+
isOneToOne: false;
|
|
40001
|
+
referencedRelation: "logistics_rule_configs";
|
|
40002
|
+
referencedColumns: ["id"];
|
|
40003
|
+
}];
|
|
40004
|
+
};
|
|
39284
40005
|
logistics_strategies: {
|
|
39285
40006
|
Row: {
|
|
39286
40007
|
color: string;
|
|
@@ -45098,6 +45819,27 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
45098
45819
|
};
|
|
45099
45820
|
Relationships: [];
|
|
45100
45821
|
};
|
|
45822
|
+
twinfield_revoked_accounts: {
|
|
45823
|
+
Row: {
|
|
45824
|
+
account_key: string;
|
|
45825
|
+
last_revoke_error: string | null;
|
|
45826
|
+
revoked_at: string;
|
|
45827
|
+
user_id: string;
|
|
45828
|
+
};
|
|
45829
|
+
Insert: {
|
|
45830
|
+
account_key: string;
|
|
45831
|
+
last_revoke_error?: string | null;
|
|
45832
|
+
revoked_at?: string;
|
|
45833
|
+
user_id: string;
|
|
45834
|
+
};
|
|
45835
|
+
Update: {
|
|
45836
|
+
account_key?: string;
|
|
45837
|
+
last_revoke_error?: string | null;
|
|
45838
|
+
revoked_at?: string;
|
|
45839
|
+
user_id?: string;
|
|
45840
|
+
};
|
|
45841
|
+
Relationships: [];
|
|
45842
|
+
};
|
|
45101
45843
|
twinfield_session_cache: {
|
|
45102
45844
|
Row: {
|
|
45103
45845
|
cluster: string;
|
|
@@ -45200,6 +45942,48 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
45200
45942
|
referencedColumns: ["id"];
|
|
45201
45943
|
}];
|
|
45202
45944
|
};
|
|
45945
|
+
voorraad_custom_fields: {
|
|
45946
|
+
Row: {
|
|
45947
|
+
created_at: string;
|
|
45948
|
+
field_key: string;
|
|
45949
|
+
field_label: string;
|
|
45950
|
+
field_type: string;
|
|
45951
|
+
id: string;
|
|
45952
|
+
options: string[];
|
|
45953
|
+
show_in_columns: boolean;
|
|
45954
|
+
show_in_detail: boolean;
|
|
45955
|
+
show_in_template: boolean;
|
|
45956
|
+
sort_order: number;
|
|
45957
|
+
updated_at: string;
|
|
45958
|
+
};
|
|
45959
|
+
Insert: {
|
|
45960
|
+
created_at?: string;
|
|
45961
|
+
field_key: string;
|
|
45962
|
+
field_label: string;
|
|
45963
|
+
field_type?: string;
|
|
45964
|
+
id?: string;
|
|
45965
|
+
options?: string[];
|
|
45966
|
+
show_in_columns?: boolean;
|
|
45967
|
+
show_in_detail?: boolean;
|
|
45968
|
+
show_in_template?: boolean;
|
|
45969
|
+
sort_order?: number;
|
|
45970
|
+
updated_at?: string;
|
|
45971
|
+
};
|
|
45972
|
+
Update: {
|
|
45973
|
+
created_at?: string;
|
|
45974
|
+
field_key?: string;
|
|
45975
|
+
field_label?: string;
|
|
45976
|
+
field_type?: string;
|
|
45977
|
+
id?: string;
|
|
45978
|
+
options?: string[];
|
|
45979
|
+
show_in_columns?: boolean;
|
|
45980
|
+
show_in_detail?: boolean;
|
|
45981
|
+
show_in_template?: boolean;
|
|
45982
|
+
sort_order?: number;
|
|
45983
|
+
updated_at?: string;
|
|
45984
|
+
};
|
|
45985
|
+
Relationships: [];
|
|
45986
|
+
};
|
|
45203
45987
|
voorraad_media_upload_failures: {
|
|
45204
45988
|
Row: {
|
|
45205
45989
|
action: string;
|
|
@@ -47482,6 +48266,13 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
47482
48266
|
};
|
|
47483
48267
|
Returns: number;
|
|
47484
48268
|
};
|
|
48269
|
+
release_debtor_lock: {
|
|
48270
|
+
Args: {
|
|
48271
|
+
_group_key: string;
|
|
48272
|
+
_user_id: string;
|
|
48273
|
+
};
|
|
48274
|
+
Returns: boolean;
|
|
48275
|
+
};
|
|
47485
48276
|
reorder_customer_price_groups: {
|
|
47486
48277
|
Args: {
|
|
47487
48278
|
_ids: string[];
|
|
@@ -47861,6 +48652,13 @@ export declare const setAiModuleEnabled: import("@tanstack/start-client-core").R
|
|
|
47861
48652
|
};
|
|
47862
48653
|
Returns: undefined;
|
|
47863
48654
|
};
|
|
48655
|
+
try_debtor_lock: {
|
|
48656
|
+
Args: {
|
|
48657
|
+
_group_key: string;
|
|
48658
|
+
_user_id: string;
|
|
48659
|
+
};
|
|
48660
|
+
Returns: boolean;
|
|
48661
|
+
};
|
|
47864
48662
|
twinfield_register_cron: {
|
|
47865
48663
|
Args: {
|
|
47866
48664
|
apikey: string;
|
|
@@ -50852,6 +51650,7 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
50852
51650
|
status: string;
|
|
50853
51651
|
token_expires_at: string | null;
|
|
50854
51652
|
updated_at: string;
|
|
51653
|
+
watch_scope: string;
|
|
50855
51654
|
webhook_last_attempt_at: string | null;
|
|
50856
51655
|
webhook_last_error: string | null;
|
|
50857
51656
|
webhook_status: string;
|
|
@@ -50894,6 +51693,7 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
50894
51693
|
status?: string;
|
|
50895
51694
|
token_expires_at?: string | null;
|
|
50896
51695
|
updated_at?: string;
|
|
51696
|
+
watch_scope?: string;
|
|
50897
51697
|
webhook_last_attempt_at?: string | null;
|
|
50898
51698
|
webhook_last_error?: string | null;
|
|
50899
51699
|
webhook_status?: string;
|
|
@@ -50936,6 +51736,7 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
50936
51736
|
status?: string;
|
|
50937
51737
|
token_expires_at?: string | null;
|
|
50938
51738
|
updated_at?: string;
|
|
51739
|
+
watch_scope?: string;
|
|
50939
51740
|
webhook_last_attempt_at?: string | null;
|
|
50940
51741
|
webhook_last_error?: string | null;
|
|
50941
51742
|
webhook_status?: string;
|
|
@@ -51134,6 +51935,72 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
51134
51935
|
referencedColumns: ["id"];
|
|
51135
51936
|
}];
|
|
51136
51937
|
};
|
|
51938
|
+
email_auth_watch_folders: {
|
|
51939
|
+
Row: {
|
|
51940
|
+
connection_id: string;
|
|
51941
|
+
created_at: string;
|
|
51942
|
+
folder_id: string;
|
|
51943
|
+
folder_name: string | null;
|
|
51944
|
+
gmail_history_id: string | null;
|
|
51945
|
+
graph_subscription_expires_at: string | null;
|
|
51946
|
+
graph_subscription_id: string | null;
|
|
51947
|
+
id: string;
|
|
51948
|
+
imap_last_uid: number | null;
|
|
51949
|
+
imap_uid_validity: number | null;
|
|
51950
|
+
mailbox: string;
|
|
51951
|
+
provider: string;
|
|
51952
|
+
updated_at: string;
|
|
51953
|
+
webhook_last_error: string | null;
|
|
51954
|
+
webhook_status: string | null;
|
|
51955
|
+
};
|
|
51956
|
+
Insert: {
|
|
51957
|
+
connection_id: string;
|
|
51958
|
+
created_at?: string;
|
|
51959
|
+
folder_id: string;
|
|
51960
|
+
folder_name?: string | null;
|
|
51961
|
+
gmail_history_id?: string | null;
|
|
51962
|
+
graph_subscription_expires_at?: string | null;
|
|
51963
|
+
graph_subscription_id?: string | null;
|
|
51964
|
+
id?: string;
|
|
51965
|
+
imap_last_uid?: number | null;
|
|
51966
|
+
imap_uid_validity?: number | null;
|
|
51967
|
+
mailbox?: string;
|
|
51968
|
+
provider: string;
|
|
51969
|
+
updated_at?: string;
|
|
51970
|
+
webhook_last_error?: string | null;
|
|
51971
|
+
webhook_status?: string | null;
|
|
51972
|
+
};
|
|
51973
|
+
Update: {
|
|
51974
|
+
connection_id?: string;
|
|
51975
|
+
created_at?: string;
|
|
51976
|
+
folder_id?: string;
|
|
51977
|
+
folder_name?: string | null;
|
|
51978
|
+
gmail_history_id?: string | null;
|
|
51979
|
+
graph_subscription_expires_at?: string | null;
|
|
51980
|
+
graph_subscription_id?: string | null;
|
|
51981
|
+
id?: string;
|
|
51982
|
+
imap_last_uid?: number | null;
|
|
51983
|
+
imap_uid_validity?: number | null;
|
|
51984
|
+
mailbox?: string;
|
|
51985
|
+
provider?: string;
|
|
51986
|
+
updated_at?: string;
|
|
51987
|
+
webhook_last_error?: string | null;
|
|
51988
|
+
webhook_status?: string | null;
|
|
51989
|
+
};
|
|
51990
|
+
Relationships: [{
|
|
51991
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
51992
|
+
columns: ["connection_id"];
|
|
51993
|
+
isOneToOne: false;
|
|
51994
|
+
referencedRelation: "email_auth_connections";
|
|
51995
|
+
referencedColumns: ["id"];
|
|
51996
|
+
}, {
|
|
51997
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
51998
|
+
columns: ["connection_id"];
|
|
51999
|
+
isOneToOne: false;
|
|
52000
|
+
referencedRelation: "email_auth_connections_safe";
|
|
52001
|
+
referencedColumns: ["id"];
|
|
52002
|
+
}];
|
|
52003
|
+
};
|
|
51137
52004
|
email_auth_webhook_log: {
|
|
51138
52005
|
Row: {
|
|
51139
52006
|
body_sample: string | null;
|
|
@@ -54401,6 +55268,36 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
54401
55268
|
};
|
|
54402
55269
|
Relationships: [];
|
|
54403
55270
|
};
|
|
55271
|
+
invoice_post_idempotency: {
|
|
55272
|
+
Row: {
|
|
55273
|
+
client_request_id: string;
|
|
55274
|
+
completed_at: string | null;
|
|
55275
|
+
created_at: string;
|
|
55276
|
+
error_message: string | null;
|
|
55277
|
+
invoice_number: string | null;
|
|
55278
|
+
status: string;
|
|
55279
|
+
user_id: string;
|
|
55280
|
+
};
|
|
55281
|
+
Insert: {
|
|
55282
|
+
client_request_id: string;
|
|
55283
|
+
completed_at?: string | null;
|
|
55284
|
+
created_at?: string;
|
|
55285
|
+
error_message?: string | null;
|
|
55286
|
+
invoice_number?: string | null;
|
|
55287
|
+
status?: string;
|
|
55288
|
+
user_id: string;
|
|
55289
|
+
};
|
|
55290
|
+
Update: {
|
|
55291
|
+
client_request_id?: string;
|
|
55292
|
+
completed_at?: string | null;
|
|
55293
|
+
created_at?: string;
|
|
55294
|
+
error_message?: string | null;
|
|
55295
|
+
invoice_number?: string | null;
|
|
55296
|
+
status?: string;
|
|
55297
|
+
user_id?: string;
|
|
55298
|
+
};
|
|
55299
|
+
Relationships: [];
|
|
55300
|
+
};
|
|
54404
55301
|
invoice_push_log: {
|
|
54405
55302
|
Row: {
|
|
54406
55303
|
connection_id: string | null;
|
|
@@ -55256,6 +56153,96 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
55256
56153
|
referencedColumns: ["id"];
|
|
55257
56154
|
}];
|
|
55258
56155
|
};
|
|
56156
|
+
logistics_rule_configs: {
|
|
56157
|
+
Row: {
|
|
56158
|
+
created_at: string;
|
|
56159
|
+
current_version: number;
|
|
56160
|
+
description: string | null;
|
|
56161
|
+
id: string;
|
|
56162
|
+
is_active: boolean;
|
|
56163
|
+
name: string;
|
|
56164
|
+
settings: import("../integrations/supabase/types").Json;
|
|
56165
|
+
status: string;
|
|
56166
|
+
strategy_id: string | null;
|
|
56167
|
+
updated_at: string;
|
|
56168
|
+
user_id: string;
|
|
56169
|
+
};
|
|
56170
|
+
Insert: {
|
|
56171
|
+
created_at?: string;
|
|
56172
|
+
current_version?: number;
|
|
56173
|
+
description?: string | null;
|
|
56174
|
+
id?: string;
|
|
56175
|
+
is_active?: boolean;
|
|
56176
|
+
name: string;
|
|
56177
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
56178
|
+
status?: string;
|
|
56179
|
+
strategy_id?: string | null;
|
|
56180
|
+
updated_at?: string;
|
|
56181
|
+
user_id?: string;
|
|
56182
|
+
};
|
|
56183
|
+
Update: {
|
|
56184
|
+
created_at?: string;
|
|
56185
|
+
current_version?: number;
|
|
56186
|
+
description?: string | null;
|
|
56187
|
+
id?: string;
|
|
56188
|
+
is_active?: boolean;
|
|
56189
|
+
name?: string;
|
|
56190
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
56191
|
+
status?: string;
|
|
56192
|
+
strategy_id?: string | null;
|
|
56193
|
+
updated_at?: string;
|
|
56194
|
+
user_id?: string;
|
|
56195
|
+
};
|
|
56196
|
+
Relationships: [{
|
|
56197
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
56198
|
+
columns: ["strategy_id"];
|
|
56199
|
+
isOneToOne: false;
|
|
56200
|
+
referencedRelation: "logistics_strategies";
|
|
56201
|
+
referencedColumns: ["id"];
|
|
56202
|
+
}];
|
|
56203
|
+
};
|
|
56204
|
+
logistics_rule_versions: {
|
|
56205
|
+
Row: {
|
|
56206
|
+
config_id: string;
|
|
56207
|
+
created_at: string;
|
|
56208
|
+
id: string;
|
|
56209
|
+
label: string | null;
|
|
56210
|
+
note: string | null;
|
|
56211
|
+
settings: import("../integrations/supabase/types").Json;
|
|
56212
|
+
status: string;
|
|
56213
|
+
user_id: string;
|
|
56214
|
+
version: number;
|
|
56215
|
+
};
|
|
56216
|
+
Insert: {
|
|
56217
|
+
config_id: string;
|
|
56218
|
+
created_at?: string;
|
|
56219
|
+
id?: string;
|
|
56220
|
+
label?: string | null;
|
|
56221
|
+
note?: string | null;
|
|
56222
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
56223
|
+
status?: string;
|
|
56224
|
+
user_id?: string;
|
|
56225
|
+
version: number;
|
|
56226
|
+
};
|
|
56227
|
+
Update: {
|
|
56228
|
+
config_id?: string;
|
|
56229
|
+
created_at?: string;
|
|
56230
|
+
id?: string;
|
|
56231
|
+
label?: string | null;
|
|
56232
|
+
note?: string | null;
|
|
56233
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
56234
|
+
status?: string;
|
|
56235
|
+
user_id?: string;
|
|
56236
|
+
version?: number;
|
|
56237
|
+
};
|
|
56238
|
+
Relationships: [{
|
|
56239
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
56240
|
+
columns: ["config_id"];
|
|
56241
|
+
isOneToOne: false;
|
|
56242
|
+
referencedRelation: "logistics_rule_configs";
|
|
56243
|
+
referencedColumns: ["id"];
|
|
56244
|
+
}];
|
|
56245
|
+
};
|
|
55259
56246
|
logistics_strategies: {
|
|
55260
56247
|
Row: {
|
|
55261
56248
|
color: string;
|
|
@@ -61073,6 +62060,27 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
61073
62060
|
};
|
|
61074
62061
|
Relationships: [];
|
|
61075
62062
|
};
|
|
62063
|
+
twinfield_revoked_accounts: {
|
|
62064
|
+
Row: {
|
|
62065
|
+
account_key: string;
|
|
62066
|
+
last_revoke_error: string | null;
|
|
62067
|
+
revoked_at: string;
|
|
62068
|
+
user_id: string;
|
|
62069
|
+
};
|
|
62070
|
+
Insert: {
|
|
62071
|
+
account_key: string;
|
|
62072
|
+
last_revoke_error?: string | null;
|
|
62073
|
+
revoked_at?: string;
|
|
62074
|
+
user_id: string;
|
|
62075
|
+
};
|
|
62076
|
+
Update: {
|
|
62077
|
+
account_key?: string;
|
|
62078
|
+
last_revoke_error?: string | null;
|
|
62079
|
+
revoked_at?: string;
|
|
62080
|
+
user_id?: string;
|
|
62081
|
+
};
|
|
62082
|
+
Relationships: [];
|
|
62083
|
+
};
|
|
61076
62084
|
twinfield_session_cache: {
|
|
61077
62085
|
Row: {
|
|
61078
62086
|
cluster: string;
|
|
@@ -61175,6 +62183,48 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
61175
62183
|
referencedColumns: ["id"];
|
|
61176
62184
|
}];
|
|
61177
62185
|
};
|
|
62186
|
+
voorraad_custom_fields: {
|
|
62187
|
+
Row: {
|
|
62188
|
+
created_at: string;
|
|
62189
|
+
field_key: string;
|
|
62190
|
+
field_label: string;
|
|
62191
|
+
field_type: string;
|
|
62192
|
+
id: string;
|
|
62193
|
+
options: string[];
|
|
62194
|
+
show_in_columns: boolean;
|
|
62195
|
+
show_in_detail: boolean;
|
|
62196
|
+
show_in_template: boolean;
|
|
62197
|
+
sort_order: number;
|
|
62198
|
+
updated_at: string;
|
|
62199
|
+
};
|
|
62200
|
+
Insert: {
|
|
62201
|
+
created_at?: string;
|
|
62202
|
+
field_key: string;
|
|
62203
|
+
field_label: string;
|
|
62204
|
+
field_type?: string;
|
|
62205
|
+
id?: string;
|
|
62206
|
+
options?: string[];
|
|
62207
|
+
show_in_columns?: boolean;
|
|
62208
|
+
show_in_detail?: boolean;
|
|
62209
|
+
show_in_template?: boolean;
|
|
62210
|
+
sort_order?: number;
|
|
62211
|
+
updated_at?: string;
|
|
62212
|
+
};
|
|
62213
|
+
Update: {
|
|
62214
|
+
created_at?: string;
|
|
62215
|
+
field_key?: string;
|
|
62216
|
+
field_label?: string;
|
|
62217
|
+
field_type?: string;
|
|
62218
|
+
id?: string;
|
|
62219
|
+
options?: string[];
|
|
62220
|
+
show_in_columns?: boolean;
|
|
62221
|
+
show_in_detail?: boolean;
|
|
62222
|
+
show_in_template?: boolean;
|
|
62223
|
+
sort_order?: number;
|
|
62224
|
+
updated_at?: string;
|
|
62225
|
+
};
|
|
62226
|
+
Relationships: [];
|
|
62227
|
+
};
|
|
61178
62228
|
voorraad_media_upload_failures: {
|
|
61179
62229
|
Row: {
|
|
61180
62230
|
action: string;
|
|
@@ -63457,6 +64507,13 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
63457
64507
|
};
|
|
63458
64508
|
Returns: number;
|
|
63459
64509
|
};
|
|
64510
|
+
release_debtor_lock: {
|
|
64511
|
+
Args: {
|
|
64512
|
+
_group_key: string;
|
|
64513
|
+
_user_id: string;
|
|
64514
|
+
};
|
|
64515
|
+
Returns: boolean;
|
|
64516
|
+
};
|
|
63460
64517
|
reorder_customer_price_groups: {
|
|
63461
64518
|
Args: {
|
|
63462
64519
|
_ids: string[];
|
|
@@ -63836,6 +64893,13 @@ export declare const deleteAiModule: import("@tanstack/start-client-core").Requi
|
|
|
63836
64893
|
};
|
|
63837
64894
|
Returns: undefined;
|
|
63838
64895
|
};
|
|
64896
|
+
try_debtor_lock: {
|
|
64897
|
+
Args: {
|
|
64898
|
+
_group_key: string;
|
|
64899
|
+
_user_id: string;
|
|
64900
|
+
};
|
|
64901
|
+
Returns: boolean;
|
|
64902
|
+
};
|
|
63839
64903
|
twinfield_register_cron: {
|
|
63840
64904
|
Args: {
|
|
63841
64905
|
apikey: string;
|
|
@@ -66825,6 +67889,7 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
66825
67889
|
status: string;
|
|
66826
67890
|
token_expires_at: string | null;
|
|
66827
67891
|
updated_at: string;
|
|
67892
|
+
watch_scope: string;
|
|
66828
67893
|
webhook_last_attempt_at: string | null;
|
|
66829
67894
|
webhook_last_error: string | null;
|
|
66830
67895
|
webhook_status: string;
|
|
@@ -66867,6 +67932,7 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
66867
67932
|
status?: string;
|
|
66868
67933
|
token_expires_at?: string | null;
|
|
66869
67934
|
updated_at?: string;
|
|
67935
|
+
watch_scope?: string;
|
|
66870
67936
|
webhook_last_attempt_at?: string | null;
|
|
66871
67937
|
webhook_last_error?: string | null;
|
|
66872
67938
|
webhook_status?: string;
|
|
@@ -66909,6 +67975,7 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
66909
67975
|
status?: string;
|
|
66910
67976
|
token_expires_at?: string | null;
|
|
66911
67977
|
updated_at?: string;
|
|
67978
|
+
watch_scope?: string;
|
|
66912
67979
|
webhook_last_attempt_at?: string | null;
|
|
66913
67980
|
webhook_last_error?: string | null;
|
|
66914
67981
|
webhook_status?: string;
|
|
@@ -67107,6 +68174,72 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
67107
68174
|
referencedColumns: ["id"];
|
|
67108
68175
|
}];
|
|
67109
68176
|
};
|
|
68177
|
+
email_auth_watch_folders: {
|
|
68178
|
+
Row: {
|
|
68179
|
+
connection_id: string;
|
|
68180
|
+
created_at: string;
|
|
68181
|
+
folder_id: string;
|
|
68182
|
+
folder_name: string | null;
|
|
68183
|
+
gmail_history_id: string | null;
|
|
68184
|
+
graph_subscription_expires_at: string | null;
|
|
68185
|
+
graph_subscription_id: string | null;
|
|
68186
|
+
id: string;
|
|
68187
|
+
imap_last_uid: number | null;
|
|
68188
|
+
imap_uid_validity: number | null;
|
|
68189
|
+
mailbox: string;
|
|
68190
|
+
provider: string;
|
|
68191
|
+
updated_at: string;
|
|
68192
|
+
webhook_last_error: string | null;
|
|
68193
|
+
webhook_status: string | null;
|
|
68194
|
+
};
|
|
68195
|
+
Insert: {
|
|
68196
|
+
connection_id: string;
|
|
68197
|
+
created_at?: string;
|
|
68198
|
+
folder_id: string;
|
|
68199
|
+
folder_name?: string | null;
|
|
68200
|
+
gmail_history_id?: string | null;
|
|
68201
|
+
graph_subscription_expires_at?: string | null;
|
|
68202
|
+
graph_subscription_id?: string | null;
|
|
68203
|
+
id?: string;
|
|
68204
|
+
imap_last_uid?: number | null;
|
|
68205
|
+
imap_uid_validity?: number | null;
|
|
68206
|
+
mailbox?: string;
|
|
68207
|
+
provider: string;
|
|
68208
|
+
updated_at?: string;
|
|
68209
|
+
webhook_last_error?: string | null;
|
|
68210
|
+
webhook_status?: string | null;
|
|
68211
|
+
};
|
|
68212
|
+
Update: {
|
|
68213
|
+
connection_id?: string;
|
|
68214
|
+
created_at?: string;
|
|
68215
|
+
folder_id?: string;
|
|
68216
|
+
folder_name?: string | null;
|
|
68217
|
+
gmail_history_id?: string | null;
|
|
68218
|
+
graph_subscription_expires_at?: string | null;
|
|
68219
|
+
graph_subscription_id?: string | null;
|
|
68220
|
+
id?: string;
|
|
68221
|
+
imap_last_uid?: number | null;
|
|
68222
|
+
imap_uid_validity?: number | null;
|
|
68223
|
+
mailbox?: string;
|
|
68224
|
+
provider?: string;
|
|
68225
|
+
updated_at?: string;
|
|
68226
|
+
webhook_last_error?: string | null;
|
|
68227
|
+
webhook_status?: string | null;
|
|
68228
|
+
};
|
|
68229
|
+
Relationships: [{
|
|
68230
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
68231
|
+
columns: ["connection_id"];
|
|
68232
|
+
isOneToOne: false;
|
|
68233
|
+
referencedRelation: "email_auth_connections";
|
|
68234
|
+
referencedColumns: ["id"];
|
|
68235
|
+
}, {
|
|
68236
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
68237
|
+
columns: ["connection_id"];
|
|
68238
|
+
isOneToOne: false;
|
|
68239
|
+
referencedRelation: "email_auth_connections_safe";
|
|
68240
|
+
referencedColumns: ["id"];
|
|
68241
|
+
}];
|
|
68242
|
+
};
|
|
67110
68243
|
email_auth_webhook_log: {
|
|
67111
68244
|
Row: {
|
|
67112
68245
|
body_sample: string | null;
|
|
@@ -70374,6 +71507,36 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
70374
71507
|
};
|
|
70375
71508
|
Relationships: [];
|
|
70376
71509
|
};
|
|
71510
|
+
invoice_post_idempotency: {
|
|
71511
|
+
Row: {
|
|
71512
|
+
client_request_id: string;
|
|
71513
|
+
completed_at: string | null;
|
|
71514
|
+
created_at: string;
|
|
71515
|
+
error_message: string | null;
|
|
71516
|
+
invoice_number: string | null;
|
|
71517
|
+
status: string;
|
|
71518
|
+
user_id: string;
|
|
71519
|
+
};
|
|
71520
|
+
Insert: {
|
|
71521
|
+
client_request_id: string;
|
|
71522
|
+
completed_at?: string | null;
|
|
71523
|
+
created_at?: string;
|
|
71524
|
+
error_message?: string | null;
|
|
71525
|
+
invoice_number?: string | null;
|
|
71526
|
+
status?: string;
|
|
71527
|
+
user_id: string;
|
|
71528
|
+
};
|
|
71529
|
+
Update: {
|
|
71530
|
+
client_request_id?: string;
|
|
71531
|
+
completed_at?: string | null;
|
|
71532
|
+
created_at?: string;
|
|
71533
|
+
error_message?: string | null;
|
|
71534
|
+
invoice_number?: string | null;
|
|
71535
|
+
status?: string;
|
|
71536
|
+
user_id?: string;
|
|
71537
|
+
};
|
|
71538
|
+
Relationships: [];
|
|
71539
|
+
};
|
|
70377
71540
|
invoice_push_log: {
|
|
70378
71541
|
Row: {
|
|
70379
71542
|
connection_id: string | null;
|
|
@@ -71229,6 +72392,96 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
71229
72392
|
referencedColumns: ["id"];
|
|
71230
72393
|
}];
|
|
71231
72394
|
};
|
|
72395
|
+
logistics_rule_configs: {
|
|
72396
|
+
Row: {
|
|
72397
|
+
created_at: string;
|
|
72398
|
+
current_version: number;
|
|
72399
|
+
description: string | null;
|
|
72400
|
+
id: string;
|
|
72401
|
+
is_active: boolean;
|
|
72402
|
+
name: string;
|
|
72403
|
+
settings: import("../integrations/supabase/types").Json;
|
|
72404
|
+
status: string;
|
|
72405
|
+
strategy_id: string | null;
|
|
72406
|
+
updated_at: string;
|
|
72407
|
+
user_id: string;
|
|
72408
|
+
};
|
|
72409
|
+
Insert: {
|
|
72410
|
+
created_at?: string;
|
|
72411
|
+
current_version?: number;
|
|
72412
|
+
description?: string | null;
|
|
72413
|
+
id?: string;
|
|
72414
|
+
is_active?: boolean;
|
|
72415
|
+
name: string;
|
|
72416
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
72417
|
+
status?: string;
|
|
72418
|
+
strategy_id?: string | null;
|
|
72419
|
+
updated_at?: string;
|
|
72420
|
+
user_id?: string;
|
|
72421
|
+
};
|
|
72422
|
+
Update: {
|
|
72423
|
+
created_at?: string;
|
|
72424
|
+
current_version?: number;
|
|
72425
|
+
description?: string | null;
|
|
72426
|
+
id?: string;
|
|
72427
|
+
is_active?: boolean;
|
|
72428
|
+
name?: string;
|
|
72429
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
72430
|
+
status?: string;
|
|
72431
|
+
strategy_id?: string | null;
|
|
72432
|
+
updated_at?: string;
|
|
72433
|
+
user_id?: string;
|
|
72434
|
+
};
|
|
72435
|
+
Relationships: [{
|
|
72436
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
72437
|
+
columns: ["strategy_id"];
|
|
72438
|
+
isOneToOne: false;
|
|
72439
|
+
referencedRelation: "logistics_strategies";
|
|
72440
|
+
referencedColumns: ["id"];
|
|
72441
|
+
}];
|
|
72442
|
+
};
|
|
72443
|
+
logistics_rule_versions: {
|
|
72444
|
+
Row: {
|
|
72445
|
+
config_id: string;
|
|
72446
|
+
created_at: string;
|
|
72447
|
+
id: string;
|
|
72448
|
+
label: string | null;
|
|
72449
|
+
note: string | null;
|
|
72450
|
+
settings: import("../integrations/supabase/types").Json;
|
|
72451
|
+
status: string;
|
|
72452
|
+
user_id: string;
|
|
72453
|
+
version: number;
|
|
72454
|
+
};
|
|
72455
|
+
Insert: {
|
|
72456
|
+
config_id: string;
|
|
72457
|
+
created_at?: string;
|
|
72458
|
+
id?: string;
|
|
72459
|
+
label?: string | null;
|
|
72460
|
+
note?: string | null;
|
|
72461
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
72462
|
+
status?: string;
|
|
72463
|
+
user_id?: string;
|
|
72464
|
+
version: number;
|
|
72465
|
+
};
|
|
72466
|
+
Update: {
|
|
72467
|
+
config_id?: string;
|
|
72468
|
+
created_at?: string;
|
|
72469
|
+
id?: string;
|
|
72470
|
+
label?: string | null;
|
|
72471
|
+
note?: string | null;
|
|
72472
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
72473
|
+
status?: string;
|
|
72474
|
+
user_id?: string;
|
|
72475
|
+
version?: number;
|
|
72476
|
+
};
|
|
72477
|
+
Relationships: [{
|
|
72478
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
72479
|
+
columns: ["config_id"];
|
|
72480
|
+
isOneToOne: false;
|
|
72481
|
+
referencedRelation: "logistics_rule_configs";
|
|
72482
|
+
referencedColumns: ["id"];
|
|
72483
|
+
}];
|
|
72484
|
+
};
|
|
71232
72485
|
logistics_strategies: {
|
|
71233
72486
|
Row: {
|
|
71234
72487
|
color: string;
|
|
@@ -77046,6 +78299,27 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
77046
78299
|
};
|
|
77047
78300
|
Relationships: [];
|
|
77048
78301
|
};
|
|
78302
|
+
twinfield_revoked_accounts: {
|
|
78303
|
+
Row: {
|
|
78304
|
+
account_key: string;
|
|
78305
|
+
last_revoke_error: string | null;
|
|
78306
|
+
revoked_at: string;
|
|
78307
|
+
user_id: string;
|
|
78308
|
+
};
|
|
78309
|
+
Insert: {
|
|
78310
|
+
account_key: string;
|
|
78311
|
+
last_revoke_error?: string | null;
|
|
78312
|
+
revoked_at?: string;
|
|
78313
|
+
user_id: string;
|
|
78314
|
+
};
|
|
78315
|
+
Update: {
|
|
78316
|
+
account_key?: string;
|
|
78317
|
+
last_revoke_error?: string | null;
|
|
78318
|
+
revoked_at?: string;
|
|
78319
|
+
user_id?: string;
|
|
78320
|
+
};
|
|
78321
|
+
Relationships: [];
|
|
78322
|
+
};
|
|
77049
78323
|
twinfield_session_cache: {
|
|
77050
78324
|
Row: {
|
|
77051
78325
|
cluster: string;
|
|
@@ -77148,6 +78422,48 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
77148
78422
|
referencedColumns: ["id"];
|
|
77149
78423
|
}];
|
|
77150
78424
|
};
|
|
78425
|
+
voorraad_custom_fields: {
|
|
78426
|
+
Row: {
|
|
78427
|
+
created_at: string;
|
|
78428
|
+
field_key: string;
|
|
78429
|
+
field_label: string;
|
|
78430
|
+
field_type: string;
|
|
78431
|
+
id: string;
|
|
78432
|
+
options: string[];
|
|
78433
|
+
show_in_columns: boolean;
|
|
78434
|
+
show_in_detail: boolean;
|
|
78435
|
+
show_in_template: boolean;
|
|
78436
|
+
sort_order: number;
|
|
78437
|
+
updated_at: string;
|
|
78438
|
+
};
|
|
78439
|
+
Insert: {
|
|
78440
|
+
created_at?: string;
|
|
78441
|
+
field_key: string;
|
|
78442
|
+
field_label: string;
|
|
78443
|
+
field_type?: string;
|
|
78444
|
+
id?: string;
|
|
78445
|
+
options?: string[];
|
|
78446
|
+
show_in_columns?: boolean;
|
|
78447
|
+
show_in_detail?: boolean;
|
|
78448
|
+
show_in_template?: boolean;
|
|
78449
|
+
sort_order?: number;
|
|
78450
|
+
updated_at?: string;
|
|
78451
|
+
};
|
|
78452
|
+
Update: {
|
|
78453
|
+
created_at?: string;
|
|
78454
|
+
field_key?: string;
|
|
78455
|
+
field_label?: string;
|
|
78456
|
+
field_type?: string;
|
|
78457
|
+
id?: string;
|
|
78458
|
+
options?: string[];
|
|
78459
|
+
show_in_columns?: boolean;
|
|
78460
|
+
show_in_detail?: boolean;
|
|
78461
|
+
show_in_template?: boolean;
|
|
78462
|
+
sort_order?: number;
|
|
78463
|
+
updated_at?: string;
|
|
78464
|
+
};
|
|
78465
|
+
Relationships: [];
|
|
78466
|
+
};
|
|
77151
78467
|
voorraad_media_upload_failures: {
|
|
77152
78468
|
Row: {
|
|
77153
78469
|
action: string;
|
|
@@ -79430,6 +80746,13 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
79430
80746
|
};
|
|
79431
80747
|
Returns: number;
|
|
79432
80748
|
};
|
|
80749
|
+
release_debtor_lock: {
|
|
80750
|
+
Args: {
|
|
80751
|
+
_group_key: string;
|
|
80752
|
+
_user_id: string;
|
|
80753
|
+
};
|
|
80754
|
+
Returns: boolean;
|
|
80755
|
+
};
|
|
79433
80756
|
reorder_customer_price_groups: {
|
|
79434
80757
|
Args: {
|
|
79435
80758
|
_ids: string[];
|
|
@@ -79809,6 +81132,13 @@ export declare const getAiCostOverview: import("@tanstack/start-client-core").Re
|
|
|
79809
81132
|
};
|
|
79810
81133
|
Returns: undefined;
|
|
79811
81134
|
};
|
|
81135
|
+
try_debtor_lock: {
|
|
81136
|
+
Args: {
|
|
81137
|
+
_group_key: string;
|
|
81138
|
+
_user_id: string;
|
|
81139
|
+
};
|
|
81140
|
+
Returns: boolean;
|
|
81141
|
+
};
|
|
79812
81142
|
twinfield_register_cron: {
|
|
79813
81143
|
Args: {
|
|
79814
81144
|
apikey: string;
|
|
@@ -82800,6 +84130,7 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
82800
84130
|
status: string;
|
|
82801
84131
|
token_expires_at: string | null;
|
|
82802
84132
|
updated_at: string;
|
|
84133
|
+
watch_scope: string;
|
|
82803
84134
|
webhook_last_attempt_at: string | null;
|
|
82804
84135
|
webhook_last_error: string | null;
|
|
82805
84136
|
webhook_status: string;
|
|
@@ -82842,6 +84173,7 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
82842
84173
|
status?: string;
|
|
82843
84174
|
token_expires_at?: string | null;
|
|
82844
84175
|
updated_at?: string;
|
|
84176
|
+
watch_scope?: string;
|
|
82845
84177
|
webhook_last_attempt_at?: string | null;
|
|
82846
84178
|
webhook_last_error?: string | null;
|
|
82847
84179
|
webhook_status?: string;
|
|
@@ -82884,6 +84216,7 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
82884
84216
|
status?: string;
|
|
82885
84217
|
token_expires_at?: string | null;
|
|
82886
84218
|
updated_at?: string;
|
|
84219
|
+
watch_scope?: string;
|
|
82887
84220
|
webhook_last_attempt_at?: string | null;
|
|
82888
84221
|
webhook_last_error?: string | null;
|
|
82889
84222
|
webhook_status?: string;
|
|
@@ -83082,6 +84415,72 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
83082
84415
|
referencedColumns: ["id"];
|
|
83083
84416
|
}];
|
|
83084
84417
|
};
|
|
84418
|
+
email_auth_watch_folders: {
|
|
84419
|
+
Row: {
|
|
84420
|
+
connection_id: string;
|
|
84421
|
+
created_at: string;
|
|
84422
|
+
folder_id: string;
|
|
84423
|
+
folder_name: string | null;
|
|
84424
|
+
gmail_history_id: string | null;
|
|
84425
|
+
graph_subscription_expires_at: string | null;
|
|
84426
|
+
graph_subscription_id: string | null;
|
|
84427
|
+
id: string;
|
|
84428
|
+
imap_last_uid: number | null;
|
|
84429
|
+
imap_uid_validity: number | null;
|
|
84430
|
+
mailbox: string;
|
|
84431
|
+
provider: string;
|
|
84432
|
+
updated_at: string;
|
|
84433
|
+
webhook_last_error: string | null;
|
|
84434
|
+
webhook_status: string | null;
|
|
84435
|
+
};
|
|
84436
|
+
Insert: {
|
|
84437
|
+
connection_id: string;
|
|
84438
|
+
created_at?: string;
|
|
84439
|
+
folder_id: string;
|
|
84440
|
+
folder_name?: string | null;
|
|
84441
|
+
gmail_history_id?: string | null;
|
|
84442
|
+
graph_subscription_expires_at?: string | null;
|
|
84443
|
+
graph_subscription_id?: string | null;
|
|
84444
|
+
id?: string;
|
|
84445
|
+
imap_last_uid?: number | null;
|
|
84446
|
+
imap_uid_validity?: number | null;
|
|
84447
|
+
mailbox?: string;
|
|
84448
|
+
provider: string;
|
|
84449
|
+
updated_at?: string;
|
|
84450
|
+
webhook_last_error?: string | null;
|
|
84451
|
+
webhook_status?: string | null;
|
|
84452
|
+
};
|
|
84453
|
+
Update: {
|
|
84454
|
+
connection_id?: string;
|
|
84455
|
+
created_at?: string;
|
|
84456
|
+
folder_id?: string;
|
|
84457
|
+
folder_name?: string | null;
|
|
84458
|
+
gmail_history_id?: string | null;
|
|
84459
|
+
graph_subscription_expires_at?: string | null;
|
|
84460
|
+
graph_subscription_id?: string | null;
|
|
84461
|
+
id?: string;
|
|
84462
|
+
imap_last_uid?: number | null;
|
|
84463
|
+
imap_uid_validity?: number | null;
|
|
84464
|
+
mailbox?: string;
|
|
84465
|
+
provider?: string;
|
|
84466
|
+
updated_at?: string;
|
|
84467
|
+
webhook_last_error?: string | null;
|
|
84468
|
+
webhook_status?: string | null;
|
|
84469
|
+
};
|
|
84470
|
+
Relationships: [{
|
|
84471
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
84472
|
+
columns: ["connection_id"];
|
|
84473
|
+
isOneToOne: false;
|
|
84474
|
+
referencedRelation: "email_auth_connections";
|
|
84475
|
+
referencedColumns: ["id"];
|
|
84476
|
+
}, {
|
|
84477
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
84478
|
+
columns: ["connection_id"];
|
|
84479
|
+
isOneToOne: false;
|
|
84480
|
+
referencedRelation: "email_auth_connections_safe";
|
|
84481
|
+
referencedColumns: ["id"];
|
|
84482
|
+
}];
|
|
84483
|
+
};
|
|
83085
84484
|
email_auth_webhook_log: {
|
|
83086
84485
|
Row: {
|
|
83087
84486
|
body_sample: string | null;
|
|
@@ -86349,6 +87748,36 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
86349
87748
|
};
|
|
86350
87749
|
Relationships: [];
|
|
86351
87750
|
};
|
|
87751
|
+
invoice_post_idempotency: {
|
|
87752
|
+
Row: {
|
|
87753
|
+
client_request_id: string;
|
|
87754
|
+
completed_at: string | null;
|
|
87755
|
+
created_at: string;
|
|
87756
|
+
error_message: string | null;
|
|
87757
|
+
invoice_number: string | null;
|
|
87758
|
+
status: string;
|
|
87759
|
+
user_id: string;
|
|
87760
|
+
};
|
|
87761
|
+
Insert: {
|
|
87762
|
+
client_request_id: string;
|
|
87763
|
+
completed_at?: string | null;
|
|
87764
|
+
created_at?: string;
|
|
87765
|
+
error_message?: string | null;
|
|
87766
|
+
invoice_number?: string | null;
|
|
87767
|
+
status?: string;
|
|
87768
|
+
user_id: string;
|
|
87769
|
+
};
|
|
87770
|
+
Update: {
|
|
87771
|
+
client_request_id?: string;
|
|
87772
|
+
completed_at?: string | null;
|
|
87773
|
+
created_at?: string;
|
|
87774
|
+
error_message?: string | null;
|
|
87775
|
+
invoice_number?: string | null;
|
|
87776
|
+
status?: string;
|
|
87777
|
+
user_id?: string;
|
|
87778
|
+
};
|
|
87779
|
+
Relationships: [];
|
|
87780
|
+
};
|
|
86352
87781
|
invoice_push_log: {
|
|
86353
87782
|
Row: {
|
|
86354
87783
|
connection_id: string | null;
|
|
@@ -87204,6 +88633,96 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
87204
88633
|
referencedColumns: ["id"];
|
|
87205
88634
|
}];
|
|
87206
88635
|
};
|
|
88636
|
+
logistics_rule_configs: {
|
|
88637
|
+
Row: {
|
|
88638
|
+
created_at: string;
|
|
88639
|
+
current_version: number;
|
|
88640
|
+
description: string | null;
|
|
88641
|
+
id: string;
|
|
88642
|
+
is_active: boolean;
|
|
88643
|
+
name: string;
|
|
88644
|
+
settings: import("../integrations/supabase/types").Json;
|
|
88645
|
+
status: string;
|
|
88646
|
+
strategy_id: string | null;
|
|
88647
|
+
updated_at: string;
|
|
88648
|
+
user_id: string;
|
|
88649
|
+
};
|
|
88650
|
+
Insert: {
|
|
88651
|
+
created_at?: string;
|
|
88652
|
+
current_version?: number;
|
|
88653
|
+
description?: string | null;
|
|
88654
|
+
id?: string;
|
|
88655
|
+
is_active?: boolean;
|
|
88656
|
+
name: string;
|
|
88657
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
88658
|
+
status?: string;
|
|
88659
|
+
strategy_id?: string | null;
|
|
88660
|
+
updated_at?: string;
|
|
88661
|
+
user_id?: string;
|
|
88662
|
+
};
|
|
88663
|
+
Update: {
|
|
88664
|
+
created_at?: string;
|
|
88665
|
+
current_version?: number;
|
|
88666
|
+
description?: string | null;
|
|
88667
|
+
id?: string;
|
|
88668
|
+
is_active?: boolean;
|
|
88669
|
+
name?: string;
|
|
88670
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
88671
|
+
status?: string;
|
|
88672
|
+
strategy_id?: string | null;
|
|
88673
|
+
updated_at?: string;
|
|
88674
|
+
user_id?: string;
|
|
88675
|
+
};
|
|
88676
|
+
Relationships: [{
|
|
88677
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
88678
|
+
columns: ["strategy_id"];
|
|
88679
|
+
isOneToOne: false;
|
|
88680
|
+
referencedRelation: "logistics_strategies";
|
|
88681
|
+
referencedColumns: ["id"];
|
|
88682
|
+
}];
|
|
88683
|
+
};
|
|
88684
|
+
logistics_rule_versions: {
|
|
88685
|
+
Row: {
|
|
88686
|
+
config_id: string;
|
|
88687
|
+
created_at: string;
|
|
88688
|
+
id: string;
|
|
88689
|
+
label: string | null;
|
|
88690
|
+
note: string | null;
|
|
88691
|
+
settings: import("../integrations/supabase/types").Json;
|
|
88692
|
+
status: string;
|
|
88693
|
+
user_id: string;
|
|
88694
|
+
version: number;
|
|
88695
|
+
};
|
|
88696
|
+
Insert: {
|
|
88697
|
+
config_id: string;
|
|
88698
|
+
created_at?: string;
|
|
88699
|
+
id?: string;
|
|
88700
|
+
label?: string | null;
|
|
88701
|
+
note?: string | null;
|
|
88702
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
88703
|
+
status?: string;
|
|
88704
|
+
user_id?: string;
|
|
88705
|
+
version: number;
|
|
88706
|
+
};
|
|
88707
|
+
Update: {
|
|
88708
|
+
config_id?: string;
|
|
88709
|
+
created_at?: string;
|
|
88710
|
+
id?: string;
|
|
88711
|
+
label?: string | null;
|
|
88712
|
+
note?: string | null;
|
|
88713
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
88714
|
+
status?: string;
|
|
88715
|
+
user_id?: string;
|
|
88716
|
+
version?: number;
|
|
88717
|
+
};
|
|
88718
|
+
Relationships: [{
|
|
88719
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
88720
|
+
columns: ["config_id"];
|
|
88721
|
+
isOneToOne: false;
|
|
88722
|
+
referencedRelation: "logistics_rule_configs";
|
|
88723
|
+
referencedColumns: ["id"];
|
|
88724
|
+
}];
|
|
88725
|
+
};
|
|
87207
88726
|
logistics_strategies: {
|
|
87208
88727
|
Row: {
|
|
87209
88728
|
color: string;
|
|
@@ -93021,6 +94540,27 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
93021
94540
|
};
|
|
93022
94541
|
Relationships: [];
|
|
93023
94542
|
};
|
|
94543
|
+
twinfield_revoked_accounts: {
|
|
94544
|
+
Row: {
|
|
94545
|
+
account_key: string;
|
|
94546
|
+
last_revoke_error: string | null;
|
|
94547
|
+
revoked_at: string;
|
|
94548
|
+
user_id: string;
|
|
94549
|
+
};
|
|
94550
|
+
Insert: {
|
|
94551
|
+
account_key: string;
|
|
94552
|
+
last_revoke_error?: string | null;
|
|
94553
|
+
revoked_at?: string;
|
|
94554
|
+
user_id: string;
|
|
94555
|
+
};
|
|
94556
|
+
Update: {
|
|
94557
|
+
account_key?: string;
|
|
94558
|
+
last_revoke_error?: string | null;
|
|
94559
|
+
revoked_at?: string;
|
|
94560
|
+
user_id?: string;
|
|
94561
|
+
};
|
|
94562
|
+
Relationships: [];
|
|
94563
|
+
};
|
|
93024
94564
|
twinfield_session_cache: {
|
|
93025
94565
|
Row: {
|
|
93026
94566
|
cluster: string;
|
|
@@ -93123,6 +94663,48 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
93123
94663
|
referencedColumns: ["id"];
|
|
93124
94664
|
}];
|
|
93125
94665
|
};
|
|
94666
|
+
voorraad_custom_fields: {
|
|
94667
|
+
Row: {
|
|
94668
|
+
created_at: string;
|
|
94669
|
+
field_key: string;
|
|
94670
|
+
field_label: string;
|
|
94671
|
+
field_type: string;
|
|
94672
|
+
id: string;
|
|
94673
|
+
options: string[];
|
|
94674
|
+
show_in_columns: boolean;
|
|
94675
|
+
show_in_detail: boolean;
|
|
94676
|
+
show_in_template: boolean;
|
|
94677
|
+
sort_order: number;
|
|
94678
|
+
updated_at: string;
|
|
94679
|
+
};
|
|
94680
|
+
Insert: {
|
|
94681
|
+
created_at?: string;
|
|
94682
|
+
field_key: string;
|
|
94683
|
+
field_label: string;
|
|
94684
|
+
field_type?: string;
|
|
94685
|
+
id?: string;
|
|
94686
|
+
options?: string[];
|
|
94687
|
+
show_in_columns?: boolean;
|
|
94688
|
+
show_in_detail?: boolean;
|
|
94689
|
+
show_in_template?: boolean;
|
|
94690
|
+
sort_order?: number;
|
|
94691
|
+
updated_at?: string;
|
|
94692
|
+
};
|
|
94693
|
+
Update: {
|
|
94694
|
+
created_at?: string;
|
|
94695
|
+
field_key?: string;
|
|
94696
|
+
field_label?: string;
|
|
94697
|
+
field_type?: string;
|
|
94698
|
+
id?: string;
|
|
94699
|
+
options?: string[];
|
|
94700
|
+
show_in_columns?: boolean;
|
|
94701
|
+
show_in_detail?: boolean;
|
|
94702
|
+
show_in_template?: boolean;
|
|
94703
|
+
sort_order?: number;
|
|
94704
|
+
updated_at?: string;
|
|
94705
|
+
};
|
|
94706
|
+
Relationships: [];
|
|
94707
|
+
};
|
|
93126
94708
|
voorraad_media_upload_failures: {
|
|
93127
94709
|
Row: {
|
|
93128
94710
|
action: string;
|
|
@@ -95405,6 +96987,13 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
95405
96987
|
};
|
|
95406
96988
|
Returns: number;
|
|
95407
96989
|
};
|
|
96990
|
+
release_debtor_lock: {
|
|
96991
|
+
Args: {
|
|
96992
|
+
_group_key: string;
|
|
96993
|
+
_user_id: string;
|
|
96994
|
+
};
|
|
96995
|
+
Returns: boolean;
|
|
96996
|
+
};
|
|
95408
96997
|
reorder_customer_price_groups: {
|
|
95409
96998
|
Args: {
|
|
95410
96999
|
_ids: string[];
|
|
@@ -95784,6 +97373,13 @@ export declare const getAiModuleCalls: import("@tanstack/start-client-core").Req
|
|
|
95784
97373
|
};
|
|
95785
97374
|
Returns: undefined;
|
|
95786
97375
|
};
|
|
97376
|
+
try_debtor_lock: {
|
|
97377
|
+
Args: {
|
|
97378
|
+
_group_key: string;
|
|
97379
|
+
_user_id: string;
|
|
97380
|
+
};
|
|
97381
|
+
Returns: boolean;
|
|
97382
|
+
};
|
|
95787
97383
|
twinfield_register_cron: {
|
|
95788
97384
|
Args: {
|
|
95789
97385
|
apikey: string;
|