@flowselections/mailbox-orders 1.0.14 → 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.
@@ -6479,6 +6479,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
6479
6479
  Row: {
6480
6480
  buyer_organization_id: string | null;
6481
6481
  connection_id: string;
6482
+ controlled_at: string | null;
6482
6483
  created_at: string;
6483
6484
  data: import("./types").Json;
6484
6485
  floriday_id: string;
@@ -6490,6 +6491,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
6490
6491
  Insert: {
6491
6492
  buyer_organization_id?: string | null;
6492
6493
  connection_id: string;
6494
+ controlled_at?: string | null;
6493
6495
  created_at?: string;
6494
6496
  data: import("./types").Json;
6495
6497
  floriday_id: string;
@@ -6501,6 +6503,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
6501
6503
  Update: {
6502
6504
  buyer_organization_id?: string | null;
6503
6505
  connection_id?: string;
6506
+ controlled_at?: string | null;
6504
6507
  created_at?: string;
6505
6508
  data?: import("./types").Json;
6506
6509
  floriday_id?: string;
@@ -7402,6 +7405,54 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
7402
7405
  };
7403
7406
  Relationships: [];
7404
7407
  };
7408
+ invoice_timing_settings: {
7409
+ Row: {
7410
+ anchor: string;
7411
+ business_days_only: boolean;
7412
+ created_at: string;
7413
+ enabled: boolean;
7414
+ id: string;
7415
+ offset_days: number;
7416
+ pickup_anchor: string;
7417
+ pickup_business_days_only: boolean;
7418
+ pickup_offset_days: number;
7419
+ pickup_time_of_day: string;
7420
+ singleton: boolean;
7421
+ time_of_day: string;
7422
+ updated_at: string;
7423
+ };
7424
+ Insert: {
7425
+ anchor?: string;
7426
+ business_days_only?: boolean;
7427
+ created_at?: string;
7428
+ enabled?: boolean;
7429
+ id?: string;
7430
+ offset_days?: number;
7431
+ pickup_anchor?: string;
7432
+ pickup_business_days_only?: boolean;
7433
+ pickup_offset_days?: number;
7434
+ pickup_time_of_day?: string;
7435
+ singleton?: boolean;
7436
+ time_of_day?: string;
7437
+ updated_at?: string;
7438
+ };
7439
+ Update: {
7440
+ anchor?: string;
7441
+ business_days_only?: boolean;
7442
+ created_at?: string;
7443
+ enabled?: boolean;
7444
+ id?: string;
7445
+ offset_days?: number;
7446
+ pickup_anchor?: string;
7447
+ pickup_business_days_only?: boolean;
7448
+ pickup_offset_days?: number;
7449
+ pickup_time_of_day?: string;
7450
+ singleton?: boolean;
7451
+ time_of_day?: string;
7452
+ updated_at?: string;
7453
+ };
7454
+ Relationships: [];
7455
+ };
7405
7456
  itk_contact_persons: {
7406
7457
  Row: {
7407
7458
  created_at: string;
@@ -10978,6 +11029,42 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10978
11029
  };
10979
11030
  Relationships: [];
10980
11031
  };
11032
+ order_invoice_links: {
11033
+ Row: {
11034
+ attempts: number;
11035
+ created_at: string;
11036
+ error_message: string | null;
11037
+ id: string;
11038
+ invoice_number: string | null;
11039
+ order_id: string;
11040
+ processed_at: string | null;
11041
+ status: string;
11042
+ updated_at: string;
11043
+ };
11044
+ Insert: {
11045
+ attempts?: number;
11046
+ created_at?: string;
11047
+ error_message?: string | null;
11048
+ id?: string;
11049
+ invoice_number?: string | null;
11050
+ order_id: string;
11051
+ processed_at?: string | null;
11052
+ status?: string;
11053
+ updated_at?: string;
11054
+ };
11055
+ Update: {
11056
+ attempts?: number;
11057
+ created_at?: string;
11058
+ error_message?: string | null;
11059
+ id?: string;
11060
+ invoice_number?: string | null;
11061
+ order_id?: string;
11062
+ processed_at?: string | null;
11063
+ status?: string;
11064
+ updated_at?: string;
11065
+ };
11066
+ Relationships: [];
11067
+ };
10981
11068
  order_items: {
10982
11069
  Row: {
10983
11070
  crates_per_layer: number | null;
@@ -11160,6 +11247,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11160
11247
  delivery_date: string | null;
11161
11248
  floriday_sales_order_id: string | null;
11162
11249
  id: string;
11250
+ invoice_due_at: string | null;
11163
11251
  is_reservation: boolean;
11164
11252
  notes: string | null;
11165
11253
  order_date: string;
@@ -11181,6 +11269,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11181
11269
  delivery_date?: string | null;
11182
11270
  floriday_sales_order_id?: string | null;
11183
11271
  id?: string;
11272
+ invoice_due_at?: string | null;
11184
11273
  is_reservation?: boolean;
11185
11274
  notes?: string | null;
11186
11275
  order_date?: string;
@@ -11202,6 +11291,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11202
11291
  delivery_date?: string | null;
11203
11292
  floriday_sales_order_id?: string | null;
11204
11293
  id?: string;
11294
+ invoice_due_at?: string | null;
11205
11295
  is_reservation?: boolean;
11206
11296
  notes?: string | null;
11207
11297
  order_date?: string;
@@ -15396,6 +15486,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15396
15486
  };
15397
15487
  twinfield_invoice_settings: {
15398
15488
  Row: {
15489
+ auto_invoice_enabled: boolean;
15490
+ auto_invoice_trigger_statuses: string[];
15399
15491
  created_at: string;
15400
15492
  debtor_gl_account: string;
15401
15493
  default_credit_invoice_type: string | null;
@@ -15416,6 +15508,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15416
15508
  vat_code_export: string | null;
15417
15509
  };
15418
15510
  Insert: {
15511
+ auto_invoice_enabled?: boolean;
15512
+ auto_invoice_trigger_statuses?: string[];
15419
15513
  created_at?: string;
15420
15514
  debtor_gl_account?: string;
15421
15515
  default_credit_invoice_type?: string | null;
@@ -15436,6 +15530,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
15436
15530
  vat_code_export?: string | null;
15437
15531
  };
15438
15532
  Update: {
15533
+ auto_invoice_enabled?: boolean;
15534
+ auto_invoice_trigger_statuses?: string[];
15439
15535
  created_at?: string;
15440
15536
  debtor_gl_account?: string;
15441
15537
  default_credit_invoice_type?: string | null;
@@ -18358,6 +18454,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18358
18454
  processed_items: number;
18359
18455
  }[];
18360
18456
  };
18457
+ backfill_order_auto_invoice_queue: {
18458
+ Args: never;
18459
+ Returns: number;
18460
+ };
18361
18461
  calculate_layer_stock: {
18362
18462
  Args: {
18363
18463
  p_product_id: string;