@nomalism-com/types 0.45.31 → 0.45.33
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.cjs +1 -0
- package/dist/index.js +1 -0
- package/dist/modules/supply/documentHeader/interfaces.d.ts +2 -0
- package/dist/modules/supply/documentLine/interfaces.d.ts +0 -1
- package/dist/modules/user/users/interface.d.ts +1 -1
- package/dist/shared/entities/stock.d.ts +1 -0
- package/dist/shared/interface.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1589,6 +1589,7 @@ var updateBodyKeys8 = {
|
|
|
1589
1589
|
commissioner_id: joi10.string().uuid().allow(null).optional(),
|
|
1590
1590
|
commission_percentage: joi10.number().positive().allow(0).optional(),
|
|
1591
1591
|
commission_paid: joi10.boolean().optional(),
|
|
1592
|
+
is_prepared: joi10.boolean().optional(),
|
|
1592
1593
|
is_archived: joi10.boolean().optional(),
|
|
1593
1594
|
is_void: joi10.boolean().optional(),
|
|
1594
1595
|
is_void_reason: joi10.string().optional(),
|
package/dist/index.js
CHANGED
|
@@ -1589,6 +1589,7 @@ var updateBodyKeys8 = {
|
|
|
1589
1589
|
commissioner_id: joi10.string().uuid().allow(null).optional(),
|
|
1590
1590
|
commission_percentage: joi10.number().positive().allow(0).optional(),
|
|
1591
1591
|
commission_paid: joi10.boolean().optional(),
|
|
1592
|
+
is_prepared: joi10.boolean().optional(),
|
|
1592
1593
|
is_archived: joi10.boolean().optional(),
|
|
1593
1594
|
is_void: joi10.boolean().optional(),
|
|
1594
1595
|
is_void_reason: joi10.string().optional(),
|
|
@@ -179,6 +179,7 @@ export interface IUpdateRequest {
|
|
|
179
179
|
commissioner_id?: string | null;
|
|
180
180
|
commission_percentage?: number;
|
|
181
181
|
commission_paid?: boolean;
|
|
182
|
+
is_prepared?: boolean;
|
|
182
183
|
is_archived?: boolean;
|
|
183
184
|
is_void?: boolean;
|
|
184
185
|
is_void_reason?: string | null;
|
|
@@ -212,6 +213,7 @@ export interface IFindResponse {
|
|
|
212
213
|
emission_date: string;
|
|
213
214
|
line_count: number;
|
|
214
215
|
is_void: boolean;
|
|
216
|
+
is_prepared: boolean;
|
|
215
217
|
is_archived: boolean;
|
|
216
218
|
adjudicado: boolean;
|
|
217
219
|
tags: string | null;
|
|
@@ -8,7 +8,7 @@ interface IMainPersona extends Persona {
|
|
|
8
8
|
country: Country | null;
|
|
9
9
|
reason_for_exemption: ReasonForExemption | null;
|
|
10
10
|
}
|
|
11
|
-
interface IStoreOperator extends Pick<StoreOperator, 'id' | '
|
|
11
|
+
interface IStoreOperator extends Pick<StoreOperator, 'id' | 'superuser'> {
|
|
12
12
|
main_persona: Pick<Persona, 'name' | 'email'>;
|
|
13
13
|
theme: Pick<Theme, 'colors'> | null;
|
|
14
14
|
system_modules: SystemModuleEnum[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.45.
|
|
4
|
+
"version": "0.45.33",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|