@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.
@@ -2931,6 +2931,7 @@ export declare const refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 refreshModelPricing: import("@tanstack/start-client-core").
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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 ensureModelPricingFresh: import("@tanstack/start-client-cor
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;