@flowselections/logistiek-engine 1.0.104 → 1.0.106

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 (30) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +138 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +138 -0
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/moduleClient.d.ts +138 -0
  6. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +142 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cartCoverage.functions.d.ts +138 -0
  10. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/floridayDocuments.functions.d.ts +414 -0
  12. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/floridayPush.functions.d.ts +138 -0
  14. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +690 -0
  16. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +276 -0
  18. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +138 -0
  20. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  22. package/dist-lib/lib/modulePrompts.js +35 -0
  23. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  24. package/dist-lib/lib/moduleVersion.js +1 -1
  25. package/dist-lib/lib/plannerDiff.functions.d.ts +138 -0
  26. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/quarantineFilter.test.d.ts +2 -0
  28. package/dist-lib/lib/quarantineFilter.test.d.ts.map +1 -0
  29. package/dist-lib/lib/quarantineFilter.test.js +18 -0
  30. package/package.json +1 -1
@@ -7970,6 +7970,144 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
7970
7970
  referencedColumns: ["id"];
7971
7971
  }];
7972
7972
  };
7973
+ floriday_webhook_events: {
7974
+ Row: {
7975
+ aggregate_id: string | null;
7976
+ aggregate_type: string | null;
7977
+ attempts: number;
7978
+ connection_id: string | null;
7979
+ dedupe_key: string;
7980
+ duplicate_count: number;
7981
+ event_type: string | null;
7982
+ id: string;
7983
+ last_error: string | null;
7984
+ max_attempts: number;
7985
+ message_type: string | null;
7986
+ next_attempt_at: string | null;
7987
+ payload: import("../integrations/supabase/types").Json | null;
7988
+ processed_at: string | null;
7989
+ received_at: string;
7990
+ status: string;
7991
+ updated_at: string;
7992
+ };
7993
+ Insert: {
7994
+ aggregate_id?: string | null;
7995
+ aggregate_type?: string | null;
7996
+ attempts?: number;
7997
+ connection_id?: string | null;
7998
+ dedupe_key: string;
7999
+ duplicate_count?: number;
8000
+ event_type?: string | null;
8001
+ id?: string;
8002
+ last_error?: string | null;
8003
+ max_attempts?: number;
8004
+ message_type?: string | null;
8005
+ next_attempt_at?: string | null;
8006
+ payload?: import("../integrations/supabase/types").Json | null;
8007
+ processed_at?: string | null;
8008
+ received_at?: string;
8009
+ status?: string;
8010
+ updated_at?: string;
8011
+ };
8012
+ Update: {
8013
+ aggregate_id?: string | null;
8014
+ aggregate_type?: string | null;
8015
+ attempts?: number;
8016
+ connection_id?: string | null;
8017
+ dedupe_key?: string;
8018
+ duplicate_count?: number;
8019
+ event_type?: string | null;
8020
+ id?: string;
8021
+ last_error?: string | null;
8022
+ max_attempts?: number;
8023
+ message_type?: string | null;
8024
+ next_attempt_at?: string | null;
8025
+ payload?: import("../integrations/supabase/types").Json | null;
8026
+ processed_at?: string | null;
8027
+ received_at?: string;
8028
+ status?: string;
8029
+ updated_at?: string;
8030
+ };
8031
+ Relationships: [{
8032
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
8033
+ columns: ["connection_id"];
8034
+ isOneToOne: false;
8035
+ referencedRelation: "floriday_connections";
8036
+ referencedColumns: ["id"];
8037
+ }];
8038
+ };
8039
+ floriday_webhook_subscriptions: {
8040
+ Row: {
8041
+ attempts: number;
8042
+ callback_token_hash: string;
8043
+ callback_url: string;
8044
+ confirmed_at: string | null;
8045
+ connection_id: string;
8046
+ created_at: string;
8047
+ environment: string;
8048
+ id: string;
8049
+ last_attempt_at: string | null;
8050
+ last_error: string | null;
8051
+ last_error_kind: string | null;
8052
+ last_event_at: string | null;
8053
+ locked_until: string | null;
8054
+ managed_by: string;
8055
+ next_attempt_at: string | null;
8056
+ status: string;
8057
+ subscribe_url: string | null;
8058
+ subscribed_at: string;
8059
+ updated_at: string;
8060
+ };
8061
+ Insert: {
8062
+ attempts?: number;
8063
+ callback_token_hash: string;
8064
+ callback_url: string;
8065
+ confirmed_at?: string | null;
8066
+ connection_id: string;
8067
+ created_at?: string;
8068
+ environment: string;
8069
+ id?: string;
8070
+ last_attempt_at?: string | null;
8071
+ last_error?: string | null;
8072
+ last_error_kind?: string | null;
8073
+ last_event_at?: string | null;
8074
+ locked_until?: string | null;
8075
+ managed_by?: string;
8076
+ next_attempt_at?: string | null;
8077
+ status?: string;
8078
+ subscribe_url?: string | null;
8079
+ subscribed_at?: string;
8080
+ updated_at?: string;
8081
+ };
8082
+ Update: {
8083
+ attempts?: number;
8084
+ callback_token_hash?: string;
8085
+ callback_url?: string;
8086
+ confirmed_at?: string | null;
8087
+ connection_id?: string;
8088
+ created_at?: string;
8089
+ environment?: string;
8090
+ id?: string;
8091
+ last_attempt_at?: string | null;
8092
+ last_error?: string | null;
8093
+ last_error_kind?: string | null;
8094
+ last_event_at?: string | null;
8095
+ locked_until?: string | null;
8096
+ managed_by?: string;
8097
+ next_attempt_at?: string | null;
8098
+ status?: string;
8099
+ subscribe_url?: string | null;
8100
+ subscribed_at?: string;
8101
+ updated_at?: string;
8102
+ };
8103
+ Relationships: [{
8104
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
8105
+ columns: ["connection_id"];
8106
+ isOneToOne: true;
8107
+ referencedRelation: "floriday_connections";
8108
+ referencedColumns: ["id"];
8109
+ }];
8110
+ };
7973
8111
  floriday_write_log: {
7974
8112
  Row: {
7975
8113
  action: string;
@@ -39780,6 +39918,144 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
39780
39918
  referencedColumns: ["id"];
39781
39919
  }];
39782
39920
  };
39921
+ floriday_webhook_events: {
39922
+ Row: {
39923
+ aggregate_id: string | null;
39924
+ aggregate_type: string | null;
39925
+ attempts: number;
39926
+ connection_id: string | null;
39927
+ dedupe_key: string;
39928
+ duplicate_count: number;
39929
+ event_type: string | null;
39930
+ id: string;
39931
+ last_error: string | null;
39932
+ max_attempts: number;
39933
+ message_type: string | null;
39934
+ next_attempt_at: string | null;
39935
+ payload: import("../integrations/supabase/types").Json | null;
39936
+ processed_at: string | null;
39937
+ received_at: string;
39938
+ status: string;
39939
+ updated_at: string;
39940
+ };
39941
+ Insert: {
39942
+ aggregate_id?: string | null;
39943
+ aggregate_type?: string | null;
39944
+ attempts?: number;
39945
+ connection_id?: string | null;
39946
+ dedupe_key: string;
39947
+ duplicate_count?: number;
39948
+ event_type?: string | null;
39949
+ id?: string;
39950
+ last_error?: string | null;
39951
+ max_attempts?: number;
39952
+ message_type?: string | null;
39953
+ next_attempt_at?: string | null;
39954
+ payload?: import("../integrations/supabase/types").Json | null;
39955
+ processed_at?: string | null;
39956
+ received_at?: string;
39957
+ status?: string;
39958
+ updated_at?: string;
39959
+ };
39960
+ Update: {
39961
+ aggregate_id?: string | null;
39962
+ aggregate_type?: string | null;
39963
+ attempts?: number;
39964
+ connection_id?: string | null;
39965
+ dedupe_key?: string;
39966
+ duplicate_count?: number;
39967
+ event_type?: string | null;
39968
+ id?: string;
39969
+ last_error?: string | null;
39970
+ max_attempts?: number;
39971
+ message_type?: string | null;
39972
+ next_attempt_at?: string | null;
39973
+ payload?: import("../integrations/supabase/types").Json | null;
39974
+ processed_at?: string | null;
39975
+ received_at?: string;
39976
+ status?: string;
39977
+ updated_at?: string;
39978
+ };
39979
+ Relationships: [{
39980
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
39981
+ columns: ["connection_id"];
39982
+ isOneToOne: false;
39983
+ referencedRelation: "floriday_connections";
39984
+ referencedColumns: ["id"];
39985
+ }];
39986
+ };
39987
+ floriday_webhook_subscriptions: {
39988
+ Row: {
39989
+ attempts: number;
39990
+ callback_token_hash: string;
39991
+ callback_url: string;
39992
+ confirmed_at: string | null;
39993
+ connection_id: string;
39994
+ created_at: string;
39995
+ environment: string;
39996
+ id: string;
39997
+ last_attempt_at: string | null;
39998
+ last_error: string | null;
39999
+ last_error_kind: string | null;
40000
+ last_event_at: string | null;
40001
+ locked_until: string | null;
40002
+ managed_by: string;
40003
+ next_attempt_at: string | null;
40004
+ status: string;
40005
+ subscribe_url: string | null;
40006
+ subscribed_at: string;
40007
+ updated_at: string;
40008
+ };
40009
+ Insert: {
40010
+ attempts?: number;
40011
+ callback_token_hash: string;
40012
+ callback_url: string;
40013
+ confirmed_at?: string | null;
40014
+ connection_id: string;
40015
+ created_at?: string;
40016
+ environment: string;
40017
+ id?: string;
40018
+ last_attempt_at?: string | null;
40019
+ last_error?: string | null;
40020
+ last_error_kind?: string | null;
40021
+ last_event_at?: string | null;
40022
+ locked_until?: string | null;
40023
+ managed_by?: string;
40024
+ next_attempt_at?: string | null;
40025
+ status?: string;
40026
+ subscribe_url?: string | null;
40027
+ subscribed_at?: string;
40028
+ updated_at?: string;
40029
+ };
40030
+ Update: {
40031
+ attempts?: number;
40032
+ callback_token_hash?: string;
40033
+ callback_url?: string;
40034
+ confirmed_at?: string | null;
40035
+ connection_id?: string;
40036
+ created_at?: string;
40037
+ environment?: string;
40038
+ id?: string;
40039
+ last_attempt_at?: string | null;
40040
+ last_error?: string | null;
40041
+ last_error_kind?: string | null;
40042
+ last_event_at?: string | null;
40043
+ locked_until?: string | null;
40044
+ managed_by?: string;
40045
+ next_attempt_at?: string | null;
40046
+ status?: string;
40047
+ subscribe_url?: string | null;
40048
+ subscribed_at?: string;
40049
+ updated_at?: string;
40050
+ };
40051
+ Relationships: [{
40052
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
40053
+ columns: ["connection_id"];
40054
+ isOneToOne: true;
40055
+ referencedRelation: "floriday_connections";
40056
+ referencedColumns: ["id"];
40057
+ }];
40058
+ };
39783
40059
  floriday_write_log: {
39784
40060
  Row: {
39785
40061
  action: string;
@@ -71623,6 +71899,144 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
71623
71899
  referencedColumns: ["id"];
71624
71900
  }];
71625
71901
  };
71902
+ floriday_webhook_events: {
71903
+ Row: {
71904
+ aggregate_id: string | null;
71905
+ aggregate_type: string | null;
71906
+ attempts: number;
71907
+ connection_id: string | null;
71908
+ dedupe_key: string;
71909
+ duplicate_count: number;
71910
+ event_type: string | null;
71911
+ id: string;
71912
+ last_error: string | null;
71913
+ max_attempts: number;
71914
+ message_type: string | null;
71915
+ next_attempt_at: string | null;
71916
+ payload: import("../integrations/supabase/types").Json | null;
71917
+ processed_at: string | null;
71918
+ received_at: string;
71919
+ status: string;
71920
+ updated_at: string;
71921
+ };
71922
+ Insert: {
71923
+ aggregate_id?: string | null;
71924
+ aggregate_type?: string | null;
71925
+ attempts?: number;
71926
+ connection_id?: string | null;
71927
+ dedupe_key: string;
71928
+ duplicate_count?: number;
71929
+ event_type?: string | null;
71930
+ id?: string;
71931
+ last_error?: string | null;
71932
+ max_attempts?: number;
71933
+ message_type?: string | null;
71934
+ next_attempt_at?: string | null;
71935
+ payload?: import("../integrations/supabase/types").Json | null;
71936
+ processed_at?: string | null;
71937
+ received_at?: string;
71938
+ status?: string;
71939
+ updated_at?: string;
71940
+ };
71941
+ Update: {
71942
+ aggregate_id?: string | null;
71943
+ aggregate_type?: string | null;
71944
+ attempts?: number;
71945
+ connection_id?: string | null;
71946
+ dedupe_key?: string;
71947
+ duplicate_count?: number;
71948
+ event_type?: string | null;
71949
+ id?: string;
71950
+ last_error?: string | null;
71951
+ max_attempts?: number;
71952
+ message_type?: string | null;
71953
+ next_attempt_at?: string | null;
71954
+ payload?: import("../integrations/supabase/types").Json | null;
71955
+ processed_at?: string | null;
71956
+ received_at?: string;
71957
+ status?: string;
71958
+ updated_at?: string;
71959
+ };
71960
+ Relationships: [{
71961
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
71962
+ columns: ["connection_id"];
71963
+ isOneToOne: false;
71964
+ referencedRelation: "floriday_connections";
71965
+ referencedColumns: ["id"];
71966
+ }];
71967
+ };
71968
+ floriday_webhook_subscriptions: {
71969
+ Row: {
71970
+ attempts: number;
71971
+ callback_token_hash: string;
71972
+ callback_url: string;
71973
+ confirmed_at: string | null;
71974
+ connection_id: string;
71975
+ created_at: string;
71976
+ environment: string;
71977
+ id: string;
71978
+ last_attempt_at: string | null;
71979
+ last_error: string | null;
71980
+ last_error_kind: string | null;
71981
+ last_event_at: string | null;
71982
+ locked_until: string | null;
71983
+ managed_by: string;
71984
+ next_attempt_at: string | null;
71985
+ status: string;
71986
+ subscribe_url: string | null;
71987
+ subscribed_at: string;
71988
+ updated_at: string;
71989
+ };
71990
+ Insert: {
71991
+ attempts?: number;
71992
+ callback_token_hash: string;
71993
+ callback_url: string;
71994
+ confirmed_at?: string | null;
71995
+ connection_id: string;
71996
+ created_at?: string;
71997
+ environment: string;
71998
+ id?: string;
71999
+ last_attempt_at?: string | null;
72000
+ last_error?: string | null;
72001
+ last_error_kind?: string | null;
72002
+ last_event_at?: string | null;
72003
+ locked_until?: string | null;
72004
+ managed_by?: string;
72005
+ next_attempt_at?: string | null;
72006
+ status?: string;
72007
+ subscribe_url?: string | null;
72008
+ subscribed_at?: string;
72009
+ updated_at?: string;
72010
+ };
72011
+ Update: {
72012
+ attempts?: number;
72013
+ callback_token_hash?: string;
72014
+ callback_url?: string;
72015
+ confirmed_at?: string | null;
72016
+ connection_id?: string;
72017
+ created_at?: string;
72018
+ environment?: string;
72019
+ id?: string;
72020
+ last_attempt_at?: string | null;
72021
+ last_error?: string | null;
72022
+ last_error_kind?: string | null;
72023
+ last_event_at?: string | null;
72024
+ locked_until?: string | null;
72025
+ managed_by?: string;
72026
+ next_attempt_at?: string | null;
72027
+ status?: string;
72028
+ subscribe_url?: string | null;
72029
+ subscribed_at?: string;
72030
+ updated_at?: string;
72031
+ };
72032
+ Relationships: [{
72033
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
72034
+ columns: ["connection_id"];
72035
+ isOneToOne: true;
72036
+ referencedRelation: "floriday_connections";
72037
+ referencedColumns: ["id"];
72038
+ }];
72039
+ };
71626
72040
  floriday_write_log: {
71627
72041
  Row: {
71628
72042
  action: string;