@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.
@@ -6646,6 +6646,7 @@ export type Database = {
6646
6646
  Row: {
6647
6647
  buyer_organization_id: string | null;
6648
6648
  connection_id: string;
6649
+ controlled_at: string | null;
6649
6650
  created_at: string;
6650
6651
  data: Json;
6651
6652
  floriday_id: string;
@@ -6657,6 +6658,7 @@ export type Database = {
6657
6658
  Insert: {
6658
6659
  buyer_organization_id?: string | null;
6659
6660
  connection_id: string;
6661
+ controlled_at?: string | null;
6660
6662
  created_at?: string;
6661
6663
  data: Json;
6662
6664
  floriday_id: string;
@@ -6668,6 +6670,7 @@ export type Database = {
6668
6670
  Update: {
6669
6671
  buyer_organization_id?: string | null;
6670
6672
  connection_id?: string;
6673
+ controlled_at?: string | null;
6671
6674
  created_at?: string;
6672
6675
  data?: Json;
6673
6676
  floriday_id?: string;
@@ -7601,6 +7604,54 @@ export type Database = {
7601
7604
  };
7602
7605
  Relationships: [];
7603
7606
  };
7607
+ invoice_timing_settings: {
7608
+ Row: {
7609
+ anchor: string;
7610
+ business_days_only: boolean;
7611
+ created_at: string;
7612
+ enabled: boolean;
7613
+ id: string;
7614
+ offset_days: number;
7615
+ pickup_anchor: string;
7616
+ pickup_business_days_only: boolean;
7617
+ pickup_offset_days: number;
7618
+ pickup_time_of_day: string;
7619
+ singleton: boolean;
7620
+ time_of_day: string;
7621
+ updated_at: string;
7622
+ };
7623
+ Insert: {
7624
+ anchor?: string;
7625
+ business_days_only?: boolean;
7626
+ created_at?: string;
7627
+ enabled?: boolean;
7628
+ id?: string;
7629
+ offset_days?: number;
7630
+ pickup_anchor?: string;
7631
+ pickup_business_days_only?: boolean;
7632
+ pickup_offset_days?: number;
7633
+ pickup_time_of_day?: string;
7634
+ singleton?: boolean;
7635
+ time_of_day?: string;
7636
+ updated_at?: string;
7637
+ };
7638
+ Update: {
7639
+ anchor?: string;
7640
+ business_days_only?: boolean;
7641
+ created_at?: string;
7642
+ enabled?: boolean;
7643
+ id?: string;
7644
+ offset_days?: number;
7645
+ pickup_anchor?: string;
7646
+ pickup_business_days_only?: boolean;
7647
+ pickup_offset_days?: number;
7648
+ pickup_time_of_day?: string;
7649
+ singleton?: boolean;
7650
+ time_of_day?: string;
7651
+ updated_at?: string;
7652
+ };
7653
+ Relationships: [];
7654
+ };
7604
7655
  itk_contact_persons: {
7605
7656
  Row: {
7606
7657
  created_at: string;
@@ -11280,6 +11331,42 @@ export type Database = {
11280
11331
  };
11281
11332
  Relationships: [];
11282
11333
  };
11334
+ order_invoice_links: {
11335
+ Row: {
11336
+ attempts: number;
11337
+ created_at: string;
11338
+ error_message: string | null;
11339
+ id: string;
11340
+ invoice_number: string | null;
11341
+ order_id: string;
11342
+ processed_at: string | null;
11343
+ status: string;
11344
+ updated_at: string;
11345
+ };
11346
+ Insert: {
11347
+ attempts?: number;
11348
+ created_at?: string;
11349
+ error_message?: string | null;
11350
+ id?: string;
11351
+ invoice_number?: string | null;
11352
+ order_id: string;
11353
+ processed_at?: string | null;
11354
+ status?: string;
11355
+ updated_at?: string;
11356
+ };
11357
+ Update: {
11358
+ attempts?: number;
11359
+ created_at?: string;
11360
+ error_message?: string | null;
11361
+ id?: string;
11362
+ invoice_number?: string | null;
11363
+ order_id?: string;
11364
+ processed_at?: string | null;
11365
+ status?: string;
11366
+ updated_at?: string;
11367
+ };
11368
+ Relationships: [];
11369
+ };
11283
11370
  order_items: {
11284
11371
  Row: {
11285
11372
  crates_per_layer: number | null;
@@ -11471,6 +11558,7 @@ export type Database = {
11471
11558
  delivery_date: string | null;
11472
11559
  floriday_sales_order_id: string | null;
11473
11560
  id: string;
11561
+ invoice_due_at: string | null;
11474
11562
  is_reservation: boolean;
11475
11563
  notes: string | null;
11476
11564
  order_date: string;
@@ -11492,6 +11580,7 @@ export type Database = {
11492
11580
  delivery_date?: string | null;
11493
11581
  floriday_sales_order_id?: string | null;
11494
11582
  id?: string;
11583
+ invoice_due_at?: string | null;
11495
11584
  is_reservation?: boolean;
11496
11585
  notes?: string | null;
11497
11586
  order_date?: string;
@@ -11513,6 +11602,7 @@ export type Database = {
11513
11602
  delivery_date?: string | null;
11514
11603
  floriday_sales_order_id?: string | null;
11515
11604
  id?: string;
11605
+ invoice_due_at?: string | null;
11516
11606
  is_reservation?: boolean;
11517
11607
  notes?: string | null;
11518
11608
  order_date?: string;
@@ -15838,6 +15928,8 @@ export type Database = {
15838
15928
  };
15839
15929
  twinfield_invoice_settings: {
15840
15930
  Row: {
15931
+ auto_invoice_enabled: boolean;
15932
+ auto_invoice_trigger_statuses: string[];
15841
15933
  created_at: string;
15842
15934
  debtor_gl_account: string;
15843
15935
  default_credit_invoice_type: string | null;
@@ -15858,6 +15950,8 @@ export type Database = {
15858
15950
  vat_code_export: string | null;
15859
15951
  };
15860
15952
  Insert: {
15953
+ auto_invoice_enabled?: boolean;
15954
+ auto_invoice_trigger_statuses?: string[];
15861
15955
  created_at?: string;
15862
15956
  debtor_gl_account?: string;
15863
15957
  default_credit_invoice_type?: string | null;
@@ -15878,6 +15972,8 @@ export type Database = {
15878
15972
  vat_code_export?: string | null;
15879
15973
  };
15880
15974
  Update: {
15975
+ auto_invoice_enabled?: boolean;
15976
+ auto_invoice_trigger_statuses?: string[];
15881
15977
  created_at?: string;
15882
15978
  debtor_gl_account?: string;
15883
15979
  default_credit_invoice_type?: string | null;
@@ -18868,6 +18964,10 @@ export type Database = {
18868
18964
  processed_items: number;
18869
18965
  }[];
18870
18966
  };
18967
+ backfill_order_auto_invoice_queue: {
18968
+ Args: never;
18969
+ Returns: number;
18970
+ };
18871
18971
  calculate_layer_stock: {
18872
18972
  Args: {
18873
18973
  p_product_id: string;