@swishapp/api-client 0.30.0 → 0.31.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 +10 -0
- package/package.json +1 -1
|
@@ -382,6 +382,12 @@ export type ProductVariantDto = {
|
|
|
382
382
|
*/
|
|
383
383
|
image?: PreviewImageDto;
|
|
384
384
|
};
|
|
385
|
+
export type ProductDto = {
|
|
386
|
+
/**
|
|
387
|
+
* The product ID
|
|
388
|
+
*/
|
|
389
|
+
id: string;
|
|
390
|
+
};
|
|
385
391
|
export type Money = {
|
|
386
392
|
/**
|
|
387
393
|
* The currency code
|
|
@@ -405,6 +411,10 @@ export type OrderLineItem = {
|
|
|
405
411
|
* The product variant associated to the line item.
|
|
406
412
|
*/
|
|
407
413
|
variant?: ProductVariantDto;
|
|
414
|
+
/**
|
|
415
|
+
* The product associated with the line item.
|
|
416
|
+
*/
|
|
417
|
+
product?: ProductDto;
|
|
408
418
|
/**
|
|
409
419
|
* The quantity of items
|
|
410
420
|
*/
|