@swishapp/api-client 0.41.0 → 0.42.0
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/openapi/types.gen.d.ts +14 -6
- package/package.json +1 -1
|
@@ -436,6 +436,14 @@ export type OrderLineItem = {
|
|
|
436
436
|
* The original total price for this order item
|
|
437
437
|
*/
|
|
438
438
|
originalTotalPrice: Money;
|
|
439
|
+
/**
|
|
440
|
+
* Whether the line item requires shipping
|
|
441
|
+
*/
|
|
442
|
+
requiresShipping: boolean;
|
|
443
|
+
/**
|
|
444
|
+
* The unfulfilled quantity of the line item
|
|
445
|
+
*/
|
|
446
|
+
unfulfilledQuantity: number;
|
|
439
447
|
};
|
|
440
448
|
export type TrackingInfo = {
|
|
441
449
|
/**
|
|
@@ -511,9 +519,9 @@ export type OrderDetailDto = {
|
|
|
511
519
|
*/
|
|
512
520
|
processedAt: string;
|
|
513
521
|
/**
|
|
514
|
-
* The total
|
|
522
|
+
* The total quantity of items in the order
|
|
515
523
|
*/
|
|
516
|
-
|
|
524
|
+
totalQuantity: number;
|
|
517
525
|
/**
|
|
518
526
|
* The total price of the order
|
|
519
527
|
*/
|
|
@@ -525,11 +533,11 @@ export type OrderDetailDto = {
|
|
|
525
533
|
/**
|
|
526
534
|
* Array of fulfillments
|
|
527
535
|
*/
|
|
528
|
-
fulfillments: Fulfillment
|
|
536
|
+
fulfillments: Array<Fulfillment>;
|
|
529
537
|
/**
|
|
530
538
|
* Array of unfulfilled line items
|
|
531
539
|
*/
|
|
532
|
-
unfulfilledLineItems: OrderLineItem
|
|
540
|
+
unfulfilledLineItems: Array<OrderLineItem>;
|
|
533
541
|
};
|
|
534
542
|
export type OrderDto = {
|
|
535
543
|
/**
|
|
@@ -549,9 +557,9 @@ export type OrderDto = {
|
|
|
549
557
|
*/
|
|
550
558
|
displayStatus: 'FULFILLED' | 'IN_PROGRESS' | 'PARTIALLY_FULFILLED' | 'UNFULFILLED';
|
|
551
559
|
/**
|
|
552
|
-
* The
|
|
560
|
+
* The total quantity of items in the order
|
|
553
561
|
*/
|
|
554
|
-
|
|
562
|
+
totalQuantity: number;
|
|
555
563
|
/**
|
|
556
564
|
* The total price of the order
|
|
557
565
|
*/
|