@flowselections/twinfield-authenticatie-module-15-06-2026 1.3.2 → 1.3.3

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 (24) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +194 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +194 -0
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +194 -0
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/twinfield-admin.server.d.ts +194 -0
  8. package/dist-lib/integrations/supabase/twinfield-admin.server.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +194 -0
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/accounting/twinfield/actions.functions.d.ts +970 -0
  12. package/dist-lib/lib/accounting/twinfield/actions.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/accounting/twinfield/conformance.functions.d.ts +194 -0
  14. package/dist-lib/lib/accounting/twinfield/conformance.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/accounting/twinfield/writes.functions.d.ts +582 -0
  16. package/dist-lib/lib/accounting/twinfield/writes.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/twinfield-adapter.functions.d.ts +388 -0
  18. package/dist-lib/lib/twinfield-adapter.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/twinfield-sync.functions.d.ts +970 -0
  20. package/dist-lib/lib/twinfield-sync.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/twinfield.functions.d.ts +2910 -0
  22. package/dist-lib/lib/twinfield.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/twinfield.functions.js +72 -2
  24. package/package.json +1 -1
@@ -6479,6 +6479,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6479
6479
  };
6480
6480
  Relationships: [];
6481
6481
  };
6482
+ invoice_post_idempotency: {
6483
+ Row: {
6484
+ client_request_id: string;
6485
+ completed_at: string | null;
6486
+ created_at: string;
6487
+ error_message: string | null;
6488
+ invoice_number: string | null;
6489
+ status: string;
6490
+ user_id: string;
6491
+ };
6492
+ Insert: {
6493
+ client_request_id: string;
6494
+ completed_at?: string | null;
6495
+ created_at?: string;
6496
+ error_message?: string | null;
6497
+ invoice_number?: string | null;
6498
+ status?: string;
6499
+ user_id: string;
6500
+ };
6501
+ Update: {
6502
+ client_request_id?: string;
6503
+ completed_at?: string | null;
6504
+ created_at?: string;
6505
+ error_message?: string | null;
6506
+ invoice_number?: string | null;
6507
+ status?: string;
6508
+ user_id?: string;
6509
+ };
6510
+ Relationships: [];
6511
+ };
6482
6512
  invoice_push_log: {
6483
6513
  Row: {
6484
6514
  connection_id: string | null;
@@ -7493,7 +7523,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7493
7523
  created_at: string;
7494
7524
  enabled: boolean;
7495
7525
  id: string;
7526
+ required_fields: string[];
7496
7527
  singleton: boolean;
7528
+ system_prompt: string | null;
7497
7529
  updated_at: string;
7498
7530
  };
7499
7531
  Insert: {
@@ -7501,7 +7533,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7501
7533
  created_at?: string;
7502
7534
  enabled?: boolean;
7503
7535
  id?: string;
7536
+ required_fields?: string[];
7504
7537
  singleton?: boolean;
7538
+ system_prompt?: string | null;
7505
7539
  updated_at?: string;
7506
7540
  };
7507
7541
  Update: {
@@ -7509,7 +7543,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7509
7543
  created_at?: string;
7510
7544
  enabled?: boolean;
7511
7545
  id?: string;
7546
+ required_fields?: string[];
7512
7547
  singleton?: boolean;
7548
+ system_prompt?: string | null;
7513
7549
  updated_at?: string;
7514
7550
  };
7515
7551
  Relationships: [];
@@ -7630,6 +7666,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7630
7666
  };
7631
7667
  mailbox_order_proposals: {
7632
7668
  Row: {
7669
+ ai_validation: import("./types").Json | null;
7633
7670
  confidence: number | null;
7634
7671
  created_at: string;
7635
7672
  created_order_id: string | null;
@@ -7646,6 +7683,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7646
7683
  updated_at: string;
7647
7684
  };
7648
7685
  Insert: {
7686
+ ai_validation?: import("./types").Json | null;
7649
7687
  confidence?: number | null;
7650
7688
  created_at?: string;
7651
7689
  created_order_id?: string | null;
@@ -7662,6 +7700,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7662
7700
  updated_at?: string;
7663
7701
  };
7664
7702
  Update: {
7703
+ ai_validation?: import("./types").Json | null;
7665
7704
  confidence?: number | null;
7666
7705
  created_at?: string;
7667
7706
  created_order_id?: string | null;
@@ -7798,6 +7837,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7798
7837
  created_at: string;
7799
7838
  id: string;
7800
7839
  match_confidence: number | null;
7840
+ plant_type: string | null;
7801
7841
  product_id: string | null;
7802
7842
  proposal_id: string;
7803
7843
  quantity: number | null;
@@ -7810,6 +7850,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7810
7850
  created_at?: string;
7811
7851
  id?: string;
7812
7852
  match_confidence?: number | null;
7853
+ plant_type?: string | null;
7813
7854
  product_id?: string | null;
7814
7855
  proposal_id: string;
7815
7856
  quantity?: number | null;
@@ -7822,6 +7863,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7822
7863
  created_at?: string;
7823
7864
  id?: string;
7824
7865
  match_confidence?: number | null;
7866
+ plant_type?: string | null;
7825
7867
  product_id?: string | null;
7826
7868
  proposal_id?: string;
7827
7869
  quantity?: number | null;
@@ -13139,6 +13181,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13139
13181
  };
13140
13182
  Relationships: [];
13141
13183
  };
13184
+ twinfield_revoked_accounts: {
13185
+ Row: {
13186
+ account_key: string;
13187
+ last_revoke_error: string | null;
13188
+ revoked_at: string;
13189
+ user_id: string;
13190
+ };
13191
+ Insert: {
13192
+ account_key: string;
13193
+ last_revoke_error?: string | null;
13194
+ revoked_at?: string;
13195
+ user_id: string;
13196
+ };
13197
+ Update: {
13198
+ account_key?: string;
13199
+ last_revoke_error?: string | null;
13200
+ revoked_at?: string;
13201
+ user_id?: string;
13202
+ };
13203
+ Relationships: [];
13204
+ };
13142
13205
  twinfield_session_cache: {
13143
13206
  Row: {
13144
13207
  cluster: string;
@@ -13241,6 +13304,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13241
13304
  referencedColumns: ["id"];
13242
13305
  }];
13243
13306
  };
13307
+ voorraad_custom_fields: {
13308
+ Row: {
13309
+ created_at: string;
13310
+ field_key: string;
13311
+ field_label: string;
13312
+ field_type: string;
13313
+ id: string;
13314
+ options: string[];
13315
+ show_in_columns: boolean;
13316
+ show_in_detail: boolean;
13317
+ show_in_template: boolean;
13318
+ sort_order: number;
13319
+ updated_at: string;
13320
+ };
13321
+ Insert: {
13322
+ created_at?: string;
13323
+ field_key: string;
13324
+ field_label: string;
13325
+ field_type?: string;
13326
+ id?: string;
13327
+ options?: string[];
13328
+ show_in_columns?: boolean;
13329
+ show_in_detail?: boolean;
13330
+ show_in_template?: boolean;
13331
+ sort_order?: number;
13332
+ updated_at?: string;
13333
+ };
13334
+ Update: {
13335
+ created_at?: string;
13336
+ field_key?: string;
13337
+ field_label?: string;
13338
+ field_type?: string;
13339
+ id?: string;
13340
+ options?: string[];
13341
+ show_in_columns?: boolean;
13342
+ show_in_detail?: boolean;
13343
+ show_in_template?: boolean;
13344
+ sort_order?: number;
13345
+ updated_at?: string;
13346
+ };
13347
+ Relationships: [];
13348
+ };
13244
13349
  voorraad_media_upload_failures: {
13245
13350
  Row: {
13246
13351
  action: string;
@@ -14255,6 +14360,81 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14255
14360
  referencedColumns: ["id"];
14256
14361
  }];
14257
14362
  };
14363
+ v_external_customers_local: {
14364
+ Row: {
14365
+ city: string | null;
14366
+ commercial_name: string | null;
14367
+ company_name: string | null;
14368
+ connection_id: string | null;
14369
+ contact_person: string | null;
14370
+ country: string | null;
14371
+ email: string | null;
14372
+ external_id: string | null;
14373
+ fetched_at: string | null;
14374
+ gln: string | null;
14375
+ house_number: string | null;
14376
+ is_active: boolean | null;
14377
+ is_deleted: boolean | null;
14378
+ logo_url: string | null;
14379
+ phone: string | null;
14380
+ postal_code: string | null;
14381
+ provider: string | null;
14382
+ raw: import("./types").Json | null;
14383
+ status: string | null;
14384
+ street: string | null;
14385
+ vat_number: string | null;
14386
+ website: string | null;
14387
+ };
14388
+ Insert: {
14389
+ city?: string | null;
14390
+ commercial_name?: string | null;
14391
+ company_name?: string | null;
14392
+ connection_id?: never;
14393
+ contact_person?: string | null;
14394
+ country?: string | null;
14395
+ email?: string | null;
14396
+ external_id?: never;
14397
+ fetched_at?: never;
14398
+ gln?: string | null;
14399
+ house_number?: string | null;
14400
+ is_active?: never;
14401
+ is_deleted?: never;
14402
+ logo_url?: string | null;
14403
+ phone?: string | null;
14404
+ postal_code?: string | null;
14405
+ provider?: never;
14406
+ raw?: never;
14407
+ status?: string | null;
14408
+ street?: string | null;
14409
+ vat_number?: string | null;
14410
+ website?: string | null;
14411
+ };
14412
+ Update: {
14413
+ city?: string | null;
14414
+ commercial_name?: string | null;
14415
+ company_name?: string | null;
14416
+ connection_id?: never;
14417
+ contact_person?: string | null;
14418
+ country?: string | null;
14419
+ email?: string | null;
14420
+ external_id?: never;
14421
+ fetched_at?: never;
14422
+ gln?: string | null;
14423
+ house_number?: string | null;
14424
+ is_active?: never;
14425
+ is_deleted?: never;
14426
+ logo_url?: string | null;
14427
+ phone?: string | null;
14428
+ postal_code?: string | null;
14429
+ provider?: never;
14430
+ raw?: never;
14431
+ status?: string | null;
14432
+ street?: string | null;
14433
+ vat_number?: string | null;
14434
+ website?: string | null;
14435
+ };
14436
+ Relationships: [];
14437
+ };
14258
14438
  v_external_customers_twinfield: {
14259
14439
  Row: {
14260
14440
  city: string | null;
@@ -15448,6 +15628,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15448
15628
  };
15449
15629
  Returns: number;
15450
15630
  };
15631
+ release_debtor_lock: {
15632
+ Args: {
15633
+ _group_key: string;
15634
+ _user_id: string;
15635
+ };
15636
+ Returns: boolean;
15637
+ };
15451
15638
  reorder_customer_price_groups: {
15452
15639
  Args: {
15453
15640
  _ids: string[];
@@ -15827,6 +16014,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15827
16014
  };
15828
16015
  Returns: undefined;
15829
16016
  };
16017
+ try_debtor_lock: {
16018
+ Args: {
16019
+ _group_key: string;
16020
+ _user_id: string;
16021
+ };
16022
+ Returns: boolean;
16023
+ };
15830
16024
  twinfield_register_cron: {
15831
16025
  Args: {
15832
16026
  apikey: string;