@hantera/portal-app 20260218.0.0-develop.6 → 20260315.0.0-develop.2
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/index.d.ts +21 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1050,6 +1050,7 @@ declare interface Delivery {
|
|
|
1050
1050
|
createdAt: Date;
|
|
1051
1051
|
finalizedAt: Date;
|
|
1052
1052
|
dynamic: Record<string, any>;
|
|
1053
|
+
releasedToInvoice: boolean;
|
|
1053
1054
|
orderLines: Array<OrderLine>;
|
|
1054
1055
|
calculatedShippingDiscounts: Array<CalculatedDiscount>;
|
|
1055
1056
|
shippingDiscounts: Array<Discount>;
|
|
@@ -1072,6 +1073,7 @@ declare interface Delivery_2 {
|
|
|
1072
1073
|
createdAt: Date
|
|
1073
1074
|
finalizedAt: Date
|
|
1074
1075
|
dynamic: Record<string, any>
|
|
1076
|
+
releasedToInvoice: boolean
|
|
1075
1077
|
|
|
1076
1078
|
orderLines: Array<OrderLine_2>
|
|
1077
1079
|
calculatedShippingDiscounts: Array<CalculatedDiscount_2>
|
|
@@ -2296,6 +2298,19 @@ declare namespace Models_2 {
|
|
|
2296
2298
|
}
|
|
2297
2299
|
}
|
|
2298
2300
|
|
|
2301
|
+
/**
|
|
2302
|
+
* Moves an existing order line to a different delivery.
|
|
2303
|
+
*
|
|
2304
|
+
* @see {@link https://developer.hantera.io/reference/actors/order/commands/move-order-line-to-delivery/|Hantera Developer Portal}
|
|
2305
|
+
*/
|
|
2306
|
+
declare interface MoveOrderLineToDeliveryCommand {
|
|
2307
|
+
type: 'moveOrderLineToDelivery';
|
|
2308
|
+
/** The ID of the Order Line to move. */
|
|
2309
|
+
orderLineId: string;
|
|
2310
|
+
/** The ID of the Delivery to move the Order Line to. */
|
|
2311
|
+
deliveryId: string;
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2299
2314
|
export declare interface NavHubSection {
|
|
2300
2315
|
/**
|
|
2301
2316
|
* If multiple apps register sections with the same id, or the id is one of the system-provided ones, the items will
|
|
@@ -2410,6 +2425,7 @@ export declare namespace Order_3 {
|
|
|
2410
2425
|
GenerateOrderNumberByPrefixCommand,
|
|
2411
2426
|
InvoiceCommand,
|
|
2412
2427
|
LinkPaymentCommand,
|
|
2428
|
+
MoveOrderLineToDeliveryCommand,
|
|
2413
2429
|
OpenDeliveryCommand,
|
|
2414
2430
|
ReleaseDeliveryCommand,
|
|
2415
2431
|
ReleaseOrderLineToInvoicingCommand,
|
|
@@ -2446,7 +2462,7 @@ export declare namespace Order_3 {
|
|
|
2446
2462
|
}
|
|
2447
2463
|
}
|
|
2448
2464
|
|
|
2449
|
-
declare type OrderCommand = AddActivityLogCommand | AddDeliveryTagCommand | AddTagCommand | CancelDeliveryCommand | CancelInvoiceCommand | CompleteDeliveryCommand | CreateComputedOrderDiscountBySourceCommand | CreateComputedOrderDiscountCommand | CreateDeliveryCommand | CreateOrderLineCommand | CreateReturnCommand | CreateStaticOrderDiscountCommand | CreateStaticOrderLineDiscountCommand | CreateStaticShippingDiscountCommand | DeleteDiscountCommand | DeleteOrderLineCommand | DeleteReturnCommand | GenerateOrderNumberByPrefixCommand | InvoiceCommand | LinkPaymentCommand | OpenDeliveryCommand | ReleaseDeliveryCommand | ReleaseOrderLineToInvoicingCommand | ReleaseShippingToInvoicingCommand | RemoveDeliveryTagCommand | RemoveTagCommand | RetractOrderLineFromInvoicingCommand | RetractShippingFromInvoicingCommand | SetChannelKeyCommand | SetComputedOrderDiscountParametersCommand | SetCustomerNumberCommand | SetDeliveryAddressCommand | SetDeliveryDynamicFieldsCommand | SetDeliveryInventoryCommand | SetDiscountDescriptionCommand | SetDiscountDynamicFieldsCommand | SetInvoiceAddressCommand | SetLocaleCommand | SetNotesCommand | SetOrderDynamicFieldsCommand | SetOrderLineDynamicFieldsCommand | SetOrderLineProductCommand | SetOrderLineQuantityCommand | SetOrderLineSkusCommand | SetOrderLineTaxCommand | SetOrderLineUnitPriceCommand | SetOrderStateCommand | SetReturnDynamicFieldsCommand | SetShippingPriceCommand | SetShippingProductCommand | SetShippingTaxCommand | SetStaticDiscountValueCommand | UnsetDeliveryInventoryCommand;
|
|
2465
|
+
declare type OrderCommand = AddActivityLogCommand | AddDeliveryTagCommand | AddTagCommand | CancelDeliveryCommand | CancelInvoiceCommand | CompleteDeliveryCommand | CreateComputedOrderDiscountBySourceCommand | CreateComputedOrderDiscountCommand | CreateDeliveryCommand | CreateOrderLineCommand | CreateReturnCommand | CreateStaticOrderDiscountCommand | CreateStaticOrderLineDiscountCommand | CreateStaticShippingDiscountCommand | DeleteDiscountCommand | DeleteOrderLineCommand | DeleteReturnCommand | GenerateOrderNumberByPrefixCommand | InvoiceCommand | LinkPaymentCommand | MoveOrderLineToDeliveryCommand | OpenDeliveryCommand | ReleaseDeliveryCommand | ReleaseOrderLineToInvoicingCommand | ReleaseShippingToInvoicingCommand | RemoveDeliveryTagCommand | RemoveTagCommand | RetractOrderLineFromInvoicingCommand | RetractShippingFromInvoicingCommand | SetChannelKeyCommand | SetComputedOrderDiscountParametersCommand | SetCustomerNumberCommand | SetDeliveryAddressCommand | SetDeliveryDynamicFieldsCommand | SetDeliveryInventoryCommand | SetDiscountDescriptionCommand | SetDiscountDynamicFieldsCommand | SetInvoiceAddressCommand | SetLocaleCommand | SetNotesCommand | SetOrderDynamicFieldsCommand | SetOrderLineDynamicFieldsCommand | SetOrderLineProductCommand | SetOrderLineQuantityCommand | SetOrderLineSkusCommand | SetOrderLineTaxCommand | SetOrderLineUnitPriceCommand | SetOrderStateCommand | SetReturnDynamicFieldsCommand | SetShippingPriceCommand | SetShippingProductCommand | SetShippingTaxCommand | SetStaticDiscountValueCommand | UnsetDeliveryInventoryCommand;
|
|
2450
2466
|
|
|
2451
2467
|
declare interface OrderJournalEntry {
|
|
2452
2468
|
orderJournalEntryId: string
|
|
@@ -2477,6 +2493,7 @@ declare interface OrderLine {
|
|
|
2477
2493
|
taxTotal: default_2;
|
|
2478
2494
|
orderLineTotal: default_2;
|
|
2479
2495
|
dynamic: Record<string, any>;
|
|
2496
|
+
releasedToInvoice: boolean;
|
|
2480
2497
|
calculatedDiscounts: Array<CalculatedDiscount>;
|
|
2481
2498
|
orderLineDiscounts: Array<Discount>;
|
|
2482
2499
|
backOrders: Array<BackOrder>;
|
|
@@ -2498,6 +2515,7 @@ declare interface OrderLine_2 {
|
|
|
2498
2515
|
taxTotal: Decimal
|
|
2499
2516
|
orderLineTotal: Decimal
|
|
2500
2517
|
dynamic: Record<string, any>
|
|
2518
|
+
releasedToInvoice: boolean
|
|
2501
2519
|
|
|
2502
2520
|
calculatedDiscounts: Array<CalculatedDiscount_2>
|
|
2503
2521
|
orderLineDiscounts: Array<Discount_2>
|
|
@@ -2594,7 +2612,7 @@ declare interface OrderViewContext {
|
|
|
2594
2612
|
* https://developer.hantera.io/reference/actors/order/commands/add-activity-log/ for details.
|
|
2595
2613
|
* @param messageDynamic Additional properties to add to the accompanying activity log.
|
|
2596
2614
|
*/
|
|
2597
|
-
pushPendingChange(changeId: string | undefined, commands: OrderCommand[], messageTemplate: string, messageDynamic?: Record<string, any>):
|
|
2615
|
+
pushPendingChange(changeId: string | undefined, commands: OrderCommand[], messageTemplate: string, messageDynamic?: Record<string, any>): Promise<boolean>;
|
|
2598
2616
|
/**
|
|
2599
2617
|
* Enter timetravel mode to preview the order at a specific checkpoint.
|
|
2600
2618
|
* Automatically refreshes the order state to show the rewound state.
|
|
@@ -3254,7 +3272,7 @@ declare interface SetItemDynamicFieldsCommand_2 {
|
|
|
3254
3272
|
*/
|
|
3255
3273
|
declare interface SetLocaleCommand {
|
|
3256
3274
|
type: 'setLocale';
|
|
3257
|
-
|
|
3275
|
+
value: string;
|
|
3258
3276
|
}
|
|
3259
3277
|
|
|
3260
3278
|
/**
|