@flowselections/ai-authenticatie 1.0.3 → 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
|
@@ -2945,6 +2945,7 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
2945
2945
|
status: string;
|
|
2946
2946
|
token_expires_at: string | null;
|
|
2947
2947
|
updated_at: string;
|
|
2948
|
+
watch_scope: string;
|
|
2948
2949
|
webhook_last_attempt_at: string | null;
|
|
2949
2950
|
webhook_last_error: string | null;
|
|
2950
2951
|
webhook_status: string;
|
|
@@ -2987,6 +2988,7 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
2987
2988
|
status?: string;
|
|
2988
2989
|
token_expires_at?: string | null;
|
|
2989
2990
|
updated_at?: string;
|
|
2991
|
+
watch_scope?: string;
|
|
2990
2992
|
webhook_last_attempt_at?: string | null;
|
|
2991
2993
|
webhook_last_error?: string | null;
|
|
2992
2994
|
webhook_status?: string;
|
|
@@ -3029,6 +3031,7 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
3029
3031
|
status?: string;
|
|
3030
3032
|
token_expires_at?: string | null;
|
|
3031
3033
|
updated_at?: string;
|
|
3034
|
+
watch_scope?: string;
|
|
3032
3035
|
webhook_last_attempt_at?: string | null;
|
|
3033
3036
|
webhook_last_error?: string | null;
|
|
3034
3037
|
webhook_status?: string;
|
|
@@ -3227,6 +3230,72 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
3227
3230
|
referencedColumns: ["id"];
|
|
3228
3231
|
}];
|
|
3229
3232
|
};
|
|
3233
|
+
email_auth_watch_folders: {
|
|
3234
|
+
Row: {
|
|
3235
|
+
connection_id: string;
|
|
3236
|
+
created_at: string;
|
|
3237
|
+
folder_id: string;
|
|
3238
|
+
folder_name: string | null;
|
|
3239
|
+
gmail_history_id: string | null;
|
|
3240
|
+
graph_subscription_expires_at: string | null;
|
|
3241
|
+
graph_subscription_id: string | null;
|
|
3242
|
+
id: string;
|
|
3243
|
+
imap_last_uid: number | null;
|
|
3244
|
+
imap_uid_validity: number | null;
|
|
3245
|
+
mailbox: string;
|
|
3246
|
+
provider: string;
|
|
3247
|
+
updated_at: string;
|
|
3248
|
+
webhook_last_error: string | null;
|
|
3249
|
+
webhook_status: string | null;
|
|
3250
|
+
};
|
|
3251
|
+
Insert: {
|
|
3252
|
+
connection_id: string;
|
|
3253
|
+
created_at?: string;
|
|
3254
|
+
folder_id: string;
|
|
3255
|
+
folder_name?: string | null;
|
|
3256
|
+
gmail_history_id?: string | null;
|
|
3257
|
+
graph_subscription_expires_at?: string | null;
|
|
3258
|
+
graph_subscription_id?: string | null;
|
|
3259
|
+
id?: string;
|
|
3260
|
+
imap_last_uid?: number | null;
|
|
3261
|
+
imap_uid_validity?: number | null;
|
|
3262
|
+
mailbox?: string;
|
|
3263
|
+
provider: string;
|
|
3264
|
+
updated_at?: string;
|
|
3265
|
+
webhook_last_error?: string | null;
|
|
3266
|
+
webhook_status?: string | null;
|
|
3267
|
+
};
|
|
3268
|
+
Update: {
|
|
3269
|
+
connection_id?: string;
|
|
3270
|
+
created_at?: string;
|
|
3271
|
+
folder_id?: string;
|
|
3272
|
+
folder_name?: string | null;
|
|
3273
|
+
gmail_history_id?: string | null;
|
|
3274
|
+
graph_subscription_expires_at?: string | null;
|
|
3275
|
+
graph_subscription_id?: string | null;
|
|
3276
|
+
id?: string;
|
|
3277
|
+
imap_last_uid?: number | null;
|
|
3278
|
+
imap_uid_validity?: number | null;
|
|
3279
|
+
mailbox?: string;
|
|
3280
|
+
provider?: string;
|
|
3281
|
+
updated_at?: string;
|
|
3282
|
+
webhook_last_error?: string | null;
|
|
3283
|
+
webhook_status?: string | null;
|
|
3284
|
+
};
|
|
3285
|
+
Relationships: [{
|
|
3286
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3287
|
+
columns: ["connection_id"];
|
|
3288
|
+
isOneToOne: false;
|
|
3289
|
+
referencedRelation: "email_auth_connections";
|
|
3290
|
+
referencedColumns: ["id"];
|
|
3291
|
+
}, {
|
|
3292
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
3293
|
+
columns: ["connection_id"];
|
|
3294
|
+
isOneToOne: false;
|
|
3295
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3296
|
+
referencedColumns: ["id"];
|
|
3297
|
+
}];
|
|
3298
|
+
};
|
|
3230
3299
|
email_auth_webhook_log: {
|
|
3231
3300
|
Row: {
|
|
3232
3301
|
body_sample: string | null;
|
|
@@ -6494,6 +6563,36 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
6494
6563
|
};
|
|
6495
6564
|
Relationships: [];
|
|
6496
6565
|
};
|
|
6566
|
+
invoice_post_idempotency: {
|
|
6567
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
6586
|
+
client_request_id?: string;
|
|
6587
|
+
completed_at?: string | null;
|
|
6588
|
+
created_at?: string;
|
|
6589
|
+
error_message?: string | null;
|
|
6590
|
+
invoice_number?: string | null;
|
|
6591
|
+
status?: string;
|
|
6592
|
+
user_id?: string;
|
|
6593
|
+
};
|
|
6594
|
+
Relationships: [];
|
|
6595
|
+
};
|
|
6497
6596
|
invoice_push_log: {
|
|
6498
6597
|
Row: {
|
|
6499
6598
|
connection_id: string | null;
|
|
@@ -7349,6 +7448,96 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
7349
7448
|
referencedColumns: ["id"];
|
|
7350
7449
|
}];
|
|
7351
7450
|
};
|
|
7451
|
+
logistics_rule_configs: {
|
|
7452
|
+
Row: {
|
|
7453
|
+
created_at: string;
|
|
7454
|
+
current_version: number;
|
|
7455
|
+
description: string | null;
|
|
7456
|
+
id: string;
|
|
7457
|
+
is_active: boolean;
|
|
7458
|
+
name: string;
|
|
7459
|
+
settings: import("../integrations/supabase/types").Json;
|
|
7460
|
+
status: string;
|
|
7461
|
+
strategy_id: string | null;
|
|
7462
|
+
updated_at: string;
|
|
7463
|
+
user_id: string;
|
|
7464
|
+
};
|
|
7465
|
+
Insert: {
|
|
7466
|
+
created_at?: string;
|
|
7467
|
+
current_version?: number;
|
|
7468
|
+
description?: string | null;
|
|
7469
|
+
id?: string;
|
|
7470
|
+
is_active?: boolean;
|
|
7471
|
+
name: string;
|
|
7472
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7473
|
+
status?: string;
|
|
7474
|
+
strategy_id?: string | null;
|
|
7475
|
+
updated_at?: string;
|
|
7476
|
+
user_id?: string;
|
|
7477
|
+
};
|
|
7478
|
+
Update: {
|
|
7479
|
+
created_at?: string;
|
|
7480
|
+
current_version?: number;
|
|
7481
|
+
description?: string | null;
|
|
7482
|
+
id?: string;
|
|
7483
|
+
is_active?: boolean;
|
|
7484
|
+
name?: string;
|
|
7485
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7486
|
+
status?: string;
|
|
7487
|
+
strategy_id?: string | null;
|
|
7488
|
+
updated_at?: string;
|
|
7489
|
+
user_id?: string;
|
|
7490
|
+
};
|
|
7491
|
+
Relationships: [{
|
|
7492
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
7493
|
+
columns: ["strategy_id"];
|
|
7494
|
+
isOneToOne: false;
|
|
7495
|
+
referencedRelation: "logistics_strategies";
|
|
7496
|
+
referencedColumns: ["id"];
|
|
7497
|
+
}];
|
|
7498
|
+
};
|
|
7499
|
+
logistics_rule_versions: {
|
|
7500
|
+
Row: {
|
|
7501
|
+
config_id: string;
|
|
7502
|
+
created_at: string;
|
|
7503
|
+
id: string;
|
|
7504
|
+
label: string | null;
|
|
7505
|
+
note: string | null;
|
|
7506
|
+
settings: import("../integrations/supabase/types").Json;
|
|
7507
|
+
status: string;
|
|
7508
|
+
user_id: string;
|
|
7509
|
+
version: number;
|
|
7510
|
+
};
|
|
7511
|
+
Insert: {
|
|
7512
|
+
config_id: string;
|
|
7513
|
+
created_at?: string;
|
|
7514
|
+
id?: string;
|
|
7515
|
+
label?: string | null;
|
|
7516
|
+
note?: string | null;
|
|
7517
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7518
|
+
status?: string;
|
|
7519
|
+
user_id?: string;
|
|
7520
|
+
version: number;
|
|
7521
|
+
};
|
|
7522
|
+
Update: {
|
|
7523
|
+
config_id?: string;
|
|
7524
|
+
created_at?: string;
|
|
7525
|
+
id?: string;
|
|
7526
|
+
label?: string | null;
|
|
7527
|
+
note?: string | null;
|
|
7528
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
7529
|
+
status?: string;
|
|
7530
|
+
user_id?: string;
|
|
7531
|
+
version?: number;
|
|
7532
|
+
};
|
|
7533
|
+
Relationships: [{
|
|
7534
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
7535
|
+
columns: ["config_id"];
|
|
7536
|
+
isOneToOne: false;
|
|
7537
|
+
referencedRelation: "logistics_rule_configs";
|
|
7538
|
+
referencedColumns: ["id"];
|
|
7539
|
+
}];
|
|
7540
|
+
};
|
|
7352
7541
|
logistics_strategies: {
|
|
7353
7542
|
Row: {
|
|
7354
7543
|
color: string;
|
|
@@ -13166,6 +13355,27 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
13166
13355
|
};
|
|
13167
13356
|
Relationships: [];
|
|
13168
13357
|
};
|
|
13358
|
+
twinfield_revoked_accounts: {
|
|
13359
|
+
Row: {
|
|
13360
|
+
account_key: string;
|
|
13361
|
+
last_revoke_error: string | null;
|
|
13362
|
+
revoked_at: string;
|
|
13363
|
+
user_id: string;
|
|
13364
|
+
};
|
|
13365
|
+
Insert: {
|
|
13366
|
+
account_key: string;
|
|
13367
|
+
last_revoke_error?: string | null;
|
|
13368
|
+
revoked_at?: string;
|
|
13369
|
+
user_id: string;
|
|
13370
|
+
};
|
|
13371
|
+
Update: {
|
|
13372
|
+
account_key?: string;
|
|
13373
|
+
last_revoke_error?: string | null;
|
|
13374
|
+
revoked_at?: string;
|
|
13375
|
+
user_id?: string;
|
|
13376
|
+
};
|
|
13377
|
+
Relationships: [];
|
|
13378
|
+
};
|
|
13169
13379
|
twinfield_session_cache: {
|
|
13170
13380
|
Row: {
|
|
13171
13381
|
cluster: string;
|
|
@@ -13268,6 +13478,48 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
13268
13478
|
referencedColumns: ["id"];
|
|
13269
13479
|
}];
|
|
13270
13480
|
};
|
|
13481
|
+
voorraad_custom_fields: {
|
|
13482
|
+
Row: {
|
|
13483
|
+
created_at: string;
|
|
13484
|
+
field_key: string;
|
|
13485
|
+
field_label: string;
|
|
13486
|
+
field_type: string;
|
|
13487
|
+
id: string;
|
|
13488
|
+
options: string[];
|
|
13489
|
+
show_in_columns: boolean;
|
|
13490
|
+
show_in_detail: boolean;
|
|
13491
|
+
show_in_template: boolean;
|
|
13492
|
+
sort_order: number;
|
|
13493
|
+
updated_at: string;
|
|
13494
|
+
};
|
|
13495
|
+
Insert: {
|
|
13496
|
+
created_at?: string;
|
|
13497
|
+
field_key: string;
|
|
13498
|
+
field_label: string;
|
|
13499
|
+
field_type?: string;
|
|
13500
|
+
id?: string;
|
|
13501
|
+
options?: string[];
|
|
13502
|
+
show_in_columns?: boolean;
|
|
13503
|
+
show_in_detail?: boolean;
|
|
13504
|
+
show_in_template?: boolean;
|
|
13505
|
+
sort_order?: number;
|
|
13506
|
+
updated_at?: string;
|
|
13507
|
+
};
|
|
13508
|
+
Update: {
|
|
13509
|
+
created_at?: string;
|
|
13510
|
+
field_key?: string;
|
|
13511
|
+
field_label?: string;
|
|
13512
|
+
field_type?: string;
|
|
13513
|
+
id?: string;
|
|
13514
|
+
options?: string[];
|
|
13515
|
+
show_in_columns?: boolean;
|
|
13516
|
+
show_in_detail?: boolean;
|
|
13517
|
+
show_in_template?: boolean;
|
|
13518
|
+
sort_order?: number;
|
|
13519
|
+
updated_at?: string;
|
|
13520
|
+
};
|
|
13521
|
+
Relationships: [];
|
|
13522
|
+
};
|
|
13271
13523
|
voorraad_media_upload_failures: {
|
|
13272
13524
|
Row: {
|
|
13273
13525
|
action: string;
|
|
@@ -15550,6 +15802,13 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
15550
15802
|
};
|
|
15551
15803
|
Returns: number;
|
|
15552
15804
|
};
|
|
15805
|
+
release_debtor_lock: {
|
|
15806
|
+
Args: {
|
|
15807
|
+
_group_key: string;
|
|
15808
|
+
_user_id: string;
|
|
15809
|
+
};
|
|
15810
|
+
Returns: boolean;
|
|
15811
|
+
};
|
|
15553
15812
|
reorder_customer_price_groups: {
|
|
15554
15813
|
Args: {
|
|
15555
15814
|
_ids: string[];
|
|
@@ -15929,6 +16188,13 @@ export declare const testAiCredential: import("@tanstack/start-client-core").Opt
|
|
|
15929
16188
|
};
|
|
15930
16189
|
Returns: undefined;
|
|
15931
16190
|
};
|
|
16191
|
+
try_debtor_lock: {
|
|
16192
|
+
Args: {
|
|
16193
|
+
_group_key: string;
|
|
16194
|
+
_user_id: string;
|
|
16195
|
+
};
|
|
16196
|
+
Returns: boolean;
|
|
16197
|
+
};
|
|
15932
16198
|
twinfield_register_cron: {
|
|
15933
16199
|
Args: {
|
|
15934
16200
|
apikey: string;
|
|
@@ -18916,6 +19182,7 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
18916
19182
|
status: string;
|
|
18917
19183
|
token_expires_at: string | null;
|
|
18918
19184
|
updated_at: string;
|
|
19185
|
+
watch_scope: string;
|
|
18919
19186
|
webhook_last_attempt_at: string | null;
|
|
18920
19187
|
webhook_last_error: string | null;
|
|
18921
19188
|
webhook_status: string;
|
|
@@ -18958,6 +19225,7 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
18958
19225
|
status?: string;
|
|
18959
19226
|
token_expires_at?: string | null;
|
|
18960
19227
|
updated_at?: string;
|
|
19228
|
+
watch_scope?: string;
|
|
18961
19229
|
webhook_last_attempt_at?: string | null;
|
|
18962
19230
|
webhook_last_error?: string | null;
|
|
18963
19231
|
webhook_status?: string;
|
|
@@ -19000,6 +19268,7 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
19000
19268
|
status?: string;
|
|
19001
19269
|
token_expires_at?: string | null;
|
|
19002
19270
|
updated_at?: string;
|
|
19271
|
+
watch_scope?: string;
|
|
19003
19272
|
webhook_last_attempt_at?: string | null;
|
|
19004
19273
|
webhook_last_error?: string | null;
|
|
19005
19274
|
webhook_status?: string;
|
|
@@ -19198,6 +19467,72 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
19198
19467
|
referencedColumns: ["id"];
|
|
19199
19468
|
}];
|
|
19200
19469
|
};
|
|
19470
|
+
email_auth_watch_folders: {
|
|
19471
|
+
Row: {
|
|
19472
|
+
connection_id: string;
|
|
19473
|
+
created_at: string;
|
|
19474
|
+
folder_id: string;
|
|
19475
|
+
folder_name: string | null;
|
|
19476
|
+
gmail_history_id: string | null;
|
|
19477
|
+
graph_subscription_expires_at: string | null;
|
|
19478
|
+
graph_subscription_id: string | null;
|
|
19479
|
+
id: string;
|
|
19480
|
+
imap_last_uid: number | null;
|
|
19481
|
+
imap_uid_validity: number | null;
|
|
19482
|
+
mailbox: string;
|
|
19483
|
+
provider: string;
|
|
19484
|
+
updated_at: string;
|
|
19485
|
+
webhook_last_error: string | null;
|
|
19486
|
+
webhook_status: string | null;
|
|
19487
|
+
};
|
|
19488
|
+
Insert: {
|
|
19489
|
+
connection_id: string;
|
|
19490
|
+
created_at?: string;
|
|
19491
|
+
folder_id: string;
|
|
19492
|
+
folder_name?: string | null;
|
|
19493
|
+
gmail_history_id?: string | null;
|
|
19494
|
+
graph_subscription_expires_at?: string | null;
|
|
19495
|
+
graph_subscription_id?: string | null;
|
|
19496
|
+
id?: string;
|
|
19497
|
+
imap_last_uid?: number | null;
|
|
19498
|
+
imap_uid_validity?: number | null;
|
|
19499
|
+
mailbox?: string;
|
|
19500
|
+
provider: string;
|
|
19501
|
+
updated_at?: string;
|
|
19502
|
+
webhook_last_error?: string | null;
|
|
19503
|
+
webhook_status?: string | null;
|
|
19504
|
+
};
|
|
19505
|
+
Update: {
|
|
19506
|
+
connection_id?: string;
|
|
19507
|
+
created_at?: string;
|
|
19508
|
+
folder_id?: string;
|
|
19509
|
+
folder_name?: string | null;
|
|
19510
|
+
gmail_history_id?: string | null;
|
|
19511
|
+
graph_subscription_expires_at?: string | null;
|
|
19512
|
+
graph_subscription_id?: string | null;
|
|
19513
|
+
id?: string;
|
|
19514
|
+
imap_last_uid?: number | null;
|
|
19515
|
+
imap_uid_validity?: number | null;
|
|
19516
|
+
mailbox?: string;
|
|
19517
|
+
provider?: string;
|
|
19518
|
+
updated_at?: string;
|
|
19519
|
+
webhook_last_error?: string | null;
|
|
19520
|
+
webhook_status?: string | null;
|
|
19521
|
+
};
|
|
19522
|
+
Relationships: [{
|
|
19523
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
19524
|
+
columns: ["connection_id"];
|
|
19525
|
+
isOneToOne: false;
|
|
19526
|
+
referencedRelation: "email_auth_connections";
|
|
19527
|
+
referencedColumns: ["id"];
|
|
19528
|
+
}, {
|
|
19529
|
+
foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
|
|
19530
|
+
columns: ["connection_id"];
|
|
19531
|
+
isOneToOne: false;
|
|
19532
|
+
referencedRelation: "email_auth_connections_safe";
|
|
19533
|
+
referencedColumns: ["id"];
|
|
19534
|
+
}];
|
|
19535
|
+
};
|
|
19201
19536
|
email_auth_webhook_log: {
|
|
19202
19537
|
Row: {
|
|
19203
19538
|
body_sample: string | null;
|
|
@@ -22465,6 +22800,36 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
22465
22800
|
};
|
|
22466
22801
|
Relationships: [];
|
|
22467
22802
|
};
|
|
22803
|
+
invoice_post_idempotency: {
|
|
22804
|
+
Row: {
|
|
22805
|
+
client_request_id: string;
|
|
22806
|
+
completed_at: string | null;
|
|
22807
|
+
created_at: string;
|
|
22808
|
+
error_message: string | null;
|
|
22809
|
+
invoice_number: string | null;
|
|
22810
|
+
status: string;
|
|
22811
|
+
user_id: string;
|
|
22812
|
+
};
|
|
22813
|
+
Insert: {
|
|
22814
|
+
client_request_id: string;
|
|
22815
|
+
completed_at?: string | null;
|
|
22816
|
+
created_at?: string;
|
|
22817
|
+
error_message?: string | null;
|
|
22818
|
+
invoice_number?: string | null;
|
|
22819
|
+
status?: string;
|
|
22820
|
+
user_id: string;
|
|
22821
|
+
};
|
|
22822
|
+
Update: {
|
|
22823
|
+
client_request_id?: string;
|
|
22824
|
+
completed_at?: string | null;
|
|
22825
|
+
created_at?: string;
|
|
22826
|
+
error_message?: string | null;
|
|
22827
|
+
invoice_number?: string | null;
|
|
22828
|
+
status?: string;
|
|
22829
|
+
user_id?: string;
|
|
22830
|
+
};
|
|
22831
|
+
Relationships: [];
|
|
22832
|
+
};
|
|
22468
22833
|
invoice_push_log: {
|
|
22469
22834
|
Row: {
|
|
22470
22835
|
connection_id: string | null;
|
|
@@ -23320,6 +23685,96 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
23320
23685
|
referencedColumns: ["id"];
|
|
23321
23686
|
}];
|
|
23322
23687
|
};
|
|
23688
|
+
logistics_rule_configs: {
|
|
23689
|
+
Row: {
|
|
23690
|
+
created_at: string;
|
|
23691
|
+
current_version: number;
|
|
23692
|
+
description: string | null;
|
|
23693
|
+
id: string;
|
|
23694
|
+
is_active: boolean;
|
|
23695
|
+
name: string;
|
|
23696
|
+
settings: import("../integrations/supabase/types").Json;
|
|
23697
|
+
status: string;
|
|
23698
|
+
strategy_id: string | null;
|
|
23699
|
+
updated_at: string;
|
|
23700
|
+
user_id: string;
|
|
23701
|
+
};
|
|
23702
|
+
Insert: {
|
|
23703
|
+
created_at?: string;
|
|
23704
|
+
current_version?: number;
|
|
23705
|
+
description?: string | null;
|
|
23706
|
+
id?: string;
|
|
23707
|
+
is_active?: boolean;
|
|
23708
|
+
name: string;
|
|
23709
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23710
|
+
status?: string;
|
|
23711
|
+
strategy_id?: string | null;
|
|
23712
|
+
updated_at?: string;
|
|
23713
|
+
user_id?: string;
|
|
23714
|
+
};
|
|
23715
|
+
Update: {
|
|
23716
|
+
created_at?: string;
|
|
23717
|
+
current_version?: number;
|
|
23718
|
+
description?: string | null;
|
|
23719
|
+
id?: string;
|
|
23720
|
+
is_active?: boolean;
|
|
23721
|
+
name?: string;
|
|
23722
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23723
|
+
status?: string;
|
|
23724
|
+
strategy_id?: string | null;
|
|
23725
|
+
updated_at?: string;
|
|
23726
|
+
user_id?: string;
|
|
23727
|
+
};
|
|
23728
|
+
Relationships: [{
|
|
23729
|
+
foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
|
|
23730
|
+
columns: ["strategy_id"];
|
|
23731
|
+
isOneToOne: false;
|
|
23732
|
+
referencedRelation: "logistics_strategies";
|
|
23733
|
+
referencedColumns: ["id"];
|
|
23734
|
+
}];
|
|
23735
|
+
};
|
|
23736
|
+
logistics_rule_versions: {
|
|
23737
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
23760
|
+
config_id?: string;
|
|
23761
|
+
created_at?: string;
|
|
23762
|
+
id?: string;
|
|
23763
|
+
label?: string | null;
|
|
23764
|
+
note?: string | null;
|
|
23765
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
23766
|
+
status?: string;
|
|
23767
|
+
user_id?: string;
|
|
23768
|
+
version?: number;
|
|
23769
|
+
};
|
|
23770
|
+
Relationships: [{
|
|
23771
|
+
foreignKeyName: "logistics_rule_versions_config_id_fkey";
|
|
23772
|
+
columns: ["config_id"];
|
|
23773
|
+
isOneToOne: false;
|
|
23774
|
+
referencedRelation: "logistics_rule_configs";
|
|
23775
|
+
referencedColumns: ["id"];
|
|
23776
|
+
}];
|
|
23777
|
+
};
|
|
23323
23778
|
logistics_strategies: {
|
|
23324
23779
|
Row: {
|
|
23325
23780
|
color: string;
|
|
@@ -29137,6 +29592,27 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
29137
29592
|
};
|
|
29138
29593
|
Relationships: [];
|
|
29139
29594
|
};
|
|
29595
|
+
twinfield_revoked_accounts: {
|
|
29596
|
+
Row: {
|
|
29597
|
+
account_key: string;
|
|
29598
|
+
last_revoke_error: string | null;
|
|
29599
|
+
revoked_at: string;
|
|
29600
|
+
user_id: string;
|
|
29601
|
+
};
|
|
29602
|
+
Insert: {
|
|
29603
|
+
account_key: string;
|
|
29604
|
+
last_revoke_error?: string | null;
|
|
29605
|
+
revoked_at?: string;
|
|
29606
|
+
user_id: string;
|
|
29607
|
+
};
|
|
29608
|
+
Update: {
|
|
29609
|
+
account_key?: string;
|
|
29610
|
+
last_revoke_error?: string | null;
|
|
29611
|
+
revoked_at?: string;
|
|
29612
|
+
user_id?: string;
|
|
29613
|
+
};
|
|
29614
|
+
Relationships: [];
|
|
29615
|
+
};
|
|
29140
29616
|
twinfield_session_cache: {
|
|
29141
29617
|
Row: {
|
|
29142
29618
|
cluster: string;
|
|
@@ -29239,6 +29715,48 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
29239
29715
|
referencedColumns: ["id"];
|
|
29240
29716
|
}];
|
|
29241
29717
|
};
|
|
29718
|
+
voorraad_custom_fields: {
|
|
29719
|
+
Row: {
|
|
29720
|
+
created_at: string;
|
|
29721
|
+
field_key: string;
|
|
29722
|
+
field_label: string;
|
|
29723
|
+
field_type: string;
|
|
29724
|
+
id: string;
|
|
29725
|
+
options: string[];
|
|
29726
|
+
show_in_columns: boolean;
|
|
29727
|
+
show_in_detail: boolean;
|
|
29728
|
+
show_in_template: boolean;
|
|
29729
|
+
sort_order: number;
|
|
29730
|
+
updated_at: string;
|
|
29731
|
+
};
|
|
29732
|
+
Insert: {
|
|
29733
|
+
created_at?: string;
|
|
29734
|
+
field_key: string;
|
|
29735
|
+
field_label: string;
|
|
29736
|
+
field_type?: string;
|
|
29737
|
+
id?: string;
|
|
29738
|
+
options?: string[];
|
|
29739
|
+
show_in_columns?: boolean;
|
|
29740
|
+
show_in_detail?: boolean;
|
|
29741
|
+
show_in_template?: boolean;
|
|
29742
|
+
sort_order?: number;
|
|
29743
|
+
updated_at?: string;
|
|
29744
|
+
};
|
|
29745
|
+
Update: {
|
|
29746
|
+
created_at?: string;
|
|
29747
|
+
field_key?: string;
|
|
29748
|
+
field_label?: string;
|
|
29749
|
+
field_type?: string;
|
|
29750
|
+
id?: string;
|
|
29751
|
+
options?: string[];
|
|
29752
|
+
show_in_columns?: boolean;
|
|
29753
|
+
show_in_detail?: boolean;
|
|
29754
|
+
show_in_template?: boolean;
|
|
29755
|
+
sort_order?: number;
|
|
29756
|
+
updated_at?: string;
|
|
29757
|
+
};
|
|
29758
|
+
Relationships: [];
|
|
29759
|
+
};
|
|
29242
29760
|
voorraad_media_upload_failures: {
|
|
29243
29761
|
Row: {
|
|
29244
29762
|
action: string;
|
|
@@ -31521,6 +32039,13 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
31521
32039
|
};
|
|
31522
32040
|
Returns: number;
|
|
31523
32041
|
};
|
|
32042
|
+
release_debtor_lock: {
|
|
32043
|
+
Args: {
|
|
32044
|
+
_group_key: string;
|
|
32045
|
+
_user_id: string;
|
|
32046
|
+
};
|
|
32047
|
+
Returns: boolean;
|
|
32048
|
+
};
|
|
31524
32049
|
reorder_customer_price_groups: {
|
|
31525
32050
|
Args: {
|
|
31526
32051
|
_ids: string[];
|
|
@@ -31900,6 +32425,13 @@ export declare const syncAiCredentialModels: import("@tanstack/start-client-core
|
|
|
31900
32425
|
};
|
|
31901
32426
|
Returns: undefined;
|
|
31902
32427
|
};
|
|
32428
|
+
try_debtor_lock: {
|
|
32429
|
+
Args: {
|
|
32430
|
+
_group_key: string;
|
|
32431
|
+
_user_id: string;
|
|
32432
|
+
};
|
|
32433
|
+
Returns: boolean;
|
|
32434
|
+
};
|
|
31903
32435
|
twinfield_register_cron: {
|
|
31904
32436
|
Args: {
|
|
31905
32437
|
apikey: string;
|