@flowselections/floriday-verkoop-module 1.0.9 → 1.0.10

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.
@@ -2712,6 +2712,7 @@ export type Database = {
2712
2712
  created_at: string;
2713
2713
  exact_article_id: string | null;
2714
2714
  id: string;
2715
+ image_url: string | null;
2715
2716
  is_active: boolean;
2716
2717
  name: string;
2717
2718
  price: number;
@@ -2722,6 +2723,7 @@ export type Database = {
2722
2723
  created_at?: string;
2723
2724
  exact_article_id?: string | null;
2724
2725
  id?: string;
2726
+ image_url?: string | null;
2725
2727
  is_active?: boolean;
2726
2728
  name: string;
2727
2729
  price?: number;
@@ -2732,6 +2734,7 @@ export type Database = {
2732
2734
  created_at?: string;
2733
2735
  exact_article_id?: string | null;
2734
2736
  id?: string;
2737
+ image_url?: string | null;
2735
2738
  is_active?: boolean;
2736
2739
  name?: string;
2737
2740
  price?: number;
@@ -4012,6 +4015,24 @@ export type Database = {
4012
4015
  };
4013
4016
  Relationships: [];
4014
4017
  };
4018
+ floriday_order_number_map: {
4019
+ Row: {
4020
+ created_at: string;
4021
+ floriday_id: string;
4022
+ order_number: string;
4023
+ };
4024
+ Insert: {
4025
+ created_at?: string;
4026
+ floriday_id: string;
4027
+ order_number: string;
4028
+ };
4029
+ Update: {
4030
+ created_at?: string;
4031
+ floriday_id?: string;
4032
+ order_number?: string;
4033
+ };
4034
+ Relationships: [];
4035
+ };
4015
4036
  floriday_packings_cache: {
4016
4037
  Row: {
4017
4038
  connection_id: string;
@@ -5930,6 +5951,24 @@ export type Database = {
5930
5951
  }
5931
5952
  ];
5932
5953
  };
5954
+ order_number_counters: {
5955
+ Row: {
5956
+ last_value: number;
5957
+ updated_at: string;
5958
+ year: number;
5959
+ };
5960
+ Insert: {
5961
+ last_value?: number;
5962
+ updated_at?: string;
5963
+ year: number;
5964
+ };
5965
+ Update: {
5966
+ last_value?: number;
5967
+ updated_at?: string;
5968
+ year?: number;
5969
+ };
5970
+ Relationships: [];
5971
+ };
5933
5972
  orders: {
5934
5973
  Row: {
5935
5974
  created_at: string;
@@ -5942,6 +5981,7 @@ export type Database = {
5942
5981
  notes: string | null;
5943
5982
  order_date: string;
5944
5983
  order_number: string;
5984
+ order_source: string;
5945
5985
  status: string;
5946
5986
  total: string;
5947
5987
  updated_at: string;
@@ -5957,6 +5997,7 @@ export type Database = {
5957
5997
  notes?: string | null;
5958
5998
  order_date?: string;
5959
5999
  order_number: string;
6000
+ order_source?: string;
5960
6001
  status?: string;
5961
6002
  total?: string;
5962
6003
  updated_at?: string;
@@ -5972,6 +6013,7 @@ export type Database = {
5972
6013
  notes?: string | null;
5973
6014
  order_date?: string;
5974
6015
  order_number?: string;
6016
+ order_source?: string;
5975
6017
  status?: string;
5976
6018
  total?: string;
5977
6019
  updated_at?: string;
@@ -8141,6 +8183,72 @@ export type Database = {
8141
8183
  }
8142
8184
  ];
8143
8185
  };
8186
+ voorraad_media_upload_failures: {
8187
+ Row: {
8188
+ action: string;
8189
+ attempt_number: number;
8190
+ caller: string;
8191
+ client_user_id: string | null;
8192
+ content_type: string | null;
8193
+ created_at: string;
8194
+ environment: string;
8195
+ error_message: string | null;
8196
+ filename: string | null;
8197
+ id: string;
8198
+ idempotency_key: string | null;
8199
+ module: string;
8200
+ path: string;
8201
+ reference_id: string | null;
8202
+ request_body_hash: string | null;
8203
+ request_timestamp: number | null;
8204
+ response_content_type: string | null;
8205
+ response_status: number | null;
8206
+ size_bytes: number | null;
8207
+ };
8208
+ Insert: {
8209
+ action?: string;
8210
+ attempt_number?: number;
8211
+ caller?: string;
8212
+ client_user_id?: string | null;
8213
+ content_type?: string | null;
8214
+ created_at?: string;
8215
+ environment: string;
8216
+ error_message?: string | null;
8217
+ filename?: string | null;
8218
+ id?: string;
8219
+ idempotency_key?: string | null;
8220
+ module?: string;
8221
+ path: string;
8222
+ reference_id?: string | null;
8223
+ request_body_hash?: string | null;
8224
+ request_timestamp?: number | null;
8225
+ response_content_type?: string | null;
8226
+ response_status?: number | null;
8227
+ size_bytes?: number | null;
8228
+ };
8229
+ Update: {
8230
+ action?: string;
8231
+ attempt_number?: number;
8232
+ caller?: string;
8233
+ client_user_id?: string | null;
8234
+ content_type?: string | null;
8235
+ created_at?: string;
8236
+ environment?: string;
8237
+ error_message?: string | null;
8238
+ filename?: string | null;
8239
+ id?: string;
8240
+ idempotency_key?: string | null;
8241
+ module?: string;
8242
+ path?: string;
8243
+ reference_id?: string | null;
8244
+ request_body_hash?: string | null;
8245
+ request_timestamp?: number | null;
8246
+ response_content_type?: string | null;
8247
+ response_status?: number | null;
8248
+ size_bytes?: number | null;
8249
+ };
8250
+ Relationships: [];
8251
+ };
8144
8252
  voorraad_publish_attempts: {
8145
8253
  Row: {
8146
8254
  action: string;
@@ -8816,6 +8924,15 @@ export type Database = {
8816
8924
  };
8817
8925
  Returns: number;
8818
8926
  };
8927
+ assign_floriday_order_numbers: {
8928
+ Args: {
8929
+ p_ids: string[];
8930
+ };
8931
+ Returns: {
8932
+ floriday_id: string;
8933
+ order_number: string;
8934
+ }[];
8935
+ };
8819
8936
  call_exact_route: {
8820
8937
  Args: {
8821
8938
  path: string;
@@ -9025,6 +9142,12 @@ export type Database = {
9025
9142
  };
9026
9143
  Returns: Json;
9027
9144
  };
9145
+ get_or_assign_floriday_order_number: {
9146
+ Args: {
9147
+ p_floriday_id: string;
9148
+ };
9149
+ Returns: string;
9150
+ };
9028
9151
  get_room_busy_windows: {
9029
9152
  Args: {
9030
9153
  p_from: string;
@@ -9071,6 +9194,12 @@ export type Database = {
9071
9194
  Args: never;
9072
9195
  Returns: boolean;
9073
9196
  };
9197
+ next_order_number: {
9198
+ Args: {
9199
+ p_prefix: string;
9200
+ };
9201
+ Returns: string;
9202
+ };
9074
9203
  next_work_order_number: {
9075
9204
  Args: {
9076
9205
  p_parent_work_order_id?: string;
@@ -9084,6 +9213,32 @@ export type Database = {
9084
9213
  };
9085
9214
  Returns: string;
9086
9215
  };
9216
+ pickstation_get_orders_raw: {
9217
+ Args: never;
9218
+ Returns: Json;
9219
+ };
9220
+ pickstation_get_settings: {
9221
+ Args: never;
9222
+ Returns: Json;
9223
+ };
9224
+ pickstation_log_print: {
9225
+ Args: {
9226
+ p_customer_name: string;
9227
+ p_documents: string[];
9228
+ p_ip_address: string;
9229
+ p_order_id: string;
9230
+ p_order_number: string;
9231
+ };
9232
+ Returns: undefined;
9233
+ };
9234
+ refresh_floricode_derived_code_lists: {
9235
+ Args: never;
9236
+ Returns: {
9237
+ environment: string;
9238
+ list_name: string;
9239
+ row_count: number;
9240
+ }[];
9241
+ };
9087
9242
  reset_floriday_sync_cursor: {
9088
9243
  Args: {
9089
9244
  p_connection_id: string;