@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
|
@@ -2936,6 +2936,7 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
2936
2936
|
status: string;
|
|
2937
2937
|
token_expires_at: string | null;
|
|
2938
2938
|
updated_at: string;
|
|
2939
|
+
watch_scope: string;
|
|
2939
2940
|
webhook_last_attempt_at: string | null;
|
|
2940
2941
|
webhook_last_error: string | null;
|
|
2941
2942
|
webhook_status: string;
|
|
@@ -2978,6 +2979,7 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
2978
2979
|
status?: string;
|
|
2979
2980
|
token_expires_at?: string | null;
|
|
2980
2981
|
updated_at?: string;
|
|
2982
|
+
watch_scope?: string;
|
|
2981
2983
|
webhook_last_attempt_at?: string | null;
|
|
2982
2984
|
webhook_last_error?: string | null;
|
|
2983
2985
|
webhook_status?: string;
|
|
@@ -3020,6 +3022,7 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
3020
3022
|
status?: string;
|
|
3021
3023
|
token_expires_at?: string | null;
|
|
3022
3024
|
updated_at?: string;
|
|
3025
|
+
watch_scope?: string;
|
|
3023
3026
|
webhook_last_attempt_at?: string | null;
|
|
3024
3027
|
webhook_last_error?: string | null;
|
|
3025
3028
|
webhook_status?: string;
|
|
@@ -3218,6 +3221,72 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
3218
3221
|
referencedColumns: ["id"];
|
|
3219
3222
|
}];
|
|
3220
3223
|
};
|
|
3224
|
+
email_auth_watch_folders: {
|
|
3225
|
+
Row: {
|
|
3226
|
+
connection_id: string;
|
|
3227
|
+
created_at: string;
|
|
3228
|
+
folder_id: string;
|
|
3229
|
+
folder_name: string | null;
|
|
3230
|
+
gmail_history_id: string | null;
|
|
3231
|
+
graph_subscription_expires_at: string | null;
|
|
3232
|
+
graph_subscription_id: string | null;
|
|
3233
|
+
id: string;
|
|
3234
|
+
imap_last_uid: number | null;
|
|
3235
|
+
imap_uid_validity: number | null;
|
|
3236
|
+
mailbox: string;
|
|
3237
|
+
provider: string;
|
|
3238
|
+
updated_at: string;
|
|
3239
|
+
webhook_last_error: string | null;
|
|
3240
|
+
webhook_status: string | null;
|
|
3241
|
+
};
|
|
3242
|
+
Insert: {
|
|
3243
|
+
connection_id: string;
|
|
3244
|
+
created_at?: string;
|
|
3245
|
+
folder_id: string;
|
|
3246
|
+
folder_name?: string | null;
|
|
3247
|
+
gmail_history_id?: string | null;
|
|
3248
|
+
graph_subscription_expires_at?: string | null;
|
|
3249
|
+
graph_subscription_id?: string | null;
|
|
3250
|
+
id?: string;
|
|
3251
|
+
imap_last_uid?: number | null;
|
|
3252
|
+
imap_uid_validity?: number | null;
|
|
3253
|
+
mailbox?: string;
|
|
3254
|
+
provider: string;
|
|
3255
|
+
updated_at?: string;
|
|
3256
|
+
webhook_last_error?: string | null;
|
|
3257
|
+
webhook_status?: string | null;
|
|
3258
|
+
};
|
|
3259
|
+
Update: {
|
|
3260
|
+
connection_id?: string;
|
|
3261
|
+
created_at?: string;
|
|
3262
|
+
folder_id?: string;
|
|
3263
|
+
folder_name?: string | null;
|
|
3264
|
+
gmail_history_id?: string | null;
|
|
3265
|
+
graph_subscription_expires_at?: string | null;
|
|
3266
|
+
graph_subscription_id?: string | null;
|
|
3267
|
+
id?: string;
|
|
3268
|
+
imap_last_uid?: number | null;
|
|
3269
|
+
imap_uid_validity?: number | null;
|
|
3270
|
+
mailbox?: string;
|
|
3271
|
+
provider?: string;
|
|
3272
|
+
updated_at?: string;
|
|
3273
|
+
webhook_last_error?: string | null;
|
|
3274
|
+
webhook_status?: string | null;
|
|
3275
|
+
};
|
|
3276
|
+
Relationships: [{
|
|
3277
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3278
|
+
columns: ["connection_id"];
|
|
3279
|
+
isOneToOne: false;
|
|
3280
|
+
referencedRelation: "email_auth_connections";
|
|
3281
|
+
referencedColumns: ["id"];
|
|
3282
|
+
}, {
|
|
3283
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3284
|
+
columns: ["connection_id"];
|
|
3285
|
+
isOneToOne: false;
|
|
3286
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3287
|
+
referencedColumns: ["id"];
|
|
3288
|
+
}];
|
|
3289
|
+
};
|
|
3221
3290
|
email_auth_webhook_log: {
|
|
3222
3291
|
Row: {
|
|
3223
3292
|
body_sample: string | null;
|
|
@@ -6485,6 +6554,36 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
6485
6554
|
};
|
|
6486
6555
|
Relationships: [];
|
|
6487
6556
|
};
|
|
6557
|
+
invoice_post_idempotency: {
|
|
6558
|
+
Row: {
|
|
6559
|
+
client_request_id: string;
|
|
6560
|
+
completed_at: string | null;
|
|
6561
|
+
created_at: string;
|
|
6562
|
+
error_message: string | null;
|
|
6563
|
+
invoice_number: string | null;
|
|
6564
|
+
status: string;
|
|
6565
|
+
user_id: string;
|
|
6566
|
+
};
|
|
6567
|
+
Insert: {
|
|
6568
|
+
client_request_id: string;
|
|
6569
|
+
completed_at?: string | null;
|
|
6570
|
+
created_at?: string;
|
|
6571
|
+
error_message?: string | null;
|
|
6572
|
+
invoice_number?: string | null;
|
|
6573
|
+
status?: string;
|
|
6574
|
+
user_id: string;
|
|
6575
|
+
};
|
|
6576
|
+
Update: {
|
|
6577
|
+
client_request_id?: string;
|
|
6578
|
+
completed_at?: string | null;
|
|
6579
|
+
created_at?: string;
|
|
6580
|
+
error_message?: string | null;
|
|
6581
|
+
invoice_number?: string | null;
|
|
6582
|
+
status?: string;
|
|
6583
|
+
user_id?: string;
|
|
6584
|
+
};
|
|
6585
|
+
Relationships: [];
|
|
6586
|
+
};
|
|
6488
6587
|
invoice_push_log: {
|
|
6489
6588
|
Row: {
|
|
6490
6589
|
connection_id: string | null;
|
|
@@ -7340,6 +7439,96 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
7340
7439
|
referencedColumns: ["id"];
|
|
7341
7440
|
}];
|
|
7342
7441
|
};
|
|
7442
|
+
logistics_rule_configs: {
|
|
7443
|
+
Row: {
|
|
7444
|
+
created_at: string;
|
|
7445
|
+
current_version: number;
|
|
7446
|
+
description: string | null;
|
|
7447
|
+
id: string;
|
|
7448
|
+
is_active: boolean;
|
|
7449
|
+
name: string;
|
|
7450
|
+
settings: import("../integrations/supabase/types").Json;
|
|
7451
|
+
status: string;
|
|
7452
|
+
strategy_id: string | null;
|
|
7453
|
+
updated_at: string;
|
|
7454
|
+
user_id: string;
|
|
7455
|
+
};
|
|
7456
|
+
Insert: {
|
|
7457
|
+
created_at?: string;
|
|
7458
|
+
current_version?: number;
|
|
7459
|
+
description?: string | null;
|
|
7460
|
+
id?: string;
|
|
7461
|
+
is_active?: boolean;
|
|
7462
|
+
name: string;
|
|
7463
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7464
|
+
status?: string;
|
|
7465
|
+
strategy_id?: string | null;
|
|
7466
|
+
updated_at?: string;
|
|
7467
|
+
user_id?: string;
|
|
7468
|
+
};
|
|
7469
|
+
Update: {
|
|
7470
|
+
created_at?: string;
|
|
7471
|
+
current_version?: number;
|
|
7472
|
+
description?: string | null;
|
|
7473
|
+
id?: string;
|
|
7474
|
+
is_active?: boolean;
|
|
7475
|
+
name?: string;
|
|
7476
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7477
|
+
status?: string;
|
|
7478
|
+
strategy_id?: string | null;
|
|
7479
|
+
updated_at?: string;
|
|
7480
|
+
user_id?: string;
|
|
7481
|
+
};
|
|
7482
|
+
Relationships: [{
|
|
7483
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
7484
|
+
columns: ["strategy_id"];
|
|
7485
|
+
isOneToOne: false;
|
|
7486
|
+
referencedRelation: "logistics_strategies";
|
|
7487
|
+
referencedColumns: ["id"];
|
|
7488
|
+
}];
|
|
7489
|
+
};
|
|
7490
|
+
logistics_rule_versions: {
|
|
7491
|
+
Row: {
|
|
7492
|
+
config_id: string;
|
|
7493
|
+
created_at: string;
|
|
7494
|
+
id: string;
|
|
7495
|
+
label: string | null;
|
|
7496
|
+
note: string | null;
|
|
7497
|
+
settings: import("../integrations/supabase/types").Json;
|
|
7498
|
+
status: string;
|
|
7499
|
+
user_id: string;
|
|
7500
|
+
version: number;
|
|
7501
|
+
};
|
|
7502
|
+
Insert: {
|
|
7503
|
+
config_id: string;
|
|
7504
|
+
created_at?: string;
|
|
7505
|
+
id?: string;
|
|
7506
|
+
label?: string | null;
|
|
7507
|
+
note?: string | null;
|
|
7508
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7509
|
+
status?: string;
|
|
7510
|
+
user_id?: string;
|
|
7511
|
+
version: number;
|
|
7512
|
+
};
|
|
7513
|
+
Update: {
|
|
7514
|
+
config_id?: string;
|
|
7515
|
+
created_at?: string;
|
|
7516
|
+
id?: string;
|
|
7517
|
+
label?: string | null;
|
|
7518
|
+
note?: string | null;
|
|
7519
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7520
|
+
status?: string;
|
|
7521
|
+
user_id?: string;
|
|
7522
|
+
version?: number;
|
|
7523
|
+
};
|
|
7524
|
+
Relationships: [{
|
|
7525
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
7526
|
+
columns: ["config_id"];
|
|
7527
|
+
isOneToOne: false;
|
|
7528
|
+
referencedRelation: "logistics_rule_configs";
|
|
7529
|
+
referencedColumns: ["id"];
|
|
7530
|
+
}];
|
|
7531
|
+
};
|
|
7343
7532
|
logistics_strategies: {
|
|
7344
7533
|
Row: {
|
|
7345
7534
|
color: string;
|
|
@@ -13157,6 +13346,27 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
13157
13346
|
};
|
|
13158
13347
|
Relationships: [];
|
|
13159
13348
|
};
|
|
13349
|
+
twinfield_revoked_accounts: {
|
|
13350
|
+
Row: {
|
|
13351
|
+
account_key: string;
|
|
13352
|
+
last_revoke_error: string | null;
|
|
13353
|
+
revoked_at: string;
|
|
13354
|
+
user_id: string;
|
|
13355
|
+
};
|
|
13356
|
+
Insert: {
|
|
13357
|
+
account_key: string;
|
|
13358
|
+
last_revoke_error?: string | null;
|
|
13359
|
+
revoked_at?: string;
|
|
13360
|
+
user_id: string;
|
|
13361
|
+
};
|
|
13362
|
+
Update: {
|
|
13363
|
+
account_key?: string;
|
|
13364
|
+
last_revoke_error?: string | null;
|
|
13365
|
+
revoked_at?: string;
|
|
13366
|
+
user_id?: string;
|
|
13367
|
+
};
|
|
13368
|
+
Relationships: [];
|
|
13369
|
+
};
|
|
13160
13370
|
twinfield_session_cache: {
|
|
13161
13371
|
Row: {
|
|
13162
13372
|
cluster: string;
|
|
@@ -13259,6 +13469,48 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
13259
13469
|
referencedColumns: ["id"];
|
|
13260
13470
|
}];
|
|
13261
13471
|
};
|
|
13472
|
+
voorraad_custom_fields: {
|
|
13473
|
+
Row: {
|
|
13474
|
+
created_at: string;
|
|
13475
|
+
field_key: string;
|
|
13476
|
+
field_label: string;
|
|
13477
|
+
field_type: string;
|
|
13478
|
+
id: string;
|
|
13479
|
+
options: string[];
|
|
13480
|
+
show_in_columns: boolean;
|
|
13481
|
+
show_in_detail: boolean;
|
|
13482
|
+
show_in_template: boolean;
|
|
13483
|
+
sort_order: number;
|
|
13484
|
+
updated_at: string;
|
|
13485
|
+
};
|
|
13486
|
+
Insert: {
|
|
13487
|
+
created_at?: string;
|
|
13488
|
+
field_key: string;
|
|
13489
|
+
field_label: string;
|
|
13490
|
+
field_type?: string;
|
|
13491
|
+
id?: string;
|
|
13492
|
+
options?: string[];
|
|
13493
|
+
show_in_columns?: boolean;
|
|
13494
|
+
show_in_detail?: boolean;
|
|
13495
|
+
show_in_template?: boolean;
|
|
13496
|
+
sort_order?: number;
|
|
13497
|
+
updated_at?: string;
|
|
13498
|
+
};
|
|
13499
|
+
Update: {
|
|
13500
|
+
created_at?: string;
|
|
13501
|
+
field_key?: string;
|
|
13502
|
+
field_label?: string;
|
|
13503
|
+
field_type?: string;
|
|
13504
|
+
id?: string;
|
|
13505
|
+
options?: string[];
|
|
13506
|
+
show_in_columns?: boolean;
|
|
13507
|
+
show_in_detail?: boolean;
|
|
13508
|
+
show_in_template?: boolean;
|
|
13509
|
+
sort_order?: number;
|
|
13510
|
+
updated_at?: string;
|
|
13511
|
+
};
|
|
13512
|
+
Relationships: [];
|
|
13513
|
+
};
|
|
13262
13514
|
voorraad_media_upload_failures: {
|
|
13263
13515
|
Row: {
|
|
13264
13516
|
action: string;
|
|
@@ -15541,6 +15793,13 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
15541
15793
|
};
|
|
15542
15794
|
Returns: number;
|
|
15543
15795
|
};
|
|
15796
|
+
release_debtor_lock: {
|
|
15797
|
+
Args: {
|
|
15798
|
+
_group_key: string;
|
|
15799
|
+
_user_id: string;
|
|
15800
|
+
};
|
|
15801
|
+
Returns: boolean;
|
|
15802
|
+
};
|
|
15544
15803
|
reorder_customer_price_groups: {
|
|
15545
15804
|
Args: {
|
|
15546
15805
|
_ids: string[];
|
|
@@ -15920,6 +16179,13 @@ export declare const runAiChat: import("@tanstack/start-client-core").OptionalFe
|
|
|
15920
16179
|
};
|
|
15921
16180
|
Returns: undefined;
|
|
15922
16181
|
};
|
|
16182
|
+
try_debtor_lock: {
|
|
16183
|
+
Args: {
|
|
16184
|
+
_group_key: string;
|
|
16185
|
+
_user_id: string;
|
|
16186
|
+
};
|
|
16187
|
+
Returns: boolean;
|
|
16188
|
+
};
|
|
15923
16189
|
twinfield_register_cron: {
|
|
15924
16190
|
Args: {
|
|
15925
16191
|
apikey: string;
|
|
@@ -18905,6 +19171,7 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
18905
19171
|
status: string;
|
|
18906
19172
|
token_expires_at: string | null;
|
|
18907
19173
|
updated_at: string;
|
|
19174
|
+
watch_scope: string;
|
|
18908
19175
|
webhook_last_attempt_at: string | null;
|
|
18909
19176
|
webhook_last_error: string | null;
|
|
18910
19177
|
webhook_status: string;
|
|
@@ -18947,6 +19214,7 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
18947
19214
|
status?: string;
|
|
18948
19215
|
token_expires_at?: string | null;
|
|
18949
19216
|
updated_at?: string;
|
|
19217
|
+
watch_scope?: string;
|
|
18950
19218
|
webhook_last_attempt_at?: string | null;
|
|
18951
19219
|
webhook_last_error?: string | null;
|
|
18952
19220
|
webhook_status?: string;
|
|
@@ -18989,6 +19257,7 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
18989
19257
|
status?: string;
|
|
18990
19258
|
token_expires_at?: string | null;
|
|
18991
19259
|
updated_at?: string;
|
|
19260
|
+
watch_scope?: string;
|
|
18992
19261
|
webhook_last_attempt_at?: string | null;
|
|
18993
19262
|
webhook_last_error?: string | null;
|
|
18994
19263
|
webhook_status?: string;
|
|
@@ -19187,6 +19456,72 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
19187
19456
|
referencedColumns: ["id"];
|
|
19188
19457
|
}];
|
|
19189
19458
|
};
|
|
19459
|
+
email_auth_watch_folders: {
|
|
19460
|
+
Row: {
|
|
19461
|
+
connection_id: string;
|
|
19462
|
+
created_at: string;
|
|
19463
|
+
folder_id: string;
|
|
19464
|
+
folder_name: string | null;
|
|
19465
|
+
gmail_history_id: string | null;
|
|
19466
|
+
graph_subscription_expires_at: string | null;
|
|
19467
|
+
graph_subscription_id: string | null;
|
|
19468
|
+
id: string;
|
|
19469
|
+
imap_last_uid: number | null;
|
|
19470
|
+
imap_uid_validity: number | null;
|
|
19471
|
+
mailbox: string;
|
|
19472
|
+
provider: string;
|
|
19473
|
+
updated_at: string;
|
|
19474
|
+
webhook_last_error: string | null;
|
|
19475
|
+
webhook_status: string | null;
|
|
19476
|
+
};
|
|
19477
|
+
Insert: {
|
|
19478
|
+
connection_id: string;
|
|
19479
|
+
created_at?: string;
|
|
19480
|
+
folder_id: string;
|
|
19481
|
+
folder_name?: string | null;
|
|
19482
|
+
gmail_history_id?: string | null;
|
|
19483
|
+
graph_subscription_expires_at?: string | null;
|
|
19484
|
+
graph_subscription_id?: string | null;
|
|
19485
|
+
id?: string;
|
|
19486
|
+
imap_last_uid?: number | null;
|
|
19487
|
+
imap_uid_validity?: number | null;
|
|
19488
|
+
mailbox?: string;
|
|
19489
|
+
provider: string;
|
|
19490
|
+
updated_at?: string;
|
|
19491
|
+
webhook_last_error?: string | null;
|
|
19492
|
+
webhook_status?: string | null;
|
|
19493
|
+
};
|
|
19494
|
+
Update: {
|
|
19495
|
+
connection_id?: string;
|
|
19496
|
+
created_at?: string;
|
|
19497
|
+
folder_id?: string;
|
|
19498
|
+
folder_name?: string | null;
|
|
19499
|
+
gmail_history_id?: string | null;
|
|
19500
|
+
graph_subscription_expires_at?: string | null;
|
|
19501
|
+
graph_subscription_id?: string | null;
|
|
19502
|
+
id?: string;
|
|
19503
|
+
imap_last_uid?: number | null;
|
|
19504
|
+
imap_uid_validity?: number | null;
|
|
19505
|
+
mailbox?: string;
|
|
19506
|
+
provider?: string;
|
|
19507
|
+
updated_at?: string;
|
|
19508
|
+
webhook_last_error?: string | null;
|
|
19509
|
+
webhook_status?: string | null;
|
|
19510
|
+
};
|
|
19511
|
+
Relationships: [{
|
|
19512
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
19513
|
+
columns: ["connection_id"];
|
|
19514
|
+
isOneToOne: false;
|
|
19515
|
+
referencedRelation: "email_auth_connections";
|
|
19516
|
+
referencedColumns: ["id"];
|
|
19517
|
+
}, {
|
|
19518
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
19519
|
+
columns: ["connection_id"];
|
|
19520
|
+
isOneToOne: false;
|
|
19521
|
+
referencedRelation: "email_auth_connections_safe";
|
|
19522
|
+
referencedColumns: ["id"];
|
|
19523
|
+
}];
|
|
19524
|
+
};
|
|
19190
19525
|
email_auth_webhook_log: {
|
|
19191
19526
|
Row: {
|
|
19192
19527
|
body_sample: string | null;
|
|
@@ -22454,6 +22789,36 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
22454
22789
|
};
|
|
22455
22790
|
Relationships: [];
|
|
22456
22791
|
};
|
|
22792
|
+
invoice_post_idempotency: {
|
|
22793
|
+
Row: {
|
|
22794
|
+
client_request_id: string;
|
|
22795
|
+
completed_at: string | null;
|
|
22796
|
+
created_at: string;
|
|
22797
|
+
error_message: string | null;
|
|
22798
|
+
invoice_number: string | null;
|
|
22799
|
+
status: string;
|
|
22800
|
+
user_id: string;
|
|
22801
|
+
};
|
|
22802
|
+
Insert: {
|
|
22803
|
+
client_request_id: string;
|
|
22804
|
+
completed_at?: string | null;
|
|
22805
|
+
created_at?: string;
|
|
22806
|
+
error_message?: string | null;
|
|
22807
|
+
invoice_number?: string | null;
|
|
22808
|
+
status?: string;
|
|
22809
|
+
user_id: string;
|
|
22810
|
+
};
|
|
22811
|
+
Update: {
|
|
22812
|
+
client_request_id?: string;
|
|
22813
|
+
completed_at?: string | null;
|
|
22814
|
+
created_at?: string;
|
|
22815
|
+
error_message?: string | null;
|
|
22816
|
+
invoice_number?: string | null;
|
|
22817
|
+
status?: string;
|
|
22818
|
+
user_id?: string;
|
|
22819
|
+
};
|
|
22820
|
+
Relationships: [];
|
|
22821
|
+
};
|
|
22457
22822
|
invoice_push_log: {
|
|
22458
22823
|
Row: {
|
|
22459
22824
|
connection_id: string | null;
|
|
@@ -23309,6 +23674,96 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
23309
23674
|
referencedColumns: ["id"];
|
|
23310
23675
|
}];
|
|
23311
23676
|
};
|
|
23677
|
+
logistics_rule_configs: {
|
|
23678
|
+
Row: {
|
|
23679
|
+
created_at: string;
|
|
23680
|
+
current_version: number;
|
|
23681
|
+
description: string | null;
|
|
23682
|
+
id: string;
|
|
23683
|
+
is_active: boolean;
|
|
23684
|
+
name: string;
|
|
23685
|
+
settings: import("../integrations/supabase/types").Json;
|
|
23686
|
+
status: string;
|
|
23687
|
+
strategy_id: string | null;
|
|
23688
|
+
updated_at: string;
|
|
23689
|
+
user_id: string;
|
|
23690
|
+
};
|
|
23691
|
+
Insert: {
|
|
23692
|
+
created_at?: string;
|
|
23693
|
+
current_version?: number;
|
|
23694
|
+
description?: string | null;
|
|
23695
|
+
id?: string;
|
|
23696
|
+
is_active?: boolean;
|
|
23697
|
+
name: string;
|
|
23698
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23699
|
+
status?: string;
|
|
23700
|
+
strategy_id?: string | null;
|
|
23701
|
+
updated_at?: string;
|
|
23702
|
+
user_id?: string;
|
|
23703
|
+
};
|
|
23704
|
+
Update: {
|
|
23705
|
+
created_at?: string;
|
|
23706
|
+
current_version?: number;
|
|
23707
|
+
description?: string | null;
|
|
23708
|
+
id?: string;
|
|
23709
|
+
is_active?: boolean;
|
|
23710
|
+
name?: string;
|
|
23711
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23712
|
+
status?: string;
|
|
23713
|
+
strategy_id?: string | null;
|
|
23714
|
+
updated_at?: string;
|
|
23715
|
+
user_id?: string;
|
|
23716
|
+
};
|
|
23717
|
+
Relationships: [{
|
|
23718
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
23719
|
+
columns: ["strategy_id"];
|
|
23720
|
+
isOneToOne: false;
|
|
23721
|
+
referencedRelation: "logistics_strategies";
|
|
23722
|
+
referencedColumns: ["id"];
|
|
23723
|
+
}];
|
|
23724
|
+
};
|
|
23725
|
+
logistics_rule_versions: {
|
|
23726
|
+
Row: {
|
|
23727
|
+
config_id: string;
|
|
23728
|
+
created_at: string;
|
|
23729
|
+
id: string;
|
|
23730
|
+
label: string | null;
|
|
23731
|
+
note: string | null;
|
|
23732
|
+
settings: import("../integrations/supabase/types").Json;
|
|
23733
|
+
status: string;
|
|
23734
|
+
user_id: string;
|
|
23735
|
+
version: number;
|
|
23736
|
+
};
|
|
23737
|
+
Insert: {
|
|
23738
|
+
config_id: string;
|
|
23739
|
+
created_at?: string;
|
|
23740
|
+
id?: string;
|
|
23741
|
+
label?: string | null;
|
|
23742
|
+
note?: string | null;
|
|
23743
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23744
|
+
status?: string;
|
|
23745
|
+
user_id?: string;
|
|
23746
|
+
version: number;
|
|
23747
|
+
};
|
|
23748
|
+
Update: {
|
|
23749
|
+
config_id?: string;
|
|
23750
|
+
created_at?: string;
|
|
23751
|
+
id?: string;
|
|
23752
|
+
label?: string | null;
|
|
23753
|
+
note?: string | null;
|
|
23754
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23755
|
+
status?: string;
|
|
23756
|
+
user_id?: string;
|
|
23757
|
+
version?: number;
|
|
23758
|
+
};
|
|
23759
|
+
Relationships: [{
|
|
23760
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
23761
|
+
columns: ["config_id"];
|
|
23762
|
+
isOneToOne: false;
|
|
23763
|
+
referencedRelation: "logistics_rule_configs";
|
|
23764
|
+
referencedColumns: ["id"];
|
|
23765
|
+
}];
|
|
23766
|
+
};
|
|
23312
23767
|
logistics_strategies: {
|
|
23313
23768
|
Row: {
|
|
23314
23769
|
color: string;
|
|
@@ -29126,6 +29581,27 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
29126
29581
|
};
|
|
29127
29582
|
Relationships: [];
|
|
29128
29583
|
};
|
|
29584
|
+
twinfield_revoked_accounts: {
|
|
29585
|
+
Row: {
|
|
29586
|
+
account_key: string;
|
|
29587
|
+
last_revoke_error: string | null;
|
|
29588
|
+
revoked_at: string;
|
|
29589
|
+
user_id: string;
|
|
29590
|
+
};
|
|
29591
|
+
Insert: {
|
|
29592
|
+
account_key: string;
|
|
29593
|
+
last_revoke_error?: string | null;
|
|
29594
|
+
revoked_at?: string;
|
|
29595
|
+
user_id: string;
|
|
29596
|
+
};
|
|
29597
|
+
Update: {
|
|
29598
|
+
account_key?: string;
|
|
29599
|
+
last_revoke_error?: string | null;
|
|
29600
|
+
revoked_at?: string;
|
|
29601
|
+
user_id?: string;
|
|
29602
|
+
};
|
|
29603
|
+
Relationships: [];
|
|
29604
|
+
};
|
|
29129
29605
|
twinfield_session_cache: {
|
|
29130
29606
|
Row: {
|
|
29131
29607
|
cluster: string;
|
|
@@ -29228,6 +29704,48 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
29228
29704
|
referencedColumns: ["id"];
|
|
29229
29705
|
}];
|
|
29230
29706
|
};
|
|
29707
|
+
voorraad_custom_fields: {
|
|
29708
|
+
Row: {
|
|
29709
|
+
created_at: string;
|
|
29710
|
+
field_key: string;
|
|
29711
|
+
field_label: string;
|
|
29712
|
+
field_type: string;
|
|
29713
|
+
id: string;
|
|
29714
|
+
options: string[];
|
|
29715
|
+
show_in_columns: boolean;
|
|
29716
|
+
show_in_detail: boolean;
|
|
29717
|
+
show_in_template: boolean;
|
|
29718
|
+
sort_order: number;
|
|
29719
|
+
updated_at: string;
|
|
29720
|
+
};
|
|
29721
|
+
Insert: {
|
|
29722
|
+
created_at?: string;
|
|
29723
|
+
field_key: string;
|
|
29724
|
+
field_label: string;
|
|
29725
|
+
field_type?: string;
|
|
29726
|
+
id?: string;
|
|
29727
|
+
options?: string[];
|
|
29728
|
+
show_in_columns?: boolean;
|
|
29729
|
+
show_in_detail?: boolean;
|
|
29730
|
+
show_in_template?: boolean;
|
|
29731
|
+
sort_order?: number;
|
|
29732
|
+
updated_at?: string;
|
|
29733
|
+
};
|
|
29734
|
+
Update: {
|
|
29735
|
+
created_at?: string;
|
|
29736
|
+
field_key?: string;
|
|
29737
|
+
field_label?: string;
|
|
29738
|
+
field_type?: string;
|
|
29739
|
+
id?: string;
|
|
29740
|
+
options?: string[];
|
|
29741
|
+
show_in_columns?: boolean;
|
|
29742
|
+
show_in_detail?: boolean;
|
|
29743
|
+
show_in_template?: boolean;
|
|
29744
|
+
sort_order?: number;
|
|
29745
|
+
updated_at?: string;
|
|
29746
|
+
};
|
|
29747
|
+
Relationships: [];
|
|
29748
|
+
};
|
|
29231
29749
|
voorraad_media_upload_failures: {
|
|
29232
29750
|
Row: {
|
|
29233
29751
|
action: string;
|
|
@@ -31510,6 +32028,13 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
31510
32028
|
};
|
|
31511
32029
|
Returns: number;
|
|
31512
32030
|
};
|
|
32031
|
+
release_debtor_lock: {
|
|
32032
|
+
Args: {
|
|
32033
|
+
_group_key: string;
|
|
32034
|
+
_user_id: string;
|
|
32035
|
+
};
|
|
32036
|
+
Returns: boolean;
|
|
32037
|
+
};
|
|
31513
32038
|
reorder_customer_price_groups: {
|
|
31514
32039
|
Args: {
|
|
31515
32040
|
_ids: string[];
|
|
@@ -31889,6 +32414,13 @@ export declare const describeAiBinding: import("@tanstack/start-client-core").Op
|
|
|
31889
32414
|
};
|
|
31890
32415
|
Returns: undefined;
|
|
31891
32416
|
};
|
|
32417
|
+
try_debtor_lock: {
|
|
32418
|
+
Args: {
|
|
32419
|
+
_group_key: string;
|
|
32420
|
+
_user_id: string;
|
|
32421
|
+
};
|
|
32422
|
+
Returns: boolean;
|
|
32423
|
+
};
|
|
31892
32424
|
twinfield_register_cron: {
|
|
31893
32425
|
Args: {
|
|
31894
32426
|
apikey: string;
|