@flowselections/ai-authenticatie 1.0.4 → 1.0.6

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.
Files changed (27) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +266 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +266 -0
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +266 -0
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +273 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/aiChat.functions.d.ts +532 -0
  10. package/dist-lib/lib/aiChat.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/aiCredentialTest.functions.d.ts +532 -0
  12. package/dist-lib/lib/aiCredentialTest.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/aiModules.functions.d.ts +1596 -0
  14. package/dist-lib/lib/aiModules.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/aiPricing.functions.d.ts +532 -0
  16. package/dist-lib/lib/aiPricing.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/aiUsageByModule.functions.d.ts +532 -0
  18. package/dist-lib/lib/aiUsageByModule.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/modules.functions.d.ts +798 -0
  20. package/dist-lib/lib/modules.functions.d.ts.map +1 -1
  21. package/package.json +3 -3
  22. package/dist-lib/hooks/useAiGoals.d.ts +0 -8
  23. package/dist-lib/hooks/useAiGoals.d.ts.map +0 -1
  24. package/dist-lib/hooks/useAiGoals.js +0 -22
  25. package/dist-lib/lib/aiGoals.functions.d.ts +0 -12912
  26. package/dist-lib/lib/aiGoals.functions.d.ts.map +0 -1
  27. package/dist-lib/lib/aiGoals.functions.js +0 -14
@@ -2938,6 +2938,7 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
2938
2938
  status: string;
2939
2939
  token_expires_at: string | null;
2940
2940
  updated_at: string;
2941
+ watch_scope: string;
2941
2942
  webhook_last_attempt_at: string | null;
2942
2943
  webhook_last_error: string | null;
2943
2944
  webhook_status: string;
@@ -2980,6 +2981,7 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
2980
2981
  status?: string;
2981
2982
  token_expires_at?: string | null;
2982
2983
  updated_at?: string;
2984
+ watch_scope?: string;
2983
2985
  webhook_last_attempt_at?: string | null;
2984
2986
  webhook_last_error?: string | null;
2985
2987
  webhook_status?: string;
@@ -3022,6 +3024,7 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
3022
3024
  status?: string;
3023
3025
  token_expires_at?: string | null;
3024
3026
  updated_at?: string;
3027
+ watch_scope?: string;
3025
3028
  webhook_last_attempt_at?: string | null;
3026
3029
  webhook_last_error?: string | null;
3027
3030
  webhook_status?: string;
@@ -3220,6 +3223,72 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
3220
3223
  referencedColumns: ["id"];
3221
3224
  }];
3222
3225
  };
3226
+ email_auth_watch_folders: {
3227
+ Row: {
3228
+ connection_id: string;
3229
+ created_at: string;
3230
+ folder_id: string;
3231
+ folder_name: string | null;
3232
+ gmail_history_id: string | null;
3233
+ graph_subscription_expires_at: string | null;
3234
+ graph_subscription_id: string | null;
3235
+ id: string;
3236
+ imap_last_uid: number | null;
3237
+ imap_uid_validity: number | null;
3238
+ mailbox: string;
3239
+ provider: string;
3240
+ updated_at: string;
3241
+ webhook_last_error: string | null;
3242
+ webhook_status: string | null;
3243
+ };
3244
+ Insert: {
3245
+ connection_id: string;
3246
+ created_at?: string;
3247
+ folder_id: string;
3248
+ folder_name?: string | null;
3249
+ gmail_history_id?: string | null;
3250
+ graph_subscription_expires_at?: string | null;
3251
+ graph_subscription_id?: string | null;
3252
+ id?: string;
3253
+ imap_last_uid?: number | null;
3254
+ imap_uid_validity?: number | null;
3255
+ mailbox?: string;
3256
+ provider: string;
3257
+ updated_at?: string;
3258
+ webhook_last_error?: string | null;
3259
+ webhook_status?: string | null;
3260
+ };
3261
+ Update: {
3262
+ connection_id?: string;
3263
+ created_at?: string;
3264
+ folder_id?: string;
3265
+ folder_name?: string | null;
3266
+ gmail_history_id?: string | null;
3267
+ graph_subscription_expires_at?: string | null;
3268
+ graph_subscription_id?: string | null;
3269
+ id?: string;
3270
+ imap_last_uid?: number | null;
3271
+ imap_uid_validity?: number | null;
3272
+ mailbox?: string;
3273
+ provider?: string;
3274
+ updated_at?: string;
3275
+ webhook_last_error?: string | null;
3276
+ webhook_status?: string | null;
3277
+ };
3278
+ Relationships: [{
3279
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3280
+ columns: ["connection_id"];
3281
+ isOneToOne: false;
3282
+ referencedRelation: "email_auth_connections";
3283
+ referencedColumns: ["id"];
3284
+ }, {
3285
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3286
+ columns: ["connection_id"];
3287
+ isOneToOne: false;
3288
+ referencedRelation: "email_auth_connections_safe";
3289
+ referencedColumns: ["id"];
3290
+ }];
3291
+ };
3223
3292
  email_auth_webhook_log: {
3224
3293
  Row: {
3225
3294
  body_sample: string | null;
@@ -6487,6 +6556,36 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
6487
6556
  };
6488
6557
  Relationships: [];
6489
6558
  };
6559
+ invoice_post_idempotency: {
6560
+ Row: {
6561
+ client_request_id: string;
6562
+ completed_at: string | null;
6563
+ created_at: string;
6564
+ error_message: string | null;
6565
+ invoice_number: string | null;
6566
+ status: string;
6567
+ user_id: string;
6568
+ };
6569
+ Insert: {
6570
+ client_request_id: string;
6571
+ completed_at?: string | null;
6572
+ created_at?: string;
6573
+ error_message?: string | null;
6574
+ invoice_number?: string | null;
6575
+ status?: string;
6576
+ user_id: string;
6577
+ };
6578
+ Update: {
6579
+ client_request_id?: string;
6580
+ completed_at?: string | null;
6581
+ created_at?: string;
6582
+ error_message?: string | null;
6583
+ invoice_number?: string | null;
6584
+ status?: string;
6585
+ user_id?: string;
6586
+ };
6587
+ Relationships: [];
6588
+ };
6490
6589
  invoice_push_log: {
6491
6590
  Row: {
6492
6591
  connection_id: string | null;
@@ -7342,6 +7441,96 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
7342
7441
  referencedColumns: ["id"];
7343
7442
  }];
7344
7443
  };
7444
+ logistics_rule_configs: {
7445
+ Row: {
7446
+ created_at: string;
7447
+ current_version: number;
7448
+ description: string | null;
7449
+ id: string;
7450
+ is_active: boolean;
7451
+ name: string;
7452
+ settings: import("../integrations/supabase/types").Json;
7453
+ status: string;
7454
+ strategy_id: string | null;
7455
+ updated_at: string;
7456
+ user_id: string;
7457
+ };
7458
+ Insert: {
7459
+ created_at?: string;
7460
+ current_version?: number;
7461
+ description?: string | null;
7462
+ id?: string;
7463
+ is_active?: boolean;
7464
+ name: string;
7465
+ settings?: import("../integrations/supabase/types").Json;
7466
+ status?: string;
7467
+ strategy_id?: string | null;
7468
+ updated_at?: string;
7469
+ user_id?: string;
7470
+ };
7471
+ Update: {
7472
+ created_at?: string;
7473
+ current_version?: number;
7474
+ description?: string | null;
7475
+ id?: string;
7476
+ is_active?: boolean;
7477
+ name?: string;
7478
+ settings?: import("../integrations/supabase/types").Json;
7479
+ status?: string;
7480
+ strategy_id?: string | null;
7481
+ updated_at?: string;
7482
+ user_id?: string;
7483
+ };
7484
+ Relationships: [{
7485
+ foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
7486
+ columns: ["strategy_id"];
7487
+ isOneToOne: false;
7488
+ referencedRelation: "logistics_strategies";
7489
+ referencedColumns: ["id"];
7490
+ }];
7491
+ };
7492
+ logistics_rule_versions: {
7493
+ Row: {
7494
+ config_id: string;
7495
+ created_at: string;
7496
+ id: string;
7497
+ label: string | null;
7498
+ note: string | null;
7499
+ settings: import("../integrations/supabase/types").Json;
7500
+ status: string;
7501
+ user_id: string;
7502
+ version: number;
7503
+ };
7504
+ Insert: {
7505
+ config_id: string;
7506
+ created_at?: string;
7507
+ id?: string;
7508
+ label?: string | null;
7509
+ note?: string | null;
7510
+ settings?: import("../integrations/supabase/types").Json;
7511
+ status?: string;
7512
+ user_id?: string;
7513
+ version: number;
7514
+ };
7515
+ Update: {
7516
+ config_id?: string;
7517
+ created_at?: string;
7518
+ id?: string;
7519
+ label?: string | null;
7520
+ note?: string | null;
7521
+ settings?: import("../integrations/supabase/types").Json;
7522
+ status?: string;
7523
+ user_id?: string;
7524
+ version?: number;
7525
+ };
7526
+ Relationships: [{
7527
+ foreignKeyName: "logistics_rule_versions_config_id_fkey";
7528
+ columns: ["config_id"];
7529
+ isOneToOne: false;
7530
+ referencedRelation: "logistics_rule_configs";
7531
+ referencedColumns: ["id"];
7532
+ }];
7533
+ };
7345
7534
  logistics_strategies: {
7346
7535
  Row: {
7347
7536
  color: string;
@@ -13159,6 +13348,27 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
13159
13348
  };
13160
13349
  Relationships: [];
13161
13350
  };
13351
+ twinfield_revoked_accounts: {
13352
+ Row: {
13353
+ account_key: string;
13354
+ last_revoke_error: string | null;
13355
+ revoked_at: string;
13356
+ user_id: string;
13357
+ };
13358
+ Insert: {
13359
+ account_key: string;
13360
+ last_revoke_error?: string | null;
13361
+ revoked_at?: string;
13362
+ user_id: string;
13363
+ };
13364
+ Update: {
13365
+ account_key?: string;
13366
+ last_revoke_error?: string | null;
13367
+ revoked_at?: string;
13368
+ user_id?: string;
13369
+ };
13370
+ Relationships: [];
13371
+ };
13162
13372
  twinfield_session_cache: {
13163
13373
  Row: {
13164
13374
  cluster: string;
@@ -13261,6 +13471,48 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
13261
13471
  referencedColumns: ["id"];
13262
13472
  }];
13263
13473
  };
13474
+ voorraad_custom_fields: {
13475
+ Row: {
13476
+ created_at: string;
13477
+ field_key: string;
13478
+ field_label: string;
13479
+ field_type: string;
13480
+ id: string;
13481
+ options: string[];
13482
+ show_in_columns: boolean;
13483
+ show_in_detail: boolean;
13484
+ show_in_template: boolean;
13485
+ sort_order: number;
13486
+ updated_at: string;
13487
+ };
13488
+ Insert: {
13489
+ created_at?: string;
13490
+ field_key: string;
13491
+ field_label: string;
13492
+ field_type?: string;
13493
+ id?: string;
13494
+ options?: string[];
13495
+ show_in_columns?: boolean;
13496
+ show_in_detail?: boolean;
13497
+ show_in_template?: boolean;
13498
+ sort_order?: number;
13499
+ updated_at?: string;
13500
+ };
13501
+ Update: {
13502
+ created_at?: string;
13503
+ field_key?: string;
13504
+ field_label?: string;
13505
+ field_type?: string;
13506
+ id?: string;
13507
+ options?: string[];
13508
+ show_in_columns?: boolean;
13509
+ show_in_detail?: boolean;
13510
+ show_in_template?: boolean;
13511
+ sort_order?: number;
13512
+ updated_at?: string;
13513
+ };
13514
+ Relationships: [];
13515
+ };
13264
13516
  voorraad_media_upload_failures: {
13265
13517
  Row: {
13266
13518
  action: string;
@@ -15543,6 +15795,13 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
15543
15795
  };
15544
15796
  Returns: number;
15545
15797
  };
15798
+ release_debtor_lock: {
15799
+ Args: {
15800
+ _group_key: string;
15801
+ _user_id: string;
15802
+ };
15803
+ Returns: boolean;
15804
+ };
15546
15805
  reorder_customer_price_groups: {
15547
15806
  Args: {
15548
15807
  _ids: string[];
@@ -15922,6 +16181,13 @@ export declare const getAiUsageByModule: import("@tanstack/start-client-core").O
15922
16181
  };
15923
16182
  Returns: undefined;
15924
16183
  };
16184
+ try_debtor_lock: {
16185
+ Args: {
16186
+ _group_key: string;
16187
+ _user_id: string;
16188
+ };
16189
+ Returns: boolean;
16190
+ };
15925
16191
  twinfield_register_cron: {
15926
16192
  Args: {
15927
16193
  apikey: string;
@@ -18909,6 +19175,7 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
18909
19175
  status: string;
18910
19176
  token_expires_at: string | null;
18911
19177
  updated_at: string;
19178
+ watch_scope: string;
18912
19179
  webhook_last_attempt_at: string | null;
18913
19180
  webhook_last_error: string | null;
18914
19181
  webhook_status: string;
@@ -18951,6 +19218,7 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
18951
19218
  status?: string;
18952
19219
  token_expires_at?: string | null;
18953
19220
  updated_at?: string;
19221
+ watch_scope?: string;
18954
19222
  webhook_last_attempt_at?: string | null;
18955
19223
  webhook_last_error?: string | null;
18956
19224
  webhook_status?: string;
@@ -18993,6 +19261,7 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
18993
19261
  status?: string;
18994
19262
  token_expires_at?: string | null;
18995
19263
  updated_at?: string;
19264
+ watch_scope?: string;
18996
19265
  webhook_last_attempt_at?: string | null;
18997
19266
  webhook_last_error?: string | null;
18998
19267
  webhook_status?: string;
@@ -19191,6 +19460,72 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
19191
19460
  referencedColumns: ["id"];
19192
19461
  }];
19193
19462
  };
19463
+ email_auth_watch_folders: {
19464
+ Row: {
19465
+ connection_id: string;
19466
+ created_at: string;
19467
+ folder_id: string;
19468
+ folder_name: string | null;
19469
+ gmail_history_id: string | null;
19470
+ graph_subscription_expires_at: string | null;
19471
+ graph_subscription_id: string | null;
19472
+ id: string;
19473
+ imap_last_uid: number | null;
19474
+ imap_uid_validity: number | null;
19475
+ mailbox: string;
19476
+ provider: string;
19477
+ updated_at: string;
19478
+ webhook_last_error: string | null;
19479
+ webhook_status: string | null;
19480
+ };
19481
+ Insert: {
19482
+ connection_id: string;
19483
+ created_at?: string;
19484
+ folder_id: string;
19485
+ folder_name?: string | null;
19486
+ gmail_history_id?: string | null;
19487
+ graph_subscription_expires_at?: string | null;
19488
+ graph_subscription_id?: string | null;
19489
+ id?: string;
19490
+ imap_last_uid?: number | null;
19491
+ imap_uid_validity?: number | null;
19492
+ mailbox?: string;
19493
+ provider: string;
19494
+ updated_at?: string;
19495
+ webhook_last_error?: string | null;
19496
+ webhook_status?: string | null;
19497
+ };
19498
+ Update: {
19499
+ connection_id?: string;
19500
+ created_at?: string;
19501
+ folder_id?: string;
19502
+ folder_name?: string | null;
19503
+ gmail_history_id?: string | null;
19504
+ graph_subscription_expires_at?: string | null;
19505
+ graph_subscription_id?: string | null;
19506
+ id?: string;
19507
+ imap_last_uid?: number | null;
19508
+ imap_uid_validity?: number | null;
19509
+ mailbox?: string;
19510
+ provider?: string;
19511
+ updated_at?: string;
19512
+ webhook_last_error?: string | null;
19513
+ webhook_status?: string | null;
19514
+ };
19515
+ Relationships: [{
19516
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
19517
+ columns: ["connection_id"];
19518
+ isOneToOne: false;
19519
+ referencedRelation: "email_auth_connections";
19520
+ referencedColumns: ["id"];
19521
+ }, {
19522
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
19523
+ columns: ["connection_id"];
19524
+ isOneToOne: false;
19525
+ referencedRelation: "email_auth_connections_safe";
19526
+ referencedColumns: ["id"];
19527
+ }];
19528
+ };
19194
19529
  email_auth_webhook_log: {
19195
19530
  Row: {
19196
19531
  body_sample: string | null;
@@ -22458,6 +22793,36 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
22458
22793
  };
22459
22794
  Relationships: [];
22460
22795
  };
22796
+ invoice_post_idempotency: {
22797
+ Row: {
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
+ Insert: {
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
+ Update: {
22816
+ client_request_id?: string;
22817
+ completed_at?: string | null;
22818
+ created_at?: string;
22819
+ error_message?: string | null;
22820
+ invoice_number?: string | null;
22821
+ status?: string;
22822
+ user_id?: string;
22823
+ };
22824
+ Relationships: [];
22825
+ };
22461
22826
  invoice_push_log: {
22462
22827
  Row: {
22463
22828
  connection_id: string | null;
@@ -23313,6 +23678,96 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
23313
23678
  referencedColumns: ["id"];
23314
23679
  }];
23315
23680
  };
23681
+ logistics_rule_configs: {
23682
+ Row: {
23683
+ created_at: string;
23684
+ current_version: number;
23685
+ description: string | null;
23686
+ id: string;
23687
+ is_active: boolean;
23688
+ name: string;
23689
+ settings: import("../integrations/supabase/types").Json;
23690
+ status: string;
23691
+ strategy_id: string | null;
23692
+ updated_at: string;
23693
+ user_id: string;
23694
+ };
23695
+ Insert: {
23696
+ created_at?: string;
23697
+ current_version?: number;
23698
+ description?: string | null;
23699
+ id?: string;
23700
+ is_active?: boolean;
23701
+ name: string;
23702
+ settings?: import("../integrations/supabase/types").Json;
23703
+ status?: string;
23704
+ strategy_id?: string | null;
23705
+ updated_at?: string;
23706
+ user_id?: string;
23707
+ };
23708
+ Update: {
23709
+ created_at?: string;
23710
+ current_version?: number;
23711
+ description?: string | null;
23712
+ id?: string;
23713
+ is_active?: boolean;
23714
+ name?: string;
23715
+ settings?: import("../integrations/supabase/types").Json;
23716
+ status?: string;
23717
+ strategy_id?: string | null;
23718
+ updated_at?: string;
23719
+ user_id?: string;
23720
+ };
23721
+ Relationships: [{
23722
+ foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
23723
+ columns: ["strategy_id"];
23724
+ isOneToOne: false;
23725
+ referencedRelation: "logistics_strategies";
23726
+ referencedColumns: ["id"];
23727
+ }];
23728
+ };
23729
+ logistics_rule_versions: {
23730
+ Row: {
23731
+ config_id: string;
23732
+ created_at: string;
23733
+ id: string;
23734
+ label: string | null;
23735
+ note: string | null;
23736
+ settings: import("../integrations/supabase/types").Json;
23737
+ status: string;
23738
+ user_id: string;
23739
+ version: number;
23740
+ };
23741
+ Insert: {
23742
+ config_id: string;
23743
+ created_at?: string;
23744
+ id?: string;
23745
+ label?: string | null;
23746
+ note?: string | null;
23747
+ settings?: import("../integrations/supabase/types").Json;
23748
+ status?: string;
23749
+ user_id?: string;
23750
+ version: number;
23751
+ };
23752
+ Update: {
23753
+ config_id?: string;
23754
+ created_at?: string;
23755
+ id?: string;
23756
+ label?: string | null;
23757
+ note?: string | null;
23758
+ settings?: import("../integrations/supabase/types").Json;
23759
+ status?: string;
23760
+ user_id?: string;
23761
+ version?: number;
23762
+ };
23763
+ Relationships: [{
23764
+ foreignKeyName: "logistics_rule_versions_config_id_fkey";
23765
+ columns: ["config_id"];
23766
+ isOneToOne: false;
23767
+ referencedRelation: "logistics_rule_configs";
23768
+ referencedColumns: ["id"];
23769
+ }];
23770
+ };
23316
23771
  logistics_strategies: {
23317
23772
  Row: {
23318
23773
  color: string;
@@ -29130,6 +29585,27 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
29130
29585
  };
29131
29586
  Relationships: [];
29132
29587
  };
29588
+ twinfield_revoked_accounts: {
29589
+ Row: {
29590
+ account_key: string;
29591
+ last_revoke_error: string | null;
29592
+ revoked_at: string;
29593
+ user_id: string;
29594
+ };
29595
+ Insert: {
29596
+ account_key: string;
29597
+ last_revoke_error?: string | null;
29598
+ revoked_at?: string;
29599
+ user_id: string;
29600
+ };
29601
+ Update: {
29602
+ account_key?: string;
29603
+ last_revoke_error?: string | null;
29604
+ revoked_at?: string;
29605
+ user_id?: string;
29606
+ };
29607
+ Relationships: [];
29608
+ };
29133
29609
  twinfield_session_cache: {
29134
29610
  Row: {
29135
29611
  cluster: string;
@@ -29232,6 +29708,48 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
29232
29708
  referencedColumns: ["id"];
29233
29709
  }];
29234
29710
  };
29711
+ voorraad_custom_fields: {
29712
+ Row: {
29713
+ created_at: string;
29714
+ field_key: string;
29715
+ field_label: string;
29716
+ field_type: string;
29717
+ id: string;
29718
+ options: string[];
29719
+ show_in_columns: boolean;
29720
+ show_in_detail: boolean;
29721
+ show_in_template: boolean;
29722
+ sort_order: number;
29723
+ updated_at: string;
29724
+ };
29725
+ Insert: {
29726
+ created_at?: string;
29727
+ field_key: string;
29728
+ field_label: string;
29729
+ field_type?: string;
29730
+ id?: string;
29731
+ options?: string[];
29732
+ show_in_columns?: boolean;
29733
+ show_in_detail?: boolean;
29734
+ show_in_template?: boolean;
29735
+ sort_order?: number;
29736
+ updated_at?: string;
29737
+ };
29738
+ Update: {
29739
+ created_at?: string;
29740
+ field_key?: string;
29741
+ field_label?: string;
29742
+ field_type?: string;
29743
+ id?: string;
29744
+ options?: string[];
29745
+ show_in_columns?: boolean;
29746
+ show_in_detail?: boolean;
29747
+ show_in_template?: boolean;
29748
+ sort_order?: number;
29749
+ updated_at?: string;
29750
+ };
29751
+ Relationships: [];
29752
+ };
29235
29753
  voorraad_media_upload_failures: {
29236
29754
  Row: {
29237
29755
  action: string;
@@ -31514,6 +32032,13 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
31514
32032
  };
31515
32033
  Returns: number;
31516
32034
  };
32035
+ release_debtor_lock: {
32036
+ Args: {
32037
+ _group_key: string;
32038
+ _user_id: string;
32039
+ };
32040
+ Returns: boolean;
32041
+ };
31517
32042
  reorder_customer_price_groups: {
31518
32043
  Args: {
31519
32044
  _ids: string[];
@@ -31893,6 +32418,13 @@ export declare const isAiAdmin: import("@tanstack/start-client-core").OptionalFe
31893
32418
  };
31894
32419
  Returns: undefined;
31895
32420
  };
32421
+ try_debtor_lock: {
32422
+ Args: {
32423
+ _group_key: string;
32424
+ _user_id: string;
32425
+ };
32426
+ Returns: boolean;
32427
+ };
31896
32428
  twinfield_register_cron: {
31897
32429
  Args: {
31898
32430
  apikey: string;