@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.
@@ -2931,6 +2931,7 @@ export declare const listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 listModules: import("@tanstack/start-client-core").Optional
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 registerModule: import("@tanstack/start-client-core").Requi
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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 setModuleActiveFn: import("@tanstack/start-client-core").Re
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;