@openbox/shared-types 0.2.32 → 0.2.34
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/lib/accounting/Catalogs/CreateMany/Request.d.ts +2 -2
- package/lib/accounting/Catalogs/CreateMany/Response.d.ts +2 -2
- package/lib/accounting/Catalogs/CreateSingle/Request.d.ts +2 -0
- package/lib/{services/Services/services.interface.js → accounting/Catalogs/CreateSingle/Request.js} +1 -1
- package/lib/accounting/Catalogs/CreateSingle/Request.js.map +1 -0
- package/lib/accounting/Catalogs/CreateSingle/Response.d.ts +2 -0
- package/lib/{customers/Customers/customers.interfaces.js → accounting/Catalogs/CreateSingle/Response.js} +1 -1
- package/lib/accounting/Catalogs/CreateSingle/Response.js.map +1 -0
- package/lib/accounting/Catalogs/DeleteSingle/Response.d.ts +2 -2
- package/lib/accounting/Catalogs/GetMany/Request.d.ts +2 -2
- package/lib/accounting/Catalogs/GetMany/Response.d.ts +7 -2
- package/lib/accounting/Catalogs/UpdateSingle/Request.d.ts +2 -2
- package/lib/accounting/Catalogs/UpdateSingle/Response.d.ts +2 -2
- package/lib/accounting/Catalogs/catalog.types.d.ts +15 -0
- package/lib/{system/Logs/system.logs.interfaces.js → accounting/Catalogs/catalog.types.js} +1 -1
- package/lib/accounting/Catalogs/catalog.types.js.map +1 -0
- package/lib/accounting/Catalogs/index.d.ts +2 -0
- package/lib/accounting/Catalogs/index.js +2 -0
- package/lib/accounting/Catalogs/index.js.map +1 -1
- package/lib/customers/Branches/CreateSingle/Request.d.ts +1 -1
- package/lib/customers/Branches/GetMany/Response.d.ts +1 -1
- package/lib/customers/Branches/GetSingle/Response.d.ts +1 -1
- package/lib/customers/Branches/UpdateSingle/Request.d.ts +1 -1
- package/lib/customers/Branches/UpdateSingleDefault/Request.d.ts +1 -1
- package/lib/customers/Branches/customers.branches.types.d.ts +23 -0
- package/lib/{system/Cities/system.cities.interfaces.js → customers/Branches/customers.branches.types.js} +1 -1
- package/lib/customers/Branches/customers.branches.types.js.map +1 -0
- package/lib/customers/Customers/CreateSingle/Request.d.ts +1 -1
- package/lib/customers/Customers/GetMany/Response.d.ts +2 -2
- package/lib/customers/Customers/GetSingle/Response.d.ts +1 -1
- package/lib/customers/Customers/UpdateSingle/Request.d.ts +1 -1
- package/lib/customers/Customers/{customers.interfaces.d.ts → customers.types.d.ts} +2 -2
- package/lib/customers/Customers/customers.types.js +3 -0
- package/lib/customers/Customers/customers.types.js.map +1 -0
- package/lib/invoices/Calculation/GetSingle/Response.d.ts +2 -2
- package/lib/invoices/Invoices/invoices.interfaces.d.ts +2 -2
- package/lib/services/SellingTypes/GetSingle/Response.d.ts +1 -1
- package/lib/services/SellingTypes/{services.selling-types.interface.d.ts → services.selling-types.types.d.ts} +1 -1
- package/lib/{system/Countries/system.countries.interfaces.js → services/SellingTypes/services.selling-types.types.js} +1 -1
- package/lib/services/SellingTypes/services.selling-types.types.js.map +1 -0
- package/lib/services/Services/CreateSingle/Request.d.ts +1 -1
- package/lib/services/Services/GetMany/Response.d.ts +1 -1
- package/lib/services/Services/GetSingle/Response.d.ts +1 -1
- package/lib/services/Services/UpdateSingle/Request.d.ts +1 -1
- package/lib/services/Services/{services.interface.d.ts → services.types.d.ts} +1 -1
- package/lib/services/Services/services.types.js +3 -0
- package/lib/services/Services/services.types.js.map +1 -0
- package/lib/system/Cities/GetSingle/Response.d.ts +1 -1
- package/lib/system/Cities/{system.cities.interfaces.d.ts → system.cities.types.d.ts} +1 -1
- package/lib/system/Cities/system.cities.types.js +3 -0
- package/lib/system/Cities/system.cities.types.js.map +1 -0
- package/lib/system/Countries/GetSingle/Response.d.ts +1 -1
- package/lib/system/Countries/system.countries.types.js +3 -0
- package/lib/system/Countries/system.countries.types.js.map +1 -0
- package/lib/system/Directory/CreateSingle/Request.d.ts +1 -1
- package/lib/system/Directory/GetMany/Request.d.ts +1 -1
- package/lib/system/Directory/GetMany/Response.d.ts +1 -1
- package/lib/system/Directory/UpdateSingle/Request.d.ts +1 -1
- package/lib/system/Directory/{system.directory.interfaces.d.ts → system.directory.types.d.ts} +2 -2
- package/lib/system/Directory/system.directory.types.js +3 -0
- package/lib/system/Directory/system.directory.types.js.map +1 -0
- package/lib/system/Genders/system.genders.types.js +3 -0
- package/lib/system/Genders/system.genders.types.js.map +1 -0
- package/lib/system/Logs/system.logs.types.js +3 -0
- package/lib/system/Logs/system.logs.types.js.map +1 -0
- package/lib/system/NaturalTypes/GetSingle/Response.d.ts +1 -1
- package/lib/system/NaturalTypes/system.natural-types.types.js +3 -0
- package/lib/system/NaturalTypes/system.natural-types.types.js.map +1 -0
- package/lib/system/PersonTypes/GetSingle/Response.d.ts +1 -1
- package/lib/system/{Genders/system.genders.interfaces.js → PersonTypes/system.person-types.types.js} +1 -1
- package/lib/system/PersonTypes/system.person-types.types.js.map +1 -0
- package/lib/system/SellingTypes/GetSingle/Response.d.ts +1 -1
- package/lib/system/SellingTypes/system.selling-types.types.js +3 -0
- package/lib/system/SellingTypes/system.selling-types.types.js.map +1 -0
- package/lib/system/States/GetSingle/Response.d.ts +1 -1
- package/lib/system/States/{system.states.interfaces.d.ts → system.states.types.d.ts} +1 -1
- package/lib/system/States/system.states.types.js +3 -0
- package/lib/system/States/system.states.types.js.map +1 -0
- package/lib/system/TaxerTypes/GetSingle/Response.d.ts +1 -1
- package/lib/system/TaxerTypes/system.taxer-types.types.js +3 -0
- package/lib/system/TaxerTypes/system.taxer-types.types.js.map +1 -0
- package/package.json +1 -1
- package/src/accounting/Catalogs/CreateMany/Request.ts +3 -1
- package/src/accounting/Catalogs/CreateMany/Response.ts +3 -1
- package/src/accounting/Catalogs/CreateSingle/Request.ts +3 -0
- package/src/accounting/Catalogs/CreateSingle/Response.ts +3 -0
- package/src/accounting/Catalogs/DeleteSingle/Response.ts +3 -1
- package/src/accounting/Catalogs/GetMany/Request.ts +3 -1
- package/src/accounting/Catalogs/GetMany/Response.ts +6 -1
- package/src/accounting/Catalogs/UpdateSingle/Request.ts +3 -1
- package/src/accounting/Catalogs/UpdateSingle/Response.ts +3 -1
- package/src/accounting/Catalogs/catalog.types.ts +19 -0
- package/src/accounting/Catalogs/index.ts +2 -0
- package/src/customers/Branches/CreateSingle/Request.ts +1 -1
- package/src/customers/Branches/GetMany/Response.ts +1 -1
- package/src/customers/Branches/GetSingle/Response.ts +1 -1
- package/src/customers/Branches/UpdateSingle/Request.ts +1 -1
- package/src/customers/Branches/UpdateSingleDefault/Request.ts +1 -1
- package/src/customers/Branches/customers.branches.types.ts +35 -0
- package/src/customers/Customers/CreateSingle/Request.ts +1 -1
- package/src/customers/Customers/GetMany/Response.ts +2 -2
- package/src/customers/Customers/GetSingle/Response.ts +1 -1
- package/src/customers/Customers/UpdateSingle/Request.ts +1 -1
- package/src/customers/Customers/{customers.interfaces.ts → customers.types.ts} +2 -2
- package/src/invoices/Calculation/GetSingle/Response.ts +2 -2
- package/src/invoices/Invoices/invoices.interfaces.ts +2 -2
- package/src/services/SellingTypes/GetSingle/Response.ts +1 -1
- package/src/services/SellingTypes/{services.selling-types.interface.ts → services.selling-types.types.ts} +1 -1
- package/src/services/Services/CreateSingle/Request.ts +1 -1
- package/src/services/Services/GetMany/Response.ts +1 -1
- package/src/services/Services/GetSingle/Response.ts +1 -1
- package/src/services/Services/UpdateSingle/Request.ts +1 -1
- package/src/services/Services/{services.interface.ts → services.types.ts} +1 -1
- package/src/system/Cities/GetSingle/Response.ts +1 -1
- package/src/system/Cities/{system.cities.interfaces.ts → system.cities.types.ts} +1 -1
- package/src/system/Countries/GetSingle/Response.ts +1 -1
- package/src/system/Directory/CreateSingle/Request.ts +1 -1
- package/src/system/Directory/GetMany/Request.ts +1 -1
- package/src/system/Directory/GetMany/Response.ts +1 -1
- package/src/system/Directory/UpdateSingle/Request.ts +1 -1
- package/src/system/Directory/{system.directory.interfaces.ts → system.directory.types.ts} +2 -2
- package/src/system/NaturalTypes/GetSingle/Response.ts +1 -1
- package/src/system/PersonTypes/GetSingle/Response.ts +1 -1
- package/src/system/SellingTypes/GetSingle/Response.ts +1 -1
- package/src/system/States/GetSingle/Response.ts +1 -1
- package/src/system/States/{system.states.interfaces.ts → system.states.types.ts} +1 -1
- package/src/system/TaxerTypes/GetSingle/Response.ts +1 -1
- package/lib/customers/Branches/customers.branches.interfaces.d.ts +0 -29
- package/lib/customers/Branches/customers.branches.interfaces.js +0 -3
- package/lib/customers/Branches/customers.branches.interfaces.js.map +0 -1
- package/lib/customers/Customers/customers.interfaces.js.map +0 -1
- package/lib/services/SellingTypes/services.selling-types.interface.js +0 -3
- package/lib/services/SellingTypes/services.selling-types.interface.js.map +0 -1
- package/lib/services/Services/services.interface.js.map +0 -1
- package/lib/system/Cities/system.cities.interfaces.js.map +0 -1
- package/lib/system/Countries/system.countries.interfaces.js.map +0 -1
- package/lib/system/Directory/system.directory.interfaces.js +0 -3
- package/lib/system/Directory/system.directory.interfaces.js.map +0 -1
- package/lib/system/Genders/system.genders.interfaces.js.map +0 -1
- package/lib/system/Logs/system.logs.interfaces.js.map +0 -1
- package/lib/system/NaturalTypes/system.natural-types.interfaces.js +0 -3
- package/lib/system/NaturalTypes/system.natural-types.interfaces.js.map +0 -1
- package/lib/system/PersonTypes/system.person-types.interfaces.js +0 -3
- package/lib/system/PersonTypes/system.person-types.interfaces.js.map +0 -1
- package/lib/system/SellingTypes/system.selling-types.interface.js +0 -3
- package/lib/system/SellingTypes/system.selling-types.interface.js.map +0 -1
- package/lib/system/States/system.states.interfaces.js +0 -3
- package/lib/system/States/system.states.interfaces.js.map +0 -1
- package/lib/system/TaxerTypes/system.taxer-types.interfaces.js +0 -3
- package/lib/system/TaxerTypes/system.taxer-types.interfaces.js.map +0 -1
- package/src/customers/Branches/customers.branches.interfaces.ts +0 -35
- /package/lib/system/Countries/{system.countries.interfaces.d.ts → system.countries.types.d.ts} +0 -0
- /package/lib/system/Genders/{system.genders.interfaces.d.ts → system.genders.types.d.ts} +0 -0
- /package/lib/system/Logs/{system.logs.interfaces.d.ts → system.logs.types.d.ts} +0 -0
- /package/lib/system/NaturalTypes/{system.natural-types.interfaces.d.ts → system.natural-types.types.d.ts} +0 -0
- /package/lib/system/PersonTypes/{system.person-types.interfaces.d.ts → system.person-types.types.d.ts} +0 -0
- /package/lib/system/SellingTypes/{system.selling-types.interface.d.ts → system.selling-types.types.d.ts} +0 -0
- /package/lib/system/TaxerTypes/{system.taxer-types.interfaces.d.ts → system.taxer-types.types.d.ts} +0 -0
- /package/src/system/Countries/{system.countries.interfaces.ts → system.countries.types.ts} +0 -0
- /package/src/system/Genders/{system.genders.interfaces.ts → system.genders.types.ts} +0 -0
- /package/src/system/Logs/{system.logs.interfaces.ts → system.logs.types.ts} +0 -0
- /package/src/system/NaturalTypes/{system.natural-types.interfaces.ts → system.natural-types.types.ts} +0 -0
- /package/src/system/PersonTypes/{system.person-types.interfaces.ts → system.person-types.types.ts} +0 -0
- /package/src/system/SellingTypes/{system.selling-types.interface.ts → system.selling-types.types.ts} +0 -0
- /package/src/system/TaxerTypes/{system.taxer-types.interfaces.ts → system.taxer-types.types.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { AccountingCatalogsCreateSingleRequest } from '../CreateSingle/Request';
|
|
2
|
+
export type AccountingCatalogsCreateManyRequest = Array<AccountingCatalogsCreateSingleRequest>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ManyResponse } from '../../../interfaces';
|
|
2
|
+
export type ServicesCreateManyResponse = ManyResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/accounting/Catalogs/CreateSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { SingleResponse } from '../../../interfaces';
|
|
2
|
+
export type AccountingCatalogsDeleteSingleResponse = SingleResponse;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { GetManyRequest } from '../../../interfaces';
|
|
2
|
+
export type AccountingCatalogsGetManyRequest = GetManyRequest;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
}
|
|
1
|
+
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
+
import { AccountingCatalogsResponse } from '../catalog.types';
|
|
3
|
+
export type AccountingCatalogsGetManyResponse = GetManyResponse & {
|
|
4
|
+
data: Array<AccountingCatalogsResponse & {
|
|
5
|
+
index: number;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { AccountingCatalogsRequest } from '../catalog.types';
|
|
2
|
+
export type AccountingCatalogsUpdateSingleRequest = Partial<AccountingCatalogsRequest>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { SingleResponse } from '../../../interfaces';
|
|
2
|
+
export type AccountingCatalogsUpdateSingleResponse = SingleResponse;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type AccountingCatalogs = {
|
|
2
|
+
id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
level: number;
|
|
7
|
+
isParent: boolean;
|
|
8
|
+
isAcreedora: boolean;
|
|
9
|
+
isBalance: boolean;
|
|
10
|
+
parentCatalog: AccountingCatalogs;
|
|
11
|
+
};
|
|
12
|
+
export type AccountingCatalogsRequest = Omit<AccountingCatalogs, 'id' | 'level' | 'isParent' | 'parentCatalog'> & {
|
|
13
|
+
parentCatalog: string;
|
|
14
|
+
};
|
|
15
|
+
export type AccountingCatalogsResponse = AccountingCatalogs;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.types.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/catalog.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './CreateMany/Request';
|
|
2
2
|
export * from './CreateMany/Response';
|
|
3
|
+
export * from './CreateSingle/Request';
|
|
4
|
+
export * from './CreateSingle/Response';
|
|
3
5
|
export * from './DeleteSingle/Response';
|
|
4
6
|
export * from './GetMany/Request';
|
|
5
7
|
export * from './GetMany/Response';
|
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./CreateMany/Request"), exports);
|
|
18
18
|
__exportStar(require("./CreateMany/Response"), exports);
|
|
19
|
+
__exportStar(require("./CreateSingle/Request"), exports);
|
|
20
|
+
__exportStar(require("./CreateSingle/Response"), exports);
|
|
19
21
|
__exportStar(require("./DeleteSingle/Response"), exports);
|
|
20
22
|
__exportStar(require("./GetMany/Request"), exports);
|
|
21
23
|
__exportStar(require("./GetMany/Response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,yDAAsC;AACtC,0DAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/accounting/Catalogs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,0DAAuC;AACvC,oDAAiC;AACjC,qDAAkC;AAClC,yDAAsC;AACtC,0DAAuC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersBranchesRequest } from '../customers.branches.
|
|
1
|
+
import { CustomersBranchesRequest } from '../customers.branches.types';
|
|
2
2
|
export type CustomersBranchesCreateSingleRequest = CustomersBranchesRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import { CustomersBranchesResponse } from '../customers.branches.
|
|
2
|
+
import { CustomersBranchesResponse } from '../customers.branches.types';
|
|
3
3
|
export type CustomersBranchesGetManyResponse = GetManyResponse & {
|
|
4
4
|
data: Array<CustomersBranchesResponse>;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersBranchesResponse } from '../customers.branches.
|
|
1
|
+
import { CustomersBranchesResponse } from '../customers.branches.types';
|
|
2
2
|
export type CustomersBranchesGetSingleResponse = CustomersBranchesResponse;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersBranchesRequest } from '../customers.branches.
|
|
1
|
+
import { CustomersBranchesRequest } from '../customers.branches.types';
|
|
2
2
|
export type CustomersBranchesUpdateSingleRequest = Partial<CustomersBranchesRequest>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersBranchesRequest } from '../customers.branches.
|
|
1
|
+
import { CustomersBranchesRequest } from '../customers.branches.types';
|
|
2
2
|
export type CustomersBranchesUpdateSingleDefaultRequest = Pick<CustomersBranchesRequest, 'default'>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SystemCitiesResponse } from '../../system/Cities/system.cities.types';
|
|
2
|
+
import { SystemCountriesResponse } from '../../system/Countries/system.countries.types';
|
|
3
|
+
import { SystemStatesResponse } from '../../system/States/system.states.types';
|
|
4
|
+
import { CustomersResponse } from '../Customers/customers.types';
|
|
5
|
+
export type CustomersBranches = {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
address1: string;
|
|
9
|
+
address2?: string;
|
|
10
|
+
zipcode?: string;
|
|
11
|
+
default?: boolean;
|
|
12
|
+
customer: CustomersResponse;
|
|
13
|
+
city: SystemCitiesResponse;
|
|
14
|
+
country: SystemCountriesResponse;
|
|
15
|
+
state: SystemStatesResponse;
|
|
16
|
+
};
|
|
17
|
+
export type CustomersBranchesRequest = Omit<CustomersBranches, 'id' | 'city' | 'country' | 'state' | 'customer'> & {
|
|
18
|
+
customer: string;
|
|
19
|
+
city: number;
|
|
20
|
+
country: number;
|
|
21
|
+
state: number;
|
|
22
|
+
};
|
|
23
|
+
export type CustomersBranchesResponse = CustomersBranches;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.branches.types.js","sourceRoot":"","sources":["../../../src/customers/Branches/customers.branches.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersRequest } from '../customers.
|
|
1
|
+
import { CustomersRequest } from '../customers.types';
|
|
2
2
|
export type CustomersCreateSingleRequest = CustomersRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import { CustomersResponse } from '../customers.
|
|
2
|
+
import { CustomersResponse } from '../customers.types';
|
|
3
3
|
export type CustomersGetManyResponse = GetManyResponse & {
|
|
4
|
-
data: Array<
|
|
4
|
+
data: Array<CustomersResponse>;
|
|
5
5
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersResponse } from '../customers.
|
|
1
|
+
import { CustomersResponse } from '../customers.types';
|
|
2
2
|
export type CustomersGetSingleResponse = CustomersResponse;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomersRequest } from '../customers.
|
|
1
|
+
import { CustomersRequest } from '../customers.types';
|
|
2
2
|
export type CustomersUpdateSingleRequest = Omit<Partial<CustomersRequest>, 'branch'>;
|
|
@@ -3,10 +3,10 @@ import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetS
|
|
|
3
3
|
import { SystemSellingTypeGetSingleResponse } from '../../system/SellingTypes/GetSingle/Response';
|
|
4
4
|
import { SystemTaxerTypesGetSingleResponse } from '../../system/TaxerTypes/GetSingle/Response';
|
|
5
5
|
import { CustomersBranchesCreateSingleRequest } from '../Branches';
|
|
6
|
-
import { CustomersBranchesResponse } from '../Branches/customers.branches.
|
|
6
|
+
import { CustomersBranchesResponse } from '../Branches/customers.branches.types';
|
|
7
7
|
export type Customers = {
|
|
8
8
|
id: string;
|
|
9
|
-
name
|
|
9
|
+
name?: string;
|
|
10
10
|
name1?: string;
|
|
11
11
|
name2?: string;
|
|
12
12
|
name3?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customers.types.js","sourceRoot":"","sources":["../../../src/customers/Customers/customers.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ServicesSellingTypesResponse } from '../../../services/SellingTypes/services.selling-types.
|
|
2
|
-
import { ServicesResponse } from '../../../services/Services/services.
|
|
1
|
+
import { ServicesSellingTypesResponse } from '../../../services/SellingTypes/services.selling-types.types';
|
|
2
|
+
import { ServicesResponse } from '../../../services/Services/services.types';
|
|
3
3
|
export type InvoicesCalculationsDetailsResponse = {
|
|
4
4
|
id: string;
|
|
5
5
|
quantity: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.
|
|
2
|
-
import { CustomersResponse } from '../../customers/Customers/customers.
|
|
1
|
+
import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
|
|
2
|
+
import { CustomersResponse } from '../../customers/Customers/customers.types';
|
|
3
3
|
import { SystemNaturalTypesGetSingleResponse } from '../../system/NaturalTypes/GetSingle/Response';
|
|
4
4
|
import { SystemPersonTypeGetSingleResponse } from '../../system/PersonTypes/GetSingle/Response';
|
|
5
5
|
import { InvoicesCalculationsDetailsResponse, InvoicesCalculationsTotalsResponse } from '../Calculation';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ServicesSellingTypesResponse } from '../services.selling-types.
|
|
1
|
+
import { ServicesSellingTypesResponse } from '../services.selling-types.types';
|
|
2
2
|
export type ServicesSellingTypesGetSingleResponse = ServicesSellingTypesResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.
|
|
1
|
+
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
|
|
2
2
|
export type ServicesSellingTypes = Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>;
|
|
3
3
|
export type ServicesSellingTypesRequest = Omit<ServicesSellingTypes, 'id'>;
|
|
4
4
|
export type ServicesSellingTypesResponse = Omit<ServicesSellingTypes, 'isGravada'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services.selling-types.types.js","sourceRoot":"","sources":["../../../src/services/SellingTypes/services.selling-types.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ServicesRequest } from '../services.
|
|
1
|
+
import { ServicesRequest } from '../services.types';
|
|
2
2
|
export type ServicesCreateSingleRequest = ServicesRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import { ServicesResponse } from '../services.
|
|
2
|
+
import { ServicesResponse } from '../services.types';
|
|
3
3
|
export type ServicesGetManyResponse = GetManyResponse & {
|
|
4
4
|
data: Array<ServicesResponse & {
|
|
5
5
|
index: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ServicesResponse } from '../services.
|
|
1
|
+
import { ServicesResponse } from '../services.types';
|
|
2
2
|
export type ServicesGetSingleResponse = ServicesResponse;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ServicesRequest } from '../services.
|
|
1
|
+
import { ServicesRequest } from '../services.types';
|
|
2
2
|
export type ServicesUpdateSingleRequest = Partial<ServicesRequest>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services.types.js","sourceRoot":"","sources":["../../../src/services/Services/services.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemCitiesResponse } from '../system.cities.
|
|
1
|
+
import { SystemCitiesResponse } from '../system.cities.types';
|
|
2
2
|
export type SystemCitiesGetSingleResponse = SystemCitiesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.cities.types.js","sourceRoot":"","sources":["../../../src/system/Cities/system.cities.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemCountriesResponse } from '../system.countries.
|
|
1
|
+
import { SystemCountriesResponse } from '../system.countries.types';
|
|
2
2
|
export type SystemCountriesGetSingleReponse = SystemCountriesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.countries.types.js","sourceRoot":"","sources":["../../../src/system/Countries/system.countries.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemDirectoryRequest } from '../system.directory.
|
|
1
|
+
import { SystemDirectoryRequest } from '../system.directory.types';
|
|
2
2
|
export type SystemDirectoryCreateSingleRequest = SystemDirectoryRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyRequest } from '../../../interfaces';
|
|
2
|
-
import { SystemDirectoryType } from '../system.directory.
|
|
2
|
+
import { SystemDirectoryType } from '../system.directory.types';
|
|
3
3
|
export type SystemDirectoryGetManyRequest = GetManyRequest & {
|
|
4
4
|
types?: Array<SystemDirectoryType>;
|
|
5
5
|
hasWhatsapp?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
-
import { SystemDirectoryResponse } from '../system.directory.
|
|
2
|
+
import { SystemDirectoryResponse } from '../system.directory.types';
|
|
3
3
|
export type SystemDirectoryGetManyResponse = GetManyResponse & {
|
|
4
4
|
data: Array<SystemDirectoryResponse & {
|
|
5
5
|
index: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemDirectoryRequest } from '../system.directory.
|
|
1
|
+
import { SystemDirectoryRequest } from '../system.directory.types';
|
|
2
2
|
export type SystemDirectoryUpdateSingleRequest = Partial<SystemDirectoryRequest>;
|
package/lib/system/Directory/{system.directory.interfaces.d.ts → system.directory.types.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.
|
|
2
|
-
import { CustomersResponse } from '../../customers/Customers/customers.
|
|
1
|
+
import { CustomersBranchesResponse } from '../../customers/Branches/customers.branches.types';
|
|
2
|
+
import { CustomersResponse } from '../../customers/Customers/customers.types';
|
|
3
3
|
import { InvoicesSellersResponse } from '../../invoices/Sellers/invoices.sellers.interface';
|
|
4
4
|
export type SystemDirectoryType = 'phone' | 'cellphone' | 'email';
|
|
5
5
|
type SystemDirectoryEntityType = 'warehouse' | 'company' | 'customer' | 'customerBranch' | 'invoicesSeller' | 'legalJurisdiction' | 'appointee' | 'assignee';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.directory.types.js","sourceRoot":"","sources":["../../../src/system/Directory/system.directory.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.genders.types.js","sourceRoot":"","sources":["../../../src/system/Genders/system.genders.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.logs.types.js","sourceRoot":"","sources":["../../../src/system/Logs/system.logs.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemNaturalTypesResponse } from '../system.natural-types.
|
|
1
|
+
import { SystemNaturalTypesResponse } from '../system.natural-types.types';
|
|
2
2
|
export type SystemNaturalTypesGetSingleResponse = SystemNaturalTypesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.natural-types.types.js","sourceRoot":"","sources":["../../../src/system/NaturalTypes/system.natural-types.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemPersonTypesResponse } from '../system.person-types.
|
|
1
|
+
import { SystemPersonTypesResponse } from '../system.person-types.types';
|
|
2
2
|
export type SystemPersonTypeGetSingleResponse = SystemPersonTypesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.person-types.types.js","sourceRoot":"","sources":["../../../src/system/PersonTypes/system.person-types.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemSellingTypesResponse } from '../system.selling-types.
|
|
1
|
+
import { SystemSellingTypesResponse } from '../system.selling-types.types';
|
|
2
2
|
export type SystemSellingTypeGetSingleResponse = SystemSellingTypesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.selling-types.types.js","sourceRoot":"","sources":["../../../src/system/SellingTypes/system.selling-types.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemStatesResponse } from '../system.states.
|
|
1
|
+
import { SystemStatesResponse } from '../system.states.types';
|
|
2
2
|
export type SystemStatesGetSingleResponse = SystemStatesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.states.types.js","sourceRoot":"","sources":["../../../src/system/States/system.states.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SystemTaxerTypesResponse } from '../system.taxer-types.
|
|
1
|
+
import { SystemTaxerTypesResponse } from '../system.taxer-types.types';
|
|
2
2
|
export type SystemTaxerTypesGetSingleResponse = SystemTaxerTypesResponse;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.taxer-types.types.js","sourceRoot":"","sources":["../../../src/system/TaxerTypes/system.taxer-types.types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { GetManyResponse } from '../../../interfaces'
|
|
2
|
+
import { AccountingCatalogsResponse } from '../catalog.types'
|
|
3
|
+
|
|
4
|
+
export type AccountingCatalogsGetManyResponse = GetManyResponse & {
|
|
5
|
+
data: Array<AccountingCatalogsResponse & { index: number }>
|
|
6
|
+
}
|