@flowselections/twinfield-authenticatie-module-15-06-2026 2.0.7 → 2.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.
- package/dist-lib/integrations/supabase/types.d.ts +226 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-sync.server.d.ts +27 -0
- package/dist-lib/lib/twinfield-sync.server.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-sync.server.js +154 -7
- package/package.json +1 -1
- package/public/flowselections-assets/twinfield-authenticatie/consumer-api.md +5 -0
|
@@ -7153,7 +7153,11 @@ export type Database = {
|
|
|
7153
7153
|
quantity: number | null;
|
|
7154
7154
|
sales_order_id: string | null;
|
|
7155
7155
|
sequence_number: number;
|
|
7156
|
+
should_be_printed: boolean | null;
|
|
7156
7157
|
status: string | null;
|
|
7158
|
+
sticker_height_mm: number | null;
|
|
7159
|
+
sticker_type: string | null;
|
|
7160
|
+
sticker_width_mm: number | null;
|
|
7157
7161
|
trade_item_id: string | null;
|
|
7158
7162
|
updated_at: string;
|
|
7159
7163
|
};
|
|
@@ -7168,7 +7172,11 @@ export type Database = {
|
|
|
7168
7172
|
quantity?: number | null;
|
|
7169
7173
|
sales_order_id?: string | null;
|
|
7170
7174
|
sequence_number?: number;
|
|
7175
|
+
should_be_printed?: boolean | null;
|
|
7171
7176
|
status?: string | null;
|
|
7177
|
+
sticker_height_mm?: number | null;
|
|
7178
|
+
sticker_type?: string | null;
|
|
7179
|
+
sticker_width_mm?: number | null;
|
|
7172
7180
|
trade_item_id?: string | null;
|
|
7173
7181
|
updated_at?: string;
|
|
7174
7182
|
};
|
|
@@ -7183,7 +7191,11 @@ export type Database = {
|
|
|
7183
7191
|
quantity?: number | null;
|
|
7184
7192
|
sales_order_id?: string | null;
|
|
7185
7193
|
sequence_number?: number;
|
|
7194
|
+
should_be_printed?: boolean | null;
|
|
7186
7195
|
status?: string | null;
|
|
7196
|
+
sticker_height_mm?: number | null;
|
|
7197
|
+
sticker_type?: string | null;
|
|
7198
|
+
sticker_width_mm?: number | null;
|
|
7187
7199
|
trade_item_id?: string | null;
|
|
7188
7200
|
updated_at?: string;
|
|
7189
7201
|
};
|
|
@@ -11941,6 +11953,36 @@ export type Database = {
|
|
|
11941
11953
|
};
|
|
11942
11954
|
Relationships: [];
|
|
11943
11955
|
};
|
|
11956
|
+
logistics_cart_archive_log: {
|
|
11957
|
+
Row: {
|
|
11958
|
+
action: string;
|
|
11959
|
+
actor: string | null;
|
|
11960
|
+
cart_id: string;
|
|
11961
|
+
created_at: string;
|
|
11962
|
+
id: string;
|
|
11963
|
+
reason: string | null;
|
|
11964
|
+
snapshot: Json | null;
|
|
11965
|
+
};
|
|
11966
|
+
Insert: {
|
|
11967
|
+
action: string;
|
|
11968
|
+
actor?: string | null;
|
|
11969
|
+
cart_id: string;
|
|
11970
|
+
created_at?: string;
|
|
11971
|
+
id?: string;
|
|
11972
|
+
reason?: string | null;
|
|
11973
|
+
snapshot?: Json | null;
|
|
11974
|
+
};
|
|
11975
|
+
Update: {
|
|
11976
|
+
action?: string;
|
|
11977
|
+
actor?: string | null;
|
|
11978
|
+
cart_id?: string;
|
|
11979
|
+
created_at?: string;
|
|
11980
|
+
id?: string;
|
|
11981
|
+
reason?: string | null;
|
|
11982
|
+
snapshot?: Json | null;
|
|
11983
|
+
};
|
|
11984
|
+
Relationships: [];
|
|
11985
|
+
};
|
|
11944
11986
|
logistics_cart_barcode: {
|
|
11945
11987
|
Row: {
|
|
11946
11988
|
barcode: string;
|
|
@@ -14146,18 +14188,21 @@ export type Database = {
|
|
|
14146
14188
|
Row: {
|
|
14147
14189
|
departure_rule_since: string | null;
|
|
14148
14190
|
id: boolean;
|
|
14191
|
+
rule_160_since: string | null;
|
|
14149
14192
|
timezone: string;
|
|
14150
14193
|
updated_at: string;
|
|
14151
14194
|
};
|
|
14152
14195
|
Insert: {
|
|
14153
14196
|
departure_rule_since?: string | null;
|
|
14154
14197
|
id?: boolean;
|
|
14198
|
+
rule_160_since?: string | null;
|
|
14155
14199
|
timezone: string;
|
|
14156
14200
|
updated_at?: string;
|
|
14157
14201
|
};
|
|
14158
14202
|
Update: {
|
|
14159
14203
|
departure_rule_since?: string | null;
|
|
14160
14204
|
id?: boolean;
|
|
14205
|
+
rule_160_since?: string | null;
|
|
14161
14206
|
timezone?: string;
|
|
14162
14207
|
updated_at?: string;
|
|
14163
14208
|
};
|
|
@@ -16498,6 +16543,9 @@ export type Database = {
|
|
|
16498
16543
|
order_carts: {
|
|
16499
16544
|
Row: {
|
|
16500
16545
|
algorithm_version: number;
|
|
16546
|
+
archived_at: string | null;
|
|
16547
|
+
archived_by: string | null;
|
|
16548
|
+
archived_reason: string | null;
|
|
16501
16549
|
buffer_id: string | null;
|
|
16502
16550
|
carrier_id: string | null;
|
|
16503
16551
|
carrier_type: string;
|
|
@@ -16528,6 +16576,9 @@ export type Database = {
|
|
|
16528
16576
|
};
|
|
16529
16577
|
Insert: {
|
|
16530
16578
|
algorithm_version?: number;
|
|
16579
|
+
archived_at?: string | null;
|
|
16580
|
+
archived_by?: string | null;
|
|
16581
|
+
archived_reason?: string | null;
|
|
16531
16582
|
buffer_id?: string | null;
|
|
16532
16583
|
carrier_id?: string | null;
|
|
16533
16584
|
carrier_type?: string;
|
|
@@ -16558,6 +16609,9 @@ export type Database = {
|
|
|
16558
16609
|
};
|
|
16559
16610
|
Update: {
|
|
16560
16611
|
algorithm_version?: number;
|
|
16612
|
+
archived_at?: string | null;
|
|
16613
|
+
archived_by?: string | null;
|
|
16614
|
+
archived_reason?: string | null;
|
|
16561
16615
|
buffer_id?: string | null;
|
|
16562
16616
|
carrier_id?: string | null;
|
|
16563
16617
|
carrier_type?: string;
|
|
@@ -16731,6 +16785,7 @@ export type Database = {
|
|
|
16731
16785
|
Row: {
|
|
16732
16786
|
administration_code: string | null;
|
|
16733
16787
|
attempts: number;
|
|
16788
|
+
block_reason: string | null;
|
|
16734
16789
|
created_at: string;
|
|
16735
16790
|
error_message: string | null;
|
|
16736
16791
|
id: string;
|
|
@@ -16738,6 +16793,8 @@ export type Database = {
|
|
|
16738
16793
|
next_attempt_at: string;
|
|
16739
16794
|
order_id: string;
|
|
16740
16795
|
processed_at: string | null;
|
|
16796
|
+
revive_reason: string | null;
|
|
16797
|
+
revived_at: string | null;
|
|
16741
16798
|
send_error: string | null;
|
|
16742
16799
|
status: string;
|
|
16743
16800
|
updated_at: string;
|
|
@@ -16745,6 +16802,7 @@ export type Database = {
|
|
|
16745
16802
|
Insert: {
|
|
16746
16803
|
administration_code?: string | null;
|
|
16747
16804
|
attempts?: number;
|
|
16805
|
+
block_reason?: string | null;
|
|
16748
16806
|
created_at?: string;
|
|
16749
16807
|
error_message?: string | null;
|
|
16750
16808
|
id?: string;
|
|
@@ -16752,6 +16810,8 @@ export type Database = {
|
|
|
16752
16810
|
next_attempt_at?: string;
|
|
16753
16811
|
order_id: string;
|
|
16754
16812
|
processed_at?: string | null;
|
|
16813
|
+
revive_reason?: string | null;
|
|
16814
|
+
revived_at?: string | null;
|
|
16755
16815
|
send_error?: string | null;
|
|
16756
16816
|
status?: string;
|
|
16757
16817
|
updated_at?: string;
|
|
@@ -16759,6 +16819,7 @@ export type Database = {
|
|
|
16759
16819
|
Update: {
|
|
16760
16820
|
administration_code?: string | null;
|
|
16761
16821
|
attempts?: number;
|
|
16822
|
+
block_reason?: string | null;
|
|
16762
16823
|
created_at?: string;
|
|
16763
16824
|
error_message?: string | null;
|
|
16764
16825
|
id?: string;
|
|
@@ -16766,6 +16827,8 @@ export type Database = {
|
|
|
16766
16827
|
next_attempt_at?: string;
|
|
16767
16828
|
order_id?: string;
|
|
16768
16829
|
processed_at?: string | null;
|
|
16830
|
+
revive_reason?: string | null;
|
|
16831
|
+
revived_at?: string | null;
|
|
16769
16832
|
send_error?: string | null;
|
|
16770
16833
|
status?: string;
|
|
16771
16834
|
updated_at?: string;
|
|
@@ -19167,18 +19230,21 @@ export type Database = {
|
|
|
19167
19230
|
genegeerd_door: string | null;
|
|
19168
19231
|
genegeerd_op: string;
|
|
19169
19232
|
id: string;
|
|
19233
|
+
printnode_computer_id: number | null;
|
|
19170
19234
|
};
|
|
19171
19235
|
Insert: {
|
|
19172
19236
|
computer_naam: string;
|
|
19173
19237
|
genegeerd_door?: string | null;
|
|
19174
19238
|
genegeerd_op?: string;
|
|
19175
19239
|
id?: string;
|
|
19240
|
+
printnode_computer_id?: number | null;
|
|
19176
19241
|
};
|
|
19177
19242
|
Update: {
|
|
19178
19243
|
computer_naam?: string;
|
|
19179
19244
|
genegeerd_door?: string | null;
|
|
19180
19245
|
genegeerd_op?: string;
|
|
19181
19246
|
id?: string;
|
|
19247
|
+
printnode_computer_id?: number | null;
|
|
19182
19248
|
};
|
|
19183
19249
|
Relationships: [];
|
|
19184
19250
|
};
|
|
@@ -19420,6 +19486,7 @@ export type Database = {
|
|
|
19420
19486
|
created_at: string;
|
|
19421
19487
|
id: string;
|
|
19422
19488
|
print_plek_id: string;
|
|
19489
|
+
printnode_computer_id: number | null;
|
|
19423
19490
|
updated_at: string;
|
|
19424
19491
|
};
|
|
19425
19492
|
Insert: {
|
|
@@ -19427,6 +19494,7 @@ export type Database = {
|
|
|
19427
19494
|
created_at?: string;
|
|
19428
19495
|
id?: string;
|
|
19429
19496
|
print_plek_id: string;
|
|
19497
|
+
printnode_computer_id?: number | null;
|
|
19430
19498
|
updated_at?: string;
|
|
19431
19499
|
};
|
|
19432
19500
|
Update: {
|
|
@@ -19434,6 +19502,7 @@ export type Database = {
|
|
|
19434
19502
|
created_at?: string;
|
|
19435
19503
|
id?: string;
|
|
19436
19504
|
print_plek_id?: string;
|
|
19505
|
+
printnode_computer_id?: number | null;
|
|
19437
19506
|
updated_at?: string;
|
|
19438
19507
|
};
|
|
19439
19508
|
Relationships: [
|
|
@@ -19580,6 +19649,42 @@ export type Database = {
|
|
|
19580
19649
|
};
|
|
19581
19650
|
Relationships: [];
|
|
19582
19651
|
};
|
|
19652
|
+
print_printer_verwijder_herstel: {
|
|
19653
|
+
Row: {
|
|
19654
|
+
created_at: string;
|
|
19655
|
+
extern_printer_id: string | null;
|
|
19656
|
+
hersteld_op: string | null;
|
|
19657
|
+
id: string;
|
|
19658
|
+
print_plek_id: string;
|
|
19659
|
+
printer_id: string;
|
|
19660
|
+
printer_naam: string | null;
|
|
19661
|
+
regels: Json;
|
|
19662
|
+
verwijderd_op: string;
|
|
19663
|
+
};
|
|
19664
|
+
Insert: {
|
|
19665
|
+
created_at?: string;
|
|
19666
|
+
extern_printer_id?: string | null;
|
|
19667
|
+
hersteld_op?: string | null;
|
|
19668
|
+
id?: string;
|
|
19669
|
+
print_plek_id: string;
|
|
19670
|
+
printer_id: string;
|
|
19671
|
+
printer_naam?: string | null;
|
|
19672
|
+
regels?: Json;
|
|
19673
|
+
verwijderd_op?: string;
|
|
19674
|
+
};
|
|
19675
|
+
Update: {
|
|
19676
|
+
created_at?: string;
|
|
19677
|
+
extern_printer_id?: string | null;
|
|
19678
|
+
hersteld_op?: string | null;
|
|
19679
|
+
id?: string;
|
|
19680
|
+
print_plek_id?: string;
|
|
19681
|
+
printer_id?: string;
|
|
19682
|
+
printer_naam?: string | null;
|
|
19683
|
+
regels?: Json;
|
|
19684
|
+
verwijderd_op?: string;
|
|
19685
|
+
};
|
|
19686
|
+
Relationships: [];
|
|
19687
|
+
};
|
|
19583
19688
|
print_queue_leases: {
|
|
19584
19689
|
Row: {
|
|
19585
19690
|
created_at: string;
|
|
@@ -28647,6 +28752,12 @@ export type Database = {
|
|
|
28647
28752
|
};
|
|
28648
28753
|
Returns: Json;
|
|
28649
28754
|
};
|
|
28755
|
+
_scan_kar_pakbon_geprint: {
|
|
28756
|
+
Args: {
|
|
28757
|
+
p_cart_id: string;
|
|
28758
|
+
};
|
|
28759
|
+
Returns: Json;
|
|
28760
|
+
};
|
|
28650
28761
|
_scan_kar_voortgang: {
|
|
28651
28762
|
Args: {
|
|
28652
28763
|
p_cart_id: string;
|
|
@@ -28700,6 +28811,13 @@ export type Database = {
|
|
|
28700
28811
|
};
|
|
28701
28812
|
Returns: string;
|
|
28702
28813
|
};
|
|
28814
|
+
afh_pick_workdays: {
|
|
28815
|
+
Args: {
|
|
28816
|
+
p_from: string;
|
|
28817
|
+
p_to: string;
|
|
28818
|
+
};
|
|
28819
|
+
Returns: Json;
|
|
28820
|
+
};
|
|
28703
28821
|
afh_signup_config: {
|
|
28704
28822
|
Args: never;
|
|
28705
28823
|
Returns: Json;
|
|
@@ -28727,6 +28845,14 @@ export type Database = {
|
|
|
28727
28845
|
};
|
|
28728
28846
|
Returns: Json;
|
|
28729
28847
|
};
|
|
28848
|
+
afh_signup_groups_base: {
|
|
28849
|
+
Args: {
|
|
28850
|
+
p_from: string;
|
|
28851
|
+
p_to: string;
|
|
28852
|
+
p_tz: string;
|
|
28853
|
+
};
|
|
28854
|
+
Returns: Json;
|
|
28855
|
+
};
|
|
28730
28856
|
afh_signup_mail: {
|
|
28731
28857
|
Args: {
|
|
28732
28858
|
g: Json;
|
|
@@ -28735,6 +28861,14 @@ export type Database = {
|
|
|
28735
28861
|
};
|
|
28736
28862
|
Returns: Json;
|
|
28737
28863
|
};
|
|
28864
|
+
afh_signup_mail_base: {
|
|
28865
|
+
Args: {
|
|
28866
|
+
g: Json;
|
|
28867
|
+
p_prev: number;
|
|
28868
|
+
p_tz: string;
|
|
28869
|
+
};
|
|
28870
|
+
Returns: Json;
|
|
28871
|
+
};
|
|
28738
28872
|
afh_signup_send_group: {
|
|
28739
28873
|
Args: {
|
|
28740
28874
|
g: Json;
|
|
@@ -28746,6 +28880,17 @@ export type Database = {
|
|
|
28746
28880
|
};
|
|
28747
28881
|
Returns: Json;
|
|
28748
28882
|
};
|
|
28883
|
+
afh_signup_send_group_base: {
|
|
28884
|
+
Args: {
|
|
28885
|
+
g: Json;
|
|
28886
|
+
p_connection: string;
|
|
28887
|
+
p_purpose: string;
|
|
28888
|
+
p_source: string;
|
|
28889
|
+
p_tz: string;
|
|
28890
|
+
p_user: string;
|
|
28891
|
+
};
|
|
28892
|
+
Returns: Json;
|
|
28893
|
+
};
|
|
28749
28894
|
afh_subtract_workdays: {
|
|
28750
28895
|
Args: {
|
|
28751
28896
|
_date: string;
|
|
@@ -31225,6 +31370,12 @@ export type Database = {
|
|
|
31225
31370
|
Args: never;
|
|
31226
31371
|
Returns: number;
|
|
31227
31372
|
};
|
|
31373
|
+
logistics_cancel_stale_cart_pick_rows: {
|
|
31374
|
+
Args: {
|
|
31375
|
+
p_order_ids: string[];
|
|
31376
|
+
};
|
|
31377
|
+
Returns: number;
|
|
31378
|
+
};
|
|
31228
31379
|
logistics_capacity_day_check: {
|
|
31229
31380
|
Args: {
|
|
31230
31381
|
p_from?: string;
|
|
@@ -31245,6 +31396,32 @@ export type Database = {
|
|
|
31245
31396
|
};
|
|
31246
31397
|
Returns: number;
|
|
31247
31398
|
};
|
|
31399
|
+
logistics_cart_archive: {
|
|
31400
|
+
Args: {
|
|
31401
|
+
p_confirm_count: number;
|
|
31402
|
+
p_ids: string[];
|
|
31403
|
+
p_reason: string;
|
|
31404
|
+
};
|
|
31405
|
+
Returns: Json;
|
|
31406
|
+
};
|
|
31407
|
+
logistics_cart_archive_classify: {
|
|
31408
|
+
Args: never;
|
|
31409
|
+
Returns: {
|
|
31410
|
+
buffer_id: string;
|
|
31411
|
+
cart_id: string;
|
|
31412
|
+
cart_number: number;
|
|
31413
|
+
created_at: string;
|
|
31414
|
+
deel: string;
|
|
31415
|
+
groep: string;
|
|
31416
|
+
order_id: string;
|
|
31417
|
+
order_number: string;
|
|
31418
|
+
reden: string;
|
|
31419
|
+
}[];
|
|
31420
|
+
};
|
|
31421
|
+
logistics_cart_archive_preview: {
|
|
31422
|
+
Args: never;
|
|
31423
|
+
Returns: Json;
|
|
31424
|
+
};
|
|
31248
31425
|
logistics_cart_barcode_opschonen: {
|
|
31249
31426
|
Args: {
|
|
31250
31427
|
p_portie?: number;
|
|
@@ -31318,6 +31495,12 @@ export type Database = {
|
|
|
31318
31495
|
task_status: string;
|
|
31319
31496
|
}[];
|
|
31320
31497
|
};
|
|
31498
|
+
logistics_cart_is_archived: {
|
|
31499
|
+
Args: {
|
|
31500
|
+
p_cart_id: string;
|
|
31501
|
+
};
|
|
31502
|
+
Returns: boolean;
|
|
31503
|
+
};
|
|
31321
31504
|
logistics_cart_is_frozen: {
|
|
31322
31505
|
Args: {
|
|
31323
31506
|
p_cart_id: string;
|
|
@@ -31432,6 +31615,13 @@ export type Database = {
|
|
|
31432
31615
|
};
|
|
31433
31616
|
Returns: Json;
|
|
31434
31617
|
};
|
|
31618
|
+
logistics_cart_unarchive: {
|
|
31619
|
+
Args: {
|
|
31620
|
+
p_ids: string[];
|
|
31621
|
+
p_reason: string;
|
|
31622
|
+
};
|
|
31623
|
+
Returns: Json;
|
|
31624
|
+
};
|
|
31435
31625
|
logistics_cart_units: {
|
|
31436
31626
|
Args: {
|
|
31437
31627
|
p_from?: string;
|
|
@@ -31958,6 +32148,10 @@ export type Database = {
|
|
|
31958
32148
|
isSetofReturn: false;
|
|
31959
32149
|
};
|
|
31960
32150
|
};
|
|
32151
|
+
logistics_fill_cart_departure: {
|
|
32152
|
+
Args: never;
|
|
32153
|
+
Returns: number;
|
|
32154
|
+
};
|
|
31961
32155
|
logistics_fix_wrong_shipping_notes: {
|
|
31962
32156
|
Args: never;
|
|
31963
32157
|
Returns: Json;
|
|
@@ -32546,6 +32740,10 @@ export type Database = {
|
|
|
32546
32740
|
};
|
|
32547
32741
|
Returns: Json;
|
|
32548
32742
|
};
|
|
32743
|
+
logistics_orphan_carts_list: {
|
|
32744
|
+
Args: never;
|
|
32745
|
+
Returns: Json;
|
|
32746
|
+
};
|
|
32549
32747
|
logistics_orphan_carts_summary: {
|
|
32550
32748
|
Args: never;
|
|
32551
32749
|
Returns: Json;
|
|
@@ -33602,6 +33800,12 @@ export type Database = {
|
|
|
33602
33800
|
};
|
|
33603
33801
|
Returns: number;
|
|
33604
33802
|
};
|
|
33803
|
+
logistics_sync_task_status: {
|
|
33804
|
+
Args: {
|
|
33805
|
+
p_order_ref?: string;
|
|
33806
|
+
};
|
|
33807
|
+
Returns: number;
|
|
33808
|
+
};
|
|
33605
33809
|
logistics_task_open_counts: {
|
|
33606
33810
|
Args: never;
|
|
33607
33811
|
Returns: {
|
|
@@ -35046,6 +35250,20 @@ export type Database = {
|
|
|
35046
35250
|
};
|
|
35047
35251
|
Returns: Json;
|
|
35048
35252
|
};
|
|
35253
|
+
printer_herstel_uitvoeren: {
|
|
35254
|
+
Args: {
|
|
35255
|
+
_plek: string;
|
|
35256
|
+
_printer: string;
|
|
35257
|
+
};
|
|
35258
|
+
Returns: number;
|
|
35259
|
+
};
|
|
35260
|
+
printer_herstel_voorstel: {
|
|
35261
|
+
Args: {
|
|
35262
|
+
_plek: string;
|
|
35263
|
+
_printer: string;
|
|
35264
|
+
};
|
|
35265
|
+
Returns: number;
|
|
35266
|
+
};
|
|
35049
35267
|
printer_routering: {
|
|
35050
35268
|
Args: {
|
|
35051
35269
|
_documenttype: string;
|
|
@@ -35057,6 +35275,13 @@ export type Database = {
|
|
|
35057
35275
|
};
|
|
35058
35276
|
Returns: Json;
|
|
35059
35277
|
};
|
|
35278
|
+
printer_verwijder_verwijzingen: {
|
|
35279
|
+
Args: {
|
|
35280
|
+
_plek: string;
|
|
35281
|
+
_printer: string;
|
|
35282
|
+
};
|
|
35283
|
+
Returns: Json;
|
|
35284
|
+
};
|
|
35060
35285
|
printplek_printer: {
|
|
35061
35286
|
Args: {
|
|
35062
35287
|
_documenttype: string;
|
|
@@ -35594,6 +35819,7 @@ export type Database = {
|
|
|
35594
35819
|
scan_eindcontrole: {
|
|
35595
35820
|
Args: {
|
|
35596
35821
|
p_barcode: string;
|
|
35822
|
+
p_bevestig_niet_geprint?: boolean;
|
|
35597
35823
|
p_scanner_id?: string;
|
|
35598
35824
|
};
|
|
35599
35825
|
Returns: Json;
|