@flowselections/floriday-verkoop-module 1.0.44 → 1.0.46

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 (116) hide show
  1. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +9 -0
  2. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -0
  3. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +26 -0
  4. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +6 -0
  5. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
  6. package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
  7. package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
  8. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
  9. package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
  10. package/dist-lib/components/ui/dropdown-menu.d.ts +9 -0
  11. package/dist-lib/components/ui/dropdown-menu.d.ts.map +1 -0
  12. package/dist-lib/components/ui/dropdown-menu.js +14 -0
  13. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  14. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
  16. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +5 -0
  20. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +1 -0
  21. package/dist-lib/components/verkoop/CreateOrderDialog.js +33 -0
  22. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  23. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  24. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  25. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  26. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  27. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  28. package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
  29. package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
  30. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
  31. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
  32. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  33. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  34. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
  35. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
  36. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  37. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  38. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
  39. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  40. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
  41. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
  42. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  43. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  44. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  45. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  46. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  47. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  48. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
  49. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  50. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  51. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  52. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +1 -2
  53. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  54. package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
  55. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  56. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  57. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  58. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  59. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  60. package/dist-lib/integrations/supabase/auth-middleware.d.ts +520 -145
  61. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  62. package/dist-lib/integrations/supabase/client.d.ts +520 -145
  63. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  64. package/dist-lib/integrations/supabase/client.server.d.ts +520 -145
  65. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  66. package/dist-lib/integrations/supabase/types.d.ts +545 -161
  67. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  68. package/dist-lib/lib/cart-lock.functions.d.ts +520 -145
  69. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/cart-planning-settings.functions.d.ts +5720 -1595
  71. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  72. package/dist-lib/lib/cart-replan.functions.d.ts +1560 -435
  73. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/create-order.functions.d.ts +8840 -2465
  75. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/floriday/floriday.server.d.ts +14 -0
  77. package/dist-lib/lib/floriday/floriday.server.d.ts.map +1 -0
  78. package/dist-lib/lib/floriday/floriday.server.js +92 -0
  79. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +4736 -0
  80. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +1 -0
  81. package/dist-lib/lib/floriday/sales-orders.functions.js +193 -0
  82. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1560 -435
  83. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +520 -145
  85. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  86. package/dist-lib/lib/floriday-mirror.functions.d.ts +520 -145
  87. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  88. package/dist-lib/lib/floriday-public.functions.d.ts +3640 -1015
  89. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  90. package/dist-lib/lib/floriday-writes.functions.d.ts +2600 -725
  91. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  92. package/dist-lib/lib/invoice-timing.functions.d.ts +2080 -580
  93. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  94. package/dist-lib/lib/load-carriers.functions.d.ts +520 -145
  95. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  96. package/dist-lib/lib/logistics-engine.functions.d.ts +2600 -725
  97. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  98. package/dist-lib/lib/logistics-stock.functions.d.ts +1040 -290
  99. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  100. package/dist-lib/lib/order-addresses.functions.d.ts +520 -145
  101. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/order-buffers.functions.d.ts +1560 -435
  103. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  104. package/dist-lib/lib/order-carrier.functions.d.ts +1040 -290
  105. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  106. package/dist-lib/lib/order-pickup.functions.d.ts +1040 -290
  107. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  108. package/dist-lib/lib/order-shipments.functions.d.ts +2080 -580
  109. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  110. package/dist-lib/lib/salesorders-list.functions.d.ts +520 -145
  111. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  112. package/dist-lib/lib/salesorders.functions.d.ts +2600 -725
  113. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  114. package/dist-lib/lib/tradeitems.functions.d.ts +520 -145
  115. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  116. package/package.json +3 -3
@@ -2818,6 +2818,44 @@ export type Database = {
2818
2818
  };
2819
2819
  Relationships: [];
2820
2820
  };
2821
+ document_bronregels: {
2822
+ Row: {
2823
+ bron: string;
2824
+ created_at: string;
2825
+ documenttype: string;
2826
+ herkomst: string;
2827
+ id: string;
2828
+ layout_id: string | null;
2829
+ updated_at: string;
2830
+ };
2831
+ Insert: {
2832
+ bron?: string;
2833
+ created_at?: string;
2834
+ documenttype: string;
2835
+ herkomst: string;
2836
+ id?: string;
2837
+ layout_id?: string | null;
2838
+ updated_at?: string;
2839
+ };
2840
+ Update: {
2841
+ bron?: string;
2842
+ created_at?: string;
2843
+ documenttype?: string;
2844
+ herkomst?: string;
2845
+ id?: string;
2846
+ layout_id?: string | null;
2847
+ updated_at?: string;
2848
+ };
2849
+ Relationships: [
2850
+ {
2851
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2852
+ columns: ["layout_id"];
2853
+ isOneToOne: false;
2854
+ referencedRelation: "document_layouts";
2855
+ referencedColumns: ["id"];
2856
+ }
2857
+ ];
2858
+ };
2821
2859
  document_formaat_printers: {
2822
2860
  Row: {
2823
2861
  created_at: string;
@@ -3108,6 +3146,7 @@ export type Database = {
3108
3146
  Row: {
3109
3147
  actief: boolean;
3110
3148
  breedte_mm: number;
3149
+ bron: string;
3111
3150
  config: Json;
3112
3151
  created_at: string;
3113
3152
  created_by: string | null;
@@ -3125,12 +3164,14 @@ export type Database = {
3125
3164
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3126
3165
  page_settings: Json;
3127
3166
  papierformaat: string;
3167
+ systeem: boolean;
3128
3168
  thumbnail_url: string | null;
3129
3169
  updated_at: string;
3130
3170
  };
3131
3171
  Insert: {
3132
3172
  actief?: boolean;
3133
3173
  breedte_mm?: number;
3174
+ bron?: string;
3134
3175
  config?: Json;
3135
3176
  created_at?: string;
3136
3177
  created_by?: string | null;
@@ -3148,12 +3189,14 @@ export type Database = {
3148
3189
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3149
3190
  page_settings?: Json;
3150
3191
  papierformaat?: string;
3192
+ systeem?: boolean;
3151
3193
  thumbnail_url?: string | null;
3152
3194
  updated_at?: string;
3153
3195
  };
3154
3196
  Update: {
3155
3197
  actief?: boolean;
3156
3198
  breedte_mm?: number;
3199
+ bron?: string;
3157
3200
  config?: Json;
3158
3201
  created_at?: string;
3159
3202
  created_by?: string | null;
@@ -3171,11 +3214,50 @@ export type Database = {
3171
3214
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3172
3215
  page_settings?: Json;
3173
3216
  papierformaat?: string;
3217
+ systeem?: boolean;
3174
3218
  thumbnail_url?: string | null;
3175
3219
  updated_at?: string;
3176
3220
  };
3177
3221
  Relationships: [];
3178
3222
  };
3223
+ document_werkplek_printers: {
3224
+ Row: {
3225
+ created_at: string;
3226
+ documenttype: string;
3227
+ id: string;
3228
+ papierformaat: string | null;
3229
+ printer_id: string | null;
3230
+ updated_at: string;
3231
+ werkplek: string;
3232
+ };
3233
+ Insert: {
3234
+ created_at?: string;
3235
+ documenttype: string;
3236
+ id?: string;
3237
+ papierformaat?: string | null;
3238
+ printer_id?: string | null;
3239
+ updated_at?: string;
3240
+ werkplek: string;
3241
+ };
3242
+ Update: {
3243
+ created_at?: string;
3244
+ documenttype?: string;
3245
+ id?: string;
3246
+ papierformaat?: string | null;
3247
+ printer_id?: string | null;
3248
+ updated_at?: string;
3249
+ werkplek?: string;
3250
+ };
3251
+ Relationships: [
3252
+ {
3253
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3254
+ columns: ["printer_id"];
3255
+ isOneToOne: false;
3256
+ referencedRelation: "printers";
3257
+ referencedColumns: ["id"];
3258
+ }
3259
+ ];
3260
+ };
3179
3261
  email_auth_connections: {
3180
3262
  Row: {
3181
3263
  access_token_encrypted: string | null;
@@ -5157,42 +5239,6 @@ export type Database = {
5157
5239
  };
5158
5240
  Relationships: [];
5159
5241
  };
5160
- facturen: {
5161
- Row: {
5162
- bedrag_incl_btw: number;
5163
- created_at: string;
5164
- datum: string;
5165
- factuurnummer: string;
5166
- id: string;
5167
- klantnaam: string;
5168
- status: string;
5169
- updated_at: string;
5170
- user_id: string;
5171
- };
5172
- Insert: {
5173
- bedrag_incl_btw: number;
5174
- created_at?: string;
5175
- datum?: string;
5176
- factuurnummer: string;
5177
- id?: string;
5178
- klantnaam: string;
5179
- status?: string;
5180
- updated_at?: string;
5181
- user_id?: string;
5182
- };
5183
- Update: {
5184
- bedrag_incl_btw?: number;
5185
- created_at?: string;
5186
- datum?: string;
5187
- factuurnummer?: string;
5188
- id?: string;
5189
- klantnaam?: string;
5190
- status?: string;
5191
- updated_at?: string;
5192
- user_id?: string;
5193
- };
5194
- Relationships: [];
5195
- };
5196
5242
  floricode_connection_settings: {
5197
5243
  Row: {
5198
5244
  catalog_key: string | null;
@@ -7578,8 +7624,66 @@ export type Database = {
7578
7624
  };
7579
7625
  Relationships: [];
7580
7626
  };
7627
+ invoice_items: {
7628
+ Row: {
7629
+ created_at: string;
7630
+ description: string;
7631
+ id: string;
7632
+ invoice_id: string;
7633
+ kind: string;
7634
+ quantity: number;
7635
+ sort_order: number;
7636
+ source_line_ref: string | null;
7637
+ total_cents: number;
7638
+ unit: string;
7639
+ unit_price_cents: number;
7640
+ };
7641
+ Insert: {
7642
+ created_at?: string;
7643
+ description?: string;
7644
+ id?: string;
7645
+ invoice_id: string;
7646
+ kind?: string;
7647
+ quantity?: number;
7648
+ sort_order?: number;
7649
+ source_line_ref?: string | null;
7650
+ total_cents?: number;
7651
+ unit?: string;
7652
+ unit_price_cents?: number;
7653
+ };
7654
+ Update: {
7655
+ created_at?: string;
7656
+ description?: string;
7657
+ id?: string;
7658
+ invoice_id?: string;
7659
+ kind?: string;
7660
+ quantity?: number;
7661
+ sort_order?: number;
7662
+ source_line_ref?: string | null;
7663
+ total_cents?: number;
7664
+ unit?: string;
7665
+ unit_price_cents?: number;
7666
+ };
7667
+ Relationships: [
7668
+ {
7669
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7670
+ columns: ["invoice_id"];
7671
+ isOneToOne: false;
7672
+ referencedRelation: "invoices";
7673
+ referencedColumns: ["id"];
7674
+ },
7675
+ {
7676
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7677
+ columns: ["invoice_id"];
7678
+ isOneToOne: false;
7679
+ referencedRelation: "uren_facturen";
7680
+ referencedColumns: ["id"];
7681
+ }
7682
+ ];
7683
+ };
7581
7684
  invoice_post_idempotency: {
7582
7685
  Row: {
7686
+ administration_code: string;
7583
7687
  client_request_id: string;
7584
7688
  completed_at: string | null;
7585
7689
  created_at: string;
@@ -7589,6 +7693,7 @@ export type Database = {
7589
7693
  user_id: string;
7590
7694
  };
7591
7695
  Insert: {
7696
+ administration_code?: string;
7592
7697
  client_request_id: string;
7593
7698
  completed_at?: string | null;
7594
7699
  created_at?: string;
@@ -7598,6 +7703,7 @@ export type Database = {
7598
7703
  user_id: string;
7599
7704
  };
7600
7705
  Update: {
7706
+ administration_code?: string;
7601
7707
  client_request_id?: string;
7602
7708
  completed_at?: string | null;
7603
7709
  created_at?: string;
@@ -7808,6 +7914,77 @@ export type Database = {
7808
7914
  };
7809
7915
  Relationships: [];
7810
7916
  };
7917
+ invoices: {
7918
+ Row: {
7919
+ created_at: string;
7920
+ created_by: string | null;
7921
+ customer_id: string | null;
7922
+ customer_name: string | null;
7923
+ due_date: string | null;
7924
+ id: string;
7925
+ invoice_date: string;
7926
+ invoice_number: string | null;
7927
+ note: string | null;
7928
+ source_number: string | null;
7929
+ source_ref: string | null;
7930
+ source_type: string;
7931
+ status: string;
7932
+ subtotal_cents: number;
7933
+ total_cents: number;
7934
+ updated_at: string;
7935
+ vat_cents: number;
7936
+ vat_rate: number;
7937
+ };
7938
+ Insert: {
7939
+ created_at?: string;
7940
+ created_by?: string | null;
7941
+ customer_id?: string | null;
7942
+ customer_name?: string | null;
7943
+ due_date?: string | null;
7944
+ id?: string;
7945
+ invoice_date?: string;
7946
+ invoice_number?: string | null;
7947
+ note?: string | null;
7948
+ source_number?: string | null;
7949
+ source_ref?: string | null;
7950
+ source_type?: string;
7951
+ status?: string;
7952
+ subtotal_cents?: number;
7953
+ total_cents?: number;
7954
+ updated_at?: string;
7955
+ vat_cents?: number;
7956
+ vat_rate?: number;
7957
+ };
7958
+ Update: {
7959
+ created_at?: string;
7960
+ created_by?: string | null;
7961
+ customer_id?: string | null;
7962
+ customer_name?: string | null;
7963
+ due_date?: string | null;
7964
+ id?: string;
7965
+ invoice_date?: string;
7966
+ invoice_number?: string | null;
7967
+ note?: string | null;
7968
+ source_number?: string | null;
7969
+ source_ref?: string | null;
7970
+ source_type?: string;
7971
+ status?: string;
7972
+ subtotal_cents?: number;
7973
+ total_cents?: number;
7974
+ updated_at?: string;
7975
+ vat_cents?: number;
7976
+ vat_rate?: number;
7977
+ };
7978
+ Relationships: [
7979
+ {
7980
+ foreignKeyName: "invoices_customer_id_fkey";
7981
+ columns: ["customer_id"];
7982
+ isOneToOne: false;
7983
+ referencedRelation: "itk_customers";
7984
+ referencedColumns: ["id"];
7985
+ }
7986
+ ];
7987
+ };
7811
7988
  itk_contact_persons: {
7812
7989
  Row: {
7813
7990
  created_at: string;
@@ -9200,6 +9377,9 @@ export type Database = {
9200
9377
  id: string;
9201
9378
  last_error: string | null;
9202
9379
  last_error_at: string | null;
9380
+ last_error_code: string | null;
9381
+ last_gateway_status: number | null;
9382
+ last_response: Json | null;
9203
9383
  last_sent_hash: string | null;
9204
9384
  locked_by: string | null;
9205
9385
  locked_until: string | null;
@@ -9220,6 +9400,9 @@ export type Database = {
9220
9400
  id?: string;
9221
9401
  last_error?: string | null;
9222
9402
  last_error_at?: string | null;
9403
+ last_error_code?: string | null;
9404
+ last_gateway_status?: number | null;
9405
+ last_response?: Json | null;
9223
9406
  last_sent_hash?: string | null;
9224
9407
  locked_by?: string | null;
9225
9408
  locked_until?: string | null;
@@ -9240,6 +9423,9 @@ export type Database = {
9240
9423
  id?: string;
9241
9424
  last_error?: string | null;
9242
9425
  last_error_at?: string | null;
9426
+ last_error_code?: string | null;
9427
+ last_gateway_status?: number | null;
9428
+ last_response?: Json | null;
9243
9429
  last_sent_hash?: string | null;
9244
9430
  locked_by?: string | null;
9245
9431
  locked_until?: string | null;
@@ -10831,6 +11017,7 @@ export type Database = {
10831
11017
  enforce: boolean;
10832
11018
  is_active: boolean;
10833
11019
  last_seen_at: string;
11020
+ missing_count: number;
10834
11021
  module_id: string;
10835
11022
  name: string;
10836
11023
  shell_id: string | null;
@@ -10841,6 +11028,7 @@ export type Database = {
10841
11028
  enforce?: boolean;
10842
11029
  is_active?: boolean;
10843
11030
  last_seen_at?: string;
11031
+ missing_count?: number;
10844
11032
  module_id: string;
10845
11033
  name: string;
10846
11034
  shell_id?: string | null;
@@ -10851,6 +11039,7 @@ export type Database = {
10851
11039
  enforce?: boolean;
10852
11040
  is_active?: boolean;
10853
11041
  last_seen_at?: string;
11042
+ missing_count?: number;
10854
11043
  module_id?: string;
10855
11044
  name?: string;
10856
11045
  shell_id?: string | null;
@@ -11882,6 +12071,7 @@ export type Database = {
11882
12071
  };
11883
12072
  order_invoice_links: {
11884
12073
  Row: {
12074
+ administration_code: string | null;
11885
12075
  attempts: number;
11886
12076
  created_at: string;
11887
12077
  error_message: string | null;
@@ -11894,6 +12084,7 @@ export type Database = {
11894
12084
  updated_at: string;
11895
12085
  };
11896
12086
  Insert: {
12087
+ administration_code?: string | null;
11897
12088
  attempts?: number;
11898
12089
  created_at?: string;
11899
12090
  error_message?: string | null;
@@ -11906,6 +12097,7 @@ export type Database = {
11906
12097
  updated_at?: string;
11907
12098
  };
11908
12099
  Update: {
12100
+ administration_code?: string | null;
11909
12101
  attempts?: number;
11910
12102
  created_at?: string;
11911
12103
  error_message?: string | null;
@@ -13115,6 +13307,27 @@ export type Database = {
13115
13307
  }
13116
13308
  ];
13117
13309
  };
13310
+ pick_sync_state: {
13311
+ Row: {
13312
+ id: boolean;
13313
+ last_cleanup_at: string | null;
13314
+ last_sync_at: string | null;
13315
+ updated_at: string;
13316
+ };
13317
+ Insert: {
13318
+ id?: boolean;
13319
+ last_cleanup_at?: string | null;
13320
+ last_sync_at?: string | null;
13321
+ updated_at?: string;
13322
+ };
13323
+ Update: {
13324
+ id?: boolean;
13325
+ last_cleanup_at?: string | null;
13326
+ last_sync_at?: string | null;
13327
+ updated_at?: string;
13328
+ };
13329
+ Relationships: [];
13330
+ };
13118
13331
  pick_task_document_types: {
13119
13332
  Row: {
13120
13333
  created_at: string;
@@ -13406,6 +13619,7 @@ export type Database = {
13406
13619
  gebruiker_id: string | null;
13407
13620
  gebruiker_naam: string;
13408
13621
  gestart_op: string | null;
13622
+ herkomst: string | null;
13409
13623
  id: string;
13410
13624
  idempotentie_sleutel: string | null;
13411
13625
  is_herprint: boolean;
@@ -13435,6 +13649,7 @@ export type Database = {
13435
13649
  gebruiker_id?: string | null;
13436
13650
  gebruiker_naam?: string;
13437
13651
  gestart_op?: string | null;
13652
+ herkomst?: string | null;
13438
13653
  id?: string;
13439
13654
  idempotentie_sleutel?: string | null;
13440
13655
  is_herprint?: boolean;
@@ -13464,6 +13679,7 @@ export type Database = {
13464
13679
  gebruiker_id?: string | null;
13465
13680
  gebruiker_naam?: string;
13466
13681
  gestart_op?: string | null;
13682
+ herkomst?: string | null;
13467
13683
  id?: string;
13468
13684
  idempotentie_sleutel?: string | null;
13469
13685
  is_herprint?: boolean;
@@ -16563,12 +16779,16 @@ export type Database = {
16563
16779
  company_name: string | null;
16564
16780
  connected_at: string | null;
16565
16781
  created_at: string;
16782
+ disconnected_at: string | null;
16566
16783
  environment: string;
16567
16784
  id: string;
16785
+ initial_sync_completed_at: string | null;
16786
+ initial_sync_started_at: string | null;
16568
16787
  is_active: boolean;
16569
16788
  label: string | null;
16570
16789
  office_code: string | null;
16571
16790
  redirect_uri: string | null;
16791
+ superseded_at: string | null;
16572
16792
  updated_at: string;
16573
16793
  user_id: string;
16574
16794
  };
@@ -16579,12 +16799,16 @@ export type Database = {
16579
16799
  company_name?: string | null;
16580
16800
  connected_at?: string | null;
16581
16801
  created_at?: string;
16802
+ disconnected_at?: string | null;
16582
16803
  environment: string;
16583
16804
  id?: string;
16805
+ initial_sync_completed_at?: string | null;
16806
+ initial_sync_started_at?: string | null;
16584
16807
  is_active?: boolean;
16585
16808
  label?: string | null;
16586
16809
  office_code?: string | null;
16587
16810
  redirect_uri?: string | null;
16811
+ superseded_at?: string | null;
16588
16812
  updated_at?: string;
16589
16813
  user_id: string;
16590
16814
  };
@@ -16595,12 +16819,16 @@ export type Database = {
16595
16819
  company_name?: string | null;
16596
16820
  connected_at?: string | null;
16597
16821
  created_at?: string;
16822
+ disconnected_at?: string | null;
16598
16823
  environment?: string;
16599
16824
  id?: string;
16825
+ initial_sync_completed_at?: string | null;
16826
+ initial_sync_started_at?: string | null;
16600
16827
  is_active?: boolean;
16601
16828
  label?: string | null;
16602
16829
  office_code?: string | null;
16603
16830
  redirect_uri?: string | null;
16831
+ superseded_at?: string | null;
16604
16832
  updated_at?: string;
16605
16833
  user_id?: string;
16606
16834
  };
@@ -16660,6 +16888,7 @@ export type Database = {
16660
16888
  twinfield_customers: {
16661
16889
  Row: {
16662
16890
  address: string | null;
16891
+ administration_code: string;
16663
16892
  city: string | null;
16664
16893
  country: string | null;
16665
16894
  created_at: string;
@@ -16679,6 +16908,7 @@ export type Database = {
16679
16908
  };
16680
16909
  Insert: {
16681
16910
  address?: string | null;
16911
+ administration_code?: string;
16682
16912
  city?: string | null;
16683
16913
  country?: string | null;
16684
16914
  created_at?: string;
@@ -16698,6 +16928,7 @@ export type Database = {
16698
16928
  };
16699
16929
  Update: {
16700
16930
  address?: string | null;
16931
+ administration_code?: string;
16701
16932
  city?: string | null;
16702
16933
  country?: string | null;
16703
16934
  created_at?: string;
@@ -16919,7 +17150,9 @@ export type Database = {
16919
17150
  };
16920
17151
  twinfield_invoice_settings: {
16921
17152
  Row: {
17153
+ administration_code: string | null;
16922
17154
  auto_invoice_enabled: boolean;
17155
+ auto_invoice_start_date: string | null;
16923
17156
  auto_invoice_trigger_statuses: string[];
16924
17157
  created_at: string;
16925
17158
  debtor_gl_account: string;
@@ -16933,15 +17166,19 @@ export type Database = {
16933
17166
  invoice_enabled_fo: boolean;
16934
17167
  invoice_enabled_ho: boolean;
16935
17168
  invoice_enabled_mo: boolean;
17169
+ needs_review: boolean;
16936
17170
  payment_gl_account: string;
16937
17171
  payment_journal_code: string;
17172
+ settings_confirmed_at: string | null;
16938
17173
  updated_at: string;
16939
17174
  user_id: string;
16940
17175
  vat_code_eu_reverse: string | null;
16941
17176
  vat_code_export: string | null;
16942
17177
  };
16943
17178
  Insert: {
17179
+ administration_code?: string | null;
16944
17180
  auto_invoice_enabled?: boolean;
17181
+ auto_invoice_start_date?: string | null;
16945
17182
  auto_invoice_trigger_statuses?: string[];
16946
17183
  created_at?: string;
16947
17184
  debtor_gl_account?: string;
@@ -16955,15 +17192,19 @@ export type Database = {
16955
17192
  invoice_enabled_fo?: boolean;
16956
17193
  invoice_enabled_ho?: boolean;
16957
17194
  invoice_enabled_mo?: boolean;
17195
+ needs_review?: boolean;
16958
17196
  payment_gl_account?: string;
16959
17197
  payment_journal_code?: string;
17198
+ settings_confirmed_at?: string | null;
16960
17199
  updated_at?: string;
16961
17200
  user_id: string;
16962
17201
  vat_code_eu_reverse?: string | null;
16963
17202
  vat_code_export?: string | null;
16964
17203
  };
16965
17204
  Update: {
17205
+ administration_code?: string | null;
16966
17206
  auto_invoice_enabled?: boolean;
17207
+ auto_invoice_start_date?: string | null;
16967
17208
  auto_invoice_trigger_statuses?: string[];
16968
17209
  created_at?: string;
16969
17210
  debtor_gl_account?: string;
@@ -16977,8 +17218,10 @@ export type Database = {
16977
17218
  invoice_enabled_fo?: boolean;
16978
17219
  invoice_enabled_ho?: boolean;
16979
17220
  invoice_enabled_mo?: boolean;
17221
+ needs_review?: boolean;
16980
17222
  payment_gl_account?: string;
16981
17223
  payment_journal_code?: string;
17224
+ settings_confirmed_at?: string | null;
16982
17225
  updated_at?: string;
16983
17226
  user_id?: string;
16984
17227
  vat_code_eu_reverse?: string | null;
@@ -17592,136 +17835,23 @@ export type Database = {
17592
17835
  };
17593
17836
  Relationships: [];
17594
17837
  };
17595
- uren_facturen: {
17838
+ uren_offerte_regels: {
17596
17839
  Row: {
17597
17840
  created_at: string;
17598
- created_by: string | null;
17599
- customer_id: string | null;
17600
- customer_name: string | null;
17841
+ description: string;
17842
+ duration_minutes: number;
17601
17843
  id: string;
17602
- invoice_number: string | null;
17603
- note: string | null;
17604
- status: string;
17605
- total_excl_cents: number;
17606
- total_incl_cents: number;
17607
- updated_at: string;
17608
- vat_cents: number;
17609
- vat_percentage: number;
17610
- werkbon_id: string | null;
17844
+ offerte_id: string;
17845
+ package_id: string | null;
17846
+ quantity: number;
17847
+ sort_order: number;
17848
+ total_cents: number;
17849
+ unit_price_cents: number;
17611
17850
  };
17612
17851
  Insert: {
17613
17852
  created_at?: string;
17614
- created_by?: string | null;
17615
- customer_id?: string | null;
17616
- customer_name?: string | null;
17617
- id?: string;
17618
- invoice_number?: string | null;
17619
- note?: string | null;
17620
- status?: string;
17621
- total_excl_cents?: number;
17622
- total_incl_cents?: number;
17623
- updated_at?: string;
17624
- vat_cents?: number;
17625
- vat_percentage?: number;
17626
- werkbon_id?: string | null;
17627
- };
17628
- Update: {
17629
- created_at?: string;
17630
- created_by?: string | null;
17631
- customer_id?: string | null;
17632
- customer_name?: string | null;
17633
- id?: string;
17634
- invoice_number?: string | null;
17635
- note?: string | null;
17636
- status?: string;
17637
- total_excl_cents?: number;
17638
- total_incl_cents?: number;
17639
- updated_at?: string;
17640
- vat_cents?: number;
17641
- vat_percentage?: number;
17642
- werkbon_id?: string | null;
17643
- };
17644
- Relationships: [
17645
- {
17646
- foreignKeyName: "uren_facturen_customer_id_fkey";
17647
- columns: ["customer_id"];
17648
- isOneToOne: false;
17649
- referencedRelation: "itk_customers";
17650
- referencedColumns: ["id"];
17651
- },
17652
- {
17653
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17654
- columns: ["werkbon_id"];
17655
- isOneToOne: true;
17656
- referencedRelation: "werkbonnen";
17657
- referencedColumns: ["id"];
17658
- }
17659
- ];
17660
- };
17661
- uren_factuur_regels: {
17662
- Row: {
17663
- created_at: string;
17664
- description: string;
17665
- factuur_id: string;
17666
- id: string;
17667
- kind: string | null;
17668
- quantity: number;
17669
- sort_order: number;
17670
- total_cents: number;
17671
- unit: string;
17672
- unit_price_cents: number;
17673
- };
17674
- Insert: {
17675
- created_at?: string;
17676
- description: string;
17677
- factuur_id: string;
17678
- id?: string;
17679
- kind?: string | null;
17680
- quantity?: number;
17681
- sort_order?: number;
17682
- total_cents?: number;
17683
- unit?: string;
17684
- unit_price_cents?: number;
17685
- };
17686
- Update: {
17687
- created_at?: string;
17688
- description?: string;
17689
- factuur_id?: string;
17690
- id?: string;
17691
- kind?: string | null;
17692
- quantity?: number;
17693
- sort_order?: number;
17694
- total_cents?: number;
17695
- unit?: string;
17696
- unit_price_cents?: number;
17697
- };
17698
- Relationships: [
17699
- {
17700
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17701
- columns: ["factuur_id"];
17702
- isOneToOne: false;
17703
- referencedRelation: "uren_facturen";
17704
- referencedColumns: ["id"];
17705
- }
17706
- ];
17707
- };
17708
- uren_offerte_regels: {
17709
- Row: {
17710
- created_at: string;
17711
- description: string;
17712
- duration_minutes: number;
17713
- id: string;
17714
- offerte_id: string;
17715
- package_id: string | null;
17716
- quantity: number;
17717
- sort_order: number;
17718
- total_cents: number;
17719
- unit_price_cents: number;
17720
- };
17721
- Insert: {
17722
- created_at?: string;
17723
- description: string;
17724
- duration_minutes?: number;
17853
+ description: string;
17854
+ duration_minutes?: number;
17725
17855
  id?: string;
17726
17856
  offerte_id: string;
17727
17857
  package_id?: string | null;
@@ -18988,6 +19118,9 @@ export type Database = {
18988
19118
  scheduled_end_time: string | null;
18989
19119
  scheduled_start_time: string | null;
18990
19120
  sequence_number: number;
19121
+ signature_accepted_at: string | null;
19122
+ signature_by_user_id: string | null;
19123
+ signature_name: string | null;
18991
19124
  source_email_meta: Json | null;
18992
19125
  source_mailbox_message_id: string | null;
18993
19126
  source_pdf_path: string | null;
@@ -19023,6 +19156,9 @@ export type Database = {
19023
19156
  scheduled_end_time?: string | null;
19024
19157
  scheduled_start_time?: string | null;
19025
19158
  sequence_number: number;
19159
+ signature_accepted_at?: string | null;
19160
+ signature_by_user_id?: string | null;
19161
+ signature_name?: string | null;
19026
19162
  source_email_meta?: Json | null;
19027
19163
  source_mailbox_message_id?: string | null;
19028
19164
  source_pdf_path?: string | null;
@@ -19058,6 +19194,9 @@ export type Database = {
19058
19194
  scheduled_end_time?: string | null;
19059
19195
  scheduled_start_time?: string | null;
19060
19196
  sequence_number?: number;
19197
+ signature_accepted_at?: string | null;
19198
+ signature_by_user_id?: string | null;
19199
+ signature_name?: string | null;
19061
19200
  source_email_meta?: Json | null;
19062
19201
  source_mailbox_message_id?: string | null;
19063
19202
  source_pdf_path?: string | null;
@@ -19587,6 +19726,119 @@ export type Database = {
19587
19726
  };
19588
19727
  Relationships: [];
19589
19728
  };
19729
+ uren_facturen: {
19730
+ Row: {
19731
+ created_at: string | null;
19732
+ created_by: string | null;
19733
+ customer_id: string | null;
19734
+ customer_name: string | null;
19735
+ id: string | null;
19736
+ invoice_number: string | null;
19737
+ note: string | null;
19738
+ status: string | null;
19739
+ total_excl_cents: number | null;
19740
+ total_incl_cents: number | null;
19741
+ updated_at: string | null;
19742
+ vat_cents: number | null;
19743
+ vat_percentage: number | null;
19744
+ werkbon_id: string | null;
19745
+ };
19746
+ Insert: {
19747
+ created_at?: string | null;
19748
+ created_by?: string | null;
19749
+ customer_id?: string | null;
19750
+ customer_name?: string | null;
19751
+ id?: string | null;
19752
+ invoice_number?: string | null;
19753
+ note?: string | null;
19754
+ status?: string | null;
19755
+ total_excl_cents?: number | null;
19756
+ total_incl_cents?: number | null;
19757
+ updated_at?: string | null;
19758
+ vat_cents?: number | null;
19759
+ vat_percentage?: number | null;
19760
+ werkbon_id?: never;
19761
+ };
19762
+ Update: {
19763
+ created_at?: string | null;
19764
+ created_by?: string | null;
19765
+ customer_id?: string | null;
19766
+ customer_name?: string | null;
19767
+ id?: string | null;
19768
+ invoice_number?: string | null;
19769
+ note?: string | null;
19770
+ status?: string | null;
19771
+ total_excl_cents?: number | null;
19772
+ total_incl_cents?: number | null;
19773
+ updated_at?: string | null;
19774
+ vat_cents?: number | null;
19775
+ vat_percentage?: number | null;
19776
+ werkbon_id?: never;
19777
+ };
19778
+ Relationships: [
19779
+ {
19780
+ foreignKeyName: "invoices_customer_id_fkey";
19781
+ columns: ["customer_id"];
19782
+ isOneToOne: false;
19783
+ referencedRelation: "itk_customers";
19784
+ referencedColumns: ["id"];
19785
+ }
19786
+ ];
19787
+ };
19788
+ uren_factuur_regels: {
19789
+ Row: {
19790
+ created_at: string | null;
19791
+ description: string | null;
19792
+ factuur_id: string | null;
19793
+ id: string | null;
19794
+ kind: string | null;
19795
+ quantity: number | null;
19796
+ sort_order: number | null;
19797
+ total_cents: number | null;
19798
+ unit: string | null;
19799
+ unit_price_cents: number | null;
19800
+ };
19801
+ Insert: {
19802
+ created_at?: string | null;
19803
+ description?: string | null;
19804
+ factuur_id?: string | null;
19805
+ id?: string | null;
19806
+ kind?: string | null;
19807
+ quantity?: number | null;
19808
+ sort_order?: number | null;
19809
+ total_cents?: number | null;
19810
+ unit?: string | null;
19811
+ unit_price_cents?: number | null;
19812
+ };
19813
+ Update: {
19814
+ created_at?: string | null;
19815
+ description?: string | null;
19816
+ factuur_id?: string | null;
19817
+ id?: string | null;
19818
+ kind?: string | null;
19819
+ quantity?: number | null;
19820
+ sort_order?: number | null;
19821
+ total_cents?: number | null;
19822
+ unit?: string | null;
19823
+ unit_price_cents?: number | null;
19824
+ };
19825
+ Relationships: [
19826
+ {
19827
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19828
+ columns: ["factuur_id"];
19829
+ isOneToOne: false;
19830
+ referencedRelation: "invoices";
19831
+ referencedColumns: ["id"];
19832
+ },
19833
+ {
19834
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19835
+ columns: ["factuur_id"];
19836
+ isOneToOne: false;
19837
+ referencedRelation: "uren_facturen";
19838
+ referencedColumns: ["id"];
19839
+ }
19840
+ ];
19841
+ };
19590
19842
  v_external_customers_exact: {
19591
19843
  Row: {
19592
19844
  account_number: string | null;
@@ -20102,6 +20354,7 @@ export type Database = {
20102
20354
  gebruiker_id: string | null;
20103
20355
  gebruiker_naam: string;
20104
20356
  gestart_op: string | null;
20357
+ herkomst: string | null;
20105
20358
  id: string;
20106
20359
  idempotentie_sleutel: string | null;
20107
20360
  is_herprint: boolean;
@@ -20222,6 +20475,7 @@ export type Database = {
20222
20475
  gebruiker_id: string | null;
20223
20476
  gebruiker_naam: string;
20224
20477
  gestart_op: string | null;
20478
+ herkomst: string | null;
20225
20479
  id: string;
20226
20480
  idempotentie_sleutel: string | null;
20227
20481
  is_herprint: boolean;
@@ -20823,6 +21077,46 @@ export type Database = {
20823
21077
  Args: never;
20824
21078
  Returns: boolean;
20825
21079
  };
21080
+ invoice_create_from_source: {
21081
+ Args: {
21082
+ _payload?: Json;
21083
+ _source_id: string;
21084
+ _source_type: string;
21085
+ };
21086
+ Returns: Json;
21087
+ };
21088
+ invoice_get_billable_lines: {
21089
+ Args: {
21090
+ _invoice_id: string;
21091
+ };
21092
+ Returns: Json;
21093
+ };
21094
+ invoice_get_for_source: {
21095
+ Args: {
21096
+ _source_id: string;
21097
+ _source_type: string;
21098
+ };
21099
+ Returns: Json;
21100
+ };
21101
+ invoice_get_summary: {
21102
+ Args: {
21103
+ _invoice_id: string;
21104
+ };
21105
+ Returns: Json;
21106
+ };
21107
+ invoice_list_sources: {
21108
+ Args: {
21109
+ _limit?: number;
21110
+ _source_type?: string;
21111
+ };
21112
+ Returns: Json;
21113
+ };
21114
+ invoice_recalc_totals: {
21115
+ Args: {
21116
+ _invoice_id: string;
21117
+ };
21118
+ Returns: Json;
21119
+ };
20826
21120
  is_authenticated: {
20827
21121
  Args: never;
20828
21122
  Returns: boolean;
@@ -20891,6 +21185,29 @@ export type Database = {
20891
21185
  roles: string[];
20892
21186
  }[];
20893
21187
  };
21188
+ list_monteur_absences: {
21189
+ Args: {
21190
+ _from: string;
21191
+ _to: string;
21192
+ };
21193
+ Returns: {
21194
+ absence_date: string;
21195
+ end_time: string;
21196
+ full_day: boolean;
21197
+ kind: string;
21198
+ monteur_id: string;
21199
+ start_time: string;
21200
+ }[];
21201
+ };
21202
+ list_monteurs: {
21203
+ Args: never;
21204
+ Returns: {
21205
+ avatar_url: string;
21206
+ display_name: string;
21207
+ email: string;
21208
+ id: string;
21209
+ }[];
21210
+ };
20894
21211
  list_my_planning_items: {
20895
21212
  Args: {
20896
21213
  _from: string;
@@ -21302,6 +21619,23 @@ export type Database = {
21302
21619
  };
21303
21620
  Returns: string;
21304
21621
  };
21622
+ logistics_floriday_finish_push_v2: {
21623
+ Args: {
21624
+ _error?: string;
21625
+ _error_code?: string;
21626
+ _fulfillment_order_id?: string;
21627
+ _gateway_status?: number;
21628
+ _id: string;
21629
+ _max_age_hours?: number;
21630
+ _max_attempts?: number;
21631
+ _ok: boolean;
21632
+ _permanent?: boolean;
21633
+ _response?: Json;
21634
+ _revision: number;
21635
+ _sent_hash?: string;
21636
+ };
21637
+ Returns: string;
21638
+ };
21305
21639
  logistics_floriday_prune_pushes: {
21306
21640
  Args: {
21307
21641
  _days?: number;
@@ -21844,6 +22178,13 @@ export type Database = {
21844
22178
  isSetofReturn: false;
21845
22179
  };
21846
22180
  };
22181
+ pick_cleanup_maintenance: {
22182
+ Args: {
22183
+ _heartbeat_hours?: number;
22184
+ _log_days?: number;
22185
+ };
22186
+ Returns: Json;
22187
+ };
21847
22188
  pick_complete_print: {
21848
22189
  Args: {
21849
22190
  _printer_id: string;
@@ -21895,6 +22236,14 @@ export type Database = {
21895
22236
  Args: never;
21896
22237
  Returns: string;
21897
22238
  };
22239
+ pick_day_counts: {
22240
+ Args: {
22241
+ _pick_day?: string;
22242
+ _screen_id?: string;
22243
+ _station_id?: string;
22244
+ };
22245
+ Returns: Json;
22246
+ };
21898
22247
  pick_document_layout_data: {
21899
22248
  Args: {
21900
22249
  _layout_id: string;
@@ -21932,6 +22281,14 @@ export type Database = {
21932
22281
  };
21933
22282
  Returns: undefined;
21934
22283
  };
22284
+ pick_reprint_document: {
22285
+ Args: {
22286
+ _queue_item_id: string;
22287
+ _session_id: string;
22288
+ _throttle_seconds?: number;
22289
+ };
22290
+ Returns: string;
22291
+ };
21935
22292
  pick_reset_print: {
21936
22293
  Args: {
21937
22294
  _queue_item_id: string;
@@ -21997,6 +22354,12 @@ export type Database = {
21997
22354
  };
21998
22355
  Returns: string;
21999
22356
  };
22357
+ pick_sync_queue_throttled: {
22358
+ Args: {
22359
+ _min_seconds?: number;
22360
+ };
22361
+ Returns: Json;
22362
+ };
22000
22363
  pickstation_get_orders_raw: {
22001
22364
  Args: never;
22002
22365
  Returns: Json;
@@ -22142,6 +22505,12 @@ export type Database = {
22142
22505
  };
22143
22506
  Returns: boolean;
22144
22507
  };
22508
+ release_stale_order_invoice_links: {
22509
+ Args: {
22510
+ _minutes?: number;
22511
+ };
22512
+ Returns: number;
22513
+ };
22145
22514
  reorder_customer_price_groups: {
22146
22515
  Args: {
22147
22516
  _ids: string[];
@@ -22660,6 +23029,20 @@ export type Database = {
22660
23029
  };
22661
23030
  Returns: undefined;
22662
23031
  };
23032
+ twinfield_deactivate_connection: {
23033
+ Args: {
23034
+ p_connection_id: string;
23035
+ p_user_id: string;
23036
+ };
23037
+ Returns: Json;
23038
+ };
23039
+ twinfield_handle_administration_change: {
23040
+ Args: {
23041
+ _administration_code: string;
23042
+ _user_id: string;
23043
+ };
23044
+ Returns: undefined;
23045
+ };
22663
23046
  twinfield_prune_push_queue: {
22664
23047
  Args: never;
22665
23048
  Returns: number;
@@ -22679,10 +23062,11 @@ export type Database = {
22679
23062
  p_company_name?: string;
22680
23063
  p_environment: string;
22681
23064
  p_office_code?: string;
23065
+ p_reset_sync?: boolean;
22682
23066
  p_status?: string;
22683
23067
  p_user_id: string;
22684
23068
  };
22685
- Returns: string;
23069
+ Returns: Json;
22686
23070
  };
22687
23071
  upsert_auto_fulfillment_log: {
22688
23072
  Args: {