@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 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;
@@ -15,7 +15,6 @@ export interface IDataPayload {
15
15
  value: unknown;
16
16
  updated_at: Date;
17
17
  updated_by: string;
18
- location_id: string;
19
18
  history?: IDataPayload[];
20
19
  }
21
20
  export type IData = {
@@ -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' | 'location_id' | 'superuser'> {
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[];
@@ -321,6 +321,7 @@ export type DocumentHeader = {
321
321
  commission_percentage: number;
322
322
  commission_paid: boolean;
323
323
  return_reason: string | null;
324
+ is_prepared: boolean;
324
325
  is_archived: boolean;
325
326
  is_void: boolean;
326
327
  is_void_reason: string | null;
@@ -191,7 +191,6 @@ export type IBrokerTopicPayload = {
191
191
  google_sheet_id: string;
192
192
  original_document_header_id?: string;
193
193
  user_id: string;
194
- location_id: string;
195
194
  };
196
195
  [IBrokerTopic.user_send_email_password]: {
197
196
  token: string;
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.31",
4
+ "version": "0.45.33",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",