@vindentech/api-client 0.3.0-next.42 → 0.3.0-next.44

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.
@@ -495,8 +495,11 @@ export interface EditOrderAddressDto {
495
495
  transportInstructions?: string | null;
496
496
  }
497
497
  export interface RescheduleOrderDto {
498
- /** The cart_component_key of the leg to re-plan (e.g. move:pickup, move:delivery). */
499
- componentKey: string;
498
+ /**
499
+ * The cart_component_key of the leg to re-plan (e.g. move:pickup, move:delivery, material:delivery). Omit or send null to target the primary (lowest-sequence) leg.
500
+ * @nullable
501
+ */
502
+ componentKey?: string | null;
500
503
  /** The new transport_slot to book. Releasing the old slot's capacity and consuming the new slot's happens atomically, in the same transaction as the rest of this edit — nothing changes if the new slot can't be booked. A destination slot with no room left fails the whole edit with 422 capacity_unavailable (not a 409); overbooking past a slot's cap is not possible. */
501
504
  timeslotId: string;
502
505
  /** Overrides the derived transport date; defaults to the new slot's date. */
@@ -2887,6 +2890,19 @@ export interface MoneyDto {
2887
2890
  amount: string;
2888
2891
  currencyCode: string;
2889
2892
  }
2893
+ /**
2894
+ * The sales_order.type this service fulfils — how a client picks a service for a booking type
2895
+ */
2896
+ export type AvailableServiceDtoSalesOrderType = typeof AvailableServiceDtoSalesOrderType[keyof typeof AvailableServiceDtoSalesOrderType];
2897
+ export declare const AvailableServiceDtoSalesOrderType: {
2898
+ readonly PICKUP: "PICKUP";
2899
+ readonly DELIVERY: "DELIVERY";
2900
+ readonly MOVE: "MOVE";
2901
+ readonly DROP_OFF: "DROP_OFF";
2902
+ readonly TRANSFER: "TRANSFER";
2903
+ readonly PICKING: "PICKING";
2904
+ readonly MERCHANDISE_SALE: "MERCHANDISE_SALE";
2905
+ };
2890
2906
  /**
2891
2907
  * Lowest applicable price; null when none published
2892
2908
  * @nullable
@@ -2896,6 +2912,8 @@ export interface AvailableServiceDto {
2896
2912
  transportServiceId: string;
2897
2913
  code: string;
2898
2914
  name: string;
2915
+ /** The sales_order.type this service fulfils — how a client picks a service for a booking type */
2916
+ salesOrderType: AvailableServiceDtoSalesOrderType;
2899
2917
  /** DELIVERY_TIMESLOT | DISPATCH_SLOT | BOOKED */
2900
2918
  fulfilmentMode: string;
2901
2919
  /** The zone that matched the address */
@@ -3203,7 +3221,7 @@ export interface TransportServicePriceInputDto {
3203
3221
  pricePerHourExVat?: string;
3204
3222
  pricePerShipmentUnit?: PricePerShipmentUnitDto[];
3205
3223
  rutEligible?: boolean;
3206
- /** Decimal; snapshot, not derived */
3224
+ /** Percentage, e.g. 25.0000 = 25% (never a fraction); snapshot, not derived */
3207
3225
  vatRate: string;
3208
3226
  /** ISO-4217 alpha-3 */
3209
3227
  currencyCode: string;
@@ -5866,6 +5884,8 @@ export interface FolderDto {
5866
5884
  */
5867
5885
  parentFolderId: string | null;
5868
5886
  name: string;
5887
+ /** Live (non-deleted) direct-child product count. */
5888
+ productCount: number;
5869
5889
  createdAt: string;
5870
5890
  }
5871
5891
  export interface PaginatedFoldersDto {