@flowselections/floriday-authenticatie-module 1.0.69 → 1.0.74

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 (51) hide show
  1. package/dist-lib/integrations/supabase/types.d.ts +159 -0
  2. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  3. package/dist-lib/lib/floriday-gateway-auth.js +5 -5
  4. package/dist-lib/lib/floriday-gateway-hmac.d.ts +10 -0
  5. package/dist-lib/lib/floriday-gateway-hmac.d.ts.map +1 -1
  6. package/dist-lib/lib/floriday-gateway-hmac.js +53 -44
  7. package/dist-lib/lib/floriday-order-stage.d.ts +13 -2
  8. package/dist-lib/lib/floriday-order-stage.d.ts.map +1 -1
  9. package/dist-lib/lib/floriday-order-stage.js +16 -3
  10. package/dist-lib/lib/floriday-sync.functions.d.ts +64 -0
  11. package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
  12. package/dist-lib/lib/floriday-sync.functions.js +19 -0
  13. package/dist-lib/lib/floriday.functions.d.ts +7 -0
  14. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/floriday.functions.js +9 -1
  16. package/dist-lib/lib/gateway/active-environment.js +1 -1
  17. package/dist-lib/lib/gateway/auto-process.js +1 -1
  18. package/dist-lib/lib/gateway/cached-list.js +1 -1
  19. package/dist-lib/lib/gateway/code-list.js +1 -1
  20. package/dist-lib/lib/gateway/cron-scan.js +1 -1
  21. package/dist-lib/lib/gateway/diagnostics.js +1 -1
  22. package/dist-lib/lib/gateway/floricode-records.js +1 -1
  23. package/dist-lib/lib/gateway/floriday-get.js +1 -1
  24. package/dist-lib/lib/gateway/fulfillment-order-body.d.ts +3 -0
  25. package/dist-lib/lib/gateway/fulfillment-order-body.d.ts.map +1 -1
  26. package/dist-lib/lib/gateway/fulfillment-order-body.js +32 -6
  27. package/dist-lib/lib/gateway/fulfillment-order-send.d.ts.map +1 -1
  28. package/dist-lib/lib/gateway/fulfillment-order-send.js +8 -1
  29. package/dist-lib/lib/gateway/fulfillment-order-status.d.ts +10 -4
  30. package/dist-lib/lib/gateway/fulfillment-order-status.d.ts.map +1 -1
  31. package/dist-lib/lib/gateway/fulfillment-order-status.js +195 -68
  32. package/dist-lib/lib/gateway/load-carrier-checks.d.ts +54 -0
  33. package/dist-lib/lib/gateway/load-carrier-checks.d.ts.map +1 -0
  34. package/dist-lib/lib/gateway/load-carrier-checks.js +72 -0
  35. package/dist-lib/lib/gateway/media-upload.js +1 -1
  36. package/dist-lib/lib/gateway/media.js +1 -1
  37. package/dist-lib/lib/gateway/pdf-bulk-merged.js +1 -1
  38. package/dist-lib/lib/gateway/pdf-bulk.js +1 -1
  39. package/dist-lib/lib/gateway/pdf.js +1 -1
  40. package/dist-lib/lib/gateway/product-characteristics.js +1 -1
  41. package/dist-lib/lib/gateway/schema.js +1 -1
  42. package/dist-lib/lib/gateway/supply-line.js +1 -1
  43. package/dist-lib/lib/gateway/trade-item-version.js +1 -1
  44. package/dist-lib/lib/gateway/write.js +1 -1
  45. package/dist-lib/lib/module-version.d.ts +2 -0
  46. package/dist-lib/lib/module-version.d.ts.map +1 -0
  47. package/dist-lib/lib/module-version.js +2 -0
  48. package/dist-lib/lib/status-overview.d.ts +77 -0
  49. package/dist-lib/lib/status-overview.d.ts.map +1 -0
  50. package/dist-lib/lib/status-overview.js +141 -0
  51. package/package.json +2 -2
@@ -3059,6 +3059,27 @@ export type Database = {
3059
3059
  }
3060
3060
  ];
3061
3061
  };
3062
+ dashboard_funnel_indelingen: {
3063
+ Row: {
3064
+ created_at: string;
3065
+ posities: Json;
3066
+ updated_at: string;
3067
+ user_id: string;
3068
+ };
3069
+ Insert: {
3070
+ created_at?: string;
3071
+ posities?: Json;
3072
+ updated_at?: string;
3073
+ user_id?: string;
3074
+ };
3075
+ Update: {
3076
+ created_at?: string;
3077
+ posities?: Json;
3078
+ updated_at?: string;
3079
+ user_id?: string;
3080
+ };
3081
+ Relationships: [];
3082
+ };
3062
3083
  dashboard_pages: {
3063
3084
  Row: {
3064
3085
  created_at: string;
@@ -11762,6 +11783,7 @@ export type Database = {
11762
11783
  approved_at: string | null;
11763
11784
  attempts: number;
11764
11785
  barcode: string;
11786
+ bron: string | null;
11765
11787
  cart_id: string;
11766
11788
  created_at: string;
11767
11789
  document_url: string | null;
@@ -11784,6 +11806,7 @@ export type Database = {
11784
11806
  approved_at?: string | null;
11785
11807
  attempts?: number;
11786
11808
  barcode: string;
11809
+ bron?: string | null;
11787
11810
  cart_id: string;
11788
11811
  created_at?: string;
11789
11812
  document_url?: string | null;
@@ -11806,6 +11829,7 @@ export type Database = {
11806
11829
  approved_at?: string | null;
11807
11830
  attempts?: number;
11808
11831
  barcode?: string;
11832
+ bron?: string | null;
11809
11833
  cart_id?: string;
11810
11834
  created_at?: string;
11811
11835
  document_url?: string | null;
@@ -12548,6 +12572,32 @@ export type Database = {
12548
12572
  };
12549
12573
  Relationships: [];
12550
12574
  };
12575
+ logistics_order_plan_exclusion: {
12576
+ Row: {
12577
+ created_at: string;
12578
+ order_id: string;
12579
+ reason: string;
12580
+ };
12581
+ Insert: {
12582
+ created_at?: string;
12583
+ order_id: string;
12584
+ reason: string;
12585
+ };
12586
+ Update: {
12587
+ created_at?: string;
12588
+ order_id?: string;
12589
+ reason?: string;
12590
+ };
12591
+ Relationships: [
12592
+ {
12593
+ foreignKeyName: "logistics_order_plan_exclusion_order_id_fkey";
12594
+ columns: ["order_id"];
12595
+ isOneToOne: true;
12596
+ referencedRelation: "orders";
12597
+ referencedColumns: ["id"];
12598
+ }
12599
+ ];
12600
+ };
12551
12601
  logistics_packing_deviations: {
12552
12602
  Row: {
12553
12603
  auto_fixed_at: string | null;
@@ -26344,6 +26394,7 @@ export type Database = {
26344
26394
  created_by: string;
26345
26395
  customer_id: string | null;
26346
26396
  id: string;
26397
+ offerte_id: string | null;
26347
26398
  payload: Json;
26348
26399
  reden: string | null;
26349
26400
  status: string;
@@ -26359,6 +26410,7 @@ export type Database = {
26359
26410
  created_by?: string;
26360
26411
  customer_id?: string | null;
26361
26412
  id?: string;
26413
+ offerte_id?: string | null;
26362
26414
  payload?: Json;
26363
26415
  reden?: string | null;
26364
26416
  status?: string;
@@ -26374,6 +26426,7 @@ export type Database = {
26374
26426
  created_by?: string;
26375
26427
  customer_id?: string | null;
26376
26428
  id?: string;
26429
+ offerte_id?: string | null;
26377
26430
  payload?: Json;
26378
26431
  reden?: string | null;
26379
26432
  status?: string;
@@ -26432,6 +26485,8 @@ export type Database = {
26432
26485
  id: string;
26433
26486
  internal_notes: string | null;
26434
26487
  needs_detail_review: boolean;
26488
+ offerte_teruggestuurd_id: string | null;
26489
+ offerte_teruggestuurd_op: string | null;
26435
26490
  parent_werkbon_id: string | null;
26436
26491
  parsed_payload: Json | null;
26437
26492
  planning_status: string;
@@ -26476,6 +26531,8 @@ export type Database = {
26476
26531
  id?: string;
26477
26532
  internal_notes?: string | null;
26478
26533
  needs_detail_review?: boolean;
26534
+ offerte_teruggestuurd_id?: string | null;
26535
+ offerte_teruggestuurd_op?: string | null;
26479
26536
  parent_werkbon_id?: string | null;
26480
26537
  parsed_payload?: Json | null;
26481
26538
  planning_status?: string;
@@ -26520,6 +26577,8 @@ export type Database = {
26520
26577
  id?: string;
26521
26578
  internal_notes?: string | null;
26522
26579
  needs_detail_review?: boolean;
26580
+ offerte_teruggestuurd_id?: string | null;
26581
+ offerte_teruggestuurd_op?: string | null;
26523
26582
  parent_werkbon_id?: string | null;
26524
26583
  parsed_payload?: Json | null;
26525
26584
  planning_status?: string;
@@ -29542,6 +29601,12 @@ export type Database = {
29542
29601
  };
29543
29602
  Returns: Json;
29544
29603
  };
29604
+ invoice_resync_concept_from_work_order: {
29605
+ Args: {
29606
+ _werkbon_id: string;
29607
+ };
29608
+ Returns: undefined;
29609
+ };
29545
29610
  invoice_save_branding_settings: {
29546
29611
  Args: {
29547
29612
  _payload: Json;
@@ -29748,6 +29813,12 @@ export type Database = {
29748
29813
  };
29749
29814
  Returns: string;
29750
29815
  };
29816
+ logistics_afhandeling_fulfillment_order: {
29817
+ Args: {
29818
+ _order_id: string;
29819
+ };
29820
+ Returns: Json;
29821
+ };
29751
29822
  logistics_allocation_check_changes: {
29752
29823
  Args: {
29753
29824
  p_order_item_ids?: string[];
@@ -30331,6 +30402,7 @@ export type Database = {
30331
30402
  approved_at: string | null;
30332
30403
  attempts: number;
30333
30404
  barcode: string;
30405
+ bron: string | null;
30334
30406
  cart_id: string;
30335
30407
  created_at: string;
30336
30408
  document_url: string | null;
@@ -30389,6 +30461,13 @@ export type Database = {
30389
30461
  };
30390
30462
  Returns: Json;
30391
30463
  };
30464
+ logistics_control_scan_record_afmelding: {
30465
+ Args: {
30466
+ p_bron: string;
30467
+ p_order_id: string;
30468
+ };
30469
+ Returns: number;
30470
+ };
30392
30471
  logistics_control_scan_retry: {
30393
30472
  Args: {
30394
30473
  _id: string;
@@ -30862,12 +30941,24 @@ export type Database = {
30862
30941
  Args: never;
30863
30942
  Returns: string;
30864
30943
  };
30944
+ logistics_order_afgemeld: {
30945
+ Args: {
30946
+ p_order_id: string;
30947
+ };
30948
+ Returns: boolean;
30949
+ };
30865
30950
  logistics_order_backlog_info: {
30866
30951
  Args: {
30867
30952
  p_order_id: string;
30868
30953
  };
30869
30954
  Returns: Json;
30870
30955
  };
30956
+ logistics_order_buffer_excluded: {
30957
+ Args: {
30958
+ p_order_id: string;
30959
+ };
30960
+ Returns: boolean;
30961
+ };
30871
30962
  logistics_order_cart_approval: {
30872
30963
  Args: {
30873
30964
  _order_ref: string;
@@ -31013,6 +31104,12 @@ export type Database = {
31013
31104
  };
31014
31105
  Returns: boolean;
31015
31106
  };
31107
+ logistics_order_on_frozen_shared_cart: {
31108
+ Args: {
31109
+ p_order_id: string;
31110
+ };
31111
+ Returns: boolean;
31112
+ };
31016
31113
  logistics_order_overview: {
31017
31114
  Args: {
31018
31115
  p_from?: string;
@@ -31476,6 +31573,12 @@ export type Database = {
31476
31573
  };
31477
31574
  Returns: string;
31478
31575
  };
31576
+ logistics_queue_row_has_open_peer: {
31577
+ Args: {
31578
+ p_payload: Json;
31579
+ };
31580
+ Returns: boolean;
31581
+ };
31479
31582
  logistics_queue_stock_email: {
31480
31583
  Args: {
31481
31584
  p_alert_id: string;
@@ -31781,6 +31884,17 @@ export type Database = {
31781
31884
  };
31782
31885
  Returns: Json;
31783
31886
  };
31887
+ logistics_shared_cart_peers: {
31888
+ Args: {
31889
+ p_order_id: string;
31890
+ };
31891
+ Returns: {
31892
+ buffer_id: string;
31893
+ cart_id: string;
31894
+ cart_number: number;
31895
+ peer_order_id: string;
31896
+ }[];
31897
+ };
31784
31898
  logistics_shift_to_workday: {
31785
31899
  Args: {
31786
31900
  p_days: string[];
@@ -31829,6 +31943,14 @@ export type Database = {
31829
31943
  };
31830
31944
  Returns: Json;
31831
31945
  };
31946
+ logistics_shipping_note_wait_reasons: {
31947
+ Args: never;
31948
+ Returns: {
31949
+ order_number: string;
31950
+ reden: string;
31951
+ wacht_sinds: string;
31952
+ }[];
31953
+ };
31832
31954
  logistics_shipping_note_wake: {
31833
31955
  Args: {
31834
31956
  _slip_job_id: string;
@@ -31904,6 +32026,13 @@ export type Database = {
31904
32026
  };
31905
32027
  Returns: undefined;
31906
32028
  };
32029
+ logistics_slip_note_hold_kenmerk: {
32030
+ Args: {
32031
+ _id: string;
32032
+ _reason: string;
32033
+ };
32034
+ Returns: undefined;
32035
+ };
31907
32036
  logistics_slip_note_keep_waiting: {
31908
32037
  Args: {
31909
32038
  _class?: string;
@@ -35104,6 +35233,23 @@ export type Database = {
35104
35233
  Args: never;
35105
35234
  Returns: Json;
35106
35235
  };
35236
+ voorraad_hook_base_url: {
35237
+ Args: never;
35238
+ Returns: string;
35239
+ };
35240
+ voorraad_hook_on: {
35241
+ Args: {
35242
+ p_name: string;
35243
+ };
35244
+ Returns: boolean;
35245
+ };
35246
+ voorraad_hook_post: {
35247
+ Args: {
35248
+ p_path: string;
35249
+ p_timeout?: number;
35250
+ };
35251
+ Returns: undefined;
35252
+ };
35107
35253
  voorraad_production_enabled: {
35108
35254
  Args: never;
35109
35255
  Returns: boolean;
@@ -35246,6 +35392,19 @@ export type Database = {
35246
35392
  };
35247
35393
  Returns: Json;
35248
35394
  };
35395
+ wo_send_proposal_to_quote: {
35396
+ Args: {
35397
+ _id: string;
35398
+ _overrides?: Json;
35399
+ };
35400
+ Returns: Json;
35401
+ };
35402
+ wo_send_to_quote: {
35403
+ Args: {
35404
+ _werkbon_id: string;
35405
+ };
35406
+ Returns: Json;
35407
+ };
35249
35408
  wo_set_status: {
35250
35409
  Args: {
35251
35410
  _reason?: string;