@spaceinvoices/js-sdk 14.15.0 → 14.16.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.
|
@@ -15,6 +15,7 @@ export type UpdateItemBody = {
|
|
|
15
15
|
/** @minLength 1 */
|
|
16
16
|
name?: string;
|
|
17
17
|
/**
|
|
18
|
+
* Free-form description of the item. Omit to keep the current value; send null to clear it.
|
|
18
19
|
* @maxLength 2000
|
|
19
20
|
* @nullable
|
|
20
21
|
*/
|
|
@@ -29,7 +30,7 @@ export type UpdateItemBody = {
|
|
|
29
30
|
/** Gross price per unit including tax in the item's currency major unit; for EUR, `29.90` means €29.90, not 2,990 cents. If provided, net price is calculated. Provide either price OR gross_price, not both. */
|
|
30
31
|
gross_price?: number;
|
|
31
32
|
/**
|
|
32
|
-
* Default display unit for document lines created from this saved item.
|
|
33
|
+
* Default display unit for document lines created from this saved item. Omit to keep the current value; send null to clear it.
|
|
33
34
|
* @nullable
|
|
34
35
|
*/
|
|
35
36
|
unit?: string | null;
|
|
@@ -47,7 +48,7 @@ export type UpdateItemBody = {
|
|
|
47
48
|
*/
|
|
48
49
|
track_inventory?: boolean | null;
|
|
49
50
|
/**
|
|
50
|
-
* Stock-keeping unit, free-form and merchant-defined. Omit
|
|
51
|
+
* Stock-keeping unit, free-form and merchant-defined. Omit to keep the current value; send null to clear it.
|
|
51
52
|
* @maxLength 100
|
|
52
53
|
* @nullable
|
|
53
54
|
*/
|
|
@@ -58,19 +59,19 @@ export type UpdateItemBody = {
|
|
|
58
59
|
*/
|
|
59
60
|
usage?: UpdateItemBodyUsage;
|
|
60
61
|
/**
|
|
61
|
-
* GTIN/EAN/UPC barcode. Omit
|
|
62
|
+
* GTIN/EAN/UPC barcode. Omit to keep the current value; send null to clear it.
|
|
62
63
|
* @maxLength 50
|
|
63
64
|
* @nullable
|
|
64
65
|
*/
|
|
65
66
|
barcode?: string | null;
|
|
66
67
|
/**
|
|
67
|
-
* Net purchase price per unit in the entity's currency major unit. Used as the default `unit_cost` for inbound inventory movements when none is given. Omit
|
|
68
|
+
* Net purchase price per unit in the entity's currency major unit. Used as the default `unit_cost` for inbound inventory movements when none is given. Omit to keep the current value; send null to clear it.
|
|
68
69
|
* @minimum 0
|
|
69
70
|
* @nullable
|
|
70
71
|
*/
|
|
71
72
|
purchase_price?: number | null;
|
|
72
73
|
/**
|
|
73
|
-
* Default financial category for this item. In v1 only income categories can be assigned.
|
|
74
|
+
* Default financial category for this item. In v1 only income categories can be assigned. Omit to keep the current value; send null to clear it.
|
|
74
75
|
* @nullable
|
|
75
76
|
*/
|
|
76
77
|
financial_category_id?: string | null;
|
|
@@ -15,6 +15,7 @@ export type UpdateItemBody = {
|
|
|
15
15
|
/** @minLength 1 */
|
|
16
16
|
name?: string;
|
|
17
17
|
/**
|
|
18
|
+
* Free-form description of the item. Omit to keep the current value; send null to clear it.
|
|
18
19
|
* @maxLength 2000
|
|
19
20
|
* @nullable
|
|
20
21
|
*/
|
|
@@ -29,7 +30,7 @@ export type UpdateItemBody = {
|
|
|
29
30
|
/** Gross price per unit including tax in the item's currency major unit; for EUR, `29.90` means €29.90, not 2,990 cents. If provided, net price is calculated. Provide either price OR gross_price, not both. */
|
|
30
31
|
gross_price?: number;
|
|
31
32
|
/**
|
|
32
|
-
* Default display unit for document lines created from this saved item.
|
|
33
|
+
* Default display unit for document lines created from this saved item. Omit to keep the current value; send null to clear it.
|
|
33
34
|
* @nullable
|
|
34
35
|
*/
|
|
35
36
|
unit?: string | null;
|
|
@@ -47,7 +48,7 @@ export type UpdateItemBody = {
|
|
|
47
48
|
*/
|
|
48
49
|
track_inventory?: boolean | null;
|
|
49
50
|
/**
|
|
50
|
-
* Stock-keeping unit, free-form and merchant-defined. Omit
|
|
51
|
+
* Stock-keeping unit, free-form and merchant-defined. Omit to keep the current value; send null to clear it.
|
|
51
52
|
* @maxLength 100
|
|
52
53
|
* @nullable
|
|
53
54
|
*/
|
|
@@ -58,19 +59,19 @@ export type UpdateItemBody = {
|
|
|
58
59
|
*/
|
|
59
60
|
usage?: UpdateItemBodyUsage;
|
|
60
61
|
/**
|
|
61
|
-
* GTIN/EAN/UPC barcode. Omit
|
|
62
|
+
* GTIN/EAN/UPC barcode. Omit to keep the current value; send null to clear it.
|
|
62
63
|
* @maxLength 50
|
|
63
64
|
* @nullable
|
|
64
65
|
*/
|
|
65
66
|
barcode?: string | null;
|
|
66
67
|
/**
|
|
67
|
-
* Net purchase price per unit in the entity's currency major unit. Used as the default `unit_cost` for inbound inventory movements when none is given. Omit
|
|
68
|
+
* Net purchase price per unit in the entity's currency major unit. Used as the default `unit_cost` for inbound inventory movements when none is given. Omit to keep the current value; send null to clear it.
|
|
68
69
|
* @minimum 0
|
|
69
70
|
* @nullable
|
|
70
71
|
*/
|
|
71
72
|
purchase_price?: number | null;
|
|
72
73
|
/**
|
|
73
|
-
* Default financial category for this item. In v1 only income categories can be assigned.
|
|
74
|
+
* Default financial category for this item. In v1 only income categories can be assigned. Omit to keep the current value; send null to clear it.
|
|
74
75
|
* @nullable
|
|
75
76
|
*/
|
|
76
77
|
financial_category_id?: string | null;
|