@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.
@@ -3000,6 +3000,7 @@ export type Database = {
3000
3000
  status: string;
3001
3001
  token_expires_at: string | null;
3002
3002
  updated_at: string;
3003
+ watch_scope: string;
3003
3004
  webhook_last_attempt_at: string | null;
3004
3005
  webhook_last_error: string | null;
3005
3006
  webhook_status: string;
@@ -3042,6 +3043,7 @@ export type Database = {
3042
3043
  status?: string;
3043
3044
  token_expires_at?: string | null;
3044
3045
  updated_at?: string;
3046
+ watch_scope?: string;
3045
3047
  webhook_last_attempt_at?: string | null;
3046
3048
  webhook_last_error?: string | null;
3047
3049
  webhook_status?: string;
@@ -3084,6 +3086,7 @@ export type Database = {
3084
3086
  status?: string;
3085
3087
  token_expires_at?: string | null;
3086
3088
  updated_at?: string;
3089
+ watch_scope?: string;
3087
3090
  webhook_last_attempt_at?: string | null;
3088
3091
  webhook_last_error?: string | null;
3089
3092
  webhook_status?: string;
@@ -3291,6 +3294,75 @@ export type Database = {
3291
3294
  }
3292
3295
  ];
3293
3296
  };
3297
+ email_auth_watch_folders: {
3298
+ Row: {
3299
+ connection_id: string;
3300
+ created_at: string;
3301
+ folder_id: string;
3302
+ folder_name: string | null;
3303
+ gmail_history_id: string | null;
3304
+ graph_subscription_expires_at: string | null;
3305
+ graph_subscription_id: string | null;
3306
+ id: string;
3307
+ imap_last_uid: number | null;
3308
+ imap_uid_validity: number | null;
3309
+ mailbox: string;
3310
+ provider: string;
3311
+ updated_at: string;
3312
+ webhook_last_error: string | null;
3313
+ webhook_status: string | null;
3314
+ };
3315
+ Insert: {
3316
+ connection_id: string;
3317
+ created_at?: string;
3318
+ folder_id: string;
3319
+ folder_name?: string | null;
3320
+ gmail_history_id?: string | null;
3321
+ graph_subscription_expires_at?: string | null;
3322
+ graph_subscription_id?: string | null;
3323
+ id?: string;
3324
+ imap_last_uid?: number | null;
3325
+ imap_uid_validity?: number | null;
3326
+ mailbox?: string;
3327
+ provider: string;
3328
+ updated_at?: string;
3329
+ webhook_last_error?: string | null;
3330
+ webhook_status?: string | null;
3331
+ };
3332
+ Update: {
3333
+ connection_id?: string;
3334
+ created_at?: string;
3335
+ folder_id?: string;
3336
+ folder_name?: string | null;
3337
+ gmail_history_id?: string | null;
3338
+ graph_subscription_expires_at?: string | null;
3339
+ graph_subscription_id?: string | null;
3340
+ id?: string;
3341
+ imap_last_uid?: number | null;
3342
+ imap_uid_validity?: number | null;
3343
+ mailbox?: string;
3344
+ provider?: string;
3345
+ updated_at?: string;
3346
+ webhook_last_error?: string | null;
3347
+ webhook_status?: string | null;
3348
+ };
3349
+ Relationships: [
3350
+ {
3351
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3352
+ columns: ["connection_id"];
3353
+ isOneToOne: false;
3354
+ referencedRelation: "email_auth_connections";
3355
+ referencedColumns: ["id"];
3356
+ },
3357
+ {
3358
+ foreignKeyName: "email_auth_watch_folders_connection_id_fkey";
3359
+ columns: ["connection_id"];
3360
+ isOneToOne: false;
3361
+ referencedRelation: "email_auth_connections_safe";
3362
+ referencedColumns: ["id"];
3363
+ }
3364
+ ];
3365
+ };
3294
3366
  email_auth_webhook_log: {
3295
3367
  Row: {
3296
3368
  body_sample: string | null;
@@ -6665,6 +6737,36 @@ export type Database = {
6665
6737
  };
6666
6738
  Relationships: [];
6667
6739
  };
6740
+ invoice_post_idempotency: {
6741
+ Row: {
6742
+ client_request_id: string;
6743
+ completed_at: string | null;
6744
+ created_at: string;
6745
+ error_message: string | null;
6746
+ invoice_number: string | null;
6747
+ status: string;
6748
+ user_id: string;
6749
+ };
6750
+ Insert: {
6751
+ client_request_id: string;
6752
+ completed_at?: string | null;
6753
+ created_at?: string;
6754
+ error_message?: string | null;
6755
+ invoice_number?: string | null;
6756
+ status?: string;
6757
+ user_id: string;
6758
+ };
6759
+ Update: {
6760
+ client_request_id?: string;
6761
+ completed_at?: string | null;
6762
+ created_at?: string;
6763
+ error_message?: string | null;
6764
+ invoice_number?: string | null;
6765
+ status?: string;
6766
+ user_id?: string;
6767
+ };
6768
+ Relationships: [];
6769
+ };
6668
6770
  invoice_push_log: {
6669
6771
  Row: {
6670
6772
  connection_id: string | null;
@@ -7554,6 +7656,100 @@ export type Database = {
7554
7656
  }
7555
7657
  ];
7556
7658
  };
7659
+ logistics_rule_configs: {
7660
+ Row: {
7661
+ created_at: string;
7662
+ current_version: number;
7663
+ description: string | null;
7664
+ id: string;
7665
+ is_active: boolean;
7666
+ name: string;
7667
+ settings: Json;
7668
+ status: string;
7669
+ strategy_id: string | null;
7670
+ updated_at: string;
7671
+ user_id: string;
7672
+ };
7673
+ Insert: {
7674
+ created_at?: string;
7675
+ current_version?: number;
7676
+ description?: string | null;
7677
+ id?: string;
7678
+ is_active?: boolean;
7679
+ name: string;
7680
+ settings?: Json;
7681
+ status?: string;
7682
+ strategy_id?: string | null;
7683
+ updated_at?: string;
7684
+ user_id?: string;
7685
+ };
7686
+ Update: {
7687
+ created_at?: string;
7688
+ current_version?: number;
7689
+ description?: string | null;
7690
+ id?: string;
7691
+ is_active?: boolean;
7692
+ name?: string;
7693
+ settings?: Json;
7694
+ status?: string;
7695
+ strategy_id?: string | null;
7696
+ updated_at?: string;
7697
+ user_id?: string;
7698
+ };
7699
+ Relationships: [
7700
+ {
7701
+ foreignKeyName: "logistics_rule_configs_strategy_id_fkey";
7702
+ columns: ["strategy_id"];
7703
+ isOneToOne: false;
7704
+ referencedRelation: "logistics_strategies";
7705
+ referencedColumns: ["id"];
7706
+ }
7707
+ ];
7708
+ };
7709
+ logistics_rule_versions: {
7710
+ Row: {
7711
+ config_id: string;
7712
+ created_at: string;
7713
+ id: string;
7714
+ label: string | null;
7715
+ note: string | null;
7716
+ settings: Json;
7717
+ status: string;
7718
+ user_id: string;
7719
+ version: number;
7720
+ };
7721
+ Insert: {
7722
+ config_id: string;
7723
+ created_at?: string;
7724
+ id?: string;
7725
+ label?: string | null;
7726
+ note?: string | null;
7727
+ settings?: Json;
7728
+ status?: string;
7729
+ user_id?: string;
7730
+ version: number;
7731
+ };
7732
+ Update: {
7733
+ config_id?: string;
7734
+ created_at?: string;
7735
+ id?: string;
7736
+ label?: string | null;
7737
+ note?: string | null;
7738
+ settings?: Json;
7739
+ status?: string;
7740
+ user_id?: string;
7741
+ version?: number;
7742
+ };
7743
+ Relationships: [
7744
+ {
7745
+ foreignKeyName: "logistics_rule_versions_config_id_fkey";
7746
+ columns: ["config_id"];
7747
+ isOneToOne: false;
7748
+ referencedRelation: "logistics_rule_configs";
7749
+ referencedColumns: ["id"];
7750
+ }
7751
+ ];
7752
+ };
7557
7753
  logistics_strategies: {
7558
7754
  Row: {
7559
7755
  color: string;
@@ -13554,6 +13750,27 @@ export type Database = {
13554
13750
  };
13555
13751
  Relationships: [];
13556
13752
  };
13753
+ twinfield_revoked_accounts: {
13754
+ Row: {
13755
+ account_key: string;
13756
+ last_revoke_error: string | null;
13757
+ revoked_at: string;
13758
+ user_id: string;
13759
+ };
13760
+ Insert: {
13761
+ account_key: string;
13762
+ last_revoke_error?: string | null;
13763
+ revoked_at?: string;
13764
+ user_id: string;
13765
+ };
13766
+ Update: {
13767
+ account_key?: string;
13768
+ last_revoke_error?: string | null;
13769
+ revoked_at?: string;
13770
+ user_id?: string;
13771
+ };
13772
+ Relationships: [];
13773
+ };
13557
13774
  twinfield_session_cache: {
13558
13775
  Row: {
13559
13776
  cluster: string;
@@ -13660,6 +13877,48 @@ export type Database = {
13660
13877
  }
13661
13878
  ];
13662
13879
  };
13880
+ voorraad_custom_fields: {
13881
+ Row: {
13882
+ created_at: string;
13883
+ field_key: string;
13884
+ field_label: string;
13885
+ field_type: string;
13886
+ id: string;
13887
+ options: string[];
13888
+ show_in_columns: boolean;
13889
+ show_in_detail: boolean;
13890
+ show_in_template: boolean;
13891
+ sort_order: number;
13892
+ updated_at: string;
13893
+ };
13894
+ Insert: {
13895
+ created_at?: string;
13896
+ field_key: string;
13897
+ field_label: string;
13898
+ field_type?: string;
13899
+ id?: string;
13900
+ options?: string[];
13901
+ show_in_columns?: boolean;
13902
+ show_in_detail?: boolean;
13903
+ show_in_template?: boolean;
13904
+ sort_order?: number;
13905
+ updated_at?: string;
13906
+ };
13907
+ Update: {
13908
+ created_at?: string;
13909
+ field_key?: string;
13910
+ field_label?: string;
13911
+ field_type?: string;
13912
+ id?: string;
13913
+ options?: string[];
13914
+ show_in_columns?: boolean;
13915
+ show_in_detail?: boolean;
13916
+ show_in_template?: boolean;
13917
+ sort_order?: number;
13918
+ updated_at?: string;
13919
+ };
13920
+ Relationships: [];
13921
+ };
13663
13922
  voorraad_media_upload_failures: {
13664
13923
  Row: {
13665
13924
  action: string;
@@ -15974,6 +16233,13 @@ export type Database = {
15974
16233
  };
15975
16234
  Returns: number;
15976
16235
  };
16236
+ release_debtor_lock: {
16237
+ Args: {
16238
+ _group_key: string;
16239
+ _user_id: string;
16240
+ };
16241
+ Returns: boolean;
16242
+ };
15977
16243
  reorder_customer_price_groups: {
15978
16244
  Args: {
15979
16245
  _ids: string[];
@@ -16353,6 +16619,13 @@ export type Database = {
16353
16619
  };
16354
16620
  Returns: undefined;
16355
16621
  };
16622
+ try_debtor_lock: {
16623
+ Args: {
16624
+ _group_key: string;
16625
+ _user_id: string;
16626
+ };
16627
+ Returns: boolean;
16628
+ };
16356
16629
  twinfield_register_cron: {
16357
16630
  Args: {
16358
16631
  apikey: string;