@flowselections/mailbox-orders 1.0.13 → 1.0.15

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.
@@ -6480,6 +6480,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
6480
6480
  Row: {
6481
6481
  buyer_organization_id: string | null;
6482
6482
  connection_id: string;
6483
+ controlled_at: string | null;
6483
6484
  created_at: string;
6484
6485
  data: import("./types").Json;
6485
6486
  floriday_id: string;
@@ -6491,6 +6492,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
6491
6492
  Insert: {
6492
6493
  buyer_organization_id?: string | null;
6493
6494
  connection_id: string;
6495
+ controlled_at?: string | null;
6494
6496
  created_at?: string;
6495
6497
  data: import("./types").Json;
6496
6498
  floriday_id: string;
@@ -6502,6 +6504,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
6502
6504
  Update: {
6503
6505
  buyer_organization_id?: string | null;
6504
6506
  connection_id?: string;
6507
+ controlled_at?: string | null;
6505
6508
  created_at?: string;
6506
6509
  data?: import("./types").Json;
6507
6510
  floriday_id?: string;
@@ -7403,6 +7406,54 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
7403
7406
  };
7404
7407
  Relationships: [];
7405
7408
  };
7409
+ invoice_timing_settings: {
7410
+ Row: {
7411
+ anchor: string;
7412
+ business_days_only: boolean;
7413
+ created_at: string;
7414
+ enabled: boolean;
7415
+ id: string;
7416
+ offset_days: number;
7417
+ pickup_anchor: string;
7418
+ pickup_business_days_only: boolean;
7419
+ pickup_offset_days: number;
7420
+ pickup_time_of_day: string;
7421
+ singleton: boolean;
7422
+ time_of_day: string;
7423
+ updated_at: string;
7424
+ };
7425
+ Insert: {
7426
+ anchor?: string;
7427
+ business_days_only?: boolean;
7428
+ created_at?: string;
7429
+ enabled?: boolean;
7430
+ id?: string;
7431
+ offset_days?: number;
7432
+ pickup_anchor?: string;
7433
+ pickup_business_days_only?: boolean;
7434
+ pickup_offset_days?: number;
7435
+ pickup_time_of_day?: string;
7436
+ singleton?: boolean;
7437
+ time_of_day?: string;
7438
+ updated_at?: string;
7439
+ };
7440
+ Update: {
7441
+ anchor?: string;
7442
+ business_days_only?: boolean;
7443
+ created_at?: string;
7444
+ enabled?: boolean;
7445
+ id?: string;
7446
+ offset_days?: number;
7447
+ pickup_anchor?: string;
7448
+ pickup_business_days_only?: boolean;
7449
+ pickup_offset_days?: number;
7450
+ pickup_time_of_day?: string;
7451
+ singleton?: boolean;
7452
+ time_of_day?: string;
7453
+ updated_at?: string;
7454
+ };
7455
+ Relationships: [];
7456
+ };
7406
7457
  itk_contact_persons: {
7407
7458
  Row: {
7408
7459
  created_at: string;
@@ -10979,6 +11030,42 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
10979
11030
  };
10980
11031
  Relationships: [];
10981
11032
  };
11033
+ order_invoice_links: {
11034
+ Row: {
11035
+ attempts: number;
11036
+ created_at: string;
11037
+ error_message: string | null;
11038
+ id: string;
11039
+ invoice_number: string | null;
11040
+ order_id: string;
11041
+ processed_at: string | null;
11042
+ status: string;
11043
+ updated_at: string;
11044
+ };
11045
+ Insert: {
11046
+ attempts?: number;
11047
+ created_at?: string;
11048
+ error_message?: string | null;
11049
+ id?: string;
11050
+ invoice_number?: string | null;
11051
+ order_id: string;
11052
+ processed_at?: string | null;
11053
+ status?: string;
11054
+ updated_at?: string;
11055
+ };
11056
+ Update: {
11057
+ attempts?: number;
11058
+ created_at?: string;
11059
+ error_message?: string | null;
11060
+ id?: string;
11061
+ invoice_number?: string | null;
11062
+ order_id?: string;
11063
+ processed_at?: string | null;
11064
+ status?: string;
11065
+ updated_at?: string;
11066
+ };
11067
+ Relationships: [];
11068
+ };
10982
11069
  order_items: {
10983
11070
  Row: {
10984
11071
  crates_per_layer: number | null;
@@ -11161,6 +11248,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
11161
11248
  delivery_date: string | null;
11162
11249
  floriday_sales_order_id: string | null;
11163
11250
  id: string;
11251
+ invoice_due_at: string | null;
11164
11252
  is_reservation: boolean;
11165
11253
  notes: string | null;
11166
11254
  order_date: string;
@@ -11182,6 +11270,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
11182
11270
  delivery_date?: string | null;
11183
11271
  floriday_sales_order_id?: string | null;
11184
11272
  id?: string;
11273
+ invoice_due_at?: string | null;
11185
11274
  is_reservation?: boolean;
11186
11275
  notes?: string | null;
11187
11276
  order_date?: string;
@@ -11203,6 +11292,7 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
11203
11292
  delivery_date?: string | null;
11204
11293
  floriday_sales_order_id?: string | null;
11205
11294
  id?: string;
11295
+ invoice_due_at?: string | null;
11206
11296
  is_reservation?: boolean;
11207
11297
  notes?: string | null;
11208
11298
  order_date?: string;
@@ -15397,6 +15487,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
15397
15487
  };
15398
15488
  twinfield_invoice_settings: {
15399
15489
  Row: {
15490
+ auto_invoice_enabled: boolean;
15491
+ auto_invoice_trigger_statuses: string[];
15400
15492
  created_at: string;
15401
15493
  debtor_gl_account: string;
15402
15494
  default_credit_invoice_type: string | null;
@@ -15417,6 +15509,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
15417
15509
  vat_code_export: string | null;
15418
15510
  };
15419
15511
  Insert: {
15512
+ auto_invoice_enabled?: boolean;
15513
+ auto_invoice_trigger_statuses?: string[];
15420
15514
  created_at?: string;
15421
15515
  debtor_gl_account?: string;
15422
15516
  default_credit_invoice_type?: string | null;
@@ -15437,6 +15531,8 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
15437
15531
  vat_code_export?: string | null;
15438
15532
  };
15439
15533
  Update: {
15534
+ auto_invoice_enabled?: boolean;
15535
+ auto_invoice_trigger_statuses?: string[];
15440
15536
  created_at?: string;
15441
15537
  debtor_gl_account?: string;
15442
15538
  default_credit_invoice_type?: string | null;
@@ -18359,6 +18455,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18359
18455
  processed_items: number;
18360
18456
  }[];
18361
18457
  };
18458
+ backfill_order_auto_invoice_queue: {
18459
+ Args: never;
18460
+ Returns: number;
18461
+ };
18362
18462
  calculate_layer_stock: {
18363
18463
  Args: {
18364
18464
  p_product_id: string;
@@ -18589,6 +18689,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
18589
18689
  Args: never;
18590
18690
  Returns: undefined;
18591
18691
  };
18692
+ cleanup_voorraad_module_history: {
18693
+ Args: never;
18694
+ Returns: undefined;
18695
+ };
18592
18696
  complete_floriday_stock_queue: {
18593
18697
  Args: {
18594
18698
  p_attempt_id?: string;
@@ -20313,6 +20417,12 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20313
20417
  };
20314
20418
  Returns: undefined;
20315
20419
  };
20420
+ reset_stalled_floriday_stock_queue: {
20421
+ Args: {
20422
+ p_include_failed?: boolean;
20423
+ };
20424
+ Returns: number;
20425
+ };
20316
20426
  resolve_group_allocation: {
20317
20427
  Args: {
20318
20428
  _needed: number;
@@ -20367,6 +20477,10 @@ export declare const supabaseAdmin: SupabaseClient<Database, "public", "public",
20367
20477
  Args: never;
20368
20478
  Returns: undefined;
20369
20479
  };
20480
+ run_floriday_stock_queue_process: {
20481
+ Args: never;
20482
+ Returns: undefined;
20483
+ };
20370
20484
  run_logistics_tasks_dispatch: {
20371
20485
  Args: never;
20372
20486
  Returns: undefined;