@openbox/shared-types 0.3.77 → 0.3.79

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.
@@ -1,5 +1,5 @@
1
1
  export type InvoicesCreateSingleHeader = {
2
- document: string;
2
+ document: number;
3
3
  authorization: string;
4
4
  sequence: number;
5
5
  invoiceDate: string;
@@ -7,6 +7,7 @@ export type InvoicesCreateSingleHeader = {
7
7
  customerBranch: string;
8
8
  invoicesPaymentsCondition: string;
9
9
  invoicesSeller: string;
10
+ copyFrom?: string;
10
11
  };
11
12
  export type InvoicesCreateSingleTotals = {
12
13
  sum: number;
@@ -1,5 +1,5 @@
1
1
  import { InvoicesCreateSingleDetail, InvoicesCreateSingleHeader, InvoicesCreateSingleTotals } from '../CreateSingle/Request';
2
- export type InvoicesUpdateSingleHeader = Omit<InvoicesCreateSingleHeader, 'document' | 'authorization' | 'sequence'>;
2
+ export type InvoicesUpdateSingleHeader = Omit<InvoicesCreateSingleHeader, 'document' | 'authorization' | 'sequence' | 'copyFrom'>;
3
3
  export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals;
4
4
  export type InvoicesUpdateSingleDetail = InvoicesCreateSingleDetail & {
5
5
  id: string;
@@ -4,4 +4,6 @@ export type InvoicesSettings = {
4
4
  allowCreateCustomersEdit: boolean;
5
5
  allowCreateServicesNew: boolean;
6
6
  allowCreateServicesEdit: boolean;
7
+ allowCreateInvoicesPaymentConditionsNew: boolean;
8
+ allowCreateInvoicesPaymentConditionsEdit: boolean;
7
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.77",
3
+ "version": "0.3.79",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,5 +1,5 @@
1
1
  export type InvoicesCreateSingleHeader = {
2
- document: string
2
+ document: number
3
3
  authorization: string
4
4
  sequence: number
5
5
  invoiceDate: string
@@ -7,6 +7,7 @@ export type InvoicesCreateSingleHeader = {
7
7
  customerBranch: string
8
8
  invoicesPaymentsCondition: string
9
9
  invoicesSeller: string
10
+ copyFrom?: string
10
11
  }
11
12
 
12
13
  export type InvoicesCreateSingleTotals = {
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  export type InvoicesUpdateSingleHeader = Omit<
8
8
  InvoicesCreateSingleHeader,
9
- 'document' | 'authorization' | 'sequence'
9
+ 'document' | 'authorization' | 'sequence' | 'copyFrom'
10
10
  >
11
11
 
12
12
  export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals
@@ -4,4 +4,6 @@ export type InvoicesSettings = {
4
4
  allowCreateCustomersEdit: boolean
5
5
  allowCreateServicesNew: boolean
6
6
  allowCreateServicesEdit: boolean
7
+ allowCreateInvoicesPaymentConditionsNew: boolean
8
+ allowCreateInvoicesPaymentConditionsEdit: boolean
7
9
  }