@vindentech/api-client 0.3.0-next.80 → 0.3.0-next.81
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.
|
@@ -320,6 +320,16 @@ export interface OrderLegDto {
|
|
|
320
320
|
elevator: boolean | null;
|
|
321
321
|
/** @nullable */
|
|
322
322
|
doorCode: string | null;
|
|
323
|
+
/**
|
|
324
|
+
* Staircase within the building (e.g. A, B).
|
|
325
|
+
* @nullable
|
|
326
|
+
*/
|
|
327
|
+
stairwell: string | null;
|
|
328
|
+
/**
|
|
329
|
+
* Apartment or unit within the building (e.g. 12, 1102).
|
|
330
|
+
* @nullable
|
|
331
|
+
*/
|
|
332
|
+
apartmentNumber: string | null;
|
|
323
333
|
/** @nullable */
|
|
324
334
|
transportInstructions: string | null;
|
|
325
335
|
/**
|
|
@@ -575,6 +585,18 @@ export interface EditOrderAddressDto {
|
|
|
575
585
|
elevatorType?: EditOrderAddressDtoElevatorType;
|
|
576
586
|
/** @nullable */
|
|
577
587
|
doorCode?: string | null;
|
|
588
|
+
/**
|
|
589
|
+
* Staircase within the building (e.g. A, B). Null clears it.
|
|
590
|
+
* @maxLength 64
|
|
591
|
+
* @nullable
|
|
592
|
+
*/
|
|
593
|
+
stairwell?: string | null;
|
|
594
|
+
/**
|
|
595
|
+
* Apartment or unit within the building (e.g. 12, 1102). Null clears it.
|
|
596
|
+
* @maxLength 64
|
|
597
|
+
* @nullable
|
|
598
|
+
*/
|
|
599
|
+
apartmentNumber?: string | null;
|
|
578
600
|
/** @nullable */
|
|
579
601
|
transportInstructions?: string | null;
|
|
580
602
|
/**
|
|
@@ -3663,7 +3685,7 @@ export declare const SlotConfigDtoSlotKind: {
|
|
|
3663
3685
|
readonly PICKUP_WINDOW: "PICKUP_WINDOW";
|
|
3664
3686
|
};
|
|
3665
3687
|
/**
|
|
3666
|
-
* Per-weekday window schedule.
|
|
3688
|
+
* Per-weekday window schedule, returned as written (each window's base_max_orders, express_surcharge_ex_vat and order_cutoff_lead_minutes included). A window's order_cutoff_lead_minutes (a JSON integer >= 0; absent or null = the config's orderCutoffLeadMinutes) is its own booking cutoff: its slots' order_cutoff_at = window_start − this many minutes, counted as elapsed time, so across a DST change the wall-clock cutoff moves by an hour. It applies to slots generated afterwards; existing slots keep their cutoff unless regenerated. An order's editable_until is the earliest cutoff of its held slots, so a stricter window also closes order editing earlier.
|
|
3667
3689
|
* @nullable
|
|
3668
3690
|
*/
|
|
3669
3691
|
export type SlotConfigDtoWeeklySchedule = {
|
|
@@ -3684,7 +3706,7 @@ export interface SlotConfigDto {
|
|
|
3684
3706
|
slotKind: SlotConfigDtoSlotKind;
|
|
3685
3707
|
timezone: string;
|
|
3686
3708
|
/**
|
|
3687
|
-
* Per-weekday window schedule.
|
|
3709
|
+
* Per-weekday window schedule, returned as written (each window's base_max_orders, express_surcharge_ex_vat and order_cutoff_lead_minutes included). A window's order_cutoff_lead_minutes (a JSON integer >= 0; absent or null = the config's orderCutoffLeadMinutes) is its own booking cutoff: its slots' order_cutoff_at = window_start − this many minutes, counted as elapsed time, so across a DST change the wall-clock cutoff moves by an hour. It applies to slots generated afterwards; existing slots keep their cutoff unless regenerated. An order's editable_until is the earliest cutoff of its held slots, so a stricter window also closes order editing earlier.
|
|
3688
3710
|
* @nullable
|
|
3689
3711
|
*/
|
|
3690
3712
|
weeklySchedule: SlotConfigDtoWeeklySchedule;
|
|
@@ -3701,7 +3723,7 @@ export interface SlotConfigDto {
|
|
|
3701
3723
|
*/
|
|
3702
3724
|
dayMaxWeightG: number | null;
|
|
3703
3725
|
generateHorizonDays: number;
|
|
3704
|
-
/** Each generated slot's order_cutoff_at = window_start − this many minutes (0077). */
|
|
3726
|
+
/** Each generated slot's order_cutoff_at = window_start − this many minutes (0077), unless its weekly_schedule window sets its own order_cutoff_lead_minutes. */
|
|
3705
3727
|
orderCutoffLeadMinutes: number;
|
|
3706
3728
|
status: string;
|
|
3707
3729
|
createdAt: string;
|
|
@@ -3727,7 +3749,7 @@ export declare const CreateSlotConfigDtoSlotKind: {
|
|
|
3727
3749
|
readonly PICKUP_WINDOW: "PICKUP_WINDOW";
|
|
3728
3750
|
};
|
|
3729
3751
|
/**
|
|
3730
|
-
* Per-weekday windows (incl. per-slot base_max_orders / express_surcharge_ex_vat). express_surcharge_ex_vat (>= 0) is added on top of the price book's base price. A window carries no price of its own: price_ex_vat is refused. NULL = daily-cap-only.
|
|
3752
|
+
* Per-weekday windows (incl. per-slot base_max_orders / express_surcharge_ex_vat / order_cutoff_lead_minutes). express_surcharge_ex_vat (>= 0) is added on top of the price book's base price. A window carries no price of its own: price_ex_vat is refused. A window's order_cutoff_lead_minutes (a JSON integer >= 0; absent or null = the config's orderCutoffLeadMinutes) is its own booking cutoff: its slots' order_cutoff_at = window_start − this many minutes, counted as elapsed time, so across a DST change the wall-clock cutoff moves by an hour. It applies to slots generated afterwards; existing slots keep their cutoff unless regenerated. An order's editable_until is the earliest cutoff of its held slots, so a stricter window also closes order editing earlier. NULL = daily-cap-only.
|
|
3731
3753
|
*/
|
|
3732
3754
|
export type CreateSlotConfigDtoWeeklySchedule = {
|
|
3733
3755
|
[key: string]: unknown;
|
|
@@ -3738,7 +3760,7 @@ export interface CreateSlotConfigDto {
|
|
|
3738
3760
|
/** NULL = daily-cap-only (no concrete slots). */
|
|
3739
3761
|
slotKind?: CreateSlotConfigDtoSlotKind;
|
|
3740
3762
|
timezone?: string;
|
|
3741
|
-
/** Per-weekday windows (incl. per-slot base_max_orders / express_surcharge_ex_vat). express_surcharge_ex_vat (>= 0) is added on top of the price book's base price. A window carries no price of its own: price_ex_vat is refused. NULL = daily-cap-only. */
|
|
3763
|
+
/** Per-weekday windows (incl. per-slot base_max_orders / express_surcharge_ex_vat / order_cutoff_lead_minutes). express_surcharge_ex_vat (>= 0) is added on top of the price book's base price. A window carries no price of its own: price_ex_vat is refused. A window's order_cutoff_lead_minutes (a JSON integer >= 0; absent or null = the config's orderCutoffLeadMinutes) is its own booking cutoff: its slots' order_cutoff_at = window_start − this many minutes, counted as elapsed time, so across a DST change the wall-clock cutoff moves by an hour. It applies to slots generated afterwards; existing slots keep their cutoff unless regenerated. An order's editable_until is the earliest cutoff of its held slots, so a stricter window also closes order editing earlier. NULL = daily-cap-only. */
|
|
3742
3764
|
weeklySchedule?: CreateSlotConfigDtoWeeklySchedule;
|
|
3743
3765
|
dayMaxOrders?: number;
|
|
3744
3766
|
/** bigint */
|
|
@@ -3746,7 +3768,7 @@ export interface CreateSlotConfigDto {
|
|
|
3746
3768
|
/** bigint */
|
|
3747
3769
|
dayMaxWeightG?: string;
|
|
3748
3770
|
generateHorizonDays?: number;
|
|
3749
|
-
/** Each generated slot's order_cutoff_at = window_start − this many minutes (0077). */
|
|
3771
|
+
/** Each generated slot's order_cutoff_at = window_start − this many minutes (0077), unless its weekly_schedule window sets its own order_cutoff_lead_minutes. */
|
|
3750
3772
|
orderCutoffLeadMinutes?: number;
|
|
3751
3773
|
status?: string;
|
|
3752
3774
|
}
|
|
@@ -3756,6 +3778,9 @@ export declare const UpdateSlotConfigDtoSlotKind: {
|
|
|
3756
3778
|
readonly DISPATCH_WINDOW: "DISPATCH_WINDOW";
|
|
3757
3779
|
readonly PICKUP_WINDOW: "PICKUP_WINDOW";
|
|
3758
3780
|
};
|
|
3781
|
+
/**
|
|
3782
|
+
* Per-weekday windows, replacing the stored schedule; the window shape is create's. A window's order_cutoff_lead_minutes (a JSON integer >= 0; absent or null = the config's orderCutoffLeadMinutes) is its own booking cutoff: its slots' order_cutoff_at = window_start − this many minutes, counted as elapsed time, so across a DST change the wall-clock cutoff moves by an hour. It applies to slots generated afterwards; existing slots keep their cutoff unless regenerated. An order's editable_until is the earliest cutoff of its held slots, so a stricter window also closes order editing earlier.
|
|
3783
|
+
*/
|
|
3759
3784
|
export type UpdateSlotConfigDtoWeeklySchedule = {
|
|
3760
3785
|
[key: string]: unknown;
|
|
3761
3786
|
};
|
|
@@ -3764,6 +3789,7 @@ export interface UpdateSlotConfigDto {
|
|
|
3764
3789
|
serviceZoneId?: string;
|
|
3765
3790
|
slotKind?: UpdateSlotConfigDtoSlotKind;
|
|
3766
3791
|
timezone?: string;
|
|
3792
|
+
/** Per-weekday windows, replacing the stored schedule; the window shape is create's. A window's order_cutoff_lead_minutes (a JSON integer >= 0; absent or null = the config's orderCutoffLeadMinutes) is its own booking cutoff: its slots' order_cutoff_at = window_start − this many minutes, counted as elapsed time, so across a DST change the wall-clock cutoff moves by an hour. It applies to slots generated afterwards; existing slots keep their cutoff unless regenerated. An order's editable_until is the earliest cutoff of its held slots, so a stricter window also closes order editing earlier. */
|
|
3767
3793
|
weeklySchedule?: UpdateSlotConfigDtoWeeklySchedule;
|
|
3768
3794
|
dayMaxOrders?: number;
|
|
3769
3795
|
/** bigint */
|
|
@@ -3771,7 +3797,7 @@ export interface UpdateSlotConfigDto {
|
|
|
3771
3797
|
/** bigint */
|
|
3772
3798
|
dayMaxWeightG?: string;
|
|
3773
3799
|
generateHorizonDays?: number;
|
|
3774
|
-
/** Each generated slot's order_cutoff_at = window_start − this many minutes (0077). */
|
|
3800
|
+
/** Each generated slot's order_cutoff_at = window_start − this many minutes (0077), unless its weekly_schedule window sets its own order_cutoff_lead_minutes. */
|
|
3775
3801
|
orderCutoffLeadMinutes?: number;
|
|
3776
3802
|
status?: string;
|
|
3777
3803
|
}
|
|
@@ -4609,6 +4635,16 @@ export interface TransportLegDto {
|
|
|
4609
4635
|
longitude: string | null;
|
|
4610
4636
|
/** @nullable */
|
|
4611
4637
|
doorCode: string | null;
|
|
4638
|
+
/**
|
|
4639
|
+
* Staircase within the building (e.g. A, B).
|
|
4640
|
+
* @nullable
|
|
4641
|
+
*/
|
|
4642
|
+
stairwell: string | null;
|
|
4643
|
+
/**
|
|
4644
|
+
* Apartment or unit within the building (e.g. 12, 1102).
|
|
4645
|
+
* @nullable
|
|
4646
|
+
*/
|
|
4647
|
+
apartmentNumber: string | null;
|
|
4612
4648
|
/** @nullable */
|
|
4613
4649
|
transportInstructions: string | null;
|
|
4614
4650
|
/**
|
|
@@ -4808,6 +4844,18 @@ export interface PatchLegSnapshotDto {
|
|
|
4808
4844
|
* @nullable
|
|
4809
4845
|
*/
|
|
4810
4846
|
doorCode?: string | null;
|
|
4847
|
+
/**
|
|
4848
|
+
* Staircase within the building (e.g. A, B). Null clears it.
|
|
4849
|
+
* @maxLength 64
|
|
4850
|
+
* @nullable
|
|
4851
|
+
*/
|
|
4852
|
+
stairwell?: string | null;
|
|
4853
|
+
/**
|
|
4854
|
+
* Apartment or unit within the building (e.g. 12, 1102). Null clears it.
|
|
4855
|
+
* @maxLength 64
|
|
4856
|
+
* @nullable
|
|
4857
|
+
*/
|
|
4858
|
+
apartmentNumber?: string | null;
|
|
4811
4859
|
/** @nullable */
|
|
4812
4860
|
floorLevel?: number | null;
|
|
4813
4861
|
/** @nullable */
|
|
@@ -10531,6 +10579,8 @@ export interface ContractPathDto {
|
|
|
10531
10579
|
display_label: string;
|
|
10532
10580
|
/** @nullable */
|
|
10533
10581
|
example_value?: ContractPathDtoExampleValue;
|
|
10582
|
+
/** The values the contract allows, when it declares an enum — what a condition such as {{#if (eq type "DELIVERY")}} can match. The publish gate warns on a compared literal outside this list. */
|
|
10583
|
+
enum?: (string | number | boolean)[];
|
|
10534
10584
|
}
|
|
10535
10585
|
export type NotificationEventDtoDefaultCategory = typeof NotificationEventDtoDefaultCategory[keyof typeof NotificationEventDtoDefaultCategory];
|
|
10536
10586
|
export declare const NotificationEventDtoDefaultCategory: {
|